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