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

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

public final class _ListPlayerInfoData_ProtoDecoder implements 0SJ<ListPlayerInfoData> {
    static {
        Covode.recordClassIndex(13778);
    }

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

    public static ListPlayerInfoData LIZ(0SP r5) {
        ListPlayerInfoData listPlayerInfoData = new ListPlayerInfoData();
        listPlayerInfoData.LIZ = new ArrayList();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return listPlayerInfoData;
            } else if (LIZIZ == 1) {
                listPlayerInfoData.LIZ.add(_LinkPlayerInfo_ProtoDecoder.LIZ(r5));
            } else if (LIZIZ != 2) {
                0SQ.LIZJ(r5);
            } else {
                listPlayerInfoData.LIZIZ = Boolean.valueOf(0SQ.LIZ(r5));
            }
        }
    }
}
