This photograph is the kind of image that portrait mode on the iPhone X would have a hard time with. The iPhone 12 Pro Max, however, does a much better job. In particular, I’m impressed that in the gap between the green and yellow uprights, the system applies noticeably less blur to the trunk that shows through as compared to the background behind it.
Another area of interest are the dead leaves in the upper-left corner. There were several distinct plants standing there and you can see the image processing didn’t get thrown off and assume that all of them were at the same distance. I assume this is due to the Lidar sensor data being used in the processing.
Would I prefer the bokeh from a nice 35 mm f/1.4 full-frame lens wide open? Oh, most definitely yes. This is pretty good, however, especially consider it came from the camera that is always in my pocket.