305 lines
		
	
	
		
			8.3 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			305 lines
		
	
	
		
			8.3 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class final Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;
 | |
| .super Lkotlin/coroutines/jvm/internal/SuspendLambda;
 | |
| .source "TickerChannels.kt"
 | |
| 
 | |
| # interfaces
 | |
| .implements Lej/p;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingMethod;
 | |
|     value = Lkotlinx/coroutines/channels/TickerChannelsKt;->c(JJLkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/channels/TickerMode;)Lkotlinx/coroutines/channels/z;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x19
 | |
|     name = null
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/Signature;
 | |
|     value = {
 | |
|         "Lkotlin/coroutines/jvm/internal/SuspendLambda;",
 | |
|         "Lej/p<",
 | |
|         "Lkotlinx/coroutines/channels/x<",
 | |
|         "-",
 | |
|         "Lkotlin/d1;",
 | |
|         ">;",
 | |
|         "Lkotlin/coroutines/c<",
 | |
|         "-",
 | |
|         "Lkotlin/d1;",
 | |
|         ">;",
 | |
|         "Ljava/lang/Object;",
 | |
|         ">;"
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation runtime Lkotlin/Metadata;
 | |
|     bv = {}
 | |
|     d1 = {
 | |
|         "\u0000\u000c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u0010\u0004\u001a\u00020\u0001*\u0008\u0012\u0004\u0012\u00020\u00010\u0000H\u008a@\u00a2\u0006\u0004\u0008\u0002\u0010\u0003"
 | |
|     }
 | |
|     d2 = {
 | |
|         "Lkotlinx/coroutines/channels/x;",
 | |
|         "Lkotlin/d1;",
 | |
|         "invoke",
 | |
|         "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;",
 | |
|         "<anonymous>"
 | |
|     }
 | |
|     k = 0x3
 | |
|     mv = {
 | |
|         0x1,
 | |
|         0x4,
 | |
|         0x0
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| .annotation runtime Lkotlin/coroutines/jvm/internal/DebugMetadata;
 | |
|     c = "kotlinx.coroutines.channels.TickerChannelsKt$ticker$3"
 | |
|     f = "TickerChannels.kt"
 | |
|     i = {
 | |
|         0x0,
 | |
|         0x1
 | |
|     }
 | |
|     l = {
 | |
|         0x48,
 | |
|         0x49
 | |
|     }
 | |
|     m = "invokeSuspend"
 | |
|     n = {
 | |
|         "$this$produce",
 | |
|         "$this$produce"
 | |
|     }
 | |
|     s = {
 | |
|         "L$0",
 | |
|         "L$0"
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final synthetic $delayMillis:J
 | |
| 
 | |
| .field public final synthetic $initialDelayMillis:J
 | |
| 
 | |
| .field public final synthetic $mode:Lkotlinx/coroutines/channels/TickerMode;
 | |
| 
 | |
| .field public L$0:Ljava/lang/Object;
 | |
| 
 | |
| .field public label:I
 | |
| 
 | |
| .field private p$:Lkotlinx/coroutines/channels/x;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Lkotlinx/coroutines/channels/TickerMode;JJLkotlin/coroutines/c;)V
 | |
|     .locals 0
 | |
| 
 | |
|     iput-object p1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$mode:Lkotlinx/coroutines/channels/TickerMode;
 | |
| 
 | |
|     iput-wide p2, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$delayMillis:J
 | |
| 
 | |
|     iput-wide p4, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$initialDelayMillis:J
 | |
| 
 | |
|     const/4 p1, 0x2
 | |
| 
 | |
|     invoke-direct {p0, p1, p6}, Lkotlin/coroutines/jvm/internal/SuspendLambda;-><init>(ILkotlin/coroutines/c;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public final create(Ljava/lang/Object;Lkotlin/coroutines/c;)Lkotlin/coroutines/c;
 | |
|     .locals 8
 | |
|     .param p1    # Ljava/lang/Object;
 | |
|         .annotation build Lorg/jetbrains/annotations/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .param p2    # Lkotlin/coroutines/c;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "(",
 | |
|             "Ljava/lang/Object;",
 | |
|             "Lkotlin/coroutines/c<",
 | |
|             "*>;)",
 | |
|             "Lkotlin/coroutines/c<",
 | |
|             "Lkotlin/d1;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|     .end annotation
 | |
| 
 | |
|     new-instance v7, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;
 | |
| 
 | |
|     iget-object v1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$mode:Lkotlinx/coroutines/channels/TickerMode;
 | |
| 
 | |
|     iget-wide v2, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$delayMillis:J
 | |
| 
 | |
|     iget-wide v4, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$initialDelayMillis:J
 | |
| 
 | |
|     move-object v0, v7
 | |
| 
 | |
|     move-object v6, p2
 | |
| 
 | |
|     invoke-direct/range {v0 .. v6}, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;-><init>(Lkotlinx/coroutines/channels/TickerMode;JJLkotlin/coroutines/c;)V
 | |
| 
 | |
|     check-cast p1, Lkotlinx/coroutines/channels/x;
 | |
| 
 | |
|     iput-object p1, v7, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->p$:Lkotlinx/coroutines/channels/x;
 | |
| 
 | |
|     return-object v7
 | |
| .end method
 | |
| 
 | |
| .method public final invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
 | |
|     .locals 0
 | |
| 
 | |
|     check-cast p2, Lkotlin/coroutines/c;
 | |
| 
 | |
|     invoke-virtual {p0, p1, p2}, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->create(Ljava/lang/Object;Lkotlin/coroutines/c;)Lkotlin/coroutines/c;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     check-cast p1, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;
 | |
| 
 | |
|     sget-object p2, Lkotlin/d1;->a:Lkotlin/d1;
 | |
| 
 | |
|     invoke-virtual {p1, p2}, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public final invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
 | |
|     .locals 10
 | |
|     .param p1    # Ljava/lang/Object;
 | |
|         .annotation build Lorg/jetbrains/annotations/NotNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Lorg/jetbrains/annotations/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     invoke-static {}, Lvi/b;->h()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 1
 | |
|     iget v1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->label:I
 | |
| 
 | |
|     const/4 v2, 0x2
 | |
| 
 | |
|     const/4 v3, 0x1
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     if-eq v1, v3, :cond_0
 | |
| 
 | |
|     if-ne v1, v2, :cond_1
 | |
| 
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->L$0:Ljava/lang/Object;
 | |
| 
 | |
|     check-cast v0, Lkotlinx/coroutines/channels/x;
 | |
| 
 | |
|     invoke-static {p1}, Lkotlin/d0;->n(Ljava/lang/Object;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_1
 | |
|     new-instance p1, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     const-string v0, "call to \'resume\' before \'invoke\' with coroutine"
 | |
| 
 | |
|     invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw p1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_2
 | |
|     invoke-static {p1}, Lkotlin/d0;->n(Ljava/lang/Object;)V
 | |
| 
 | |
|     iget-object p1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->p$:Lkotlinx/coroutines/channels/x;
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$mode:Lkotlinx/coroutines/channels/TickerMode;
 | |
| 
 | |
|     sget-object v4, Lkotlinx/coroutines/channels/g0;->a:[I
 | |
| 
 | |
|     invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     aget v1, v4, v1
 | |
| 
 | |
|     if-eq v1, v3, :cond_4
 | |
| 
 | |
|     if-eq v1, v2, :cond_3
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 5
 | |
|     :cond_3
 | |
|     iget-wide v4, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$delayMillis:J
 | |
| 
 | |
|     iget-wide v6, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$initialDelayMillis:J
 | |
| 
 | |
|     invoke-interface {p1}, Lkotlinx/coroutines/channels/x;->c()Lkotlinx/coroutines/channels/d0;
 | |
| 
 | |
|     move-result-object v8
 | |
| 
 | |
|     iput-object p1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->L$0:Ljava/lang/Object;
 | |
| 
 | |
|     iput v2, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->label:I
 | |
| 
 | |
|     move-object v9, p0
 | |
| 
 | |
|     invoke-static/range {v4 .. v9}, Lkotlinx/coroutines/channels/TickerChannelsKt;->a(JJLkotlinx/coroutines/channels/d0;Lkotlin/coroutines/c;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-ne p1, v0, :cond_5
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 6
 | |
|     :cond_4
 | |
|     iget-wide v1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$delayMillis:J
 | |
| 
 | |
|     iget-wide v4, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->$initialDelayMillis:J
 | |
| 
 | |
|     invoke-interface {p1}, Lkotlinx/coroutines/channels/x;->c()Lkotlinx/coroutines/channels/d0;
 | |
| 
 | |
|     move-result-object v6
 | |
| 
 | |
|     iput-object p1, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->L$0:Ljava/lang/Object;
 | |
| 
 | |
|     iput v3, p0, Lkotlinx/coroutines/channels/TickerChannelsKt$ticker$3;->label:I
 | |
| 
 | |
|     move-wide v3, v4
 | |
| 
 | |
|     move-object v5, v6
 | |
| 
 | |
|     move-object v6, p0
 | |
| 
 | |
|     invoke-static/range {v1 .. v6}, Lkotlinx/coroutines/channels/TickerChannelsKt;->b(JJLkotlinx/coroutines/channels/d0;Lkotlin/coroutines/c;)Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-ne p1, v0, :cond_5
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     .line 7
 | |
|     :cond_5
 | |
|     :goto_0
 | |
|     sget-object p1, Lkotlin/d1;->a:Lkotlin/d1;
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 |