package p402;

import kotlin.jvm.internal.DefaultConstructorMarker;
import p402.p411.p413.C6635;

/* JADX INFO: renamed from: ގ.ؠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class C6536 implements Comparable<C6536> {

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public static final C6536 f19307;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final int f19308;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final int f19309;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final int f19310;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final int f19311;

    /* JADX INFO: renamed from: ގ.ؠ$֏, reason: contains not printable characters */
    public static final class C6537 {
        public C6537() {
        }

        public /* synthetic */ C6537(DefaultConstructorMarker defaultConstructorMarker) {
        }
    }

    static {
        new C6537(null);
        f19307 = new C6536(1, 3, 72);
    }

    public C6536(int i, int i2, int i3) {
        this.f19309 = i;
        this.f19310 = i2;
        this.f19311 = i3;
        if (i >= 0 && 255 >= i && i2 >= 0 && 255 >= i2 && i3 >= 0 && 255 >= i3) {
            this.f19308 = (i << 16) + (i2 << 8) + i3;
            return;
        }
        throw new IllegalArgumentException(("Version components are out of range: " + i + '.' + i2 + '.' + i3).toString());
    }

    @Override // java.lang.Comparable
    public int compareTo(C6536 c6536) {
        C6536 c65362 = c6536;
        if (c65362 != null) {
            return this.f19308 - c65362.f19308;
        }
        C6635.m9824("other");
        throw null;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C6536)) {
            obj = null;
        }
        C6536 c6536 = (C6536) obj;
        return c6536 != null && this.f19308 == c6536.f19308;
    }

    public int hashCode() {
        return this.f19308;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(this.f19309);
        sb.append('.');
        sb.append(this.f19310);
        sb.append('.');
        sb.append(this.f19311);
        return sb.toString();
    }
}
