.class public Lwa/a;
.super Ljava/lang/Object;
.source ""


# static fields
.field public static d:Lwa/a;

.field public static e:Ljava/lang/Object;


# instance fields
.field public a:Z

.field public b:Lb2/d;

.field public final c:Lm2/b;


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

    new-instance v0, Lwa/a;

    invoke-direct {v0}, Lwa/a;-><init>()V

    sput-object v0, Lwa/a;->d:Lwa/a;

    new-instance v1, Ljava/lang/Object;

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

    sput-object v1, Lwa/a;->e:Ljava/lang/Object;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    :try_start_11
    new-instance v1, Lm2/a;

    iget-object v2, v0, Lwa/a;->b:Lb2/d;

    invoke-direct {v1, v2}, Lm2/a;-><init>(Lb2/d;)V

    invoke-virtual {v1}, Lm2/a;->a()V
    :try_end_1b
    .catch Lw2/k; {:try_start_11 .. :try_end_1b} :catch_1e
    .catchall {:try_start_11 .. :try_end_1b} :catchall_1c

    goto :goto_24

    :catchall_1c
    move-exception v0

    goto :goto_50

    :catch_1e
    move-exception v1

    :try_start_1f
    const-string v2, "Failed to auto configure default logger context"

    invoke-static {v2, v1}, Lva/e;->b(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_24
    iget-object v1, v0, Lwa/a;->b:Lb2/d;

    .line 2
    invoke-virtual {v1}, Lb2/d;->d()Ln2/d;

    move-result-object v1

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-nez v1, :cond_2f

    goto :goto_3d

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

    move-result-object v1

    check-cast v1, Ljava/util/ArrayList;

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

    move-result v1

    if-nez v1, :cond_3c

    goto :goto_3d

    :cond_3c
    move v2, v3

    :goto_3d
    if-nez v2, :cond_44

    .line 3
    iget-object v1, v0, Lwa/a;->b:Lb2/d;

    invoke-static {v1}, Lf3/i;->b(Ln2/e;)V

    :cond_44
    iget-object v1, v0, Lwa/a;->c:Lm2/b;

    iget-object v2, v0, Lwa/a;->b:Lb2/d;

    sget-object v4, Lwa/a;->e:Ljava/lang/Object;

    invoke-virtual {v1, v2, v4}, Lm2/b;->a(Lb2/d;Ljava/lang/Object;)V

    iput-boolean v3, v0, Lwa/a;->a:Z
    :try_end_4f
    .catchall {:try_start_1f .. :try_end_4f} :catchall_1c

    goto :goto_6b

    :goto_50
    const-string v1, "Failed to instantiate ["

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

    move-result-object v1

    const-class v2, Lb2/d;

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

    move-result-object v2

    invoke-virtual {v1, v2}, 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 {v1, v0}, Lva/e;->b(Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_6b
    return-void
.end method

.method public constructor <init>()V
    .registers 3

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

    const/4 v0, 0x0

    iput-boolean v0, p0, Lwa/a;->a:Z

    new-instance v0, Lb2/d;

    invoke-direct {v0}, Lb2/d;-><init>()V

    iput-object v0, p0, Lwa/a;->b:Lb2/d;

    sget-object v1, Lm2/b;->c:Lm2/b;

    iput-object v1, p0, Lwa/a;->c:Lm2/b;

    const-string v1, "default"

    invoke-virtual {v0, v1}, Lb2/d;->a(Ljava/lang/String;)V

    return-void
.end method
