static NOINLINE UNUSED void transform_dis_pcrel(struct transform_dis_ctx *ctx, uintptr_t dpc, unsigned reg, enum pcrel_load_mode load_mode) { ctx->write_newop_here = NULL; void **codep = ctx->rewritten_ptr_ptr; if (load_mode >= PLM_U32_SIMD) { /* use x0 as scratch */ op32(codep, 0xf81f0fe0); /* str x0, [sp, #-0x10]! */ MOVi64(codep, 0, dpc); LDRxi(codep, reg, 0, 0, true, load_mode); op32(codep, 0xf84107e0); /* ldr x0, [sp], #0x10 */ } else { MOVi64(codep, reg, dpc); LDRxi(codep, reg, reg, 0, true, load_mode); } }