.class public Lf3/i;
.super Ljava/lang/Object;
.source ""


# static fields
.field public static a:Ljava/io/PrintStream;

.field public static b:Lf3/b;


# direct methods
.method public static constructor <clinit>()V
    .registers 3

    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    sput-object v0, Lf3/i;->a:Ljava/io/PrintStream;

    new-instance v0, Lf3/b;

    .line 1
    sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale;

    const-string v2, "HH:mm:ss,SSS"

    invoke-direct {v0, v2, v1}, Lf3/b;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    .line 2
    sput-object v0, Lf3/i;->b:Lf3/b;

    return-void
.end method

.method public static a(Ljava/lang/StringBuilder;Ljava/lang/String;Ld3/d;)V
    .registers 9

    invoke-interface {p2}, Ld3/d;->e()Z

    move-result v0

    if-eqz v0, :cond_d

    invoke-static {p1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "+ "

    goto :goto_13

    :cond_d
    invoke-static {p1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "|-"

    :goto_13
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

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

    move-result-object v0

    sget-object v1, Lf3/i;->b:Lf3/b;

    if-eqz v1, :cond_32

    invoke-interface {p2}, Ld3/d;->d()Ljava/lang/Long;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lf3/b;->a(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, " "

    invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_32
    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    sget-object v0, Ln2/f;->b:Ljava/lang/String;

    invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {p2}, Ld3/d;->b()Ljava/lang/Throwable;

    move-result-object v0

    if-eqz v0, :cond_85

    invoke-interface {p2}, Ld3/d;->b()Ljava/lang/Throwable;

    move-result-object v0

    .line 1
    new-instance v1, Ljava/util/LinkedList;

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

    const/4 v2, 0x0

    invoke-static {v1, v0, v2}, Le/l;->e(Ljava/util/List;Ljava/lang/Throwable;[Ljava/lang/StackTraceElement;)V

    const/4 v0, 0x0

    new-array v2, v0, [Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/util/LinkedList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Ljava/lang/String;

    .line 2
    array-length v2, v1

    move v3, v0

    :goto_5b
    if-ge v3, v2, :cond_85

    aget-object v4, v1, v3

    const-string v5, "Caused by: "

    invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_68

    goto :goto_7a

    :cond_68
    invoke-virtual {v4, v0}, Ljava/lang/String;->charAt(I)C

    move-result v5

    invoke-static {v5}, Ljava/lang/Character;->isDigit(C)Z

    move-result v5

    if-eqz v5, :cond_75

    const-string v5, "\t... "

    goto :goto_77

    :cond_75
    const-string v5, "\tat "

    :goto_77
    invoke-virtual {p0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :goto_7a
    invoke-virtual {p0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget-object v4, Ln2/f;->b:Ljava/lang/String;

    invoke-virtual {p0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v3, v3, 0x1

    goto :goto_5b

    .line 3
    :cond_85
    invoke-interface {p2}, Ld3/d;->e()Z

    move-result v0

    if-eqz v0, :cond_b0

    invoke-interface {p2}, Ld3/d;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_8f
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_b0

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ld3/d;

    new-instance v1, Ljava/lang/StringBuilder;

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

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "  "

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

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

    move-result-object v1

    invoke-static {p0, v1, v0}, Lf3/i;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ld3/d;)V

    goto :goto_8f

    :cond_b0
    return-void
.end method

.method public static b(Ln2/e;)V
    .registers 7

    if-eqz p0, :cond_86

    .line 1
    move-object v0, p0

    check-cast v0, Lb2/d;

    .line 2
    iget-object v1, v0, Lb2/d;->t:Ln2/d;

    if-nez v1, :cond_23

    .line 3
    sget-object p0, Lf3/i;->a:Ljava/io/PrintStream;

    const-string v1, "WARN: Context named \""

    invoke-static {v1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 4
    iget-object v0, v0, Lb2/d;->s:Ljava/lang/String;

    .line 5
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "\" has no status manager"

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

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

    move-result-object v0

    invoke-virtual {p0, v0}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    goto :goto_85

    :cond_23
    new-instance v0, Lf/o;

    invoke-direct {v0, p0}, Lf/o;-><init>(Ln2/e;)V

    .line 6
    iget-object p0, v0, Lf/o;->s:Ljava/lang/Object;

    check-cast p0, Ln2/d;

    invoke-virtual {p0}, Ln2/d;->f()Ljava/util/List;

    move-result-object p0

    const-wide/16 v2, 0x0

    invoke-static {p0, v2, v3}, Lf/o;->g(Ljava/util/List;J)Ljava/util/List;

    move-result-object p0

    check-cast p0, Ljava/util/ArrayList;

    invoke-virtual {p0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object p0

    const/4 v0, 0x0

    :cond_3d
    :goto_3d
    invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_54

    invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ld3/d;

    invoke-interface {v4}, Ld3/d;->a()I

    move-result v5

    if-le v5, v0, :cond_3d

    invoke-interface {v4}, Ld3/d;->a()I

    move-result v0

    goto :goto_3d

    :cond_54
    const/4 p0, 0x1

    if-lt v0, p0, :cond_85

    .line 7
    new-instance p0, Ljava/lang/StringBuilder;

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

    invoke-virtual {v1}, Ln2/d;->f()Ljava/util/List;

    move-result-object v0

    invoke-static {v0, v2, v3}, Lf/o;->g(Ljava/util/List;J)Ljava/util/List;

    move-result-object v0

    .line 8
    check-cast v0, Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_6a
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_7c

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ld3/d;

    const-string v2, ""

    invoke-static {p0, v2, v1}, Lf3/i;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ld3/d;)V

    goto :goto_6a

    .line 9
    :cond_7c
    sget-object v0, Lf3/i;->a:Ljava/io/PrintStream;

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

    move-result-object p0

    invoke-virtual {v0, p0}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    :cond_85
    :goto_85
    return-void

    .line 10
    :cond_86
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string v0, "Context argument cannot be null"

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

    throw p0
.end method
