AMD Ryzen 5 7640HS 's Advantages
Higher specification of memory (7500 vs 6400)
Higher base frequency (4.3GHz vs 3.5GHz)
More modern manufacturing process (4nm vs 5nm)
Apple M2 Pro 's Advantages
Better graphics card performance
Larger memory bandwidth (204.8GB/s vs 89.6GB/s)
Lower TDP (30W vs 54W)