package h3;

import androidx.compose.runtime.MutableIntState;
import m3.AbstractC2467b;
import q.C2769d;
import w4.C3137A;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ h1.c f17328b;

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public S4(h1.c cVar, C2769d c2769d, MutableIntState mutableIntState, A4.d dVar) {
        super(2, dVar);
        this.f17328b = cVar;
        this.f17329c = c2769d;
        this.f17330d = mutableIntState;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new S4(this.f17328b, this.f17329c, this.f17330d, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f17327a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            float f6 = n5.f18281a;
            int intValue = this.f17330d.getIntValue();
            h1.c cVar = this.f17328b;
            Float f7 = new Float(intValue != -2 ? intValue != -1 ? cVar.Y(n5.f18322x) : cVar.Y(n5.f18289e) : cVar.Y(n5.f18290f));
            q.F0 f0 = n5.f18282a0;
            this.f17327a = 1;
            if (C2769d.c(this.f17329c, f7, f0, null, this, 12) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
