.class public final Lba/b$b;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lha/x;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lba/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "b"
.end annotation


# instance fields
.field public final r:Lha/l;

.field public s:Z

.field public final synthetic t:Lba/b;


# direct methods
.method public constructor <init>(Lba/b;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    iput-object p1, p0, Lba/b$b;->t:Lba/b;

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

    new-instance v0, Lha/l;

    .line 1
    iget-object p1, p1, Lba/b;->g:Lha/g;

    .line 2
    invoke-interface {p1}, Lha/x;->d()Lha/a0;

    move-result-object p1

    invoke-direct {v0, p1}, Lha/l;-><init>(Lha/a0;)V

    iput-object v0, p0, Lba/b$b;->r:Lha/l;

    return-void
.end method


# virtual methods
.method public E(Lha/e;J)V
    .registers 6

    const-string v0, "source"

    invoke-static {p1, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    iget-boolean v0, p0, Lba/b$b;->s:Z

    xor-int/lit8 v0, v0, 0x1

    if-eqz v0, :cond_31

    const-wide/16 v0, 0x0

    cmp-long v0, p2, v0

    if-nez v0, :cond_12

    return-void

    :cond_12
    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    .line 1
    iget-object v0, v0, Lba/b;->g:Lha/g;

    .line 2
    invoke-interface {v0, p2, p3}, Lha/g;->l(J)Lha/g;

    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    .line 3
    iget-object v0, v0, Lba/b;->g:Lha/g;

    const-string v1, "\r\n"

    .line 4
    invoke-interface {v0, v1}, Lha/g;->O(Ljava/lang/String;)Lha/g;

    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    .line 5
    iget-object v0, v0, Lba/b;->g:Lha/g;

    .line 6
    invoke-interface {v0, p1, p2, p3}, Lha/x;->E(Lha/e;J)V

    iget-object p1, p0, Lba/b$b;->t:Lba/b;

    .line 7
    iget-object p1, p1, Lba/b;->g:Lha/g;

    .line 8
    invoke-interface {p1, v1}, Lha/g;->O(Ljava/lang/String;)Lha/g;

    return-void

    :cond_31
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "closed"

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p2

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

    throw p1
.end method

.method public declared-synchronized close()V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lba/b$b;->s:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_21

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    const/4 v0, 0x1

    :try_start_8
    iput-boolean v0, p0, Lba/b$b;->s:Z

    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    .line 1
    iget-object v0, v0, Lba/b;->g:Lha/g;

    const-string v1, "0\r\n\r\n"

    .line 2
    invoke-interface {v0, v1}, Lha/g;->O(Ljava/lang/String;)Lha/g;

    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    iget-object v1, p0, Lba/b$b;->r:Lha/l;

    invoke-static {v0, v1}, Lba/b;->i(Lba/b;Lha/l;)V

    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    const/4 v1, 0x3

    .line 3
    iput v1, v0, Lba/b;->a:I
    :try_end_1f
    .catchall {:try_start_8 .. :try_end_1f} :catchall_21

    .line 4
    monitor-exit p0

    return-void

    :catchall_21
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public d()Lha/a0;
    .registers 2

    iget-object v0, p0, Lba/b$b;->r:Lha/l;

    return-object v0
.end method

.method public declared-synchronized flush()V
    .registers 2

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lba/b$b;->s:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_10

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    iget-object v0, p0, Lba/b$b;->t:Lba/b;

    .line 1
    iget-object v0, v0, Lba/b;->g:Lha/g;

    .line 2
    invoke-interface {v0}, Lha/g;->flush()V
    :try_end_e
    .catchall {:try_start_7 .. :try_end_e} :catchall_10

    monitor-exit p0

    return-void

    :catchall_10
    move-exception v0

    monitor-exit p0

    throw v0
.end method
