What you've stimulated for me is the question of whether brains and their processes could have the same utility without the quality of interiority? We can make obvious observations like "the pain of intense heat incentivizes the animal to stop touching fires". Was it necessary that the animal feel the pain, or could the exact same behavioral modification have been duly recorded in some neural adjustment without the interior experience?
My personal intuition is that 1. it is possible for a machine with the right interfaces running a sophisticated enough turing machine to replicate the above, and 2. such a turing machine would not have the same quality of interiority that we have. This suggests that consciousness doesn't have some inherent utility. Except! From my internal observations, consciousness seems to have the quality that it focuses inputs and computation. I filter out noise, center my reasoning/recall/attention on one or two things at a time. Perhaps this ability to filter and focus allows for more peak "thought" or "processing" given equal grey matter mass or energy input. So my thesis is that the evolutionary advantage of consciousness is that it was a software based way to extract more performance out of brains given hardware limitations.