package a0;

import c0.AbstractC1207h;
import m3.AbstractC2467b;
import q.C2769d;
import w4.C3137A;
import z.C3282b;
import z.C3284d;
import z.C3288h;
import z.InterfaceC3290j;

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

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

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

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

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

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ InterfaceC3290j f9241f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0874B(C2769d c2769d, float f6, boolean z6, C0875C c0875c, InterfaceC3290j interfaceC3290j, A4.d dVar) {
        super(2, dVar);
        this.f9237b = c2769d;
        this.f9238c = f6;
        this.f9239d = z6;
        this.f9240e = c0875c;
        this.f9241f = interfaceC3290j;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C0874B(this.f9237b, this.f9238c, this.f9239d, this.f9240e, this.f9241f, dVar);
    }

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

    /* JADX WARN: Multi-variable type inference failed */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        q.F0 f0;
        Object objE;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f9236a;
        C3137A c3137a = C3137A.f25453a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            C2769d c2769d = this.f9237b;
            float f6 = ((h1.f) c2769d.f23288e.getValue()).f16618a;
            float f7 = this.f9238c;
            if (!h1.f.c(f6, f7)) {
                if (this.f9239d) {
                    float f8 = ((h1.f) c2769d.f23288e.getValue()).f16618a;
                    C0875C c0875c = this.f9240e;
                    q.F0 f02 = null;
                    InterfaceC3290j oVar = h1.f.c(f8, c0875c.f9256b) ? new z.o(0L) : h1.f.c(f8, c0875c.f9258d) ? new C3288h() : h1.f.c(f8, c0875c.f9257c) ? new C3284d() : null;
                    this.f9236a = 2;
                    q.F0 f03 = AbstractC1207h.f13332a;
                    InterfaceC3290j interfaceC3290j = this.f9241f;
                    if (interfaceC3290j != null) {
                        boolean z6 = interfaceC3290j instanceof z.o;
                        f0 = AbstractC1207h.f13332a;
                        if (z6 || (interfaceC3290j instanceof C3282b) || (interfaceC3290j instanceof C3288h) || (interfaceC3290j instanceof C3284d)) {
                            f02 = f0;
                        }
                        if (f02 != null ? (objE = c2769d.e(this, new h1.f(f7))) != aVar : (objE = C2769d.c(c2769d, new h1.f(f7), f02, null, this, 12)) != aVar) {
                            objE = c3137a;
                        }
                        if (objE == aVar) {
                        }
                    } else {
                        if (oVar != null) {
                            boolean z7 = oVar instanceof z.o;
                            f0 = AbstractC1207h.f13333b;
                            if (!z7 && !(oVar instanceof C3282b)) {
                                if (oVar instanceof C3288h) {
                                    f02 = AbstractC1207h.f13334c;
                                } else if (oVar instanceof C3284d) {
                                }
                            }
                            f02 = f0;
                        }
                        if (f02 != null) {
                            objE = c3137a;
                            if (objE == aVar) {
                            }
                        } else {
                            objE = c3137a;
                            if (objE == aVar) {
                            }
                        }
                    }
                } else {
                    h1.f fVar = new h1.f(f7);
                    this.f9236a = 1;
                    if (c2769d.e(this, fVar) == aVar) {
                    }
                }
                return aVar;
            }
            return c3137a;
        }
        if (i6 != 1 && i6 != 2) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AbstractC2467b.l(obj);
        return c3137a;
    }
}
