private RegisterValue combineRegisterValues(RegisterValue currentValue, RegisterValue newValue,
			boolean newValuePrecedence) {
		if (currentValue == null || !currentValue.hasAnyValue()) {
			return newValue;
		}
		if (newValue == null || !newValue.hasAnyValue()) {
			return currentValue;
		}
		if (newValuePrecedence) {
			return currentValue.combineValues(newValue);
		}
		return newValue.combineValues(currentValue);
	}
Combines two Register values.  
@param currentValue the current value
@param newValue the new value
@param newValuePrecedence if true, new value has precedence for active bits, else currentValue
has precedence for active bits.
@return the combined register value or null if both values are null
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/disassemble/DisassemblerContextImpl.java