package K;

import m3.AbstractC2467b;
import o0.C2632c;
import w4.C3137A;

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

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Z0.y f3704c;

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

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ Z0.r f3707f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public M(H.c cVar, Z0.y yVar, C0464l0 c0464l0, S0 s02, Z0.r rVar, A4.d dVar) {
        super(2, dVar);
        this.f3703b = cVar;
        this.f3704c = yVar;
        this.f3705d = c0464l0;
        this.f3706e = s02;
        this.f3707f = rVar;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new M(this.f3703b, this.f3704c, this.f3705d, this.f3706e, this.f3707f, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((M) 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.f3702a;
        C3137A c3137a = C3137A.f25453a;
        if (i6 != 0) {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
            return c3137a;
        }
        AbstractC2467b.l(obj);
        C0487x0 c0487x0 = this.f3705d.f3889a;
        T0.L l = this.f3706e.f3742a;
        this.f3702a = 1;
        int iB = this.f3707f.b(T0.N.e(this.f3704c.f9137b));
        Object objA = this.f3703b.a(iB < l.f6471a.f6461a.f6510b.length() ? l.b(iB) : iB != 0 ? l.b(iB - 1) : new C2632c(0.0f, 0.0f, 1.0f, (int) (D0.a(c0487x0.f4019b, c0487x0.f4024g, c0487x0.f4025h, D0.f3594a, 1) & 4294967295L)), this);
        if (objA != aVar) {
            objA = c3137a;
        }
        return objA == aVar ? aVar : c3137a;
    }
}
