private void processSystemKext(LanguageService languageService, Program systemProgram,
			TaskMonitor monitor) throws Exception {
		for (GFile file : fileToPrelinkInfoMap.keySet()) {
			if (monitor.isCancelled()) {
				break;
			}

			if (!isChildOf(systemKextFile, file)) {
				continue;
			}

			MachoPrelinkMap prelinkMap = fileToPrelinkInfoMap.get(file);
			if (prelinkMap == null || prelinkMap.getPrelinkExecutableLoadAddr() == -1) {
				continue;
			}

			Address address = systemProgram.getAddressFactory().getDefaultAddressSpace().getAddress(
				prelinkMap.getPrelinkExecutableLoadAddr());

			ByteProvider systemKextProvider =
				new MemoryByteProvider(systemProgram.getMemory(), address);

			MachHeader machHeader = new MachHeader(systemKextProvider, 0, false);
			machHeader.parse();

			//MachoLoader loader = new MachoLoader();
			//loader.load( machHeader, systemProgram, new MessageLog(), monitor );

			Namespace namespace = systemProgram.getSymbolTable().createNameSpace(null,
				file.getName(), SourceType.IMPORTED);

			List<SymbolTableCommand> commands =
				machHeader.getLoadCommands(SymbolTableCommand.class);
			for (SymbolTableCommand symbolTableCommand : commands) {
				List<NList> symbols = symbolTableCommand.getSymbols();
				for (NList symbol : symbols) {
					if (monitor.isCancelled()) {
						return;
					}
					Symbol sym = SymbolUtilities.getLabelOrFunctionSymbol(systemProgram,
						symbol.getString(), err -> Msg.error(this, err));
					if (sym != null) {
						sym.setNamespace(namespace);
					}
				}
			}
		}
	}
Processes PRELINK and Macho-O offsets in order to map files to their Mach-O offsets in the 
providers.

@param prelinkList The list of discovered {@link MachoPrelinkMap}s.
@param machoHeaderOffsets The list of provider offsets where prelinked Mach-O headers start.
@param monitor A monitor
@throws IOException if an IO-related problem occurred.
@throws MachException if there was a problem parsing Mach-O headers.
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/ios/prelink/MachoPrelinkFileSystem.java