I don't think layoffs would be a problem in itself. Most likely smaller companies would benefit from the surge in offer and capture those talents.
The problem there is that smaller companies are suffering a capital shortage due to the raise of interest rates at the same time, so they have less resources available to capture said talents.