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\n\n\u0000\n\u0002\u0010\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u00020\u0001*\b\u0012\u0004\u0012\u00020\u00010\u0002H\n"}, d2 = {"<anonymous>", "", "Lkotlinx/coroutines/flow/FlowCollector;"}, k = 3, mv = {2, 2, 0}, xi = 48)
@kotlin.coroutines.jvm.internal.DebugMetadata(c = "com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub$createAppointment$1", f = "BookingServiceRepositoryProviderStub.kt", l = {247, 248}, m = "invokeSuspend", v = 1)
@kotlin.jvm.internal.SourceDebugExtension
final class BookingServiceRepositoryProviderStub$createAppointment$1 extends kotlin.coroutines.jvm.internal.SuspendLambda implements kotlin.jvm.functions.Function2<kotlinx.coroutines.flow.FlowCollector<? super kotlin.Unit>, kotlin.coroutines.Continuation<? super kotlin.Unit>, java.lang.Object> {
    java.lang.Object n;
    java.lang.Object o;
    int p;
    private /* synthetic */ java.lang.Object q;
    final /* synthetic */ java.util.List r;
    final /* synthetic */ java.lang.String s;
    final /* synthetic */ com.vinfast.companion.core.base.ui.widget.dialog.editcontact.Contact t;
    final /* synthetic */ java.lang.String u;
    final /* synthetic */ java.util.List v;
    final /* synthetic */ java.lang.String w;
    final /* synthetic */ java.lang.String x;
    final /* synthetic */ com.vinfast.companion.serviceskit.domain.model.PickUpMyCarInfo y;
    final /* synthetic */ com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub z;

    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(k = 3, mv = {2, 2, 0}, xi = 48)
    public static final /* synthetic */ class WhenMappings {
        public static final /* synthetic */ int[] a;

        static {
            int[] iArr = new int[com.vinfast.companion.serviceskit.domain.model.PickUpType.values().length];
            try {
                iArr[com.vinfast.companion.serviceskit.domain.model.PickUpType.PICKUP_TRIP.ordinal()] = 1;
            } catch (java.lang.NoSuchFieldError unused) {
            }
            try {
                iArr[com.vinfast.companion.serviceskit.domain.model.PickUpType.ROUND_TRIP.ordinal()] = 2;
            } catch (java.lang.NoSuchFieldError unused2) {
            }
            try {
                iArr[com.vinfast.companion.serviceskit.domain.model.PickUpType.RETURN_TRIP.ordinal()] = 3;
            } catch (java.lang.NoSuchFieldError unused3) {
            }
            a = iArr;
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    BookingServiceRepositoryProviderStub$createAppointment$1(java.util.List list, java.lang.String str, com.vinfast.companion.core.base.ui.widget.dialog.editcontact.Contact contact, java.lang.String str2, java.util.List list2, java.lang.String str3, java.lang.String str4, com.vinfast.companion.serviceskit.domain.model.PickUpMyCarInfo pickUpMyCarInfo, com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub bookingServiceRepositoryProviderStub, kotlin.coroutines.Continuation continuation) {
        super(2, continuation);
        this.r = list;
        this.s = str;
        this.t = contact;
        this.u = str2;
        this.v = list2;
        this.w = str3;
        this.x = str4;
        this.y = pickUpMyCarInfo;
        this.z = bookingServiceRepositoryProviderStub;
    }

    /* 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$createAppointment$1 bookingServiceRepositoryProviderStub$createAppointment$1 = new com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub$createAppointment$1(this.r, this.s, this.t, this.u, this.v, this.w, this.x, this.y, this.z, continuation);
        bookingServiceRepositoryProviderStub$createAppointment$1.q = obj;
        return bookingServiceRepositoryProviderStub$createAppointment$1;
    }

    /* JADX WARN: Code restructure failed: missing block: B:62:0x0186, code lost:
    
        if (r1.emit(r6, r29) == r2) goto L63;
     */
    /*
        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 r30) {
        /*
            Method dump skipped, instruction units count: 396
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.vinfast.companion.serviceskit.data.repository.BookingServiceRepositoryProviderStub$createAppointment$1.invokeSuspend(java.lang.Object):java.lang.Object");
    }
}
