Apple today disclosed that it made a $7.79 billion profit, or $1.42 in earnings per diluted share, on $42.35 billion in revenue in the third quarter of its 2016 fiscal year, which ended on June 25. Apple beat on earnings and sales — analysts had expected $1.38 in earnings per share on $42.09 billion in sales.

Apple’s guidance for this quarter was $41-43 billion in revenue. This is the second consecutive quarter in which revenue, and consequently earnings per share, were down year over year. Revenue for the quarter fell by 14.6 percent.

In greater China, Apple said, revenue decreased by 33 percent. Other regions were not hit as hard; in Japan, sales shot up 23 percent year to year.

As was the case last quarter, a bright spot today is the growth in revenue from Apple Services — like iCloud and Apple Music — this came in at $5.97 billion, up 19 percent, Apple said.

Apple reported that iPhone sales dropped 23 percent, with nearly 15 percent fewer units sold. The sales drop is larger than it was last quarter, when revenue went down by 18 percent. This the biggest problem for Apple, because as iPhone finances go, so Apple goes.

Mac sales were down by 13 percent. No surprise there; the Mac line hasn’t received many updates in recent years, and new MacBook Pros are expected to be released later this year. Meanwhile, iPad sales increased by 7 percent year over year. Once again, Apple declined to break out Apple Watch sales or number of units sold.

As far as forward-looking guidance is concerned, Apple is telling investors to expect $45.5-47.5 billion in revenue in the fourth quarter of its 2016 fiscal year. That’s when Apple will likely start selling its next iPhones. In the fourth quarter of the 2015 fiscal year, Apple brought in $51.5 billion in revenue.

In this quarter, Apple unveiled iOS 10, macOS Sierra, watchOS 3, tvOS 10, the SiriKit for developers, and the Swift Playgrounds app for iPad.

Apple stock was up 5 percent in after-hours trading after today’s earnings release.