Master Cylinder

I'm ready to reinstall my master cylinder.. I have what I think is the firewall "gasket", but looking at my m.c. it looks like there's a gasket on it too. Is there a separate gasket that goes directly against the m.c..? It has been a long time since I removed and I'm a bit lost. My service manual is of no help. Here's a pic of what I'm dealing with.. Looks like gasket, some sort of spacer, then gasket..
And, does this look like an OEM master cylinder cap..?

20230829_173510.jpg
Thanks..!20230829_172429.jpg

20230829_172454.jpg

20230829_172454.jpg