Revenue fell 12% to $22.5 billion for the April-June quarter, missing analysts estimates.