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 i = f.get(); public final int j; public final int k; public final int l; public final int m; /* compiled from: KotlinVersion.kt */ public static final class a { public a(DefaultConstructorMarker defaultConstructorMarker) { } } static { new a(null); } public e(int i2, int i3, int i4) { this.k = i2; this.l = i3; this.m = i4; if (i2 >= 0 && 255 >= i2 && i3 >= 0 && 255 >= i3 && i4 >= 0 && 255 >= i4) { this.j = (i2 << 16) + (i3 << 8) + i4; return; } throw new IllegalArgumentException(("Version components are out of range: " + i2 + '.' + i3 + '.' + i4).toString()); } public int compareTo(e eVar) { m.checkNotNullParameter(eVar, "other"); return this.j - eVar.j; } @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.j == eVar.j; } @Override // java.lang.Object public int hashCode() { return this.j; } /* 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.k int), ('.' char), (wrap: int : 0x000f: IGET (r2v0 int) = (r3v0 'this' d0.e A[IMMUTABLE_TYPE, THIS]) d0.e.l int), ('.' char), (wrap: int : 0x0017: IGET (r1v2 int) = (r3v0 'this' d0.e A[IMMUTABLE_TYPE, THIS]) d0.e.m int)] */ @Override // java.lang.Object public String toString() { StringBuilder sb = new StringBuilder(); sb.append(this.k); sb.append('.'); sb.append(this.l); sb.append('.'); sb.append(this.m); return sb.toString(); } }