b.smali
.class public abstract Leb/b;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<S:",
"Leb/d<",
"*>;>",
"Ljava/lang/Object;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
.end annotation
# instance fields
.field private a:[Leb/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"[TS;"
}
.end annotation
.end field
.field private b:I
.field private c:I
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method protected final b()Leb/d;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"()TS;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
monitor-enter p0
:try_start_1
iget-object v0, p0, Leb/b;->a:[Leb/d;
const/4 v1, 0x2
if-nez v0, :cond_d
invoke-virtual {p0, v1}, Leb/b;->e(I)[Leb/d;
move-result-object v0
iput-object v0, p0, Leb/b;->a:[Leb/d;
goto :goto_25
:cond_d
iget v2, p0, Leb/b;->b:I
array-length v3, v0
if-lt v2, v3, :cond_25
array-length v2, v0
mul-int/lit8 v2, v2, 0x2
invoke-static {v0, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
move-result-object v0
const-string v1, "copyOf(this, newSize)"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
move-object v1, v0
check-cast v1, [Leb/d;
iput-object v1, p0, Leb/b;->a:[Leb/d;
check-cast v0, [Leb/d;
:cond_25
:goto_25
iget v1, p0, Leb/b;->c:I
:cond_27
aget-object v2, v0, v1
if-nez v2, :cond_31
invoke-virtual {p0}, Leb/b;->d()Leb/d;
move-result-object v2
aput-object v2, v0, v1
:cond_31
add-int/lit8 v1, v1, 0x1
array-length v3, v0
if-lt v1, v3, :cond_37
const/4 v1, 0x0
:cond_37
const-string v3, "null cannot be cast to non-null type kotlinx.coroutines.flow.internal.AbstractSharedFlowSlot<kotlin.Any>"
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->d(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v2, p0}, Leb/d;->a(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_27
iput v1, p0, Leb/b;->c:I
iget v0, p0, Leb/b;->b:I
add-int/lit8 v0, v0, 0x1
iput v0, p0, Leb/b;->b:I
:try_end_4a
.catchall {:try_start_1 .. :try_end_4a} :catchall_4c
monitor-exit p0
return-object v2
:catchall_4c
move-exception v0
monitor-exit p0
goto :goto_50
:goto_4f
throw v0
:goto_50
goto :goto_4f
.end method
.method protected abstract d()Leb/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"()TS;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end method
.method protected abstract e(I)[Leb/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)[TS;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end method
.method protected final f(Leb/d;)V
.registers 6
.param p1 # Leb/d;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(TS;)V"
}
.end annotation
monitor-enter p0
:try_start_1
iget v0, p0, Leb/b;->b:I
add-int/lit8 v0, v0, -0x1
iput v0, p0, Leb/b;->b:I
const/4 v1, 0x0
if-nez v0, :cond_c
iput v1, p0, Leb/b;->c:I
:cond_c
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.flow.internal.AbstractSharedFlowSlot<kotlin.Any>"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->d(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, p0}, Leb/d;->b(Ljava/lang/Object;)[Lkotlin/coroutines/d;
move-result-object p1
:try_end_15
.catchall {:try_start_1 .. :try_end_15} :catchall_2c
monitor-exit p0
array-length v0, p1
:goto_17
if-ge v1, v0, :cond_2b
aget-object v2, p1, v1
if-eqz v2, :cond_28
sget-object v3, Lka/n;->a:Lka/n$a;
sget-object v3, Lkotlin/Unit;->a:Lkotlin/Unit;
invoke-static {v3}, Lka/n;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
invoke-interface {v2, v3}, Lkotlin/coroutines/d;->j(Ljava/lang/Object;)V
:cond_28
add-int/lit8 v1, v1, 0x1
goto :goto_17
:cond_2b
return-void
:catchall_2c
move-exception p1
monitor-exit p0
goto :goto_30
:goto_2f
throw p1
:goto_30
goto :goto_2f
.end method
.method protected final g()[Leb/d;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()[TS;"
}
.end annotation
iget-object v0, p0, Leb/b;->a:[Leb/d;
return-object v0
.end method