.class public Lm3/l$c;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lm3/i$d;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lm3/l;
.end annotation

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


# instance fields
.field public final a:Lo3/a$a;

.field public volatile b:Lo3/a;


# direct methods
.method public constructor <init>(Lo3/a$a;)V
    .registers 2

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

    iput-object p1, p0, Lm3/l$c;->a:Lo3/a$a;

    return-void
.end method


# virtual methods
.method public a()Lo3/a;
    .registers 6

    iget-object v0, p0, Lm3/l$c;->b:Lo3/a;

    if-nez v0, :cond_50

    monitor-enter p0

    :try_start_5
    iget-object v0, p0, Lm3/l$c;->b:Lo3/a;

    if-nez v0, :cond_40

    iget-object v0, p0, Lm3/l$c;->a:Lo3/a$a;

    check-cast v0, Lo3/d;

    .line 1
    iget-object v1, v0, Lo3/d;->b:Lo3/d$a;

    check-cast v1, Lo3/f;

    .line 2
    iget-object v2, v1, Lo3/f;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getCacheDir()Ljava/io/File;

    move-result-object v2

    const/4 v3, 0x0

    if-nez v2, :cond_1c

    move-object v2, v3

    goto :goto_28

    :cond_1c
    iget-object v4, v1, Lo3/f;->b:Ljava/lang/String;

    if-eqz v4, :cond_28

    new-instance v4, Ljava/io/File;

    iget-object v1, v1, Lo3/f;->b:Ljava/lang/String;

    invoke-direct {v4, v2, v1}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    move-object v2, v4

    :cond_28
    :goto_28
    if-nez v2, :cond_2b

    goto :goto_3e

    .line 3
    :cond_2b
    invoke-virtual {v2}, Ljava/io/File;->isDirectory()Z

    move-result v1

    if-nez v1, :cond_37

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

    move-result v1

    if-eqz v1, :cond_3e

    :cond_37
    iget-wide v0, v0, Lo3/d;->a:J

    .line 4
    new-instance v3, Lo3/e;

    invoke-direct {v3, v2, v0, v1}, Lo3/e;-><init>(Ljava/io/File;J)V

    .line 5
    :cond_3e
    :goto_3e
    iput-object v3, p0, Lm3/l$c;->b:Lo3/a;

    :cond_40
    iget-object v0, p0, Lm3/l$c;->b:Lo3/a;

    if-nez v0, :cond_4b

    new-instance v0, Lo3/b;

    invoke-direct {v0}, Lo3/b;-><init>()V

    iput-object v0, p0, Lm3/l$c;->b:Lo3/a;

    :cond_4b
    monitor-exit p0

    goto :goto_50

    :catchall_4d
    move-exception v0

    monitor-exit p0
    :try_end_4f
    .catchall {:try_start_5 .. :try_end_4f} :catchall_4d

    throw v0

    :cond_50
    :goto_50
    iget-object v0, p0, Lm3/l$c;->b:Lo3/a;

    return-object v0
.end method
