Some atheists are quite explicit that their atheism comes first. One of the most famous is Richard Lewontin, a professor of genetics, who said it wasn't science that compelled him to accept a materialistic explanation of the universe. It was an a priori materialism.
