package com.bytedance.android.livesdk.model.message.linker.random_linkmic_message;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model.user._User_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _LinkerRandomMatchContent_ProtoDecoder implements 0SJ<LinkerRandomMatchContent> {
    static {
        Covode.recordClassIndex(19566);
    }

    public final /* synthetic */ Object LIZIZ(0SP r2) {
        return LIZ(r2);
    }

    public static LinkerRandomMatchContent LIZ(0SP r5) {
        LinkerRandomMatchContent linkerRandomMatchContent = new LinkerRandomMatchContent();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return linkerRandomMatchContent;
            } else if (LIZIZ == 1) {
                linkerRandomMatchContent.LIZIZ = _User_ProtoDecoder.LIZ(r5);
            } else if (LIZIZ == 2) {
                linkerRandomMatchContent.LIZJ = r5.LJFF();
            } else if (LIZIZ == 3) {
                linkerRandomMatchContent.LIZLLL = Long.valueOf(r5.LJFF());
            } else if (LIZIZ != 4) {
                0SQ.LIZJ(r5);
            } else {
                linkerRandomMatchContent.LIZ = r5.LIZLLL();
            }
        }
    }
}
