SAN JOSE — Flanked by his mother, 49ers linebacker Aldon Smith pleaded not guilty Tuesday to three felony counts of possessing illegal assault rifles, in his first court appearance since he was booked on the gun charges and a separate misdemeanor DUI.