San Bernardino, Calif., said that to exit bankruptcy it must terminate a union contract that pays an average annual salary of $190,000 to each of its top 40 firefighters, Bloomberg News reported today. In about three weeks, the city may try to use a federal bankruptcy law to cancel firefighter and police contracts if talks on new agreements fail, its lead bankruptcy attorney, Paul Glassman, told U.S. Bankruptcy Judge Meredith Jury at a hearing yesterday. Since filing for bankruptcy in August 2012, the city has been mired in conflict with its unions and its biggest creditor, the California Public Employees’ Retirement System, which it owes about $143 million, according to court papers. The city told the judge yesterday that it has a final deal with CalPERS. That leaves the unions as some of the last groups the city must win over, or beat in court, to put together a debt-adjustment plan that will return the community of about 200,000 to fiscal stability.