package com.unity3d.ads.adplayer; import com.unity3d.ads.adplayer.model.ShowStatus; import com.unity3d.ads.core.data.model.ShowEvent; import kotlin.ResultKt; import kotlin.Unit; import kotlin.coroutines.Continuation; import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsKt; import kotlin.coroutines.jvm.internal.DebugMetadata; import kotlin.coroutines.jvm.internal.SuspendLambda; import kotlin.jvm.functions.Function3; @DebugMetadata(c = "com.unity3d.ads.adplayer.WebViewAdPlayer$onShowEvent$3", f = "WebViewAdPlayer.kt", l = {}, m = "invokeSuspend") /* loaded from: classes4.dex */ public final class WebViewAdPlayer$onShowEvent$3 extends SuspendLambda implements Function3 { /* synthetic */ Object L$0; /* synthetic */ boolean Z$0; int label; public WebViewAdPlayer$onShowEvent$3(Continuation continuation) { super(3, continuation); } public final Object invoke(ShowEvent showEvent, boolean z, Continuation continuation) { WebViewAdPlayer$onShowEvent$3 webViewAdPlayer$onShowEvent$3 = new WebViewAdPlayer$onShowEvent$3(continuation); webViewAdPlayer$onShowEvent$3.L$0 = showEvent; webViewAdPlayer$onShowEvent$3.Z$0 = z; return webViewAdPlayer$onShowEvent$3.invokeSuspend(Unit.INSTANCE); } @Override // kotlin.jvm.functions.Function3 public /* bridge */ /* synthetic */ Object invoke(Object obj, Object obj2, Object obj3) { return invoke((ShowEvent) obj, ((Boolean) obj2).booleanValue(), (Continuation) obj3); } @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl public final Object invokeSuspend(Object obj) { IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED(); if (this.label == 0) { ResultKt.throwOnFailure(obj); return this.Z$0 ? new ShowEvent.Completed(ShowStatus.COMPLETED) : (ShowEvent) this.L$0; } throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); } }