private Register checkForMove(Instruction start_inst, Instruction curr_inst) {
		// if this is a move, may be copying into another register.
		//  why? wasted code...
		// This is a hack and should be done with real data flow...
		if (curr_inst.getMnemonicString().equals("move")) {
			Register reg = start_inst.getRegister(0);
			Register alt = curr_inst.getRegister(1);
			if (reg != null && reg.equals(alt)) {
				return curr_inst.getRegister(0);
			}
		}
		return alternateReg;
	}
Given one instruction, finds a corresponding paired instruction.
Ghidra/Processors/MIPS/src/main/java/ghidra/app/plugin/core/analysis/MipsPreAnalyzer.java