Both make very good dirt bikes.
Base the buy on the 2 following issues:
For what you can afford, what bike fits your size body best. (depends on your height and leg span) and which dealer has the better supply of spare parts.
If you are really going to use a dirt bike, parts wear out and...