package com.bytedance.android.livesdk.subscribe.model.invite;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model.user._User_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _GetInvitationStatusResponse_ProtoDecoder implements 0SJ<GetInvitationStatusResponse> {
    static {
        Covode.recordClassIndex(20813);
    }

    public final /* synthetic */ Object LIZIZ(0SP r6) {
        GetInvitationStatusResponse getInvitationStatusResponse = new GetInvitationStatusResponse();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return getInvitationStatusResponse;
            } else if (LIZIZ == 1) {
                getInvitationStatusResponse.LIZLLL = _SubInvitationCode_ProtoDecoder.LIZ(r6);
            } else if (LIZIZ == 2) {
                getInvitationStatusResponse.LJ = _SubInvitationInviteeStatus_ProtoDecoder.LIZ(r6);
            } else if (LIZIZ == 50) {
                getInvitationStatusResponse.LIZJ = _SubInvitationFunctionSwitcher_ProtoDecoder.LIZ(r6);
            } else if (LIZIZ == 100) {
                getInvitationStatusResponse.LIZ = _User_ProtoDecoder.LIZ(r6);
            } else if (LIZIZ != 101) {
                0SQ.LIZJ(r6);
            } else {
                getInvitationStatusResponse.LIZIZ = _User_ProtoDecoder.LIZ(r6);
            }
        }
    }
}
