As far as i know the surgery helps you heal by reducing the tension of the sphincter and the effect this has on circulation.
It doesn't make your anal canal brand new but it helps people with higher tensions sphincters heal.
If you keep your stools soft you will heal again and probably quicker.
I have not done the surgery (yet) but from my experience it works like that.