I hope you took the bike into a shop for them to inspect for frame damage- a crack in the carbon fiber of the frame or fork and it could fail catastrophically without any warning. If the rim is that twisted from being run over by a car, I would at least replace the fork- I would feel pretty scared riding on a fork that held a wheel that sustained that amount of damage.