Let's just hope this is middle-management only, the ones who are causing all the trouble
Most of time, it's after all IC, they look at what's left, decide what moves to make and lay off the managers.
However, I have seen more and more where managers are told what's happening and they find new jobs before layoffs.