package o0;

import n2.AbstractC2612c;

/* JADX INFO: renamed from: o0.c, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2632c {

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final C2632c f21786e = new C2632c(0.0f, 0.0f, 0.0f, 0.0f);

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

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

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

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

    public C2632c(float f6, float f7, float f8, float f9) {
        this.f21787a = f6;
        this.f21788b = f7;
        this.f21789c = f8;
        this.f21790d = f9;
    }

    public final boolean a(long j4) {
        float fIntBitsToFloat = Float.intBitsToFloat((int) (j4 >> 32));
        float fIntBitsToFloat2 = Float.intBitsToFloat((int) (j4 & 4294967295L));
        return (fIntBitsToFloat >= this.f21787a) & (fIntBitsToFloat < this.f21789c) & (fIntBitsToFloat2 >= this.f21788b) & (fIntBitsToFloat2 < this.f21790d);
    }

    public final long b() {
        float f6 = this.f21789c;
        float f7 = this.f21787a;
        float f8 = ((f6 - f7) / 2.0f) + f7;
        float f9 = this.f21790d;
        float f10 = this.f21788b;
        return (((long) Float.floatToRawIntBits(((f9 - f10) / 2.0f) + f10)) & 4294967295L) | (Float.floatToRawIntBits(f8) << 32);
    }

    public final long c() {
        float f6 = this.f21789c - this.f21787a;
        return (((long) Float.floatToRawIntBits(this.f21790d - this.f21788b)) & 4294967295L) | (Float.floatToRawIntBits(f6) << 32);
    }

    public final long d() {
        return (((long) Float.floatToRawIntBits(this.f21787a)) << 32) | (((long) Float.floatToRawIntBits(this.f21788b)) & 4294967295L);
    }

    public final C2632c e(C2632c c2632c) {
        return new C2632c(Math.max(this.f21787a, c2632c.f21787a), Math.max(this.f21788b, c2632c.f21788b), Math.min(this.f21789c, c2632c.f21789c), Math.min(this.f21790d, c2632c.f21790d));
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2632c)) {
            return false;
        }
        C2632c c2632c = (C2632c) obj;
        return Float.compare(this.f21787a, c2632c.f21787a) == 0 && Float.compare(this.f21788b, c2632c.f21788b) == 0 && Float.compare(this.f21789c, c2632c.f21789c) == 0 && Float.compare(this.f21790d, c2632c.f21790d) == 0;
    }

    public final boolean f() {
        return (this.f21787a >= this.f21789c) | (this.f21788b >= this.f21790d);
    }

    public final boolean g(C2632c c2632c) {
        return (this.f21787a < c2632c.f21789c) & (c2632c.f21787a < this.f21789c) & (this.f21788b < c2632c.f21790d) & (c2632c.f21788b < this.f21790d);
    }

    public final C2632c h(float f6, float f7) {
        return new C2632c(this.f21787a + f6, this.f21788b + f7, this.f21789c + f6, this.f21790d + f7);
    }

    public final int hashCode() {
        return Float.hashCode(this.f21790d) + com.google.android.recaptcha.internal.a.b(this.f21789c, com.google.android.recaptcha.internal.a.b(this.f21788b, Float.hashCode(this.f21787a) * 31, 31), 31);
    }

    public final C2632c i(long j4) {
        int i6 = (int) (j4 >> 32);
        int i7 = (int) (j4 & 4294967295L);
        return new C2632c(Float.intBitsToFloat(i6) + this.f21787a, Float.intBitsToFloat(i7) + this.f21788b, Float.intBitsToFloat(i6) + this.f21789c, Float.intBitsToFloat(i7) + this.f21790d);
    }

    public final String toString() {
        return "Rect.fromLTRB(" + AbstractC2612c.t(this.f21787a) + ", " + AbstractC2612c.t(this.f21788b) + ", " + AbstractC2612c.t(this.f21789c) + ", " + AbstractC2612c.t(this.f21790d) + ')';
    }
}
