AT&T Q2 performance beats expectations, despite exclusive iPhone loss