package dp;

import tn.k0;
import tn.l0;
import tn.n0;

/* loaded from: classes3.dex */
public final class n implements h {

    /* renamed from: a, reason: collision with root package name */
    private final l0 f16485a;

    public n(l0 packageFragmentProvider) {
        kotlin.jvm.internal.t.g(packageFragmentProvider, "packageFragmentProvider");
        this.f16485a = packageFragmentProvider;
    }

    @Override // dp.h
    public g a(ro.b classId) {
        g a10;
        kotlin.jvm.internal.t.g(classId, "classId");
        l0 l0Var = this.f16485a;
        ro.c h10 = classId.h();
        kotlin.jvm.internal.t.f(h10, "getPackageFqName(...)");
        for (k0 k0Var : n0.c(l0Var, h10)) {
            if ((k0Var instanceof o) && (a10 = ((o) k0Var).D0().a(classId)) != null) {
                return a10;
            }
        }
        return null;
    }
}
