95 lines
3.6 KiB
Java
95 lines
3.6 KiB
Java
package com.adif.elcanomovil.uiHome;
|
|
|
|
import kotlin.Unit;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.coroutines.jvm.internal.SuspendLambda;
|
|
import kotlin.jvm.functions.Function2;
|
|
import kotlinx.coroutines.CoroutineScope;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class s extends SuspendLambda implements Function2 {
|
|
|
|
/* renamed from: a, reason: collision with root package name */
|
|
public int f5095a;
|
|
|
|
/* renamed from: b, reason: collision with root package name */
|
|
public final /* synthetic */ HomeViewModel f5096b;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public s(HomeViewModel homeViewModel, Continuation continuation) {
|
|
super(2, continuation);
|
|
this.f5096b = homeViewModel;
|
|
}
|
|
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
public final Continuation create(Object obj, Continuation continuation) {
|
|
return new s(this.f5096b, continuation);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function2
|
|
public final Object invoke(Object obj, Object obj2) {
|
|
return ((s) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x003d, code lost:
|
|
|
|
if (((kotlinx.coroutines.flow.Flow) r6).collect(r1, r5) == r0) goto L15;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x003f, code lost:
|
|
|
|
return r0;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x002d, code lost:
|
|
|
|
if (r6 == r0) goto L15;
|
|
*/
|
|
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.Object invokeSuspend(java.lang.Object r6) {
|
|
/*
|
|
r5 = this;
|
|
java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
|
|
int r1 = r5.f5095a
|
|
com.adif.elcanomovil.uiHome.HomeViewModel r2 = r5.f5096b
|
|
r3 = 2
|
|
r4 = 1
|
|
if (r1 == 0) goto L20
|
|
if (r1 == r4) goto L1c
|
|
if (r1 != r3) goto L14
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
goto L40
|
|
L14:
|
|
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
|
|
java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
|
|
r5.<init>(r6)
|
|
throw r5
|
|
L1c:
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
goto L30
|
|
L20:
|
|
kotlin.ResultKt.throwOnFailure(r6)
|
|
com.adif.elcanomovil.domain.usecases.stations.GetClosestStationUseCase r6 = com.adif.elcanomovil.uiHome.HomeViewModel.access$getGetClosestStationUseCase$p(r2)
|
|
r5.f5095a = r4
|
|
java.lang.Object r6 = r6.invoke(r5)
|
|
if (r6 != r0) goto L30
|
|
goto L3f
|
|
L30:
|
|
kotlinx.coroutines.flow.Flow r6 = (kotlinx.coroutines.flow.Flow) r6
|
|
com.adif.elcanomovil.uiHome.r r1 = new com.adif.elcanomovil.uiHome.r
|
|
r1.<init>(r2)
|
|
r5.f5095a = r3
|
|
java.lang.Object r5 = r6.collect(r1, r5)
|
|
if (r5 != r0) goto L40
|
|
L3f:
|
|
return r0
|
|
L40:
|
|
kotlin.Unit r5 = kotlin.Unit.INSTANCE
|
|
return r5
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.adif.elcanomovil.uiHome.s.invokeSuspend(java.lang.Object):java.lang.Object");
|
|
}
|
|
}
|