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_ProtoDecoder implements 0SJ<PermitResponse> {
    static {
        Covode.recordClassIndex(13654);
    }

    public final /* synthetic */ Object LIZIZ(0SP r6) {
        PermitResponse permitResponse = new PermitResponse();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return permitResponse;
            } else if (LIZIZ != 1) {
                0SQ.LIZJ(r6);
            } else {
                permitResponse.LIZ = _PermitResponse_ResponseData_ProtoDecoder.LIZ(r6);
            }
        }
    }
}
