h.smali
.class final Li/e0/i/h;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Ljava/io/Closeable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Li/e0/i/h$b;,
Li/e0/i/h$a;
}
.end annotation
# static fields
.field static final i:Ljava/util/logging/Logger;
# instance fields
.field private final e:Lj/e;
.field private final f:Li/e0/i/h$a;
.field private final g:Z
.field final h:Li/e0/i/d$a;
# direct methods
.method static constructor <clinit>()V
.registers 1
const-class v0, Li/e0/i/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, Li/e0/i/h;->i:Ljava/util/logging/Logger;
return-void
.end method
.method constructor <init>(Lj/e;Z)V
.registers 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Li/e0/i/h;->e:Lj/e;
iput-boolean p2, p0, Li/e0/i/h;->g:Z
new-instance p2, Li/e0/i/h$a;
invoke-direct {p2, p1}, Li/e0/i/h$a;-><init>(Lj/e;)V
iput-object p2, p0, Li/e0/i/h;->f:Li/e0/i/h$a;
new-instance p1, Li/e0/i/d$a;
const/16 v0, 0x1000
invoke-direct {p1, v0, p2}, Li/e0/i/d$a;-><init>(ILj/s;)V
iput-object p1, p0, Li/e0/i/h;->h:Li/e0/i/d$a;
return-void
.end method
.method private G(Li/e0/i/h$b;IBI)V
.registers 9
const/4 p3, 0x1
const/16 v0, 0x8
const/4 v1, 0x0
const/4 v2, 0x0
if-lt p2, v0, :cond_41
if-nez p4, :cond_39
iget-object p4, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p4}, Lj/e;->readInt()I
move-result p4
iget-object v3, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v3}, Lj/e;->readInt()I
move-result v3
sub-int/2addr p2, v0
invoke-static {v3}, Li/e0/i/b;->e(I)Li/e0/i/b;
move-result-object v0
if-eqz v0, :cond_2b
sget-object p3, Lj/f;->i:Lj/f;
if-lez p2, :cond_27
iget-object p3, p0, Li/e0/i/h;->e:Lj/e;
int-to-long v1, p2
invoke-interface {p3, v1, v2}, Lj/e;->h(J)Lj/f;
move-result-object p3
:cond_27
invoke-interface {p1, p4, v0, p3}, Li/e0/i/h$b;->j(ILi/e0/i/b;Lj/f;)V
return-void
:cond_2b
new-array p1, p3, [Ljava/lang/Object;
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v2
const-string p2, "TYPE_GOAWAY unexpected error code: %d"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v1
:cond_39
new-array p1, v2, [Ljava/lang/Object;
const-string p2, "TYPE_GOAWAY streamId != 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v1
:cond_41
new-array p1, p3, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v2
const-string p2, "TYPE_GOAWAY length < 8: %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v1
.end method
.method private N(ISBI)Ljava/util/List;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"(ISBI)",
"Ljava/util/List<",
"Li/e0/i/c;",
">;"
}
.end annotation
iget-object v0, p0, Li/e0/i/h;->f:Li/e0/i/h$a;
iput p1, v0, Li/e0/i/h$a;->i:I
iput p1, v0, Li/e0/i/h$a;->f:I
iput-short p2, v0, Li/e0/i/h$a;->j:S
iput-byte p3, v0, Li/e0/i/h$a;->g:B
iput p4, v0, Li/e0/i/h$a;->h:I
iget-object p1, p0, Li/e0/i/h;->h:Li/e0/i/d$a;
invoke-virtual {p1}, Li/e0/i/d$a;->k()V
iget-object p1, p0, Li/e0/i/h;->h:Li/e0/i/d$a;
invoke-virtual {p1}, Li/e0/i/d$a;->e()Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method private O(Li/e0/i/h$b;IBI)V
.registers 8
const/4 v0, 0x0
if-eqz p4, :cond_2d
and-int/lit8 v1, p3, 0x1
if-eqz v1, :cond_9
const/4 v1, 0x1
goto :goto_a
:cond_9
const/4 v1, 0x0
:goto_a
and-int/lit8 v2, p3, 0x8
if-eqz v2, :cond_17
iget-object v0, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v0}, Lj/e;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
int-to-short v0, v0
:cond_17
and-int/lit8 v2, p3, 0x20
if-eqz v2, :cond_20
invoke-direct {p0, p1, p4}, Li/e0/i/h;->a0(Li/e0/i/h$b;I)V
add-int/lit8 p2, p2, -0x5
:cond_20
invoke-static {p2, p3, v0}, Li/e0/i/h;->k(IBS)I
move-result p2
invoke-direct {p0, p2, v0, p3, p4}, Li/e0/i/h;->N(ISBI)Ljava/util/List;
move-result-object p2
const/4 p3, -0x1
invoke-interface {p1, v1, p4, p3, p2}, Li/e0/i/h$b;->c(ZIILjava/util/List;)V
return-void
:cond_2d
new-array p1, v0, [Ljava/lang/Object;
const-string p2, "PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
const/4 p1, 0x0
throw p1
.end method
.method static R(Lj/e;)I
.registers 3
invoke-interface {p0}, Lj/e;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
shl-int/lit8 v0, v0, 0x10
invoke-interface {p0}, Lj/e;->readByte()B
move-result v1
and-int/lit16 v1, v1, 0xff
shl-int/lit8 v1, v1, 0x8
or-int/2addr v0, v1
invoke-interface {p0}, Lj/e;->readByte()B
move-result p0
and-int/lit16 p0, p0, 0xff
or-int/2addr p0, v0
return p0
.end method
.method private X(Li/e0/i/h$b;IBI)V
.registers 9
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v2, 0x1
const/16 v3, 0x8
if-ne p2, v3, :cond_25
if-nez p4, :cond_1d
iget-object p2, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p2}, Lj/e;->readInt()I
move-result p2
iget-object p4, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p4}, Lj/e;->readInt()I
move-result p4
and-int/2addr p3, v2
if-eqz p3, :cond_19
const/4 v1, 0x1
:cond_19
invoke-interface {p1, v1, p2, p4}, Li/e0/i/h$b;->f(ZII)V
return-void
:cond_1d
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "TYPE_PING streamId != 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_25
new-array p1, v2, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v1
const-string p2, "TYPE_PING length != 8: %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
.end method
.method private a0(Li/e0/i/h$b;I)V
.registers 7
iget-object v0, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v0}, Lj/e;->readInt()I
move-result v0
const/high16 v1, -0x80000000
and-int/2addr v1, v0
const/4 v2, 0x1
if-eqz v1, :cond_e
const/4 v1, 0x1
goto :goto_f
:cond_e
const/4 v1, 0x0
:goto_f
const v3, 0x7fffffff
and-int/2addr v0, v3
iget-object v3, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v3}, Lj/e;->readByte()B
move-result v3
and-int/lit16 v3, v3, 0xff
add-int/2addr v3, v2
invoke-interface {p1, p2, v0, v3, v1}, Li/e0/i/h$b;->g(IIIZ)V
return-void
.end method
.method private h0(Li/e0/i/h$b;IBI)V
.registers 7
const/4 p3, 0x0
const/4 v0, 0x0
const/4 v1, 0x5
if-ne p2, v1, :cond_13
if-eqz p4, :cond_b
invoke-direct {p0, p1, p4}, Li/e0/i/h;->a0(Li/e0/i/h$b;I)V
return-void
:cond_b
new-array p1, v0, [Ljava/lang/Object;
const-string p2, "TYPE_PRIORITY streamId == 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw p3
:cond_13
const/4 p1, 0x1
new-array p1, p1, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v0
const-string p2, "TYPE_PRIORITY length: %d != 5"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw p3
.end method
.method private i0(Li/e0/i/h$b;IBI)V
.registers 8
const/4 v0, 0x0
if-eqz p4, :cond_28
and-int/lit8 v1, p3, 0x8
if-eqz v1, :cond_10
iget-object v0, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v0}, Lj/e;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
int-to-short v0, v0
:cond_10
iget-object v1, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v1}, Lj/e;->readInt()I
move-result v1
const v2, 0x7fffffff
and-int/2addr v1, v2
add-int/lit8 p2, p2, -0x4
invoke-static {p2, p3, v0}, Li/e0/i/h;->k(IBS)I
move-result p2
invoke-direct {p0, p2, v0, p3, p4}, Li/e0/i/h;->N(ISBI)Ljava/util/List;
move-result-object p2
invoke-interface {p1, p4, v1, p2}, Li/e0/i/h$b;->i(IILjava/util/List;)V
return-void
:cond_28
new-array p1, v0, [Ljava/lang/Object;
const-string p2, "PROTOCOL_ERROR: TYPE_PUSH_PROMISE streamId == 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
const/4 p1, 0x0
throw p1
.end method
.method static k(IBS)I
.registers 4
and-int/lit8 p1, p1, 0x8
if-eqz p1, :cond_6
add-int/lit8 p0, p0, -0x1
:cond_6
if-gt p2, p0, :cond_b
sub-int/2addr p0, p2
int-to-short p0, p0
return p0
:cond_b
const/4 p1, 0x2
new-array p1, p1, [Ljava/lang/Object;
const/4 v0, 0x0
invoke-static {p2}, Ljava/lang/Short;->valueOf(S)Ljava/lang/Short;
move-result-object p2
aput-object p2, p1, v0
const/4 p2, 0x1
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
aput-object p0, p1, p2
const-string p0, "PROTOCOL_ERROR padding %s > remaining length %s"
invoke-static {p0, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
const/4 p0, 0x0
throw p0
.end method
.method private p0(Li/e0/i/h$b;IBI)V
.registers 8
const/4 p3, 0x1
const/4 v0, 0x0
const/4 v1, 0x0
const/4 v2, 0x4
if-ne p2, v2, :cond_2e
if-eqz p4, :cond_26
iget-object p2, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p2}, Lj/e;->readInt()I
move-result p2
invoke-static {p2}, Li/e0/i/b;->e(I)Li/e0/i/b;
move-result-object v2
if-eqz v2, :cond_18
invoke-interface {p1, p4, v2}, Li/e0/i/h$b;->h(ILi/e0/i/b;)V
return-void
:cond_18
new-array p1, p3, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v1
const-string p2, "TYPE_RST_STREAM unexpected error code: %d"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_26
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "TYPE_RST_STREAM streamId == 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_2e
new-array p1, p3, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v1
const-string p2, "TYPE_RST_STREAM length: %d != 4"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
.end method
.method private q0(Li/e0/i/h$b;IBI)V
.registers 12
const/4 v0, 0x0
const/4 v1, 0x0
if-nez p4, :cond_8a
const/4 p4, 0x1
and-int/2addr p3, p4
if-eqz p3, :cond_16
if-nez p2, :cond_e
invoke-interface {p1}, Li/e0/i/h$b;->a()V
return-void
:cond_e
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "FRAME_SIZE_ERROR ack frame should be empty!"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_16
rem-int/lit8 p3, p2, 0x6
if-nez p3, :cond_7c
new-instance p3, Li/e0/i/m;
invoke-direct {p3}, Li/e0/i/m;-><init>()V
const/4 v2, 0x0
:goto_20
if-ge v2, p2, :cond_78
iget-object v3, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v3}, Lj/e;->readShort()S
move-result v3
const v4, 0xffff
and-int/2addr v3, v4
iget-object v4, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v4}, Lj/e;->readInt()I
move-result v4
const/4 v5, 0x2
const/4 v6, 0x4
if-eq v3, v5, :cond_65
const/4 v5, 0x3
if-eq v3, v5, :cond_63
if-eq v3, v6, :cond_57
const/4 v5, 0x5
if-eq v3, v5, :cond_3f
goto :goto_72
:cond_3f
const/16 v5, 0x4000
if-lt v4, v5, :cond_49
const v5, 0xffffff
if-gt v4, v5, :cond_49
goto :goto_72
:cond_49
new-array p1, p4, [Ljava/lang/Object;
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v1
const-string p2, "PROTOCOL_ERROR SETTINGS_MAX_FRAME_SIZE: %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_57
const/4 v3, 0x7
if-ltz v4, :cond_5b
goto :goto_72
:cond_5b
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "PROTOCOL_ERROR SETTINGS_INITIAL_WINDOW_SIZE > 2^31 - 1"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_63
const/4 v3, 0x4
goto :goto_72
:cond_65
if-eqz v4, :cond_72
if-ne v4, p4, :cond_6a
goto :goto_72
:cond_6a
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "PROTOCOL_ERROR SETTINGS_ENABLE_PUSH != 0 or 1"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_72
:goto_72
invoke-virtual {p3, v3, v4}, Li/e0/i/m;->i(II)Li/e0/i/m;
add-int/lit8 v2, v2, 0x6
goto :goto_20
:cond_78
invoke-interface {p1, v1, p3}, Li/e0/i/h$b;->b(ZLi/e0/i/m;)V
return-void
:cond_7c
new-array p1, p4, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v1
const-string p2, "TYPE_SETTINGS length %% 6 != 0: %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_8a
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "TYPE_SETTINGS streamId != 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
goto :goto_93
:goto_92
throw v0
:goto_93
goto :goto_92
.end method
.method private r0(Li/e0/i/h$b;IBI)V
.registers 11
const/4 p3, 0x0
const/4 v0, 0x0
const/4 v1, 0x1
const/4 v2, 0x4
if-ne p2, v2, :cond_29
iget-object p2, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p2}, Lj/e;->readInt()I
move-result p2
int-to-long v2, p2
const-wide/32 v4, 0x7fffffff
and-long/2addr v2, v4
const-wide/16 v4, 0x0
cmp-long p2, v2, v4
if-eqz p2, :cond_1b
invoke-interface {p1, p4, v2, v3}, Li/e0/i/h$b;->d(IJ)V
return-void
:cond_1b
new-array p1, v1, [Ljava/lang/Object;
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p2
aput-object p2, p1, v0
const-string p2, "windowSizeIncrement was 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw p3
:cond_29
new-array p1, v1, [Ljava/lang/Object;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v0
const-string p2, "TYPE_WINDOW_UPDATE length !=4: %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw p3
.end method
.method private x(Li/e0/i/h$b;IBI)V
.registers 10
const/4 v0, 0x0
const/4 v1, 0x0
if-eqz p4, :cond_39
and-int/lit8 v2, p3, 0x1
const/4 v3, 0x1
if-eqz v2, :cond_b
const/4 v2, 0x1
goto :goto_c
:cond_b
const/4 v2, 0x0
:goto_c
and-int/lit8 v4, p3, 0x20
if-eqz v4, :cond_11
goto :goto_12
:cond_11
const/4 v3, 0x0
:goto_12
if-nez v3, :cond_31
and-int/lit8 v0, p3, 0x8
if-eqz v0, :cond_21
iget-object v0, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v0}, Lj/e;->readByte()B
move-result v0
and-int/lit16 v0, v0, 0xff
int-to-short v1, v0
:cond_21
invoke-static {p2, p3, v1}, Li/e0/i/h;->k(IBS)I
move-result p2
iget-object p3, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p1, v2, p4, p3, p2}, Li/e0/i/h$b;->e(ZILj/e;I)V
iget-object p1, p0, Li/e0/i/h;->e:Lj/e;
int-to-long p2, v1
invoke-interface {p1, p2, p3}, Lj/e;->skip(J)V
return-void
:cond_31
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
:cond_39
new-array p1, v1, [Ljava/lang/Object;
const-string p2, "PROTOCOL_ERROR: TYPE_DATA streamId == 0"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v0
.end method
# virtual methods
.method public close()V
.registers 2
iget-object v0, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v0}, Lj/s;->close()V
return-void
.end method
.method public m(ZLi/e0/i/h$b;)Z
.registers 9
const/4 v0, 0x0
:try_start_1
iget-object v1, p0, Li/e0/i/h;->e:Lj/e;
const-wide/16 v2, 0x9
invoke-interface {v1, v2, v3}, Lj/e;->j0(J)V
:try_end_8
.catch Ljava/io/IOException; {:try_start_1 .. :try_end_8} :catch_93
iget-object v1, p0, Li/e0/i/h;->e:Lj/e;
invoke-static {v1}, Li/e0/i/h;->R(Lj/e;)I
move-result v1
const/4 v2, 0x0
const/4 v3, 0x1
if-ltz v1, :cond_85
const/16 v4, 0x4000
if-gt v1, v4, :cond_85
iget-object v4, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v4}, Lj/e;->readByte()B
move-result v4
and-int/lit16 v4, v4, 0xff
int-to-byte v4, v4
if-eqz p1, :cond_33
const/4 p1, 0x4
if-ne v4, p1, :cond_25
goto :goto_33
:cond_25
new-array p1, v3, [Ljava/lang/Object;
invoke-static {v4}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
move-result-object p2
aput-object p2, p1, v0
const-string p2, "Expected a SETTINGS frame but was %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v2
:cond_33
:goto_33
iget-object p1, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {p1}, Lj/e;->readByte()B
move-result p1
and-int/lit16 p1, p1, 0xff
int-to-byte p1, p1
iget-object v0, p0, Li/e0/i/h;->e:Lj/e;
invoke-interface {v0}, Lj/e;->readInt()I
move-result v0
const v2, 0x7fffffff
and-int/2addr v0, v2
sget-object v2, Li/e0/i/h;->i:Ljava/util/logging/Logger;
sget-object v5, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
invoke-virtual {v2, v5}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
move-result v5
if-eqz v5, :cond_57
invoke-static {v3, v0, v1, v4, p1}, Li/e0/i/e;->b(ZIIBB)Ljava/lang/String;
move-result-object v5
invoke-virtual {v2, v5}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
:cond_57
packed-switch v4, :pswitch_data_94
iget-object p1, p0, Li/e0/i/h;->e:Lj/e;
int-to-long v0, v1
invoke-interface {p1, v0, v1}, Lj/e;->skip(J)V
goto :goto_84
:pswitch_61
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->r0(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_65
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->G(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_69
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->X(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_6d
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->i0(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_71
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->q0(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_75
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->p0(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_79
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->h0(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_7d
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->O(Li/e0/i/h$b;IBI)V
goto :goto_84
:pswitch_81
invoke-direct {p0, p2, v1, p1, v0}, Li/e0/i/h;->x(Li/e0/i/h$b;IBI)V
:goto_84
return v3
:cond_85
new-array p1, v3, [Ljava/lang/Object;
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
aput-object p2, p1, v0
const-string p2, "FRAME_SIZE_ERROR: %s"
invoke-static {p2, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v2
:catch_93
return v0
:pswitch_data_94
.packed-switch 0x0
:pswitch_81
:pswitch_7d
:pswitch_79
:pswitch_75
:pswitch_71
:pswitch_6d
:pswitch_69
:pswitch_65
:pswitch_61
.end packed-switch
.end method
.method public r(Li/e0/i/h$b;)V
.registers 9
iget-boolean v0, p0, Li/e0/i/h;->g:Z
const/4 v1, 0x0
const/4 v2, 0x0
const/4 v3, 0x1
if-eqz v0, :cond_16
invoke-virtual {p0, v3, p1}, Li/e0/i/h;->m(ZLi/e0/i/h$b;)Z
move-result p1
if-eqz p1, :cond_e
goto :goto_44
:cond_e
new-array p1, v2, [Ljava/lang/Object;
const-string v0, "Required SETTINGS preface not received"
invoke-static {v0, p1}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v1
:cond_16
iget-object p1, p0, Li/e0/i/h;->e:Lj/e;
sget-object v0, Li/e0/i/e;->a:Lj/f;
invoke-virtual {v0}, Lj/f;->v()I
move-result v4
int-to-long v4, v4
invoke-interface {p1, v4, v5}, Lj/e;->h(J)Lj/f;
move-result-object p1
sget-object v4, Li/e0/i/h;->i:Ljava/util/logging/Logger;
sget-object v5, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
invoke-virtual {v4, v5}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
move-result v5
if-eqz v5, :cond_3e
new-array v5, v3, [Ljava/lang/Object;
invoke-virtual {p1}, Lj/f;->o()Ljava/lang/String;
move-result-object v6
aput-object v6, v5, v2
const-string v6, "<< CONNECTION %s"
invoke-static {v6, v5}, Li/e0/c;->r(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v5
invoke-virtual {v4, v5}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
:cond_3e
invoke-virtual {v0, p1}, Lj/f;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_45
:goto_44
return-void
:cond_45
new-array v0, v3, [Ljava/lang/Object;
invoke-virtual {p1}, Lj/f;->A()Ljava/lang/String;
move-result-object p1
aput-object p1, v0, v2
const-string p1, "Expected a connection header but was %s"
invoke-static {p1, v0}, Li/e0/i/e;->d(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v1
.end method