Qualcomm interview question

Asked to try and understand some code in embedded C