I've spoken with 2 neighbours about the issue of squirrels, in terms of attic invasion, danger to old wiring, diseases they carry, havoc for practically every garden plant, and those neighbours very much appreciate my efforts, so long as I only take shots which are safe for them and their properties. I'm careful about such things, of course. But the majority of my neighbours would positively freak out if they knew someone was shooting for any reason. Hence the need for quiet guns.
A .22lr, even with CCI Quiet and a good suppressor, is simply too loud for an urban environment. Besides the current total of 383 squirrels (they go in the city compost bin, enhancing soil richness for our city parks), there are also 189 rats taken over the same period. More than half of them from a corner hole in one neighbour's roof, just behind a gutter, where they've repaired the soffit three times but the rats keep chewing through. I use thermal to spot them, then an infrared monocular adapted to a 3x scope on a low powered PCP to take the shots. On a budget, infrared offers better clarity and precision. I can't afford truly accurate thermal scopes yet.