For more than a year, Goldman Sachs Group Inc. has maintained that it wouldn't have suffered material losses had the government allowed one of its major trading partners, American International Group Inc., to collapse.

A government report throws cold water on that claim.

Goldman was among the largest beneficiaries of a decision by the Federal Reserve Bank of New York to bail out insurer AIG in September 2008 at the height of the financial crisis. The Fed agreed to pay Goldman and 15 other banks, in full, for $62 billion of insurance contracts they had with AIG to protect against price drops of mortgage securities they held.

The report, issued this week by the special inspector general for the Troubled Asset Relief Program, comes amid controversy over whether the government unfairly helped out big banks in its bailout of AIG. The government auditor's report broadly found that the New York Fed left itself little room in negotiating with the banks for a better deal for taxpayers.

Goldman's trading position with AIG centered on $22.1 billion of such insurance the firm had purchased from AIG. In a separate series of trades, Goldman itself had sold protection against losses on the same securities to other trading firms.