To be pedantic, there are very few actually illegal guns. Mostly we are talking about crimes committed by felons who have committed prior crimes are no longer legally allowed access to firearms.
That same gun, if possessed by a non-felon, would be legal.
I don't know if this is or isn't important to the analogy, but I do think it applies.
If the number of legal firearms were reduced then would that not reduce the pool from which the illegal firearms can be obtained?
Agreed it doesn't completely solve the issue, but could make it significantly less likely that one would encounter a firearm in general.
The proposition to reduce gun violence by reducing the number of guns in circulation has to account for the guns already in circulation, and for the propensity of black markets to introduce new guns into circulation. Otherwise, the only thing achieved is the disarming of the groups of people with legitimate uses for firearms.
It’s not as simple as “guns are the problem”, nor is it as simple as “more guns are the solution”, I’m afraid.
It’s like when people were saying that 80-90% of people dying in hospitals were unvaccinated. So vaccination helped right?