.class public Le/g;
.super Ljava/lang/Object;
.source ""


# direct methods
.method public static final a([BI[BII)Z
    .registers 9

    const-string v0, "a"

    invoke-static {p0, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const/4 v0, 0x0

    move v1, v0

    :goto_7
    if-ge v1, p4, :cond_17

    add-int v2, v1, p1

    aget-byte v2, p0, v2

    add-int v3, v1, p3

    aget-byte v3, p2, v3

    if-eq v2, v3, :cond_14

    return v0

    :cond_14
    add-int/lit8 v1, v1, 0x1

    goto :goto_7

    :cond_17
    const/4 p0, 0x1

    return p0
.end method

.method public static final b(JJJ)V
    .registers 10

    or-long v0, p2, p4

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-ltz v0, :cond_13

    cmp-long v0, p2, p0

    if-gtz v0, :cond_13

    sub-long v0, p0, p2

    cmp-long v0, v0, p4

    if-ltz v0, :cond_13

    return-void

    :cond_13
    new-instance v0, Ljava/lang/ArrayIndexOutOfBoundsException;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "size="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p0, " offset="

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p2, p3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p0, " byteCount="

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p4, p5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-direct {v0, p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public static c(Ljava/lang/String;I)I
    .registers 4

    const/16 v0, 0x2e

    invoke-virtual {p0, v0, p1}, Ljava/lang/String;->indexOf(II)I

    move-result v0

    const/16 v1, 0x24

    invoke-virtual {p0, v1, p1}, Ljava/lang/String;->indexOf(II)I

    move-result p0

    const/4 p1, -0x1

    if-ne v0, p1, :cond_12

    if-ne p0, p1, :cond_12

    return p1

    :cond_12
    if-ne v0, p1, :cond_15

    return p0

    :cond_15
    if-ne p0, p1, :cond_18

    return v0

    :cond_18
    if-ge v0, p0, :cond_1b

    goto :goto_1c

    :cond_1b
    move v0, p0

    :goto_1c
    return v0
.end method

.method public static d(I)Ljava/lang/String;
    .registers 3

    packed-switch p0, :pswitch_data_48

    :pswitch_3
    const/16 v0, 0x20

    const-string v1, "unknown status code: "

    invoke-static {v0, v1, p0}, Le/f;->a(ILjava/lang/String;I)Ljava/lang/String;

    move-result-object p0

    return-object p0

    :pswitch_c
    const-string p0, "RECONNECTION_TIMED_OUT"

    return-object p0

    :pswitch_f
    const-string p0, "RECONNECTION_TIMED_OUT_DURING_UPDATE"

    return-object p0

    :pswitch_12
    const-string p0, "CONNECTION_SUSPENDED_DURING_CALL"

    return-object p0

    :pswitch_15
    const-string p0, "REMOTE_EXCEPTION"

    return-object p0

    :pswitch_18
    const-string p0, "DEAD_CLIENT"

    return-object p0

    :pswitch_1b
    const-string p0, "API_NOT_CONNECTED"

    return-object p0

    :pswitch_1e
    const-string p0, "CANCELED"

    return-object p0

    :pswitch_21
    const-string p0, "TIMEOUT"

    return-object p0

    :pswitch_24
    const-string p0, "INTERRUPTED"

    return-object p0

    :pswitch_27
    const-string p0, "ERROR"

    return-object p0

    :pswitch_2a
    const-string p0, "DEVELOPER_ERROR"

    return-object p0

    :pswitch_2d
    const-string p0, "INTERNAL_ERROR"

    return-object p0

    :pswitch_30
    const-string p0, "NETWORK_ERROR"

    return-object p0

    :pswitch_33
    const-string p0, "RESOLUTION_REQUIRED"

    return-object p0

    :pswitch_36
    const-string p0, "INVALID_ACCOUNT"

    return-object p0

    :pswitch_39
    const-string p0, "SIGN_IN_REQUIRED"

    return-object p0

    :pswitch_3c
    const-string p0, "SERVICE_DISABLED"

    return-object p0

    :pswitch_3f
    const-string p0, "SERVICE_VERSION_UPDATE_REQUIRED"

    return-object p0

    :pswitch_42
    const-string p0, "SUCCESS"

    return-object p0

    :pswitch_45
    const-string p0, "SUCCESS_CACHE"

    return-object p0

    :pswitch_data_48
    .packed-switch -0x1
        :pswitch_45
        :pswitch_42
        :pswitch_3
        :pswitch_3f
        :pswitch_3c
        :pswitch_39
        :pswitch_36
        :pswitch_33
        :pswitch_30
        :pswitch_2d
        :pswitch_3
        :pswitch_2a
        :pswitch_3
        :pswitch_3
        :pswitch_27
        :pswitch_24
        :pswitch_21
        :pswitch_1e
        :pswitch_1b
        :pswitch_18
        :pswitch_15
        :pswitch_12
        :pswitch_f
        :pswitch_c
    .end packed-switch
.end method

.method public static e(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .registers 5

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

    move-result v0

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

    move-result v1

    sub-int/2addr v0, v1

    if-ltz v0, :cond_3f

    const/4 v1, 0x1

    if-gt v0, v1, :cond_3f

    new-instance v0, Ljava/lang/StringBuilder;

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

    move-result v1

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

    move-result v2

    add-int/2addr v2, v1

    invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(I)V

    const/4 v1, 0x0

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

    move-result v2

    if-ge v1, v2, :cond_3a

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

    move-result v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

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

    move-result v2

    if-le v2, v1, :cond_37

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

    move-result v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    :cond_37
    add-int/lit8 v1, v1, 0x1

    goto :goto_1d

    :cond_3a
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    return-object p0

    :cond_3f
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string p1, "Invalid input received"

    invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0
.end method

.method public static f(Lz2/b;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<E:",
            "Ljava/lang/Object;",
            ">(",
            "Lz2/b<",
            "TE;>;)V"
        }
    .end annotation

    :goto_0
    if-eqz p0, :cond_1f

    instance-of v0, p0, Lz2/a;

    if-eqz v0, :cond_12

    move-object v0, p0

    check-cast v0, Lz2/a;

    iget-object v1, v0, Lz2/a;->w:Lz2/b;

    invoke-static {v1}, Le/g;->f(Lz2/b;)V

    :goto_e
    invoke-virtual {v0}, Lz2/c;->start()V

    goto :goto_1a

    :cond_12
    instance-of v0, p0, Lz2/c;

    if-eqz v0, :cond_1a

    move-object v0, p0

    check-cast v0, Lz2/c;

    goto :goto_e

    .line 1
    :cond_1a
    :goto_1a
    iget-object p0, p0, Lz2/b;->r:Ljava/lang/Object;

    check-cast p0, Lz2/b;

    goto :goto_0

    :cond_1f
    return-void
.end method
