The second-largest U.S. automaker is trying to recover from losses that totaled about $ 12.5 billion last year .