package com.bytedance.android.livesdk.chatroom.interact.model;

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

public final class _RivalExtraInfo_ProtoDecoder implements 0SJ<RivalExtraInfo> {
    static {
        Covode.recordClassIndex(13658);
    }

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

    public static RivalExtraInfo LIZ(0SP r5) {
        RivalExtraInfo rivalExtraInfo = new RivalExtraInfo();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        rivalExtraInfo.LIZ = r5.LIZLLL();
                        break;
                    case 2:
                        rivalExtraInfo.LIZIZ = r5.LJ();
                        break;
                    case 3:
                        rivalExtraInfo.LIZJ = r5.LIZLLL();
                        break;
                    case 4:
                        rivalExtraInfo.LIZLLL = r5.LJ();
                        break;
                    case 5:
                        rivalExtraInfo.LJI = _LinkerInfo_ProtoDecoder.LIZ(r5);
                        break;
                    case 6:
                        rivalExtraInfo.LJ = _AnchorLinkmicUserSettings_ProtoDecoder.LIZ(r5);
                        break;
                    case 8:
                        rivalExtraInfo.LJFF = r5.LJ();
                        break;
                    case 9:
                        rivalExtraInfo.LJII = r5.LJ();
                        break;
                    case 10:
                        rivalExtraInfo.LJIIIIZZ = _RivalsListsData_TopHostInfo_ProtoDecoder.LIZ(r5);
                        break;
                    default:
                        0SQ.LIZJ(r5);
                        break;
                }
            } else {
                r5.LIZ(LIZ);
                return rivalExtraInfo;
            }
        }
    }
}
