How to merge a 3D patterned surface with a plain surface?

Hi, I recently came across a model that I found difficult to create. I have attached an image of the profile for your reference.

In the image the 3D pattern is smoothly merged with the round surface (plain surface).

It would be highly appreciated if anyone could guide me on how to solve this.

I am using SolidWorks 2020 version.

Thank you.