private void resolveRemoveVsChange(Reference ref, int chosenConflictOption) {
		Reference resultRef = DiffUtility.getReference(originalPgm, ref, resultPgm);
		long resultSymID = -1;
		if ((chosenConflictOption & KEEP_LATEST) != 0) {
			Reference latestRef = DiffUtility.getReference(originalPgm, ref, latestPgm);
			if (ref != null && ref.getReferenceType().isFallthrough()) {
				Address fromAddr = ref.getFromAddress();
				int opIndex = ref.getOperandIndex();
				latestRef = getFallThroughReference(latestPgm, fromAddr, opIndex);
				if (latestRef == null) {
					Address fallthroughAddr =
						SimpleDiffUtility.getCompatibleAddress(originalPgm, fromAddr, resultPgm);
					clearFallThroughOverride(resultPgm, fallthroughAddr);
					return;
				}
			}
			resultSymID = (latestRef != null) ? latestRef.getSymbolID() : -1;
			try {
				resultSymID = getResultIDFromLatestID(resultSymID);
			}
			catch (NoValueException e) {
				// Do nothing.
			}
			listingMergeMgr.mergeLatest.replaceReference(resultRef, latestRef, resultSymID);
		}
		else if ((chosenConflictOption & KEEP_MY) != 0) {
			Reference myRef = DiffUtility.getReference(originalPgm, ref, myPgm);
			if (ref != null && ref.getReferenceType().isFallthrough()) {
				Address fromAddr = ref.getFromAddress();
				int opIndex = ref.getOperandIndex();
				myRef = getFallThroughReference(myPgm, fromAddr, opIndex);
				if (myRef == null) {
					Address fallthroughAddr =
						SimpleDiffUtility.getCompatibleAddress(originalPgm, fromAddr, resultPgm);
					clearFallThroughOverride(resultPgm, fallthroughAddr);
					return;
				}
			}
			resultSymID = (myRef != null) ? myRef.getSymbolID() : -1;
			try {
				resultSymID = getResultIDFromMyID(resultSymID);
			}
			catch (NoValueException e) {
				// Do nothing.
			}
			listingMergeMgr.mergeMy.replaceReference(resultRef, myRef, resultSymID);
		}
		else {
			return;
		}
	}
Replace the fallthroughs where possible. 
@param addressSet the address set where fallthroughs should be replaced
@param chosenConflictOption indicator of where to get references from (KEEP_ORIGINAL, KEEP_LATEST, KEEP_MY).
@param monitor task monitor
@throws CancelledException if user cancels.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ReferenceMerger.java