.class public Lh2/b;
.super Lh2/d;
.source ""


# instance fields
.field public w:I

.field public x:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lp2/a<",
            "Lk2/c;",
            ">;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Lh2/d;-><init>()V

    const/4 v0, 0x5

    iput v0, p0, Lh2/b;->w:I

    const/4 v0, 0x0

    iput-object v0, p0, Lh2/b;->x:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public b(Ljava/lang/Object;)Ljava/lang/String;
    .registers 6

    check-cast p1, Lk2/c;

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

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

    iget-object v1, p0, Lh2/b;->x:Ljava/util/List;

    const/4 v2, 0x0

    if-eqz v1, :cond_2e

    move v1, v2

    :goto_d
    iget-object v3, p0, Lh2/b;->x:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v1, v3, :cond_28

    iget-object v3, p0, Lh2/b;->x:Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lp2/a;

    invoke-interface {v3, p1}, Lp2/a;->s(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_25

    const/4 v1, 0x1

    goto :goto_29

    :cond_25
    add-int/lit8 v1, v1, 0x1

    goto :goto_d

    :cond_28
    move v1, v2

    :goto_29
    if-nez v1, :cond_2e

    const-string p1, ""

    goto :goto_61

    :cond_2e
    invoke-interface {p1}, Lk2/c;->b()[Ljava/lang/StackTraceElement;

    move-result-object p1

    if-eqz p1, :cond_5f

    array-length v1, p1

    if-lez v1, :cond_5f

    iget v1, p0, Lh2/b;->w:I

    array-length v3, p1

    if-ge v1, v3, :cond_3d

    goto :goto_3e

    :cond_3d
    array-length v1, p1

    :goto_3e
    if-ge v2, v1, :cond_5a

    const-string v3, "Caller+"

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

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

    const-string v3, "\t at "

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

    aget-object v3, p1, v2

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

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

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

    add-int/lit8 v2, v2, 0x1

    goto :goto_3e

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

    move-result-object p1

    goto :goto_61

    :cond_5f
    sget-object p1, Lk2/a;->a:Ljava/lang/String;

    :goto_61
    return-object p1
.end method

.method public start()V
    .registers 7

    invoke-virtual {p0}, Lz2/c;->D()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_7

    return-void

    :cond_7
    :try_start_7
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lh2/b;->w:I
    :try_end_d
    .catch Ljava/lang/NumberFormatException; {:try_start_7 .. :try_end_d} :catch_e

    goto :goto_1c

    :catch_e
    move-exception v1

    const-string v2, "Failed to parse depth option ["

    const-string v3, "]"

    invoke-static {v2, v0, v3}, Le/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 1
    iget-object v2, p0, Lz2/c;->t:Lc3/d;

    invoke-virtual {v2, v0, v1}, Lc3/d;->g(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 2
    :goto_1c
    iget-object v0, p0, Lz2/c;->u:Ljava/util/List;

    if-eqz v0, :cond_5e

    .line 3
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    const/4 v2, 0x1

    if-le v1, v2, :cond_5e

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    :goto_2b
    if-ge v2, v1, :cond_5e

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 4
    iget-object v4, p0, Lz2/c;->t:Lc3/d;

    invoke-virtual {v4}, Lc3/d;->y()Ln2/e;

    move-result-object v4

    if-eqz v4, :cond_5b

    const-string v5, "EVALUATOR_MAP"

    .line 5
    invoke-interface {v4, v5}, Ln2/e;->f(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/Map;

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lp2/a;

    if-eqz v3, :cond_5b

    .line 6
    iget-object v4, p0, Lh2/b;->x:Ljava/util/List;

    if-nez v4, :cond_56

    new-instance v4, Ljava/util/ArrayList;

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

    iput-object v4, p0, Lh2/b;->x:Ljava/util/List;

    :cond_56
    iget-object v4, p0, Lh2/b;->x:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_5b
    add-int/lit8 v2, v2, 0x1

    goto :goto_2b

    :cond_5e
    return-void
.end method
