Such a setup shows that when EN is hight and regardless of the state of Din, two mosfets are ON and OUT copys the state of DIN, otherwise all mosfets are OFF.
electronicdiy
Why use the p-channel and the inverter on the top when you can use another n-channel?
Why use the inverter on the DIN when you can swap the inner n and p channels and remove the inverter?