private static NavigableMap<String, Set<Long>> collectProgramEquates(Program program) {
		NavigableMap<String, Set<Long>> equates = new TreeMap<>();
		final Iterator<Equate> it = program.getEquateTable().getEquates();
		while (it.hasNext()) {
			Equate eq = it.next();
			// Thought is: If that's what the user sees, then that's what the user will type!
			equates.computeIfAbsent(eq.getDisplayName(), n -> new HashSet<>()).add(eq.getValue());
		}
		return equates;
	}
Collect equates from the program's database

@param equates the destination map
@param programthe source program
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/symbol/AssemblyNumericSymbols.java