Obviously they deserve their huge salaries and bonuses.
Just look at it this way, if a bank have a bad CEO they might get just 10 billions in bailout money, while the bank that got the top notch CEO that know how to speak for the bank might get 100 billions in bailout money.
The CEO that manage to get 100 billions rather than "just 10" obviously deserve 1 billion in bonus should their contract say they are entitled to 1% of new capital they raise for the bank
