Edited on 24-July-2021 to reflect the requirement that the equilibrium is in pure stationary strategies.
The game you present is a stochastic game: the number of chips in the pot and the identity of the player whose turn it is to move serve as a state variable. Since the number of chips in the pot is bounded (between 0 and M), there are finitely many states and actions to each player. In fact, the game is a stochastic game with perfect information: the players move alternately, so there are no simultaneous moves.
Such games have (a) an equilibrium that do not involve randomization, that is, the choice of the number of chips is deterministic yet it depends on past play, see Thuijsman and Raghavan, Perfect Information Stochastic Games and Related Classes, International Journal of Game Theory, 1997, 26, 403-408. They also have (b) a symmetric stationary equilibrium that involves randomization, that is, the choice of the number of chips is random and depends only on the current state, see Fink, Equilibrium in a Stochastic n-Person Game, Journal of Science of the Hiroshima University, Series A (mathematics), 1964, 28(1), 89-93.
You, however, are interested in stationary equilibria that involve no randomization. The theory does not guarantee that such equilibria exist.