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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.covode.number.Covode;
import java.util.ArrayList;

public final class _ChijiHistory_ProtoDecoder implements 0SJ<ChijiHistory> {
    static {
        Covode.recordClassIndex(22389);
    }

    public final /* synthetic */ Object LIZIZ(0SP r6) {
        ChijiHistory chijiHistory = new ChijiHistory();
        chijiHistory.LJIJJ = new ArrayList();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        chijiHistory.LJIIJ = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 2:
                        chijiHistory.LJIIJJI = Boolean.valueOf(0SQ.LIZ(r6));
                        break;
                    case 3:
                        chijiHistory.LJIIL = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 4:
                        chijiHistory.LJIILIIL = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 5:
                        chijiHistory.LJIILJJIL = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 6:
                        chijiHistory.LJIILL = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 7:
                        chijiHistory.LJIILLIIL = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 8:
                        chijiHistory.LJIIZILJ = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 9:
                        chijiHistory.LJIJ = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 10:
                        chijiHistory.LJIJI = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 11:
                        chijiHistory.LJIJJ.add(_ChijiResult_ProtoDecoder.LIZ(r6));
                        break;
                    default:
                        0SQ.LIZJ(r6);
                        break;
                }
            } else {
                r6.LIZ(LIZ);
                return chijiHistory;
            }
        }
    }
}
