Car left mangled after hitting pole, flipping