a$a.smali

.class public final Lcom/bumptech/glide/a/a$a;
.super Ljava/lang/Object;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/bumptech/glide/a/a;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "a"
.end annotation


# instance fields
.field final synthetic a:Lcom/bumptech/glide/a/a;

.field private final b:Lcom/bumptech/glide/a/a$b;

.field private final c:[Z

.field private d:Z


# direct methods
.method private constructor <init>(Lcom/bumptech/glide/a/a;Lcom/bumptech/glide/a/a$b;)V
    .registers 4

    iput-object p1, p0, Lcom/bumptech/glide/a/a$a;->a:Lcom/bumptech/glide/a/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p2, p0, Lcom/bumptech/glide/a/a$a;->b:Lcom/bumptech/glide/a/a$b;

    invoke-static {p2}, Lcom/bumptech/glide/a/a$b;->d(Lcom/bumptech/glide/a/a$b;)Z

    move-result v0

    if-eqz v0, :cond_11

    const/4 v0, 0x0

    :goto_e
    iput-object v0, p0, Lcom/bumptech/glide/a/a$a;->c:[Z

    return-void

    :cond_11
    invoke-static {p1}, Lcom/bumptech/glide/a/a;->e(Lcom/bumptech/glide/a/a;)I

    move-result v0

    new-array v0, v0, [Z

    goto :goto_e
.end method

.method synthetic constructor <init>(Lcom/bumptech/glide/a/a;Lcom/bumptech/glide/a/a$b;Lcom/bumptech/glide/a/a$1;)V
    .registers 4

    invoke-direct {p0, p1, p2}, Lcom/bumptech/glide/a/a$a;-><init>(Lcom/bumptech/glide/a/a;Lcom/bumptech/glide/a/a$b;)V

    return-void
.end method

.method static synthetic a(Lcom/bumptech/glide/a/a$a;)Lcom/bumptech/glide/a/a$b;
    .registers 2

    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->b:Lcom/bumptech/glide/a/a$b;

    return-object v0
.end method

.method static synthetic b(Lcom/bumptech/glide/a/a$a;)[Z
    .registers 2

    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->c:[Z

    return-object v0
.end method


# virtual methods
.method public a(I)Ljava/io/File;
    .registers 5

    iget-object v1, p0, Lcom/bumptech/glide/a/a$a;->a:Lcom/bumptech/glide/a/a;

    monitor-enter v1

    :try_start_3
    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->b:Lcom/bumptech/glide/a/a$b;

    invoke-static {v0}, Lcom/bumptech/glide/a/a$b;->a(Lcom/bumptech/glide/a/a$b;)Lcom/bumptech/glide/a/a$a;

    move-result-object v0

    if-eq v0, p0, :cond_14

    new-instance v0, Ljava/lang/IllegalStateException;

    invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V

    throw v0

    :catchall_11
    move-exception v0

    monitor-exit v1
    :try_end_13
    .catchall {:try_start_3 .. :try_end_13} :catchall_11

    throw v0

    :cond_14
    :try_start_14
    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->b:Lcom/bumptech/glide/a/a$b;

    invoke-static {v0}, Lcom/bumptech/glide/a/a$b;->d(Lcom/bumptech/glide/a/a$b;)Z

    move-result v0

    if-nez v0, :cond_21

    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->c:[Z

    const/4 v2, 0x1

    aput-boolean v2, v0, p1

    :cond_21
    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->b:Lcom/bumptech/glide/a/a$b;

    invoke-virtual {v0, p1}, Lcom/bumptech/glide/a/a$b;->b(I)Ljava/io/File;

    move-result-object v0

    iget-object v2, p0, Lcom/bumptech/glide/a/a$a;->a:Lcom/bumptech/glide/a/a;

    invoke-static {v2}, Lcom/bumptech/glide/a/a;->f(Lcom/bumptech/glide/a/a;)Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v2

    if-nez v2, :cond_3c

    iget-object v2, p0, Lcom/bumptech/glide/a/a$a;->a:Lcom/bumptech/glide/a/a;

    invoke-static {v2}, Lcom/bumptech/glide/a/a;->f(Lcom/bumptech/glide/a/a;)Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->mkdirs()Z

    :cond_3c
    monitor-exit v1
    :try_end_3d
    .catchall {:try_start_14 .. :try_end_3d} :catchall_11

    return-object v0
.end method

.method public a()V
    .registers 3

    const/4 v1, 0x1

    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->a:Lcom/bumptech/glide/a/a;

    invoke-static {v0, p0, v1}, Lcom/bumptech/glide/a/a;->a(Lcom/bumptech/glide/a/a;Lcom/bumptech/glide/a/a$a;Z)V

    iput-boolean v1, p0, Lcom/bumptech/glide/a/a$a;->d:Z

    return-void
.end method

.method public b()V
    .registers 3

    iget-object v0, p0, Lcom/bumptech/glide/a/a$a;->a:Lcom/bumptech/glide/a/a;

    const/4 v1, 0x0

    invoke-static {v0, p0, v1}, Lcom/bumptech/glide/a/a;->a(Lcom/bumptech/glide/a/a;Lcom/bumptech/glide/a/a$a;Z)V

    return-void
.end method

.method public c()V
    .registers 2

    iget-boolean v0, p0, Lcom/bumptech/glide/a/a$a;->d:Z

    if-nez v0, :cond_7

    :try_start_4
    invoke-virtual {p0}, Lcom/bumptech/glide/a/a$a;->b()V
    :try_end_7
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_7} :catch_8

    :cond_7
    :goto_7
    return-void

    :catch_8
    move-exception v0

    goto :goto_7
.end method