package d;

/* JADX INFO: compiled from: UShort.kt */
/* JADX INFO: loaded from: classes.dex */
@n
public final class d0 implements Comparable<d0> {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final a f2573c = new a(null);

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private final short f2574d;

    /* JADX INFO: compiled from: UShort.kt */
    @n
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(d.n0.c.l lVar) {
            this();
        }
    }

    private /* synthetic */ d0(short s) {
        this.f2574d = s;
    }

    public static final /* synthetic */ d0 a(short s) {
        return new d0(s);
    }

    public static short b(short s) {
        return s;
    }

    public static boolean c(short s, Object obj) {
        return (obj instanceof d0) && s == ((d0) obj).f();
    }

    public static int d(short s) {
        return s;
    }

    public static String e(short s) {
        return String.valueOf(s & 65535);
    }

    @Override // java.lang.Comparable
    public /* bridge */ /* synthetic */ int compareTo(d0 d0Var) {
        return d.n0.c.s.f(f() & 65535, d0Var.f() & 65535);
    }

    public boolean equals(Object obj) {
        return c(this.f2574d, obj);
    }

    public final /* synthetic */ short f() {
        return this.f2574d;
    }

    public int hashCode() {
        return d(this.f2574d);
    }

    public String toString() {
        return e(this.f2574d);
    }
}
