A trauma patient with facial burns and singed nasal hairs has a hoarse voice.The priority intervention is: