package E1;

/* JADX INFO: renamed from: E1.i, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0102i {

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

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

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

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

    public C0102i(P p3, boolean z8, Object obj, boolean z9) {
        if (!p3.f2053a && z8) {
            throw new IllegalArgumentException(p3.b().concat(" does not allow nullable values").toString());
        }
        if (!z8 && z9 && obj == null) {
            throw new IllegalArgumentException(("Argument with type " + p3.b() + " has null value but is not nullable.").toString());
        }
        this.f2080a = p3;
        this.f2081b = z8;
        this.f2083d = obj;
        this.f2082c = z9;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && C0102i.class.equals(obj.getClass())) {
            C0102i c0102i = (C0102i) obj;
            if (this.f2081b != c0102i.f2081b || this.f2082c != c0102i.f2082c || !P6.g.a(this.f2080a, c0102i.f2080a)) {
                return false;
            }
            Object obj2 = c0102i.f2083d;
            Object obj3 = this.f2083d;
            if (obj3 != null) {
                return P6.g.a(obj3, obj2);
            }
            if (obj2 == null) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        int iHashCode = ((((this.f2080a.hashCode() * 31) + (this.f2081b ? 1 : 0)) * 31) + (this.f2082c ? 1 : 0)) * 31;
        Object obj = this.f2083d;
        return iHashCode + (obj != null ? obj.hashCode() : 0);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(C0102i.class.getSimpleName());
        sb.append(" Type: " + this.f2080a);
        sb.append(" Nullable: " + this.f2081b);
        if (this.f2082c) {
            sb.append(" DefaultValue: " + this.f2083d);
        }
        String string = sb.toString();
        P6.g.d(string, "sb.toString()");
        return string;
    }
}
