package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class T00 {
    public static final T00 e = new T00(0.0f, 0.0f, 0.0f, 0.0f);
    public final float a;
    public final float b;
    public final float c;
    public final float d;

    public T00(float f, float f2, float f3, float f4) {
        this.a = f;
        this.b = f2;
        this.c = f3;
        this.d = f4;
    }

    public final long a() {
        float f = this.c;
        float f2 = this.a;
        float f3 = ((f - f2) / 2.0f) + f2;
        float f4 = this.d;
        float f5 = this.b;
        return (Float.floatToRawIntBits(((f4 - f5) / 2.0f) + f5) & 4294967295L) | (Float.floatToRawIntBits(f3) << 32);
    }

    public final long b() {
        float f = this.c - this.a;
        float f2 = this.d - this.b;
        return (Float.floatToRawIntBits(f2) & 4294967295L) | (Float.floatToRawIntBits(f) << 32);
    }

    public final long c() {
        return (Float.floatToRawIntBits(this.a) << 32) | (Float.floatToRawIntBits(this.b) & 4294967295L);
    }

    public final T00 d(T00 t00) {
        return new T00(Math.max(this.a, t00.a), Math.max(this.b, t00.b), Math.min(this.c, t00.c), Math.min(this.d, t00.d));
    }

    public final boolean e() {
        return (this.a >= this.c) | (this.b >= this.d);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof T00)) {
            return false;
        }
        T00 t00 = (T00) obj;
        return Float.compare(this.a, t00.a) == 0 && Float.compare(this.b, t00.b) == 0 && Float.compare(this.c, t00.c) == 0 && Float.compare(this.d, t00.d) == 0;
    }

    public final boolean f(T00 t00) {
        return (this.a < t00.c) & (t00.a < this.c) & (this.b < t00.d) & (t00.b < this.d);
    }

    public final T00 g(float f, float f2) {
        return new T00(this.a + f, this.b + f2, this.c + f, this.d + f2);
    }

    public final T00 h(long j) {
        int i = (int) (j >> 32);
        int i2 = (int) (j & 4294967295L);
        return new T00(Float.intBitsToFloat(i) + this.a, Float.intBitsToFloat(i2) + this.b, Float.intBitsToFloat(i) + this.c, Float.intBitsToFloat(i2) + this.d);
    }

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

    public final String toString() {
        return "Rect.fromLTRB(" + C80.X(this.a) + ", " + C80.X(this.b) + ", " + C80.X(this.c) + ", " + C80.X(this.d) + ')';
    }
}
