See the first post of this thread:
There's discussion in Monterey threads about slow boot times with Samsung. Dortania (vit9696) has narrowed this down to problems in Trim support versus Apple's NVMe driver. They are asking for users to help with their testing. Moreover, according to same article, Apple's NVMe driver is known...
www.tonymacx86.com
This is a link to the Dortania test:
Guide Anti-Hackintosh Buyers Guide (link) After our discovery of a severe bug in the TRIM implementation of practically all Samsung SSDs we spent time investigating which SSDs are affected by all k...
github.com
Basically disable TRIM, then measure the time to boot. Then enable a "timeout" limit for the TRIM process to complete and time it. If it doesn't complete by the timeout then the boot process moves on. Then enable a maximum time limit for TRIM to complete, so the process will take as long as it takes.
Basically, if it isn't broken, the time to boot on all three should be very similar, maybe shorter when TRIM is disabled.
If it is broken, then eventually, the maximum time limit will take the longest