package com.vinfast.companion.main.ui.telltales;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.Metadata(d1 = {"\u0000\u0010\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u00012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003H\n"}, d2 = {"<anonymous>", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "appointments", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "Lcom/vinfast/companion/serviceskit/domain/model/global/service/list/BookingListItemModel;"}, k = 3, mv = {2, 2, 0}, xi = 48)
@kotlin.coroutines.jvm.internal.DebugMetadata(c = "com.vinfast.companion.main.ui.telltales.AlertDashboardViewModel$getCurrentServiceAppointmentFlow$1", f = "AlertDashboardViewModel.kt", l = {}, m = "invokeSuspend", v = 1)
final class AlertDashboardViewModel$getCurrentServiceAppointmentFlow$1 extends kotlin.coroutines.jvm.internal.SuspendLambda implements kotlin.jvm.functions.Function2<java.util.List<? extends com.vinfast.companion.serviceskit.domain.model.global.service.list.BookingListItemModel>, kotlin.coroutines.Continuation<? super java.lang.Boolean>, java.lang.Object> {
    int n;
    /* synthetic */ java.lang.Object o;
    final /* synthetic */ com.vinfast.companion.main.ui.telltales.AlertDashboardViewModel p;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    AlertDashboardViewModel$getCurrentServiceAppointmentFlow$1(com.vinfast.companion.main.ui.telltales.AlertDashboardViewModel alertDashboardViewModel, kotlin.coroutines.Continuation continuation) {
        super(2, continuation);
        this.p = alertDashboardViewModel;
    }

    /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
    public final java.lang.Object invoke(java.util.List list, kotlin.coroutines.Continuation continuation) {
        return create(list, continuation).invokeSuspend(kotlin.Unit.a);
    }

    public final kotlin.coroutines.Continuation create(java.lang.Object obj, kotlin.coroutines.Continuation continuation) {
        com.vinfast.companion.main.ui.telltales.AlertDashboardViewModel$getCurrentServiceAppointmentFlow$1 alertDashboardViewModel$getCurrentServiceAppointmentFlow$1 = new com.vinfast.companion.main.ui.telltales.AlertDashboardViewModel$getCurrentServiceAppointmentFlow$1(this.p, continuation);
        alertDashboardViewModel$getCurrentServiceAppointmentFlow$1.o = obj;
        return alertDashboardViewModel$getCurrentServiceAppointmentFlow$1;
    }

    public final java.lang.Object invokeSuspend(java.lang.Object obj) {
        java.util.List list = (java.util.List) this.o;
        kotlin.coroutines.intrinsics.IntrinsicsKt.g();
        if (this.n != 0) {
            throw new java.lang.IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        kotlin.ResultKt.b(obj);
        this.p._isBookingServiceFeatureSupported = true;
        return kotlin.coroutines.jvm.internal.Boxing.a(!list.isEmpty());
    }
}
