.class public final Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1; .super Lkotlin/coroutines/jvm/internal/SuspendLambda; .source "SourceFile" # interfaces .implements Lkotlin/jvm/functions/Function3; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/google/firebase/sessions/SessionDatastoreImpl;->(Landroid/content/Context;Lkotlin/coroutines/CoroutineContext;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation # instance fields .field public synthetic L$0:Ljava/lang/Object; .field public synthetic L$1:Ljava/lang/Object; .field public label:I # direct methods .method public constructor (Lkotlin/coroutines/Continuation;)V .locals 1 const/4 v0, 0x3 invoke-direct {p0, v0, p1}, Lkotlin/coroutines/jvm/internal/SuspendLambda;->(ILkotlin/coroutines/Continuation;)V return-void .end method # virtual methods .method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .locals 0 .line 0 check-cast p1, Lkotlinx/coroutines/flow/FlowCollector; check-cast p2, Ljava/lang/Throwable; check-cast p3, Lkotlin/coroutines/Continuation; invoke-virtual {p0, p1, p2, p3}, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->invoke(Lkotlinx/coroutines/flow/FlowCollector;Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; move-result-object p1 return-object p1 .end method .method public final invoke(Lkotlinx/coroutines/flow/FlowCollector;Ljava/lang/Throwable;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; .locals 1 .line 0 new-instance v0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1; invoke-direct {v0, p3}, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->(Lkotlin/coroutines/Continuation;)V iput-object p1, v0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->L$0:Ljava/lang/Object; iput-object p2, v0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->L$1:Ljava/lang/Object; sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; invoke-virtual {v0, p1}, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->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 5 invoke-static {}, Lkotlin/coroutines/intrinsics/IntrinsicsKt;->getCOROUTINE_SUSPENDED()Ljava/lang/Object; move-result-object v0 iget v1, p0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->label:I const/4 v2, 0x1 if-eqz v1, :cond_1 if-ne v1, v2, :cond_0 .line 74 invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V goto :goto_0 :cond_0 new-instance p1, Ljava/lang/IllegalStateException; const-string v0, "call to \'resume\' before \'invoke\' with coroutine" invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p1 :cond_1 invoke-static {p1}, Lkotlin/ResultKt;->throwOnFailure(Ljava/lang/Object;)V iget-object p1, p0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->L$0:Ljava/lang/Object; check-cast p1, Lkotlinx/coroutines/flow/FlowCollector; iget-object v1, p0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->L$1:Ljava/lang/Object; check-cast v1, Ljava/lang/Throwable; const-string v3, "FirebaseSessionsRepo" const-string v4, "Error reading stored session data." .line 75 invoke-static {v3, v4, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I .line 76 invoke-static {}, Landroidx/datastore/preferences/core/PreferencesFactory;->createEmpty()Landroidx/datastore/preferences/core/Preferences; move-result-object v1 const/4 v3, 0x0 iput-object v3, p0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->L$0:Ljava/lang/Object; iput v2, p0, Lcom/google/firebase/sessions/SessionDatastoreImpl$firebaseSessionDataFlow$1;->label:I invoke-interface {p1, v1, p0}, Lkotlinx/coroutines/flow/FlowCollector;->emit(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; move-result-object p1 if-ne p1, v0, :cond_2 return-object v0 .line 77 :cond_2 :goto_0 sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit; return-object p1 .end method