Energy dependence and branching ratio of the N2++ O reaction