package B;

import i0.AbstractC2254r;

/* JADX INFO: loaded from: classes.dex */
final class D0 extends I0.Z {

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final J4.c f127e;

    public D0(float f6, float f7, float f8, float f9, J4.c cVar) {
        this.f123a = f6;
        this.f124b = f7;
        this.f125c = f8;
        this.f126d = f9;
        this.f127e = cVar;
        boolean z6 = true;
        boolean z7 = (f6 >= 0.0f || Float.isNaN(f6)) & (f7 >= 0.0f || Float.isNaN(f7)) & (f8 >= 0.0f || Float.isNaN(f8));
        if (f9 < 0.0f && !Float.isNaN(f9)) {
            z6 = false;
        }
        if (!z7 || !z6) {
            C.a.a("Padding must be non-negative");
        }
    }

    @Override // I0.Z
    public final AbstractC2254r create() {
        G0 g0 = new G0();
        g0.f136a = this.f123a;
        g0.f137b = this.f124b;
        g0.f138c = this.f125c;
        g0.f139d = this.f126d;
        g0.f140e = true;
        return g0;
    }

    public final boolean equals(Object obj) {
        D0 d02 = obj instanceof D0 ? (D0) obj : null;
        return d02 != null && h1.f.c(this.f123a, d02.f123a) && h1.f.c(this.f124b, d02.f124b) && h1.f.c(this.f125c, d02.f125c) && h1.f.c(this.f126d, d02.f126d);
    }

    public final int hashCode() {
        return Boolean.hashCode(true) + com.google.android.recaptcha.internal.a.b(this.f126d, com.google.android.recaptcha.internal.a.b(this.f125c, com.google.android.recaptcha.internal.a.b(this.f124b, Float.hashCode(this.f123a) * 31, 31), 31), 31);
    }

    @Override // I0.Z
    public final void inspectableProperties(J0.L0 l02) {
        this.f127e.invoke(l02);
    }

    @Override // I0.Z
    public final void update(AbstractC2254r abstractC2254r) {
        G0 g0 = (G0) abstractC2254r;
        g0.f136a = this.f123a;
        g0.f137b = this.f124b;
        g0.f138c = this.f125c;
        g0.f139d = this.f126d;
        g0.f140e = true;
    }
}
