Lenovo Legion 9 16IRX9 was released 06/2024
https://www.notebookcheck.net/Lenovo-Legion-9-16IRX9-Legion-9i-review-How-high-end-is-the-RTX-4090-gamer.852916.0.html
linux-hardware data for this laptop shows it has Realtek ALC287 for onboard audio
HW probe of Lenovo Legion 9 16IRX9 83G0 #9fcc4a1a9a: aplay
Manufacturer’s specifications state that system has 2x2W speakers and a smart amplifier
The smart amplifier may need a kernel patch to be configured correctly. There are previous posts on here for laptops with a similar issue where audio playback works for headphone jack only
Please post more information about audio devices detected in ALSA
sudo alsa-info.sh --upload