dn.smali
.class public final Lcom/google/obf/dn;
.super Ljava/lang/Object;
.source "IMASDK"
# static fields
.field private static final a:[I
.field private static final b:[I
.field private static final c:[I
.field private static final d:Lcom/google/obf/dv;
# direct methods
.method static constructor <clinit>()V
.registers 2
const/16 v0, 0x10
new-array v1, v0, [I
.line 21
fill-array-data v1, :array_22
sput-object v1, Lcom/google/obf/dn;->a:[I
new-array v0, v0, [I
.line 22
fill-array-data v0, :array_46
sput-object v0, Lcom/google/obf/dn;->b:[I
const/16 v0, 0x1d
new-array v0, v0, [I
.line 23
fill-array-data v0, :array_6a
sput-object v0, Lcom/google/obf/dn;->c:[I
.line 24
new-instance v0, Lcom/google/obf/dv;
invoke-direct {v0}, Lcom/google/obf/dv;-><init>()V
sput-object v0, Lcom/google/obf/dn;->d:Lcom/google/obf/dv;
return-void
nop
:array_22
.array-data 4
0x1
0x2
0x2
0x2
0x2
0x3
0x3
0x4
0x4
0x5
0x6
0x6
0x6
0x7
0x8
0x8
.end array-data
:array_46
.array-data 4
-0x1
0x1f40
0x3e80
0x7d00
-0x1
-0x1
0x2b11
0x5622
0xac44
-0x1
-0x1
0x2ee0
0x5dc0
0xbb80
-0x1
-0x1
.end array-data
:array_6a
.array-data 4
0x40
0x70
0x80
0xc0
0xe0
0x100
0x180
0x1c0
0x200
0x280
0x300
0x380
0x400
0x480
0x500
0x600
0x780
0x800
0x900
0xa00
0xa80
0xb00
0xb07
0xb80
0xc00
0xf00
0x1000
0x1800
0x1e00
.end array-data
.end method
.method public static a(Ljava/nio/ByteBuffer;)I
.registers 3
.line 16
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->position()I
move-result v0
add-int/lit8 v1, v0, 0x4
.line 17
invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v1
and-int/lit8 v1, v1, 0x1
shl-int/lit8 v1, v1, 0x6
add-int/lit8 v0, v0, 0x5
.line 18
invoke-virtual {p0, v0}, Ljava/nio/ByteBuffer;->get(I)B
move-result p0
and-int/lit16 p0, p0, 0xfc
shr-int/lit8 p0, p0, 0x2
or-int/2addr p0, v1
add-int/lit8 p0, p0, 0x1
mul-int/lit8 p0, p0, 0x20
return p0
.end method
.method public static a([B)I
.registers 3
const/4 v0, 0x4
.line 14
aget-byte v0, p0, v0
and-int/lit8 v0, v0, 0x1
shl-int/lit8 v0, v0, 0x6
const/4 v1, 0x5
aget-byte p0, p0, v1
and-int/lit16 p0, p0, 0xfc
shr-int/lit8 p0, p0, 0x2
or-int/2addr p0, v0
add-int/lit8 p0, p0, 0x1
mul-int/lit8 p0, p0, 0x20
return p0
.end method
.method public static a([BLjava/lang/String;JLjava/lang/String;)Lcom/google/obf/q;
.registers 19
.line 1
sget-object v0, Lcom/google/obf/dn;->d:Lcom/google/obf/dv;
move-object v1, p0
.line 2
invoke-virtual {v0, p0}, Lcom/google/obf/dv;->a([B)V
const/16 v1, 0x3c
.line 3
invoke-virtual {v0, v1}, Lcom/google/obf/dv;->b(I)V
const/4 v1, 0x6
.line 4
invoke-virtual {v0, v1}, Lcom/google/obf/dv;->c(I)I
move-result v1
.line 5
sget-object v2, Lcom/google/obf/dn;->a:[I
aget v1, v2, v1
const/4 v2, 0x4
.line 6
invoke-virtual {v0, v2}, Lcom/google/obf/dv;->c(I)I
move-result v2
.line 7
sget-object v3, Lcom/google/obf/dn;->b:[I
aget v11, v3, v2
const/4 v2, 0x5
.line 8
invoke-virtual {v0, v2}, Lcom/google/obf/dv;->c(I)I
move-result v2
.line 9
sget-object v3, Lcom/google/obf/dn;->c:[I
array-length v4, v3
const/4 v5, 0x2
if-lt v2, v4, :cond_2b
const/4 v2, -0x1
const/4 v6, -0x1
goto :goto_31
.line 10
:cond_2b
aget v2, v3, v2
mul-int/lit16 v2, v2, 0x3e8
div-int/2addr v2, v5
move v6, v2
:goto_31
const/16 v2, 0xa
.line 11
invoke-virtual {v0, v2}, Lcom/google/obf/dv;->b(I)V
.line 12
invoke-virtual {v0, v5}, Lcom/google/obf/dv;->c(I)I
move-result v0
if-lez v0, :cond_3e
const/4 v0, 0x1
goto :goto_3f
:cond_3e
const/4 v0, 0x0
:goto_3f
add-int v10, v1, v0
const/4 v7, -0x1
const/4 v12, 0x0
const-string v5, "audio/vnd.dts"
move-object v4, p1
move-wide/from16 v8, p2
move-object/from16 v13, p4
.line 13
invoke-static/range {v4 .. v13}, Lcom/google/obf/q;->a(Ljava/lang/String;Ljava/lang/String;IIJIILjava/util/List;Ljava/lang/String;)Lcom/google/obf/q;
move-result-object v0
return-object v0
.end method
.method public static b([B)I
.registers 3
const/4 v0, 0x5
.line 20
aget-byte v0, p0, v0
and-int/lit8 v0, v0, 0x2
shl-int/lit8 v0, v0, 0xc
const/4 v1, 0x6
aget-byte v1, p0, v1
and-int/lit16 v1, v1, 0xff
shl-int/lit8 v1, v1, 0x4
or-int/2addr v0, v1
const/4 v1, 0x7
aget-byte p0, p0, v1
and-int/lit16 p0, p0, 0xf0
shr-int/lit8 p0, p0, 0x4
or-int/2addr p0, v0
add-int/lit8 p0, p0, 0x1
return p0
.end method