CSNY "Southern Man" 4-Way Street

In the song “Southern Man” on the 4-Way Street album, the guys play an excellent extended version of Neil Young’s classic.

I’m wondering how much of the music in this extended version is rehearsed and how much is just improvised on the spot during the concert.