Nice chromatic movement. Sounds like intro or turnaround going A-D7-E or A-F-E or A-Ebdim-E.
I added some tab to show one way back to A
1.___________________________________
2.___________________________________
3.___________________________________
4.___________________________________
5._12~A~~13____10~~12________________
6._12B_~~13____10~~12________________
1.___________________________________
2.___________________________________
3.______________________12~~12B______
4.______________15L~12~~~~~~12_______
5._12~~12A~~15~~~~~~12~~~~~~12A______
6._12~~12B~~15~~~~~~12~~~~~~12B______
The original lick would also work with F#m-D7-C#7 or F#m-Ebdim-C#7 or F#m-Adim-C#7.
(without sounding too far out, not that obvious though)
Bengt