package i6;

import h6.r;
import java.util.List;
import z5.v;

/* loaded from: classes.dex */
public abstract class j implements Runnable {

    /* renamed from: p, reason: collision with root package name */
    private final androidx.work.impl.utils.futures.c f22464p = androidx.work.impl.utils.futures.c.s();

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes.dex */
    public class a extends j {

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ a6.i f22465q;

        /* renamed from: r, reason: collision with root package name */
        final /* synthetic */ v f22466r;

        a(a6.i iVar, v vVar) {
            this.f22465q = iVar;
            this.f22466r = vVar;
        }

        /* JADX INFO: Access modifiers changed from: package-private */
        @Override // i6.j
        /* renamed from: d, reason: merged with bridge method [inline-methods] */
        public List c() {
            return (List) r.f20889t.apply(this.f22465q.s().K().a(g.b(this.f22466r)));
        }
    }

    public static j a(a6.i iVar, v vVar) {
        return new a(iVar, vVar);
    }

    public ek.d b() {
        return this.f22464p;
    }

    abstract Object c();

    @Override // java.lang.Runnable
    public void run() {
        try {
            this.f22464p.o(c());
        } catch (Throwable th2) {
            this.f22464p.p(th2);
        }
    }
}
