Apple M4 Advantages
Better graphics card performance
Higher specification of memory (LPDDR5X-7500 vs DDR5-5200)
Larger memory bandwidth (120GB/s vs 83.2GB/s)
Higher base frequency (4.05GHz vs 2.4GHz)
Lower TDP (20W vs 55W)
AMD Ryzen 9 7940HX Advantages
Newer PCIe version (5.0 vs 4.0)