aq.smali

.class public Lio/openinstall/sdk/aq;
.super Ljava/lang/Object;


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

    return-void
.end method

.method public static a(BBBB)I
    .registers 4

    and-int/lit16 p0, p0, 0xff

    shl-int/lit8 p0, p0, 0x18

    and-int/lit16 p1, p1, 0xff

    shl-int/lit8 p1, p1, 0x10

    or-int/2addr p0, p1

    and-int/lit16 p1, p2, 0xff

    shl-int/lit8 p1, p1, 0x8

    or-int/2addr p0, p1

    and-int/lit16 p1, p3, 0xff

    or-int/2addr p0, p1

    return p0
.end method

.method public static a([BILjava/nio/ByteOrder;)I
    .registers 5

    sget-object v0, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;

    if-ne p2, v0, :cond_17

    add-int/lit8 p2, p1, 0x3

    aget-byte p2, p0, p2

    add-int/lit8 v0, p1, 0x2

    aget-byte v0, p0, v0

    add-int/lit8 v1, p1, 0x1

    aget-byte v1, p0, v1

    aget-byte p0, p0, p1

    :goto_12
    invoke-static {p2, v0, v1, p0}, Lio/openinstall/sdk/aq;->a(BBBB)I

    move-result p0

    return p0

    :cond_17
    aget-byte p2, p0, p1

    add-int/lit8 v0, p1, 0x1

    aget-byte v0, p0, v0

    add-int/lit8 v1, p1, 0x2

    aget-byte v1, p0, v1

    add-int/lit8 p1, p1, 0x3

    aget-byte p0, p0, p1

    goto :goto_12
.end method

.method public static a(BBBBBBBB)J
    .registers 9

    invoke-static {p0, p1, p2, p3}, Lio/openinstall/sdk/aq;->a(BBBB)I

    move-result p0

    int-to-long p0, p0

    const-wide/16 p2, -0x1

    and-long/2addr p0, p2

    const/16 v0, 0x20

    shl-long/2addr p0, v0

    invoke-static {p4, p5, p6, p7}, Lio/openinstall/sdk/aq;->a(BBBB)I

    move-result p4

    int-to-long p4, p4

    and-long/2addr p2, p4

    or-long/2addr p0, p2

    return-wide p0
.end method

.method public static a(BB)S
    .registers 2

    shl-int/lit8 p0, p0, 0x8

    and-int/lit16 p1, p1, 0xff

    or-int/2addr p0, p1

    int-to-short p0, p0

    return p0
.end method

.method public static b([BILjava/nio/ByteOrder;)S
    .registers 4

    sget-object v0, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;

    if-ne p2, v0, :cond_f

    add-int/lit8 p2, p1, 0x1

    aget-byte p2, p0, p2

    aget-byte p0, p0, p1

    :goto_a
    invoke-static {p2, p0}, Lio/openinstall/sdk/aq;->a(BB)S

    move-result p0

    return p0

    :cond_f
    aget-byte p2, p0, p1

    add-int/lit8 p1, p1, 0x1

    aget-byte p0, p0, p1

    goto :goto_a
.end method

.method public static c([BILjava/nio/ByteOrder;)J
    .registers 11

    sget-object v0, Ljava/nio/ByteOrder;->LITTLE_ENDIAN:Ljava/nio/ByteOrder;

    if-ne p2, v0, :cond_27

    add-int/lit8 p2, p1, 0x7

    aget-byte v0, p0, p2

    add-int/lit8 p2, p1, 0x6

    aget-byte v1, p0, p2

    add-int/lit8 p2, p1, 0x5

    aget-byte v2, p0, p2

    add-int/lit8 p2, p1, 0x4

    aget-byte v3, p0, p2

    add-int/lit8 p2, p1, 0x3

    aget-byte v4, p0, p2

    add-int/lit8 p2, p1, 0x2

    aget-byte v5, p0, p2

    add-int/lit8 p2, p1, 0x1

    aget-byte v6, p0, p2

    aget-byte v7, p0, p1

    :goto_22
    invoke-static/range {v0 .. v7}, Lio/openinstall/sdk/aq;->a(BBBBBBBB)J

    move-result-wide p0

    return-wide p0

    :cond_27
    aget-byte v0, p0, p1

    add-int/lit8 p2, p1, 0x1

    aget-byte v1, p0, p2

    add-int/lit8 p2, p1, 0x2

    aget-byte v2, p0, p2

    add-int/lit8 p2, p1, 0x3

    aget-byte v3, p0, p2

    add-int/lit8 p2, p1, 0x4

    aget-byte v4, p0, p2

    add-int/lit8 p2, p1, 0x5

    aget-byte v5, p0, p2

    add-int/lit8 p2, p1, 0x6

    aget-byte v6, p0, p2

    add-int/lit8 p1, p1, 0x7

    aget-byte v7, p0, p1

    goto :goto_22
.end method