From Latin -ābāmus, through the variant *-ābămus (note the antepenultimate stress caused by irregular shortening of the last -ā-).
-ábamos