package androidx.navigation;

/* JADX INFO: loaded from: classes.dex */
public final class K {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final boolean f12699a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final boolean f12700b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f12701c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final boolean f12702d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean f12703e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f12704f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final int f12705g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public String f12706h;

    public K(boolean z6, boolean z7, int i6, boolean z8, boolean z9, int i7, int i8) {
        this.f12699a = z6;
        this.f12700b = z7;
        this.f12701c = i6;
        this.f12702d = z8;
        this.f12703e = z9;
        this.f12704f = i7;
        this.f12705g = i8;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || !(obj instanceof K)) {
            return false;
        }
        K k6 = (K) obj;
        return this.f12699a == k6.f12699a && this.f12700b == k6.f12700b && this.f12701c == k6.f12701c && kotlin.jvm.internal.o.c(this.f12706h, k6.f12706h) && this.f12702d == k6.f12702d && this.f12703e == k6.f12703e && this.f12704f == k6.f12704f && this.f12705g == k6.f12705g;
    }

    public final int hashCode() {
        int i6 = (((((this.f12699a ? 1 : 0) * 31) + (this.f12700b ? 1 : 0)) * 31) + this.f12701c) * 31;
        return ((((((((((((i6 + (this.f12706h != null ? r1.hashCode() : 0)) * 29791) + (this.f12702d ? 1 : 0)) * 31) + (this.f12703e ? 1 : 0)) * 31) + this.f12704f) * 31) + this.f12705g) * 31) - 1) * 31) - 1;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(K.class.getSimpleName());
        sb.append("(");
        if (this.f12699a) {
            sb.append("launchSingleTop ");
        }
        if (this.f12700b) {
            sb.append("restoreState ");
        }
        String str = this.f12706h;
        if ((str != null || this.f12701c != -1) && str != null) {
            sb.append("popUpTo(");
            sb.append(str);
            if (this.f12702d) {
                sb.append(" inclusive");
            }
            if (this.f12703e) {
                sb.append(" saveState");
            }
            sb.append(")");
        }
        int i6 = this.f12705g;
        int i7 = this.f12704f;
        if (i7 != -1 || i6 != -1) {
            sb.append("anim(enterAnim=0x");
            sb.append(Integer.toHexString(i7));
            sb.append(" exitAnim=0x");
            sb.append(Integer.toHexString(i6));
            sb.append(" popEnterAnim=0x");
            sb.append(Integer.toHexString(-1));
            sb.append(" popExitAnim=0x");
            sb.append(Integer.toHexString(-1));
            sb.append(")");
        }
        String string = sb.toString();
        kotlin.jvm.internal.o.g(string, "sb.toString()");
        return string;
    }
}
