public static AddressSet alignSet(int alignment, AddressSetView set) {
		AddressSet result = new AddressSet();
		for (AddressRange range : set) {
			Address min = range.getMinAddress();
			long minOfffset = min.getOffset();
			if (minOfffset != min.getOffset()) {
				min = min.getNewAddress(minOfffset);
			}
			Address max = range.getMaxAddress();
			long maxOffset = max.getOffset();
			if (maxOffset < minOfffset) {
				// skip short unaligned range
				continue;
			}
			if (maxOffset != max.getOffset()) {
				max = max.getNewAddress(maxOffset);
			}
			result.addRange(min, max);
		}
		return result;
	}
Constructor for X86_64DisassembleCommand.

@param start address to be the start of a disassembly.
@param restrictedSet addresses that can be disassembled. a null set implies no restrictions.
@param size32Mode pass true if disassembling in 32-bit compatibility mode, otherwise normal
           64-bit disassembly will be performed.
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/disassemble/X86_64DisassembleCommand.java