Replace save and restore calls with an inverse translate