Mystery Circuit

What does this circuit do? Hint: Think of the inputs as a pair of 2 bit binary numbers.