static void generateRetireCode(JitCodeGenerator gen, Address exit, RegisterValue ctx,
			JitBlock block, MethodVisitor rv) {
		gen.generatePassageExit(block, () -> {
			// [...]
			rv.visitLdcInsn(exit.getOffset());
			// [...,target:LONG]
		}, ctx, rv);
	}
Generate code to retire the variables and write a given pc value.

@param gen the code generator
@param exit the pc value to write
@param ctx the context to write at exit, or null to not write the context
@param block the block containing the op
@param rv the run method visitor
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/emu/jit/gen/op/BranchOpGen.java