Latchbolt by grip either side, unless outside grip is locked by toggle-action stop or by projection of deadbolt.
Inside grip simultaneously retracts latchbolt and deadbolt; outside grip remains locked.
Outside grip unlocked by toggle-action stop.