.class public abstract Ln2/b;
.super Lc3/d;
.source ""

# interfaces
.implements Ln2/a;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<E:",
        "Ljava/lang/Object;",
        ">",
        "Lc3/d;",
        "Ln2/a<",
        "TE;>;"
    }
.end annotation


# instance fields
.field public A:I

.field public v:Z

.field public w:Z

.field public x:Ljava/lang/String;

.field public y:Lf/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lf/o;"
        }
    .end annotation
.end field

.field public z:I


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

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

    const/4 v0, 0x0

    iput-boolean v0, p0, Ln2/b;->v:Z

    iput-boolean v0, p0, Ln2/b;->w:Z

    new-instance v1, Lf/o;

    const/4 v2, 0x4

    invoke-direct {v1, v2}, Lf/o;-><init>(I)V

    iput-object v1, p0, Ln2/b;->y:Lf/o;

    iput v0, p0, Ln2/b;->z:I

    iput v0, p0, Ln2/b;->A:I

    return-void
.end method


# virtual methods
.method public abstract A(Ljava/lang/Object;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TE;)V"
        }
    .end annotation
.end method

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

    iput-object p1, p0, Ln2/b;->x:Ljava/lang/String;

    return-void
.end method

.method public declared-synchronized c(Ljava/lang/Object;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TE;)V"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Ln2/b;->w:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_79

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    const/4 v0, 0x5

    const/4 v1, 0x0

    const/4 v2, 0x1

    :try_start_a
    iput-boolean v2, p0, Ln2/b;->w:Z

    iget-boolean v3, p0, Ln2/b;->v:Z

    if-nez v3, :cond_3c

    iget p1, p0, Ln2/b;->z:I

    add-int/lit8 v2, p1, 0x1

    iput v2, p0, Ln2/b;->z:I

    if-ge p1, v0, :cond_38

    new-instance p1, Ld3/g;

    new-instance v2, Ljava/lang/StringBuilder;

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

    const-string v3, "Attempted to append to non started appender ["

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

    iget-object v3, p0, Ln2/b;->x:Ljava/lang/String;

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

    const-string v3, "]."

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

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

    move-result-object v2

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

    invoke-virtual {p0, p1}, Lc3/d;->v(Ld3/d;)V
    :try_end_38
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_38} :catch_4e
    .catchall {:try_start_a .. :try_end_38} :catchall_4c

    :cond_38
    :try_start_38
    iput-boolean v1, p0, Ln2/b;->w:Z
    :try_end_3a
    .catchall {:try_start_38 .. :try_end_3a} :catchall_79

    monitor-exit p0

    return-void

    .line 1
    :cond_3c
    :try_start_3c
    iget-object v3, p0, Ln2/b;->y:Lf/o;

    invoke-virtual {v3, p1}, Lf/o;->j(Ljava/lang/Object;)I

    move-result v3
    :try_end_42
    .catch Ljava/lang/Exception; {:try_start_3c .. :try_end_42} :catch_4e
    .catchall {:try_start_3c .. :try_end_42} :catchall_4c

    if-ne v3, v2, :cond_48

    .line 2
    :try_start_44
    iput-boolean v1, p0, Ln2/b;->w:Z
    :try_end_46
    .catchall {:try_start_44 .. :try_end_46} :catchall_79

    monitor-exit p0

    return-void

    :cond_48
    :try_start_48
    invoke-virtual {p0, p1}, Ln2/b;->A(Ljava/lang/Object;)V
    :try_end_4b
    .catch Ljava/lang/Exception; {:try_start_48 .. :try_end_4b} :catch_4e
    .catchall {:try_start_48 .. :try_end_4b} :catchall_4c

    goto :goto_72

    :catchall_4c
    move-exception p1

    goto :goto_76

    :catch_4e
    move-exception p1

    :try_start_4f
    iget v2, p0, Ln2/b;->A:I

    add-int/lit8 v3, v2, 0x1

    iput v3, p0, Ln2/b;->A:I

    if-ge v2, v0, :cond_72

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v2, "Appender ["

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

    iget-object v2, p0, Ln2/b;->x:Ljava/lang/String;

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

    const-string v2, "] failed to append."

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

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

    move-result-object v0

    invoke-virtual {p0, v0, p1}, Lc3/d;->g(Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_72
    .catchall {:try_start_4f .. :try_end_72} :catchall_4c

    :cond_72
    :goto_72
    :try_start_72
    iput-boolean v1, p0, Ln2/b;->w:Z
    :try_end_74
    .catchall {:try_start_72 .. :try_end_74} :catchall_79

    monitor-exit p0

    return-void

    :goto_76
    :try_start_76
    iput-boolean v1, p0, Ln2/b;->w:Z

    throw p1
    :try_end_79
    .catchall {:try_start_76 .. :try_end_79} :catchall_79

    :catchall_79
    move-exception p1

    monitor-exit p0

    throw p1
.end method

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

    iget-object v0, p0, Ln2/b;->x:Ljava/lang/String;

    return-object v0
.end method

.method public n()Z
    .registers 2

    iget-boolean v0, p0, Ln2/b;->v:Z

    return v0
.end method

.method public start()V
    .registers 2

    const/4 v0, 0x1

    iput-boolean v0, p0, Ln2/b;->v:Z

    return-void
.end method

.method public stop()V
    .registers 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Ln2/b;->v:Z

    return-void
.end method

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

    new-instance v0, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

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

    move-result-object v1

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

    const-string v1, "["

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

    iget-object v1, p0, Ln2/b;->x: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
