@Paul *****
and you had a re-entry permit...
What is the ending date of your retirement extension?
Are you now wanting to file a 90 day report?
If so...it was due 90 days from your arrival date of June 6th... which is September 4th.
Your TM30 address registration for your Address might need to be updated as you entered Thailand June 6th.
And the 90 day report can be filed Up to 15 days BEFORE due date of September 4th or up to 7 days AFTER.
So you should be fine as you have an appointment at Thai immigration office on Sept 9th
ASK your Local Thai Immigration office for their Policy regarding returning to your TM30 address registration on file with them when you leave Thailand and reenter.