a$c.smali

.class public final Lcom/bumptech/glide/m/a$c;
.super Ljava/lang/Object;
.source ""


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

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


# instance fields
.field private final a:Lcom/bumptech/glide/m/a$d;

.field private final b:[Z

.field private c:Z

.field final synthetic d:Lcom/bumptech/glide/m/a;


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

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

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

    iput-object p2, p0, Lcom/bumptech/glide/m/a$c;->a:Lcom/bumptech/glide/m/a$d;

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

    move-result p2

    if-eqz p2, :cond_f

    const/4 p1, 0x0

    goto :goto_15

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

    move-result p1

    new-array p1, p1, [Z

    :goto_15
    iput-object p1, p0, Lcom/bumptech/glide/m/a$c;->b:[Z

    return-void
.end method

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

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

    return-void
.end method

.method static synthetic c(Lcom/bumptech/glide/m/a$c;)Lcom/bumptech/glide/m/a$d;
    .registers 1

    iget-object p0, p0, Lcom/bumptech/glide/m/a$c;->a:Lcom/bumptech/glide/m/a$d;

    return-object p0
.end method

.method static synthetic d(Lcom/bumptech/glide/m/a$c;)[Z
    .registers 1

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

    return-object p0
.end method


# virtual methods
.method public a()V
    .registers 3

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

    const/4 v1, 0x0

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

    return-void
.end method

.method public b()V
    .registers 2

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

    if-nez v0, :cond_7

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

    :catch_7
    :cond_7
    return-void
.end method

.method public e()V
    .registers 3

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

    const/4 v1, 0x1

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

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

    return-void
.end method

.method public f(I)Ljava/io/File;
    .registers 5

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

    monitor-enter v0

    :try_start_3
    iget-object v1, p0, Lcom/bumptech/glide/m/a$c;->a:Lcom/bumptech/glide/m/a$d;

    invoke-static {v1}, Lcom/bumptech/glide/m/a$d;->g(Lcom/bumptech/glide/m/a$d;)Lcom/bumptech/glide/m/a$c;

    move-result-object v1

    if-ne v1, p0, :cond_29

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

    invoke-static {v1}, Lcom/bumptech/glide/m/a$d;->e(Lcom/bumptech/glide/m/a$d;)Z

    move-result v1

    if-nez v1, :cond_18

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

    const/4 v2, 0x1

    aput-boolean v2, v1, p1

    :cond_18
    iget-object v1, p0, Lcom/bumptech/glide/m/a$c;->a:Lcom/bumptech/glide/m/a$d;

    invoke-virtual {v1, p1}, Lcom/bumptech/glide/m/a$d;->k(I)Ljava/io/File;

    move-result-object p1

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

    invoke-static {v1}, Lcom/bumptech/glide/m/a;->x(Lcom/bumptech/glide/m/a;)Ljava/io/File;

    move-result-object v1

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

    monitor-exit v0

    return-object p1

    :cond_29
    new-instance p1, Ljava/lang/IllegalStateException;

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

    throw p1

    :catchall_2f
    move-exception p1

    monitor-exit v0
    :try_end_31
    .catchall {:try_start_3 .. :try_end_31} :catchall_2f

    throw p1
.end method