Qualcomm interview question

vendor machine state diagram, FIFO Buffer design