package x;

import c0.C1217r;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public T(M m6, W w6, A4.d dVar) {
        super(2, dVar);
        this.f25692c = m6;
        this.f25693d = w6;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        T t6 = new T(this.f25692c, this.f25693d, dVar);
        t6.f25691b = obj;
        return t6;
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((T) create((a0.G1) 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.f25690a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            C1217r c1217r = new C1217r(28, (a0.G1) this.f25691b, this.f25693d);
            this.f25690a = 1;
            if (this.f25692c.invoke(c1217r, this) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
