package J2;

/* JADX INFO: renamed from: J2.o, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0424o {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f3411a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final long f3412b;

    public C0424o(long j4, int i6) {
        this.f3412b = j4;
        this.f3411a = i6;
    }

    public static C0424o a(int i6, int i7, String str) {
        if (i6 >= i7) {
            return null;
        }
        long j4 = 0;
        int i8 = i6;
        while (i8 < i7) {
            char cCharAt = str.charAt(i8);
            if (cCharAt < '0' || cCharAt > '9') {
                break;
            }
            j4 = (j4 * 10) + ((long) (cCharAt - '0'));
            if (j4 > 2147483647L) {
                return null;
            }
            i8++;
        }
        if (i8 == i6) {
            return null;
        }
        return new C0424o(j4, i8);
    }
}
