package com.vinfast.companion.serviceskit.data.repository;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes6.dex */
@kotlin.Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00040\u00030\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/flow/FlowCollector;", "", "Lcom/vinfast/companion/serviceskit/domain/model/TimeSlotSb;"}, k = 3, mv = {2, 2, 0}, xi = 48)
@kotlin.coroutines.jvm.internal.DebugMetadata(c = "com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1", f = "BookingServiceRepositoryProviderStub.kt", l = {68}, m = "invokeSuspend", v = 1)
final class BookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1 extends kotlin.coroutines.jvm.internal.SuspendLambda implements kotlin.jvm.functions.Function2<kotlinx.coroutines.flow.FlowCollector<? super java.util.List<? extends com.vinfast.companion.serviceskit.domain.model.TimeSlotSb>>, kotlin.coroutines.Continuation<? super kotlin.Unit>, java.lang.Object> {
    int n;
    private /* synthetic */ java.lang.Object o;

    BookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1(kotlin.coroutines.Continuation continuation) {
        super(2, continuation);
    }

    /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
    public final java.lang.Object invoke(kotlinx.coroutines.flow.FlowCollector flowCollector, kotlin.coroutines.Continuation continuation) {
        return create(flowCollector, continuation).invokeSuspend(kotlin.Unit.a);
    }

    public final kotlin.coroutines.Continuation create(java.lang.Object obj, kotlin.coroutines.Continuation continuation) {
        com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1 bookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1 = new com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1(continuation);
        bookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1.o = obj;
        return bookingServiceRepositoryProviderStub$getServiceCenterTimeSlot$1;
    }

    public final java.lang.Object invokeSuspend(java.lang.Object obj) {
        kotlinx.coroutines.flow.FlowCollector flowCollector = (kotlinx.coroutines.flow.FlowCollector) this.o;
        java.lang.Object objG = kotlin.coroutines.intrinsics.IntrinsicsKt.g();
        int i = this.n;
        if (i == 0) {
            kotlin.ResultKt.b(obj);
            java.util.List listB = com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub.INSTANCE.b();
            this.o = kotlin.coroutines.jvm.internal.SpillingKt.a(flowCollector);
            this.n = 1;
            if (flowCollector.emit(listB, this) == objG) {
                return objG;
            }
        } else {
            if (i != 1) {
                throw new java.lang.IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            kotlin.ResultKt.b(obj);
        }
        return kotlin.Unit.a;
    }
}
