Safe

when i do pop rdi it goes into following instructions and it doesn’t return to my next call. Is there any other gadget to pass arguments? Can I get a hint?