package com.ss.android.ugc.aweme.notification.bean;

import X.2HN;
import X.C3893EVt;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.bytedance.router.annotation.IRouteArg;
import java.util.Objects;

public final class MusNotificationDetailArg implements IRouteArg {
    public static final Parcelable.Creator<MusNotificationDetailArg> CREATOR = new C3893EVt();
    public final int groupType;
    public final boolean mergeTikTokShop;
    public final String nid;
    public final String tabName;
    public final String title;
    public final int unReadMessageCount;

    static {
        Covode.recordClassIndex(95449);
    }

    public MusNotificationDetailArg() {
        this(0, 0, (String) null, (String) null, (String) null, false, 63, (2HN) null);
    }

    public MusNotificationDetailArg(int i) {
        this(i, 0, (String) null, (String) null, (String) null, false, 62, (2HN) null);
    }

    public MusNotificationDetailArg(int i, int i2) {
        this(i, i2, (String) null, (String) null, (String) null, false, 60, (2HN) null);
    }

    public MusNotificationDetailArg(int i, int i2, String str) {
        this(i, i2, str, (String) null, (String) null, false, 56, (2HN) null);
    }

    public MusNotificationDetailArg(int i, int i2, String str, String str2) {
        this(i, i2, str, str2, (String) null, false, 48, (2HN) null);
    }

    public MusNotificationDetailArg(int i, int i2, String str, String str2, String str3) {
        this(i, i2, str, str2, str3, false, 32, (2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_notification_bean_MusNotificationDetailArg_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    /* JADX WARNING: Code restructure failed: missing block: B:11:0x003c, code lost:
        if (r4 == null) goto L_0x003e;
     */
    /* JADX WARNING: Removed duplicated region for block: B:10:0x002e  */
    /* JADX WARNING: Removed duplicated region for block: B:15:0x0046  */
    /* JADX WARNING: Removed duplicated region for block: B:18:0x005a  */
    /* JADX WARNING: Removed duplicated region for block: B:21:0x006e  */
    /* JADX WARNING: Removed duplicated region for block: B:29:0x0098  */
    /* JADX WARNING: Removed duplicated region for block: B:31:0x009e  */
    /* JADX WARNING: Removed duplicated region for block: B:33:0x00a4  */
    /* JADX WARNING: Removed duplicated region for block: B:36:0x00ad  */
    /* JADX WARNING: Removed duplicated region for block: B:37:0x00af  */
    /* JADX WARNING: Removed duplicated region for block: B:38:0x00b1  */
    /* JADX WARNING: Removed duplicated region for block: B:39:0x00b3  */
    /* JADX WARNING: Removed duplicated region for block: B:40:0x00b7  */
    /* JADX WARNING: Removed duplicated region for block: B:41:0x00bb  */
    /* JADX WARNING: Removed duplicated region for block: B:42:0x00bf  */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public static com.ss.android.ugc.aweme.notification.bean.MusNotificationDetailArg __fromBundle(android.os.Bundle r14) {
        /*
            r0 = 0
            if (r14 != 0) goto L_0x0004
            return r0
        L_0x0004:
            java.lang.String r5 = "from_where"
            java.lang.String r4 = "unRead_message_count"
            java.lang.String r9 = "second_tab_name"
            java.lang.String r8 = "title"
            java.lang.String r7 = "nid"
            java.lang.String r6 = "ec_merged_tiktok_shop"
            boolean r2 = r14.containsKey(r5)
            r1 = 0
            if (r2 == 0) goto L_0x00c5
            com.bytedance.router.arg.RouteParser r3 = com.bytedance.router.arg.RouteParser.INSTANCE
            java.lang.Object r2 = r14.get(r5)
            java.lang.Class<java.lang.Integer> r1 = java.lang.Integer.class
            java.lang.Object r5 = r3.parse(r2, r1)
            java.lang.Integer r5 = (java.lang.Integer) r5
            if (r5 != 0) goto L_0x00c2
        L_0x0027:
            r13 = 1
        L_0x0028:
            boolean r1 = r14.containsKey(r4)
            if (r1 == 0) goto L_0x00bf
            com.bytedance.router.arg.RouteParser r3 = com.bytedance.router.arg.RouteParser.INSTANCE
            java.lang.Object r2 = r14.get(r4)
            java.lang.Class<java.lang.Integer> r1 = java.lang.Integer.class
            java.lang.Object r4 = r3.parse(r2, r1)
            java.lang.Integer r4 = (java.lang.Integer) r4
            if (r4 != 0) goto L_0x0040
        L_0x003e:
            int r13 = r13 + 2
        L_0x0040:
            boolean r1 = r14.containsKey(r9)
            if (r1 == 0) goto L_0x00bb
            com.bytedance.router.arg.RouteParser r3 = com.bytedance.router.arg.RouteParser.INSTANCE
            java.lang.Object r2 = r14.get(r9)
            java.lang.Class<java.lang.String> r1 = java.lang.String.class
            java.lang.Object r9 = r3.parse(r2, r1)
            java.lang.String r9 = (java.lang.String) r9
        L_0x0054:
            boolean r1 = r14.containsKey(r8)
            if (r1 == 0) goto L_0x00b7
            com.bytedance.router.arg.RouteParser r3 = com.bytedance.router.arg.RouteParser.INSTANCE
            java.lang.Object r2 = r14.get(r8)
            java.lang.Class<java.lang.String> r1 = java.lang.String.class
            java.lang.Object r10 = r3.parse(r2, r1)
            java.lang.String r10 = (java.lang.String) r10
        L_0x0068:
            boolean r1 = r14.containsKey(r7)
            if (r1 == 0) goto L_0x00b3
            com.bytedance.router.arg.RouteParser r3 = com.bytedance.router.arg.RouteParser.INSTANCE
            java.lang.Object r2 = r14.get(r7)
            java.lang.Class<java.lang.String> r1 = java.lang.String.class
            java.lang.Object r11 = r3.parse(r2, r1)
            java.lang.String r11 = (java.lang.String) r11
        L_0x007c:
            boolean r1 = r14.containsKey(r6)
            if (r1 == 0) goto L_0x0092
            com.bytedance.router.arg.RouteParser r2 = com.bytedance.router.arg.RouteParser.INSTANCE
            java.lang.Object r1 = r14.get(r6)
            java.lang.Class<java.lang.Boolean> r0 = java.lang.Boolean.class
            java.lang.Object r0 = r2.parse(r1, r0)
            java.lang.Boolean r0 = (java.lang.Boolean) r0
            if (r0 != 0) goto L_0x0094
        L_0x0092:
            int r13 = r13 + 32
        L_0x0094:
            com.ss.android.ugc.aweme.notification.bean.MusNotificationDetailArg r6 = new com.ss.android.ugc.aweme.notification.bean.MusNotificationDetailArg
            if (r5 == 0) goto L_0x00b1
            int r7 = r5.intValue()
        L_0x009c:
            if (r4 == 0) goto L_0x00af
            int r8 = r4.intValue()
        L_0x00a2:
            if (r0 == 0) goto L_0x00ad
            boolean r12 = r0.booleanValue()
        L_0x00a8:
            r14 = 0
            r6.<init>(r7, r8, r9, r10, r11, r12, r13, r14)
            return r6
        L_0x00ad:
            r12 = 0
            goto L_0x00a8
        L_0x00af:
            r8 = 0
            goto L_0x00a2
        L_0x00b1:
            r7 = 0
            goto L_0x009c
        L_0x00b3:
            int r13 = r13 + 16
            r11 = r0
            goto L_0x007c
        L_0x00b7:
            int r13 = r13 + 8
            r10 = r0
            goto L_0x0068
        L_0x00bb:
            int r13 = r13 + 4
            r9 = r0
            goto L_0x0054
        L_0x00bf:
            r4 = r0
            goto L_0x003e
        L_0x00c2:
            r13 = 0
            goto L_0x0028
        L_0x00c5:
            r5 = r0
            goto L_0x0027
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.notification.bean.MusNotificationDetailArg.__fromBundle(android.os.Bundle):com.ss.android.ugc.aweme.notification.bean.MusNotificationDetailArg");
    }

    public static /* synthetic */ MusNotificationDetailArg copy$default(MusNotificationDetailArg musNotificationDetailArg, int i, int i2, String str, String str2, String str3, boolean z, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            i = musNotificationDetailArg.groupType;
        }
        if ((i3 & 2) != 0) {
            i2 = musNotificationDetailArg.unReadMessageCount;
        }
        if ((i3 & 4) != 0) {
            str = musNotificationDetailArg.tabName;
        }
        if ((i3 & 8) != 0) {
            str2 = musNotificationDetailArg.title;
        }
        if ((i3 & 16) != 0) {
            str3 = musNotificationDetailArg.nid;
        }
        if ((i3 & 32) != 0) {
            z = musNotificationDetailArg.mergeTikTokShop;
        }
        return musNotificationDetailArg.copy(i, i2, str, str2, str3, z);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.groupType), Integer.valueOf(this.unReadMessageCount), this.tabName, this.title, this.nid, Boolean.valueOf(this.mergeTikTokShop)};
    }

    public final MusNotificationDetailArg copy(int i, int i2, String str, String str2, String str3, boolean z) {
        String str4 = str2;
        M12.LIZ(str4);
        return new MusNotificationDetailArg(i, i2, str, str4, str3, z);
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof MusNotificationDetailArg)) {
            return false;
        }
        return M12.LIZ(((MusNotificationDetailArg) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("MusNotificationDetailArg:%s,%s,%s,%s,%s,%s", getObjects());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeInt(this.groupType);
        parcel.writeInt(this.unReadMessageCount);
        parcel.writeString(this.tabName);
        parcel.writeString(this.title);
        parcel.writeString(this.nid);
        parcel.writeInt(this.mergeTikTokShop ? 1 : 0);
    }

    public MusNotificationDetailArg(int i, int i2, String str, String str2, String str3, boolean z) {
        M12.LIZ(str2);
        this.groupType = i;
        this.unReadMessageCount = i2;
        this.tabName = str;
        this.title = str2;
        this.nid = str3;
        this.mergeTikTokShop = z;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ MusNotificationDetailArg(int i, int i2, String str, String str2, String str3, boolean z, int i3, 2HN r15) {
        this((i3 & 1) != 0 ? -1 : i, (i3 & 2) != 0 ? 0 : i2, (i3 & 4) != 0 ? null : str, (i3 & 8) != 0 ? "" : str2, (i3 & 16) == 0 ? str3 : null, (i3 & 32) == 0 ? z : false);
    }
}
