.class public final Landroidx/fragment/app/y0;
.super Ljava/io/Writer;
.source ""


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

.field public s:Ljava/lang/StringBuilder;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .registers 4

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

    new-instance v0, Ljava/lang/StringBuilder;

    const/16 v1, 0x80

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

    iput-object v0, p0, Landroidx/fragment/app/y0;->s:Ljava/lang/StringBuilder;

    iput-object p1, p0, Landroidx/fragment/app/y0;->r:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public final b()V
    .registers 4

    iget-object v0, p0, Landroidx/fragment/app/y0;->s:Ljava/lang/StringBuilder;

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

    move-result v0

    if-lez v0, :cond_1d

    iget-object v0, p0, Landroidx/fragment/app/y0;->r:Ljava/lang/String;

    iget-object v1, p0, Landroidx/fragment/app/y0;->s:Ljava/lang/StringBuilder;

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

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Landroidx/fragment/app/y0;->s:Ljava/lang/StringBuilder;

    const/4 v1, 0x0

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

    move-result v2

    invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    :cond_1d
    return-void
.end method

.method public close()V
    .registers 1

    invoke-virtual {p0}, Landroidx/fragment/app/y0;->b()V

    return-void
.end method

.method public flush()V
    .registers 1

    invoke-virtual {p0}, Landroidx/fragment/app/y0;->b()V

    return-void
.end method

.method public write([CII)V
    .registers 7

    const/4 v0, 0x0

    :goto_1
    if-ge v0, p3, :cond_17

    add-int v1, p2, v0

    aget-char v1, p1, v1

    const/16 v2, 0xa

    if-ne v1, v2, :cond_f

    invoke-virtual {p0}, Landroidx/fragment/app/y0;->b()V

    goto :goto_14

    :cond_f
    iget-object v2, p0, Landroidx/fragment/app/y0;->s:Ljava/lang/StringBuilder;

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

    :goto_14
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_17
    return-void
.end method
