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

import java.util.concurrent.Executor;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.SynchronousQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/* JADX INFO: loaded from: classes2.dex */
public abstract class b30 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final a30 f9359a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final a30 f9360b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final a30 f9361c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public static final y20 f9362d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public static final kv1 f9363e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public static final a30 f9364f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public static final a30 f9365g;

    /* JADX WARN: Removed duplicated region for block: B:11:0x0062  */
    static {
        ThreadPoolExecutor threadPoolExecutor;
        tn tnVar = ao.f9173yc;
        n7.y yVar = n7.y.f31093e;
        if (yVar.f31096c.c(tnVar) != null) {
            yn ynVar = yVar.f31096c;
            if (((Boolean) ynVar.c(tnVar)).booleanValue()) {
                tn tnVar2 = ao.f9188zc;
                if (ynVar.c(tnVar2) != null) {
                    tn tnVar3 = ao.Ac;
                    if (ynVar.c(tnVar3) != null) {
                        threadPoolExecutor = new ThreadPoolExecutor(((Integer) ynVar.c(tnVar2)).intValue(), ((Integer) ynVar.c(tnVar2)).intValue(), 10L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new jh("Default"));
                        threadPoolExecutor.allowCoreThreadTimeOut(((Boolean) ynVar.c(tnVar3)).booleanValue());
                    } else {
                        threadPoolExecutor = new ThreadPoolExecutor(2, Integer.MAX_VALUE, 10L, TimeUnit.SECONDS, new SynchronousQueue(), new jh("Default"));
                    }
                }
            }
        }
        f9359a = new a30((Executor) threadPoolExecutor);
        TimeUnit timeUnit = TimeUnit.SECONDS;
        ThreadPoolExecutor threadPoolExecutor2 = new ThreadPoolExecutor(5, 5, 10L, timeUnit, new LinkedBlockingQueue(), new jh("Loader"));
        threadPoolExecutor2.allowCoreThreadTimeOut(true);
        f9360b = new a30((Executor) threadPoolExecutor2);
        ThreadPoolExecutor threadPoolExecutor3 = new ThreadPoolExecutor(1, 1, 10L, timeUnit, new LinkedBlockingQueue(), new jh("Activeview"));
        threadPoolExecutor3.allowCoreThreadTimeOut(true);
        f9361c = new a30((Executor) threadPoolExecutor3);
        y20 y20Var = new y20(3, new jh("Schedule"));
        f9362d = y20Var;
        f9363e = new kv1(y20Var);
        f9364f = new a30(new z20());
        f9365g = new a30(zzgzd.f19813a);
    }
}
