
If you have a genuine Apple SSD (as indicated by the device’s model name), then TRIM should be on and working. The T2’s encryption will effectively block any attempt to bypass the SSD controller (which is the T2 chip).
BEFORE YOU TRADE IN YOUR MAC PRO
I assume your old iMac is too old to have a T2 chip (I think only the 2017 iMac pro and 2020 iMac use it), but if you have a T2, then you don’t have to worry about garbage collection. You won’t have any way of knowing when the garbage collection completes, but unless you want to physically remove and destroy the SSD, that’s about the best you can do. The SSD will collect its garbage during its idle time (which will be all the time) and all will be well. Boot it into Recovery mode and let it sit that way. If you’re worried about someone removing the SSD before garbage collection takes place (to try and bypass the SSD controller and access the garbage data with your deleted files), the easiest way around this is to leave the computer powered on and idle for a few days afterward. This will take a long time, but it will definitely make all the old data inaccessible by software, in case you don’t trust TRIM.

You could also choose to have Disk Utility write zeros over the entire SSD before you reinstall macOS. Macs use TRIM on the internal SSDs, so all of the deleted content will be marked garbage for later collection, making it inaccessible by software. I wouldn’t worry about your documents being recoverable after this.


In both cases, everything not from Apple will be erased.
BEFORE YOU TRADE IN YOUR MAC UPGRADE
