You don’t buy out a shareholder by way of dividends so I’m not really crystal clear what you are asking.
and ex marks the spot where those rocks and anvils hit me.
If the S-Corp is really buying out a shareholder, you likely have treasury stock (assuming the state in question so allows).
OR, is the one 50% shareholder buying out the other one?
If a post answers your question, click on *Accept as solution* for future searches