Except that guns enter the illegal weapons market mostly through facially legal sales. Mostly due to loopholes and inconsistencies of laws between states on the issue. Your illegal weapon started out as a legal one which was purchased in the absence of sane and consistent registration laws and record keeping.
Lem’s harping on illegal weapons avoids that aspect. That lack of gun control laws allow for more illegal weapons being available.