package com.ss.android.ugc.aweme.recommend.viewmodel;

import X.2HN;
import X.C2313Dnp;
import X.C2381Dov;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.NestedState;
import com.bytedance.jedi.arch.ext.list.ICommonListState;
import com.bytedance.jedi.arch.ext.list.ListState;
import com.ss.android.ugc.aweme.profile.model.User;
import kotlin.h.b.n;

public final class RecommendUserListState implements ICommonListState<User> {
    public final boolean isMySelf;
    public final C2313Dnp recommendMobParams;
    public final int recommendUserType;
    public final String reportId;
    public final String secUserId;
    public final ListState<User, C2381Dov> substate;
    public final String userId;

    static {
        Covode.recordClassIndex(102336);
    }

    public RecommendUserListState() {
        this((String) null, (String) null, false, 0, (String) null, (C2313Dnp) null, (ListState) null, 127, (2HN) null);
    }

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

    public static /* synthetic */ RecommendUserListState copy$default(RecommendUserListState recommendUserListState, String str, String str2, boolean z, int i, String str3, C2313Dnp dnp, ListState listState, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = recommendUserListState.userId;
        }
        if ((i2 & 2) != 0) {
            str2 = recommendUserListState.secUserId;
        }
        if ((i2 & 4) != 0) {
            z = recommendUserListState.isMySelf;
        }
        if ((i2 & 8) != 0) {
            i = recommendUserListState.recommendUserType;
        }
        if ((i2 & 16) != 0) {
            str3 = recommendUserListState.reportId;
        }
        if ((i2 & 32) != 0) {
            dnp = recommendUserListState.recommendMobParams;
        }
        if ((i2 & 64) != 0) {
            listState = recommendUserListState.getSubstate();
        }
        return recommendUserListState.copy(str, str2, z, i, str3, dnp, listState);
    }

    public final ListState<User, C2381Dov> component7() {
        return getSubstate();
    }

    public final RecommendUserListState copy(String str, String str2, boolean z, int i, String str3, C2313Dnp dnp, ListState<User, C2381Dov> listState) {
        C2313Dnp dnp2 = dnp;
        String str4 = str2;
        ListState<User, C2381Dov> listState2 = listState;
        String str5 = str;
        String str6 = str3;
        M12.LIZ(str5, str4, str6, dnp2, listState2);
        return new RecommendUserListState(str5, str4, z, i, str6, dnp2, listState2);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof RecommendUserListState)) {
            return false;
        }
        RecommendUserListState recommendUserListState = (RecommendUserListState) obj;
        return n.LIZ(this.userId, recommendUserListState.userId) && n.LIZ(this.secUserId, recommendUserListState.secUserId) && this.isMySelf == recommendUserListState.isMySelf && this.recommendUserType == recommendUserListState.recommendUserType && n.LIZ(this.reportId, recommendUserListState.reportId) && n.LIZ(this.recommendMobParams, recommendUserListState.recommendMobParams) && n.LIZ(getSubstate(), recommendUserListState.getSubstate());
    }

    public final int hashCode() {
        String str = this.userId;
        int i = 0;
        int hashCode = (str != null ? str.hashCode() : 0) * 31;
        String str2 = this.secUserId;
        int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
        boolean z = this.isMySelf;
        if (z) {
            z = true;
        }
        int i2 = this.recommendUserType;
        INVOKESTATIC_com_ss_android_ugc_aweme_recommend_viewmodel_RecommendUserListState_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(i2);
        int i3 = (((hashCode2 + (z ? 1 : 0)) * 31) + i2) * 31;
        String str3 = this.reportId;
        int hashCode3 = (i3 + (str3 != null ? str3.hashCode() : 0)) * 31;
        C2313Dnp dnp = this.recommendMobParams;
        int hashCode4 = (hashCode3 + (dnp != null ? dnp.hashCode() : 0)) * 31;
        ListState substate2 = getSubstate();
        if (substate2 != null) {
            i = substate2.hashCode();
        }
        return hashCode4 + i;
    }

    public final String toString() {
        return "RecommendUserListState(userId=" + this.userId + ", secUserId=" + this.secUserId + ", isMySelf=" + this.isMySelf + ", recommendUserType=" + this.recommendUserType + ", reportId=" + this.reportId + ", recommendMobParams=" + this.recommendMobParams + ", substate=" + getSubstate() + ")";
    }

    public final C2313Dnp getRecommendMobParams() {
        return this.recommendMobParams;
    }

    public final int getRecommendUserType() {
        return this.recommendUserType;
    }

    public final String getReportId() {
        return this.reportId;
    }

    public final String getSecUserId() {
        return this.secUserId;
    }

    public final ListState<User, C2381Dov> getSubstate() {
        return this.substate;
    }

    public final String getUserId() {
        return this.userId;
    }

    public final boolean isMySelf() {
        return this.isMySelf;
    }

    /* JADX WARNING: type inference failed for: r0v1, types: [com.bytedance.jedi.arch.NestedState<com.bytedance.jedi.arch.ext.list.ListState<com.ss.android.ugc.aweme.profile.model.User, X.Dov>>, com.ss.android.ugc.aweme.recommend.viewmodel.RecommendUserListState] */
    public final NestedState<ListState<User, C2381Dov>> newSubstate(ListState<User, C2381Dov> listState) {
        ListState<User, C2381Dov> listState2 = listState;
        M12.LIZ(listState2);
        return copy$default(this, (String) null, (String) null, false, 0, (String) null, (C2313Dnp) null, listState2, 63, (Object) null);
    }

    public RecommendUserListState(String str, String str2, boolean z, int i, String str3, C2313Dnp dnp, ListState<User, C2381Dov> listState) {
        M12.LIZ(str, str2, str3, dnp, listState);
        this.userId = str;
        this.secUserId = str2;
        this.isMySelf = z;
        this.recommendUserType = i;
        this.reportId = str3;
        this.recommendMobParams = dnp;
        this.substate = listState;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ RecommendUserListState(java.lang.String r18, java.lang.String r19, boolean r20, int r21, java.lang.String r22, X.C2313Dnp r23, com.bytedance.jedi.arch.ext.list.ListState r24, int r25, X.2HN r26) {
        /*
            r17 = this;
            r15 = r23
            r12 = r20
            r2 = r24
            r13 = r21
            r10 = r18
            r11 = r19
            r0 = r25 & 1
            java.lang.String r14 = ""
            if (r0 == 0) goto L_0x0013
            r10 = r14
        L_0x0013:
            r0 = r25 & 2
            if (r0 == 0) goto L_0x0018
            r11 = r14
        L_0x0018:
            r0 = r25 & 4
            if (r0 == 0) goto L_0x001d
            r12 = 1
        L_0x001d:
            r0 = r25 & 8
            r1 = 0
            if (r0 == 0) goto L_0x0023
            r13 = 0
        L_0x0023:
            r0 = r25 & 16
            if (r0 == 0) goto L_0x0050
        L_0x0027:
            r0 = r25 & 32
            if (r0 == 0) goto L_0x0030
            X.Dnp r15 = new X.Dnp
            r15.<init>()
        L_0x0030:
            r0 = r25 & 64
            if (r0 == 0) goto L_0x0048
            X.Dov r3 = new X.Dov
            r0 = 3
            r3.<init>(r1, r0, r1)
            com.bytedance.jedi.arch.ext.list.ListState r2 = new com.bytedance.jedi.arch.ext.list.ListState
            r4 = 0
            r5 = 0
            r6 = 0
            r7 = 0
            r0 = 30
            r9 = 0
            r8 = 30
            r2.<init>(r3, r4, r5, r6, r7, r8, r9)
        L_0x0048:
            r9 = r17
            r16 = r2
            r9.<init>(r10, r11, r12, r13, r14, r15, r16)
            return
        L_0x0050:
            r14 = r22
            goto L_0x0027
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.recommend.viewmodel.RecommendUserListState.<init>(java.lang.String, java.lang.String, boolean, int, java.lang.String, X.Dnp, com.bytedance.jedi.arch.ext.list.ListState, int, X.2HN):void");
    }
}
