Check the religion demographics of Catalonia. Muslims, as per 2014 account for only 7% of Catalonia’s population. Those professing agnosticism or atheism each account for a greater segment of the population. Combined these two segments total a bit more than 30%. One can guess that forms the socialist core element. Catholics remain in the majority.
Granted that 7% muslim is 8% too much, the adult voting population is a fraction of that 7%, so more likely less of a factor in the move to independence than other groups by a significant margin.
https://en.m.wikipedia.org/wiki/Religion_in_Catalonia
We must not turn our backs to minority Muslim sources as they IF radicalized ARE historically instigators of chaos/mayhem in order to achieve their goals no matter what miniscule percentage of a populace they are. It’s their Mosque training from birth.