package K2;

import V4.B0;
import V4.C;
import V4.E;
import Y4.c0;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public o(String str, String str2, r rVar, long j4, A4.d dVar) {
        super(2, dVar);
        this.f4112b = str;
        this.f4113c = str2;
        this.f4114d = rVar;
        this.f4115e = j4;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        o oVar = new o(this.f4112b, this.f4113c, this.f4114d, this.f4115e, dVar);
        oVar.f4111a = obj;
        return oVar;
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        AbstractC2467b.l(obj);
        C c6 = (C) this.f4111a;
        B0 b02 = p.f4120e;
        if (b02 != null) {
            b02.cancel(null);
        }
        long jIncrementAndGet = p.f4119d.incrementAndGet();
        q qVar = new q(this.f4112b, this.f4113c, this.f4114d, this.f4115e, jIncrementAndGet);
        c0 c0Var = p.f4117b;
        c0Var.getClass();
        c0Var.k(null, qVar);
        p.f4120e = E.y(c6, null, null, new n(this.f4115e, qVar, null), 3);
        return C3137A.f25453a;
    }
}
