.class public Lp9/g;
.super Lp9/f;
.source ""


# direct methods
.method public static final p(Ljava/lang/String;)Ljava/lang/Integer;
    .registers 12

    const/16 v0, 0xa

    .line 1
    invoke-static {v0}, Lp/a;->c(I)I

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v2, 0x0

    if-nez v1, :cond_e

    goto/16 :goto_64

    :cond_e
    const/4 v3, 0x0

    invoke-virtual {p0, v3}, Ljava/lang/String;->charAt(I)C

    move-result v4

    const/16 v5, 0x30

    invoke-static {v4, v5}, Lx/e;->h(II)I

    move-result v5

    const v6, -0x7fffffff

    const/4 v7, 0x1

    if-gez v5, :cond_30

    if-ne v1, v7, :cond_22

    goto :goto_64

    :cond_22
    const/16 v5, 0x2d

    if-ne v4, v5, :cond_2a

    const/high16 v6, -0x80000000

    move v4, v7

    goto :goto_32

    :cond_2a
    const/16 v5, 0x2b

    if-ne v4, v5, :cond_64

    move v4, v3

    goto :goto_32

    :cond_30
    move v4, v3

    move v7, v4

    :goto_32
    const v5, -0x38e38e3

    move v8, v5

    :goto_36
    if-ge v7, v1, :cond_57

    invoke-virtual {p0, v7}, Ljava/lang/String;->charAt(I)C

    move-result v9

    .line 2
    invoke-static {v9, v0}, Ljava/lang/Character;->digit(II)I

    move-result v9

    if-gez v9, :cond_43

    goto :goto_64

    :cond_43
    if-ge v3, v8, :cond_4c

    if-ne v8, v5, :cond_64

    .line 3
    div-int/lit8 v8, v6, 0xa

    if-ge v3, v8, :cond_4c

    goto :goto_64

    :cond_4c
    mul-int/lit8 v3, v3, 0xa

    add-int v10, v6, v9

    if-ge v3, v10, :cond_53

    goto :goto_64

    :cond_53
    sub-int/2addr v3, v9

    add-int/lit8 v7, v7, 0x1

    goto :goto_36

    :cond_57
    if-eqz v4, :cond_5e

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p0

    goto :goto_63

    :cond_5e
    neg-int p0, v3

    invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p0

    :goto_63
    move-object v2, p0

    :cond_64
    :goto_64
    return-object v2
.end method
