2020-10-05 23:18:16 +00:00
|
|
|
.class public abstract Ld0/a/l0;
|
|
|
|
.super Ld0/a/m0;
|
2020-09-16 23:45:23 +00:00
|
|
|
.source "EventLoop.common.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-10-05 23:18:16 +00:00
|
|
|
.implements Ld0/a/b0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
2020-10-05 23:18:16 +00:00
|
|
|
Ld0/a/l0$b;,
|
|
|
|
Ld0/a/l0$a;,
|
|
|
|
Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
.field public static final h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-07-16 19:51:49 +00:00
|
|
|
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
# instance fields
|
2020-09-16 23:45:23 +00:00
|
|
|
.field public volatile _delayed:Ljava/lang/Object;
|
|
|
|
|
|
|
|
.field public volatile _isCompleted:I
|
|
|
|
|
|
|
|
.field public volatile _queue:Ljava/lang/Object;
|
2020-07-16 19:51:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-class v0, Ljava/lang/Object;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
const-class v1, Ld0/a/l0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v2, "_queue"
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sput-object v2, Ld0/a/l0;->g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v2, "_delayed"
|
|
|
|
|
|
|
|
invoke-static {v1, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sput-object v0, Ld0/a/l0;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {p0}, Ld0/a/m0;-><init>()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object v0, p0, Ld0/a/l0;->_queue:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-object v0, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput v0, p0, Ld0/a/l0;->_isCompleted:I
|
2020-07-16 19:51:49 +00:00
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-07-16 19:51:49 +00:00
|
|
|
|
|
|
|
|
2020-07-20 19:00:44 +00:00
|
|
|
# virtual methods
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public final E(Ljava/lang/Runnable;)V
|
|
|
|
.locals 1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, p1}, Ld0/a/l0;->F(Ljava/lang/Runnable;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/m0;->C()Ljava/lang/Thread;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
|
|
|
|
move-result-object v0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eq v0, p1, :cond_1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {p1}, Ljava/util/concurrent/locks/LockSupport;->unpark(Ljava/lang/Thread;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v0, Ld0/a/z;->j:Ld0/a/z;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0, p1}, Ld0/a/l0;->E(Ljava/lang/Runnable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2020-07-20 19:00:44 +00:00
|
|
|
return-void
|
|
|
|
.end method
|
2020-07-16 19:51:49 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public final F(Ljava/lang/Runnable;)Z
|
|
|
|
.locals 5
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_queue:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v1, p0, Ld0/a/l0;->_isCompleted:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v0, Ld0/a/l0;->g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v2, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v0, p0, v2, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_2
|
2020-10-05 23:18:16 +00:00
|
|
|
instance-of v3, v0, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v3, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v3, p1}, Ld0/a/r1/i;->a(Ljava/lang/Object;)I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_5
|
|
|
|
|
|
|
|
if-eq v4, v1, :cond_4
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
if-eq v4, v0, :cond_3
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_4
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v1, Ld0/a/l0;->g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v3}, Ld0/a/r1/i;->d()Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_6
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v3, Ld0/a/n0;->b:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v0, v3, :cond_7
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_7
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v2, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/16 v3, 0x8
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v2, v3, v1}, Ld0/a/r1/i;-><init>(IZ)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/Runnable;
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v2, v3}, Ld0/a/r1/i;->a(Ljava/lang/Object;)I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v2, p1}, Ld0/a/r1/i;->a(Ljava/lang/Object;)I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v3, Ld0/a/l0;->g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v3, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
2020-09-09 19:21:20 +00:00
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public G()Z
|
|
|
|
.locals 4
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/k0;->f:Ld0/a/r1/a;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v1, 0x1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v2, 0x0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v0, :cond_1
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v3, v0, Ld0/a/r1/a;->b:I
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v0, v0, Ld0/a/r1/a;->c:I
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-ne v3, v0, :cond_0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_2
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v0, v0, Ld0/a/r1/q;->_size:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
|
|
|
|
return v2
|
|
|
|
|
|
|
|
:cond_4
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_queue:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_5
|
2020-10-05 23:18:16 +00:00
|
|
|
instance-of v3, v0, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_6
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0}, Ld0/a/r1/i;->c()Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_6
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v3, Ld0/a/n0;->b:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v0, v3, :cond_7
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
return v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public H()J
|
|
|
|
.locals 12
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/k0;->B()Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return-wide v1
|
|
|
|
|
|
|
|
:cond_0
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v6, v0, Ld0/a/r1/q;->_size:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-nez v6, :cond_1
|
|
|
|
|
|
|
|
const/4 v6, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v6, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-nez v6, :cond_6
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide v6
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0}, Ld0/a/r1/q;->b()Ld0/a/r1/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
|
|
|
|
if-eqz v8, :cond_5
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v8, Ld0/a/l0$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v9, v8, Ld0/a/l0$b;->f:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
sub-long v9, v6, v9
|
|
|
|
|
|
|
|
cmp-long v11, v9, v1
|
|
|
|
|
|
|
|
if-ltz v11, :cond_2
|
|
|
|
|
|
|
|
const/4 v9, 0x1
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-eqz v9, :cond_3
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, v8}, Ld0/a/l0;->F(Ljava/lang/Runnable;)Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v8
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v8, 0x0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eqz v8, :cond_4
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0, v5}, Ld0/a/r1/q;->c(I)Ld0/a/r1/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v8
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object v8, v3
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
move-object v8, v3
|
|
|
|
|
|
|
|
:goto_5
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v8, Ld0/a/l0$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v8, :cond_6
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_6
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_queue:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_7
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_7
|
2020-10-05 23:18:16 +00:00
|
|
|
instance-of v6, v0, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v6, :cond_9
|
|
|
|
|
|
|
|
move-object v6, v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v6, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v6}, Ld0/a/r1/i;->e()Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v8, Ld0/a/r1/i;->g:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eq v7, v8, :cond_8
|
|
|
|
|
|
|
|
move-object v3, v7
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_8
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v7, Ld0/a/l0;->g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v6}, Ld0/a/r1/i;->d()Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
|
|
|
invoke-virtual {v7, p0, v0, v6}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_9
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v6, Ld0/a/n0;->b:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v0, v6, :cond_a
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_a
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v6, Ld0/a/l0;->g:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v6, p0, v0, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_6
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
check-cast v3, Ljava/lang/Runnable;
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_7
|
|
|
|
if-eqz v3, :cond_b
|
|
|
|
|
|
|
|
invoke-interface {v3}, Ljava/lang/Runnable;->run()V
|
|
|
|
|
|
|
|
return-wide v1
|
|
|
|
|
|
|
|
:cond_b
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/k0;->f:Ld0/a/r1/a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-wide v6, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v3, v0, Ld0/a/r1/a;->b:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v0, v0, Ld0/a/r1/a;->c:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v3, v0, :cond_c
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
:goto_8
|
|
|
|
if-eqz v4, :cond_d
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
move-wide v3, v1
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_e
|
|
|
|
:goto_9
|
|
|
|
move-wide v3, v6
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
cmp-long v0, v3, v1
|
|
|
|
|
|
|
|
if-nez v0, :cond_f
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:cond_f
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_queue:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_10
|
|
|
|
|
|
|
|
goto :goto_b
|
|
|
|
|
|
|
|
:cond_10
|
2020-10-05 23:18:16 +00:00
|
|
|
instance-of v3, v0, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_13
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/r1/i;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0}, Ld0/a/r1/i;->c()Z
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_11
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
:goto_b
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_14
|
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_1
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0}, Ld0/a/r1/q;->b()Ld0/a/r1/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v3, Ld0/a/l0$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v3, :cond_14
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v3, v3, Ld0/a/l0$b;->f:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide v5
|
|
|
|
|
|
|
|
sub-long/2addr v3, v5
|
|
|
|
|
|
|
|
cmp-long v0, v3, v1
|
|
|
|
|
|
|
|
if-gez v0, :cond_12
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
move-wide v1, v3
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_13
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v3, Ld0/a/n0;->b:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-ne v0, v3, :cond_15
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
move-wide v1, v6
|
|
|
|
|
|
|
|
:cond_15
|
|
|
|
:goto_c
|
|
|
|
return-wide v1
|
|
|
|
.end method
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.method public final I(JLd0/a/l0$b;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 12
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v0, p0, Ld0/a/l0;->_isCompleted:I
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x2
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
const/4 v4, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v0, Ld0/a/l0;->h:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v5, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v5, p1, p2}, Ld0/a/l0$c;-><init>(J)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p0, v1, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v0, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v0, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
monitor-enter p3
|
|
|
|
|
|
|
|
:try_start_0
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object v5, p3, Ld0/a/l0$b;->d:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v6, Ld0/a/n0;->a:Ld0/a/r1/n;
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_2
|
|
|
|
|
|
|
|
if-ne v5, v6, :cond_2
|
|
|
|
|
|
|
|
monitor-exit p3
|
|
|
|
|
|
|
|
const/4 v0, 0x2
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:try_start_1
|
|
|
|
monitor-enter v0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_2
|
|
|
|
|
|
|
|
:try_start_2
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0}, Ld0/a/r1/q;->b()Ld0/a/r1/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v5, Ld0/a/l0$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget v6, p0, Ld0/a/l0;->_isCompleted:I
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
|
|
|
|
monitor-exit p3
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const-wide/16 v6, 0x0
|
|
|
|
|
|
|
|
if-nez v5, :cond_4
|
|
|
|
|
|
|
|
:try_start_4
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-wide p1, v0, Ld0/a/l0$c;->b:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v8, v5, Ld0/a/l0$b;->f:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
sub-long v10, v8, p1
|
|
|
|
|
|
|
|
cmp-long v5, v10, v6
|
|
|
|
|
|
|
|
if-ltz v5, :cond_5
|
|
|
|
|
|
|
|
move-wide v8, p1
|
|
|
|
|
|
|
|
:cond_5
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v10, v0, Ld0/a/l0$c;->b:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
sub-long v10, v8, v10
|
|
|
|
|
|
|
|
cmp-long v5, v10, v6
|
|
|
|
|
|
|
|
if-lez v5, :cond_6
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-wide v8, v0, Ld0/a/l0$c;->b:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:goto_2
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v8, p3, Ld0/a/l0$b;->f:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v10, v0, Ld0/a/l0$c;->b:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
sub-long/2addr v8, v10
|
|
|
|
|
|
|
|
cmp-long v5, v8, v6
|
|
|
|
|
|
|
|
if-gez v5, :cond_7
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-wide v5, v0, Ld0/a/l0$c;->b:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
iput-wide v5, p3, Ld0/a/l0$b;->f:J
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_7
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0, p3}, Ld0/a/r1/q;->a(Ld0/a/r1/r;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_1
|
|
|
|
|
|
|
|
:try_start_5
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_5
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
|
|
|
|
|
|
|
monitor-exit p3
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
|
|
|
|
if-eq v0, v4, :cond_9
|
|
|
|
|
|
|
|
if-ne v0, v2, :cond_8
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
const-string p1, "unexpected result"
|
|
|
|
|
|
|
|
new-instance p2, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_9
|
2020-10-05 23:18:16 +00:00
|
|
|
sget-object v0, Ld0/a/z;->j:Ld0/a/z;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {v0, p1, p2, p3}, Ld0/a/l0;->I(JLd0/a/l0$b;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_a
|
2020-10-05 23:18:16 +00:00
|
|
|
iget-object p1, p0, Ld0/a/l0;->_delayed:Ljava/lang/Object;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast p1, Ld0/a/l0$c;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
|
|
|
|
monitor-enter p1
|
|
|
|
|
|
|
|
:try_start_6
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p1}, Ld0/a/r1/q;->b()Ld0/a/r1/r;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
:try_end_6
|
|
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p1
|
|
|
|
|
|
|
|
move-object v1, p2
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
check-cast v1, Ld0/a/l0$b;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p2
|
|
|
|
|
|
|
|
monitor-exit p1
|
|
|
|
|
|
|
|
throw p2
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
:goto_4
|
|
|
|
if-ne v1, p3, :cond_c
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
if-eqz v3, :cond_d
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0}, Ld0/a/m0;->C()Ljava/lang/Thread;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
if-eq p2, p1, :cond_d
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/util/concurrent/locks/LockSupport;->unpark(Ljava/lang/Thread;)V
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
:goto_5
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_7
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
:try_end_7
|
|
|
|
.catchall {:try_start_7 .. :try_end_7} :catchall_2
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p3
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_e
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-static {}, Lc0/n/c/j;->throwNpe()V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
throw v1
|
|
|
|
.end method
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
.method public b(JLd0/a/f;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
.locals 3
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(J",
|
2020-10-05 23:18:16 +00:00
|
|
|
"Ld0/a/f<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"-",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
|
|
|
|
if-gtz v2, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-wide v0, 0x8637bd05af6L
|
|
|
|
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
|
|
|
|
if-ltz v2, :cond_1
|
|
|
|
|
|
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-wide/32 v0, 0xf4240
|
|
|
|
|
|
|
|
mul-long v0, v0, p1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-wide p1, 0x3fffffffffffffffL # 1.9999999999999998
|
|
|
|
|
|
|
|
cmp-long v2, v0, p1
|
|
|
|
|
|
|
|
if-gez v2, :cond_2
|
|
|
|
|
|
|
|
invoke-static {}, Ljava/lang/System;->nanoTime()J
|
|
|
|
|
|
|
|
move-result-wide p1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v2, Ld0/a/l0$a;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
add-long/2addr v0, p1
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v2, p0, v0, v1, p3}, Ld0/a/l0$a;-><init>(Ld0/a/l0;JLd0/a/f;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
new-instance v0, Ld0/a/i0;
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-direct {v0, v2}, Ld0/a/i0;-><init>(Ld0/a/h0;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-interface {p3, v0}, Ld0/a/f;->b(Lkotlin/jvm/functions/Function1;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, p1, p2, v2}, Ld0/a/l0;->I(JLd0/a/l0$b;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
|
|
|
|
.locals 0
|
|
|
|
|
2020-10-05 23:18:16 +00:00
|
|
|
invoke-virtual {p0, p2}, Ld0/a/l0;->E(Ljava/lang/Runnable;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
return-void
|
2020-07-16 19:51:49 +00:00
|
|
|
.end method
|