a$a.smali

.class Li/e0/e/a$a;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lj/s;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Li/e0/e/a;->b(Li/e0/e/b;Li/a0;)Li/a0;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field e:Z

.field final synthetic f:Lj/e;

.field final synthetic g:Li/e0/e/b;

.field final synthetic h:Lj/d;


# direct methods
.method constructor <init>(Li/e0/e/a;Lj/e;Li/e0/e/b;Lj/d;)V
    .registers 5

    iput-object p2, p0, Li/e0/e/a$a;->f:Lj/e;

    iput-object p3, p0, Li/e0/e/a$a;->g:Li/e0/e/b;

    iput-object p4, p0, Li/e0/e/a$a;->h:Lj/d;

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

    return-void
.end method


# virtual methods
.method public b()Lj/t;
    .registers 2

    iget-object v0, p0, Li/e0/e/a$a;->f:Lj/e;

    invoke-interface {v0}, Lj/s;->b()Lj/t;

    move-result-object v0

    return-object v0
.end method

.method public close()V
    .registers 3

    iget-boolean v0, p0, Li/e0/e/a$a;->e:Z

    if-nez v0, :cond_16

    const/16 v0, 0x64

    sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;

    invoke-static {p0, v0, v1}, Li/e0/c;->p(Lj/s;ILjava/util/concurrent/TimeUnit;)Z

    move-result v0

    if-nez v0, :cond_16

    const/4 v0, 0x1

    iput-boolean v0, p0, Li/e0/e/a$a;->e:Z

    iget-object v0, p0, Li/e0/e/a$a;->g:Li/e0/e/b;

    invoke-interface {v0}, Li/e0/e/b;->a()V

    :cond_16
    iget-object v0, p0, Li/e0/e/a$a;->f:Lj/e;

    invoke-interface {v0}, Lj/s;->close()V

    return-void
.end method

.method public e0(Lj/c;J)J
    .registers 12

    const/4 v0, 0x1

    :try_start_1
    iget-object v1, p0, Li/e0/e/a$a;->f:Lj/e;

    invoke-interface {v1, p1, p2, p3}, Lj/s;->e0(Lj/c;J)J

    move-result-wide p2
    :try_end_7
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_7} :catch_30

    const-wide/16 v1, -0x1

    cmp-long v3, p2, v1

    if-nez v3, :cond_19

    iget-boolean p1, p0, Li/e0/e/a$a;->e:Z

    if-nez p1, :cond_18

    iput-boolean v0, p0, Li/e0/e/a$a;->e:Z

    iget-object p1, p0, Li/e0/e/a$a;->h:Lj/d;

    invoke-interface {p1}, Lj/r;->close()V

    :cond_18
    return-wide v1

    :cond_19
    iget-object v0, p0, Li/e0/e/a$a;->h:Lj/d;

    invoke-interface {v0}, Lj/d;->a()Lj/c;

    move-result-object v3

    invoke-virtual {p1}, Lj/c;->size()J

    move-result-wide v0

    sub-long v4, v0, p2

    move-object v2, p1

    move-wide v6, p2

    invoke-virtual/range {v2 .. v7}, Lj/c;->G(Lj/c;JJ)Lj/c;

    iget-object p1, p0, Li/e0/e/a$a;->h:Lj/d;

    invoke-interface {p1}, Lj/d;->z()Lj/d;

    return-wide p2

    :catch_30
    move-exception p1

    iget-boolean p2, p0, Li/e0/e/a$a;->e:Z

    if-nez p2, :cond_3c

    iput-boolean v0, p0, Li/e0/e/a$a;->e:Z

    iget-object p2, p0, Li/e0/e/a$a;->g:Li/e0/e/b;

    invoke-interface {p2}, Li/e0/e/b;->a()V

    :cond_3c
    throw p1
.end method