package c.f.d;

import android.graphics.Insets;

/* JADX INFO: compiled from: Insets.java */
/* JADX INFO: loaded from: classes.dex */
public final class b {
    public static final b a = new b(0, 0, 0, 0);

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

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

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

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

    /* JADX INFO: compiled from: Insets.java */
    public static class a {
        public static Insets a(int i2, int i3, int i4, int i5) {
            return Insets.of(i2, i3, i4, i5);
        }
    }

    public b(int i2, int i3, int i4, int i5) {
        this.f1332b = i2;
        this.f1333c = i3;
        this.f1334d = i4;
        this.f1335e = i5;
    }

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

    public Insets b() {
        return a.a(this.f1332b, this.f1333c, this.f1334d, this.f1335e);
    }

    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.f1335e == bVar.f1335e && this.f1332b == bVar.f1332b && this.f1334d == bVar.f1334d && this.f1333c == bVar.f1333c;
    }

    public int hashCode() {
        return (((((this.f1332b * 31) + this.f1333c) * 31) + this.f1334d) * 31) + this.f1335e;
    }

    public String toString() {
        StringBuilder sbB = d.b.a.a.a.B("Insets{left=");
        sbB.append(this.f1332b);
        sbB.append(", top=");
        sbB.append(this.f1333c);
        sbB.append(", right=");
        sbB.append(this.f1334d);
        sbB.append(", bottom=");
        sbB.append(this.f1335e);
        sbB.append('}');
        return sbB.toString();
    }
}
