AT&T loses $12.7B on dropping phone revenue