package com.google.android.gms.internal.ads;

import android.content.Context;
import java.util.concurrent.Executor;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/* JADX INFO: loaded from: classes2.dex */
public final class c70 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final z60 f9788a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final cr0 f9789b;

    public c70(z60 z60Var, cr0 cr0Var) {
        this.f9788a = z60Var;
        this.f9789b = cr0Var;
    }

    public final void a(Context context, q7.a aVar) {
        tn tnVar = ao.f8861ff;
        n7.y yVar = n7.y.f31093e;
        if (((Boolean) yVar.f31096c.b(tnVar)).booleanValue()) {
            Executor threadPoolExecutor = b30.f9359a;
            tn tnVar2 = ao.f8893hf;
            yn ynVar = yVar.f31096c;
            if (((Boolean) ynVar.b(tnVar2)).booleanValue()) {
                b70 b70Var = new b70(((Integer) ynVar.b(ao.f8925jf)).intValue());
                int iIntValue = ((Integer) ynVar.b(ao.f0if)).intValue();
                threadPoolExecutor = new ThreadPoolExecutor(iIntValue, iIntValue, 10L, TimeUnit.SECONDS, new LinkedBlockingQueue(), b70Var);
            }
            threadPoolExecutor.execute(new m1(this, context, aVar, 4));
        }
    }
}
