AMD interview question

What does the logic gates presented here do