Want to do sth, would like to do sth Want is a verb, to do is an infinitive? Want to is a verb, do is an object?

Want to do sth, would like to do sth Want is a verb, to do is an infinitive? Want to is a verb, do is an object?

It's the former
① You can know this from the noun after want
i want + sth ..
To do is a non finite structure that can be used as an object following a verb
② The original form of do verb can only be used as predicate, not as object