I used to be the unsolicited advice sort of friend, and various others in my neurodiverse circle addressed things in other ways, but it didn’t really work super well overall. So now we just skip this guessing and ask “what can I do to support you?” Or “what kind of support would be helpful right now?”
And the supportee answer truthfully. I just need to vent, I’d like advice and to vent, I want a hug and not to talk about it, I don’t even want to acknowledge it, etc. the supporter then knows exactly what to do, even if that’s nothing, which it often is (the most common answer to the question is some variation of “I don’t need anything, I just wanted to share my frustration, and I’m good now.”)
It takes all the effort out and makes sure the person gets exactly the support they want and need.