package sn;

import ao.c;
import dp.o;
import dp.s;
import dp.w;
import gp.n;
import java.io.InputStream;
import java.util.List;
import ko.r;
import kotlin.jvm.internal.t;
import sm.u;
import tn.g0;
import tn.j0;

/* loaded from: classes3.dex */
public final class k extends dp.a {

    /* renamed from: f, reason: collision with root package name */
    public static final a f35950f = new a(null);

    /* loaded from: classes3.dex */
    public static final class a {
        private a() {
        }

        public /* synthetic */ a(kotlin.jvm.internal.k kVar) {
            this();
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public k(n storageManager, r finder, g0 moduleDescriptor, j0 notFoundClasses, un.a additionalClassPartsProvider, un.c platformDependentDeclarationFilter, dp.l deserializationConfiguration, kotlin.reflect.jvm.internal.impl.types.checker.l kotlinTypeChecker, zo.a samConversionResolver) {
        super(storageManager, finder, moduleDescriptor);
        List n10;
        t.g(storageManager, "storageManager");
        t.g(finder, "finder");
        t.g(moduleDescriptor, "moduleDescriptor");
        t.g(notFoundClasses, "notFoundClasses");
        t.g(additionalClassPartsProvider, "additionalClassPartsProvider");
        t.g(platformDependentDeclarationFilter, "platformDependentDeclarationFilter");
        t.g(deserializationConfiguration, "deserializationConfiguration");
        t.g(kotlinTypeChecker, "kotlinTypeChecker");
        t.g(samConversionResolver, "samConversionResolver");
        dp.n nVar = new dp.n(this);
        ep.a aVar = ep.a.f17277r;
        dp.d dVar = new dp.d(moduleDescriptor, notFoundClasses, aVar);
        w.a aVar2 = w.a.f16503a;
        dp.r DO_NOTHING = dp.r.f16494a;
        t.f(DO_NOTHING, "DO_NOTHING");
        c.a aVar3 = c.a.f6100a;
        s.a aVar4 = s.a.f16495a;
        n10 = u.n(new rn.a(storageManager, moduleDescriptor), new e(storageManager, moduleDescriptor, null, 4, null));
        i(new dp.k(storageManager, moduleDescriptor, deserializationConfiguration, nVar, dVar, this, aVar2, DO_NOTHING, aVar3, aVar4, n10, notFoundClasses, dp.j.f16451a.a(), additionalClassPartsProvider, platformDependentDeclarationFilter, aVar.e(), kotlinTypeChecker, samConversionResolver, null, dp.u.f16502a, 262144, null));
    }

    @Override // dp.a
    protected o d(ro.c fqName) {
        t.g(fqName, "fqName");
        InputStream a10 = f().a(fqName);
        if (a10 != null) {
            return ep.c.D.a(fqName, h(), g(), a10, false);
        }
        return null;
    }
}
