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, prodrug or stereoisomer thereof, wherein R1, R2a, R3a, R3b, R4a, R4b, G1, G2, L1, L2, m1, m2, A, B, W, X, Y, Z 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.