apkfuckery/com.discord/smali/okhttp3/n.smali

619 lines
13 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokhttp3/n;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Dispatcher.java"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# static fields
.field static final synthetic $assertionsDisabled:Z
2019-02-04 20:08:30 +00:00
# instance fields
2019-03-16 01:04:31 +00:00
.field private bmO:I
2019-02-22 00:19:04 +00:00
2019-03-16 01:04:31 +00:00
.field private bmP:I
2019-02-27 21:13:14 +00:00
2019-03-16 01:04:31 +00:00
.field private bmQ:Ljava/lang/Runnable;
2019-02-17 02:24:41 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field final bmR:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Deque<",
"Lokhttp3/v$a;",
">;"
}
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field private final bmS:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Deque<",
2019-02-17 02:24:41 +00:00
"Lokhttp3/v$a;",
2019-02-04 20:08:30 +00:00
">;"
}
.end annotation
.end field
2019-03-16 01:04:31 +00:00
.field private final bmT:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Deque<",
2019-02-17 02:24:41 +00:00
"Lokhttp3/v;",
2019-02-04 20:08:30 +00:00
">;"
}
.end annotation
.end field
.field private executorService:Ljava/util/concurrent/ExecutorService;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
2019-02-17 02:24:41 +00:00
.method static constructor <clinit>()V
.locals 0
return-void
.end method
2019-02-04 20:08:30 +00:00
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0x40
2019-03-16 01:04:31 +00:00
iput v0, p0, Lokhttp3/n;->bmO:I
2019-02-04 20:08:30 +00:00
const/4 v0, 0x5
2019-03-16 01:04:31 +00:00
iput v0, p0, Lokhttp3/n;->bmP:I
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/ArrayDeque;
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lokhttp3/n;->bmR:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/ArrayDeque;
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
new-instance v0, Ljava/util/ArrayDeque;
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
2019-03-16 01:04:31 +00:00
iput-object v0, p0, Lokhttp3/n;->bmT:Ljava/util/Deque;
2019-02-04 20:32:01 +00:00
2019-02-04 20:08:30 +00:00
return-void
2019-02-04 20:32:01 +00:00
.end method
2019-03-08 06:19:26 +00:00
.method private declared-synchronized Ab()I
2019-02-27 21:13:14 +00:00
.locals 2
2019-02-04 20:08:30 +00:00
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Ljava/util/Deque;->size()I
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
move-result v0
2019-02-21 02:16:48 +00:00
2019-03-16 01:04:31 +00:00
iget-object v1, p0, Lokhttp3/n;->bmT:Ljava/util/Deque;
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v1}, Ljava/util/Deque;->size()I
2019-02-04 20:08:30 +00:00
move-result v1
2019-02-21 02:16:48 +00:00
:try_end_0
2019-02-27 21:13:14 +00:00
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
add-int/2addr v0, v1
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
monitor-exit p0
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
return v0
2019-02-04 20:08:30 +00:00
:catchall_0
move-exception v0
2019-02-27 21:13:14 +00:00
monitor-exit p0
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
throw v0
.end method
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
.method private a(Lokhttp3/v$a;)I
.locals 4
2019-02-21 02:16:48 +00:00
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v0
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
const/4 v1, 0x0
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
:cond_0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
move-result v2
2019-02-21 02:16:48 +00:00
2019-02-27 21:13:14 +00:00
if-eqz v2, :cond_1
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v2
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
check-cast v2, Lokhttp3/v$a;
2019-02-27 00:16:35 +00:00
2019-03-16 01:04:31 +00:00
iget-object v3, v2, Lokhttp3/v$a;->bor:Lokhttp3/v;
2019-02-27 00:16:35 +00:00
2019-03-16 01:04:31 +00:00
iget-boolean v3, v3, Lokhttp3/v;->bop:Z
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-nez v3, :cond_0
2019-02-27 00:16:35 +00:00
2019-03-08 06:19:26 +00:00
invoke-virtual {v2}, Lokhttp3/v$a;->AA()Ljava/lang/String;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v2
2019-02-27 00:16:35 +00:00
2019-03-08 06:19:26 +00:00
invoke-virtual {p1}, Lokhttp3/v$a;->AA()Ljava/lang/String;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v3
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result v2
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-eqz v2, :cond_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
add-int/lit8 v1, v1, 0x1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
goto :goto_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:cond_1
return v1
2019-02-27 00:16:35 +00:00
.end method
.method private a(Ljava/util/Deque;Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/util/Deque<",
"TT;>;TT;)V"
}
.end annotation
monitor-enter p0
:try_start_0
invoke-interface {p1, p2}, Ljava/util/Deque;->remove(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
2019-03-16 01:04:31 +00:00
iget-object p1, p0, Lokhttp3/n;->bmQ:Ljava/lang/Runnable;
2019-02-27 00:16:35 +00:00
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
2019-03-08 06:19:26 +00:00
invoke-virtual {p0}, Lokhttp3/n;->Aa()Z
2019-02-27 00:16:35 +00:00
move-result p2
if-nez p2, :cond_0
if-eqz p1, :cond_0
invoke-interface {p1}, Ljava/lang/Runnable;->run()V
:cond_0
return-void
:cond_1
:try_start_1
new-instance p1, Ljava/lang/AssertionError;
const-string p2, "Call wasn\'t in-flight!"
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw p1
:catchall_0
move-exception p1
monitor-exit p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method
2019-03-08 06:19:26 +00:00
.method private declared-synchronized zZ()Ljava/util/concurrent/ExecutorService;
.locals 9
monitor-enter p0
:try_start_0
iget-object v0, p0, Lokhttp3/n;->executorService:Ljava/util/concurrent/ExecutorService;
if-nez v0, :cond_0
new-instance v0, Ljava/util/concurrent/ThreadPoolExecutor;
const/4 v2, 0x0
const v3, 0x7fffffff
const-wide/16 v4, 0x3c
sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v7, Ljava/util/concurrent/SynchronousQueue;
invoke-direct {v7}, Ljava/util/concurrent/SynchronousQueue;-><init>()V
const-string v1, "OkHttp Dispatcher"
const/4 v8, 0x0
invoke-static {v1, v8}, Lokhttp3/internal/c;->h(Ljava/lang/String;Z)Ljava/util/concurrent/ThreadFactory;
move-result-object v8
move-object v1, v0
invoke-direct/range {v1 .. v8}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
iput-object v0, p0, Lokhttp3/n;->executorService:Ljava/util/concurrent/ExecutorService;
:cond_0
iget-object v0, p0, Lokhttp3/n;->executorService:Ljava/util/concurrent/ExecutorService;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
2019-02-27 00:16:35 +00:00
# virtual methods
2019-03-08 06:19:26 +00:00
.method final Aa()Z
2019-02-27 21:13:14 +00:00
.locals 8
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
new-instance v0, Ljava/util/ArrayList;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
monitor-enter p0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v1, p0, Lokhttp3/n;->bmR:Ljava/util/Deque;
2019-02-27 00:16:35 +00:00
invoke-interface {v1}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
2019-02-27 21:13:14 +00:00
:goto_0
2019-02-27 00:16:35 +00:00
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lokhttp3/v$a;
2019-03-16 01:04:31 +00:00
iget-object v3, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v3}, Ljava/util/Deque;->size()I
move-result v3
2019-03-16 01:04:31 +00:00
iget v4, p0, Lokhttp3/n;->bmO:I
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
if-ge v3, v4, :cond_1
invoke-direct {p0, v2}, Lokhttp3/n;->a(Lokhttp3/v$a;)I
2019-02-27 00:16:35 +00:00
move-result v3
2019-03-16 01:04:31 +00:00
iget v4, p0, Lokhttp3/n;->bmP:I
2019-02-27 21:13:14 +00:00
if-ge v3, v4, :cond_0
invoke-interface {v1}, Ljava/util/Iterator;->remove()V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
2019-03-16 01:04:31 +00:00
iget-object v3, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-27 21:13:14 +00:00
invoke-interface {v3, v2}, Ljava/util/Deque;->add(Ljava/lang/Object;)Z
2019-02-27 00:16:35 +00:00
goto :goto_0
:cond_1
2019-03-08 06:19:26 +00:00
invoke-direct {p0}, Lokhttp3/n;->Ab()I
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result v1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const/4 v2, 0x0
if-lez v1, :cond_2
const/4 v1, 0x1
goto :goto_1
2019-02-27 00:16:35 +00:00
:cond_2
2019-02-27 21:13:14 +00:00
const/4 v1, 0x0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:goto_1
monitor-exit p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0}, Ljava/util/List;->size()I
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result v3
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:goto_2
if-ge v2, v3, :cond_3
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v4
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
check-cast v4, Lokhttp3/v$a;
2019-02-27 00:16:35 +00:00
2019-03-08 06:19:26 +00:00
invoke-direct {p0}, Lokhttp3/n;->zZ()Ljava/util/concurrent/ExecutorService;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
move-result-object v5
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:try_start_1
invoke-interface {v5, v4}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
:try_end_1
.catch Ljava/util/concurrent/RejectedExecutionException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
goto :goto_3
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:catchall_0
move-exception v0
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
goto :goto_4
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:catch_0
move-exception v5
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
:try_start_2
new-instance v6, Ljava/io/InterruptedIOException;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
const-string v7, "executor rejected"
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-direct {v6, v7}, Ljava/io/InterruptedIOException;-><init>(Ljava/lang/String;)V
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v6, v5}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
2019-02-27 00:16:35 +00:00
2019-03-16 01:04:31 +00:00
iget-object v5, v4, Lokhttp3/v$a;->bor:Lokhttp3/v;
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
invoke-static {v5}, Lokhttp3/v;->c(Lokhttp3/v;)Lokhttp3/p;
2019-03-16 01:04:31 +00:00
iget-object v5, v4, Lokhttp3/v$a;->bos:Lokhttp3/f;
2019-02-27 21:13:14 +00:00
invoke-interface {v5, v6}, Lokhttp3/f;->a(Ljava/io/IOException;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
2019-03-16 01:04:31 +00:00
iget-object v5, v4, Lokhttp3/v$a;->bor:Lokhttp3/v;
2019-02-27 21:13:14 +00:00
2019-03-16 01:04:31 +00:00
iget-object v5, v5, Lokhttp3/v;->bok:Lokhttp3/t;
2019-02-27 21:13:14 +00:00
2019-03-16 01:04:31 +00:00
iget-object v5, v5, Lokhttp3/t;->bnO:Lokhttp3/n;
2019-02-27 21:13:14 +00:00
invoke-virtual {v5, v4}, Lokhttp3/n;->b(Lokhttp3/v$a;)V
:goto_3
add-int/lit8 v2, v2, 0x1
goto :goto_2
:goto_4
2019-03-16 01:04:31 +00:00
iget-object v1, v4, Lokhttp3/v$a;->bor:Lokhttp3/v;
2019-02-27 21:13:14 +00:00
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/v;->bok:Lokhttp3/t;
2019-02-27 21:13:14 +00:00
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/t;->bnO:Lokhttp3/n;
2019-02-27 21:13:14 +00:00
invoke-virtual {v1, v4}, Lokhttp3/n;->b(Lokhttp3/v$a;)V
throw v0
:cond_3
return v1
:catchall_1
move-exception v0
:try_start_3
2019-02-27 00:16:35 +00:00
monitor-exit p0
2019-02-27 21:13:14 +00:00
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
2019-02-27 00:16:35 +00:00
2019-02-27 21:13:14 +00:00
throw v0
2019-02-27 00:16:35 +00:00
return-void
.end method
2019-02-17 00:24:05 +00:00
.method final declared-synchronized a(Lokhttp3/v;)V
2019-02-06 20:30:57 +00:00
.locals 1
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
monitor-enter p0
2019-02-04 20:08:30 +00:00
2019-02-17 00:24:05 +00:00
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmT:Ljava/util/Deque;
2019-02-17 00:24:05 +00:00
invoke-interface {v0, p1}, Ljava/util/Deque;->add(Ljava/lang/Object;)Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
2019-02-04 20:08:30 +00:00
return-void
2019-02-17 00:24:05 +00:00
:catchall_0
move-exception p1
monitor-exit p0
throw p1
2019-02-04 20:08:30 +00:00
.end method
2019-02-17 02:24:41 +00:00
.method final b(Lokhttp3/v$a;)V
.locals 1
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-17 00:24:05 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p0, v0, p1}, Lokhttp3/n;->a(Ljava/util/Deque;Ljava/lang/Object;)V
2019-02-17 00:24:05 +00:00
return-void
.end method
2019-02-17 02:24:41 +00:00
.method final b(Lokhttp3/v;)V
.locals 1
2019-02-17 00:24:05 +00:00
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmT:Ljava/util/Deque;
2019-02-17 00:24:05 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct {p0, v0, p1}, Lokhttp3/n;->a(Ljava/util/Deque;Ljava/lang/Object;)V
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public final declared-synchronized cancelAll()V
.locals 2
monitor-enter p0
:try_start_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmR:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
invoke-interface {v0}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/v$a;
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/v$a;->bor:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/v;->bol:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v1}, Lokhttp3/internal/c/j;->cancel()V
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmS:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
invoke-interface {v0}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_1
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/v$a;
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/v$a;->bor:Lokhttp3/v;
2019-02-04 20:08:30 +00:00
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/v;->bol:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v1}, Lokhttp3/internal/c/j;->cancel()V
2019-02-04 20:08:30 +00:00
goto :goto_1
:cond_1
2019-03-16 01:04:31 +00:00
iget-object v0, p0, Lokhttp3/n;->bmT:Ljava/util/Deque;
2019-02-04 20:08:30 +00:00
invoke-interface {v0}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_2
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lokhttp3/v;
2019-03-16 01:04:31 +00:00
iget-object v1, v1, Lokhttp3/v;->bol:Lokhttp3/internal/c/j;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
invoke-virtual {v1}, Lokhttp3/internal/c/j;->cancel()V
2019-02-04 20:08:30 +00:00
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_2
:cond_2
monitor-exit p0
return-void
:catchall_0
move-exception v0
monitor-exit p0
throw v0
2019-02-04 20:29:01 +00:00
return-void
2019-02-04 20:08:30 +00:00
.end method