how to do cpu offline on Apple Silicon(m1/m2/m3)

i am unable to do cpu core offline using "sudo cpuctl offline 2" it is giving error like cpuctl: processor_exit(2) failed

is there any ways to do cpu offline on Apple Silicon?

how to do cpu offline on Apple Silicon(m1/m2/m3)
 
 
Q