c$a.smali

.class final Lokhttp3/c$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lokhttp3/internal/a/b;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lokhttp3/c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x10
    name = "a"
.end annotation


# instance fields
.field a:Z

.field final synthetic b:Lokhttp3/c;

.field private final c:Lokhttp3/internal/a/d$a;

.field private d:Ld/t;

.field private e:Ld/t;


# direct methods
.method constructor <init>(Lokhttp3/c;Lokhttp3/internal/a/d$a;)V
    .registers 5

    .line 440
    iput-object p1, p0, Lokhttp3/c$a;->b:Lokhttp3/c;

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

    .line 441
    iput-object p2, p0, Lokhttp3/c$a;->c:Lokhttp3/internal/a/d$a;

    const/4 v0, 0x1

    .line 442
    invoke-virtual {p2, v0}, Lokhttp3/internal/a/d$a;->a(I)Ld/t;

    move-result-object v0

    iput-object v0, p0, Lokhttp3/c$a;->d:Ld/t;

    .line 443
    new-instance v1, Lokhttp3/c$a$1;

    invoke-direct {v1, p0, v0, p1, p2}, Lokhttp3/c$a$1;-><init>(Lokhttp3/c$a;Ld/t;Lokhttp3/c;Lokhttp3/internal/a/d$a;)V

    iput-object v1, p0, Lokhttp3/c$a;->e:Ld/t;

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 5

    .line 459
    iget-object v0, p0, Lokhttp3/c$a;->b:Lokhttp3/c;

    monitor-enter v0

    .line 460
    :try_start_3
    iget-boolean v1, p0, Lokhttp3/c$a;->a:Z

    if-eqz v1, :cond_9

    .line 461
    monitor-exit v0

    return-void

    :cond_9
    const/4 v1, 0x1

    .line 463
    iput-boolean v1, p0, Lokhttp3/c$a;->a:Z

    .line 464
    iget-object v2, p0, Lokhttp3/c$a;->b:Lokhttp3/c;

    iget v3, v2, Lokhttp3/c;->d:I

    add-int/2addr v3, v1

    iput v3, v2, Lokhttp3/c;->d:I

    .line 465
    monitor-exit v0
    :try_end_14
    .catchall {:try_start_3 .. :try_end_14} :catchall_1f

    .line 466
    iget-object v0, p0, Lokhttp3/c$a;->d:Ld/t;

    invoke-static {v0}, Lokhttp3/internal/c;->a(Ljava/io/Closeable;)V

    .line 468
    :try_start_19
    iget-object v0, p0, Lokhttp3/c$a;->c:Lokhttp3/internal/a/d$a;

    invoke-virtual {v0}, Lokhttp3/internal/a/d$a;->c()V
    :try_end_1e
    .catch Ljava/io/IOException; {:try_start_19 .. :try_end_1e} :catch_1e

    :catch_1e
    return-void

    :catchall_1f
    move-exception v1

    .line 465
    :try_start_20
    monitor-exit v0
    :try_end_21
    .catchall {:try_start_20 .. :try_end_21} :catchall_1f

    throw v1
.end method

.method public final b()Ld/t;
    .registers 2

    .line 474
    iget-object v0, p0, Lokhttp3/c$a;->e:Ld/t;

    return-object v0
.end method