Stocks Wash Sale

I purchased stock ABC in May 2021.  It tanked in early September 2021 so I decided to buy more during this month. My last purchase was made on September 20, 2021. I want to sell the May 2021 purchased ABC stock to claim the loss for the current tax year.  Can I sell it now or do I have to wait 31 days after my last ABC stock purchase?  I understand that if I rebuy this stock within 30 days it will be a wash sale.  Thanks