I am calculating [Diluted shares outstanding = Basic shares + In-the-money options - Shares repurchased under TSM]. However, I do not know what the "basic shares" here exactly means. Does it refer to the number of "Weighted Average Shares Outstanding" in Income Statement or the number of "Common & Preferred Stock Outstanding" in Balance Sheet?

I didn't find the right solution from the internet.

References: https://www.wallstreetoasis.com/foru...find-it-in-10k

Business Promotional Animation