package com.bytedance.android.livesdkapi.depend.model.live;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.livesdkapi.depend.model.live.DeprecatedStruct6;
import com.bytedance.covode.number.Covode;

public final class _DeprecatedStruct6_DeprecatedStruct7_ProtoDecoder implements 0SJ<DeprecatedStruct6.DeprecatedStruct7> {
    static {
        Covode.recordClassIndex(22269);
    }

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

    public static DeprecatedStruct6.DeprecatedStruct7 LIZ(0SP r5) {
        DeprecatedStruct6.DeprecatedStruct7 deprecatedStruct7 = new DeprecatedStruct6.DeprecatedStruct7();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return deprecatedStruct7;
            } else if (LIZIZ == 1) {
                deprecatedStruct7.LIZ = r5.LIZLLL();
            } else if (LIZIZ == 2) {
                deprecatedStruct7.LIZIZ = r5.LIZLLL();
            } else if (LIZIZ != 3) {
                0SQ.LIZJ(r5);
            } else {
                deprecatedStruct7.LIZJ = r5.LIZLLL();
            }
        }
    }
}
