k.smali

.class final Lokhttp3/internal/http2/k;
.super Lokhttp3/internal/b;
.source "Http2Connection.java"


# instance fields
.field private synthetic bXY:Lokhttp3/internal/http2/h;

.field private bYb:Z

.field private bYc:I

.field private bYd:I


# direct methods
.method constructor <init>(Lokhttp3/internal/http2/h;ZII)V
    .registers 9

    .prologue
    .line 365
    iput-object p1, p0, Lokhttp3/internal/http2/k;->bXY:Lokhttp3/internal/http2/h;

    .line 366
    const-string v0, "OkHttp %s ping %08x%08x"

    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p1, Lokhttp3/internal/http2/h;->hostname:Ljava/lang/String;

    aput-object v3, v1, v2

    const/4 v2, 0x1

    invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    const/4 v2, 0x2

    invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-direct {p0, v0, v1}, Lokhttp3/internal/b;-><init>(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 367
    iput-boolean p2, p0, Lokhttp3/internal/http2/k;->bYb:Z

    .line 368
    iput p3, p0, Lokhttp3/internal/http2/k;->bYc:I

    .line 369
    iput p4, p0, Lokhttp3/internal/http2/k;->bYd:I

    .line 370
    return-void
.end method


# virtual methods
.method public final execute()V
    .registers 7

    .prologue
    .line 373
    iget-object v1, p0, Lokhttp3/internal/http2/k;->bXY:Lokhttp3/internal/http2/h;

    iget-boolean v0, p0, Lokhttp3/internal/http2/k;->bYb:Z

    iget v2, p0, Lokhttp3/internal/http2/k;->bYc:I

    iget v3, p0, Lokhttp3/internal/http2/k;->bYd:I

    .line 1378
    if-nez v0, :cond_1a

    .line 1380
    monitor-enter v1

    .line 1381
    :try_start_b
    iget-boolean v4, v1, Lokhttp3/internal/http2/h;->bXS:Z

    .line 1382
    const/4 v5, 0x1

    iput-boolean v5, v1, Lokhttp3/internal/http2/h;->bXS:Z

    .line 1383
    monitor-exit v1
    :try_end_11
    .catchall {:try_start_b .. :try_end_11} :catchall_17

    .line 1384
    if-eqz v4, :cond_1a

    .line 1385
    invoke-virtual {v1}, Lokhttp3/internal/http2/h;->RO()V

    .line 1394
    :goto_16
    return-void

    .line 1383
    :catchall_17
    move-exception v0

    :try_start_18
    monitor-exit v1
    :try_end_19
    .catchall {:try_start_18 .. :try_end_19} :catchall_17

    throw v0

    .line 1391
    :cond_1a
    :try_start_1a
    iget-object v4, v1, Lokhttp3/internal/http2/h;->bXV:Lokhttp3/internal/http2/t;

    invoke-virtual {v4, v0, v2, v3}, Lokhttp3/internal/http2/t;->a(ZII)V
    :try_end_1f
    .catch Ljava/io/IOException; {:try_start_1a .. :try_end_1f} :catch_20

    goto :goto_16

    .line 1393
    :catch_20
    move-exception v0

    invoke-virtual {v1}, Lokhttp3/internal/http2/h;->RO()V

    goto :goto_16
.end method