My M4 13 inch was randomly rebooting after sitting idle for many hours. Panic full report stated sleep/wake hang issue. Went to Apple Store and they acknowledged it as a kernel issue and replaced the iPad. Now it has been about 5 days using the new iPad, today in the evening after using it after almost a day of idle time it had randomly restarted. Checked logs and a panic full was created with the same Sleep/wake hang issue. Guess Apple have done something wrong with the software connecting the hardware while idling which is causing OS crash.