I work at a company that did similarly large layoffs despite record profits. In our case, the cuts were conducted by an MBA.
Many important revenue driving products have been mangled by having their teams entirely removed, with pages going completely unanswered.
In at least one case, it seems like an entire team was cut in error.
The company was seriously negatively impacted, but the share price hasn't budged. To the extent that share price is connected to reality, I imagine it will take while for the market to notice the impacts of a layoff