.class public abstract Ln/a/a; .super Ln/a/h1; .source "AbstractCoroutine.kt" # interfaces .implements Lkotlinx/coroutines/Job; .implements Lkotlin/coroutines/Continuation; .implements Lkotlinx/coroutines/CoroutineScope; # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ln/a/h1;", "Lkotlinx/coroutines/Job;", "Lkotlin/coroutines/Continuation<", "TT;>;", "Lkotlinx/coroutines/CoroutineScope;" } .end annotation # instance fields .field public final e:Lkotlin/coroutines/CoroutineContext; .field public final f:Lkotlin/coroutines/CoroutineContext; # direct methods .method public constructor (Lkotlin/coroutines/CoroutineContext;Z)V .locals 0 if-eqz p1, :cond_0 invoke-direct {p0, p2}, Ln/a/h1;->(Z)V iput-object p1, p0, Ln/a/a;->f:Lkotlin/coroutines/CoroutineContext; iget-object p1, p0, Ln/a/a;->f:Lkotlin/coroutines/CoroutineContext; invoke-interface {p1, p0}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext; move-result-object p1 iput-object p1, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext; return-void :cond_0 const-string p1, "parentContext" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method # virtual methods .method public final a(Ln/a/c0;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ln/a/c0;", "TR;", "Lkotlin/jvm/functions/Function2<", "-TR;-", "Lkotlin/coroutines/Continuation<", "-TT;>;+", "Ljava/lang/Object;", ">;)V" } .end annotation const/4 v0, 0x0 if-eqz p1, :cond_6 if-eqz p3, :cond_5 invoke-virtual {p0}, Ln/a/a;->l()V sget-object v1, Ln/a/b0;->b:[I invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I move-result p1 aget p1, v1, p1 const/4 v1, 0x1 if-eq p1, v1, :cond_3 const/4 v1, 0x2 if-eq p1, v1, :cond_2 const/4 v2, 0x3 if-eq p1, v2, :cond_1 const/4 p2, 0x4 if-ne p1, p2, :cond_0 goto :goto_0 :cond_0 new-instance p1, Lm/g; invoke-direct {p1}, Lm/g;->()V throw p1 :cond_1 invoke-static {p0}, Le/k/a/b/e/p/g;->probeCoroutineCreated(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation; :try_start_0 invoke-interface {p0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext; move-result-object p1 invoke-static {p1, v0}, Ln/a/a2/x;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_1 :try_start_1 invoke-static {p3, v1}, Lm/u/b/y;->beforeCheckcastToFunctionOfArity(Ljava/lang/Object;I)Ljava/lang/Object; invoke-interface {p3, p2, p0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p2 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 :try_start_2 invoke-static {p1, v0}, Ln/a/a2/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_1 sget-object p1, Lm/s/g/a;->d:Lm/s/g/a; if-eq p2, p1, :cond_4 sget-object p1, Lm/i;->d:Lm/i$a; invoke-interface {p0, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V goto :goto_0 :catchall_0 move-exception p2 :try_start_3 invoke-static {p1, v0}, Ln/a/a2/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V throw p2 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_1 :catchall_1 move-exception p1 sget-object p2, Lm/i;->d:Lm/i$a; invoke-static {p1}, Le/k/a/b/e/p/g;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object; move-result-object p1 invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V goto :goto_0 :cond_2 invoke-static {p3, p2, p0}, Le/k/a/b/e/p/g;->createCoroutineUnintercepted(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation; move-result-object p1 invoke-static {p1}, Le/k/a/b/e/p/g;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation; move-result-object p1 sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit; sget-object p3, Lm/i;->d:Lm/i$a; invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V goto :goto_0 :cond_3 invoke-static {p3, p2, p0}, Le/k/a/b/e/p/g;->a(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V :cond_4 :goto_0 return-void :cond_5 const-string p1, "block" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V throw v0 :cond_6 const-string p1, "start" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V throw v0 .end method .method public a()Z .locals 1 invoke-super {p0}, Ln/a/h1;->a()Z move-result v0 return v0 .end method .method public c()Lkotlin/coroutines/CoroutineContext; .locals 1 iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext; return-object v0 .end method .method public final c(Ljava/lang/Throwable;)V .locals 1 if-eqz p1, :cond_0 iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext; invoke-static {v0, p1}, Le/k/a/b/e/p/g;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V return-void :cond_0 const-string p1, "exception" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public final d(Ljava/lang/Object;)V .locals 1 instance-of v0, p1, Ln/a/q; if-eqz v0, :cond_1 check-cast p1, Ln/a/q; iget-object v0, p1, Ln/a/q;->a:Ljava/lang/Throwable; iget p1, p1, Ln/a/q;->_handled:I if-eqz v0, :cond_0 goto :goto_0 :cond_0 const-string p1, "cause" invoke-static {p1}, Lm/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 :cond_1 :goto_0 return-void .end method .method public final getContext()Lkotlin/coroutines/CoroutineContext; .locals 1 iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext; return-object v0 .end method .method public i()Ljava/lang/String; .locals 3 iget-object v0, p0, Ln/a/a;->e:Lkotlin/coroutines/CoroutineContext; invoke-static {v0}, Ln/a/w;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String; move-result-object v0 if-eqz v0, :cond_0 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const/16 v2, 0x22 invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, "\":" invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-static {p0}, Ln/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String; move-result-object v0 invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 return-object v0 :cond_0 invoke-static {p0}, Ln/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public final j()V .locals 0 invoke-virtual {p0}, Ln/a/a;->m()V return-void .end method .method public k()I .locals 1 const/4 v0, 0x0 return v0 .end method .method public final l()V .locals 2 iget-object v0, p0, Ln/a/a;->f:Lkotlin/coroutines/CoroutineContext; sget-object v1, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a; invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a; move-result-object v0 check-cast v0, Lkotlinx/coroutines/Job; invoke-virtual {p0, v0}, Ln/a/h1;->a(Lkotlinx/coroutines/Job;)V return-void .end method .method public m()V .locals 0 return-void .end method .method public final resumeWith(Ljava/lang/Object;)V .locals 1 invoke-static {p1}, Le/k/a/b/e/p/g;->d(Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 invoke-virtual {p0}, Ln/a/a;->k()I move-result v0 invoke-virtual {p0, p1, v0}, Ln/a/h1;->b(Ljava/lang/Object;I)Z return-void .end method