2019-08-17 08:22:04 +00:00
|
|
|
.class public final Lkotlinx/coroutines/internal/aa;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "ThreadSafeHeap.kt"
|
|
|
|
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T::",
|
|
|
|
"Lkotlinx/coroutines/internal/ab;",
|
|
|
|
":",
|
|
|
|
"Ljava/lang/Comparable<",
|
|
|
|
"-TT;>;>",
|
|
|
|
"Ljava/lang/Object;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-04 20:11:59 +00:00
|
|
|
.field public brO:[Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"[TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field public volatile size:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.method private final du(I)V
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 5
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
mul-int/lit8 v0, p1, 0x2
|
|
|
|
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
iget v1, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-04 20:11:59 +00:00
|
|
|
iget-object v1, p0, Lkotlinx/coroutines/internal/aa;->brO:[Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v2, v0, 0x1
|
|
|
|
|
|
|
|
iget v3, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
if-ge v2, v3, :cond_4
|
|
|
|
|
|
|
|
aget-object v3, v1, v2
|
|
|
|
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
check-cast v3, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
aget-object v4, v1, v0
|
|
|
|
|
|
|
|
if-nez v4, :cond_3
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {v3, v4}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-gez v3, :cond_4
|
|
|
|
|
|
|
|
move v0, v2
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
aget-object v2, v1, p1
|
|
|
|
|
|
|
|
if-nez v2, :cond_5
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_5
|
|
|
|
check-cast v2, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
aget-object v1, v1, v0
|
|
|
|
|
|
|
|
if-nez v1, :cond_6
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_6
|
|
|
|
invoke-interface {v2, v1}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-gtz v1, :cond_7
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
invoke-direct {p0, p1, v0}, Lkotlinx/coroutines/internal/aa;->swap(II)V
|
|
|
|
|
|
|
|
move p1, v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private final swap(II)V
|
|
|
|
.locals 3
|
|
|
|
|
2019-10-04 20:11:59 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/aa;->brO:[Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
aget-object v1, v0, p2
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
aget-object v2, v0, p1
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
aput-object v1, v0, p1
|
|
|
|
|
|
|
|
aput-object v2, v0, p2
|
|
|
|
|
|
|
|
invoke-interface {v1, p1}, Lkotlinx/coroutines/internal/ab;->setIndex(I)V
|
|
|
|
|
|
|
|
invoke-interface {v2, p2}, Lkotlinx/coroutines/internal/ab;->setIndex(I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
# virtual methods
|
2019-10-04 22:25:14 +00:00
|
|
|
.method public final declared-synchronized FY()Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-virtual {p0}, Lkotlinx/coroutines/internal/aa;->Ga()Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
: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-10-04 22:25:14 +00:00
|
|
|
.method public final declared-synchronized FZ()Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 1
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-08-17 08:22:04 +00:00
|
|
|
"()TT;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget v0, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {p0, v0}, Lkotlinx/coroutines/internal/aa;->ds(I)Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
.method public final Ga()Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()TT;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-04 20:11:59 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/aa;->brO:[Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized a(Lkotlinx/coroutines/internal/ab;)Z
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TT;)Z"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
const-string v0, "node"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-interface {p1}, Lkotlinx/coroutines/internal/ab;->Fp()Lkotlinx/coroutines/internal/aa;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_1
|
|
|
|
invoke-interface {p1}, Lkotlinx/coroutines/internal/ab;->getIndex()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
if-ltz p1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {p0, p1}, Lkotlinx/coroutines/internal/aa;->ds(I)Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:try_start_2
|
|
|
|
const-string p1, "Check failed."
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.method public final ds(I)Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 8
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-08-17 08:22:04 +00:00
|
|
|
"(I)TT;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
iget v0, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
const-string v3, "Check failed."
|
|
|
|
|
|
|
|
if-eqz v0, :cond_9
|
|
|
|
|
2019-10-04 20:11:59 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/aa;->brO:[Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget v4, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
const/4 v5, -0x1
|
|
|
|
|
|
|
|
add-int/2addr v4, v5
|
|
|
|
|
|
|
|
iput v4, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
iget v4, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
if-ge p1, v4, :cond_5
|
|
|
|
|
|
|
|
iget v4, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, v4}, Lkotlinx/coroutines/internal/aa;->swap(II)V
|
|
|
|
|
|
|
|
add-int/lit8 v4, p1, -0x1
|
|
|
|
|
|
|
|
div-int/lit8 v4, v4, 0x2
|
|
|
|
|
|
|
|
if-lez p1, :cond_4
|
|
|
|
|
|
|
|
aget-object v6, v0, p1
|
|
|
|
|
|
|
|
if-nez v6, :cond_2
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
check-cast v6, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
aget-object v7, v0, v4
|
|
|
|
|
|
|
|
if-nez v7, :cond_3
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {v6, v7}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-gez v6, :cond_4
|
|
|
|
|
|
|
|
invoke-direct {p0, p1, v4}, Lkotlinx/coroutines/internal/aa;->swap(II)V
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-virtual {p0, v4}, Lkotlinx/coroutines/internal/aa;->dt(I)V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_4
|
2019-10-03 02:31:26 +00:00
|
|
|
invoke-direct {p0, p1}, Lkotlinx/coroutines/internal/aa;->du(I)V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_1
|
|
|
|
iget p1, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
aget-object p1, v0, p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_6
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_6
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-interface {p1}, Lkotlinx/coroutines/internal/ab;->Fp()Lkotlinx/coroutines/internal/aa;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
move-result-object v4
|
|
|
|
|
|
|
|
move-object v6, p0
|
|
|
|
|
|
|
|
check-cast v6, Lkotlinx/coroutines/internal/aa;
|
|
|
|
|
|
|
|
if-ne v4, v6, :cond_7
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Lkotlinx/coroutines/internal/ab;->a(Lkotlinx/coroutines/internal/aa;)V
|
|
|
|
|
|
|
|
invoke-interface {p1, v5}, Lkotlinx/coroutines/internal/ab;->setIndex(I)V
|
|
|
|
|
|
|
|
iget v2, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-10-03 02:31:26 +00:00
|
|
|
.method public final dt(I)V
|
2019-08-17 08:22:04 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-gtz p1, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-04 20:11:59 +00:00
|
|
|
iget-object v0, p0, Lkotlinx/coroutines/internal/aa;->brO:[Lkotlinx/coroutines/internal/ab;
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
add-int/lit8 v1, p1, -0x1
|
|
|
|
|
|
|
|
div-int/lit8 v1, v1, 0x2
|
|
|
|
|
|
|
|
aget-object v2, v0, v1
|
|
|
|
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_2
|
|
|
|
check-cast v2, Ljava/lang/Comparable;
|
|
|
|
|
|
|
|
aget-object v0, v0, p1
|
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2019-10-04 22:25:14 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/k;->Et()V
|
2019-08-17 08:22:04 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
invoke-interface {v2, v0}, Ljava/lang/Comparable;->compareTo(Ljava/lang/Object;)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-gtz v0, :cond_4
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
invoke-direct {p0, p1, v1}, Lkotlinx/coroutines/internal/aa;->swap(II)V
|
|
|
|
|
|
|
|
move p1, v1
|
|
|
|
|
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
2019-08-17 08:22:04 +00:00
|
|
|
.method public final isEmpty()Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
iget v0, p0, Lkotlinx/coroutines/internal/aa;->size:I
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|