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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.livesdkapi.message._CommonMessageData_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _MsgDetectMessage_ProtoDecoder implements 0SJ<MsgDetectMessage> {
    static {
        Covode.recordClassIndex(19253);
    }

    public final /* synthetic */ Object LIZIZ(0SP r6) {
        MsgDetectMessage msgDetectMessage = new MsgDetectMessage();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return msgDetectMessage;
            } else if (LIZIZ == 1) {
                msgDetectMessage.LJJJJ = _CommonMessageData_ProtoDecoder.LIZ(r6);
            } else if (LIZIZ == 2) {
                msgDetectMessage.LIZ = r6.LJ();
            } else if (LIZIZ == 3) {
                msgDetectMessage.LIZIZ = _MsgDetectMessage_TriggerCondition_ProtoDecoder.LIZ(r6);
            } else if (LIZIZ != 4) {
                0SQ.LIZJ(r6);
            } else {
                msgDetectMessage.LIZJ = _MsgDetectMessage_TimeInfo_ProtoDecoder.LIZ(r6);
            }
        }
    }
}
