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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model._ImageModel_ProtoDecoder;
import com.bytedance.covode.number.Covode;
import com.bytedance.ugc.glue.monitor.UGCMonitor;

public final class _DeprecatedStruct6_ProtoDecoder implements 0SJ<DeprecatedStruct6> {
    static {
        Covode.recordClassIndex(22270);
    }

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

    public static DeprecatedStruct6 LIZ(0SP r5) {
        DeprecatedStruct6 deprecatedStruct6 = new DeprecatedStruct6();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        deprecatedStruct6.LIZ = _DeprecatedStruct6_DeprecatedStruct7_ProtoDecoder.LIZ(r5);
                        break;
                    case 2:
                        deprecatedStruct6.LIZIZ = _DeprecatedStruct6_DeprecatedStruct7_ProtoDecoder.LIZ(r5);
                        break;
                    case UGCMonitor.STATUS_RESPONSE /*3*/:
                        deprecatedStruct6.LIZJ = r5.LIZLLL();
                        break;
                    case UGCMonitor.STATUS_FINISH /*4*/:
                        deprecatedStruct6.LIZLLL = r5.LIZLLL();
                        break;
                    case 5:
                        deprecatedStruct6.LJ = r5.LIZLLL();
                        break;
                    case 6:
                        deprecatedStruct6.LJFF = r5.LIZLLL();
                        break;
                    case 7:
                        deprecatedStruct6.LJI = r5.LIZLLL();
                        break;
                    case 8:
                        deprecatedStruct6.LJII = _ImageModel_ProtoDecoder.LIZ(r5);
                        break;
                    case 9:
                        deprecatedStruct6.LJIIIIZZ = _ImageModel_ProtoDecoder.LIZ(r5);
                        break;
                    case 10:
                        deprecatedStruct6.LJIIIZ = r5.LIZLLL();
                        break;
                    case 11:
                        deprecatedStruct6.LJIIJ = _ImageModel_ProtoDecoder.LIZ(r5);
                        break;
                    default:
                        0SQ.LIZJ(r5);
                        break;
                }
            } else {
                r5.LIZ(LIZ);
                return deprecatedStruct6;
            }
        }
    }
}
