Their breath was coming in choking gasps as they reached Sir James's door.
They gasped as they arrived at Sir James' door. 
mnli hypothesis: They gasped as they arrived at Sir James' door.  premise: Their breath was coming in choking gasps as they reached Sir James's door.