package J2;

import n2.AbstractC2612c;

/* JADX INFO: renamed from: J2.s, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0427s {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f3443a;

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public float f3447e;

    public C0427s() {
        this.f3443a = 1;
        this.f3444b = 0.0f;
        this.f3445c = 0.0f;
        this.f3446d = 0.0f;
        this.f3447e = 0.0f;
    }

    public void a(float f6, float f7, float f8, float f9) {
        this.f3444b = Math.max(f6, this.f3444b);
        this.f3445c = Math.max(f7, this.f3445c);
        this.f3446d = Math.min(f8, this.f3446d);
        this.f3447e = Math.min(f9, this.f3447e);
    }

    public boolean b() {
        return (this.f3444b >= this.f3446d) | (this.f3445c >= this.f3447e);
    }

    public float c() {
        return this.f3444b + this.f3446d;
    }

    public float d() {
        return this.f3445c + this.f3447e;
    }

    public void e(long j4) {
        float fIntBitsToFloat = Float.intBitsToFloat((int) (j4 >> 32));
        float fIntBitsToFloat2 = Float.intBitsToFloat((int) (j4 & 4294967295L));
        this.f3444b += fIntBitsToFloat;
        this.f3445c += fIntBitsToFloat2;
        this.f3446d += fIntBitsToFloat;
        this.f3447e += fIntBitsToFloat2;
    }

    public final String toString() {
        switch (this.f3443a) {
            case 0:
                return "[" + this.f3444b + " " + this.f3445c + " " + this.f3446d + " " + this.f3447e + "]";
            default:
                return "MutableRect(" + AbstractC2612c.t(this.f3444b) + ", " + AbstractC2612c.t(this.f3445c) + ", " + AbstractC2612c.t(this.f3446d) + ", " + AbstractC2612c.t(this.f3447e) + ')';
        }
    }

    public C0427s(float f6, float f7, float f8, float f9) {
        this.f3443a = 0;
        this.f3444b = f6;
        this.f3445c = f7;
        this.f3446d = f8;
        this.f3447e = f9;
    }

    public C0427s(C0427s c0427s) {
        this.f3443a = 0;
        this.f3444b = c0427s.f3444b;
        this.f3445c = c0427s.f3445c;
        this.f3446d = c0427s.f3446d;
        this.f3447e = c0427s.f3447e;
    }
}
