package bo;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import sm.q0;

/* loaded from: classes3.dex */
public final class m {

    /* renamed from: a, reason: collision with root package name */
    public static final m f7149a;

    /* renamed from: b, reason: collision with root package name */
    private static final Map f7150b;

    /* renamed from: c, reason: collision with root package name */
    private static final Map f7151c;

    static {
        Map s10;
        m mVar = new m();
        f7149a = mVar;
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        f7150b = linkedHashMap;
        ro.i iVar = ro.i.f34983a;
        mVar.c(iVar.l(), mVar.a("java.util.ArrayList", "java.util.LinkedList"));
        mVar.c(iVar.n(), mVar.a("java.util.HashSet", "java.util.TreeSet", "java.util.LinkedHashSet"));
        mVar.c(iVar.m(), mVar.a("java.util.HashMap", "java.util.TreeMap", "java.util.LinkedHashMap", "java.util.concurrent.ConcurrentHashMap", "java.util.concurrent.ConcurrentSkipListMap"));
        ro.b m10 = ro.b.m(new ro.c("java.util.function.Function"));
        kotlin.jvm.internal.t.f(m10, "topLevel(...)");
        mVar.c(m10, mVar.a("java.util.function.UnaryOperator"));
        ro.b m11 = ro.b.m(new ro.c("java.util.function.BiFunction"));
        kotlin.jvm.internal.t.f(m11, "topLevel(...)");
        mVar.c(m11, mVar.a("java.util.function.BinaryOperator"));
        ArrayList arrayList = new ArrayList(linkedHashMap.size());
        for (Map.Entry entry : linkedHashMap.entrySet()) {
            arrayList.add(rm.c0.a(((ro.b) entry.getKey()).b(), ((ro.b) entry.getValue()).b()));
        }
        s10 = q0.s(arrayList);
        f7151c = s10;
    }

    private m() {
    }

    private final List a(String... strArr) {
        ArrayList arrayList = new ArrayList(strArr.length);
        for (String str : strArr) {
            arrayList.add(ro.b.m(new ro.c(str)));
        }
        return arrayList;
    }

    private final void c(ro.b bVar, List list) {
        Map map = f7150b;
        for (Object obj : list) {
            map.put(obj, bVar);
        }
    }

    public final ro.c b(ro.c classFqName) {
        kotlin.jvm.internal.t.g(classFqName, "classFqName");
        return (ro.c) f7151c.get(classFqName);
    }
}
