package ep;

import dp.p;
import gp.n;
import java.io.InputStream;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;
import mo.m;
import rm.v;
import tn.g0;

/* loaded from: classes3.dex */
public final class c extends p implements qn.b {
    public static final a D = new a(null);
    private final boolean C;

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

        public /* synthetic */ a(k kVar) {
            this();
        }

        public final c a(ro.c fqName, n storageManager, g0 module, InputStream inputStream, boolean z10) {
            t.g(fqName, "fqName");
            t.g(storageManager, "storageManager");
            t.g(module, "module");
            t.g(inputStream, "inputStream");
            v a10 = no.c.a(inputStream);
            m mVar = (m) a10.a();
            no.a aVar = (no.a) a10.b();
            if (mVar != null) {
                return new c(fqName, storageManager, module, mVar, aVar, z10, null);
            }
            throw new UnsupportedOperationException("Kotlin built-in definition format version is not supported: expected " + no.a.f30352h + ", actual " + aVar + ". Please update Kotlin");
        }
    }

    public /* synthetic */ c(ro.c cVar, n nVar, g0 g0Var, m mVar, no.a aVar, boolean z10, k kVar) {
        this(cVar, nVar, g0Var, mVar, aVar, z10);
    }

    @Override // vn.z, vn.j
    public String toString() {
        return "builtins package fragment for " + d() + " from " + xo.c.p(this);
    }

    private c(ro.c cVar, n nVar, g0 g0Var, m mVar, no.a aVar, boolean z10) {
        super(cVar, nVar, g0Var, mVar, aVar, null);
        this.C = z10;
    }
}
