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

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

public final class _PermitResponse_ResponseData_ProtoDecoder implements 0SJ<PermitResponse$ResponseData> {
    static {
        Covode.recordClassIndex(13655);
    }

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

    public static PermitResponse$ResponseData LIZ(0SP r5) {
        PermitResponse$ResponseData permitResponse$ResponseData = new PermitResponse$ResponseData();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return permitResponse$ResponseData;
            } else if (LIZIZ == 1) {
                permitResponse$ResponseData.LJIIIZ = Long.valueOf(r5.LJFF());
            } else if (LIZIZ == 2) {
                permitResponse$ResponseData.LJIIJ = r5.LIZLLL();
            } else if (LIZIZ == 3) {
                permitResponse$ResponseData.LJIIJJI = r5.LIZLLL();
            } else if (LIZIZ == 4) {
                permitResponse$ResponseData.LJIIL = r5.LIZLLL();
            } else if (LIZIZ != 5) {
                0SQ.LIZJ(r5);
            } else {
                permitResponse$ResponseData.LJIILIIL = Long.valueOf(r5.LJFF());
            }
        }
    }
}
