1 .text 2 .type foo, @function 3 .global foo 4 foo: 5 adrp x0, :got:ifunc 6 ldr x0, [x0, #:got_lo12:ifunc] 7 ret 8 .type ifunc, @gnu_indirect_function 9 .globl ifunc 10 ifunc: 11 ret 12