package B;

import q.AbstractC2761L;

/* JADX INFO: loaded from: classes.dex */
public final class J0 implements H0 {

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

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

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

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

    public J0(float f6, float f7, float f8, float f9) {
        this.f144a = f6;
        this.f145b = f7;
        this.f146c = f8;
        this.f147d = f9;
        if (!((f6 >= 0.0f) & (f7 >= 0.0f) & (f8 >= 0.0f)) || !(f9 >= 0.0f)) {
            C.a.a("Padding must be non-negative");
        }
    }

    @Override // B.H0
    public final float a() {
        return this.f147d;
    }

    @Override // B.H0
    public final float b(h1.m mVar) {
        return mVar == h1.m.f16628a ? this.f144a : this.f146c;
    }

    @Override // B.H0
    public final float c() {
        return this.f145b;
    }

    @Override // B.H0
    public final float d(h1.m mVar) {
        return mVar == h1.m.f16628a ? this.f146c : this.f144a;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof J0)) {
            return false;
        }
        J0 j02 = (J0) obj;
        return h1.f.c(this.f144a, j02.f144a) && h1.f.c(this.f145b, j02.f145b) && h1.f.c(this.f146c, j02.f146c) && h1.f.c(this.f147d, j02.f147d);
    }

    public final int hashCode() {
        return Float.hashCode(this.f147d) + com.google.android.recaptcha.internal.a.b(this.f146c, com.google.android.recaptcha.internal.a.b(this.f145b, Float.hashCode(this.f144a) * 31, 31), 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("PaddingValues(start=");
        AbstractC2761L.k(this.f144a, sb, ", top=");
        AbstractC2761L.k(this.f145b, sb, ", end=");
        AbstractC2761L.k(this.f146c, sb, ", bottom=");
        sb.append((Object) h1.f.d(this.f147d));
        sb.append(')');
        return sb.toString();
    }
}
