DMV Permit Car Sharing the road - If a pedestrian is illegally crossing in the middle of the street (not at a crosswalk), what should you do?

If a pedestrian is illegally crossing in the middle of the street (not at a crosswalk), what should you do?