I over contributed after tax 401k in 2021, then I withdraw excess money in 2022 Feb, there is some capital loss during the withdraw. How to report this loss to IRS?

The capital loss is due to ETF drop. I receive 1099-r for this withdraw, however 1099-r doesn't mention the loss. How to report this loss in tax return?