Compounds having activity as inhibitors of G12C mutant KRAS protein are provided. The compounds have the following structure (I) or a pharmaceutically acceptable salt, tautomer, stereoisomer or prodrug thereof, wherein R1, R3a, R3b, R4a, R4b, G1, G2, G3, G4, m1, m2, m3, m4, L1, L2 and E are as defined herein. Methods associated with preparation and use of such compounds, pharmaceutical compositions comprising such compounds and methods to modulate the activity of G12C mutant KRAS protein for treatment of disorders, such as cancer, are also provided.