Revised OR logic in Arm code