package androidx.work;

import android.content.Context;
import o.AbstractC0752ap;
import o.AbstractC0995dM;
import o.AbstractC1692kh0;
import o.AbstractC1903ms;
import o.AbstractC2798wI;
import o.C0168Gm;
import o.C0896cJ;
import o.C2468sq;
import o.C2484t;
import o.C2595u70;
import o.C80;
import o.D9;
import o.E7;
import o.InterfaceC0220Im;
import o.RunnableC2108p1;
import o.VI;
import o.YL;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public abstract class CoroutineWorker extends AbstractC0995dM {
    public final VI p;
    public final C2595u70 q;
    public final C2468sq r;

    public CoroutineWorker(Context context, WorkerParameters workerParameters) {
        super(context, workerParameters);
        this.p = AbstractC0752ap.g();
        C2595u70 c2595u70 = new C2595u70();
        this.q = c2595u70;
        c2595u70.a(new RunnableC2108p1(10, this), (E7) workerParameters.d.a);
        this.r = AbstractC1903ms.a;
    }

    @Override // o.AbstractC0995dM
    public final YL a() {
        VI viG = AbstractC0752ap.g();
        C2468sq c2468sq = this.r;
        c2468sq.getClass();
        C0168Gm c0168GmE = C80.e(AbstractC2798wI.t(c2468sq, viG));
        C0896cJ c0896cJ = new C0896cJ(viG);
        AbstractC1692kh0.C(c0168GmE, null, new C2484t(c0896cJ, this, (InterfaceC0220Im) null, 4), 3);
        return c0896cJ;
    }

    @Override // o.AbstractC0995dM
    public final void b() {
        this.q.cancel(false);
    }

    @Override // o.AbstractC0995dM
    public final C2595u70 d() {
        C2468sq c2468sq = this.r;
        c2468sq.getClass();
        AbstractC1692kh0.C(C80.e(AbstractC2798wI.t(c2468sq, this.p)), null, new D9(this, null, 1), 3);
        return this.q;
    }

    public abstract Object f();
}
