I'd be surprised at humans not making child birth non-painful when we have the technology, we do the best we can at the moment (epidurals etc). Although I mainly suspect we will build artificial wombs as well, although that may require mucking about with female biochemistry so you can convince them that they are pregnant when they are not, so that they bond properly with the newborns. Pregnancy is not fun, from what I can tell.
Pain is a signal that something might be going wrong in the evolutionary game, that you might be causing yourself permanent damage or might need other people to help you. If you get rid of the evolutionary game, then you can get rid of pain.