package com.sistemasolton.itranvias.home.presentation.stopdetail;

import kotlin.Metadata;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;

/* JADX INFO: compiled from: StopDetailScreen.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u00020\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/CoroutineScope;"}, k = 3, mv = {2, 1, 0}, xi = 48)
@DebugMetadata(c = "com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$1$1", f = "StopDetailScreen.kt", i = {}, l = {110}, m = "invokeSuspend", n = {}, s = {})
final class StopDetailScreenKt$StopDetailScreen$1$1 extends SuspendLambda implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
    final /* synthetic */ String $stopId;
    final /* synthetic */ StopDetailViewModel $viewModel;
    int label;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    StopDetailScreenKt$StopDetailScreen$1$1(StopDetailViewModel stopDetailViewModel, String str, Continuation<? super StopDetailScreenKt$StopDetailScreen$1$1> continuation) {
        super(2, continuation);
        this.$viewModel = stopDetailViewModel;
        this.$stopId = str;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
        return new StopDetailScreenKt$StopDetailScreen$1$1(this.$viewModel, this.$stopId, continuation);
    }

    @Override // kotlin.jvm.functions.Function2
    public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
        return ((StopDetailScreenKt$StopDetailScreen$1$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
    }

    /* JADX WARN: Removed duplicated region for block: B:11:0x0031 A[RETURN] */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002f -> B:12:0x0032). Please report as a decompilation issue!!! */
    /*  JADX ERROR: JadxOverflowException in pass: RegionMakerVisitor
        jadx.core.utils.exceptions.JadxOverflowException: Regions count limit reached
        	at jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:59)
        	at jadx.core.utils.ErrorsCounter.error(ErrorsCounter.java:31)
        	at jadx.core.dex.attributes.nodes.NotificationAttrNode.addError(NotificationAttrNode.java:19)
        */
    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct code enable 'Show inconsistent code' option in preferences
    */
    public final java.lang.Object invokeSuspend(java.lang.Object r7) {
        /*
            r6 = this;
            java.lang.Object r0 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
            int r1 = r6.label
            r2 = 0
            r3 = 1
            if (r1 == 0) goto L18
            if (r1 != r3) goto L10
            kotlin.ResultKt.throwOnFailure(r7)
            goto L32
        L10:
            java.lang.IllegalStateException r7 = new java.lang.IllegalStateException
            java.lang.String r0 = "call to 'resume' before 'invoke' with coroutine"
            r7.<init>(r0)
            throw r7
        L18:
            kotlin.ResultKt.throwOnFailure(r7)
            com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailViewModel r7 = r6.$viewModel
            java.lang.String r1 = r6.$stopId
            r4 = 2
            r5 = 0
            com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailViewModel.loadInfo$default(r7, r1, r2, r4, r5)
        L24:
            r7 = r6
            kotlin.coroutines.Continuation r7 = (kotlin.coroutines.Continuation) r7
            r6.label = r3
            r4 = 15000(0x3a98, double:7.411E-320)
            java.lang.Object r7 = kotlinx.coroutines.DelayKt.delay(r4, r7)
            if (r7 != r0) goto L32
            return r0
        L32:
            com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailViewModel r7 = r6.$viewModel
            java.lang.String r1 = r6.$stopId
            r7.loadInfo(r1, r2)
            goto L24
        */
        throw new UnsupportedOperationException("Method not decompiled: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$1$1.invokeSuspend(java.lang.Object):java.lang.Object");
    }
}