Hello,
Its quite hard to help here, you are posting some snapshot of application functions with unknown content to me. But since you are only to detect only one position pair, I expect you are not rotating control functions correctly or not at all.
I suggest you to have a look at following application note where Hall sensor is used:
https://www.nxp.com/docs/en/application-note/AN4413.pdf
Best regards,
Peter