Booms in dealmaking and private credit would be a double boost for the investment bank.