Dasyu doesn't mean atheist. The word दस्यु has its root as दसु उपक्षये Giving its deravative meaning Yaskaracharya writes in Nirukta (7.23) He is Dasyu who has very few virtues n who causes obstruction to good actions like the Yajnas.
In short Dasyu denotes unscrupulous people with criminal tendencies.