| Leases Total operating lease costs are as follows: | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended | | Six Months Ended | | (in millions) | June 29, 2024 | | July 1, 2023 | | June 29, 2024 | | July 1, 2023 | | Operating lease costs: | | | | | | | | | Cost of goods sold | $ | 3 | | | $ | 5 | | | $ | 8 | | | $ | 10 | | | Selling, general and administrative expenses | 15 | | | 15 | | | 29 | | | 29 | | | Total operating lease costs | $ | 18 | | | $ | 20 | | | $ | 37 | | | $ | 39 | |
Total operating lease costs include variable lease costs of $4 million and $7 million for the three and six months ended June 29, 2024, respectively. For the three and six months ended July 1, 2023, total operating lease costs include variable lease costs of $6 million and $12 million, respectively.
The following table summarizes the carrying amounts of our operating lease assets and liabilities:
| | | | | | | | | | | | | | | | | | | (in millions) | Financial Statement Line Item | | June 29, 2024 | | December 31, 2023 | | Operating lease assets | Other assets | | $ | 234 | | | $ | 192 | | | Operating lease liabilities - current | Accrued liabilities | | $ | 52 | | | $ | 39 | | | Operating lease liabilities - non-current | Other liabilities | | $ | 196 | | | $ | 166 | | | | | | | | | | | | | |
Supplemental cash flow information related to operating leases follows:
| | | | | | | | | | | | | | | Six Months Ended | | (in millions) | June 29, 2024 | | July 1, 2023 | | | | Cash paid for operating lease liabilities | $ | 17 | | | $ | 18 | | | | | Non-cash activities: operating lease assets obtained in exchange for new operating lease liabilities | $ | 6 | | | $ | 15 | | | |
|