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 _PermitParams_ProtoDecoder implements 0SJ<PermitParams> {
    static {
        Covode.recordClassIndex(13653);
    }

    public final /* synthetic */ Object LIZIZ(0SP r6) {
        PermitParams permitParams = new PermitParams();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return permitParams;
            } else if (LIZIZ != 200) {
                switch (LIZIZ) {
                    case 1:
                        permitParams.LJI = Long.valueOf(r6.LJFF());
                        break;
                    case 2:
                        permitParams.LJII = Long.valueOf(r6.LJFF());
                        break;
                    case 3:
                        permitParams.LJIIIIZZ = Long.valueOf(r6.LJFF());
                        break;
                    case 4:
                        permitParams.LJIIIZ = Long.valueOf(r6.LJFF());
                        break;
                    case 5:
                        permitParams.LJIIJ = Long.valueOf(r6.LJFF());
                        break;
                    case 6:
                        permitParams.LJIIJJI = Long.valueOf(r6.LJFF());
                        break;
                    default:
                        0SQ.LIZJ(r6);
                        break;
                }
            } else {
                permitParams.LJIILL = r6.LIZLLL();
            }
        }
    }
}
