When the official saw the breakaway layup, hold whistle and stop play after basket. If the official could have blown the whistle before the steal of the loose ball, then we go to the AP arrow. While you have team control on loose ball there is no player control. Since the official blew the whistle while in control of the player of team B going for layup then the ball goes back to that team B.
__________________
foulbuster
|