The issue occurred in #83592. Log
The expected maximum length of OP_STOREX_MEMBASE is 12, however if the address is large enough, it can cost as much as 4 instructions (2 for emit_imm, 1 for addx and strfpq each). The max length should thus be increased to 16.