package c.f.e;

import android.graphics.Insets;

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

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

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

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

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

    private b(int i2, int i3, int i4, int i5) {
        this.a = i2;
        this.f1374b = i3;
        this.f1375c = i4;
        this.f1376d = i5;
    }

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

    public Insets b() {
        return Insets.of(this.a, this.f1374b, this.f1375c, this.f1376d);
    }

    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.f1376d == bVar.f1376d && this.a == bVar.a && this.f1375c == bVar.f1375c && this.f1374b == bVar.f1374b;
    }

    public int hashCode() {
        return (((((this.a * 31) + this.f1374b) * 31) + this.f1375c) * 31) + this.f1376d;
    }

    public String toString() {
        return "Insets{left=" + this.a + ", top=" + this.f1374b + ", right=" + this.f1375c + ", bottom=" + this.f1376d + '}';
    }
}
