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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.livesdk.subscribe.model.invite._SubInvitationEntrance_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _GetSubInfoResponse_ProtoDecoder implements 0SJ<GetSubInfoResponse> {
    static {
        Covode.recordClassIndex(20798);
    }

    public final /* synthetic */ Object LIZIZ(0SP r6) {
        GetSubInfoResponse getSubInfoResponse = new GetSubInfoResponse();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        getSubInfoResponse.LIZIZ = _SubSettingStatus_ProtoDecoder.LIZ(r6);
                        break;
                    case 2:
                        getSubInfoResponse.LIZJ = _SubSettingStatus_ProtoDecoder.LIZ(r6);
                        break;
                    case 3:
                        getSubInfoResponse.LIZ = 0SQ.LIZ(r6);
                        break;
                    case 4:
                        getSubInfoResponse.LJFF = 0SQ.LIZ(r6);
                        break;
                    case 5:
                        getSubInfoResponse.LJII = 0SQ.LIZ(r6);
                        break;
                    case 6:
                        getSubInfoResponse.LJIIJ = _BubbleInfo_ProtoDecoder.LIZ(r6);
                        break;
                    case 7:
                        getSubInfoResponse.LJIIIIZZ = _PayPalBindInfo_ProtoDecoder.LIZ(r6);
                        break;
                    case 8:
                        getSubInfoResponse.LJI = 0SQ.LIZ(r6);
                        break;
                    case 9:
                        getSubInfoResponse.LIZLLL = _SubSettingStatus_ProtoDecoder.LIZ(r6);
                        break;
                    case 10:
                        getSubInfoResponse.LJ = _SubSettingStatus_ProtoDecoder.LIZ(r6);
                        break;
                    case 11:
                        getSubInfoResponse.LJIIIZ = _SubInvitationEntrance_ProtoDecoder.LIZ(r6);
                        break;
                    default:
                        0SQ.LIZJ(r6);
                        break;
                }
            } else {
                r6.LIZ(LIZ);
                return getSubInfoResponse;
            }
        }
    }
}
