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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.livesdk.chatroom.interact.model.MgetPullStreamInfosResponse;
import com.bytedance.android.livesdkapi.depend.model.live._LiveCoreSDKData_Quality_ProtoDecoder;
import com.bytedance.android.livesdkapi.depend.model.live._StreamUrlExtra_SrConfig_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _MgetPullStreamInfosResponse_PullStreamInfo_ProtoDecoder implements 0SJ<MgetPullStreamInfosResponse.PullStreamInfo> {
    static {
        Covode.recordClassIndex(13651);
    }

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

    public static MgetPullStreamInfosResponse.PullStreamInfo LIZ(0SP r6) {
        MgetPullStreamInfosResponse.PullStreamInfo pullStreamInfo = new MgetPullStreamInfosResponse.PullStreamInfo();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        pullStreamInfo.LJ = Long.valueOf(r6.LJFF());
                        break;
                    case 2:
                        pullStreamInfo.LJFF = r6.LIZLLL();
                        break;
                    case 3:
                        pullStreamInfo.LJI = _LiveCoreSDKData_Quality_ProtoDecoder.LIZ(r6);
                        break;
                    case 4:
                        pullStreamInfo.LJII = _StreamUrlExtra_SrConfig_ProtoDecoder.LIZ(r6);
                        break;
                    case 5:
                        pullStreamInfo.LJIIIIZZ = Boolean.valueOf(0SQ.LIZ(r6));
                        break;
                    case 6:
                        pullStreamInfo.LJIIIZ = Boolean.valueOf(0SQ.LIZ(r6));
                        break;
                    case 7:
                        pullStreamInfo.LJIIJ = Boolean.valueOf(0SQ.LIZ(r6));
                        break;
                    default:
                        0SQ.LIZJ(r6);
                        break;
                }
            } else {
                r6.LIZ(LIZ);
                return pullStreamInfo;
            }
        }
    }
}
