package c.e.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 f5186a = new b(0, 0, 0, 0);

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

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

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

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

    public b(int i2, int i3, int i4, int i5) {
        this.f5187b = i2;
        this.f5188c = i3;
        this.f5189d = i4;
        this.f5190e = i5;
    }

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

    public Insets b() {
        return Insets.of(this.f5187b, this.f5188c, this.f5189d, this.f5190e);
    }

    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.f5190e == bVar.f5190e && this.f5187b == bVar.f5187b && this.f5189d == bVar.f5189d && this.f5188c == bVar.f5188c;
    }

    public int hashCode() {
        return (((((this.f5187b * 31) + this.f5188c) * 31) + this.f5189d) * 31) + this.f5190e;
    }

    public String toString() {
        StringBuilder sbC = a.b.c.a.a.C("Insets{left=");
        sbC.append(this.f5187b);
        sbC.append(", top=");
        sbC.append(this.f5188c);
        sbC.append(", right=");
        sbC.append(this.f5189d);
        sbC.append(", bottom=");
        return a.b.c.a.a.s(sbC, this.f5190e, '}');
    }
}
