package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.o30, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2018o30 {
    public final float a;
    public final float b;
    public final float c;
    public final float d;
    public final long e;
    public final long f;
    public final long g;
    public final long h;

    static {
        AbstractC1155f00.e(0.0f, 0.0f, 0.0f, 0.0f, 0L);
    }

    public C2018o30(float f, float f2, float f3, float f4, long j, long j2, long j3, long j4) {
        this.a = f;
        this.b = f2;
        this.c = f3;
        this.d = f4;
        this.e = j;
        this.f = j2;
        this.g = j3;
        this.h = j4;
    }

    public final float a() {
        return this.d - this.b;
    }

    public final float b() {
        return this.c - this.a;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2018o30)) {
            return false;
        }
        C2018o30 c2018o30 = (C2018o30) obj;
        return Float.compare(this.a, c2018o30.a) == 0 && Float.compare(this.b, c2018o30.b) == 0 && Float.compare(this.c, c2018o30.c) == 0 && Float.compare(this.d, c2018o30.d) == 0 && AbstractC0662Zn.r(this.e, c2018o30.e) && AbstractC0662Zn.r(this.f, c2018o30.f) && AbstractC0662Zn.r(this.g, c2018o30.g) && AbstractC0662Zn.r(this.h, c2018o30.h);
    }

    public final int hashCode() {
        return Long.hashCode(this.h) + AbstractC0126Ew.f(AbstractC0126Ew.f(AbstractC0126Ew.f(AbstractC0126Ew.d(this.d, AbstractC0126Ew.d(this.c, AbstractC0126Ew.d(this.b, Float.hashCode(this.a) * 31, 31), 31), 31), 31, this.e), 31, this.f), 31, this.g);
    }

    public final String toString() {
        String str = C80.X(this.a) + ", " + C80.X(this.b) + ", " + C80.X(this.c) + ", " + C80.X(this.d);
        long j = this.e;
        long j2 = this.f;
        boolean zR = AbstractC0662Zn.r(j, j2);
        long j3 = this.g;
        long j4 = this.h;
        if (!zR || !AbstractC0662Zn.r(j2, j3) || !AbstractC0662Zn.r(j3, j4)) {
            return "RoundRect(rect=" + str + ", topLeft=" + ((Object) AbstractC0662Zn.J(j)) + ", topRight=" + ((Object) AbstractC0662Zn.J(j2)) + ", bottomRight=" + ((Object) AbstractC0662Zn.J(j3)) + ", bottomLeft=" + ((Object) AbstractC0662Zn.J(j4)) + ')';
        }
        int i = (int) (j >> 32);
        int i2 = (int) (j & 4294967295L);
        if (Float.intBitsToFloat(i) == Float.intBitsToFloat(i2)) {
            return "RoundRect(rect=" + str + ", radius=" + C80.X(Float.intBitsToFloat(i)) + ')';
        }
        return "RoundRect(rect=" + str + ", x=" + C80.X(Float.intBitsToFloat(i)) + ", y=" + C80.X(Float.intBitsToFloat(i2)) + ')';
    }
}
