Fears about supply chains, inflation and a full-blown recession this year have crushed deal activity for many firms.

But some are still hiring for, and increasing their output in transactional work—often with a focus on middle-market deals in energy and technology, real estate and distressed debt, plus nascent industries like cannabis.