Sentence:  For many nights afterward , the idea of her having been so close to me in that imagined bed would return and fill me with obscure and painful desires , would cause me to lie awake in shame , tossing with <WSD>irresolution</WSD> , longing to fall into a deep sleep . 
Meaning of the word marked with <WSD> tags:  doubt concerning two or more possible alternatives or courses of action