Geometric Analysis of Bifurcation and Symmetry Breaking in a Gross—Pitaevskii Equation