.class public final Ls4/h$a$a;
.super Ld9/h;
.source ""

# interfaces
.implements Lh9/c;


# annotations
.annotation runtime Ld9/e;
    c = "com.floydwiz.gamingcenter.viewmodels.HeaderVM$updateStorageInfoRecursively$1$1"
    f = "HeaderVM.kt"
    l = {
        0x24
    }
    m = "invokeSuspend"
.end annotation

.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ls4/h$a;->o(Ljava/lang/Object;)Ljava/lang/Object;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ld9/h;",
        "Lh9/c<",
        "Lq9/w;",
        "Lb9/d<",
        "-",
        "Ly8/k;",
        ">;",
        "Ljava/lang/Object;",
        ">;"
    }
.end annotation


# instance fields
.field public v:I

.field public final synthetic w:Ls4/h;


# direct methods
.method public constructor <init>(Ls4/h;Lb9/d;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ls4/h;",
            "Lb9/d<",
            "-",
            "Ls4/h$a$a;",
            ">;)V"
        }
    .end annotation

    iput-object p1, p0, Ls4/h$a$a;->w:Ls4/h;

    const/4 p1, 0x2

    invoke-direct {p0, p1, p2}, Ld9/h;-><init>(ILb9/d;)V

    return-void
.end method


# virtual methods
.method public final b(Ljava/lang/Object;Lb9/d;)Lb9/d;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            "Lb9/d<",
            "*>;)",
            "Lb9/d<",
            "Ly8/k;",
            ">;"
        }
    .end annotation

    new-instance p1, Ls4/h$a$a;

    iget-object v0, p0, Ls4/h$a$a;->w:Ls4/h;

    invoke-direct {p1, v0, p2}, Ls4/h$a$a;-><init>(Ls4/h;Lb9/d;)V

    return-object p1
.end method

.method public e(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 4

    check-cast p1, Lq9/w;

    check-cast p2, Lb9/d;

    .line 1
    new-instance p1, Ls4/h$a$a;

    iget-object v0, p0, Ls4/h$a$a;->w:Ls4/h;

    invoke-direct {p1, v0, p2}, Ls4/h$a$a;-><init>(Ls4/h;Lb9/d;)V

    .line 2
    sget-object p2, Ly8/k;->a:Ly8/k;

    invoke-virtual {p1, p2}, Ls4/h$a$a;->o(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public final o(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 10

    sget-object v0, Lc9/a;->r:Lc9/a;

    iget v1, p0, Ls4/h$a$a;->v:I

    const/4 v2, 0x1

    if-eqz v1, :cond_16

    if-ne v1, v2, :cond_e

    invoke-static {p1}, Le/h;->h(Ljava/lang/Object;)V

    goto/16 :goto_88

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

    const-string v0, "call to \'resume\' before \'invoke\' with coroutine"

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

    throw p1

    :cond_16
    invoke-static {p1}, Le/h;->h(Ljava/lang/Object;)V

    iget-object p1, p0, Ls4/h$a$a;->w:Ls4/h;

    iput v2, p0, Ls4/h$a$a;->v:I

    .line 1
    iget-object v1, p1, Ls4/h;->f:Ljava/lang/String;

    .line 2
    invoke-static {v1}, Lp9/h;->s(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_43

    sget-object v1, Lr4/b;->a:Lr4/b;

    .line 3
    new-instance v1, Landroid/os/StatFs;

    invoke-static {}, Landroid/os/Environment;->getDataDirectory()Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/os/StatFs;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Landroid/os/StatFs;->getTotalBytes()J

    move-result-wide v1

    invoke-static {v1, v2}, Lr4/b;->b(J)Ljava/lang/String;

    move-result-object v1

    const-string v2, "<set-?>"

    .line 4
    invoke-static {v1, v2}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    iput-object v1, p1, Ls4/h;->f:Ljava/lang/String;

    .line 5
    :cond_43
    iget-object v1, p1, Ls4/h;->g:Landroidx/lifecycle/t;

    .line 6
    new-instance v2, Ljava/lang/StringBuilder;

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

    sget-object v3, Lr4/b;->a:Lr4/b;

    .line 7
    new-instance v3, Landroid/os/StatFs;

    invoke-static {}, Landroid/os/Environment;->getDataDirectory()Ljava/io/File;

    move-result-object v4

    invoke-virtual {v4}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/os/StatFs;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Landroid/os/StatFs;->getTotalBytes()J

    move-result-wide v4

    invoke-virtual {v3}, Landroid/os/StatFs;->getFreeBytes()J

    move-result-wide v6

    sub-long/2addr v4, v6

    invoke-static {v4, v5}, Lr4/b;->b(J)Ljava/lang/String;

    move-result-object v3

    .line 8
    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/16 v3, 0x2f

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    .line 9
    iget-object p1, p1, Ls4/h;->f:Ljava/lang/String;

    .line 10
    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Landroidx/lifecycle/t;->k(Ljava/lang/Object;)V

    const-wide/16 v1, 0x2710

    invoke-static {v1, v2, p0}, Le/c;->c(JLb9/d;)Ljava/lang/Object;

    move-result-object p1

    if-ne p1, v0, :cond_83

    goto :goto_85

    :cond_83
    sget-object p1, Ly8/k;->a:Ly8/k;

    :goto_85
    if-ne p1, v0, :cond_88

    return-object v0

    .line 11
    :cond_88
    :goto_88
    sget-object p1, Ly8/k;->a:Ly8/k;

    return-object p1
.end method
