p$a.smali
4.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
.class public final Lb/h0/i/p$a;
.super Ljava/lang/Object;
# interfaces
.implements Lc/x;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/h0/i/p;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public final a:Lc/h;
.field public b:I
.field public c:B
.field public d:I
.field public e:I
.field public f:S
# direct methods
.method public constructor <init>(Lc/h;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lb/h0/i/p$a;->a:Lc/h;
return-void
.end method
# virtual methods
.method public b(Lc/f;J)J
.locals 8
:goto_0
iget v0, p0, Lb/h0/i/p$a;->e:I
const-wide/16 v1, -0x1
if-nez v0, :cond_4
iget-object v0, p0, Lb/h0/i/p$a;->a:Lc/h;
iget-short v3, p0, Lb/h0/i/p$a;->f:S
int-to-long v3, v3
invoke-interface {v0, v3, v4}, Lc/h;->f(J)V
const/4 v0, 0x0
iput-short v0, p0, Lb/h0/i/p$a;->f:S
iget-byte v3, p0, Lb/h0/i/p$a;->c:B
and-int/lit8 v3, v3, 0x4
if-eqz v3, :cond_0
return-wide v1
.line 1
:cond_0
iget v1, p0, Lb/h0/i/p$a;->d:I
iget-object v2, p0, Lb/h0/i/p$a;->a:Lc/h;
invoke-static {v2}, Lb/h0/i/p;->a(Lc/h;)I
move-result v2
iput v2, p0, Lb/h0/i/p$a;->e:I
iput v2, p0, Lb/h0/i/p$a;->b:I
iget-object v2, p0, Lb/h0/i/p$a;->a:Lc/h;
invoke-interface {v2}, Lc/h;->l()B
move-result v2
and-int/lit16 v2, v2, 0xff
int-to-byte v2, v2
iget-object v3, p0, Lb/h0/i/p$a;->a:Lc/h;
invoke-interface {v3}, Lc/h;->l()B
move-result v3
and-int/lit16 v3, v3, 0xff
int-to-byte v3, v3
iput-byte v3, p0, Lb/h0/i/p$a;->c:B
sget-object v3, Lb/h0/i/p;->a:Ljava/util/logging/Logger;
sget-object v4, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;
invoke-virtual {v3, v4}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z
move-result v4
const/4 v5, 0x1
if-eqz v4, :cond_1
iget v4, p0, Lb/h0/i/p$a;->d:I
iget v6, p0, Lb/h0/i/p$a;->b:I
iget-byte v7, p0, Lb/h0/i/p$a;->c:B
invoke-static {v5, v4, v6, v2, v7}, Lb/h0/i/e;->a(ZIIBB)Ljava/lang/String;
move-result-object v4
invoke-virtual {v3, v4}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V
:cond_1
iget-object v3, p0, Lb/h0/i/p$a;->a:Lc/h;
invoke-interface {v3}, Lc/h;->m()I
move-result v3
const v4, 0x7fffffff
and-int/2addr v3, v4
iput v3, p0, Lb/h0/i/p$a;->d:I
const/16 v4, 0x9
const/4 v6, 0x0
if-ne v2, v4, :cond_3
if-ne v3, v1, :cond_2
goto :goto_0
:cond_2
new-array p1, v0, [Ljava/lang/Object;
const-string p2, "TYPE_CONTINUATION streamId changed"
invoke-static {p2, p1}, Lb/h0/i/e;->b(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v6
:cond_3
new-array p1, v5, [Ljava/lang/Object;
invoke-static {v2}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
move-result-object p2
aput-object p2, p1, v0
const-string p2, "%s != TYPE_CONTINUATION"
invoke-static {p2, p1}, Lb/h0/i/e;->b(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/IOException;
throw v6
.line 2
:cond_4
iget-object v3, p0, Lb/h0/i/p$a;->a:Lc/h;
int-to-long v4, v0
invoke-static {p2, p3, v4, v5}, Ljava/lang/Math;->min(JJ)J
move-result-wide p2
invoke-interface {v3, p1, p2, p3}, Lc/x;->b(Lc/f;J)J
move-result-wide p1
cmp-long p3, p1, v1
if-nez p3, :cond_5
return-wide v1
:cond_5
iget p3, p0, Lb/h0/i/p$a;->e:I
int-to-long v0, p3
sub-long/2addr v0, p1
long-to-int p3, v0
iput p3, p0, Lb/h0/i/p$a;->e:I
return-wide p1
.end method
.method public close()V
.locals 0
return-void
.end method
.method public d()Lc/y;
.locals 1
iget-object v0, p0, Lb/h0/i/p$a;->a:Lc/h;
invoke-interface {v0}, Lc/x;->d()Lc/y;
move-result-object v0
return-object v0
.end method