Bro.
I feel for ya & your Queen.
My Step Dad had lower Back surgery around the 18th of July ; he was good on Wed (the day of the procedure) good on Thursday as well then on Friday , He did not even know why he was in the hospital , 'He got the Trump ? being a politics lover) but could not remember his birthday, Did not recall me taking him to the hospital on Wed, could not hold on to things or put the straw into his mouth usually hitting his nose or cheek.
It was like he had had a Stroke or a Concussion having short term memory loss. I just could not figure their excuse that it was the anesthesia cause he was normal for 2 days , He was out of it until Monday & on Sunday morning I heard the Kidney Dr , talking saying his kidney Function went to 16% & was at 50 + that day ...

?? The First I had heard a reason why his memory / Blood Pressure was super low on Fri-Sun.
The Nice Night Nurse who saw him on Wed & Thursday nights came in on Monday PM & read his Chart & said "WT!" "What happened??"
Also the Dr, who did the Surgery came in on Monday & say's "Wow Bob how ya feeling , I see we almost lost ya"

What? I knew he was bad but that was the first time I heard anybody say he almost died.
Another thing I asked the Nurse 's "why does his pee look like Concentrated Apple Juice? " answer "Oh that's from the Med's".
He is 90% better now but it was a hard time.
I'm saying all this just so you know I can relate to how you feel , tho it was not my Wife , I truly hope her Liver gets to working 'Perfectly ' & her mind continues to improve.
Hang in there Man , Y'all will be on my mind & in my Prayers.
Davers/ Davey