make sure your USB ports are setup correctly, that could help with sleep/wake issues:New Dell XPS 15 9500 System BIOS v.1.18.0 from 13 Sep 2022
Dell has released a new version of the BIOS which claims that "Fixed the issue where the system stops responding at the Dell logo while booting.". Will that fix the sleep/wake up issue in macOS?