The use of rsp was pretty much hardcoded there and probably didn't work otherwise with stack_size > 0.