For me (as a programmer) it really varies a ton. I used to put in insane stretches, due to the medication I needed to take in the past and that is how I got used to things in college.
Now I work more regularly, but still can put in a solid 6+ hr day most of the time, and yet some days... yeesh I'm lucky if I can get a third of that. So I work more on other days to compensate.
I've never really worked, for as long as I can literally remember.
Oh you mean at a job? It varied, 40-50 before I qualified for disability.
But In general, I've been defective/broken all my life, since like 1st grade or so as far as I can recall. It just took until my 30s for my depression to finally overcome my will to live.
Shitty Life Pro Tip: we're all broken. See those dead fish eye stares by the likes of the Zuck (who is totally human btw) or Bezos or such.
Some of us are simply more honest about that fact than others. Kudos for that - it ain't nothing, it really is not. Some (okay, me) might say that it is, in fact, everything.