That, however, hasn't stopped German regulators from taking a stance on the issue. Reuters reports that autonomous-car software must be "programmed to avoid injury or death of people at all cost." It overcomes any further questions about whether one life is more important than another by adding that vehicles must be blind to the age, gender, or physical condition of people involved in any accident. As for bystanding pets or private property that happens to get in the way—they can be destroyed as long as no humans are harmed.
Reuters doesn't explain what the guidelines suggest in a situation where two courses of action both injure or kill humans, but presumably the car must make a decision that it thinks will minimize total harm caused (a fairly tricky evaluation).