package z;

import V4.C;
import Y4.N;
import androidx.compose.runtime.MutableState;
import java.util.ArrayList;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class r extends C4.j implements J4.e {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ l f26255b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ MutableState f26256c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public r(l lVar, MutableState mutableState, A4.d dVar) {
        super(2, dVar);
        this.f26255b = lVar;
        this.f26256c = mutableState;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new r(this.f26255b, this.f26256c, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((r) create((C) obj, (A4.d) obj2)).invokeSuspend(C3137A.f25453a);
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) throws Throwable {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f26254a;
        if (i6 != 0) {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
            return C3137A.f25453a;
        }
        AbstractC2467b.l(obj);
        ArrayList arrayList = new ArrayList();
        N n6 = ((m) this.f26255b).f26250a;
        C3286f c3286f = new C3286f(arrayList, this.f26256c, 1);
        this.f26254a = 1;
        n6.getClass();
        N.k(n6, c3286f, this);
        return aVar;
    }
}
