af$a.smali
.class public final Lcom/loc/af$a;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/loc/af;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "a"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/loc/af$a$a;
}
.end annotation
# instance fields
.field final synthetic a:Lcom/loc/af;
.field private final b:Lcom/loc/af$c;
.field private final c:[Z
.field private d:Z
.field private e:Z
# direct methods
.method private constructor <init>(Lcom/loc/af;Lcom/loc/af$c;)V
.registers 4
iput-object p1, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/loc/af$a;->b:Lcom/loc/af$c;
invoke-static {p2}, Lcom/loc/af$c;->e(Lcom/loc/af$c;)Z
move-result v0
if-eqz v0, :cond_11
const/4 v0, 0x0
:goto_e
iput-object v0, p0, Lcom/loc/af$a;->c:[Z
return-void
:cond_11
invoke-static {p1}, Lcom/loc/af;->f(Lcom/loc/af;)I
move-result v0
new-array v0, v0, [Z
goto :goto_e
.end method
.method synthetic constructor <init>(Lcom/loc/af;Lcom/loc/af$c;B)V
.registers 4
invoke-direct {p0, p1, p2}, Lcom/loc/af$a;-><init>(Lcom/loc/af;Lcom/loc/af$c;)V
return-void
.end method
.method static synthetic a(Lcom/loc/af$a;)Lcom/loc/af$c;
.registers 2
iget-object v0, p0, Lcom/loc/af$a;->b:Lcom/loc/af$c;
return-object v0
.end method
.method static synthetic b(Lcom/loc/af$a;)[Z
.registers 2
iget-object v0, p0, Lcom/loc/af$a;->c:[Z
return-object v0
.end method
.method static synthetic c(Lcom/loc/af$a;)Z
.registers 2
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/loc/af$a;->d:Z
return v0
.end method
# virtual methods
.method public final a()Ljava/io/OutputStream;
.registers 5
iget-object v0, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
invoke-static {v0}, Lcom/loc/af;->f(Lcom/loc/af;)I
move-result v0
if-gtz v0, :cond_24
new-instance v0, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
const-string/jumbo v2, "Expected index 0 to be greater than 0 and less than the maximum value count of "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v2, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
invoke-static {v2}, Lcom/loc/af;->f(Lcom/loc/af;)I
move-result v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_24
iget-object v2, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
monitor-enter v2
:try_start_27
iget-object v0, p0, Lcom/loc/af$a;->b:Lcom/loc/af$c;
invoke-static {v0}, Lcom/loc/af$c;->b(Lcom/loc/af$c;)Lcom/loc/af$a;
move-result-object v0
if-eq v0, p0, :cond_38
new-instance v0, Ljava/lang/IllegalStateException;
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
throw v0
:try_end_35
.catchall {:try_start_27 .. :try_end_35} :catchall_35
:catchall_35
move-exception v0
monitor-exit v2
throw v0
:cond_38
:try_start_38
iget-object v0, p0, Lcom/loc/af$a;->b:Lcom/loc/af$c;
invoke-static {v0}, Lcom/loc/af$c;->e(Lcom/loc/af$c;)Z
move-result v0
if-nez v0, :cond_46
iget-object v0, p0, Lcom/loc/af$a;->c:[Z
const/4 v1, 0x0
const/4 v3, 0x1
aput-boolean v3, v0, v1
:cond_46
iget-object v0, p0, Lcom/loc/af$a;->b:Lcom/loc/af$c;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Lcom/loc/af$c;->b(I)Ljava/io/File;
:try_end_4c
.catchall {:try_start_38 .. :try_end_4c} :catchall_35
move-result-object v1
:try_start_4d
new-instance v0, Ljava/io/FileOutputStream;
invoke-direct {v0, v1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V
:try_end_52
.catch Ljava/io/FileNotFoundException; {:try_start_4d .. :try_end_52} :catch_5b
.catchall {:try_start_4d .. :try_end_52} :catchall_35
move-object v1, v0
:goto_53
:try_start_53
new-instance v0, Lcom/loc/af$a$a;
const/4 v3, 0x0
invoke-direct {v0, p0, v1, v3}, Lcom/loc/af$a$a;-><init>(Lcom/loc/af$a;Ljava/io/OutputStream;B)V
monitor-exit v2
:goto_5a
return-object v0
:catch_5b
move-exception v0
iget-object v0, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
invoke-static {v0}, Lcom/loc/af;->g(Lcom/loc/af;)Ljava/io/File;
move-result-object v0
invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z
:try_end_65
.catchall {:try_start_53 .. :try_end_65} :catchall_35
:try_start_65
new-instance v0, Ljava/io/FileOutputStream;
invoke-direct {v0, v1}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V
:try_end_6a
.catch Ljava/io/FileNotFoundException; {:try_start_65 .. :try_end_6a} :catch_6c
.catchall {:try_start_65 .. :try_end_6a} :catchall_35
move-object v1, v0
goto :goto_53
:catch_6c
move-exception v0
:try_start_6d
invoke-static {}, Lcom/loc/af;->f()Ljava/io/OutputStream;
move-result-object v0
monitor-exit v2
:try_end_72
.catchall {:try_start_6d .. :try_end_72} :catchall_35
goto :goto_5a
.end method
.method public final b()V
.registers 4
const/4 v2, 0x1
iget-boolean v0, p0, Lcom/loc/af$a;->d:Z
if-eqz v0, :cond_19
iget-object v0, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
const/4 v1, 0x0
invoke-static {v0, p0, v1}, Lcom/loc/af;->a(Lcom/loc/af;Lcom/loc/af$a;Z)V
iget-object v0, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
iget-object v1, p0, Lcom/loc/af$a;->b:Lcom/loc/af$c;
invoke-static {v1}, Lcom/loc/af$c;->d(Lcom/loc/af$c;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/loc/af;->c(Ljava/lang/String;)Z
:goto_16
iput-boolean v2, p0, Lcom/loc/af$a;->e:Z
return-void
:cond_19
iget-object v0, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
invoke-static {v0, p0, v2}, Lcom/loc/af;->a(Lcom/loc/af;Lcom/loc/af$a;Z)V
goto :goto_16
.end method
.method public final c()V
.registers 3
iget-object v0, p0, Lcom/loc/af$a;->a:Lcom/loc/af;
const/4 v1, 0x0
invoke-static {v0, p0, v1}, Lcom/loc/af;->a(Lcom/loc/af;Lcom/loc/af$a;Z)V
return-void
.end method