private void determineExternalRemoveConflicts(TaskMonitor monitor) throws CancelledException {
		monitor.checkCancelled();
		if (totalChanges <= 0) {
			return;
		}
		mergeManager.updateProgress((changeNum / totalChanges) * 100,
			"Finding conflicts for removed externals.");

		// Process Externals that were removed in LATEST
		Iterator<Long> latestIterator = latestRemovedOriginalIDs.iterator();
		while (latestIterator.hasNext()) {
			long originalID = latestIterator.next();
			long myID = resolveMyIDFromOriginalID(originalID);
			if (myRemovedOriginalIDs.contains(originalID)) {
				// MY removed it too.
				continue;
			}
			if (myModifiedIDs.contains(myID)) {
				// Conflict: MY changed it, but LATEST has removed it.
				removeConflictIDs.add(originalID);
			}

			mergeManager.updateProgress((++changeNum / totalChanges) * 100);
		}

		// Process Externals that were removed in MY
		Iterator<Long> myIterator = myRemovedOriginalIDs.iterator();
		while (myIterator.hasNext()) {
			long originalID = myIterator.next();
			long latestID = resolveLatestIDFromOriginalID(originalID);
			if (latestRemovedOriginalIDs.contains(originalID)) {
				// LATEST removed it too.
				continue;
			}
			if (latestModifiedIDs.contains(latestID)) {
				// Conflict: LATEST changed it, but MY has removed it.
				removeConflictIDs.add(originalID);
			}
			else {
				long resultID = getResultIDfromOriginalID(originalID);
				if (resultID != -1) {
					removeExternal(resultID);
				}
				originalResolvedSymbols.put(originalID, -1);
				latestResolvedSymbols.put(latestID, -1);
			}

			mergeManager.updateProgress((++changeNum / totalChanges) * 100);
		}
	}
@param entry
@param type (FUNC_RETURN_TYPE, FUNC_RETURN_ADDRESS_OFFSET,
FUNC_PARAMETER_OFFSET, FUNC_LOCAL_SIZE, FUNC_STACK_PURGE_SIZE, FUNC_NAME, FUNC_INLINE,
FUNC_NO_RETURN, FUNC_CALLING_CONVENTION)
@param latestMyChanges
@param originalLatestChanges
@param originalMyChanges
@param monitor
@return
@throws CancelledException
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ExternalFunctionMerger.java