b.smali
.class public Lcom/sdk/plus/f/b;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/sdk/plus/f/b$c;,
Lcom/sdk/plus/f/b$b;,
Lcom/sdk/plus/f/b$a;
}
.end annotation
# static fields
.field static final synthetic a:Z
# direct methods
.method static constructor <clinit>()V
.registers 1
const-class v0, Lcom/sdk/plus/f/b;
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
if-nez v0, :cond_c
const/4 v0, 0x1
:goto_9
sput-boolean v0, Lcom/sdk/plus/f/b;->a:Z
return-void
:cond_c
const/4 v0, 0x0
goto :goto_9
.end method
.method private constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a([B)[B
.registers 15
const/4 v13, -0x2
const/4 v12, -0x1
const/4 v11, 0x6
const/4 v3, 0x0
array-length v0, p0
new-instance v6, Lcom/sdk/plus/f/b$b;
mul-int/lit8 v1, v0, 0x3
div-int/lit8 v1, v1, 0x4
new-array v1, v1, [B
invoke-direct {v6, v1}, Lcom/sdk/plus/f/b$b;-><init>([B)V
iget v1, v6, Lcom/sdk/plus/f/b$b;->c:I
if-ne v1, v11, :cond_1f
move v0, v3
:goto_15
if-nez v0, :cond_13c
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "bad base-64"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_1f
add-int/lit8 v7, v0, 0x0
iget v0, v6, Lcom/sdk/plus/f/b$b;->c:I
iget v1, v6, Lcom/sdk/plus/f/b$b;->d:I
iget-object v8, v6, Lcom/sdk/plus/f/b$b;->a:[B
iget-object v9, v6, Lcom/sdk/plus/f/b$b;->e:[I
move v2, v3
move v5, v0
move v0, v3
:goto_2c
if-ge v2, v7, :cond_10f
if-nez v5, :cond_75
:goto_30
add-int/lit8 v4, v2, 0x4
if-gt v4, v7, :cond_73
aget-byte v1, p0, v2
and-int/lit16 v1, v1, 0xff
aget v1, v9, v1
shl-int/lit8 v1, v1, 0x12
add-int/lit8 v4, v2, 0x1
aget-byte v4, p0, v4
and-int/lit16 v4, v4, 0xff
aget v4, v9, v4
shl-int/lit8 v4, v4, 0xc
or-int/2addr v1, v4
add-int/lit8 v4, v2, 0x2
aget-byte v4, p0, v4
and-int/lit16 v4, v4, 0xff
aget v4, v9, v4
shl-int/lit8 v4, v4, 0x6
or-int/2addr v1, v4
add-int/lit8 v4, v2, 0x3
aget-byte v4, p0, v4
and-int/lit16 v4, v4, 0xff
aget v4, v9, v4
or-int/2addr v1, v4
if-ltz v1, :cond_73
add-int/lit8 v4, v0, 0x2
int-to-byte v10, v1
aput-byte v10, v8, v4
add-int/lit8 v4, v0, 0x1
shr-int/lit8 v10, v1, 0x8
int-to-byte v10, v10
aput-byte v10, v8, v4
shr-int/lit8 v4, v1, 0x10
int-to-byte v4, v4
aput-byte v4, v8, v0
add-int/lit8 v0, v0, 0x3
add-int/lit8 v2, v2, 0x4
goto :goto_30
:cond_73
if-ge v2, v7, :cond_10f
:cond_75
add-int/lit8 v4, v2, 0x1
aget-byte v2, p0, v2
and-int/lit16 v2, v2, 0xff
aget v2, v9, v2
packed-switch v5, :pswitch_data_152
:cond_80
move v2, v4
goto :goto_2c
:pswitch_82
if-ltz v2, :cond_8a
add-int/lit8 v1, v5, 0x1
move v5, v1
move v1, v2
move v2, v4
goto :goto_2c
:cond_8a
if-eq v2, v12, :cond_80
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto :goto_15
:pswitch_90
if-ltz v2, :cond_9a
shl-int/lit8 v1, v1, 0x6
or-int/2addr v1, v2
add-int/lit8 v2, v5, 0x1
move v5, v2
move v2, v4
goto :goto_2c
:cond_9a
if-eq v2, v12, :cond_80
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:pswitch_a1
if-ltz v2, :cond_ab
shl-int/lit8 v1, v1, 0x6
or-int/2addr v1, v2
add-int/lit8 v2, v5, 0x1
move v5, v2
move v2, v4
goto :goto_2c
:cond_ab
if-ne v2, v13, :cond_ba
add-int/lit8 v2, v0, 0x1
shr-int/lit8 v5, v1, 0x4
int-to-byte v5, v5
aput-byte v5, v8, v0
const/4 v0, 0x4
move v5, v0
move v0, v2
move v2, v4
goto/16 :goto_2c
:cond_ba
if-eq v2, v12, :cond_80
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:pswitch_c1
if-ltz v2, :cond_dd
shl-int/lit8 v1, v1, 0x6
or-int/2addr v1, v2
add-int/lit8 v2, v0, 0x2
int-to-byte v5, v1
aput-byte v5, v8, v2
add-int/lit8 v2, v0, 0x1
shr-int/lit8 v5, v1, 0x8
int-to-byte v5, v5
aput-byte v5, v8, v2
shr-int/lit8 v2, v1, 0x10
int-to-byte v2, v2
aput-byte v2, v8, v0
add-int/lit8 v0, v0, 0x3
move v2, v4
move v5, v3
goto/16 :goto_2c
:cond_dd
if-ne v2, v13, :cond_f2
add-int/lit8 v2, v0, 0x1
shr-int/lit8 v5, v1, 0x2
int-to-byte v5, v5
aput-byte v5, v8, v2
shr-int/lit8 v2, v1, 0xa
int-to-byte v2, v2
aput-byte v2, v8, v0
add-int/lit8 v0, v0, 0x2
const/4 v2, 0x5
move v5, v2
move v2, v4
goto/16 :goto_2c
:cond_f2
if-eq v2, v12, :cond_80
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:pswitch_f9
if-ne v2, v13, :cond_101
add-int/lit8 v2, v5, 0x1
move v5, v2
move v2, v4
goto/16 :goto_2c
:cond_101
if-eq v2, v12, :cond_80
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:pswitch_108
if-eq v2, v12, :cond_80
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:cond_10f
move v2, v1
packed-switch v5, :pswitch_data_162
:goto_113
:pswitch_113
iput v5, v6, Lcom/sdk/plus/f/b$b;->c:I
iput v0, v6, Lcom/sdk/plus/f/b$b;->b:I
const/4 v0, 0x1
goto/16 :goto_15
:pswitch_11a
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:pswitch_11f
add-int/lit8 v1, v0, 0x1
shr-int/lit8 v2, v2, 0x4
int-to-byte v2, v2
aput-byte v2, v8, v0
move v0, v1
goto :goto_113
:pswitch_128
add-int/lit8 v1, v0, 0x1
shr-int/lit8 v4, v2, 0xa
int-to-byte v4, v4
aput-byte v4, v8, v0
add-int/lit8 v0, v1, 0x1
shr-int/lit8 v2, v2, 0x2
int-to-byte v2, v2
aput-byte v2, v8, v1
goto :goto_113
:pswitch_137
iput v11, v6, Lcom/sdk/plus/f/b$b;->c:I
move v0, v3
goto/16 :goto_15
:cond_13c
iget v0, v6, Lcom/sdk/plus/f/b$b;->b:I
iget-object v1, v6, Lcom/sdk/plus/f/b$b;->a:[B
array-length v1, v1
if-ne v0, v1, :cond_146
iget-object v0, v6, Lcom/sdk/plus/f/b$b;->a:[B
:goto_145
return-object v0
:cond_146
iget v0, v6, Lcom/sdk/plus/f/b$b;->b:I
new-array v0, v0, [B
iget-object v1, v6, Lcom/sdk/plus/f/b$b;->a:[B
iget v2, v6, Lcom/sdk/plus/f/b$b;->b:I
invoke-static {v1, v3, v0, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
goto :goto_145
:pswitch_data_152
.packed-switch 0x0
:pswitch_82
:pswitch_90
:pswitch_a1
:pswitch_c1
:pswitch_f9
:pswitch_108
.end packed-switch
:pswitch_data_162
.packed-switch 0x0
:pswitch_113
:pswitch_11a
:pswitch_11f
:pswitch_128
:pswitch_137
.end packed-switch
.end method
.method public static b([B)Ljava/lang/String;
.registers 7
:try_start_0
new-instance v2, Ljava/lang/String;
array-length v3, p0
new-instance v4, Lcom/sdk/plus/f/b$c;
invoke-direct {v4}, Lcom/sdk/plus/f/b$c;-><init>()V
div-int/lit8 v0, v3, 0x3
mul-int/lit8 v1, v0, 0x4
iget-boolean v0, v4, Lcom/sdk/plus/f/b$c;->d:Z
if-eqz v0, :cond_45
rem-int/lit8 v0, v3, 0x3
if-lez v0, :cond_16
add-int/lit8 v1, v1, 0x4
:cond_16
:goto_16
:pswitch_16
iget-boolean v0, v4, Lcom/sdk/plus/f/b$c;->e:Z
if-eqz v0, :cond_5b
if-lez v3, :cond_5b
add-int/lit8 v0, v3, -0x1
div-int/lit8 v0, v0, 0x39
add-int/lit8 v5, v0, 0x1
iget-boolean v0, v4, Lcom/sdk/plus/f/b$c;->f:Z
if-eqz v0, :cond_51
const/4 v0, 0x2
:goto_27
mul-int/2addr v0, v5
add-int/2addr v0, v1
:goto_29
new-array v1, v0, [B
iput-object v1, v4, Lcom/sdk/plus/f/b$c;->a:[B
invoke-virtual {v4, p0, v3}, Lcom/sdk/plus/f/b$c;->a([BI)Z
sget-boolean v1, Lcom/sdk/plus/f/b;->a:Z
if-nez v1, :cond_53
iget v1, v4, Lcom/sdk/plus/f/b$c;->b:I
if-eq v1, v0, :cond_53
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
:try_end_3e
.catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_3e} :catch_3e
:catch_3e
move-exception v0
new-instance v1, Ljava/lang/AssertionError;
invoke-direct {v1, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw v1
:cond_45
:try_start_45
rem-int/lit8 v0, v3, 0x3
packed-switch v0, :pswitch_data_5e
goto :goto_16
:pswitch_4b
add-int/lit8 v1, v1, 0x2
goto :goto_16
:pswitch_4e
add-int/lit8 v1, v1, 0x3
goto :goto_16
:cond_51
const/4 v0, 0x1
goto :goto_27
:cond_53
iget-object v0, v4, Lcom/sdk/plus/f/b$c;->a:[B
const-string v1, "US-ASCII"
invoke-direct {v2, v0, v1}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
:try_end_5a
.catch Ljava/io/UnsupportedEncodingException; {:try_start_45 .. :try_end_5a} :catch_3e
return-object v2
:cond_5b
move v0, v1
goto :goto_29
nop
:pswitch_data_5e
.packed-switch 0x0
:pswitch_16
:pswitch_4b
:pswitch_4e
.end packed-switch
.end method