package d0; import d0.z.d.m; import kotlin.jvm.internal.DefaultConstructorMarker; /* compiled from: KotlinVersion.kt */ public final class e implements Comparable { public static final e j = f.get(); public final int k; public final int l; public final int m; public final int n; /* compiled from: KotlinVersion.kt */ public static final class a { public a(DefaultConstructorMarker defaultConstructorMarker) { } } static { new a(null); } public e(int i, int i2, int i3) { this.l = i; this.m = i2; this.n = i3; if (i >= 0 && 255 >= i && i2 >= 0 && 255 >= i2 && i3 >= 0 && 255 >= i3) { this.k = (i << 16) + (i2 << 8) + i3; return; } throw new IllegalArgumentException(("Version components are out of range: " + i + '.' + i2 + '.' + i3).toString()); } public int compareTo(e eVar) { m.checkNotNullParameter(eVar, "other"); return this.k - eVar.k; } @Override // java.lang.Object public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof e)) { obj = null; } e eVar = (e) obj; return eVar != null && this.k == eVar.k; } @Override // java.lang.Object public int hashCode() { return this.k; } /* JADX DEBUG: TODO: convert one arg to string using `String.valueOf()`, args: [(wrap: int : 0x0005: IGET (r1v0 int) = (r3v0 'this' d0.e A[IMMUTABLE_TYPE, THIS]) d0.e.l int), ('.' char), (wrap: int : 0x000f: IGET (r2v0 int) = (r3v0 'this' d0.e A[IMMUTABLE_TYPE, THIS]) d0.e.m int), ('.' char), (wrap: int : 0x0017: IGET (r1v2 int) = (r3v0 'this' d0.e A[IMMUTABLE_TYPE, THIS]) d0.e.n int)] */ @Override // java.lang.Object public String toString() { StringBuilder sb = new StringBuilder(); sb.append(this.l); sb.append('.'); sb.append(this.m); sb.append('.'); sb.append(this.n); return sb.toString(); } }