If you see the 3rd last step, we have fun(100). The code says :-
If x > 100 then fun = x – 10
Else fun = fun(fun (x+11))
Now fun(100) = fun(fun(111)) // Since 100 is not > 100.
= fun(101) // since 111 > 100
now this is unlike the other terms which were < 100, so we need to add 11.
Here 101 > 100, thus we again subtract 10 from 101
→ fun = 101-10 = $91$