.class public Lk2/g;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lk2/c;


# static fields
.field public static final o:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public transient a:Ljava/lang/String;

.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:Lb2/d;

.field public e:Lk2/f;

.field public transient f:Lb2/b;

.field public g:Ljava/lang/String;

.field public transient h:Ljava/lang/String;

.field public transient i:[Ljava/lang/Object;

.field public j:Lk2/j;

.field public k:[Ljava/lang/StackTraceElement;

.field public l:Lta/e;

.field public m:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field public n:J


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

    new-instance v0, Ljava/util/HashMap;

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

    sput-object v0, Lk2/g;->o:Ljava/util/Map;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Lb2/c;Lb2/b;Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
    .registers 8

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

    iput-object p1, p0, Lk2/g;->a:Ljava/lang/String;

    .line 1
    iget-object p1, p2, Lb2/c;->r:Ljava/lang/String;

    .line 2
    iput-object p1, p0, Lk2/g;->c:Ljava/lang/String;

    .line 3
    iget-object p1, p2, Lb2/c;->y:Lb2/d;

    .line 4
    iput-object p1, p0, Lk2/g;->d:Lb2/d;

    .line 5
    iget-object p1, p1, Lb2/d;->F:Lk2/f;

    .line 6
    iput-object p1, p0, Lk2/g;->e:Lk2/f;

    iput-object p3, p0, Lk2/g;->f:Lb2/b;

    iput-object p4, p0, Lk2/g;->g:Ljava/lang/String;

    iput-object p6, p0, Lk2/g;->i:[Ljava/lang/Object;

    const/4 p1, 0x1

    const/4 p3, 0x0

    if-nez p5, :cond_4e

    const/4 p4, 0x0

    if-eqz p6, :cond_2e

    .line 7
    array-length p5, p6

    if-nez p5, :cond_22

    goto :goto_2e

    :cond_22
    array-length p5, p6

    add-int/lit8 p5, p5, -0x1

    aget-object p5, p6, p5

    instance-of v0, p5, Ljava/lang/Throwable;

    if-eqz v0, :cond_2e

    check-cast p5, Ljava/lang/Throwable;

    goto :goto_2f

    :cond_2e
    :goto_2e
    move-object p5, p4

    :goto_2f
    if-eqz p5, :cond_33

    move p4, p1

    goto :goto_34

    :cond_33
    move p4, p3

    :goto_34
    if-eqz p4, :cond_4e

    if-eqz p6, :cond_46

    .line 8
    array-length p4, p6

    if-eqz p4, :cond_46

    array-length p4, p6

    add-int/lit8 p4, p4, -0x1

    new-array v0, p4, [Ljava/lang/Object;

    invoke-static {p6, p3, v0, p3, p4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 9
    iput-object v0, p0, Lk2/g;->i:[Ljava/lang/Object;

    goto :goto_4e

    .line 10
    :cond_46
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "non-sensical empty or null argument array"

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

    throw p1

    :cond_4e
    :goto_4e
    if-eqz p5, :cond_8f

    .line 11
    new-instance p4, Lk2/j;

    invoke-direct {p4, p5}, Lk2/j;-><init>(Ljava/lang/Throwable;)V

    iput-object p4, p0, Lk2/g;->j:Lk2/j;

    .line 12
    iget-object p2, p2, Lb2/c;->y:Lb2/d;

    .line 13
    iget-boolean p2, p2, Lb2/d;->H:Z

    if-eqz p2, :cond_8f

    .line 14
    iget-boolean p2, p4, Lk2/j;->i:Z

    if-eqz p2, :cond_62

    goto :goto_8f

    .line 15
    :cond_62
    iget-object p2, p4, Lk2/j;->h:Lk2/h;

    if-nez p2, :cond_6d

    new-instance p2, Lk2/h;

    invoke-direct {p2}, Lk2/h;-><init>()V

    iput-object p2, p4, Lk2/j;->h:Lk2/h;

    :cond_6d
    iget-object p2, p4, Lk2/j;->h:Lk2/h;

    if-eqz p2, :cond_8f

    .line 16
    iput-boolean p1, p4, Lk2/j;->i:Z

    :goto_73
    if-eqz p4, :cond_8f

    .line 17
    iget-object p1, p4, Lk2/j;->d:[Lk2/i;

    .line 18
    invoke-virtual {p2, p1}, Lk2/h;->c([Lk2/i;)V

    .line 19
    iget-object p1, p4, Lk2/j;->g:[Lk2/j;

    if-eqz p1, :cond_8c

    .line 20
    array-length p5, p1

    move p6, p3

    :goto_80
    if-ge p6, p5, :cond_8c

    aget-object v0, p1, p6

    .line 21
    iget-object v0, v0, Lk2/j;->d:[Lk2/i;

    .line 22
    invoke-virtual {p2, v0}, Lk2/h;->c([Lk2/i;)V

    add-int/lit8 p6, p6, 0x1

    goto :goto_80

    .line 23
    :cond_8c
    iget-object p4, p4, Lk2/j;->f:Lk2/j;

    goto :goto_73

    .line 24
    :cond_8f
    :goto_8f
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide p1

    iput-wide p1, p0, Lk2/g;->n:J

    return-void
.end method


# virtual methods
.method public a()Lb2/b;
    .registers 2

    iget-object v0, p0, Lk2/g;->f:Lb2/b;

    return-object v0
.end method

.method public b()[Ljava/lang/StackTraceElement;
    .registers 13

    iget-object v0, p0, Lk2/g;->k:[Ljava/lang/StackTraceElement;

    if-nez v0, :cond_81

    new-instance v0, Ljava/lang/Throwable;

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

    iget-object v1, p0, Lk2/g;->a:Ljava/lang/String;

    iget-object v2, p0, Lk2/g;->d:Lb2/d;

    .line 1
    iget v3, v2, Lb2/d;->J:I

    .line 2
    iget-object v2, v2, Lb2/d;->L:Ljava/util/List;

    .line 3
    sget-object v4, Lk2/a;->a:Ljava/lang/String;

    .line 4
    invoke-virtual {v0}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;

    move-result-object v0

    const/4 v4, 0x0

    const/4 v5, -0x1

    move v6, v4

    move v7, v5

    :goto_1b
    array-length v8, v0

    if-ge v6, v8, :cond_66

    aget-object v8, v0, v6

    invoke-virtual {v8}, Ljava/lang/StackTraceElement;->getClassName()Ljava/lang/String;

    move-result-object v8

    .line 5
    invoke-virtual {v8, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    const/4 v10, 0x1

    if-nez v9, :cond_5b

    const-string v9, "org.apache.log4j.Category"

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_5b

    const-string v9, "org.slf4j.Logger"

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

    move-result v9

    if-nez v9, :cond_5b

    if-nez v2, :cond_3e

    goto :goto_56

    .line 6
    :cond_3e
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v9

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

    move-result v11

    if-eqz v11, :cond_56

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

    move-result-object v11

    check-cast v11, Ljava/lang/String;

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

    move-result v11

    if-eqz v11, :cond_42

    move v8, v10

    goto :goto_57

    :cond_56
    :goto_56
    move v8, v4

    :goto_57
    if-eqz v8, :cond_5a

    goto :goto_5b

    :cond_5a
    move v10, v4

    :cond_5b
    :goto_5b
    if-eqz v10, :cond_60

    add-int/lit8 v7, v6, 0x1

    goto :goto_63

    :cond_60
    if-eq v7, v5, :cond_63

    goto :goto_66

    :cond_63
    :goto_63
    add-int/lit8 v6, v6, 0x1

    goto :goto_1b

    :cond_66
    :goto_66
    if-ne v7, v5, :cond_6b

    .line 7
    sget-object v0, Lk2/a;->b:[Ljava/lang/StackTraceElement;

    goto :goto_7f

    :cond_6b
    array-length v1, v0

    sub-int/2addr v1, v7

    if-ge v3, v1, :cond_70

    goto :goto_71

    :cond_70
    move v3, v1

    :goto_71
    new-array v1, v3, [Ljava/lang/StackTraceElement;

    :goto_73
    if-ge v4, v3, :cond_7e

    add-int v2, v7, v4

    aget-object v2, v0, v2

    aput-object v2, v1, v4

    add-int/lit8 v4, v4, 0x1

    goto :goto_73

    :cond_7e
    move-object v0, v1

    .line 8
    :goto_7f
    iput-object v0, p0, Lk2/g;->k:[Ljava/lang/StackTraceElement;

    :cond_81
    iget-object v0, p0, Lk2/g;->k:[Ljava/lang/StackTraceElement;

    return-object v0
.end method

.method public c()J
    .registers 3

    iget-wide v0, p0, Lk2/g;->n:J

    return-wide v0
.end method

.method public d()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lk2/g;->c:Ljava/lang/String;

    return-object v0
.end method

.method public e()V
    .registers 2

    invoke-virtual {p0}, Lk2/g;->f()Ljava/lang/String;

    .line 1
    iget-object v0, p0, Lk2/g;->b:Ljava/lang/String;

    if-nez v0, :cond_11

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lk2/g;->b:Ljava/lang/String;

    .line 2
    :cond_11
    invoke-virtual {p0}, Lk2/g;->g()Ljava/util/Map;

    return-void
.end method

.method public f()Ljava/lang/String;
    .registers 13

    iget-object v0, p0, Lk2/g;->h:Ljava/lang/String;

    if-eqz v0, :cond_5

    return-object v0

    :cond_5
    iget-object v0, p0, Lk2/g;->i:[Ljava/lang/Object;

    if-eqz v0, :cond_e3

    iget-object v1, p0, Lk2/g;->g:Ljava/lang/String;

    const/4 v2, 0x0

    const/4 v3, -0x1

    if-eqz v0, :cond_1e

    .line 1
    array-length v4, v0

    if-nez v4, :cond_13

    goto :goto_1e

    :cond_13
    array-length v4, v0

    add-int/2addr v4, v3

    aget-object v4, v0, v4

    instance-of v5, v4, Ljava/lang/Throwable;

    if-eqz v5, :cond_1e

    check-cast v4, Ljava/lang/Throwable;

    goto :goto_1f

    :cond_1e
    :goto_1e
    move-object v4, v2

    :goto_1f
    const/4 v5, 0x0

    if-eqz v4, :cond_38

    if-eqz v0, :cond_30

    .line 2
    array-length v6, v0

    if-eqz v6, :cond_30

    array-length v6, v0

    add-int/2addr v6, v3

    new-array v7, v6, [Ljava/lang/Object;

    invoke-static {v0, v5, v7, v5, v6}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    move-object v0, v7

    goto :goto_38

    :cond_30
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "non-sensical empty or null argument array"

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

    throw v0

    :cond_38
    :goto_38
    if-nez v1, :cond_41

    .line 3
    new-instance v1, Lva/a;

    invoke-direct {v1, v2, v0, v4}, Lva/a;-><init>(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    goto/16 :goto_e0

    :cond_41
    if-nez v0, :cond_4b

    new-instance v0, Lva/a;

    invoke-direct {v0, v1}, Lva/a;-><init>(Ljava/lang/String;)V

    move-object v1, v0

    goto/16 :goto_e0

    :cond_4b
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v6

    add-int/lit8 v6, v6, 0x32

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

    move v6, v5

    move v7, v6

    :goto_58
    array-length v8, v0

    if-ge v6, v8, :cond_d0

    const-string v8, "{}"

    invoke-virtual {v1, v8, v7}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I

    move-result v8

    if-ne v8, v3, :cond_7f

    if-nez v7, :cond_6d

    new-instance v2, Lva/a;

    invoke-direct {v2, v1, v0, v4}, Lva/a;-><init>(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    move-object v1, v2

    goto/16 :goto_e0

    :cond_6d
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v3

    invoke-virtual {v2, v1, v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;

    new-instance v1, Lva/a;

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

    move-result-object v2

    invoke-direct {v1, v2, v0, v4}, Lva/a;-><init>(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    goto/16 :goto_e0

    :cond_7f
    const/16 v9, 0x5c

    const/4 v10, 0x1

    if-nez v8, :cond_85

    goto :goto_8f

    :cond_85
    add-int/lit8 v11, v8, -0x1

    .line 4
    invoke-virtual {v1, v11}, Ljava/lang/String;->charAt(I)C

    move-result v11

    if-ne v11, v9, :cond_8f

    move v11, v10

    goto :goto_90

    :cond_8f
    :goto_8f
    move v11, v5

    :goto_90
    if-eqz v11, :cond_be

    const/4 v11, 0x2

    if-lt v8, v11, :cond_9f

    add-int/lit8 v11, v8, -0x2

    .line 5
    invoke-virtual {v1, v11}, Ljava/lang/String;->charAt(I)C

    move-result v11

    if-ne v11, v9, :cond_9f

    move v9, v10

    goto :goto_a0

    :cond_9f
    move v9, v5

    :goto_a0
    if-nez v9, :cond_b1

    add-int/lit8 v6, v6, -0x1

    add-int/lit8 v9, v8, -0x1

    .line 6
    invoke-virtual {v2, v1, v7, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;

    const/16 v7, 0x7b

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

    add-int/lit8 v8, v8, 0x1

    goto :goto_cd

    :cond_b1
    add-int/lit8 v9, v8, -0x1

    invoke-virtual {v2, v1, v7, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;

    aget-object v7, v0, v6

    new-instance v9, Ljava/util/HashMap;

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

    goto :goto_c8

    :cond_be
    invoke-virtual {v2, v1, v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;

    aget-object v7, v0, v6

    new-instance v9, Ljava/util/HashMap;

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

    :goto_c8
    invoke-static {v2, v7, v9}, Lo/b;->a(Ljava/lang/StringBuilder;Ljava/lang/Object;Ljava/util/Map;)V

    add-int/lit8 v8, v8, 0x2

    :goto_cd
    move v7, v8

    add-int/2addr v6, v10

    goto :goto_58

    :cond_d0
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v3

    invoke-virtual {v2, v1, v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;

    new-instance v1, Lva/a;

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

    move-result-object v2

    invoke-direct {v1, v2, v0, v4}, Lva/a;-><init>(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    .line 7
    :goto_e0
    iget-object v0, v1, Lva/a;->a:Ljava/lang/String;

    goto :goto_e5

    .line 8
    :cond_e3
    iget-object v0, p0, Lk2/g;->g:Ljava/lang/String;

    :goto_e5
    iput-object v0, p0, Lk2/g;->h:Ljava/lang/String;

    iget-object v0, p0, Lk2/g;->h:Ljava/lang/String;

    return-object v0
.end method

.method public g()Ljava/util/Map;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lk2/g;->m:Ljava/util/Map;

    if-nez v0, :cond_25

    .line 1
    sget-object v0, Lta/d;->a:Lxa/a;

    .line 2
    instance-of v1, v0, Lm2/c;

    if-eqz v1, :cond_1f

    check-cast v0, Lm2/c;

    .line 3
    iget-object v1, v0, Lm2/c;->s:Ljava/lang/ThreadLocal;

    const/4 v2, 0x2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V

    iget-object v0, v0, Lm2/c;->r:Ljava/lang/InheritableThreadLocal;

    invoke-virtual {v0}, Ljava/lang/InheritableThreadLocal;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    goto :goto_23

    .line 4
    :cond_1f
    invoke-interface {v0}, Lxa/a;->a()Ljava/util/Map;

    move-result-object v0

    :goto_23
    iput-object v0, p0, Lk2/g;->m:Ljava/util/Map;

    :cond_25
    iget-object v0, p0, Lk2/g;->m:Ljava/util/Map;

    if-nez v0, :cond_2d

    sget-object v0, Lk2/g;->o:Ljava/util/Map;

    iput-object v0, p0, Lk2/g;->m:Ljava/util/Map;

    :cond_2d
    iget-object v0, p0, Lk2/g;->m:Ljava/util/Map;

    return-object v0
.end method

.method public h()Lk2/f;
    .registers 2

    iget-object v0, p0, Lk2/g;->e:Lk2/f;

    return-object v0
.end method

.method public i()Lta/e;
    .registers 2

    iget-object v0, p0, Lk2/g;->l:Lta/e;

    return-object v0
.end method

.method public j()Lk2/d;
    .registers 2

    iget-object v0, p0, Lk2/g;->j:Lk2/j;

    return-object v0
.end method

.method public k()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lk2/g;->b:Ljava/lang/String;

    if-nez v0, :cond_e

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lk2/g;->b:Ljava/lang/String;

    :cond_e
    iget-object v0, p0, Lk2/g;->b:Ljava/lang/String;

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .registers 3

    new-instance v0, Ljava/lang/StringBuilder;

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

    const/16 v1, 0x5b

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

    iget-object v1, p0, Lk2/g;->f:Lb2/b;

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

    const-string v1, "] "

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

    invoke-virtual {p0}, Lk2/g;->f()Ljava/lang/String;

    move-result-object v1

    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

    return-object v0
.end method
