  We use Morse theory of the Yang-Mills functional to compute the Betti numbers
of the moduli stack of flat U(3)-bundles over a compact nonorientable surface.
Our result establishes the antiperfection conjecture of Ho-Liu, and provides
evidence for the equivariant formality conjecture of the author.
