Logic Gates Puzzle 10

The shown logic circuit performs a handy function; can you discover what it is? The circuit was not optimised for functionality, but to create a nice artwork and interesting puzzle. If you need to know the meaning of the used logic gate symbols, have a look at this Wikipedia page....