package kotlinx.coroutines.flow;

import java.util.Arrays;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import kotlinx.coroutines.channels.BufferOverflow;
import kotlinx.coroutines.g1;
import kotlinx.coroutines.y0;

/* JADX INFO: loaded from: classes.dex */
public class s extends kotlinx.coroutines.flow.internal.a implements f, g, kotlinx.coroutines.flow.internal.h {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f29418d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f29419e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final BufferOverflow f29420f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public Object[] f29421g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public long f29422h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public long f29423i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public int f29424j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public int f29425k;

    public s(int i10) {
        BufferOverflow bufferOverflow = BufferOverflow.f29297a;
        this.f29418d = 0;
        this.f29419e = i10;
        this.f29420f = bufferOverflow;
    }

    /* JADX WARN: Can't wrap try/catch for region: R(12:0|2|(2:4|(1:6)(1:7))(0)|8|50|(2:10|(1:(1:(7:14|15|16|31|58|(4:32|(9:56|(2:41|42)|43|(1:45)|16|31|58|32|(0)(1:34))(0)|48|49)|36)(2:19|20))(5:21|22|58|(4:32|(0)(0)|48|49)|36))(4:24|52|25|26))(1:29)|54|30|31|58|(4:32|(0)(0)|48|49)|36) */
    /* JADX WARN: Code restructure failed: missing block: B:46:0x00ca, code lost:
    
        r10 = move-exception;
     */
    /* JADX WARN: Code restructure failed: missing block: B:47:0x00cb, code lost:
    
        r5 = r8;
        r8 = r10;
     */
    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:34:0x0098 A[Catch: all -> 0x0040, TryCatch #0 {all -> 0x0040, blocks: (B:15:0x0039, B:32:0x0090, B:34:0x0098, B:38:0x00ab, B:41:0x00b2, B:42:0x00b8, B:43:0x00b9, B:22:0x005b), top: B:50:0x0020 }] */
    /* JADX WARN: Removed duplicated region for block: B:56:0x00a9 A[SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    /* JADX WARN: Type inference failed for: r10v10 */
    /* JADX WARN: Type inference failed for: r10v11 */
    /* JADX WARN: Type inference failed for: r10v12 */
    /* JADX WARN: Type inference failed for: r10v13 */
    /* JADX WARN: Type inference failed for: r10v4 */
    /* JADX WARN: Type inference failed for: r10v5 */
    /* JADX WARN: Type inference failed for: r2v15 */
    /* JADX WARN: Type inference failed for: r2v16 */
    /* JADX WARN: Type inference failed for: r2v17 */
    /* JADX WARN: Type inference failed for: r2v4, types: [java.lang.Object, kotlinx.coroutines.flow.g] */
    /* JADX WARN: Type inference failed for: r2v6 */
    /* JADX WARN: Type inference failed for: r2v7 */
    /* JADX WARN: Type inference failed for: r5v1, types: [kotlinx.coroutines.flow.internal.a] */
    /* JADX WARN: Type inference failed for: r5v12 */
    /* JADX WARN: Type inference failed for: r5v13 */
    /* JADX WARN: Type inference failed for: r5v14 */
    /* JADX WARN: Type inference failed for: r5v2 */
    /* JADX WARN: Type inference failed for: r5v4, types: [java.lang.Object, kotlinx.coroutines.flow.s] */
    /* JADX WARN: Type inference failed for: r5v5 */
    /* JADX WARN: Type inference failed for: r5v6 */
    /* JADX WARN: Type inference failed for: r5v7 */
    /* JADX WARN: Type inference failed for: r8v11 */
    /* JADX WARN: Type inference failed for: r8v23 */
    /* JADX WARN: Type inference failed for: r8v8 */
    /* JADX WARN: Type inference failed for: r9v0, types: [kotlinx.coroutines.flow.g] */
    /* JADX WARN: Type inference failed for: r9v1 */
    /* JADX WARN: Type inference failed for: r9v15 */
    /* JADX WARN: Type inference failed for: r9v16 */
    /* JADX WARN: Type inference failed for: r9v17 */
    /* JADX WARN: Type inference failed for: r9v18 */
    /* JADX WARN: Type inference failed for: r9v19 */
    /* JADX WARN: Type inference failed for: r9v2, types: [kotlinx.coroutines.flow.internal.c] */
    /* JADX WARN: Type inference failed for: r9v20 */
    /* JADX WARN: Type inference failed for: r9v21 */
    /* JADX WARN: Type inference failed for: r9v3 */
    /* JADX WARN: Type inference failed for: r9v4 */
    /* JADX WARN: Type inference failed for: r9v5, types: [java.lang.Object, kotlinx.coroutines.flow.t] */
    /* JADX WARN: Type inference failed for: r9v6 */
    /* JADX WARN: Type inference failed for: r9v7 */
    /* JADX WARN: Type inference failed for: r9v9, types: [kotlinx.coroutines.flow.t] */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:44:0x00c7 -> B:16:0x003c). Please report as a decompilation issue!!! */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static CoroutineSingletons j(s sVar, g gVar, Continuation continuation) throws Throwable {
        SharedFlowImpl$collect$1 sharedFlowImpl$collect$1;
        ?? r52;
        ?? r10;
        s sVar2;
        y0 y0Var;
        y0 y0Var2;
        ?? r22;
        Object objR;
        ?? r102;
        ?? r92;
        ?? r82;
        if (continuation instanceof SharedFlowImpl$collect$1) {
            sharedFlowImpl$collect$1 = (SharedFlowImpl$collect$1) continuation;
            int i10 = sharedFlowImpl$collect$1.label;
            if ((i10 & Integer.MIN_VALUE) != 0) {
                sharedFlowImpl$collect$1.label = i10 - Integer.MIN_VALUE;
            } else {
                sharedFlowImpl$collect$1 = new SharedFlowImpl$collect$1(sVar, continuation);
            }
        }
        Object obj = sharedFlowImpl$collect$1.result;
        CoroutineSingletons coroutineSingletons = CoroutineSingletons.f29226a;
        int i11 = sharedFlowImpl$collect$1.label;
        try {
        } catch (Throwable th) {
            th = th;
        }
        if (i11 == 0) {
            kotlin.a.d(obj);
            r10 = gVar;
            gVar = (t) sVar.d();
            sVar2 = sVar;
        } else {
            if (i11 != 1) {
                if (i11 == 2) {
                    y0Var2 = (y0) sharedFlowImpl$collect$1.L$3;
                    t tVar = (t) sharedFlowImpl$collect$1.L$2;
                    g gVar2 = (g) sharedFlowImpl$collect$1.L$1;
                    s sVar3 = (s) sharedFlowImpl$collect$1.L$0;
                    kotlin.a.d(obj);
                    r22 = gVar2;
                    r52 = sVar3;
                    gVar = tVar;
                    do {
                        objR = r52.r(gVar);
                        if (objR == h.f29373c) {
                        }
                        r52.g(gVar);
                        throw th;
                    } while (r52.h(gVar, sharedFlowImpl$collect$1) != coroutineSingletons);
                    return coroutineSingletons;
                }
                if (i11 != 3) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                y0Var2 = (y0) sharedFlowImpl$collect$1.L$3;
                t tVar2 = (t) sharedFlowImpl$collect$1.L$2;
                g gVar3 = (g) sharedFlowImpl$collect$1.L$1;
                s sVar4 = (s) sharedFlowImpl$collect$1.L$0;
                kotlin.a.d(obj);
                ?? r23 = gVar3;
                ?? r53 = sVar4;
                ?? r93 = tVar2;
                r102 = r23;
                y0Var = y0Var2;
                r82 = r53;
                r92 = r93;
                r52 = r82;
                y0Var2 = y0Var;
                r22 = r102;
                gVar = r92;
                do {
                    objR = r52.r(gVar);
                    if (objR == h.f29373c) {
                        if (y0Var2 != null && !y0Var2.isActive()) {
                            throw ((g1) y0Var2).z();
                        }
                        sharedFlowImpl$collect$1.L$0 = r52;
                        sharedFlowImpl$collect$1.L$1 = r22;
                        sharedFlowImpl$collect$1.L$2 = gVar;
                        sharedFlowImpl$collect$1.L$3 = y0Var2;
                        sharedFlowImpl$collect$1.label = 3;
                        Object objC = r22.c(objR, sharedFlowImpl$collect$1);
                        r23 = r22;
                        r53 = r52;
                        r93 = gVar;
                        if (objC == coroutineSingletons) {
                            return coroutineSingletons;
                        }
                        r102 = r23;
                        y0Var = y0Var2;
                        r82 = r53;
                        r92 = r93;
                        r52 = r82;
                        y0Var2 = y0Var;
                        r22 = r102;
                        gVar = r92;
                        objR = r52.r(gVar);
                        if (objR == h.f29373c) {
                            sharedFlowImpl$collect$1.L$0 = r52;
                            sharedFlowImpl$collect$1.L$1 = r22;
                            sharedFlowImpl$collect$1.L$2 = gVar;
                            sharedFlowImpl$collect$1.L$3 = y0Var2;
                            sharedFlowImpl$collect$1.label = 2;
                        }
                    }
                    r52.g(gVar);
                    throw th;
                } while (r52.h(gVar, sharedFlowImpl$collect$1) != coroutineSingletons);
                return coroutineSingletons;
            }
            gVar = (t) sharedFlowImpl$collect$1.L$2;
            g gVar4 = (g) sharedFlowImpl$collect$1.L$1;
            s sVar5 = (s) sharedFlowImpl$collect$1.L$0;
            try {
                kotlin.a.d(obj);
                r10 = gVar4;
                sVar2 = sVar5;
                gVar = gVar;
            } catch (Throwable th2) {
                th = th2;
                r52 = sVar5;
            }
        }
        y0Var = (y0) sharedFlowImpl$collect$1.getContext().m(kotlinx.coroutines.u.f29565b);
        r82 = sVar2;
        r92 = gVar;
        r102 = r10;
        r52 = r82;
        y0Var2 = y0Var;
        r22 = r102;
        gVar = r92;
        do {
            objR = r52.r(gVar);
            if (objR == h.f29373c) {
            }
            r52.g(gVar);
            throw th;
        } while (r52.h(gVar, sharedFlowImpl$collect$1) != coroutineSingletons);
        return coroutineSingletons;
    }

    @Override // kotlinx.coroutines.flow.f
    public final Object a(g gVar, Continuation continuation) {
        return j(this, gVar, continuation);
    }

    @Override // kotlinx.coroutines.flow.internal.h
    public final f b(kotlin.coroutines.h hVar, int i10, BufferOverflow bufferOverflow) {
        return ((i10 == 0 || i10 == -3) && bufferOverflow == BufferOverflow.f29297a) ? this : new kotlinx.coroutines.flow.internal.f(this, hVar, i10, bufferOverflow);
    }

    @Override // kotlinx.coroutines.flow.g
    public final Object c(Object obj, Continuation continuation) throws Throwable {
        int i10;
        boolean z10;
        Continuation[] continuationArrM;
        r rVar;
        Continuation[] continuationArrM2 = kotlinx.coroutines.flow.internal.b.f29384a;
        synchronized (this) {
            if (p(obj)) {
                continuationArrM2 = m(continuationArrM2);
                z10 = true;
            } else {
                z10 = false;
            }
        }
        for (Continuation continuation2 : continuationArrM2) {
            if (continuation2 != null) {
                continuation2.resumeWith(kd.e.f29109a);
            }
        }
        if (z10) {
            return kd.e.f29109a;
        }
        kotlinx.coroutines.h hVar = new kotlinx.coroutines.h(1, nb.g.F(continuation));
        hVar.t();
        Continuation[] continuationArrM3 = kotlinx.coroutines.flow.internal.b.f29384a;
        synchronized (this) {
            try {
                if (p(obj)) {
                    hVar.resumeWith(kd.e.f29109a);
                    continuationArrM = m(continuationArrM3);
                    rVar = null;
                } else {
                    r rVar2 = new r(this, ((long) (this.f29424j + this.f29425k)) + n(), obj, hVar);
                    l(rVar2);
                    this.f29425k++;
                    if (this.f29419e == 0) {
                        continuationArrM3 = m(continuationArrM3);
                    }
                    continuationArrM = continuationArrM3;
                    rVar = rVar2;
                }
            } catch (Throwable th) {
                throw th;
            }
        }
        if (rVar != null) {
            hVar.v(new kotlinx.coroutines.e(rVar, 1));
        }
        for (Continuation continuation3 : continuationArrM) {
            if (continuation3 != null) {
                continuation3.resumeWith(kd.e.f29109a);
            }
        }
        Object objS = hVar.s();
        CoroutineSingletons coroutineSingletons = CoroutineSingletons.f29226a;
        if (objS != coroutineSingletons) {
            objS = kd.e.f29109a;
        }
        return objS == coroutineSingletons ? objS : kd.e.f29109a;
    }

    @Override // kotlinx.coroutines.flow.internal.a
    public final kotlinx.coroutines.flow.internal.c e() {
        t tVar = new t();
        tVar.f29426a = -1L;
        return tVar;
    }

    @Override // kotlinx.coroutines.flow.internal.a
    public final kotlinx.coroutines.flow.internal.c[] f() {
        return new t[2];
    }

    public final Object h(t tVar, Continuation continuation) throws Throwable {
        kotlinx.coroutines.h hVar = new kotlinx.coroutines.h(1, nb.g.F(continuation));
        hVar.t();
        synchronized (this) {
            if (q(tVar) < 0) {
                tVar.f29427b = hVar;
            } else {
                hVar.resumeWith(kd.e.f29109a);
            }
        }
        Object objS = hVar.s();
        return objS == CoroutineSingletons.f29226a ? objS : kd.e.f29109a;
    }

    public final void i() {
        if (this.f29419e != 0 || this.f29425k > 1) {
            Object[] objArr = this.f29421g;
            nb.g.f(objArr);
            while (this.f29425k > 0) {
                long jN = n();
                int i10 = this.f29424j;
                int i11 = this.f29425k;
                if (objArr[((int) ((jN + ((long) (i10 + i11))) - 1)) & (objArr.length - 1)] != h.f29373c) {
                    return;
                }
                this.f29425k = i11 - 1;
                h.b(objArr, n() + ((long) (this.f29424j + this.f29425k)), null);
            }
        }
    }

    public final void k() {
        kotlinx.coroutines.flow.internal.c[] cVarArr;
        Object[] objArr = this.f29421g;
        nb.g.f(objArr);
        h.b(objArr, n(), null);
        this.f29424j--;
        long jN = n() + 1;
        if (this.f29422h < jN) {
            this.f29422h = jN;
        }
        if (this.f29423i < jN) {
            if (this.f29382b != 0 && (cVarArr = this.f29381a) != null) {
                for (kotlinx.coroutines.flow.internal.c cVar : cVarArr) {
                    if (cVar != null) {
                        t tVar = (t) cVar;
                        long j10 = tVar.f29426a;
                        if (j10 >= 0 && j10 < jN) {
                            tVar.f29426a = jN;
                        }
                    }
                }
            }
            this.f29423i = jN;
        }
    }

    public final void l(Object obj) {
        int i10 = this.f29424j + this.f29425k;
        Object[] objArrO = this.f29421g;
        if (objArrO == null) {
            objArrO = o(null, 0, 2);
        } else if (i10 >= objArrO.length) {
            objArrO = o(objArrO, i10, objArrO.length * 2);
        }
        h.b(objArrO, n() + ((long) i10), obj);
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r11v0, types: [kotlin.coroutines.Continuation[]] */
    /* JADX WARN: Type inference failed for: r11v1 */
    /* JADX WARN: Type inference failed for: r11v10 */
    /* JADX WARN: Type inference failed for: r11v3, types: [java.lang.Object[]] */
    /* JADX WARN: Type inference failed for: r11v4 */
    /* JADX WARN: Type inference failed for: r11v5 */
    /* JADX WARN: Type inference failed for: r11v7 */
    /* JADX WARN: Type inference failed for: r11v8 */
    /* JADX WARN: Type inference failed for: r11v9 */
    /* JADX WARN: Type inference failed for: r6v3 */
    public final Continuation[] m(Continuation[] continuationArr) {
        kotlinx.coroutines.flow.internal.c[] cVarArr;
        t tVar;
        kotlinx.coroutines.h hVar;
        int length = continuationArr.length;
        if (this.f29382b != 0 && (cVarArr = this.f29381a) != null) {
            int length2 = cVarArr.length;
            int i10 = 0;
            continuationArr = continuationArr;
            while (i10 < length2) {
                kotlinx.coroutines.flow.internal.c cVar = cVarArr[i10];
                if (cVar != null && (hVar = (tVar = (t) cVar).f29427b) != null && q(tVar) >= 0) {
                    int length3 = continuationArr.length;
                    continuationArr = continuationArr;
                    if (length >= length3) {
                        Object[] objArrCopyOf = Arrays.copyOf((Object[]) continuationArr, Math.max(2, continuationArr.length * 2));
                        nb.g.h(objArrCopyOf, "copyOf(...)");
                        continuationArr = objArrCopyOf;
                    }
                    ((Continuation[]) continuationArr)[length] = hVar;
                    tVar.f29427b = null;
                    length++;
                }
                i10++;
                continuationArr = continuationArr;
            }
        }
        return (Continuation[]) continuationArr;
    }

    public final long n() {
        return Math.min(this.f29423i, this.f29422h);
    }

    public final Object[] o(Object[] objArr, int i10, int i11) {
        if (i11 <= 0) {
            throw new IllegalStateException("Buffer size overflow".toString());
        }
        Object[] objArr2 = new Object[i11];
        this.f29421g = objArr2;
        if (objArr == null) {
            return objArr2;
        }
        long jN = n();
        for (int i12 = 0; i12 < i10; i12++) {
            long j10 = ((long) i12) + jN;
            h.b(objArr2, j10, objArr[((int) j10) & (objArr.length - 1)]);
        }
        return objArr2;
    }

    public final boolean p(Object obj) {
        int i10 = this.f29382b;
        int i11 = this.f29418d;
        if (i10 == 0) {
            if (i11 != 0) {
                l(obj);
                int i12 = this.f29424j + 1;
                this.f29424j = i12;
                if (i12 > i11) {
                    k();
                }
                this.f29423i = n() + ((long) this.f29424j);
            }
            return true;
        }
        int i13 = this.f29424j;
        int i14 = this.f29419e;
        if (i13 >= i14 && this.f29423i <= this.f29422h) {
            int iOrdinal = this.f29420f.ordinal();
            if (iOrdinal == 0) {
                return false;
            }
            if (iOrdinal == 2) {
                return true;
            }
        }
        l(obj);
        int i15 = this.f29424j + 1;
        this.f29424j = i15;
        if (i15 > i14) {
            k();
        }
        long jN = n() + ((long) this.f29424j);
        long j10 = this.f29422h;
        if (((int) (jN - j10)) > i11) {
            s(j10 + 1, this.f29423i, n() + ((long) this.f29424j), n() + ((long) this.f29424j) + ((long) this.f29425k));
        }
        return true;
    }

    public final long q(t tVar) {
        long j10 = tVar.f29426a;
        if (j10 < n() + ((long) this.f29424j)) {
            return j10;
        }
        if (this.f29419e <= 0 && j10 <= n() && this.f29425k != 0) {
            return j10;
        }
        return -1L;
    }

    public final Object r(t tVar) {
        Object obj;
        Continuation[] continuationArrT = kotlinx.coroutines.flow.internal.b.f29384a;
        synchronized (this) {
            long jQ = q(tVar);
            if (jQ < 0) {
                obj = h.f29373c;
            } else {
                long j10 = tVar.f29426a;
                Object[] objArr = this.f29421g;
                nb.g.f(objArr);
                Object obj2 = objArr[((int) jQ) & (objArr.length - 1)];
                if (obj2 instanceof r) {
                    obj2 = ((r) obj2).f29416c;
                }
                tVar.f29426a = jQ + 1;
                Object obj3 = obj2;
                continuationArrT = t(j10);
                obj = obj3;
            }
        }
        for (Continuation continuation : continuationArrT) {
            if (continuation != null) {
                continuation.resumeWith(kd.e.f29109a);
            }
        }
        return obj;
    }

    public final void s(long j10, long j11, long j12, long j13) {
        long jMin = Math.min(j11, j10);
        for (long jN = n(); jN < jMin; jN++) {
            Object[] objArr = this.f29421g;
            nb.g.f(objArr);
            h.b(objArr, jN, null);
        }
        this.f29422h = j10;
        this.f29423i = j11;
        this.f29424j = (int) (j12 - jMin);
        this.f29425k = (int) (j13 - j12);
    }

    public final Continuation[] t(long j10) {
        long j11;
        long j12;
        Continuation[] continuationArr;
        long j13;
        kotlinx.coroutines.flow.internal.c[] cVarArr;
        long j14 = this.f29423i;
        Continuation[] continuationArr2 = kotlinx.coroutines.flow.internal.b.f29384a;
        if (j10 > j14) {
            return continuationArr2;
        }
        long jN = n();
        long j15 = ((long) this.f29424j) + jN;
        int i10 = this.f29419e;
        if (i10 == 0 && this.f29425k > 0) {
            j15++;
        }
        if (this.f29382b != 0 && (cVarArr = this.f29381a) != null) {
            for (kotlinx.coroutines.flow.internal.c cVar : cVarArr) {
                if (cVar != null) {
                    long j16 = ((t) cVar).f29426a;
                    if (j16 >= 0 && j16 < j15) {
                        j15 = j16;
                    }
                }
            }
        }
        if (j15 <= this.f29423i) {
            return continuationArr2;
        }
        long jN2 = n() + ((long) this.f29424j);
        int iMin = this.f29382b > 0 ? Math.min(this.f29425k, i10 - ((int) (jN2 - j15))) : this.f29425k;
        long j17 = ((long) this.f29425k) + jN2;
        la.e eVar = h.f29373c;
        if (iMin > 0) {
            Continuation[] continuationArr3 = new Continuation[iMin];
            Object[] objArr = this.f29421g;
            nb.g.f(objArr);
            long j18 = jN2;
            int i11 = 0;
            while (true) {
                if (jN2 >= j17) {
                    j11 = j15;
                    j12 = j17;
                    break;
                }
                j11 = j15;
                Object obj = objArr[((int) jN2) & (objArr.length - 1)];
                if (obj != eVar) {
                    nb.g.g(obj, "null cannot be cast to non-null type kotlinx.coroutines.flow.SharedFlowImpl.Emitter");
                    r rVar = (r) obj;
                    int i12 = i11 + 1;
                    j12 = j17;
                    continuationArr3[i11] = rVar.f29417d;
                    h.b(objArr, jN2, eVar);
                    h.b(objArr, j18, rVar.f29416c);
                    j13 = 1;
                    j18++;
                    if (i12 >= iMin) {
                        break;
                    }
                    i11 = i12;
                } else {
                    j12 = j17;
                    j13 = 1;
                }
                jN2 += j13;
                j15 = j11;
                j17 = j12;
            }
            continuationArr = continuationArr3;
            jN2 = j18;
        } else {
            j11 = j15;
            j12 = j17;
            continuationArr = continuationArr2;
        }
        int i13 = (int) (jN2 - jN);
        long j19 = this.f29382b == 0 ? jN2 : j11;
        long jMax = Math.max(this.f29422h, jN2 - ((long) Math.min(this.f29418d, i13)));
        if (i10 == 0 && jMax < j12) {
            Object[] objArr2 = this.f29421g;
            nb.g.f(objArr2);
            if (nb.g.c(objArr2[((int) jMax) & (objArr2.length - 1)], eVar)) {
                jN2++;
                jMax++;
            }
        }
        s(jMax, j19, jN2, j12);
        i();
        return (continuationArr.length == 0) ^ true ? m(continuationArr) : continuationArr;
    }
}
