dm.smali

.class public final Lcom/google/obf/dm;
.super Ljava/lang/Object;
.source "IMASDK"


# static fields
.field private static final a:[B

.field private static final b:[I

.field private static final c:[I


# direct methods
.method static constructor <clinit>()V
    .registers 1

    const/4 v0, 0x4

    new-array v0, v0, [B

    .line 29
    fill-array-data v0, :array_1c

    sput-object v0, Lcom/google/obf/dm;->a:[B

    const/16 v0, 0xd

    new-array v0, v0, [I

    .line 30
    fill-array-data v0, :array_22

    sput-object v0, Lcom/google/obf/dm;->b:[I

    const/16 v0, 0x10

    new-array v0, v0, [I

    .line 31
    fill-array-data v0, :array_40

    sput-object v0, Lcom/google/obf/dm;->c:[I

    return-void

    nop

    :array_1c
    .array-data 1
        0x0t
        0x0t
        0x0t
        0x1t
    .end array-data

    :array_22
    .array-data 4
        0x17700
        0x15888
        0xfa00
        0xbb80
        0xac44
        0x7d00
        0x5dc0
        0x5622
        0x3e80
        0x2ee0
        0x2b11
        0x1f40
        0x1cb6
    .end array-data

    :array_40
    .array-data 4
        0x0
        0x1
        0x2
        0x3
        0x4
        0x5
        0x6
        0x8
        -0x1
        -0x1
        -0x1
        0x7
        0x8
        -0x1
        0x8
        -0x1
    .end array-data
.end method

.method public static a([B)Landroid/util/Pair;
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "([B)",
            "Landroid/util/Pair<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/google/obf/dv;

    invoke-direct {v0, p0}, Lcom/google/obf/dv;-><init>([B)V

    const/4 p0, 0x5

    .line 2
    invoke-virtual {v0, p0}, Lcom/google/obf/dv;->c(I)I

    move-result v1

    const/4 v2, 0x4

    .line 3
    invoke-virtual {v0, v2}, Lcom/google/obf/dv;->c(I)I

    move-result v3

    const/16 v4, 0x18

    const/16 v5, 0xd

    const/16 v6, 0xf

    const/4 v7, 0x1

    const/4 v8, 0x0

    if-ne v3, v6, :cond_1e

    .line 5
    invoke-virtual {v0, v4}, Lcom/google/obf/dv;->c(I)I

    move-result v3

    goto :goto_2a

    :cond_1e
    if-ge v3, v5, :cond_22

    const/4 v9, 0x1

    goto :goto_23

    :cond_22
    const/4 v9, 0x0

    .line 6
    :goto_23
    invoke-static {v9}, Lcom/google/obf/dl;->a(Z)V

    .line 7
    sget-object v9, Lcom/google/obf/dm;->b:[I

    aget v3, v9, v3

    .line 8
    :goto_2a
    invoke-virtual {v0, v2}, Lcom/google/obf/dv;->c(I)I

    move-result v9

    if-eq v1, p0, :cond_34

    const/16 v10, 0x1d

    if-ne v1, v10, :cond_59

    .line 10
    :cond_34
    invoke-virtual {v0, v2}, Lcom/google/obf/dv;->c(I)I

    move-result v1

    if-ne v1, v6, :cond_40

    .line 12
    invoke-virtual {v0, v4}, Lcom/google/obf/dv;->c(I)I

    move-result v1

    :goto_3e
    move v3, v1

    goto :goto_4d

    :cond_40
    if-ge v1, v5, :cond_44

    const/4 v3, 0x1

    goto :goto_45

    :cond_44
    const/4 v3, 0x0

    .line 13
    :goto_45
    invoke-static {v3}, Lcom/google/obf/dl;->a(Z)V

    .line 14
    sget-object v3, Lcom/google/obf/dm;->b:[I

    aget v1, v3, v1

    goto :goto_3e

    .line 15
    :goto_4d
    invoke-virtual {v0, p0}, Lcom/google/obf/dv;->c(I)I

    move-result p0

    const/16 v1, 0x16

    if-ne p0, v1, :cond_59

    .line 17
    invoke-virtual {v0, v2}, Lcom/google/obf/dv;->c(I)I

    move-result v9

    .line 18
    :cond_59
    sget-object p0, Lcom/google/obf/dm;->c:[I

    aget p0, p0, v9

    const/4 v0, -0x1

    if-eq p0, v0, :cond_61

    goto :goto_62

    :cond_61
    const/4 v7, 0x0

    .line 19
    :goto_62
    invoke-static {v7}, Lcom/google/obf/dl;->a(Z)V

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

    move-result-object v0

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

    move-result-object p0

    invoke-static {v0, p0}, Landroid/util/Pair;->create(Ljava/lang/Object;Ljava/lang/Object;)Landroid/util/Pair;

    move-result-object p0

    return-object p0
.end method

.method public static a(III)[B
    .registers 5

    const/4 v0, 0x2

    new-array v0, v0, [B

    shl-int/lit8 p0, p0, 0x3

    and-int/lit16 p0, p0, 0xf8

    shr-int/lit8 v1, p1, 0x1

    and-int/lit8 v1, v1, 0x7

    or-int/2addr p0, v1

    int-to-byte p0, p0

    const/4 v1, 0x0

    aput-byte p0, v0, v1

    shl-int/lit8 p0, p1, 0x7

    and-int/lit16 p0, p0, 0x80

    shl-int/lit8 p1, p2, 0x3

    and-int/lit8 p1, p1, 0x78

    or-int/2addr p0, p1

    int-to-byte p0, p0

    const/4 p1, 0x1

    aput-byte p0, v0, p1

    return-object v0
.end method

.method public static a([BII)[B
    .registers 7

    .line 25
    sget-object v0, Lcom/google/obf/dm;->a:[B

    array-length v1, v0

    add-int/2addr v1, p2

    new-array v1, v1, [B

    .line 26
    array-length v2, v0

    const/4 v3, 0x0

    invoke-static {v0, v3, v1, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 27
    sget-object v0, Lcom/google/obf/dm;->a:[B

    array-length v0, v0

    invoke-static {p0, p1, v1, v0, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    return-object v1
.end method