a$c.smali

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


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

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


# instance fields
.field public final a:Lcom/bumptech/glide/disklrucache/a$d;

.field public final b:[Z

.field public c:Z

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


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

    .line 1
    iput-object p1, p0, Lcom/bumptech/glide/disklrucache/a$c;->d:Lcom/bumptech/glide/disklrucache/a;

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

    .line 2
    iput-object p2, p0, Lcom/bumptech/glide/disklrucache/a$c;->a:Lcom/bumptech/glide/disklrucache/a$d;

    .line 3
    iget-boolean p2, p2, Lcom/bumptech/glide/disklrucache/a$d;->e:Z

    if-eqz p2, :cond_d

    const/4 p1, 0x0

    goto :goto_11

    .line 4
    :cond_d
    iget p1, p1, Lcom/bumptech/glide/disklrucache/a;->g:I

    .line 5
    new-array p1, p1, [Z

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

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

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

    const/4 v1, 0x0

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

    return-void
.end method

.method public final b()Ljava/io/File;
    .registers 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/bumptech/glide/disklrucache/a$c;->d:Lcom/bumptech/glide/disklrucache/a;

    monitor-enter v0

    .line 2
    :try_start_3
    iget-object v1, p0, Lcom/bumptech/glide/disklrucache/a$c;->a:Lcom/bumptech/glide/disklrucache/a$d;

    .line 3
    iget-object v2, v1, Lcom/bumptech/glide/disklrucache/a$d;->f:Lcom/bumptech/glide/disklrucache/a$c;

    if-ne v2, p0, :cond_20

    .line 4
    iget-boolean v2, v1, Lcom/bumptech/glide/disklrucache/a$d;->e:Z

    const/4 v3, 0x0

    if-nez v2, :cond_13

    .line 5
    iget-object v2, p0, Lcom/bumptech/glide/disklrucache/a$c;->b:[Z

    const/4 v4, 0x1

    aput-boolean v4, v2, v3

    .line 6
    :cond_13
    iget-object v1, v1, Lcom/bumptech/glide/disklrucache/a$d;->d:[Ljava/io/File;

    aget-object v1, v1, v3

    .line 7
    iget-object v2, p0, Lcom/bumptech/glide/disklrucache/a$c;->d:Lcom/bumptech/glide/disklrucache/a;

    .line 8
    iget-object v2, v2, Lcom/bumptech/glide/disklrucache/a;->a:Ljava/io/File;

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

    .line 10
    monitor-exit v0

    return-object v1

    .line 11
    :cond_20
    new-instance v1, Ljava/lang/IllegalStateException;

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

    throw v1

    :catchall_26
    move-exception v1

    .line 12
    monitor-exit v0
    :try_end_28
    .catchall {:try_start_3 .. :try_end_28} :catchall_26

    throw v1
.end method