CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Income Statement [Abstract]      
Revenues $ 1,284,500 $ 1,161,733 $ 1,016,861
Cost of revenues 676,328 624,129 573,289
Gross profit 608,172 537,604 443,572
Operating expenses:      
Research and development 89,405 82,070 74,324
Sales, general and administrative 40,569 43,237 43,121
Litigation settlement 0 18,000 0
Total operating expenses 129,974 143,307 117,445
Income from operations 478,198 394,297 326,127
Interest expense and other, net (28,002) (12,808) (11,985)
Income before income taxes 450,196 381,489 314,142
Provision for income taxes 69,899 58,795 117,852
Net income $ 380,297 $ 322,694 $ 196,290
Net income per share of common stock:      
Basic (in dollars per share) $ 5.81 $ 4.52 $ 2.54
Diluted (in dollars per share) $ 5.80 $ 4.51 $ 2.51
Weighted average shares used in computing net income per share of common stock:      
Basic (in shares) 65,427 71,435 77,179
Diluted (in shares) 65,514 71,602 78,331
Other comprehensive income:      
Unrealized (losses) gains on available-for-sale securities $ (384) $ 393 $ 0
Other Comprehensive (loss) income (384) 393 0
Comprehensive income $ 379,913 $ 323,087 $ 196,290