package com.ss.android.ugc.aweme.following.ui.viewmodel;

import X.2HN;
import X.5Am;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class FollowRelationState implements 5Am {
    public final int connectedRelationCount;
    public final int fanCount;
    public final boolean isFollowerTab;
    public final boolean isFollowingTab;
    public final boolean isSearching;
    public final int mutualCount;
    public final String tabIndex;

    static {
        Covode.recordClassIndex(80974);
    }

    public FollowRelationState() {
        this(false, 0, 0, 0, false, (String) null, false, 127, (2HN) null);
    }

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

    public static /* synthetic */ FollowRelationState copy$default(FollowRelationState followRelationState, boolean z, int i, int i2, int i3, boolean z2, String str, boolean z3, int i4, Object obj) {
        if ((i4 & 1) != 0) {
            z = followRelationState.isSearching;
        }
        if ((i4 & 2) != 0) {
            i = followRelationState.connectedRelationCount;
        }
        if ((i4 & 4) != 0) {
            i2 = followRelationState.fanCount;
        }
        if ((i4 & 8) != 0) {
            i3 = followRelationState.mutualCount;
        }
        if ((i4 & 16) != 0) {
            z2 = followRelationState.isFollowingTab;
        }
        if ((i4 & 32) != 0) {
            str = followRelationState.tabIndex;
        }
        if ((i4 & 64) != 0) {
            z3 = followRelationState.isFollowerTab;
        }
        return followRelationState.copy(z, i, i2, i3, z2, str, z3);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.isSearching), Integer.valueOf(this.connectedRelationCount), Integer.valueOf(this.fanCount), Integer.valueOf(this.mutualCount), Boolean.valueOf(this.isFollowingTab), this.tabIndex, Boolean.valueOf(this.isFollowerTab)};
    }

    public final FollowRelationState copy(boolean z, int i, int i2, int i3, boolean z2, String str, boolean z3) {
        String str2 = str;
        M12.LIZ(str2);
        return new FollowRelationState(z, i, i2, i3, z2, str2, z3);
    }

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

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

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

    public final int getConnectedRelationCount() {
        return this.connectedRelationCount;
    }

    public final int getFanCount() {
        return this.fanCount;
    }

    public final int getMutualCount() {
        return this.mutualCount;
    }

    public final String getTabIndex() {
        return this.tabIndex;
    }

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

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

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

    public FollowRelationState(boolean z, int i, int i2, int i3, boolean z2, String str, boolean z3) {
        M12.LIZ(str);
        this.isSearching = z;
        this.connectedRelationCount = i;
        this.fanCount = i2;
        this.mutualCount = i3;
        this.isFollowingTab = z2;
        this.tabIndex = str;
        this.isFollowerTab = z3;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ FollowRelationState(boolean r10, int r11, int r12, int r13, boolean r14, java.lang.String r15, boolean r16, int r17, X.2HN r18) {
        /*
            r9 = this;
            r6 = r14
            r4 = r12
            r2 = r10
            r8 = r16
            r5 = r13
            r3 = r11
            r1 = r17 & 1
            r0 = 0
            if (r1 == 0) goto L_0x000d
            r2 = 0
        L_0x000d:
            r0 = r17 & 2
            if (r0 == 0) goto L_0x0012
            r3 = 0
        L_0x0012:
            r0 = r17 & 4
            java.lang.String r7 = ""
            if (r0 == 0) goto L_0x0027
            com.ss.android.ugc.aweme.IAccountUserService r0 = X.46i.LJFF()
            kotlin.h.b.n.LIZIZ(r0, r7)
            com.ss.android.ugc.aweme.profile.model.User r0 = r0.getCurUser()
            int r4 = X.C2302Dne.LIZIZ(r0)
        L_0x0027:
            r0 = r17 & 8
            if (r0 == 0) goto L_0x002c
            r5 = 0
        L_0x002c:
            r0 = r17 & 16
            if (r0 == 0) goto L_0x0031
            r6 = 0
        L_0x0031:
            r0 = r17 & 32
            if (r0 == 0) goto L_0x003f
        L_0x0035:
            r0 = r17 & 64
            if (r0 == 0) goto L_0x003a
            r8 = 0
        L_0x003a:
            r1 = r9
            r1.<init>(r2, r3, r4, r5, r6, r7, r8)
            return
        L_0x003f:
            r7 = r15
            goto L_0x0035
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.following.ui.viewmodel.FollowRelationState.<init>(boolean, int, int, int, boolean, java.lang.String, boolean, int, X.2HN):void");
    }
}
