The declines in earnings resulted primarily from significant increases in the provision for loan losses which totaled $ 6.6 million and $ 40.7 million , respectively , for the three and nine month periods ended September 30 , 2010 , compared to $ 2.7 million and $ 17.2 million , respectively , for the same periods in the prior year .