His last name is Smith.
His first name is usually John unless the parents gave him a double barreled first name of John David and registered that as his first name.
Like Anne Marie can be a first name or a first and middle depending on what the parents intended (and regisyered). Or if you’re a sitcom character played by Marlo Thomas, it can be a first and last name. ?