If your car was involved in two separate accidents does the insurer in the second accident value the car with or without the damage from the first accident?
The value of your car in any accident is the value of the car in the moment immediately preceding the accident. So the answer to your question is "with the damage from the first".