.class public Lp/a;
.super Ljava/lang/Object;
.source ""


# direct methods
.method public static A([BILg6/e5;)I
    .registers 4

    add-int/lit8 v0, p1, 0x1

    aget-byte p1, p0, p1

    if-ltz p1, :cond_9

    iput p1, p2, Lg6/e5;->a:I

    return v0

    :cond_9
    invoke-static {p1, p0, v0, p2}, Lp/a;->B(I[BILg6/e5;)I

    move-result p0

    return p0
.end method

.method public static B(I[BILg6/e5;)I
    .registers 5

    and-int/lit8 p0, p0, 0x7f

    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-ltz p2, :cond_b

    shl-int/lit8 p1, p2, 0x7

    goto :goto_26

    :cond_b
    and-int/lit8 p2, p2, 0x7f

    shl-int/lit8 p2, p2, 0x7

    or-int/2addr p0, p2

    add-int/lit8 p2, v0, 0x1

    aget-byte v0, p1, v0

    if-ltz v0, :cond_19

    shl-int/lit8 p1, v0, 0xe

    goto :goto_37

    :cond_19
    and-int/lit8 v0, v0, 0x7f

    shl-int/lit8 v0, v0, 0xe

    or-int/2addr p0, v0

    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-ltz p2, :cond_2a

    shl-int/lit8 p1, p2, 0x15

    :goto_26
    or-int/2addr p0, p1

    iput p0, p3, Lg6/e5;->a:I

    return v0

    :cond_2a
    and-int/lit8 p2, p2, 0x7f

    shl-int/lit8 p2, p2, 0x15

    or-int/2addr p0, p2

    add-int/lit8 p2, v0, 0x1

    aget-byte v0, p1, v0

    if-ltz v0, :cond_3b

    shl-int/lit8 p1, v0, 0x1c

    :goto_37
    or-int/2addr p0, p1

    iput p0, p3, Lg6/e5;->a:I

    return p2

    :cond_3b
    and-int/lit8 v0, v0, 0x7f

    shl-int/lit8 v0, v0, 0x1c

    or-int/2addr p0, v0

    :goto_40
    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-gez p2, :cond_48

    move p2, v0

    goto :goto_40

    :cond_48
    iput p0, p3, Lg6/e5;->a:I

    return v0
.end method

.method public static C(I[BIILg6/l6;Lg6/e5;)I
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I[BII",
            "Lg6/l6<",
            "*>;",
            "Lg6/e5;",
            ")I"
        }
    .end annotation

    check-cast p4, Lg6/g6;

    invoke-static {p1, p2, p5}, Lp/a;->A([BILg6/e5;)I

    move-result p2

    :goto_6
    iget v0, p5, Lg6/e5;->a:I

    invoke-virtual {p4, v0}, Lg6/g6;->g(I)V

    if-ge p2, p3, :cond_1b

    invoke-static {p1, p2, p5}, Lp/a;->A([BILg6/e5;)I

    move-result v0

    iget v1, p5, Lg6/e5;->a:I

    if-eq p0, v1, :cond_16

    goto :goto_1b

    :cond_16
    invoke-static {p1, v0, p5}, Lp/a;->A([BILg6/e5;)I

    move-result p2

    goto :goto_6

    :cond_1b
    :goto_1b
    return p2
.end method

.method public static D([BILg6/e5;)I
    .registers 12

    add-int/lit8 v0, p1, 0x1

    aget-byte p1, p0, p1

    int-to-long v1, p1

    const-wide/16 v3, 0x0

    cmp-long p1, v1, v3

    if-ltz p1, :cond_e

    iput-wide v1, p2, Lg6/e5;->b:J

    return v0

    :cond_e
    add-int/lit8 p1, v0, 0x1

    aget-byte v0, p0, v0

    const-wide/16 v3, 0x7f

    and-long/2addr v1, v3

    and-int/lit8 v3, v0, 0x7f

    int-to-long v3, v3

    const/4 v5, 0x7

    shl-long/2addr v3, v5

    or-long/2addr v1, v3

    move v3, v5

    :goto_1c
    if-gez v0, :cond_2c

    add-int/lit8 v0, p1, 0x1

    aget-byte p1, p0, p1

    add-int/2addr v3, v5

    and-int/lit8 v4, p1, 0x7f

    int-to-long v6, v4

    shl-long/2addr v6, v3

    or-long/2addr v1, v6

    move v8, v0

    move v0, p1

    move p1, v8

    goto :goto_1c

    :cond_2c
    iput-wide v1, p2, Lg6/e5;->b:J

    return p1
.end method

.method public static E([BI)J
    .registers 9

    aget-byte v0, p0, p1

    int-to-long v0, v0

    const-wide/16 v2, 0xff

    and-long/2addr v0, v2

    add-int/lit8 v4, p1, 0x1

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x8

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x2

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x10

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x3

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x18

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x4

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x20

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x5

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x28

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 v4, p1, 0x6

    aget-byte v4, p0, v4

    int-to-long v4, v4

    and-long/2addr v4, v2

    const/16 v6, 0x30

    shl-long/2addr v4, v6

    or-long/2addr v0, v4

    add-int/lit8 p1, p1, 0x7

    aget-byte p0, p0, p1

    int-to-long p0, p0

    and-long/2addr p0, v2

    const/16 v2, 0x38

    shl-long/2addr p0, v2

    or-long/2addr p0, v0

    return-wide p0
.end method

.method public static final a(Lb9/f;)Lq9/w;
    .registers 4

    new-instance v0, Ls9/c;

    sget v1, Lq9/t0;->m:I

    sget-object v1, Lq9/t0$b;->r:Lq9/t0$b;

    check-cast p0, Lq9/u;

    invoke-virtual {p0, v1}, Lq9/u;->get(Lb9/f$b;)Lb9/f$a;

    move-result-object v1

    if-eqz v1, :cond_f

    goto :goto_19

    :cond_f
    const/4 v1, 0x0

    .line 1
    new-instance v2, Lq9/w0;

    invoke-direct {v2, v1}, Lq9/w0;-><init>(Lq9/t0;)V

    .line 2
    invoke-interface {p0, v2}, Lb9/f;->plus(Lb9/f;)Lb9/f;

    move-result-object p0

    :goto_19
    invoke-direct {v0, p0}, Ls9/c;-><init>(Lb9/f;)V

    return-object v0
.end method

.method public static b(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
    .registers 4

    if-nez p0, :cond_5

    const-string p0, "null"

    goto :goto_39

    :cond_5
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

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

    move-result v1

    if-gtz v1, :cond_29

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    const/16 v1, 0x2e

    invoke-virtual {v0, v1}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v1

    if-lez v1, :cond_29

    add-int/lit8 v1, v1, 0x1

    invoke-virtual {v0, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    :cond_29
    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 v0, 0x7b

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

    invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I

    move-result p0

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

    move-result-object p0

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

    return-void
.end method

.method public static final c(I)I
    .registers 6

    const/4 v0, 0x2

    const/16 v1, 0x24

    if-gt v0, p0, :cond_8

    if-lt v1, p0, :cond_8

    return p0

    :cond_8
    new-instance v2, Ljava/lang/IllegalArgumentException;

    const-string v3, "radix "

    const-string v4, " was not in valid range "

    invoke-static {v3, p0, v4}, Landroidx/appcompat/widget/a1;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    new-instance v3, Lm9/c;

    invoke-direct {v3, v0, v1}, Lm9/c;-><init>(II)V

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

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

    move-result-object p0

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

    throw v2
.end method

.method public static final d(CCZ)Z
    .registers 5

    const/4 v0, 0x1

    if-ne p0, p1, :cond_4

    return v0

    :cond_4
    const/4 v1, 0x0

    if-nez p2, :cond_8

    return v1

    :cond_8
    invoke-static {p0}, Ljava/lang/Character;->toUpperCase(C)C

    move-result p0

    invoke-static {p1}, Ljava/lang/Character;->toUpperCase(C)C

    move-result p1

    if-eq p0, p1, :cond_1e

    invoke-static {p0}, Ljava/lang/Character;->toLowerCase(C)C

    move-result p0

    invoke-static {p1}, Ljava/lang/Character;->toLowerCase(C)C

    move-result p1

    if-ne p0, p1, :cond_1d

    goto :goto_1e

    :cond_1d
    move v0, v1

    :cond_1e
    :goto_1e
    return v0
.end method

.method public static final e(Landroidx/lifecycle/c0;)Lq9/w;
    .registers 5

    const-string v0, "androidx.lifecycle.ViewModelCoroutineScope.JOB_KEY"

    invoke-virtual {p0, v0}, Landroidx/lifecycle/c0;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lq9/w;

    if-eqz v1, :cond_b

    return-object v1

    :cond_b
    new-instance v1, Landroidx/lifecycle/c;

    const/4 v2, 0x0

    .line 1
    new-instance v3, Lq9/h1;

    invoke-direct {v3, v2}, Lq9/h1;-><init>(Lq9/t0;)V

    .line 2
    sget-object v2, Lq9/e0;->a:Lq9/e0;

    .line 3
    sget-object v2, Ls9/k;->a:Lq9/b1;

    .line 4
    invoke-virtual {v2}, Lq9/b1;->a0()Lq9/b1;

    move-result-object v2

    .line 5
    invoke-static {v3, v2}, Lb9/f$a$a;->d(Lb9/f$a;Lb9/f;)Lb9/f;

    move-result-object v2

    .line 6
    invoke-direct {v1, v2}, Landroidx/lifecycle/c;-><init>(Lb9/f;)V

    invoke-virtual {p0, v0, v1}, Landroidx/lifecycle/c0;->c(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    const-string v0, "setTagIfAbsent(\n        \u2026Main.immediate)\n        )"

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

    check-cast p0, Lq9/w;

    return-object p0
.end method

.method public static final f(C)Z
    .registers 2

    invoke-static {p0}, Ljava/lang/Character;->isWhitespace(C)Z

    move-result v0

    if-nez v0, :cond_f

    invoke-static {p0}, Ljava/lang/Character;->isSpaceChar(C)Z

    move-result p0

    if-eqz p0, :cond_d

    goto :goto_f

    :cond_d
    const/4 p0, 0x0

    goto :goto_10

    :cond_f
    :goto_f
    const/4 p0, 0x1

    :goto_10
    return p0
.end method

.method public static g([BILg6/e5;)I
    .registers 5

    invoke-static {p0, p1, p2}, Lp/a;->A([BILg6/e5;)I

    move-result p1

    iget v0, p2, Lg6/e5;->a:I

    if-ltz v0, :cond_20

    array-length v1, p0

    sub-int/2addr v1, p1

    if-gt v0, v1, :cond_1b

    if-nez v0, :cond_13

    sget-object p0, Lg6/k5;->s:Lg6/k5;

    iput-object p0, p2, Lg6/e5;->c:Ljava/lang/Object;

    return p1

    :cond_13
    invoke-static {p0, p1, v0}, Lg6/k5;->P([BII)Lg6/k5;

    move-result-object p0

    iput-object p0, p2, Lg6/e5;->c:Ljava/lang/Object;

    add-int/2addr p1, v0

    return p1

    :cond_1b
    invoke-static {}, Lg6/o6;->f()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_20
    invoke-static {}, Lg6/o6;->d()Lg6/o6;

    move-result-object p0

    throw p0
.end method

.method public static h(Ljava/util/concurrent/Future;)Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<V:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/util/concurrent/Future<",
            "TV;>;)TV;"
        }
    .end annotation

    const/4 v0, 0x0

    :goto_1
    :try_start_1
    invoke-interface {p0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;

    move-result-object p0
    :try_end_5
    .catch Ljava/lang/InterruptedException; {:try_start_1 .. :try_end_5} :catch_1b
    .catchall {:try_start_1 .. :try_end_5} :catchall_f

    if-eqz v0, :cond_e

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V

    :cond_e
    return-object p0

    :catchall_f
    move-exception p0

    if-nez v0, :cond_13

    goto :goto_1a

    :cond_13
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V

    :goto_1a
    throw p0

    :catch_1b
    const/4 v0, 0x1

    goto :goto_1
.end method

.method public static i()Lz5/gc1;
    .registers 3

    sget-object v0, Lz5/so;->x3:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v2, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v2, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_15

    sget-object v0, Lz5/k50;->c:Lz5/gc1;

    return-object v0

    :cond_15
    sget-object v0, Lz5/so;->w3:Lz5/no;

    .line 3
    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 4
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_28

    sget-object v0, Lz5/k50;->a:Lz5/gc1;

    return-object v0

    :cond_28
    sget-object v0, Lz5/k50;->e:Lz5/gc1;

    return-object v0
.end method

.method public static j(Lz5/xg1;)V
    .registers 5

    invoke-virtual {p0}, Lz5/xg1;->w()Lz5/fh1;

    move-result-object v0

    invoke-virtual {v0}, Lz5/fh1;->B()I

    move-result v0

    invoke-static {v0}, Lp/a;->q(I)I

    move-result v0

    invoke-static {v0}, Lcom/google/android/gms/internal/ads/d;->m(I)Ljava/security/spec/ECParameterSpec;

    invoke-virtual {p0}, Lz5/xg1;->w()Lz5/fh1;

    move-result-object v0

    invoke-virtual {v0}, Lz5/fh1;->C()I

    move-result v0

    invoke-static {v0}, Lp/a;->o(I)Ljava/lang/String;

    invoke-virtual {p0}, Lz5/xg1;->D()I

    move-result v0

    const/4 v1, 0x2

    if-eq v0, v1, :cond_7a

    invoke-virtual {p0}, Lz5/xg1;->x()Lz5/tg1;

    move-result-object p0

    invoke-virtual {p0}, Lz5/tg1;->w()Lz5/qh1;

    move-result-object p0

    sget-object v0, Lz5/ld1;->a:Ljava/util/logging/Logger;

    .line 1
    const-class v0, Lz5/ld1;

    monitor-enter v0

    :try_start_2e
    invoke-virtual {p0}, Lz5/qh1;->w()Ljava/lang/String;

    move-result-object v1

    .line 2
    invoke-static {v1}, Lz5/ld1;->h(Ljava/lang/String;)Lz5/kd1;

    move-result-object v1

    invoke-interface {v1}, Lz5/kd1;->zzb()Landroidx/appcompat/widget/n;

    move-result-object v1

    .line 3
    sget-object v2, Lz5/ld1;->d:Ljava/util/concurrent/ConcurrentMap;

    invoke-virtual {p0}, Lz5/qh1;->w()Ljava/lang/String;

    move-result-object v3

    check-cast v2, Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v2, v3}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-eqz v2, :cond_57

    invoke-virtual {p0}, Lz5/qh1;->x()Lz5/zj1;

    move-result-object p0

    invoke-virtual {v1, p0}, Landroidx/appcompat/widget/n;->u(Lz5/zj1;)Lz5/oh1;
    :try_end_55
    .catchall {:try_start_2e .. :try_end_55} :catchall_77

    monitor-exit v0

    return-void

    :cond_57
    :try_start_57
    new-instance v1, Ljava/security/GeneralSecurityException;

    invoke-virtual {p0}, Lz5/qh1;->w()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p0

    const-string v2, "newKey-operation not permitted for key type "

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

    move-result v3

    if-eqz v3, :cond_6e

    invoke-virtual {v2, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    goto :goto_73

    :cond_6e
    new-instance p0, Ljava/lang/String;

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

    :goto_73
    invoke-direct {v1, p0}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V

    throw v1
    :try_end_77
    .catchall {:try_start_57 .. :try_end_77} :catchall_77

    :catchall_77
    move-exception p0

    monitor-exit v0

    throw p0

    .line 4
    :cond_7a
    new-instance p0, Ljava/security/GeneralSecurityException;

    const-string v0, "unknown EC point format"

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

    throw p0
.end method

.method public static k(I)Z
    .registers 2

    add-int/lit8 p0, p0, -0x1

    const/4 v0, 0x2

    if-eq p0, v0, :cond_10

    const/4 v0, 0x4

    if-eq p0, v0, :cond_10

    const/4 v0, 0x5

    if-eq p0, v0, :cond_10

    const/4 v0, 0x6

    if-eq p0, v0, :cond_10

    const/4 p0, 0x0

    return p0

    :cond_10
    const/4 p0, 0x1

    return p0
.end method

.method public static l([B)[B
    .registers 7

    array-length v0, p0

    const/16 v1, 0x10

    if-ne v0, v1, :cond_34

    new-array v0, v1, [B

    const/4 v2, 0x0

    move v3, v2

    :goto_9
    const/16 v4, 0xf

    if-ge v3, v1, :cond_26

    aget-byte v5, p0, v3

    add-int/2addr v5, v5

    and-int/lit16 v5, v5, 0xfe

    int-to-byte v5, v5

    aput-byte v5, v0, v3

    if-ge v3, v4, :cond_23

    add-int/lit8 v4, v3, 0x1

    aget-byte v4, p0, v4

    shr-int/lit8 v4, v4, 0x7

    and-int/lit8 v4, v4, 0x1

    or-int/2addr v4, v5

    int-to-byte v4, v4

    aput-byte v4, v0, v3

    :cond_23
    add-int/lit8 v3, v3, 0x1

    goto :goto_9

    :cond_26
    aget-byte v1, v0, v4

    aget-byte p0, p0, v2

    shr-int/lit8 p0, p0, 0x7

    and-int/lit16 p0, p0, 0x87

    int-to-byte p0, p0

    xor-int/2addr p0, v1

    int-to-byte p0, p0

    aput-byte p0, v0, v4

    return-object v0

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

    const-string v0, "value must be a block."

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

    throw p0
.end method

.method public static final m(Landroid/content/Context;Lz5/t71;)I
    .registers 16

    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/io/File;

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v2

    iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->dataDir:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    const-string v2, "lib"

    invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    const/4 v2, 0x7

    const/4 v3, 0x6

    const/16 v4, 0x3e8

    const/4 v5, 0x5

    const/4 v6, 0x3

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x1

    if-nez v1, :cond_25

    const-string v0, "No lib/"

    goto/16 :goto_ae

    :cond_25
    new-instance v1, Lz5/kb1;

    const/4 v10, 0x2

    const-string v11, ".*\\.so$"

    invoke-static {v11, v10}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;

    move-result-object v11

    invoke-direct {v1, v11}, Lz5/kb1;-><init>(Ljava/util/regex/Pattern;)V

    invoke-virtual {v0, v1}, Ljava/io/File;->listFiles(Ljava/io/FilenameFilter;)[Ljava/io/File;

    move-result-object v0

    if-eqz v0, :cond_ac

    array-length v1, v0

    if-nez v1, :cond_3c

    goto/16 :goto_ac

    :cond_3c
    :try_start_3c
    new-instance v1, Ljava/io/FileInputStream;

    aget-object v0, v0, v7

    invoke-direct {v1, v0}, Ljava/io/FileInputStream;-><init>(Ljava/io/File;)V
    :try_end_43
    .catch Ljava/io/IOException; {:try_start_3c .. :try_end_43} :catch_a2

    const/16 v0, 0x14

    :try_start_45
    new-array v11, v0, [B

    invoke-virtual {v1, v11}, Ljava/io/FileInputStream;->read([B)I

    move-result v12

    if-ne v12, v0, :cond_92

    new-array v0, v10, [B

    aput-byte v7, v0, v7

    aput-byte v7, v0, v9

    aget-byte v12, v11, v5

    if-ne v12, v10, :cond_5b

    :goto_57
    invoke-static {v11, v8, p0, p1}, Lp/a;->s([BLjava/lang/String;Landroid/content/Context;Lz5/t71;)V

    goto :goto_92

    :cond_5b
    const/16 v10, 0x13

    aget-byte v10, v11, v10

    aput-byte v10, v0, v7

    const/16 v10, 0x12

    aget-byte v10, v11, v10

    aput-byte v10, v0, v9

    invoke-static {v0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/nio/ByteBuffer;->getShort()S

    move-result v0
    :try_end_6f
    .catchall {:try_start_45 .. :try_end_6f} :catchall_96

    if-eq v0, v6, :cond_8d

    const/16 v10, 0x28

    if-eq v0, v10, :cond_88

    const/16 v10, 0x3e

    if-eq v0, v10, :cond_83

    const/16 v10, 0xb7

    if-eq v0, v10, :cond_7e

    goto :goto_57

    :cond_7e
    :try_start_7e
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V

    move v0, v3

    goto :goto_b4

    :cond_83
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V

    move v0, v2

    goto :goto_b4

    :cond_88
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V

    move v0, v6

    goto :goto_b4

    :cond_8d
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V

    move v0, v5

    goto :goto_b4

    :cond_92
    :goto_92
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_95
    .catch Ljava/io/IOException; {:try_start_7e .. :try_end_95} :catch_a2

    goto :goto_aa

    :catchall_96
    move-exception v0

    :try_start_97
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_9a
    .catchall {:try_start_97 .. :try_end_9a} :catchall_9b

    goto :goto_a1

    :catchall_9b
    move-exception v1

    .line 1
    :try_start_9c
    sget-object v10, Lz5/nj1;->a:Lz5/hj1;

    invoke-virtual {v10, v0, v1}, Lz5/hj1;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V

    .line 2
    :goto_a1
    throw v0
    :try_end_a2
    .catch Ljava/io/IOException; {:try_start_9c .. :try_end_a2} :catch_a2

    :catch_a2
    move-exception v0

    invoke-virtual {v0}, Ljava/io/IOException;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v8, v0, p0, p1}, Lp/a;->s([BLjava/lang/String;Landroid/content/Context;Lz5/t71;)V

    :goto_aa
    move v0, v9

    goto :goto_b4

    :cond_ac
    :goto_ac
    const-string v0, "No .so"

    :goto_ae
    const/16 v1, 0x1399

    .line 3
    invoke-virtual {p1, v1, v0}, Lz5/t71;->d(ILjava/lang/String;)Ln6/i;

    move v0, v4

    :goto_b4
    if-ne v0, v4, :cond_146

    .line 4
    new-instance v0, Ljava/util/HashSet;

    const-string v1, "i686"

    const-string v4, "armv71"

    filled-new-array {v1, v4}, [Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v10

    invoke-direct {v0, v10}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V

    const-string v10, "os.arch"

    .line 5
    invoke-static {v10}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    .line 6
    invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v11

    if-nez v11, :cond_d9

    invoke-virtual {v0, v10}, Ljava/util/HashSet;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_100

    :cond_d9
    const-wide/16 v10, 0x0

    const/16 v0, 0x7e8

    :try_start_dd
    const-class v12, Landroid/os/Build;

    const-string v13, "SUPPORTED_ABIS"

    invoke-virtual {v12, v13}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v12

    invoke-virtual {v12, v8}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, [Ljava/lang/String;

    if-eqz v12, :cond_f9

    array-length v13, v12

    if-lez v13, :cond_f9

    aget-object v10, v12, v7
    :try_end_f2
    .catch Ljava/lang/NoSuchFieldException; {:try_start_dd .. :try_end_f2} :catch_f5
    .catch Ljava/lang/IllegalAccessException; {:try_start_dd .. :try_end_f2} :catch_f3

    goto :goto_100

    :catch_f3
    move-exception v7

    goto :goto_f6

    :catch_f5
    move-exception v7

    :goto_f6
    invoke-virtual {p1, v0, v10, v11, v7}, Lz5/t71;->b(IJLjava/lang/Exception;)Ln6/i;

    :cond_f9
    sget-object v10, Landroid/os/Build;->CPU_ABI:Ljava/lang/String;

    if-eqz v10, :cond_fe

    goto :goto_100

    :cond_fe
    sget-object v10, Landroid/os/Build;->CPU_ABI2:Ljava/lang/String;

    .line 7
    :cond_100
    :goto_100
    invoke-static {v10}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_10c

    const-string v0, "Empty dev arch"

    invoke-static {v8, v0, p0, p1}, Lp/a;->s([BLjava/lang/String;Landroid/content/Context;Lz5/t71;)V

    goto :goto_141

    :cond_10c
    invoke-virtual {v10, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_145

    const-string v0, "x86"

    invoke-virtual {v10, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_11b

    goto :goto_145

    :cond_11b
    const-string v0, "x86_64"

    invoke-virtual {v10, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_125

    move v0, v2

    goto :goto_146

    :cond_125
    const-string v0, "arm64-v8a"

    invoke-virtual {v10, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_12f

    move v0, v3

    goto :goto_146

    :cond_12f
    const-string v0, "armeabi-v7a"

    invoke-virtual {v10, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_143

    invoke-virtual {v10, v4}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_13e

    goto :goto_143

    :cond_13e
    invoke-static {v8, v10, p0, p1}, Lp/a;->s([BLjava/lang/String;Landroid/content/Context;Lz5/t71;)V

    :goto_141
    move v0, v9

    goto :goto_146

    :cond_143
    :goto_143
    move v0, v6

    goto :goto_146

    :cond_145
    :goto_145
    move v0, v5

    :cond_146
    :goto_146
    if-eq v0, v9, :cond_15f

    if-eq v0, v6, :cond_15c

    if-eq v0, v5, :cond_159

    if-eq v0, v3, :cond_156

    if-eq v0, v2, :cond_153

    const-string p0, "null"

    goto :goto_161

    :cond_153
    const-string p0, "X86_64"

    goto :goto_161

    :cond_156
    const-string p0, "ARM64"

    goto :goto_161

    :cond_159
    const-string p0, "X86"

    goto :goto_161

    :cond_15c
    const-string p0, "ARM7"

    goto :goto_161

    :cond_15f
    const-string p0, "UNSUPPORTED"

    :goto_161
    const/16 v1, 0x139a

    invoke-virtual {p1, v1, p0}, Lz5/t71;->d(ILjava/lang/String;)Ln6/i;

    return v0
.end method

.method public static n([BI)I
    .registers 4

    aget-byte v0, p0, p1

    and-int/lit16 v0, v0, 0xff

    add-int/lit8 v1, p1, 0x1

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x8

    or-int/2addr v0, v1

    add-int/lit8 v1, p1, 0x2

    aget-byte v1, p0, v1

    and-int/lit16 v1, v1, 0xff

    shl-int/lit8 v1, v1, 0x10

    or-int/2addr v0, v1

    add-int/lit8 p1, p1, 0x3

    aget-byte p0, p0, p1

    and-int/lit16 p0, p0, 0xff

    shl-int/lit8 p0, p0, 0x18

    or-int/2addr p0, v0

    return p0
.end method

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

    add-int/lit8 v0, p0, -0x2

    const/4 v1, 0x1

    if-eq v0, v1, :cond_31

    const/4 v1, 0x2

    if-eq v0, v1, :cond_2e

    const/4 v1, 0x3

    if-eq v0, v1, :cond_2b

    const/4 v1, 0x4

    if-eq v0, v1, :cond_28

    const/4 v1, 0x5

    if-ne v0, v1, :cond_14

    const-string p0, "HmacSha224"

    return-object p0

    :cond_14
    new-instance v0, Ljava/security/NoSuchAlgorithmException;

    invoke-static {p0}, Lz5/gh1;->a(I)I

    move-result p0

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

    move-result-object p0

    const-string v1, "hash unsupported for HMAC: "

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

    move-result-object p0

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

    throw v0

    :cond_28
    const-string p0, "HmacSha512"

    return-object p0

    :cond_2b
    const-string p0, "HmacSha256"

    return-object p0

    :cond_2e
    const-string p0, "HmacSha384"

    return-object p0

    :cond_31
    const-string p0, "HmacSha1"

    return-object p0
.end method

.method public static p([B)[B
    .registers 3

    array-length v0, p0

    const/16 v1, 0x10

    if-ge v0, v1, :cond_e

    invoke-static {p0, v1}, Ljava/util/Arrays;->copyOf([BI)[B

    move-result-object p0

    const/16 v1, -0x80

    aput-byte v1, p0, v0

    return-object p0

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

    const-string v0, "x must be smaller than a block."

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

    throw p0
.end method

.method public static q(I)I
    .registers 5

    add-int/lit8 v0, p0, -0x2

    const/4 v1, 0x1

    const/4 v2, 0x2

    if-eq v0, v2, :cond_28

    const/4 v3, 0x3

    if-eq v0, v3, :cond_27

    const/4 v2, 0x4

    if-eq v0, v2, :cond_26

    new-instance v2, Ljava/security/GeneralSecurityException;

    if-eq p0, v1, :cond_1e

    invoke-static {v0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object p0

    const-string v0, "unknown curve type: "

    invoke-virtual {v0, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-direct {v2, p0}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 1
    :cond_1e
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string v0, "Can\'t get the number of an unknown enum value."

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

    throw p0

    :cond_26
    return v3

    :cond_27
    return v2

    :cond_28
    return v1
.end method

.method public static r(Lg6/s7;[BIIILg6/e5;)I
    .registers 14

    check-cast p0, Lg6/k7;

    .line 1
    iget-object v0, p0, Lg6/k7;->e:Lg6/h7;

    check-cast v0, Lg6/f6;

    const/4 v1, 0x4

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v2}, Lg6/f6;->n(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    move-object v0, p0

    move-object v1, v7

    move-object v2, p1

    move v3, p2

    move v4, p3

    move v5, p4

    move-object v6, p5

    .line 2
    invoke-virtual/range {v0 .. v6}, Lg6/k7;->x(Ljava/lang/Object;[BIIILg6/e5;)I

    move-result p1

    invoke-virtual {p0, v7}, Lg6/k7;->a(Ljava/lang/Object;)V

    iput-object v7, p5, Lg6/e5;->c:Ljava/lang/Object;

    return p1
.end method

.method public static final s([BLjava/lang/String;Landroid/content/Context;Lz5/t71;)V
    .registers 7

    const-string p2, "os.arch:"

    invoke-static {p2}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p2

    const-string v0, "os.arch"

    .line 1
    invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, ";"

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

    :try_start_14
    const-class v1, Landroid/os/Build;

    const-string v2, "SUPPORTED_ABIS"

    invoke-virtual {v1, v2}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Ljava/lang/String;

    if-eqz v1, :cond_34

    const-string v2, "supported_abis:"

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

    invoke-static {v1}, Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

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

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
    :try_end_34
    .catch Ljava/lang/NoSuchFieldException; {:try_start_14 .. :try_end_34} :catch_34
    .catch Ljava/lang/IllegalAccessException; {:try_start_14 .. :try_end_34} :catch_34

    :catch_34
    :cond_34
    const-string v1, "CPU_ABI:"

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

    sget-object v1, Landroid/os/Build;->CPU_ABI:Ljava/lang/String;

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

    const-string v1, ";CPU_ABI2:"

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

    sget-object v1, Landroid/os/Build;->CPU_ABI2:Ljava/lang/String;

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

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

    if-eqz p0, :cond_5c

    const-string v1, "ELF:"

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

    invoke-static {p0}, Ljava/util/Arrays;->toString([B)Ljava/lang/String;

    move-result-object p0

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

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

    :cond_5c
    if-eqz p1, :cond_69

    const-string p0, "dbg:"

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

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

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

    :cond_69
    const/16 p0, 0xfa7

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

    move-result-object p1

    invoke-virtual {p3, p0, p1}, Lz5/t71;->d(ILjava/lang/String;)Ln6/i;

    return-void
.end method

.method public static t(I)I
    .registers 4

    add-int/lit8 v0, p0, -0x2

    const/4 v1, 0x1

    if-eq v0, v1, :cond_26

    const/4 v2, 0x2

    if-eq v0, v2, :cond_25

    const/4 v2, 0x3

    if-eq v0, v2, :cond_25

    new-instance v2, Ljava/security/GeneralSecurityException;

    if-eq p0, v1, :cond_1d

    invoke-static {v0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object p0

    const-string v0, "unknown point format: "

    invoke-virtual {v0, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    invoke-direct {v2, p0}, Ljava/security/GeneralSecurityException;-><init>(Ljava/lang/String;)V

    throw v2

    .line 1
    :cond_1d
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string v0, "Can\'t get the number of an unknown enum value."

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

    throw p0

    :cond_25
    return v2

    :cond_26
    return v1
.end method

.method public static u(Lg6/s7;[BIILg6/e5;)I
    .registers 11

    add-int/lit8 v0, p2, 0x1

    aget-byte p2, p1, p2

    if-gez p2, :cond_c

    invoke-static {p2, p1, v0, p4}, Lp/a;->B(I[BILg6/e5;)I

    move-result v0

    iget p2, p4, Lg6/e5;->a:I

    :cond_c
    move v3, v0

    if-ltz p2, :cond_25

    sub-int/2addr p3, v3

    if-gt p2, p3, :cond_25

    invoke-interface {p0}, Lg6/s7;->zze()Ljava/lang/Object;

    move-result-object p3

    add-int/2addr p2, v3

    move-object v0, p0

    move-object v1, p3

    move-object v2, p1

    move v4, p2

    move-object v5, p4

    invoke-interface/range {v0 .. v5}, Lg6/s7;->d(Ljava/lang/Object;[BIILg6/e5;)V

    invoke-interface {p0, p3}, Lg6/s7;->a(Ljava/lang/Object;)V

    iput-object p3, p4, Lg6/e5;->c:Ljava/lang/Object;

    return p2

    :cond_25
    invoke-static {}, Lg6/o6;->f()Lg6/o6;

    move-result-object p0

    throw p0
.end method

.method public static v(Lg6/s7;I[BIILg6/l6;Lg6/e5;)I
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lg6/s7<",
            "*>;I[BII",
            "Lg6/l6<",
            "*>;",
            "Lg6/e5;",
            ")I"
        }
    .end annotation

    invoke-static {p0, p2, p3, p4, p6}, Lp/a;->u(Lg6/s7;[BIILg6/e5;)I

    move-result p3

    :goto_4
    iget-object v0, p6, Lg6/e5;->c:Ljava/lang/Object;

    invoke-interface {p5, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    if-ge p3, p4, :cond_19

    invoke-static {p2, p3, p6}, Lp/a;->A([BILg6/e5;)I

    move-result v0

    iget v1, p6, Lg6/e5;->a:I

    if-eq p1, v1, :cond_14

    goto :goto_19

    :cond_14
    invoke-static {p0, p2, v0, p4, p6}, Lp/a;->u(Lg6/s7;[BIILg6/e5;)I

    move-result p3

    goto :goto_4

    :cond_19
    :goto_19
    return p3
.end method

.method public static w([BILg6/l6;Lg6/e5;)I
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([BI",
            "Lg6/l6<",
            "*>;",
            "Lg6/e5;",
            ")I"
        }
    .end annotation

    check-cast p2, Lg6/g6;

    invoke-static {p0, p1, p3}, Lp/a;->A([BILg6/e5;)I

    move-result p1

    iget v0, p3, Lg6/e5;->a:I

    add-int/2addr v0, p1

    :goto_9
    if-ge p1, v0, :cond_15

    invoke-static {p0, p1, p3}, Lp/a;->A([BILg6/e5;)I

    move-result p1

    iget v1, p3, Lg6/e5;->a:I

    invoke-virtual {p2, v1}, Lg6/g6;->g(I)V

    goto :goto_9

    :cond_15
    if-ne p1, v0, :cond_18

    return p1

    :cond_18
    invoke-static {}, Lg6/o6;->f()Lg6/o6;

    move-result-object p0

    throw p0
.end method

.method public static x([BILg6/e5;)I
    .registers 6

    invoke-static {p0, p1, p2}, Lp/a;->A([BILg6/e5;)I

    move-result p1

    iget v0, p2, Lg6/e5;->a:I

    if-ltz v0, :cond_1a

    if-nez v0, :cond_f

    const-string p0, ""

    iput-object p0, p2, Lg6/e5;->c:Ljava/lang/Object;

    return p1

    :cond_f
    new-instance v1, Ljava/lang/String;

    sget-object v2, Lg6/m6;->a:Ljava/nio/charset/Charset;

    invoke-direct {v1, p0, p1, v0, v2}, Ljava/lang/String;-><init>([BIILjava/nio/charset/Charset;)V

    iput-object v1, p2, Lg6/e5;->c:Ljava/lang/Object;

    add-int/2addr p1, v0

    return p1

    :cond_1a
    invoke-static {}, Lg6/o6;->d()Lg6/o6;

    move-result-object p0

    throw p0
.end method

.method public static y([BILg6/e5;)I
    .registers 13

    invoke-static {p0, p1, p2}, Lp/a;->A([BILg6/e5;)I

    move-result p1

    iget v0, p2, Lg6/e5;->a:I

    if-ltz v0, :cond_15a

    if-nez v0, :cond_f

    const-string p0, ""

    iput-object p0, p2, Lg6/e5;->c:Ljava/lang/Object;

    return p1

    :cond_f
    sget-object v1, Lg6/q8;->a:Lg6/o8;

    .line 1
    array-length v1, p0

    or-int v2, p1, v0

    sub-int v3, v1, p1

    sub-int/2addr v3, v0

    or-int/2addr v2, v3

    const/4 v3, 0x0

    if-ltz v2, :cond_137

    add-int v1, p1, v0

    new-array v0, v0, [C

    move v2, v3

    :goto_20
    if-ge p1, v1, :cond_34

    aget-byte v4, p0, p1

    invoke-static {v4}, Le/d;->p(B)Z

    move-result v5

    if-nez v5, :cond_2b

    goto :goto_34

    :cond_2b
    add-int/lit8 p1, p1, 0x1

    add-int/lit8 v5, v2, 0x1

    int-to-char v4, v4

    aput-char v4, v0, v2

    move v2, v5

    goto :goto_20

    :cond_34
    :goto_34
    if-ge p1, v1, :cond_12f

    add-int/lit8 v4, p1, 0x1

    aget-byte p1, p0, p1

    invoke-static {p1}, Le/d;->p(B)Z

    move-result v5

    if-eqz v5, :cond_5a

    add-int/lit8 v5, v2, 0x1

    int-to-char p1, p1

    aput-char p1, v0, v2

    move p1, v4

    :goto_46
    move v2, v5

    if-ge p1, v1, :cond_34

    aget-byte v4, p0, p1

    invoke-static {v4}, Le/d;->p(B)Z

    move-result v5

    if-nez v5, :cond_52

    goto :goto_34

    :cond_52
    add-int/lit8 p1, p1, 0x1

    add-int/lit8 v5, v2, 0x1

    int-to-char v4, v4

    aput-char v4, v0, v2

    goto :goto_46

    :cond_5a
    const/16 v5, -0x20

    if-ge p1, v5, :cond_87

    if-ge v4, v1, :cond_82

    add-int/lit8 v5, v4, 0x1

    add-int/lit8 v6, v2, 0x1

    aget-byte v4, p0, v4

    const/16 v7, -0x3e

    if-lt p1, v7, :cond_7d

    .line 2
    invoke-static {v4}, Le/d;->r(B)Z

    move-result v7

    if-nez v7, :cond_7d

    and-int/lit8 p1, p1, 0x1f

    shl-int/lit8 p1, p1, 0x6

    and-int/lit8 v4, v4, 0x3f

    or-int/2addr p1, v4

    int-to-char p1, p1

    aput-char p1, v0, v2

    move p1, v5

    move v2, v6

    goto :goto_34

    :cond_7d
    invoke-static {}, Lg6/o6;->b()Lg6/o6;

    move-result-object p0

    throw p0

    .line 3
    :cond_82
    invoke-static {}, Lg6/o6;->b()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_87
    const/16 v6, -0x10

    if-ge p1, v6, :cond_d0

    add-int/lit8 v6, v1, -0x1

    if-ge v4, v6, :cond_cb

    add-int/lit8 v6, v4, 0x1

    add-int/lit8 v7, v6, 0x1

    add-int/lit8 v8, v2, 0x1

    aget-byte v4, p0, v4

    aget-byte v6, p0, v6

    .line 4
    invoke-static {v4}, Le/d;->r(B)Z

    move-result v9

    if-nez v9, :cond_c6

    const/16 v9, -0x60

    if-ne p1, v5, :cond_a6

    if-lt v4, v9, :cond_c6

    move p1, v5

    :cond_a6
    const/16 v5, -0x13

    if-ne p1, v5, :cond_ad

    if-ge v4, v9, :cond_c6

    move p1, v5

    :cond_ad
    invoke-static {v6}, Le/d;->r(B)Z

    move-result v5

    if-nez v5, :cond_c6

    and-int/lit8 p1, p1, 0xf

    shl-int/lit8 p1, p1, 0xc

    and-int/lit8 v4, v4, 0x3f

    shl-int/lit8 v4, v4, 0x6

    or-int/2addr p1, v4

    and-int/lit8 v4, v6, 0x3f

    or-int/2addr p1, v4

    int-to-char p1, p1

    aput-char p1, v0, v2

    move p1, v7

    move v2, v8

    goto/16 :goto_34

    :cond_c6
    invoke-static {}, Lg6/o6;->b()Lg6/o6;

    move-result-object p0

    throw p0

    .line 5
    :cond_cb
    invoke-static {}, Lg6/o6;->b()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_d0
    add-int/lit8 v5, v1, -0x2

    if-ge v4, v5, :cond_12a

    add-int/lit8 v5, v4, 0x1

    add-int/lit8 v6, v5, 0x1

    add-int/lit8 v7, v6, 0x1

    aget-byte v4, p0, v4

    aget-byte v5, p0, v5

    aget-byte v6, p0, v6

    .line 6
    invoke-static {v4}, Le/d;->r(B)Z

    move-result v8

    if-nez v8, :cond_125

    shl-int/lit8 v8, p1, 0x1c

    add-int/lit8 v9, v4, 0x70

    add-int/2addr v9, v8

    shr-int/lit8 v8, v9, 0x1e

    if-nez v8, :cond_125

    invoke-static {v5}, Le/d;->r(B)Z

    move-result v8

    if-nez v8, :cond_125

    invoke-static {v6}, Le/d;->r(B)Z

    move-result v8

    if-nez v8, :cond_125

    and-int/lit8 p1, p1, 0x7

    shl-int/lit8 p1, p1, 0x12

    and-int/lit8 v4, v4, 0x3f

    shl-int/lit8 v4, v4, 0xc

    or-int/2addr p1, v4

    and-int/lit8 v4, v5, 0x3f

    shl-int/lit8 v4, v4, 0x6

    or-int/2addr p1, v4

    and-int/lit8 v4, v6, 0x3f

    or-int/2addr p1, v4

    ushr-int/lit8 v4, p1, 0xa

    const v5, 0xd7c0

    add-int/2addr v4, v5

    int-to-char v4, v4

    aput-char v4, v0, v2

    add-int/lit8 v4, v2, 0x1

    and-int/lit16 p1, p1, 0x3ff

    const v5, 0xdc00

    add-int/2addr p1, v5

    int-to-char p1, p1

    aput-char p1, v0, v4

    add-int/lit8 v2, v2, 0x2

    move p1, v7

    goto/16 :goto_34

    :cond_125
    invoke-static {}, Lg6/o6;->b()Lg6/o6;

    move-result-object p0

    throw p0

    .line 7
    :cond_12a
    invoke-static {}, Lg6/o6;->b()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_12f
    new-instance p0, Ljava/lang/String;

    invoke-direct {p0, v0, v3, v2}, Ljava/lang/String;-><init>([CII)V

    .line 8
    iput-object p0, p2, Lg6/e5;->c:Ljava/lang/Object;

    return v1

    .line 9
    :cond_137
    new-instance p0, Ljava/lang/ArrayIndexOutOfBoundsException;

    const/4 p2, 0x3

    new-array p2, p2, [Ljava/lang/Object;

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

    move-result-object v1

    aput-object v1, p2, v3

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

    move-result-object p1

    const/4 v1, 0x1

    aput-object p1, p2, v1

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

    move-result-object p1

    const/4 v0, 0x2

    aput-object p1, p2, v0

    const-string p1, "buffer length=%d, index=%d, size=%d"

    invoke-static {p1, p2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

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

    throw p0

    .line 10
    :cond_15a
    invoke-static {}, Lg6/o6;->d()Lg6/o6;

    move-result-object p0

    throw p0
.end method

.method public static z(I[BIILg6/h8;Lg6/e5;)I
    .registers 15

    ushr-int/lit8 v0, p0, 0x3

    const-string v1, "Protocol message contained an invalid tag (zero)."

    if-eqz v0, :cond_99

    and-int/lit8 v0, p0, 0x7

    if-eqz v0, :cond_8b

    const/4 v2, 0x1

    if-eq v0, v2, :cond_7d

    const/4 v2, 0x2

    if-eq v0, v2, :cond_59

    const/4 v2, 0x3

    if-eq v0, v2, :cond_2a

    const/4 p3, 0x5

    if-ne v0, p3, :cond_24

    invoke-static {p1, p2}, Lp/a;->n([BI)I

    move-result p1

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

    move-result-object p1

    invoke-virtual {p4, p0, p1}, Lg6/h8;->c(ILjava/lang/Object;)V

    add-int/lit8 p2, p2, 0x4

    return p2

    .line 1
    :cond_24
    new-instance p0, Lg6/o6;

    invoke-direct {p0, v1}, Lg6/o6;-><init>(Ljava/lang/String;)V

    .line 2
    throw p0

    :cond_2a
    and-int/lit8 v0, p0, -0x8

    or-int/lit8 v0, v0, 0x4

    invoke-static {}, Lg6/h8;->b()Lg6/h8;

    move-result-object v7

    const/4 v1, 0x0

    :goto_33
    if-ge p2, p3, :cond_4c

    invoke-static {p1, p2, p5}, Lp/a;->A([BILg6/e5;)I

    move-result v3

    iget p2, p5, Lg6/e5;->a:I

    move v1, p2

    if-ne p2, v0, :cond_40

    move p2, v3

    goto :goto_4c

    :cond_40
    move-object v2, p1

    move v4, p3

    move-object v5, v7

    move-object v6, p5

    invoke-static/range {v1 .. v6}, Lp/a;->z(I[BIILg6/h8;Lg6/e5;)I

    move-result v1

    move v8, v1

    move v1, p2

    move p2, v8

    goto :goto_33

    :cond_4c
    :goto_4c
    if-gt p2, p3, :cond_54

    if-ne v1, v0, :cond_54

    invoke-virtual {p4, p0, v7}, Lg6/h8;->c(ILjava/lang/Object;)V

    return p2

    :cond_54
    invoke-static {}, Lg6/o6;->e()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_59
    invoke-static {p1, p2, p5}, Lp/a;->A([BILg6/e5;)I

    move-result p2

    iget p3, p5, Lg6/e5;->a:I

    if-ltz p3, :cond_78

    array-length p5, p1

    sub-int/2addr p5, p2

    if-gt p3, p5, :cond_73

    if-nez p3, :cond_6a

    sget-object p1, Lg6/k5;->s:Lg6/k5;

    goto :goto_6e

    :cond_6a
    invoke-static {p1, p2, p3}, Lg6/k5;->P([BII)Lg6/k5;

    move-result-object p1

    :goto_6e
    invoke-virtual {p4, p0, p1}, Lg6/h8;->c(ILjava/lang/Object;)V

    add-int/2addr p2, p3

    return p2

    :cond_73
    invoke-static {}, Lg6/o6;->f()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_78
    invoke-static {}, Lg6/o6;->d()Lg6/o6;

    move-result-object p0

    throw p0

    :cond_7d
    invoke-static {p1, p2}, Lp/a;->E([BI)J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    invoke-virtual {p4, p0, p1}, Lg6/h8;->c(ILjava/lang/Object;)V

    add-int/lit8 p2, p2, 0x8

    return p2

    :cond_8b
    invoke-static {p1, p2, p5}, Lp/a;->D([BILg6/e5;)I

    move-result p1

    iget-wide p2, p5, Lg6/e5;->b:J

    invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p2

    invoke-virtual {p4, p0, p2}, Lg6/h8;->c(ILjava/lang/Object;)V

    return p1

    .line 3
    :cond_99
    new-instance p0, Lg6/o6;

    invoke-direct {p0, v1}, Lg6/o6;-><init>(Ljava/lang/String;)V

    .line 4
    throw p0
.end method
