Http2Connection$5.smali 
.class Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;
.super Ldc/squareup/okhttp3/internal/NamedRunnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ldc/squareup/okhttp3/internal/http2/Http2Connection;->pushHeadersLater(ILjava/util/List;Z)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation
# instance fields
.field final synthetic this$0:Ldc/squareup/okhttp3/internal/http2/Http2Connection;
.field final synthetic val$inFinished:Z
.field final synthetic val$requestHeaders:Ljava/util/List;
.field final synthetic val$streamId:I
# direct methods
.method varargs constructor <init>(Ldc/squareup/okhttp3/internal/http2/Http2Connection;Ljava/lang/String;[Ljava/lang/Object;ILjava/util/List;Z)V
    .registers 7
    .line 1
    iput-object p1, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->this$0:Ldc/squareup/okhttp3/internal/http2/Http2Connection;
    iput p4, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$streamId:I
    iput-object p5, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$requestHeaders:Ljava/util/List;
    iput-boolean p6, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$inFinished:Z
    invoke-direct {p0, p2, p3}, Ldc/squareup/okhttp3/internal/NamedRunnable;-><init>(Ljava/lang/String;[Ljava/lang/Object;)V
    return-void
.end method
# virtual methods
.method public execute()V
    .registers 5
    .line 1
    iget-object v0, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->this$0:Ldc/squareup/okhttp3/internal/http2/Http2Connection;
    iget-object v0, v0, Ldc/squareup/okhttp3/internal/http2/Http2Connection;->pushObserver:Ldc/squareup/okhttp3/internal/http2/PushObserver;
    iget v1, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$streamId:I
    iget-object v2, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$requestHeaders:Ljava/util/List;
    iget-boolean v3, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$inFinished:Z
    invoke-interface {v0, v1, v2, v3}, Ldc/squareup/okhttp3/internal/http2/PushObserver;->onHeaders(ILjava/util/List;Z)Z
    move-result v0
    if-eqz v0, :cond_1b
    .line 3
    :try_start_10
    iget-object v1, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->this$0:Ldc/squareup/okhttp3/internal/http2/Http2Connection;
    iget-object v1, v1, Ldc/squareup/okhttp3/internal/http2/Http2Connection;->writer:Ldc/squareup/okhttp3/internal/http2/Http2Writer;
    iget v2, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$streamId:I
    sget-object v3, Ldc/squareup/okhttp3/internal/http2/ErrorCode;->CANCEL:Ldc/squareup/okhttp3/internal/http2/ErrorCode;
    invoke-virtual {v1, v2, v3}, Ldc/squareup/okhttp3/internal/http2/Http2Writer;->rstStream(ILdc/squareup/okhttp3/internal/http2/ErrorCode;)V
    :cond_1b
    if-nez v0, :cond_21
    .line 4
    iget-boolean v0, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$inFinished:Z
    if-eqz v0, :cond_36
    .line 5
    :cond_21
    iget-object v0, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->this$0:Ldc/squareup/okhttp3/internal/http2/Http2Connection;
    monitor-enter v0
    :try_end_24
    .catch Ljava/io/IOException; {:try_start_10 .. :try_end_24} :catch_36
    .line 6
    :try_start_24
    iget-object v1, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->this$0:Ldc/squareup/okhttp3/internal/http2/Http2Connection;
    iget-object v1, v1, Ldc/squareup/okhttp3/internal/http2/Http2Connection;->currentPushRequests:Ljava/util/Set;
    iget v2, p0, Ldc/squareup/okhttp3/internal/http2/Http2Connection$5;->val$streamId:I
    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
    move-result-object v2
    invoke-interface {v1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
    .line 7
    monitor-exit v0
    goto :goto_36
    :catchall_33
    move-exception v1
    monitor-exit v0
    :try_end_35
    .catchall {:try_start_24 .. :try_end_35} :catchall_33
    :try_start_35
    throw v1
    :try_end_36
    .catch Ljava/io/IOException; {:try_start_35 .. :try_end_36} :catch_36
    :catch_36
    :cond_36
    :goto_36
    return-void
.end method