t.smali
.class public final Lokhttp3/internal/http2/t;
.super Ljava/lang/Object;
.source "Http2Writer.java"
# interfaces
.implements Ljava/io/Closeable;
# static fields
.field private static final logger:Ljava/util/logging/Logger;
# instance fields
.field private bYq:Lokhttp3/internal/http2/d;
.field private final bxT:Z
.field private final byu:Lokio/e;
.field private final bzq:Lokio/d;
.field bzs:I
.field private closed:Z
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 47
const-class v0, Lokhttp3/internal/http2/e;
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
move-result-object v0
sput-object v0, Lokhttp3/internal/http2/t;->logger:Ljava/util/logging/Logger;
return-void
.end method
.method constructor <init>(Lokio/e;Z)V
.registers 5
.prologue
.line 57
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 58
iput-object p1, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
.line 59
iput-boolean p2, p0, Lokhttp3/internal/http2/t;->bxT:Z
.line 60
new-instance v0, Lokio/d;
invoke-direct {v0}, Lokio/d;-><init>()V
iput-object v0, p0, Lokhttp3/internal/http2/t;->bzq:Lokio/d;
.line 61
new-instance v0, Lokhttp3/internal/http2/d;
iget-object v1, p0, Lokhttp3/internal/http2/t;->bzq:Lokio/d;
invoke-direct {v0, v1}, Lokhttp3/internal/http2/d;-><init>(Lokio/d;)V
iput-object v0, p0, Lokhttp3/internal/http2/t;->bYq:Lokhttp3/internal/http2/d;
.line 62
const/16 v0, 0x4000
iput v0, p0, Lokhttp3/internal/http2/t;->bzs:I
.line 63
return-void
.end method
.method private a(IIBB)V
.registers 10
.prologue
const/4 v4, 0x1
const/4 v3, 0x0
.line 266
sget-object v0, Lokhttp3/internal/http2/t;->logger:Ljava/util/logging/Logger;
sget-object v1, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
move-result v0
if-eqz v0, :cond_15
sget-object v0, Lokhttp3/internal/http2/t;->logger:Ljava/util/logging/Logger;
invoke-static {v3, p1, p2, p3, p4}, Lokhttp3/internal/http2/e;->b(ZIIBB)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
.line 267
:cond_15
iget v0, p0, Lokhttp3/internal/http2/t;->bzs:I
if-le p2, v0, :cond_31
.line 268
const-string v0, "FRAME_SIZE_ERROR length > %d: %d"
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
iget v2, p0, Lokhttp3/internal/http2/t;->bzs:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v3
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v4
invoke-static {v0, v1}, Lokhttp3/internal/http2/e;->f(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
move-result-object v0
throw v0
.line 270
:cond_31
const/high16 v0, -0x80000000
and-int/2addr v0, p1
if-eqz v0, :cond_45
const-string v0, "reserved bit set: %s"
new-array v1, v4, [Ljava/lang/Object;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v3
invoke-static {v0, v1}, Lokhttp3/internal/http2/e;->f(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
move-result-object v0
throw v0
.line 271
:cond_45
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
.line 4283
ushr-int/lit8 v1, p2, 0x10
and-int/lit16 v1, v1, 0xff
invoke-interface {v0, v1}, Lokio/e;->fB(I)Lokio/e;
.line 4284
ushr-int/lit8 v1, p2, 0x8
and-int/lit16 v1, v1, 0xff
invoke-interface {v0, v1}, Lokio/e;->fB(I)Lokio/e;
.line 4285
and-int/lit16 v1, p2, 0xff
invoke-interface {v0, v1}, Lokio/e;->fB(I)Lokio/e;
.line 272
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
and-int/lit16 v1, p3, 0xff
invoke-interface {v0, v1}, Lokio/e;->fB(I)Lokio/e;
.line 273
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
and-int/lit16 v1, p4, 0xff
invoke-interface {v0, v1}, Lokio/e;->fB(I)Lokio/e;
.line 274
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
const v1, 0x7fffffff
and-int/2addr v1, p1
invoke-interface {v0, v1}, Lokio/e;->fz(I)Lokio/e;
.line 275
return-void
.end method
.method private h(IJ)V
.registers 12
.prologue
const-wide/16 v6, 0x0
.line 289
:goto_2
cmp-long v0, p2, v6
if-lez v0, :cond_25
.line 290
iget v0, p0, Lokhttp3/internal/http2/t;->bzs:I
int-to-long v0, v0
invoke-static {v0, v1, p2, p3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int v1, v0
.line 291
int-to-long v2, v1
sub-long/2addr p2, v2
.line 292
const/16 v2, 0x9
cmp-long v0, p2, v6
if-nez v0, :cond_23
const/4 v0, 0x4
:goto_17
invoke-direct {p0, p1, v1, v2, v0}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 293
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
iget-object v2, p0, Lokhttp3/internal/http2/t;->bzq:Lokio/d;
int-to-long v4, v1
invoke-interface {v0, v2, v4, v5}, Lokio/e;->a(Lokio/d;J)V
goto :goto_2
.line 292
:cond_23
const/4 v0, 0x0
goto :goto_17
.line 295
:cond_25
return-void
.end method
# virtual methods
.method public final declared-synchronized Hl()V
.registers 6
.prologue
.line 66
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 67
:cond_10
:try_start_10
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->bxT:Z
:try_end_12
.catchall {:try_start_10 .. :try_end_12} :catchall_d
if-nez v0, :cond_16
.line 73
:goto_14
monitor-exit p0
return-void
.line 68
:cond_16
:try_start_16
sget-object v0, Lokhttp3/internal/http2/t;->logger:Ljava/util/logging/Logger;
sget-object v1, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
move-result v0
if-eqz v0, :cond_37
.line 69
sget-object v0, Lokhttp3/internal/http2/t;->logger:Ljava/util/logging/Logger;
const-string v1, ">> CONNECTION %s"
const/4 v2, 0x1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
sget-object v4, Lokhttp3/internal/http2/e;->bzi:Lokio/ByteString;
invoke-virtual {v4}, Lokio/ByteString;->hex()Ljava/lang/String;
move-result-object v4
aput-object v4, v2, v3
invoke-static {v1, v2}, Lokhttp3/internal/c;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
.line 71
:cond_37
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
sget-object v1, Lokhttp3/internal/http2/e;->bzi:Lokio/ByteString;
invoke-virtual {v1}, Lokio/ByteString;->toByteArray()[B
move-result-object v1
invoke-interface {v0, v1}, Lokio/e;->aB([B)Lokio/e;
.line 72
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_47
.catchall {:try_start_16 .. :try_end_47} :catchall_d
goto :goto_14
.end method
.method public final declared-synchronized a(ILokhttp3/internal/http2/ErrorCode;[B)V
.registers 8
.prologue
.line 232
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 233
:cond_10
:try_start_10
iget v0, p2, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
const/4 v1, -0x1
if-ne v0, v1, :cond_1f
const-string v0, "errorCode.httpCode == -1"
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
invoke-static {v0, v1}, Lokhttp3/internal/http2/e;->f(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
move-result-object v0
throw v0
.line 234
:cond_1f
array-length v0, p3
add-int/lit8 v0, v0, 0x8
.line 238
const/4 v1, 0x0
const/4 v2, 0x7
const/4 v3, 0x0
invoke-direct {p0, v1, v0, v2, v3}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 239
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0, p1}, Lokio/e;->fz(I)Lokio/e;
.line 240
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
iget v1, p2, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
invoke-interface {v0, v1}, Lokio/e;->fz(I)Lokio/e;
.line 241
array-length v0, p3
if-lez v0, :cond_3c
.line 242
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0, p3}, Lokio/e;->aB([B)Lokio/e;
.line 244
:cond_3c
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_41
.catchall {:try_start_10 .. :try_end_41} :catchall_d
.line 245
monitor-exit p0
return-void
.end method
.method public final declared-synchronized a(ZII)V
.registers 8
.prologue
const/4 v0, 0x0
.line 211
monitor-enter p0
:try_start_2
iget-boolean v1, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v1, :cond_11
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_e
.catchall {:try_start_2 .. :try_end_e} :catchall_e
:catchall_e
move-exception v0
monitor-exit p0
throw v0
.line 214
:cond_11
if-eqz p1, :cond_14
const/4 v0, 0x1
.line 216
:cond_14
const/4 v1, 0x0
const/16 v2, 0x8
const/4 v3, 0x6
:try_start_18
invoke-direct {p0, v1, v2, v3, v0}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 217
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0, p2}, Lokio/e;->fz(I)Lokio/e;
.line 218
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0, p3}, Lokio/e;->fz(I)Lokio/e;
.line 219
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_2a
.catchall {:try_start_18 .. :try_end_2a} :catchall_e
.line 220
monitor-exit p0
return-void
.end method
.method public final declared-synchronized a(ZILokio/d;I)V
.registers 9
.prologue
const/4 v0, 0x0
.line 170
monitor-enter p0
:try_start_2
iget-boolean v1, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v1, :cond_11
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_e
.catchall {:try_start_2 .. :try_end_e} :catchall_e
:catchall_e
move-exception v0
monitor-exit p0
throw v0
.line 172
:cond_11
if-eqz p1, :cond_14
const/4 v0, 0x1
.line 2178
:cond_14
const/4 v1, 0x0
:try_start_15
invoke-direct {p0, p2, p4, v1, v0}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 2179
if-lez p4, :cond_20
.line 2180
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
int-to-long v2, p4
invoke-interface {v0, p3, v2, v3}, Lokio/e;->a(Lokio/d;J)V
:try_end_20
.catchall {:try_start_15 .. :try_end_20} :catchall_e
.line 174
:cond_20
monitor-exit p0
return-void
.end method
.method public final declared-synchronized b(Lokhttp3/internal/http2/x;)V
.registers 6
.prologue
.line 77
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 78
:cond_10
:try_start_10
iget v0, p0, Lokhttp3/internal/http2/t;->bzs:I
.line 1104
iget v1, p1, Lokhttp3/internal/http2/x;->set:I
and-int/lit8 v1, v1, 0x20
if-eqz v1, :cond_1d
iget-object v0, p1, Lokhttp3/internal/http2/x;->values:[I
const/4 v1, 0x5
aget v0, v0, v1
.line 78
:cond_1d
iput v0, p0, Lokhttp3/internal/http2/t;->bzs:I
.line 79
invoke-virtual {p1}, Lokhttp3/internal/http2/x;->HL()I
move-result v0
const/4 v1, -0x1
if-eq v0, v1, :cond_2f
.line 80
iget-object v0, p0, Lokhttp3/internal/http2/t;->bYq:Lokhttp3/internal/http2/d;
invoke-virtual {p1}, Lokhttp3/internal/http2/x;->HL()I
move-result v1
invoke-virtual {v0, v1}, Lokhttp3/internal/http2/d;->fq(I)V
.line 86
:cond_2f
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v2, 0x4
const/4 v3, 0x1
invoke-direct {p0, v0, v1, v2, v3}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 87
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_3b
.catchall {:try_start_10 .. :try_end_3b} :catchall_d
.line 88
monitor-exit p0
return-void
.end method
.method public final declared-synchronized c(ILokhttp3/internal/http2/ErrorCode;)V
.registers 6
.prologue
.line 144
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 145
:cond_10
:try_start_10
iget v0, p2, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
const/4 v1, -0x1
if-ne v0, v1, :cond_1b
new-instance v0, Ljava/lang/IllegalArgumentException;
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
throw v0
.line 150
:cond_1b
const/4 v0, 0x4
const/4 v1, 0x3
const/4 v2, 0x0
invoke-direct {p0, p1, v0, v1, v2}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 151
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
iget v1, p2, Lokhttp3/internal/http2/ErrorCode;->httpCode:I
invoke-interface {v0, v1}, Lokio/e;->fz(I)Lokio/e;
.line 152
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_2d
.catchall {:try_start_10 .. :try_end_2d} :catchall_d
.line 153
monitor-exit p0
return-void
.end method
.method public final declared-synchronized c(Lokhttp3/internal/http2/x;)V
.registers 8
.prologue
const/4 v1, 0x4
const/4 v2, 0x0
.line 186
monitor-enter p0
:try_start_3
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_12
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_f
.catchall {:try_start_3 .. :try_end_f} :catchall_f
:catchall_f
move-exception v0
monitor-exit p0
throw v0
.line 3082
:cond_12
:try_start_12
iget v0, p1, Lokhttp3/internal/http2/x;->set:I
invoke-static {v0}, Ljava/lang/Integer;->bitCount(I)I
move-result v0
.line 187
mul-int/lit8 v0, v0, 0x6
.line 191
const/4 v3, 0x0
const/4 v4, 0x4
const/4 v5, 0x0
invoke-direct {p0, v3, v0, v4, v5}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 192
:goto_20
const/16 v0, 0xa
if-ge v2, v0, :cond_43
.line 193
invoke-virtual {p1, v2}, Lokhttp3/internal/http2/x;->isSet(I)Z
move-result v0
if-eqz v0, :cond_3b
.line 195
if-ne v2, v1, :cond_3e
.line 196
const/4 v0, 0x3
.line 200
:goto_2d
iget-object v3, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v3, v0}, Lokio/e;->fA(I)Lokio/e;
.line 201
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
.line 4077
iget-object v3, p1, Lokhttp3/internal/http2/x;->values:[I
aget v3, v3, v2
.line 201
invoke-interface {v0, v3}, Lokio/e;->fz(I)Lokio/e;
.line 192
:cond_3b
add-int/lit8 v2, v2, 0x1
goto :goto_20
.line 197
:cond_3e
const/4 v0, 0x7
if-ne v2, v0, :cond_4a
move v0, v1
.line 198
goto :goto_2d
.line 203
:cond_43
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_48
.catchall {:try_start_12 .. :try_end_48} :catchall_f
.line 204
monitor-exit p0
return-void
:cond_4a
move v0, v2
goto :goto_2d
.end method
.method public final declared-synchronized c(ZILjava/util/List;)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(ZI",
"Ljava/util/List",
"<",
"Lokhttp3/internal/http2/a;",
">;)V"
}
.end annotation
.prologue
.line 126
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 1298
:cond_10
:try_start_10
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_1c
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.line 1299
:cond_1c
iget-object v0, p0, Lokhttp3/internal/http2/t;->bYq:Lokhttp3/internal/http2/d;
invoke-virtual {v0, p3}, Lokhttp3/internal/http2/d;->Y(Ljava/util/List;)V
.line 1301
iget-object v0, p0, Lokhttp3/internal/http2/t;->bzq:Lokio/d;
.line 2067
iget-wide v2, v0, Lokio/d;->size:J
.line 1302
iget v0, p0, Lokhttp3/internal/http2/t;->bzs:I
int-to-long v0, v0
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int v1, v0
.line 1304
int-to-long v4, v1
cmp-long v0, v2, v4
if-nez v0, :cond_51
const/4 v0, 0x4
.line 1305
:goto_33
if-eqz p1, :cond_38
or-int/lit8 v0, v0, 0x1
int-to-byte v0, v0
.line 1306
:cond_38
const/4 v4, 0x1
invoke-direct {p0, p2, v1, v4, v0}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 1307
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
iget-object v4, p0, Lokhttp3/internal/http2/t;->bzq:Lokio/d;
int-to-long v6, v1
invoke-interface {v0, v4, v6, v7}, Lokio/e;->a(Lokio/d;J)V
.line 1309
int-to-long v4, v1
cmp-long v0, v2, v4
if-lez v0, :cond_4f
int-to-long v0, v1
sub-long v0, v2, v0
invoke-direct {p0, p2, v0, v1}, Lokhttp3/internal/http2/t;->h(IJ)V
:try_end_4f
.catchall {:try_start_10 .. :try_end_4f} :catchall_d
.line 128
:cond_4f
monitor-exit p0
return-void
.line 1304
:cond_51
const/4 v0, 0x0
goto :goto_33
.end method
.method public final declared-synchronized close()V
.registers 2
.prologue
.line 278
monitor-enter p0
const/4 v0, 0x1
:try_start_2
iput-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
.line 279
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->close()V
:try_end_9
.catchall {:try_start_2 .. :try_end_9} :catchall_b
.line 280
monitor-exit p0
return-void
.line 278
:catchall_b
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final declared-synchronized f(IJ)V
.registers 8
.prologue
.line 252
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 253
:cond_10
const-wide/16 v0, 0x0
cmp-long v0, p2, v0
if-eqz v0, :cond_1d
const-wide/32 v0, 0x7fffffff
cmp-long v0, p2, v0
if-lez v0, :cond_2e
.line 254
:cond_1d
:try_start_1d
const-string v0, "windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: %s"
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
.line 255
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
aput-object v3, v1, v2
.line 254
invoke-static {v0, v1}, Lokhttp3/internal/http2/e;->f(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;
move-result-object v0
throw v0
.line 260
:cond_2e
const/4 v0, 0x4
const/16 v1, 0x8
const/4 v2, 0x0
invoke-direct {p0, p1, v0, v1, v2}, Lokhttp3/internal/http2/t;->a(IIBB)V
.line 261
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
long-to-int v1, p2
invoke-interface {v0, v1}, Lokio/e;->fz(I)Lokio/e;
.line 262
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_40
.catchall {:try_start_1d .. :try_end_40} :catchall_d
.line 263
monitor-exit p0
return-void
.end method
.method public final declared-synchronized flush()V
.registers 3
.prologue
.line 120
monitor-enter p0
:try_start_1
iget-boolean v0, p0, Lokhttp3/internal/http2/t;->closed:Z
if-eqz v0, :cond_10
new-instance v0, Ljava/io/IOException;
const-string v1, "closed"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_d
:catchall_d
move-exception v0
monitor-exit p0
throw v0
.line 121
:cond_10
:try_start_10
iget-object v0, p0, Lokhttp3/internal/http2/t;->byu:Lokio/e;
invoke-interface {v0}, Lokio/e;->flush()V
:try_end_15
.catchall {:try_start_10 .. :try_end_15} :catchall_d
.line 122
monitor-exit p0
return-void
.end method