It's clearly ahead in some respect and behind in others. Particularly ahead in 5G where it's the clear world leader, behind in video recording though. The P30's EIS is seriously garbage compared to iPhone.
iPhone 11 and Pixel 4 do seem better, but I would be careful declaring it "garbage". I just think they have reached parity- where each vendor could leapfrog the others for any particular feature for successive generations.
https://www.eetasia.com/news/article/Integrated-5G-Chips-Unv...
And in particular, with its 5G modem:
http://www.hisilicon.com/en/Products/ProductList/Balong
Some news about this:
https://www.bloomberg.com/news/articles/2019-09-09/huawei-an...
And also for the base stations:
https://www.fiercewireless.com/wireless/huawei-s-5g-ran-port...