I have been working on cars for over 35 years. Maintain my own Subaru's as well as my family's. Our house looks like a Subaru Car convention when we all get together.
Not all is lost, All you have to do is get the splines aligned up and then push the cv joint axle back in to the hub to where you can put the axle nut back on.