For midsize law firms, it's been a tale of two markets in 2023.