package b.f.d;

import android.graphics.Insets;

/* JADX INFO: loaded from: classes.dex */
public final class b {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final b f922a = new b(0, 0, 0, 0);

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f926e;

    public b(int i, int i2, int i3, int i4) {
        this.f923b = i;
        this.f924c = i2;
        this.f925d = i3;
        this.f926e = i4;
    }

    public static b a(int i, int i2, int i3, int i4) {
        return (i == 0 && i2 == 0 && i3 == 0 && i4 == 0) ? f922a : new b(i, i2, i3, i4);
    }

    public Insets b() {
        return Insets.of(this.f923b, this.f924c, this.f925d, this.f926e);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || b.class != obj.getClass()) {
            return false;
        }
        b bVar = (b) obj;
        return this.f926e == bVar.f926e && this.f923b == bVar.f923b && this.f925d == bVar.f925d && this.f924c == bVar.f924c;
    }

    public int hashCode() {
        return (((((this.f923b * 31) + this.f924c) * 31) + this.f925d) * 31) + this.f926e;
    }

    public String toString() {
        StringBuilder sbD = c.a.a.a.a.d("Insets{left=");
        sbD.append(this.f923b);
        sbD.append(", top=");
        sbD.append(this.f924c);
        sbD.append(", right=");
        sbD.append(this.f925d);
        sbD.append(", bottom=");
        sbD.append(this.f926e);
        sbD.append('}');
        return sbD.toString();
    }
}
