package z2;

import d3.C1931v0;
import java.math.BigInteger;
import kotlin.jvm.internal.o;
import w4.p;

/* JADX INFO: loaded from: classes.dex */
public final class j implements Comparable {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final j f26316f;

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final p f26321e = m1.g.k(new C1931v0(this, 18));

    static {
        new j(0, 0, 0, "");
        f26316f = new j(0, 1, 0, "");
        new j(1, 0, 0, "");
    }

    public j(int i6, int i7, int i8, String str) {
        this.f26317a = i6;
        this.f26318b = i7;
        this.f26319c = i8;
        this.f26320d = str;
    }

    @Override // java.lang.Comparable
    public final int compareTo(Object obj) {
        j other = (j) obj;
        o.h(other, "other");
        Object value = this.f26321e.getValue();
        o.g(value, "getValue(...)");
        Object value2 = other.f26321e.getValue();
        o.g(value2, "getValue(...)");
        return ((BigInteger) value).compareTo((BigInteger) value2);
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof j)) {
            return false;
        }
        j jVar = (j) obj;
        return this.f26317a == jVar.f26317a && this.f26318b == jVar.f26318b && this.f26319c == jVar.f26319c;
    }

    public final int hashCode() {
        return ((((527 + this.f26317a) * 31) + this.f26318b) * 31) + this.f26319c;
    }

    public final String toString() {
        String str = this.f26320d;
        String strN = !S4.p.Q0(str) ? A0.a.n("-", str) : "";
        StringBuilder sb = new StringBuilder();
        sb.append(this.f26317a);
        sb.append('.');
        sb.append(this.f26318b);
        sb.append('.');
        return Z0.o.q(sb, this.f26319c, strN);
    }
}
