Both cases have the same exact outcome. If the company is worth Y and you decide to give out X, at the end of the transaction (dividend or repurchase) the shareholders as a whole will have a company worth Y-X on their hands plus X in cash for the same total of Y.
> As well although theoretically buybacks shouldn't increase prices they do tend to as its seen as sign that management thinks the price is undervalued.
That is indeed an extra benefit of repurchases, that they potentially signal that management believes the share is undervalued.