package com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper;

import X.2HN;
import X.C0989Iaq;
import X.C3052JJj;
import X.FeY;
import X.M12;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.bytedance.router.annotation.IRouteArg;
import com.bytedance.router.arg.RouteParser;

public final class SessionListNavArg implements IRouteArg {
    public static final Parcelable.Creator<SessionListNavArg> CREATOR = new FeY();
    public static final C0989Iaq Companion = new C0989Iaq((byte) 0);
    public final Integer chatType;
    public final String conversationId;
    public final String enterFrom;
    public final String enterMethod;
    public final Integer isGroupMemberRequest;
    public final String jumpedFromInviteId;
    public final Integer messageCount;
    public final Integer messagePreviewEnabled;
    public final String noticeType;
    public final String refMessageContent;
    public final Long refMessageId;
    public final Long refMessageSenderUid;
    public final Integer refMessageType;

    static {
        Covode.recordClassIndex(85613);
    }

    public SessionListNavArg() {
        this((String) null, (String) null, (Integer) null, (String) null, (String) null, (String) null, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8191, (2HN) null);
    }

    public SessionListNavArg(String str) {
        this(str, (String) null, (Integer) null, (String) null, (String) null, (String) null, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8190, (2HN) null);
    }

    public SessionListNavArg(String str, String str2) {
        this(str, str2, (Integer) null, (String) null, (String) null, (String) null, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8188, (2HN) null);
    }

    public SessionListNavArg(String str, String str2, Integer num) {
        this(str, str2, num, (String) null, (String) null, (String) null, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8184, (2HN) null);
    }

    public SessionListNavArg(String str, String str2, Integer num, String str3) {
        this(str, str2, num, str3, (String) null, (String) null, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8176, (2HN) null);
    }

    public SessionListNavArg(String str, String str2, Integer num, String str3, String str4) {
        this(str, str2, num, str3, str4, (String) null, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8160, (2HN) null);
    }

    public SessionListNavArg(String str, String str2, Integer num, String str3, String str4, String str5) {
        this(str, str2, num, str3, str4, str5, (Integer) null, (Integer) null, (Integer) null, (String) null, (Long) null, (Integer) null, (Long) null, 8128, (2HN) null);
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23) {
        /*
            r16 = this;
            r8 = 0
            r9 = 0
            r10 = 0
            r11 = 0
            r12 = 0
            r13 = 0
            r14 = 8064(0x1f80, float:1.13E-41)
            r15 = 0
            r0 = r16
            r6 = r22
            r2 = r18
            r7 = r23
            r1 = r17
            r3 = r19
            r4 = r20
            r5 = r21
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer):void");
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23, java.lang.Integer r24) {
        /*
            r16 = this;
            r9 = 0
            r10 = 0
            r11 = 0
            r12 = 0
            r13 = 0
            r14 = 7936(0x1f00, float:1.1121E-41)
            r15 = 0
            r0 = r16
            r6 = r22
            r5 = r21
            r7 = r23
            r8 = r24
            r1 = r17
            r2 = r18
            r3 = r19
            r4 = r20
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer):void");
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23, java.lang.Integer r24, java.lang.Integer r25) {
        /*
            r16 = this;
            r10 = 0
            r11 = 0
            r12 = 0
            r13 = 0
            r14 = 7680(0x1e00, float:1.0762E-41)
            r15 = 0
            r0 = r16
            r6 = r22
            r5 = r21
            r4 = r20
            r8 = r24
            r1 = r17
            r9 = r25
            r2 = r18
            r7 = r23
            r3 = r19
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer):void");
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23, java.lang.Integer r24, java.lang.Integer r25, java.lang.String r26) {
        /*
            r16 = this;
            r11 = 0
            r12 = 0
            r13 = 0
            r14 = 7168(0x1c00, float:1.0045E-41)
            r15 = 0
            r0 = r16
            r6 = r22
            r5 = r21
            r4 = r20
            r3 = r19
            r9 = r25
            r2 = r18
            r10 = r26
            r8 = r24
            r1 = r17
            r7 = r23
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String):void");
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23, java.lang.Integer r24, java.lang.Integer r25, java.lang.String r26, java.lang.Long r27) {
        /*
            r16 = this;
            r12 = 0
            r13 = 0
            r14 = 6144(0x1800, float:8.61E-42)
            r15 = 0
            r0 = r16
            r6 = r22
            r5 = r21
            r4 = r20
            r3 = r19
            r1 = r17
            r10 = r26
            r11 = r27
            r9 = r25
            r2 = r18
            r8 = r24
            r7 = r23
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Long):void");
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23, java.lang.Integer r24, java.lang.Integer r25, java.lang.String r26, java.lang.Long r27, java.lang.Integer r28) {
        /*
            r16 = this;
            r13 = 0
            r14 = 4096(0x1000, float:5.74E-42)
            r15 = 0
            r0 = r16
            r6 = r22
            r5 = r21
            r4 = r20
            r3 = r19
            r1 = r17
            r2 = r18
            r11 = r27
            r12 = r28
            r10 = r26
            r9 = r25
            r8 = r24
            r7 = r23
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Long, java.lang.Integer):void");
    }

    public static SessionListNavArg __fromBundle(Bundle bundle) {
        int i;
        String str;
        String str2;
        Integer num;
        String str3;
        String str4;
        String str5;
        Integer num2;
        Integer num3;
        Integer num4;
        String str6;
        Long l;
        Integer num5;
        Long l2;
        Bundle bundle2 = bundle;
        if (bundle2 == null) {
            return null;
        }
        if (bundle2.containsKey("enter_from")) {
            str = (String) RouteParser.INSTANCE.parse(bundle2.get("enter_from"), String.class);
            i = 0;
        } else {
            i = 1;
            str = null;
        }
        if (bundle2.containsKey("enter_method")) {
            str2 = (String) RouteParser.INSTANCE.parse(bundle2.get("enter_method"), String.class);
        } else {
            i += 2;
            str2 = null;
        }
        if (bundle2.containsKey("message_cnt")) {
            num = (Integer) RouteParser.INSTANCE.parse(bundle2.get("message_cnt"), Integer.class);
        } else {
            i += 4;
            num = null;
        }
        if (bundle2.containsKey("notice_type")) {
            str3 = (String) RouteParser.INSTANCE.parse(bundle2.get("notice_type"), String.class);
        } else {
            i += 8;
            str3 = null;
        }
        if (bundle2.containsKey("im_group_invite_id")) {
            str4 = (String) RouteParser.INSTANCE.parse(bundle2.get("im_group_invite_id"), String.class);
        } else {
            i += 16;
            str4 = null;
        }
        if (bundle2.containsKey("conversation_id")) {
            str5 = (String) RouteParser.INSTANCE.parse(bundle2.get("conversation_id"), String.class);
        } else {
            i += 32;
            str5 = null;
        }
        if (bundle2.containsKey("is_member_request")) {
            num2 = (Integer) RouteParser.INSTANCE.parse(bundle2.get("is_member_request"), Integer.class);
        } else {
            i += 64;
            num2 = null;
        }
        if (bundle2.containsKey("chat_type")) {
            num3 = (Integer) RouteParser.INSTANCE.parse(bundle2.get("chat_type"), Integer.class);
        } else {
            i += 128;
            num3 = null;
        }
        if (bundle2.containsKey("message_preview_enabled")) {
            num4 = (Integer) RouteParser.INSTANCE.parse(bundle2.get("message_preview_enabled"), Integer.class);
        } else {
            i += C3052JJj.LIZIZ;
            num4 = null;
        }
        if (bundle2.containsKey("reply_to_message_content")) {
            str6 = (String) RouteParser.INSTANCE.parse(bundle2.get("reply_to_message_content"), String.class);
        } else {
            i += C3052JJj.LIZJ;
            str6 = null;
        }
        if (bundle2.containsKey("reply_to_message_server_id")) {
            l = (Long) RouteParser.INSTANCE.parse(bundle2.get("reply_to_message_server_id"), Long.class);
        } else {
            i += 1024;
            l = null;
        }
        if (bundle2.containsKey("reply_to_message_type")) {
            num5 = (Integer) RouteParser.INSTANCE.parse(bundle2.get("reply_to_message_type"), Integer.class);
        } else {
            i += 2048;
            num5 = null;
        }
        if (bundle2.containsKey("reply_to_message_from_uid")) {
            l2 = (Long) RouteParser.INSTANCE.parse(bundle2.get("reply_to_message_from_uid"), Long.class);
        } else {
            i += 4096;
            l2 = null;
        }
        return new SessionListNavArg(str, str2, num, str3, str4, str5, num2, num3, num4, str6, l, num5, l2, i, (2HN) null);
    }

    public final int describeContents() {
        return 0;
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeString(this.enterFrom);
        parcel.writeString(this.enterMethod);
        Integer num = this.messageCount;
        if (num != null) {
            parcel.writeInt(1);
            parcel.writeInt(num.intValue());
        } else {
            parcel.writeInt(0);
        }
        parcel.writeString(this.noticeType);
        parcel.writeString(this.jumpedFromInviteId);
        parcel.writeString(this.conversationId);
        Integer num2 = this.isGroupMemberRequest;
        if (num2 != null) {
            parcel.writeInt(1);
            parcel.writeInt(num2.intValue());
        } else {
            parcel.writeInt(0);
        }
        Integer num3 = this.chatType;
        if (num3 != null) {
            parcel.writeInt(1);
            parcel.writeInt(num3.intValue());
        } else {
            parcel.writeInt(0);
        }
        Integer num4 = this.messagePreviewEnabled;
        if (num4 != null) {
            parcel.writeInt(1);
            parcel.writeInt(num4.intValue());
        } else {
            parcel.writeInt(0);
        }
        parcel.writeString(this.refMessageContent);
        Long l = this.refMessageId;
        if (l != null) {
            parcel.writeInt(1);
            parcel.writeLong(l.longValue());
        } else {
            parcel.writeInt(0);
        }
        Integer num5 = this.refMessageType;
        if (num5 != null) {
            parcel.writeInt(1);
            parcel.writeInt(num5.intValue());
        } else {
            parcel.writeInt(0);
        }
        Long l2 = this.refMessageSenderUid;
        if (l2 != null) {
            parcel.writeInt(1);
            parcel.writeLong(l2.longValue());
            return;
        }
        parcel.writeInt(0);
    }

    public final Integer getChatType() {
        return this.chatType;
    }

    public final String getConversationId() {
        return this.conversationId;
    }

    public final String getEnterFrom() {
        return this.enterFrom;
    }

    public final String getEnterMethod() {
        return this.enterMethod;
    }

    public final String getJumpedFromInviteId() {
        return this.jumpedFromInviteId;
    }

    public final Integer getMessageCount() {
        return this.messageCount;
    }

    public final Integer getMessagePreviewEnabled() {
        return this.messagePreviewEnabled;
    }

    public final String getNoticeType() {
        return this.noticeType;
    }

    public final String getRefMessageContent() {
        return this.refMessageContent;
    }

    public final Long getRefMessageId() {
        return this.refMessageId;
    }

    public final Long getRefMessageSenderUid() {
        return this.refMessageSenderUid;
    }

    public final Integer getRefMessageType() {
        return this.refMessageType;
    }

    public final Integer isGroupMemberRequest() {
        return this.isGroupMemberRequest;
    }

    public SessionListNavArg(String str, String str2, Integer num, String str3, String str4, String str5, Integer num2, Integer num3, Integer num4, String str6, Long l, Integer num5, Long l2) {
        this.enterFrom = str;
        this.enterMethod = str2;
        this.messageCount = num;
        this.noticeType = str3;
        this.jumpedFromInviteId = str4;
        this.conversationId = str5;
        this.isGroupMemberRequest = num2;
        this.chatType = num3;
        this.messagePreviewEnabled = num4;
        this.refMessageContent = str6;
        this.refMessageId = l;
        this.refMessageType = num5;
        this.refMessageSenderUid = l2;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ SessionListNavArg(java.lang.String r17, java.lang.String r18, java.lang.Integer r19, java.lang.String r20, java.lang.String r21, java.lang.String r22, java.lang.Integer r23, java.lang.Integer r24, java.lang.Integer r25, java.lang.String r26, java.lang.Long r27, java.lang.Integer r28, java.lang.Long r29, int r30, X.2HN r31) {
        /*
            r16 = this;
            r2 = r30
            r10 = r24
            r9 = r23
            r12 = r26
            r4 = r18
            r11 = r25
            r3 = r17
            r13 = r27
            r5 = r19
            r14 = r28
            r6 = r20
            r7 = r21
            r8 = r22
            r0 = r2 & 1
            r15 = 0
            if (r0 == 0) goto L_0x0020
            r3 = r15
        L_0x0020:
            r0 = r2 & 2
            if (r0 == 0) goto L_0x0025
            r4 = r15
        L_0x0025:
            r0 = r2 & 4
            if (r0 == 0) goto L_0x002a
            r5 = r15
        L_0x002a:
            r0 = r2 & 8
            if (r0 == 0) goto L_0x002f
            r6 = r15
        L_0x002f:
            r0 = r2 & 16
            if (r0 == 0) goto L_0x0034
            r7 = r15
        L_0x0034:
            r0 = r2 & 32
            if (r0 == 0) goto L_0x0039
            r8 = r15
        L_0x0039:
            r0 = r2 & 64
            r1 = 0
            if (r0 == 0) goto L_0x0042
            java.lang.Integer r9 = java.lang.Integer.valueOf(r1)
        L_0x0042:
            r0 = r2 & 128(0x80, float:1.794E-43)
            if (r0 == 0) goto L_0x004a
            java.lang.Integer r10 = java.lang.Integer.valueOf(r1)
        L_0x004a:
            r0 = r2 & 256(0x100, float:3.59E-43)
            if (r0 == 0) goto L_0x0052
            java.lang.Integer r11 = java.lang.Integer.valueOf(r1)
        L_0x0052:
            r0 = r2 & 512(0x200, float:7.175E-43)
            if (r0 == 0) goto L_0x0057
            r12 = r15
        L_0x0057:
            r0 = r2 & 1024(0x400, float:1.435E-42)
            if (r0 == 0) goto L_0x005c
            r13 = r15
        L_0x005c:
            r0 = r2 & 2048(0x800, float:2.87E-42)
            if (r0 == 0) goto L_0x0061
            r14 = r15
        L_0x0061:
            r0 = r2 & 4096(0x1000, float:5.74E-42)
            if (r0 == 0) goto L_0x006b
        L_0x0065:
            r2 = r16
            r2.<init>(r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15)
            return
        L_0x006b:
            r15 = r29
            goto L_0x0065
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.im.sdk.chatlist.controller.helper.SessionListNavArg.<init>(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Long, java.lang.Integer, java.lang.Long, int, X.2HN):void");
    }
}
