Either way, Mayer is probably toast.
Mayer has led the fight to keep Yahoo on its current path, butting heads with Starboard and other investors pushing for a sale. She'll almost certainly be ousted, regardless of the outcome.
Related: Marissa Mayer is in the fight of her life
If Mayer is fired as a result of a sale, she could get a golden parachute exit package worth about $37 million. If Yahoo isn't sold, and she's given the boot, she would take home about $12.5 million.