package com.bytedance.android.livesdk.model.message;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model.user._User_ProtoDecoder;
import com.bytedance.android.livesdkapi.message._CommonMessageData_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _PinMessage_ProtoDecoder implements 0SJ<PinMessage> {
    static {
        Covode.recordClassIndex(19266);
    }

    public final /* synthetic */ Object LIZIZ(0SP r7) {
        PinMessage pinMessage = new PinMessage();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        pinMessage.LJJJJ = _CommonMessageData_ProtoDecoder.LIZ(r7);
                        break;
                    case 2:
                        pinMessage.LIZ = _ChatMessage_ProtoDecoder.LIZ(r7);
                        break;
                    case 3:
                        pinMessage.LIZIZ = _SocialMessage_ProtoDecoder.LIZ(r7);
                        break;
                    case 4:
                        pinMessage.LIZJ = _GiftMessage_ProtoDecoder.LIZ(r7);
                        break;
                    case 5:
                        pinMessage.LIZLLL = _MemberMessage_ProtoDecoder.LIZ(r7);
                        break;
                    case 6:
                        pinMessage.LJ = _LikeMessage_ProtoDecoder.LIZ(r7);
                        break;
                    default:
                        switch (LIZIZ) {
                            case 30:
                                pinMessage.LJFF = r7.LIZLLL();
                                break;
                            case 31:
                                pinMessage.LJI = r7.LJFF();
                                break;
                            case 32:
                                pinMessage.LJII = _User_ProtoDecoder.LIZ(r7);
                                break;
                            case 33:
                                pinMessage.LJIIIIZZ = r7.LJ();
                                break;
                            case 34:
                                pinMessage.LJIIIZ = r7.LJFF();
                                break;
                            case 35:
                                pinMessage.LJIILJJIL = r7.LJFF();
                                break;
                            default:
                                0SQ.LIZJ(r7);
                                break;
                        }
                }
            } else {
                r7.LIZ(LIZ);
                return pinMessage;
            }
        }
    }
}
