.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2

_main:
    stp x29, x30, [sp, #-16]!
    mov x29, sp

    adrp x0, l_hello@PAGE
    add x0, x0, l_hello@PAGEOFF
    bl _puts

    mov w0, #0
    ldp x29, x30, [sp], #16
    ret

.section __TEXT,__cstring,cstring_literals
l_hello:
    .asciz "hello from arm64 assembly"
