first, 1/2" drywall is required, not 5/8".
These are from 2018 IRC. These sections have not changed much I recent editions but they could be amended but the jurisdiction.
second:
R302.6Dwelling-garage fire separation.
The garage shall be separated as required by
Table R302.6. Openings in garage walls shall comply with
Section R302.5. Attachment of gypsum board shall comply with
Table R702.3.5. The wall separation provisions of
Table R302.6 shall not apply to garage walls that are perpendicular to the adjacent dwelling unit wall.
third:
R311.1Means of egress.
Dwellings shall be provided with a means of egress in accordance with this section. The means of egress shall provide a continuous and unobstructed path of vertical and horizontal egress travel from all portions of the dwelling to the required egress door without requiring travel through a garage. The required egress door shall open directly into a public way or to a yard or court that opens to a public way.