Consider the sentence:
The gate swung shut behind him.
Both 'swung' and 'shut' are capable of being verbs. In this case I take it that 'shut' is the main verb. What role does 'swung' play? As I understand the term 'swung shut' is not a phrasal verb, and 'swung' is not one of the common auxiliary verbs.