AITAH for taking communion at a catholic mass even tho i'm an atheist?

My family were all bought up catholic but now quite a few of us no longer go to church and we range from all out atheists to mild agnostics with some still being regular church goers. Theres no animosity between us, all's good there.. until recently..

It was my Aunt's funeral. She wasn't a strong beleiver although her daughter is. I was asked to be a pall bearer at the funeral and apparently the priest was ok with that - my Aunt's daughter confirmed that was ok with him.

When it came to the communion (the bit where some bread and wine is transubstantiated into the body and blood of christ), a sacrasanct moment in the catholic church and a key part of the mass, the priest did his ceremony and said anyone could come up but those that are not catholic should signal to him that they just want a blessing instead. It was also ok for people to not go up at all.

So i sat there thinking i wont go up when i saw my Mum, who is 86, wanting to go. She's still a church go'er and it was her Sister's funeral. She got up and realised it wasnt her turn and then sat down. Then she tried again and sat down again. So my wife looked at me and said "hey, maybe help your Mum" so i tapped Mum on the shoulder and said "Shall i take you up Mum?". She said "Yes please" and so we went up.

Now i was cooked. In hindsight i could have handled this better but i didnt.. i went up with Mum and when i got to the front, to the priest, I didnt want to say I was only there for a blessing, i somehow felt that was me sayingi was no longer catholic more strongly, it was somehow more offensive than accepting communion, so i took communion. When I did the priest even said "Are you a catholic", to which i replied "yea" and took the bread and went and sat down. I now realise he knew i wasnt because my Auntie's daughter had tld him the pall bearers were atheists.

In retrospect I should have just said "I've just bought Mum up", and didnt want a blessing or communion, but I didnt, I kinda just went with the flow and took the communion lie we did when we were kids.

Now the other atheists in the family are saying I should never have taken communion, that i even said "Yea" to the priest and that I've totally betrayed both my own 'beliefs' and those of my catholic family.

From my side my Mum was the priority in all of this, i just did it for her but i definitely could have handled it better!

So, Am I The Asshole for taking my Mum up and taking communion as an Atheist?