package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class A50 {
    public final C3066z50 a;
    public final C3066z50 b;
    public final boolean c;

    public A50(C3066z50 c3066z50, C3066z50 c3066z502, boolean z) {
        this.a = c3066z50;
        this.b = c3066z502;
        this.c = z;
    }

    public static A50 a(A50 a50, C3066z50 c3066z50, C3066z50 c3066z502, boolean z, int i) {
        if ((i & 1) != 0) {
            c3066z50 = a50.a;
        }
        if ((i & 2) != 0) {
            c3066z502 = a50.b;
        }
        a50.getClass();
        return new A50(c3066z50, c3066z502, z);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof A50)) {
            return false;
        }
        A50 a50 = (A50) obj;
        return F3.c(this.a, a50.a) && F3.c(this.b, a50.b) && this.c == a50.c;
    }

    public final int hashCode() {
        return Boolean.hashCode(this.c) + ((this.b.hashCode() + (this.a.hashCode() * 31)) * 31);
    }

    public final String toString() {
        return "Selection(start=" + this.a + ", end=" + this.b + ", handlesCrossed=" + this.c + ')';
    }
}
