Citigroup has been propped up three times by the government since October , taking $ 45 billion from the Troubled Asset Relief Program and getting a government agreement to share in losses on $ 300.8 billion of troubled assets .