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

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

public final class _BattleSettings_ProtoDecoder implements 0SJ<BattleSettings> {
    static {
        Covode.recordClassIndex(19177);
    }

    public final /* synthetic */ Object LIZIZ(0SP r7) {
        BattleSettings battleSettings = new BattleSettings();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 2:
                        battleSettings.LJI = Long.valueOf(r7.LJFF());
                        break;
                    case 3:
                        battleSettings.LJII = Long.valueOf(r7.LJFF());
                        break;
                    case 4:
                        battleSettings.LJIIIIZZ = Long.valueOf(r7.LJFF());
                        break;
                    case 5:
                        battleSettings.LJIIIZ = r7.LIZLLL();
                        break;
                    case 6:
                        battleSettings.LJIIJ = Long.valueOf(r7.LJFF());
                        break;
                    case 7:
                        battleSettings.LJIIJJI = Long.valueOf(r7.LJFF());
                        break;
                    case 8:
                        battleSettings.LJIIL = r7.LIZLLL();
                        break;
                    case 9:
                        battleSettings.LJIILIIL = Long.valueOf(r7.LJFF());
                        break;
                    case 10:
                        battleSettings.LJIILJJIL = r7.LJ();
                        break;
                    case 11:
                        battleSettings.LJIILL = r7.LIZLLL();
                        break;
                    default:
                        0SQ.LIZJ(r7);
                        break;
                }
            } else {
                r7.LIZ(LIZ);
                return battleSettings;
            }
        }
    }
}
