-or-
b) We are in trouble, so we are going to address this now by a sizeable layoff, but with generous layoff terms. We will also kill anything that doesn't have a clear trajectory to be sucessfull at runway length * 0.75.
Where you want to avoid is in a company that does sequential waves of 5-10% layoff. That means that that they didn't focus enough and are now past V1, without enough velocity to takeoff (https://en.wikipedia.org/wiki/V_speeds). That's when the company suddeny laysoff the vast majority of their workers with crappy layoff terms.
If you're making money and don't owe money, you can't go bankrupt.
Of course, profitable companies can become unprofitable, especially in a negative environment, so the more profitable it is, the safer it is.
The only thing that stops the timer on the bomb is taking in more money than you spend.