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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model._ImageModel_ProtoDecoder;
import com.bytedance.android.livesdk.chatroom.interact.model._RivalsListsData_TopHostInfo_ProtoDecoder;
import com.bytedance.android.livesdk.model._Hashtag_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _InviterRivalExtra_ProtoDecoder implements 0SJ<InviterRivalExtra> {
    static {
        Covode.recordClassIndex(19545);
    }

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

    public static InviterRivalExtra LIZ(0SP r7) {
        InviterRivalExtra inviterRivalExtra = new InviterRivalExtra();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        inviterRivalExtra.LIZ = (int) r7.LJFF();
                        break;
                    case 2:
                        inviterRivalExtra.LIZIZ = r7.LIZLLL();
                        break;
                    case 3:
                        inviterRivalExtra.LIZJ = r7.LIZLLL();
                        break;
                    case 4:
                        inviterRivalExtra.LIZLLL = (int) r7.LJFF();
                        break;
                    case 5:
                        inviterRivalExtra.LJ = _ImageModel_ProtoDecoder.LIZ(r7);
                        break;
                    case 6:
                        inviterRivalExtra.LJFF = r7.LIZLLL();
                        break;
                    case 7:
                        inviterRivalExtra.LJI = _AuthenticationInfo_ProtoDecoder.LIZ(r7);
                        break;
                    case 8:
                        inviterRivalExtra.LJII = r7.LIZLLL();
                        break;
                    case 9:
                        inviterRivalExtra.LJIIIIZZ = r7.LJFF();
                        break;
                    case 10:
                        inviterRivalExtra.LJIIIZ = _Hashtag_ProtoDecoder.LIZ(r7);
                        break;
                    case 11:
                        inviterRivalExtra.LJIIJ = _RivalsListsData_TopHostInfo_ProtoDecoder.LIZ(r7);
                        break;
                    case 12:
                        inviterRivalExtra.LJIIJJI = r7.LJFF();
                        break;
                    default:
                        0SQ.LIZJ(r7);
                        break;
                }
            } else {
                r7.LIZ(LIZ);
                return inviterRivalExtra;
            }
        }
    }
}
