.class final Lb/a/c/r;
.super Ljava/lang/Object;

# interfaces
.implements Lb/a/c/b;


# instance fields
.field final a:Lb/a/c/an;

.field private final b:Lc/e;

.field private final c:Lb/a/c/p;

.field private final d:Z


# direct methods
.method constructor <init>(Lc/e;Z)V
    .locals 2

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

    iput-object p1, p0, Lb/a/c/r;->b:Lc/e;

    iput-boolean p2, p0, Lb/a/c/r;->d:Z

    new-instance v0, Lb/a/c/p;

    iget-object v1, p0, Lb/a/c/r;->b:Lc/e;

    invoke-direct {v0, v1}, Lb/a/c/p;-><init>(Lc/e;)V

    iput-object v0, p0, Lb/a/c/r;->c:Lb/a/c/p;

    new-instance v0, Lb/a/c/an;

    iget-object v1, p0, Lb/a/c/r;->c:Lb/a/c/p;

    invoke-direct {v0, v1}, Lb/a/c/an;-><init>(Lc/n;)V

    iput-object v0, p0, Lb/a/c/r;->a:Lb/a/c/an;

    return-void
.end method

.method private a(ISBI)Ljava/util/List;
    .locals 2

    iget-object v0, p0, Lb/a/c/r;->c:Lb/a/c/p;

    iget-object v1, p0, Lb/a/c/r;->c:Lb/a/c/p;

    iput p1, v1, Lb/a/c/p;->d:I

    iput p1, v0, Lb/a/c/p;->a:I

    iget-object v0, p0, Lb/a/c/r;->c:Lb/a/c/p;

    iput-short p2, v0, Lb/a/c/p;->e:S

    iget-object v0, p0, Lb/a/c/r;->c:Lb/a/c/p;

    iput-byte p3, v0, Lb/a/c/p;->b:B

    iget-object v0, p0, Lb/a/c/r;->c:Lb/a/c/p;

    iput p4, v0, Lb/a/c/p;->c:I

    iget-object v0, p0, Lb/a/c/r;->a:Lb/a/c/an;

    invoke-virtual {v0}, Lb/a/c/an;->a()V

    iget-object v0, p0, Lb/a/c/r;->a:Lb/a/c/an;

    invoke-virtual {v0}, Lb/a/c/an;->b()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method private a(Lb/a/c/c;I)V
    .locals 3

    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v0}, Lc/e;->m()I

    move-result v1

    const/high16 v0, -0x80000000

    and-int/2addr v0, v1

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    const v2, 0x7fffffff

    and-int/2addr v1, v2

    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v2}, Lc/e;->i()B

    move-result v2

    and-int/lit16 v2, v2, 0xff

    add-int/lit8 v2, v2, 0x1

    invoke-interface {p1, p2, v1, v2, v0}, Lb/a/c/c;->a(IIIZ)V

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method


# virtual methods
.method public final a()V
    .locals 7

    const/4 v6, 0x1

    const/4 v5, 0x0

    iget-boolean v0, p0, Lb/a/c/r;->d:Z

    if-eqz v0, :cond_1

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-static {}, Lb/a/c/o;->a()Lc/f;

    move-result-object v1

    invoke-virtual {v1}, Lc/f;->c()I

    move-result v1

    int-to-long v2, v1

    invoke-interface {v0, v2, v3}, Lc/e;->d(J)Lc/f;

    move-result-object v0

    invoke-static {}, Lb/a/c/o;->b()Ljava/util/logging/Logger;

    move-result-object v1

    sget-object v2, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;

    invoke-virtual {v1, v2}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-static {}, Lb/a/c/o;->b()Ljava/util/logging/Logger;

    move-result-object v1

    const-string v2, "<< CONNECTION %s"

    new-array v3, v6, [Ljava/lang/Object;

    invoke-virtual {v0}, Lc/f;->b()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v3, v5

    invoke-static {v2, v3}, Lb/a/c;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V

    :cond_2
    invoke-static {}, Lb/a/c/o;->a()Lc/f;

    move-result-object v1

    invoke-virtual {v1, v0}, Lc/f;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string v1, "Expected a connection header but was %s"

    new-array v2, v6, [Ljava/lang/Object;

    invoke-virtual {v0}, Lc/f;->f()Ljava/lang/String;

    move-result-object v0

    aput-object v0, v2, v5

    invoke-static {v1, v2}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0
.end method

.method public final a(Lb/a/c/c;)Z
    .locals 11

    const/16 v10, 0x4000

    const/16 v9, 0x8

    const/4 v4, 0x4

    const/4 v7, 0x1

    const/4 v1, 0x0

    :try_start_0
    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    const-wide/16 v2, 0x9

    invoke-interface {v0, v2, v3}, Lc/e;->f(J)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-static {v0}, Lb/a/c/o;->a(Lc/e;)I

    move-result v0

    if-ltz v0, :cond_0

    if-le v0, v10, :cond_1

    :cond_0
    const-string v2, "FRAME_SIZE_ERROR: %s"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :catch_0
    move-exception v0

    move v7, v1

    :goto_0
    return v7

    :cond_1
    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v2}, Lc/e;->i()B

    move-result v2

    and-int/lit16 v2, v2, 0xff

    int-to-byte v2, v2

    iget-object v3, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v3}, Lc/e;->i()B

    move-result v3

    and-int/lit16 v3, v3, 0xff

    int-to-byte v6, v3

    iget-object v3, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v3}, Lc/e;->m()I

    move-result v3

    const v5, 0x7fffffff

    and-int/2addr v3, v5

    invoke-static {}, Lb/a/c/o;->b()Ljava/util/logging/Logger;

    move-result-object v5

    sget-object v8, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;

    invoke-virtual {v5, v8}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z

    move-result v5

    if-eqz v5, :cond_2

    invoke-static {}, Lb/a/c/o;->b()Ljava/util/logging/Logger;

    move-result-object v5

    invoke-static {v7, v3, v0, v2, v6}, Lb/a/c/q;->a(ZIIBB)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V

    :cond_2
    packed-switch v2, :pswitch_data_0

    iget-object v1, p0, Lb/a/c/r;->b:Lc/e;

    int-to-long v2, v0

    invoke-interface {v1, v2, v3}, Lc/e;->g(J)V

    goto :goto_0

    :pswitch_0
    and-int/lit8 v2, v6, 0x1

    if-eqz v2, :cond_3

    move v4, v7

    :goto_1
    and-int/lit8 v2, v6, 0x20

    if-eqz v2, :cond_4

    move v2, v7

    :goto_2
    if-eqz v2, :cond_5

    const-string v0, "PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_3
    move v4, v1

    goto :goto_1

    :cond_4
    move v2, v1

    goto :goto_2

    :cond_5
    and-int/lit8 v2, v6, 0x8

    if-eqz v2, :cond_6

    iget-object v1, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v1}, Lc/e;->i()B

    move-result v1

    and-int/lit16 v1, v1, 0xff

    int-to-short v1, v1

    :cond_6
    invoke-static {v0, v6, v1}, Lb/a/c/o;->a(IBS)I

    move-result v0

    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {p1, v4, v3, v2, v0}, Lb/a/c/c;->a(ZILc/e;I)V

    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    int-to-long v2, v1

    invoke-interface {v0, v2, v3}, Lc/e;->g(J)V

    goto :goto_0

    :pswitch_1
    if-nez v3, :cond_7

    const-string v0, "PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_7
    and-int/lit8 v2, v6, 0x1

    if-eqz v2, :cond_9

    move v2, v7

    :goto_3
    and-int/lit8 v4, v6, 0x8

    if-eqz v4, :cond_a

    iget-object v4, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v4}, Lc/e;->i()B

    move-result v4

    and-int/lit16 v4, v4, 0xff

    int-to-short v4, v4

    move v5, v4

    :goto_4
    and-int/lit8 v4, v6, 0x20

    if-eqz v4, :cond_8

    invoke-direct {p0, p1, v3}, Lb/a/c/r;->a(Lb/a/c/c;I)V

    add-int/lit8 v0, v0, -0x5

    :cond_8
    const/4 v4, -0x1

    invoke-static {v0, v6, v5}, Lb/a/c/o;->a(IBS)I

    move-result v0

    invoke-direct {p0, v0, v5, v6, v3}, Lb/a/c/r;->a(ISBI)Ljava/util/List;

    move-result-object v5

    sget-object v6, Lb/a/c/n;->a:Lb/a/c/n;

    move-object v0, p1

    invoke-interface/range {v0 .. v6}, Lb/a/c/c;->a(ZZIILjava/util/List;Lb/a/c/n;)V

    goto/16 :goto_0

    :cond_9
    move v2, v1

    goto :goto_3

    :cond_a
    move v5, v1

    goto :goto_4

    :pswitch_2
    const/4 v2, 0x5

    if-eq v0, v2, :cond_b

    const-string v2, "TYPE_PRIORITY length: %d != 5"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_b
    if-nez v3, :cond_c

    const-string v0, "TYPE_PRIORITY streamId == 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_c
    invoke-direct {p0, p1, v3}, Lb/a/c/r;->a(Lb/a/c/c;I)V

    goto/16 :goto_0

    :pswitch_3
    if-eq v0, v4, :cond_d

    const-string v2, "TYPE_RST_STREAM length: %d != 4"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_d
    if-nez v3, :cond_e

    const-string v0, "TYPE_RST_STREAM streamId == 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_e
    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v0}, Lc/e;->m()I

    move-result v0

    invoke-static {v0}, Lb/a/c/a;->a(I)Lb/a/c/a;

    move-result-object v2

    if-nez v2, :cond_f

    const-string v2, "TYPE_RST_STREAM unexpected error code: %d"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_f
    invoke-interface {p1, v3, v2}, Lb/a/c/c;->a(ILb/a/c/a;)V

    goto/16 :goto_0

    :pswitch_4
    if-eqz v3, :cond_10

    const-string v0, "TYPE_SETTINGS streamId != 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_10
    and-int/lit8 v2, v6, 0x1

    if-eqz v2, :cond_12

    if-eqz v0, :cond_11

    const-string v0, "FRAME_SIZE_ERROR ack frame should be empty!"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_11
    invoke-interface {p1}, Lb/a/c/c;->b()V

    goto/16 :goto_0

    :cond_12
    rem-int/lit8 v2, v0, 0x6

    if-eqz v2, :cond_13

    const-string v2, "TYPE_SETTINGS length %% 6 != 0: %s"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_13
    new-instance v5, Lb/a/c/v;

    invoke-direct {v5}, Lb/a/c/v;-><init>()V

    move v3, v1

    :goto_5
    if-ge v3, v0, :cond_16

    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v2}, Lc/e;->o()S

    move-result v2

    iget-object v6, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v6}, Lc/e;->m()I

    move-result v6

    packed-switch v2, :pswitch_data_1

    :cond_14
    :goto_6
    :pswitch_5
    invoke-virtual {v5, v2, v1, v6}, Lb/a/c/v;->a(III)Lb/a/c/v;

    add-int/lit8 v2, v3, 0x6

    move v3, v2

    goto :goto_5

    :pswitch_6
    if-eqz v6, :cond_14

    if-eq v6, v7, :cond_14

    const-string v0, "PROTOCOL_ERROR SETTINGS_ENABLE_PUSH != 0 or 1"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :pswitch_7
    move v2, v4

    goto :goto_6

    :pswitch_8
    const/4 v2, 0x7

    if-gez v6, :cond_14

    const-string v0, "PROTOCOL_ERROR SETTINGS_INITIAL_WINDOW_SIZE > 2^31 - 1"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :pswitch_9
    if-lt v6, v10, :cond_15

    const v8, 0xffffff

    if-le v6, v8, :cond_14

    :cond_15
    const-string v0, "PROTOCOL_ERROR SETTINGS_MAX_FRAME_SIZE: %s"

    new-array v2, v7, [Ljava/lang/Object;

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

    move-result-object v3

    aput-object v3, v2, v1

    invoke-static {v0, v2}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_16
    invoke-interface {p1, v1, v5}, Lb/a/c/c;->a(ZLb/a/c/v;)V

    goto/16 :goto_0

    :pswitch_a
    if-nez v3, :cond_17

    const-string v0, "PROTOCOL_ERROR: TYPE_PUSH_PROMISE streamId == 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_17
    and-int/lit8 v2, v6, 0x8

    if-eqz v2, :cond_18

    iget-object v1, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v1}, Lc/e;->i()B

    move-result v1

    and-int/lit16 v1, v1, 0xff

    int-to-short v1, v1

    :cond_18
    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v2}, Lc/e;->m()I

    move-result v2

    const v4, 0x7fffffff

    and-int/2addr v2, v4

    add-int/lit8 v0, v0, -0x4

    invoke-static {v0, v6, v1}, Lb/a/c/o;->a(IBS)I

    move-result v0

    invoke-direct {p0, v0, v1, v6, v3}, Lb/a/c/r;->a(ISBI)Ljava/util/List;

    move-result-object v0

    invoke-interface {p1, v3, v2, v0}, Lb/a/c/c;->a(IILjava/util/List;)V

    goto/16 :goto_0

    :pswitch_b
    if-eq v0, v9, :cond_19

    const-string v2, "TYPE_PING length != 8: %s"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_19
    if-eqz v3, :cond_1a

    const-string v0, "TYPE_PING streamId != 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_1a
    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v0}, Lc/e;->m()I

    move-result v0

    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v2}, Lc/e;->m()I

    move-result v2

    and-int/lit8 v3, v6, 0x1

    if-eqz v3, :cond_1b

    move v1, v7

    :cond_1b
    invoke-interface {p1, v1, v0, v2}, Lb/a/c/c;->a(ZII)V

    goto/16 :goto_0

    :pswitch_c
    if-ge v0, v9, :cond_1c

    const-string v2, "TYPE_GOAWAY length < 8: %s"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_1c
    if-eqz v3, :cond_1d

    const-string v0, "TYPE_GOAWAY streamId != 0"

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

    invoke-static {v0, v1}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_1d
    iget-object v2, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v2}, Lc/e;->m()I

    move-result v2

    iget-object v3, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v3}, Lc/e;->m()I

    move-result v3

    add-int/lit8 v4, v0, -0x8

    invoke-static {v3}, Lb/a/c/a;->a(I)Lb/a/c/a;

    move-result-object v5

    if-nez v5, :cond_1e

    const-string v0, "TYPE_GOAWAY unexpected error code: %d"

    new-array v2, v7, [Ljava/lang/Object;

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

    move-result-object v3

    aput-object v3, v2, v1

    invoke-static {v0, v2}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_1e
    sget-object v0, Lc/f;->a:Lc/f;

    if-lez v4, :cond_1f

    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    int-to-long v8, v4

    invoke-interface {v0, v8, v9}, Lc/e;->d(J)Lc/f;

    move-result-object v0

    :cond_1f
    invoke-interface {p1, v2, v5, v0}, Lb/a/c/c;->a(ILb/a/c/a;Lc/f;)V

    goto/16 :goto_0

    :pswitch_d
    if-eq v0, v4, :cond_20

    const-string v2, "TYPE_WINDOW_UPDATE length !=4: %s"

    new-array v3, v7, [Ljava/lang/Object;

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

    move-result-object v0

    aput-object v0, v3, v1

    invoke-static {v2, v3}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_20
    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v0}, Lc/e;->m()I

    move-result v0

    int-to-long v4, v0

    const-wide/32 v8, 0x7fffffff

    and-long/2addr v4, v8

    const-wide/16 v8, 0x0

    cmp-long v0, v4, v8

    if-nez v0, :cond_21

    const-string v0, "windowSizeIncrement was 0"

    new-array v2, v7, [Ljava/lang/Object;

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    aput-object v3, v2, v1

    invoke-static {v0, v2}, Lb/a/c/o;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    :cond_21
    invoke-interface {p1, v3, v4, v5}, Lb/a/c/c;->a(IJ)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x1
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
    .end packed-switch
.end method

.method public final close()V
    .locals 1

    iget-object v0, p0, Lb/a/c/r;->b:Lc/e;

    invoke-interface {v0}, Lc/e;->close()V

    return-void
.end method
