This article goes over a bit of both if you trust npr more than some random socialist propagandist but The trends for both are nationwide. Police staffing has been going down since BLM became a thing and public respect and love for cops went down. This one doesn’t give years but it says 5% over the last couple years. The change is bigger in larger more liberal cities. Chicago is down 13% since 2018 , san francisco which inspired this meme is down 20% since 2017 while at the same time seeing a ~30% decrease in crime over the past year.
Crime is also down all over the country, home break ins have been steadily declining since 2018 when the police staffing “problem” started. Murders have also dropped 12% over the past year along with alot of other crimes
It’s the thin blue line flag , you’ll see it all over the US by right wingers who think police are the only thing keeping us from murdering each other.