Well there is some on the spot adjudicating that you can do. However if you are just leaving combat (ie withdrawing) then you don't worry about AoO. It's when you want to do two things at once - "I'm withdrawing away from that guy....but I hit him with my sword first!" That indicates a split...