A quick Google search came up with this site:
https://www.dxomark.com/smartphones/custom-ranking#/?criteriasChecked=0&criteriaScores={}&criteriaSubScores={%22audiorecording%22:3}
My Google Pixel 6a ranks 59 out of about 200 in terms of audio recording quality. I once compared it to my girlfriend's fairly recent iPhone and could not really notice a difference - iPhones rank better on that site. If you compared all those phones to a professional portable recording device, the differences between phones would probably seem fairly small.
Here is how they evaluate recording quality:
People are using their smartphones to create ever more video content. Smartphone camera image quality has greatly improved over the years, but what about the sound quality of the microphones? DXOMARK has developed a unique set of rigorous test protocols that mirrors the experience of people who...
www.dxomark.com