look! now it presents the result to the console! look laurie! i'm learning! can i see your armpits now?
/* echo $? will output "9" */
.align 2
.msg:
.ascii "4 + 5 = %d\n"
.p2align 4
my_function:
add x0, x0, x1
ret
.global main
main:
stp x21, x30, [sp, -16]!
mov x21, x1
ldr w0, =4
ldr w1, =5
bl my_function
mov w1, w0
adrp x0, .msg
add x0, x0, :lo12:.msg
bl printf
ldp x21, x30, [sp], 16
ret