GM affirms 2022 profit outlook, prepares for economic slowdown