package v2;

import com.google.firebase.perf.util.Constants;
import java.util.List;

/* loaded from: classes.dex */
public final class r implements Comparable {
    private static final r A;
    private static final r B;
    private static final r C;
    private static final r D;
    private static final r E;
    private static final r F;
    private static final r G;
    private static final r H;
    private static final r I;
    private static final List J;

    /* renamed from: q, reason: collision with root package name */
    public static final a f38997q = new a(null);

    /* renamed from: r, reason: collision with root package name */
    private static final r f38998r;

    /* renamed from: s, reason: collision with root package name */
    private static final r f38999s;

    /* renamed from: t, reason: collision with root package name */
    private static final r f39000t;

    /* renamed from: u, reason: collision with root package name */
    private static final r f39001u;

    /* renamed from: v, reason: collision with root package name */
    private static final r f39002v;

    /* renamed from: w, reason: collision with root package name */
    private static final r f39003w;

    /* renamed from: x, reason: collision with root package name */
    private static final r f39004x;

    /* renamed from: y, reason: collision with root package name */
    private static final r f39005y;

    /* renamed from: z, reason: collision with root package name */
    private static final r f39006z;

    /* renamed from: p, reason: collision with root package name */
    private final int f39007p;

    /* loaded from: classes.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }

        public final r a() {
            return r.G;
        }

        public final r b() {
            return r.E;
        }

        public final r c() {
            return r.D;
        }

        public final r d() {
            return r.f39001u;
        }

        public final r e() {
            return r.f39002v;
        }

        public final r f() {
            return r.f39003w;
        }

        public final r g() {
            return r.f39004x;
        }
    }

    static {
        List n10;
        r rVar = new r(100);
        f38998r = rVar;
        r rVar2 = new r(200);
        f38999s = rVar2;
        r rVar3 = new r(300);
        f39000t = rVar3;
        r rVar4 = new r(400);
        f39001u = rVar4;
        r rVar5 = new r(500);
        f39002v = rVar5;
        r rVar6 = new r(600);
        f39003w = rVar6;
        r rVar7 = new r(Constants.FROZEN_FRAME_TIME);
        f39004x = rVar7;
        r rVar8 = new r(800);
        f39005y = rVar8;
        r rVar9 = new r(900);
        f39006z = rVar9;
        A = rVar;
        B = rVar2;
        C = rVar3;
        D = rVar4;
        E = rVar5;
        F = rVar6;
        G = rVar7;
        H = rVar8;
        I = rVar9;
        n10 = sm.u.n(rVar, rVar2, rVar3, rVar4, rVar5, rVar6, rVar7, rVar8, rVar9);
        J = n10;
    }

    public r(int i10) {
        this.f39007p = i10;
        boolean z10 = false;
        if (1 <= i10 && i10 < 1001) {
            z10 = true;
        }
        if (z10) {
            return;
        }
        throw new IllegalArgumentException(("Font weight can be in range [1, 1000]. Current value: " + i10).toString());
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof r) && this.f39007p == ((r) obj).f39007p;
    }

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

    public String toString() {
        return "FontWeight(weight=" + this.f39007p + ')';
    }

    @Override // java.lang.Comparable
    /* renamed from: u, reason: merged with bridge method [inline-methods] */
    public int compareTo(r rVar) {
        return kotlin.jvm.internal.t.i(this.f39007p, rVar.f39007p);
    }

    public final int v() {
        return this.f39007p;
    }
}
