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