package q;

import androidx.compose.runtime.State;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: renamed from: q.f, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2773f extends C4.j implements J4.e {

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ State f23319d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ State f23320e;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2773f(Object obj, C2769d c2769d, State state, State state2, A4.d dVar) {
        super(2, dVar);
        this.f23317b = obj;
        this.f23318c = c2769d;
        this.f23319d = state;
        this.f23320e = state2;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C2773f(this.f23317b, this.f23318c, this.f23319d, this.f23320e, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        C2773f c2773f;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f23316a;
        C2769d c2769d = this.f23318c;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            if (kotlin.jvm.internal.o.c(this.f23317b, c2769d.f23288e.getValue())) {
                return C3137A.f25453a;
            }
            C2790n0 c2790n0 = AbstractC2777h.f23341a;
            InterfaceC2787m interfaceC2787m = (InterfaceC2787m) this.f23319d.getValue();
            this.f23316a = 1;
            c2773f = this;
            if (C2769d.c(this.f23318c, this.f23317b, interfaceC2787m, null, c2773f, 12) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
            c2773f = this;
        }
        C2790n0 c2790n02 = AbstractC2777h.f23341a;
        J4.c cVar = (J4.c) c2773f.f23320e.getValue();
        if (cVar != null) {
            cVar.invoke(c2769d.d());
        }
        return C3137A.f25453a;
    }
}
