.class public final Lb2/c;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lta/b;
.implements Lc3/a;
.implements Ljava/io/Serializable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lta/b;",
        "Lc3/a<",
        "Lk2/c;",
        ">;",
        "Ljava/io/Serializable;"
    }
.end annotation


# static fields
.field public static final z:Ljava/lang/String;


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

.field public transient s:Lb2/b;

.field public transient t:I

.field public transient u:Lb2/c;

.field public transient v:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lb2/c;",
            ">;"
        }
    .end annotation
.end field

.field public transient w:Lc3/b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lc3/b<",
            "Lk2/c;",
            ">;"
        }
    .end annotation
.end field

.field public transient x:Z

.field public final transient y:Lb2/d;


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

    const-class v0, Lb2/c;

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

    move-result-object v0

    sput-object v0, Lb2/c;->z:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Lb2/c;Lb2/d;)V
    .registers 5

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

    const/4 v0, 0x1

    iput-boolean v0, p0, Lb2/c;->x:Z

    iput-object p1, p0, Lb2/c;->r:Ljava/lang/String;

    iput-object p2, p0, Lb2/c;->u:Lb2/c;

    iput-object p3, p0, Lb2/c;->y:Lb2/d;

    return-void
.end method


# virtual methods
.method public b(Ljava/lang/String;)V
    .registers 9

    sget-object v1, Lb2/c;->z:Ljava/lang/String;

    sget-object v3, Lb2/b;->u:Lb2/b;

    const/4 v2, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v4, p1

    invoke-virtual/range {v0 .. v6}, Lb2/c;->m(Ljava/lang/String;Lta/e;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    return-void
.end method

.method public d(Ljava/lang/String;)Lb2/c;
    .registers 7

    iget-object v0, p0, Lb2/c;->r:Ljava/lang/String;

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

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-static {p1, v0}, Le/g;->c(Ljava/lang/String;I)I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_2c

    iget-object v0, p0, Lb2/c;->v:Ljava/util/List;

    if-nez v0, :cond_1b

    new-instance v0, Ljava/util/ArrayList;

    const/4 v1, 0x5

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

    iput-object v0, p0, Lb2/c;->v:Ljava/util/List;

    :cond_1b
    new-instance v0, Lb2/c;

    iget-object v1, p0, Lb2/c;->y:Lb2/d;

    invoke-direct {v0, p1, p0, v1}, Lb2/c;-><init>(Ljava/lang/String;Lb2/c;Lb2/d;)V

    iget-object p1, p0, Lb2/c;->v:Ljava/util/List;

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

    iget p1, p0, Lb2/c;->t:I

    iput p1, v0, Lb2/c;->t:I

    return-object v0

    :cond_2c
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "For logger ["

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

    move-result-object v1

    iget-object v2, p0, Lb2/c;->r:Ljava/lang/String;

    const-string v3, "] child name ["

    const-string v4, " passed as parameter, may not include \'.\' after index"

    invoke-static {v1, v2, v3, p1, v4}, Lb1/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iget-object p1, p0, Lb2/c;->r:Ljava/lang/String;

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

    move-result p1

    add-int/lit8 p1, p1, 0x1

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

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

    move-result-object p1

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

    throw v0
.end method

.method public declared-synchronized e(Ln2/a;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ln2/a<",
            "Lk2/c;",
            ">;)V"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lb2/c;->w:Lc3/b;

    if-nez v0, :cond_c

    new-instance v0, Lc3/b;

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

    iput-object v0, p0, Lb2/c;->w:Lc3/b;

    :cond_c
    iget-object v0, p0, Lb2/c;->w:Lc3/b;

    invoke-virtual {v0, p1}, Lc3/b;->e(Ln2/a;)V
    :try_end_11
    .catchall {:try_start_1 .. :try_end_11} :catchall_13

    monitor-exit p0

    return-void

    :catchall_13
    move-exception p1

    monitor-exit p0

    throw p1
.end method

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

    sget-object v1, Lb2/c;->z:Ljava/lang/String;

    sget-object v3, Lb2/b;->w:Lb2/b;

    const/4 v2, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v4, p1

    invoke-virtual/range {v0 .. v6}, Lb2/c;->m(Ljava/lang/String;Lta/e;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    return-void
.end method

.method public g(Ljava/lang/String;)V
    .registers 9

    sget-object v1, Lb2/c;->z:Ljava/lang/String;

    sget-object v3, Lb2/b;->v:Lb2/b;

    const/4 v2, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v4, p1

    invoke-virtual/range {v0 .. v6}, Lb2/c;->m(Ljava/lang/String;Lta/e;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    return-void
.end method

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

    sget-object v1, Lb2/c;->z:Ljava/lang/String;

    sget-object v3, Lb2/b;->x:Lb2/b;

    const/4 v2, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v4, p1

    invoke-virtual/range {v0 .. v6}, Lb2/c;->m(Ljava/lang/String;Lta/e;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

    return-void
.end method

.method public final m(Ljava/lang/String;Lta/e;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
    .registers 21

    move-object v7, p0

    iget-object v0, v7, Lb2/c;->y:Lb2/d;

    .line 1
    iget-object v1, v0, Lb2/d;->G:Lk2/k;

    invoke-virtual {v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->size()I

    move-result v1

    const/4 v8, 0x1

    const/4 v9, 0x2

    const/4 v10, 0x0

    if-nez v1, :cond_f

    goto :goto_4b

    :cond_f
    iget-object v0, v0, Lb2/d;->G:Lk2/k;

    .line 2
    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->size()I

    move-result v1

    if-ne v1, v8, :cond_2a

    :try_start_17
    invoke-virtual {v0, v10}, Ljava/util/concurrent/CopyOnWriteArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ll2/b;

    const/4 v1, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v2, p0

    move-object/from16 v3, p3

    move-object/from16 v4, p4

    invoke-virtual/range {v0 .. v6}, Ll2/b;->A(Lta/e;Lb2/c;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)I

    move-result v0
    :try_end_29
    .catch Ljava/lang/IndexOutOfBoundsException; {:try_start_17 .. :try_end_29} :catch_4b

    goto :goto_4c

    :cond_2a
    invoke-virtual {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->toArray()[Ljava/lang/Object;

    move-result-object v11

    array-length v12, v11

    move v13, v10

    :goto_30
    if-ge v13, v12, :cond_4b

    aget-object v0, v11, v13

    check-cast v0, Ll2/b;

    const/4 v1, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v2, p0

    move-object/from16 v3, p3

    move-object/from16 v4, p4

    invoke-virtual/range {v0 .. v6}, Ll2/b;->A(Lta/e;Lb2/c;Lb2/b;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)I

    move-result v0

    if-eq v0, v8, :cond_4c

    const/4 v1, 0x3

    if-ne v0, v1, :cond_48

    goto :goto_4c

    :cond_48
    add-int/lit8 v13, v13, 0x1

    goto :goto_30

    :catch_4b
    :cond_4b
    :goto_4b
    move v0, v9

    :cond_4c
    :goto_4c
    if-ne v0, v9, :cond_57

    .line 3
    iget v0, v7, Lb2/c;->t:I

    move-object/from16 v3, p3

    iget v1, v3, Lb2/b;->r:I

    if-le v0, v1, :cond_5c

    return-void

    :cond_57
    move-object/from16 v3, p3

    if-ne v0, v8, :cond_5c

    return-void

    .line 4
    :cond_5c
    new-instance v8, Lk2/g;

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, v8

    move-object v1, p1

    move-object v2, p0

    move-object/from16 v3, p3

    move-object/from16 v4, p4

    invoke-direct/range {v0 .. v6}, Lk2/g;-><init>(Ljava/lang/String;Lb2/c;Lb2/b;Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V

    .line 5
    iget-object v0, v8, Lk2/g;->l:Lta/e;

    if-nez v0, :cond_b7

    const/4 v0, 0x0

    iput-object v0, v8, Lk2/g;->l:Lta/e;

    move-object v0, v7

    move v1, v10

    :goto_73
    if-eqz v0, :cond_88

    .line 6
    iget-object v2, v0, Lb2/c;->w:Lc3/b;

    if-eqz v2, :cond_7e

    invoke-virtual {v2, v8}, Lc3/b;->a(Ljava/lang/Object;)I

    move-result v2

    goto :goto_7f

    :cond_7e
    move v2, v10

    :goto_7f
    add-int/2addr v1, v2

    .line 7
    iget-boolean v2, v0, Lb2/c;->x:Z

    if-nez v2, :cond_85

    goto :goto_88

    :cond_85
    iget-object v0, v0, Lb2/c;->u:Lb2/c;

    goto :goto_73

    :cond_88
    :goto_88
    if-nez v1, :cond_b6

    iget-object v0, v7, Lb2/c;->y:Lb2/d;

    .line 8
    iget v1, v0, Lb2/d;->C:I

    add-int/lit8 v2, v1, 0x1

    iput v2, v0, Lb2/d;->C:I

    if-nez v1, :cond_b6

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

    .line 10
    new-instance v2, Ld3/g;

    const-string v3, "No appenders present in context ["

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

    move-result-object v3

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

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

    const-string v0, "] for logger ["

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

    .line 13
    iget-object v0, v7, Lb2/c;->r:Ljava/lang/String;

    const-string v4, "]."

    .line 14
    invoke-static {v3, v0, v4}, Landroidx/activity/b;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v2, v0, p0}, Ld3/g;-><init>(Ljava/lang/String;Ljava/lang/Object;)V

    invoke-virtual {v1, v2}, Ln2/d;->a(Ld3/d;)V

    :cond_b6
    return-void

    .line 15
    :cond_b7
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "The marker has been already set for this event."

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

    throw v0
.end method

.method public final declared-synchronized o(I)V
    .registers 5

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lb2/c;->s:Lb2/b;

    if-nez v0, :cond_20

    iput p1, p0, Lb2/c;->t:I

    iget-object v0, p0, Lb2/c;->v:Ljava/util/List;

    if-eqz v0, :cond_20

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

    move-result v0

    const/4 v1, 0x0

    :goto_10
    if-ge v1, v0, :cond_20

    iget-object v2, p0, Lb2/c;->v:Ljava/util/List;

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

    move-result-object v2

    check-cast v2, Lb2/c;

    invoke-virtual {v2, p1}, Lb2/c;->o(I)V
    :try_end_1d
    .catchall {:try_start_1 .. :try_end_1d} :catchall_22

    add-int/lit8 v1, v1, 0x1

    goto :goto_10

    :cond_20
    monitor-exit p0

    return-void

    :catchall_22
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public p()V
    .registers 3

    .line 1
    iget-object v0, p0, Lb2/c;->w:Lc3/b;

    if-eqz v0, :cond_7

    invoke-virtual {v0}, Lc3/b;->b()V

    :cond_7
    const/16 v0, 0x2710

    .line 2
    iput v0, p0, Lb2/c;->t:I

    .line 3
    iget-object v0, p0, Lb2/c;->u:Lb2/c;

    const/4 v1, 0x1

    if-nez v0, :cond_12

    move v0, v1

    goto :goto_13

    :cond_12
    const/4 v0, 0x0

    :goto_13
    if-eqz v0, :cond_18

    .line 4
    sget-object v0, Lb2/b;->x:Lb2/b;

    goto :goto_19

    :cond_18
    const/4 v0, 0x0

    :goto_19
    iput-object v0, p0, Lb2/c;->s:Lb2/b;

    .line 5
    iput-boolean v1, p0, Lb2/c;->x:Z

    iget-object v0, p0, Lb2/c;->v:Ljava/util/List;

    if-nez v0, :cond_22

    return-void

    :cond_22
    new-instance v0, Ljava/util/concurrent/CopyOnWriteArrayList;

    iget-object v1, p0, Lb2/c;->v:Ljava/util/List;

    invoke-direct {v0, v1}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>(Ljava/util/Collection;)V

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

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_3d

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

    move-result-object v1

    check-cast v1, Lb2/c;

    invoke-virtual {v1}, Lb2/c;->p()V

    goto :goto_2d

    :cond_3d
    return-void
.end method

.method public declared-synchronized q(Lb2/b;)V
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lb2/c;->s:Lb2/b;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_95

    if-ne v0, p1, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    const/4 v0, 0x0

    if-nez p1, :cond_1c

    .line 1
    :try_start_a
    iget-object v1, p0, Lb2/c;->u:Lb2/c;

    if-nez v1, :cond_10

    const/4 v1, 0x1

    goto :goto_11

    :cond_10
    move v1, v0

    :goto_11
    if-nez v1, :cond_14

    goto :goto_1c

    .line 2
    :cond_14
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "The level of the root logger cannot be set to null"

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

    throw p1

    :cond_1c
    :goto_1c
    iput-object p1, p0, Lb2/c;->s:Lb2/b;

    if-nez p1, :cond_5d

    iget-object p1, p0, Lb2/c;->u:Lb2/c;

    iget v1, p1, Lb2/c;->t:I

    iput v1, p0, Lb2/c;->t:I

    .line 3
    iget p1, p1, Lb2/c;->t:I

    .line 4
    sget-object v1, Lb2/b;->x:Lb2/b;

    const/high16 v2, -0x80000000

    if-eq p1, v2, :cond_5a

    const/16 v2, 0x1388

    if-eq p1, v2, :cond_57

    const/16 v2, 0x2710

    if-eq p1, v2, :cond_55

    const/16 v2, 0x4e20

    if-eq p1, v2, :cond_52

    const/16 v2, 0x7530

    if-eq p1, v2, :cond_4f

    const v2, 0x9c40

    if-eq p1, v2, :cond_4c

    const v2, 0x7fffffff

    if-eq p1, v2, :cond_49

    goto :goto_55

    .line 5
    :cond_49
    sget-object p1, Lb2/b;->t:Lb2/b;

    goto :goto_61

    :cond_4c
    sget-object p1, Lb2/b;->u:Lb2/b;

    goto :goto_61

    :cond_4f
    sget-object p1, Lb2/b;->v:Lb2/b;

    goto :goto_61

    :cond_52
    sget-object p1, Lb2/b;->w:Lb2/b;

    goto :goto_61

    :cond_55
    :goto_55
    move-object p1, v1

    goto :goto_61

    :cond_57
    sget-object p1, Lb2/b;->y:Lb2/b;

    goto :goto_61

    :cond_5a
    sget-object p1, Lb2/b;->z:Lb2/b;

    goto :goto_61

    .line 6
    :cond_5d
    iget v1, p1, Lb2/b;->r:I

    iput v1, p0, Lb2/c;->t:I

    :goto_61
    iget-object v1, p0, Lb2/c;->v:Ljava/util/List;

    if-eqz v1, :cond_7b

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

    move-result v1

    :goto_69
    if-ge v0, v1, :cond_7b

    iget-object v2, p0, Lb2/c;->v:Ljava/util/List;

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

    move-result-object v2

    check-cast v2, Lb2/c;

    iget v3, p0, Lb2/c;->t:I

    invoke-virtual {v2, v3}, Lb2/c;->o(I)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_69

    :cond_7b
    iget-object v0, p0, Lb2/c;->y:Lb2/d;

    .line 7
    iget-object v0, v0, Lb2/d;->D:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

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

    move-result v1

    if-eqz v1, :cond_93

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

    move-result-object v1

    check-cast v1, Lk2/e;

    invoke-interface {v1, p0, p1}, Lk2/e;->d(Lb2/c;Lb2/b;)V
    :try_end_92
    .catchall {:try_start_a .. :try_end_92} :catchall_95

    goto :goto_83

    .line 8
    :cond_93
    monitor-exit p0

    return-void

    :catchall_95
    move-exception p1

    monitor-exit p0

    throw p1
.end method

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

    const-string v0, "Logger["

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

    move-result-object v0

    iget-object v1, p0, Lb2/c;->r:Ljava/lang/String;

    const-string v2, "]"

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

    move-result-object v0

    return-object v0
.end method
