x86
stringlengths
122
1.3M
arm
stringlengths
122
1.35M
file
stringlengths
20
207
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wrr_ro ## -- Begin function wrr_ro .p2align 4, 0x90 _wrr_ro: ## @wrr_ro .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %rax movq (%rax), %r12 movq (%r12), %r15 movq %r12, %rdi callq _network_backends_count movq %rax, %r14 movq (%r15), %rax movq %rax, -56(%rbp) ## 8-byte Spill testq %rax, %rax jne LBB0_8 ## %bb.1: testq %r14, %r14 jle LBB0_8 ## %bb.2: xorl %ebx, %ebx jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 incq %rbx cmpq %rbx, %r14 je LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movq %rbx, %rsi callq _network_backends_get testq %rax, %rax je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq (%rax), %rax cmpq %rax, (%r15) jge LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %rax, (%r15) movq %rax, 8(%r15) jmp LBB0_6 LBB0_7: movq (%r15), %rax movq %rax, -56(%rbp) ## 8-byte Spill LBB0_8: movq 8(%r15), %r13 movq 16(%r15), %rbx testq %r14, %r14 jle LBB0_9 ## %bb.12: movq %r15, -48(%rbp) ## 8-byte Spill movq %r14, %r15 decq %r14 movq %r14, -64(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq %r12, %r14 movq %r12, %rdi movq %rbx, %rsi callq _network_backends_get movq %rax, %r12 movl $-1, %eax testq %r12, %r12 je LBB0_18 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq %r12, %rdi callq _chassis_event_thread_pool movq %rax, %rcx movl $-1, %eax testq %rcx, %rcx je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movq 8(%r12), %rcx movl $-1, %eax movq _BACKEND_TYPE_RO@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_18 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 movl $-1, %eax cmpq %r13, (%r12) jl LBB0_18 ## %bb.17: ## in Loop: Header=BB0_13 Depth=1 movq 16(%r12), %rax movq _BACKEND_STATE_UP@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax movl $-1, %eax cmovel %ebx, %eax .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_13 Depth=1 movq %r13, %rcx decq %rcx cmoveq -56(%rbp), %rcx ## 8-byte Folded Reload cmpq -64(%rbp), %rbx ## 8-byte Folded Reload cmovgeq %rcx, %r13 leaq 1(%rbx), %rbx movl $0, %ecx cmovgeq %rcx, %rbx cmpl $-1, %eax jne LBB0_19 ## %bb.10: ## in Loop: Header=BB0_13 Depth=1 decq %r15 movq %r14, %r12 jne LBB0_13 ## %bb.11: movl $-1, %eax LBB0_19: movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_20 LBB0_9: movl $-1, %eax LBB0_20: movq %r13, 8(%r15) movq %rbx, 16(%r15) addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BACKEND_TYPE_RO,8,3 ## @BACKEND_TYPE_RO .comm _BACKEND_STATE_UP,8,3 ## @BACKEND_STATE_UP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wrr_ro ; -- Begin function wrr_ro .p2align 2 _wrr_ro: ; @wrr_ro .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 ldr x8, [x0] ldr x19, [x8] ldr x23, [x19] mov x0, x19 bl _network_backends_count mov x20, x0 ldr x25, [x23] cmp x25, #0 ccmp x0, #1, #8, eq b.lt LBB0_7 ; %bb.1: mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 cmp x20, x21 b.eq LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 bl _network_backends_get cbz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [x23] ldr x8, [x0] cmp x9, x8 b.ge LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 stp x8, x8, [x23] b LBB0_2 LBB0_6: ldr x25, [x23] LBB0_7: ldp x24, x21, [x23, #8] subs x26, x20, #1 b.lt LBB0_17 ; %bb.8: Lloh0: adrp x27, _BACKEND_TYPE_RO@GOTPAGE Lloh1: ldr x27, [x27, _BACKEND_TYPE_RO@GOTPAGEOFF] Lloh2: adrp x28, _BACKEND_STATE_UP@GOTPAGE Lloh3: ldr x28, [x28, _BACKEND_STATE_UP@GOTPAGEOFF] LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 bl _network_backends_get cbz x0, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov x22, x0 bl _chassis_event_thread_pool cbz x0, LBB0_13 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x22, #8] ldr x9, [x27] cmp x8, x9 b.ne LBB0_13 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x22] cmp x8, x24 b.ge LBB0_16 LBB0_13: ; in Loop: Header=BB0_9 Depth=1 mov w0, #-1 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 subs x8, x24, #1 csel x8, x25, x8, eq cmp x21, x26 csel x24, x24, x8, lt csinc x21, xzr, x21, ge cmn w0, #1 b.ne LBB0_18 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 subs x20, x20, #1 b.ne LBB0_9 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x22, #16] ldr x9, [x28] cmp x8, x9 csinv w0, w21, wzr, eq b LBB0_14 LBB0_17: mov w0, #-1 LBB0_18: stp x24, x21, [x23, #8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _BACKEND_TYPE_RO,8,3 ; @BACKEND_TYPE_RO .comm _BACKEND_STATE_UP,8,3 ; @BACKEND_STATE_UP .subsections_via_symbols
AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_wrr_ro.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _network_mysqld_replicant_plugin_free ## -- Begin function network_mysqld_replicant_plugin_free .p2align 4, 0x90 _network_mysqld_replicant_plugin_free: ## @network_mysqld_replicant_plugin_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 24(%rdi), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _g_free LBB0_2: movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq _g_free LBB0_4: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: callq _g_free LBB0_6: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.7: callq _g_strfreev LBB0_8: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _network_mysqld_replicant_plugin_free ; -- Begin function network_mysqld_replicant_plugin_free .p2align 2 _network_mysqld_replicant_plugin_free: ; @network_mysqld_replicant_plugin_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #24] cbz x0, LBB0_2 ; %bb.1: bl _g_free LBB0_2: ldr x0, [x19, #16] cbz x0, LBB0_4 ; %bb.3: bl _g_free LBB0_4: ldr x0, [x19, #8] cbz x0, LBB0_6 ; %bb.5: bl _g_free LBB0_6: ldr x0, [x19] cbz x0, LBB0_8 ; %bb.7: bl _g_strfreev LBB0_8: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/plugins/replicant/extr_replicant-plugin.c_network_mysqld_replicant_plugin_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function plugin_con_state_free _plugin_con_state_free: ## @plugin_con_state_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_4 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _g_free LBB0_3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL LBB0_4: retq .cfi_endproc ## -- End function .no_dead_strip _plugin_con_state_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function plugin_con_state_free _plugin_con_state_free: ; @plugin_con_state_free .cfi_startproc ; %bb.0: cbz x0, LBB0_4 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0] cbz x0, LBB0_3 ; %bb.2: bl _g_free LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free LBB0_4: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .no_dead_strip _plugin_con_state_free .subsections_via_symbols
AnghaBench/Atlas/plugins/replicant/extr_replicant-plugin.c_plugin_con_state_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_thread_free ## -- Begin function chassis_event_thread_free .p2align 4, 0x90 _chassis_event_thread_free: ## @chassis_event_thread_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_13 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 24(%rdi), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _g_thread_join LBB0_3: cmpl $-1, (%rbx) je LBB0_5 ## %bb.4: leaq 32(%rbx), %rdi callq _event_del movl (%rbx), %edi callq _closesocket LBB0_5: movl 4(%rbx), %edi cmpl $-1, %edi je LBB0_7 ## %bb.6: callq _closesocket LBB0_7: cmpq $0, 24(%rbx) je LBB0_11 ## %bb.8: movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_11 ## %bb.9: callq _event_base_free jmp LBB0_11 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_11 Depth=1 movq %rax, %rdi callq _network_mysqld_con_free LBB0_11: ## =>This Inner Loop Header: Depth=1 movl 8(%rbx), %edi callq _g_async_queue_try_pop testq %rax, %rax jne LBB0_10 ## %bb.12: movl 8(%rbx), %edi callq _g_async_queue_unref movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL LBB0_13: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_thread_free ; -- Begin function chassis_event_thread_free .p2align 2 _chassis_event_thread_free: ; @chassis_event_thread_free .cfi_startproc ; %bb.0: cbz x0, LBB0_13 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #24] cbz x0, LBB0_3 ; %bb.2: bl _g_thread_join LBB0_3: ldr w8, [x19] cmn w8, #1 b.eq LBB0_5 ; %bb.4: add x0, x19, #32 bl _event_del ldr w0, [x19] bl _closesocket LBB0_5: ldr w0, [x19, #4] cmn w0, #1 b.eq LBB0_7 ; %bb.6: bl _closesocket LBB0_7: ldr x8, [x19, #24] cbz x8, LBB0_11 ; %bb.8: ldr x0, [x19, #16] cbz x0, LBB0_11 ; %bb.9: bl _event_base_free b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 bl _network_mysqld_con_free LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr w0, [x19, #8] bl _g_async_queue_try_pop cbnz x0, LBB0_10 ; %bb.12: ldr w0, [x19, #8] bl _g_async_queue_unref mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free LBB0_13: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-event-thread.c_chassis_event_thread_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_thread_loop ## -- Begin function chassis_event_thread_loop .p2align 4, 0x90 _chassis_event_thread_loop: ## @chassis_event_thread_loop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl 4(%rdi), %edi callq _GUINT_TO_POINTER movq _tls_index@GOTPCREL(%rip), %rdi movl %eax, %esi callq _g_private_set xorl %eax, %eax callq _chassis_is_shutdown testl %eax, %eax je LBB0_1 LBB0_6: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq -48(%rbp), %r14 movq _errno@GOTPCREL(%rip), %r15 movq _EINTR@GOTPCREL(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax callq _chassis_is_shutdown testl %eax, %eax jne LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl $1, -48(%rbp) movq $0, -40(%rbp) movl (%rbx), %edi movq %r14, %rsi callq _event_base_loopexit xorl %edi, %edi testq %rax, %rax sete %dil callq _g_assert movl (%rbx), %edi callq _event_base_dispatch cmpl $-1, %eax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%r15), %rdi cmpq (%r12), %rdi je LBB0_5 ## %bb.4: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %ebx callq _g_strerror movq (%r15), %rcx leaq L_.str(%rip), %rdi movl %ebx, %esi movl %eax, %edx callq _g_critical jmp LBB0_6 .cfi_endproc ## -- End function .comm _tls_index,4,2 ## @tls_index .comm _errno,8,3 ## @errno .comm _EINTR,8,3 ## @EINTR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: leaving chassis_event_thread_loop early, errno != EINTR was: %s (%d)" .comm _G_STRLOC,4,2 ## @G_STRLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_thread_loop ; -- Begin function chassis_event_thread_loop .p2align 2 _chassis_event_thread_loop: ; @chassis_event_thread_loop .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr w0, [x0, #4] bl _GUINT_TO_POINTER mov x1, x0 Lloh0: adrp x0, _tls_index@GOTPAGE Lloh1: ldr x0, [x0, _tls_index@GOTPAGEOFF] bl _g_private_set bl _chassis_is_shutdown cbz w0, LBB0_2 LBB0_1: mov x0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_2: mov w21, #1 Lloh2: adrp x20, _errno@GOTPAGE Lloh3: ldr x20, [x20, _errno@GOTPAGEOFF] Lloh4: adrp x22, _EINTR@GOTPAGE Lloh5: ldr x22, [x22, _EINTR@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 bl _chassis_is_shutdown cbnz w0, LBB0_1 LBB0_4: ; =>This Inner Loop Header: Depth=1 str w21, [sp] str xzr, [sp, #8] ldr w0, [x19] mov x1, sp bl _event_base_loopexit cmp x0, #0 cset w0, eq bl _g_assert ldr w0, [x19] bl _event_base_dispatch cmn w0, #1 b.ne LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [x20] ldr x8, [x22] cmp x0, x8 b.eq LBB0_3 ; %bb.6: Lloh6: adrp x8, _G_STRLOC@GOTPAGE Lloh7: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh8: ldr w19, [x8] bl _g_strerror mov x2, x0 ldr x3, [x20] Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _g_critical b LBB0_1 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _tls_index,4,2 ; @tls_index .comm _errno,8,3 ; @errno .comm _EINTR,8,3 ; @EINTR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: leaving chassis_event_thread_loop early, errno != EINTR was: %s (%d)" .comm _G_STRLOC,4,2 ; @G_STRLOC .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-event-thread.c_chassis_event_thread_loop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_thread_pool ## -- Begin function chassis_event_thread_pool .p2align 4, 0x90 _chassis_event_thread_pool: ## @chassis_event_thread_pool .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _tls_index@GOTPCREL(%rip), %rdi callq _g_private_get movl %eax, %edi callq _GPOINTER_TO_UINT movl (%rbx), %edi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _g_ptr_array_index ## TAILCALL .cfi_endproc ## -- End function .comm _tls_index,4,2 ## @tls_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_thread_pool ; -- Begin function chassis_event_thread_pool .p2align 2 _chassis_event_thread_pool: ; @chassis_event_thread_pool .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, _tls_index@GOTPAGE Lloh1: ldr x0, [x0, _tls_index@GOTPAGEOFF] bl _g_private_get bl _GPOINTER_TO_UINT mov x1, x0 ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_ptr_array_index .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _tls_index,4,2 ; @tls_index .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-event-thread.c_chassis_event_thread_pool.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_threads_init_thread ## -- Begin function chassis_event_threads_init_thread .p2align 4, 0x90 _chassis_event_threads_init_thread: ## @chassis_event_threads_init_thread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) xorl %eax, %eax callq _event_base_new movl %eax, 12(%rbx) movq %r14, 16(%rbx) leaq -40(%rbp), %rdi callq _pipe testq %rax, %rax je LBB0_2 ## %bb.1: movq _errno@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %r15d movl %r14d, %edi callq _g_strerror leaq L_.str(%rip), %rdi movl %r15d, %esi movl %eax, %edx movl %r14d, %ecx callq _g_error LBB0_2: movl -40(%rbp), %esi movl %esi, (%rbx) movl -36(%rbp), %eax movl %eax, 4(%rbx) leaq 8(%rbx), %r14 movq _EV_READ@GOTPCREL(%rip), %rax movq _EV_PERSIST@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx movq _chassis_event_handle@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r14, %rdi movq %rbx, %r8 callq _event_set movl 12(%rbx), %edi movq %r14, %rsi callq _event_base_set movq %r14, %rdi xorl %esi, %esi callq _event_add movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_4 ## %bb.3: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _errno,4,2 ## @errno .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: evutil_socketpair() failed: %s (%d)" .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _EV_READ,4,2 ## @EV_READ .comm _EV_PERSIST,4,2 ## @EV_PERSIST .comm _chassis_event_handle,4,2 ## @chassis_event_handle .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_threads_init_thread ; -- Begin function chassis_event_threads_init_thread .p2align 2 _chassis_event_threads_init_thread: ; @chassis_event_threads_init_thread .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 bl _event_base_new str w0, [x19, #12] str x20, [x19, #16] add x0, sp, #8 bl _pipe cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _errno@GOTPAGE Lloh1: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _G_STRLOC@GOTPAGE Lloh4: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh5: ldr w21, [x8] mov x0, x20 bl _g_strerror mov x2, x0 Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x3, x20 bl _g_error LBB0_2: ldr d0, [sp, #8] str d0, [x19] add x20, x19, #8 Lloh8: adrp x8, _EV_READ@GOTPAGE Lloh9: ldr x8, [x8, _EV_READ@GOTPAGEOFF] Lloh10: ldr w8, [x8] Lloh11: adrp x9, _EV_PERSIST@GOTPAGE Lloh12: ldr x9, [x9, _EV_PERSIST@GOTPAGEOFF] Lloh13: ldr w9, [x9] orr w2, w9, w8 Lloh14: adrp x8, _chassis_event_handle@GOTPAGE Lloh15: ldr x8, [x8, _chassis_event_handle@GOTPAGEOFF] Lloh16: ldr w3, [x8] fmov w1, s0 mov x0, x20 mov x4, x19 bl _event_set ldr w0, [x19, #12] mov x1, x20 bl _event_base_set mov x0, x20 mov x1, #0 bl _event_add mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _errno,4,2 ; @errno .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: evutil_socketpair() failed: %s (%d)" .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _EV_READ,4,2 ; @EV_READ .comm _EV_PERSIST,4,2 ; @EV_PERSIST .comm _chassis_event_handle,4,2 ; @chassis_event_handle .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-event-thread.c_chassis_event_threads_init_thread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_threads_start ## -- Begin function chassis_event_threads_start .p2align 4, 0x90 _chassis_event_threads_start: ## @chassis_event_threads_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%rdi), %edx decl %edx leaq L_.str(%rip), %rdi callq _g_message cmpl $2, (%r12) jb LBB0_5 ## %bb.1: movl $1, %r13d movq _TRUE@GOTPCREL(%rip), %r15 leaq -48(%rbp), %r14 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 incq %r13 movslq (%r12), %rax cmpq %rax, %r13 jae LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rax movq (%rax,%r13,8), %rbx movq $0, -48(%rbp) movq _chassis_event_thread_loop@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r15), %edx movq %rbx, %rsi movq %r14, %rcx callq _g_thread_create movl %eax, (%rbx) movq -48(%rbp), %rax testq %rax, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq _G_STRLOC@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl (%rax), %edx leaq L_.str.1(%rip), %rdi callq _g_critical movq -48(%rbp), %rdi callq _g_error_free jmp LBB0_4 LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: starting %d threads" .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _chassis_event_thread_loop,8,3 ## @chassis_event_thread_loop .comm _TRUE,4,2 ## @TRUE L_.str.1: ## @.str.1 .asciz "%s: %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_event_threads_start ; -- Begin function chassis_event_threads_start .p2align 2 _chassis_event_threads_start: ; @chassis_event_threads_start .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 Lloh0: adrp x22, _G_STRLOC@GOTPAGE Lloh1: ldr x22, [x22, _G_STRLOC@GOTPAGEOFF] ldr w1, [x22] ldr w8, [x0] sub w2, w8, #1 Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _g_message ldr w8, [x19] cmp w8, #2 b.lo LBB0_5 ; %bb.1: mov w23, #1 Lloh4: adrp x24, _chassis_event_thread_loop@GOTPAGE Lloh5: ldr x24, [x24, _chassis_event_thread_loop@GOTPAGEOFF] Lloh6: adrp x25, _TRUE@GOTPAGE Lloh7: ldr x25, [x25, _TRUE@GOTPAGEOFF] Lloh8: adrp x20, l_.str.1@PAGE Lloh9: add x20, x20, l_.str.1@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x23, x23, #1 ldrsw x8, [x19] cmp x23, x8 b.hs LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x21, [x8, x23, lsl #3] str xzr, [sp, #8] ldr w0, [x24] ldr w2, [x25] add x3, sp, #8 mov x1, x21 bl _g_thread_create str w0, [x21] ldr x8, [sp, #8] cbz x8, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w1, [x22] ldr w2, [x8] mov x0, x20 bl _g_critical ldr x0, [sp, #8] bl _g_error_free b LBB0_2 LBB0_5: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: starting %d threads" .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _chassis_event_thread_loop,8,3 ; @chassis_event_thread_loop .comm _TRUE,4,2 ; @TRUE l_.str.1: ; @.str.1 .asciz "%s: %s" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-event-thread.c_chassis_event_threads_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_filemode_check ## -- Begin function chassis_filemode_check .p2align 4, 0x90 _chassis_filemode_check: ## @chassis_filemode_check .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _CHASSIS_FILEMODE_SECURE_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx popq %rbp jmp _chassis_filemode_check_full ## TAILCALL .cfi_endproc ## -- End function .comm _CHASSIS_FILEMODE_SECURE_MASK,4,2 ## @CHASSIS_FILEMODE_SECURE_MASK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_filemode_check ; -- Begin function chassis_filemode_check .p2align 2 _chassis_filemode_check: ; @chassis_filemode_check .cfi_startproc ; %bb.0: Lloh0: adrp x8, _CHASSIS_FILEMODE_SECURE_MASK@GOTPAGE Lloh1: ldr x8, [x8, _CHASSIS_FILEMODE_SECURE_MASK@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x2, #0 b _chassis_filemode_check_full .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CHASSIS_FILEMODE_SECURE_MASK,4,2 ; @CHASSIS_FILEMODE_SECURE_MASK .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-filemode.c_chassis_filemode_check.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_filemode_check_full ## -- Begin function chassis_filemode_check_full .p2align 4, 0x90 _chassis_filemode_check_full: ## @chassis_filemode_check_full .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx leaq -48(%rbp), %rsi callq _stat cmpl $-1, %eax je LBB0_1 ## %bb.2: movl -48(%rbp), %eax movq _S_IFMT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl %eax, %ecx movq _S_IFREG@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB0_3 ## %bb.4: testl %r15d, %eax je LBB0_5 ## %bb.6: movq _G_FILE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _G_FILE_ERROR_PERM@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.2(%rip), %rcx movq %r14, %rdi movq %rbx, %r8 xorl %eax, %eax callq _g_set_error movl $1, %eax jmp LBB0_7 LBB0_1: movq _G_FILE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _errno@GOTPCREL(%rip), %r13 movl (%r13), %edi callq _g_file_error_from_errno movl %eax, %r12d movl (%r13), %edi callq _g_strerror leaq L_.str(%rip), %rcx movq %r14, %rdi movl %r15d, %esi movl %r12d, %edx movq %rbx, %r8 movl %eax, %r9d xorl %eax, %eax callq _g_set_error movl $-1, %eax jmp LBB0_7 LBB0_3: movq _G_FILE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _G_FILE_ERROR_INVAL@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rcx movq %r14, %rdi movq %rbx, %r8 xorl %eax, %eax callq _g_set_error movl $-1, %eax jmp LBB0_7 LBB0_5: xorl %eax, %eax LBB0_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _G_FILE_ERROR,4,2 ## @G_FILE_ERROR .comm _errno,4,2 ## @errno .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cannot stat(%s): %s" .comm _S_IFMT,4,2 ## @S_IFMT .comm _S_IFREG,4,2 ## @S_IFREG .comm _G_FILE_ERROR_INVAL,4,2 ## @G_FILE_ERROR_INVAL L_.str.1: ## @.str.1 .asciz "%s isn't a regular file" .comm _G_FILE_ERROR_PERM,4,2 ## @G_FILE_ERROR_PERM L_.str.2: ## @.str.2 .asciz "permissions of %s aren't secure (0660 or stricter required)" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_filemode_check_full ; -- Begin function chassis_filemode_check_full .p2align 2 _chassis_filemode_check_full: ; @chassis_filemode_check_full .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x21, x1 mov x19, x0 add x1, sp, #8 bl _stat cmn w0, #1 b.eq LBB0_4 ; %bb.1: ldr w8, [sp, #8] Lloh0: adrp x9, _S_IFMT@GOTPAGE Lloh1: ldr x9, [x9, _S_IFMT@GOTPAGEOFF] Lloh2: ldr w9, [x9] and w9, w9, w8 Lloh3: adrp x10, _S_IFREG@GOTPAGE Lloh4: ldr x10, [x10, _S_IFREG@GOTPAGEOFF] Lloh5: ldr w10, [x10] cmp w9, w10 b.ne LBB0_5 ; %bb.2: tst w8, w21 b.eq LBB0_8 ; %bb.3: Lloh6: adrp x8, _G_FILE_ERROR@GOTPAGE Lloh7: ldr x8, [x8, _G_FILE_ERROR@GOTPAGEOFF] Lloh8: ldr w1, [x8] Lloh9: adrp x8, _G_FILE_ERROR_PERM@GOTPAGE Lloh10: ldr x8, [x8, _G_FILE_ERROR_PERM@GOTPAGEOFF] Lloh11: ldr w2, [x8] Lloh12: adrp x3, l_.str.2@PAGE Lloh13: add x3, x3, l_.str.2@PAGEOFF mov x0, x20 mov x4, x19 bl _g_set_error mov w0, #1 b LBB0_7 LBB0_4: Lloh14: adrp x8, _G_FILE_ERROR@GOTPAGE Lloh15: ldr x8, [x8, _G_FILE_ERROR@GOTPAGEOFF] Lloh16: ldr w21, [x8] Lloh17: adrp x23, _errno@GOTPAGE Lloh18: ldr x23, [x23, _errno@GOTPAGEOFF] ldr w0, [x23] bl _g_file_error_from_errno mov x22, x0 ldr w0, [x23] bl _g_strerror ; kill: def $w0 killed $w0 def $x0 Lloh19: adrp x3, l_.str@PAGE Lloh20: add x3, x3, l_.str@PAGEOFF str x0, [sp] mov x0, x20 mov x1, x21 mov x2, x22 b LBB0_6 LBB0_5: Lloh21: adrp x8, _G_FILE_ERROR@GOTPAGE Lloh22: ldr x8, [x8, _G_FILE_ERROR@GOTPAGEOFF] Lloh23: ldr w1, [x8] Lloh24: adrp x8, _G_FILE_ERROR_INVAL@GOTPAGE Lloh25: ldr x8, [x8, _G_FILE_ERROR_INVAL@GOTPAGEOFF] Lloh26: ldr w2, [x8] Lloh27: adrp x3, l_.str.1@PAGE Lloh28: add x3, x3, l_.str.1@PAGEOFF mov x0, x20 LBB0_6: mov x4, x19 bl _g_set_error mov w0, #-1 LBB0_7: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_8: mov w0, #0 b LBB0_7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _G_FILE_ERROR,4,2 ; @G_FILE_ERROR .comm _errno,4,2 ; @errno .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cannot stat(%s): %s" .comm _S_IFMT,4,2 ; @S_IFMT .comm _S_IFREG,4,2 ; @S_IFREG .comm _G_FILE_ERROR_INVAL,4,2 ; @G_FILE_ERROR_INVAL l_.str.1: ; @.str.1 .asciz "%s isn't a regular file" .comm _G_FILE_ERROR_PERM,4,2 ; @G_FILE_ERROR_PERM l_.str.2: ; @.str.2 .asciz "permissions of %s aren't secure (0660 or stricter required)" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-filemode.c_chassis_filemode_check_full.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_get_default_lua_path ## -- Begin function chassis_frontend_get_default_lua_path .p2align 4, 0x90 _chassis_frontend_get_default_lua_path: ## @chassis_frontend_get_default_lua_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdx leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx leaq L_.str.2(%rip), %r8 xorl %r9d, %r9d popq %rbp jmp _g_build_filename ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lib" L_.str.1: ## @.str.1 .asciz "lua" L_.str.2: ## @.str.2 .asciz "?.lua" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_get_default_lua_path ; -- Begin function chassis_frontend_get_default_lua_path .p2align 2 _chassis_frontend_get_default_lua_path: ; @chassis_frontend_get_default_lua_path .cfi_startproc ; %bb.0: mov x2, x1 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF Lloh2: adrp x3, l_.str.1@PAGE Lloh3: add x3, x3, l_.str.1@PAGEOFF Lloh4: adrp x4, l_.str.2@PAGE Lloh5: add x4, x4, l_.str.2@PAGEOFF mov x5, #0 b _g_build_filename .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "lib" l_.str.1: ; @.str.1 .asciz "lua" l_.str.2: ; @.str.2 .asciz "?.lua" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_get_default_lua_path.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_base_options ## -- Begin function chassis_frontend_init_base_options .p2align 4, 0x90 _chassis_frontend_init_base_options: ## @chassis_frontend_init_base_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, %r14 movq %rcx, %r15 movq %rdx, -48(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rdi, %rbx xorl %eax, %eax callq _chassis_options_new movq %rax, %r13 movq %rax, %rdi movq %r15, %rsi movq %r14, %rdx callq _chassis_options_set_cmdline_only_options movq %r13, %rdi callq _chassis_options_to_g_option_entries movq %rax, %r14 movq %rbx, %rdi movq %rax, %rsi xorl %edx, %edx callq _g_option_context_add_main_entries movq _FALSE@GOTPCREL(%rip), %r15 movq (%r15), %rsi movq %rbx, %rdi callq _g_option_context_set_help_enabled movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _g_option_context_set_ignore_unknown_options movq (%r15), %r15 movq %rbx, %rdi movq %r12, %rsi movq -48(%rbp), %rdx ## 8-byte Reload movq -56(%rbp), %rcx ## 8-byte Reload callq _g_option_context_parse xorl %ebx, %ebx cmpq %rax, %r15 sete %bl negl %ebx movq %r14, %rdi callq _g_free movq %r13, %rdi callq _chassis_options_free movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,8,3 ## @FALSE .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_base_options ; -- Begin function chassis_frontend_init_base_options .p2align 2 _chassis_frontend_init_base_options: ; @chassis_frontend_init_base_options .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x5 mov x20, x4 mov x21, x3 mov x22, x2 mov x23, x1 mov x24, x0 bl _chassis_options_new mov x25, x0 mov x1, x21 mov x2, x20 bl _chassis_options_set_cmdline_only_options mov x0, x25 bl _chassis_options_to_g_option_entries mov x20, x0 mov x0, x24 mov x1, x20 mov x2, #0 bl _g_option_context_add_main_entries Lloh0: adrp x21, _FALSE@GOTPAGE Lloh1: ldr x21, [x21, _FALSE@GOTPAGEOFF] ldr x1, [x21] mov x0, x24 bl _g_option_context_set_help_enabled Lloh2: adrp x8, _TRUE@GOTPAGE Lloh3: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov x0, x24 bl _g_option_context_set_ignore_unknown_options ldr x21, [x21] mov x0, x24 mov x1, x23 mov x2, x22 mov x3, x19 bl _g_option_context_parse cmp x21, x0 csetm w19, eq mov x0, x20 bl _g_free mov x0, x25 bl _chassis_options_free mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _FALSE,8,3 ; @FALSE .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_base_options.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_basedir ## -- Begin function chassis_frontend_init_basedir .p2align 4, 0x90 _chassis_frontend_init_basedir: ## @chassis_frontend_init_basedir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rsi), %rbx testq %rbx, %rbx je LBB0_3 ## %bb.1: movq %rbx, %rdi callq _g_path_is_absolute movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB0_7 ## %bb.2: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi movq %rbx, %rdx xorl %eax, %eax callq _g_critical jmp LBB0_6 LBB0_3: movq %rsi, %r14 callq _chassis_get_basedir testq %rax, %rax je LBB0_5 ## %bb.4: movq %rax, (%r14) xorl %eax, %eax jmp LBB0_7 LBB0_5: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _g_critical LBB0_6: movl $-1, %eax LBB0_7: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: --basedir option must be an absolute path, but was %s" .comm _G_STRLOC,4,2 ## @G_STRLOC L_.str.1: ## @.str.1 .asciz "%s: Failed to get base directory" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_basedir ; -- Begin function chassis_frontend_init_basedir .p2align 2 _chassis_frontend_init_basedir: ; @chassis_frontend_init_basedir .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x19, [x1] cbz x19, LBB0_3 ; %bb.1: mov x0, x19 bl _g_path_is_absolute cbz w0, LBB0_5 ; %bb.2: mov w0, #0 b LBB0_8 LBB0_3: mov x20, x1 bl _chassis_get_basedir cbz x0, LBB0_6 ; %bb.4: mov x8, x0 mov w0, #0 str x8, [x20] b LBB0_8 LBB0_5: Lloh0: adrp x8, _G_STRLOC@GOTPAGE Lloh1: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh2: ldr w1, [x8] str x19, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF b LBB0_7 LBB0_6: Lloh5: adrp x8, _G_STRLOC@GOTPAGE Lloh6: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh7: ldr w1, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF LBB0_7: bl _g_critical mov w0, #-1 LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: --basedir option must be an absolute path, but was %s" .comm _G_STRLOC,4,2 ; @G_STRLOC l_.str.1: ; @.str.1 .asciz "%s: Failed to get base directory" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_basedir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_glib ## -- Begin function chassis_frontend_init_glib .p2align 4, 0x90 _chassis_frontend_init_glib: ## @chassis_frontend_init_glib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $2, %edi movl $6, %esi xorl %edx, %edx callq _GLIB_CHECK_VERSION movq _GLIB_MAJOR_VERSION@GOTPCREL(%rip), %r14 movl (%r14), %esi movq _GLIB_MINOR_VERSION@GOTPCREL(%rip), %r15 movl (%r15), %edx movq _GLIB_MICRO_VERSION@GOTPCREL(%rip), %rbx movl (%rbx), %ecx testl %eax, %eax je LBB0_3 ## %bb.1: movl %esi, %edi movl %edx, %esi movl %ecx, %edx callq _glib_check_version testq %rax, %rax je LBB0_4 ## %bb.2: movq _glib_major_version@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _glib_minor_version@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _glib_micro_version@GOTPCREL(%rip), %rsi movl (%rsi), %r8d movl (%r14), %r9d movl (%r15), %r10d movl (%rbx), %ebx leaq L_.str.1(%rip), %rdi movq %rax, %rsi xorl %eax, %eax pushq %rbx pushq %r10 callq _g_critical addq $16, %rsp jmp LBB0_7 LBB0_3: leaq L_.str(%rip), %rdi xorl %eax, %eax callq _g_critical jmp LBB0_7 LBB0_4: xorl %ebx, %ebx xorl %eax, %eax callq _g_module_supported testl %eax, %eax je LBB0_6 ## %bb.5: xorl %edi, %edi callq _g_thread_init jmp LBB0_8 LBB0_6: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _g_critical LBB0_7: movl $-1, %ebx LBB0_8: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "the glib header are too old, need at least 2.6.0, got: %d.%d.%d" .comm _GLIB_MAJOR_VERSION,4,2 ## @GLIB_MAJOR_VERSION .comm _GLIB_MINOR_VERSION,4,2 ## @GLIB_MINOR_VERSION .comm _GLIB_MICRO_VERSION,4,2 ## @GLIB_MICRO_VERSION L_.str.1: ## @.str.1 .asciz "%s, got: lib=%d.%d.%d, headers=%d.%d.%d" .comm _glib_major_version,4,2 ## @glib_major_version .comm _glib_minor_version,4,2 ## @glib_minor_version .comm _glib_micro_version,4,2 ## @glib_micro_version L_.str.2: ## @.str.2 .asciz "loading modules is not supported on this platform" .comm _glib_mem_profiler_table,4,2 ## @glib_mem_profiler_table .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_glib ; -- Begin function chassis_frontend_init_glib .p2align 2 _chassis_frontend_init_glib: ; @chassis_frontend_init_glib .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov w0, #2 mov w1, #6 mov w2, #0 bl _GLIB_CHECK_VERSION mov x8, x0 Lloh0: adrp x19, _GLIB_MAJOR_VERSION@GOTPAGE Lloh1: ldr x19, [x19, _GLIB_MAJOR_VERSION@GOTPAGEOFF] ldr w0, [x19] Lloh2: adrp x20, _GLIB_MINOR_VERSION@GOTPAGE Lloh3: ldr x20, [x20, _GLIB_MINOR_VERSION@GOTPAGEOFF] ldr w1, [x20] Lloh4: adrp x21, _GLIB_MICRO_VERSION@GOTPAGE Lloh5: ldr x21, [x21, _GLIB_MICRO_VERSION@GOTPAGEOFF] ldr w2, [x21] cbz w8, LBB0_3 ; %bb.1: ; kill: def $w0 killed $w0 killed $x0 ; kill: def $w1 killed $w1 killed $x1 ; kill: def $w2 killed $w2 killed $x2 bl _glib_check_version cbz x0, LBB0_4 ; %bb.2: Lloh6: adrp x8, _glib_major_version@GOTPAGE Lloh7: ldr x8, [x8, _glib_major_version@GOTPAGEOFF] Lloh8: adrp x9, _glib_minor_version@GOTPAGE Lloh9: ldr x9, [x9, _glib_minor_version@GOTPAGEOFF] Lloh10: adrp x10, _glib_micro_version@GOTPAGE Lloh11: ldr x10, [x10, _glib_micro_version@GOTPAGEOFF] Lloh12: ldr w11, [x8] Lloh13: ldr w8, [x9] Lloh14: ldr w9, [x10] ldr w10, [x19] ldr w12, [x20] ldr w13, [x21] stp x12, x13, [sp, #40] stp x9, x10, [sp, #24] stp x11, x8, [sp, #8] Lloh15: adrp x8, l_.str.1@PAGE Lloh16: add x8, x8, l_.str.1@PAGEOFF str x0, [sp] mov x0, x8 b LBB0_7 LBB0_3: stp x1, x2, [sp, #8] str x0, [sp] Lloh17: adrp x0, l_.str@PAGE Lloh18: add x0, x0, l_.str@PAGEOFF b LBB0_7 LBB0_4: bl _g_module_supported cbz w0, LBB0_6 ; %bb.5: mov x0, #0 bl _g_thread_init mov w0, #0 b LBB0_8 LBB0_6: Lloh19: adrp x0, l_.str.2@PAGE Lloh20: add x0, x0, l_.str.2@PAGEOFF LBB0_7: bl _g_critical mov w0, #-1 LBB0_8: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh14 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh13 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh12 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "the glib header are too old, need at least 2.6.0, got: %d.%d.%d" .comm _GLIB_MAJOR_VERSION,4,2 ; @GLIB_MAJOR_VERSION .comm _GLIB_MINOR_VERSION,4,2 ; @GLIB_MINOR_VERSION .comm _GLIB_MICRO_VERSION,4,2 ; @GLIB_MICRO_VERSION l_.str.1: ; @.str.1 .asciz "%s, got: lib=%d.%d.%d, headers=%d.%d.%d" .comm _glib_major_version,4,2 ; @glib_major_version .comm _glib_minor_version,4,2 ; @glib_minor_version .comm _glib_micro_version,4,2 ; @glib_micro_version l_.str.2: ; @.str.2 .asciz "loading modules is not supported on this platform" .comm _glib_mem_profiler_table,4,2 ; @glib_mem_profiler_table .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_glib.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_logdir ## -- Begin function chassis_frontend_init_logdir .p2align 4, 0x90 _chassis_frontend_init_logdir: ## @chassis_frontend_init_logdir .cfi_startproc ## %bb.0: xorl %eax, %eax testq %rdi, %rdi je LBB0_1 ## %bb.2: retq LBB0_1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _g_critical movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: Failed to get log directory, please set by --log-path" .comm _G_STRLOC,4,2 ## @G_STRLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_logdir ; -- Begin function chassis_frontend_init_logdir .p2align 2 _chassis_frontend_init_logdir: ; @chassis_frontend_init_logdir .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: mov w0, #0 ret LBB0_2: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _G_STRLOC@GOTPAGE Lloh1: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _g_critical mov w0, #-1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: Failed to get log directory, please set by --log-path" .comm _G_STRLOC,4,2 ; @G_STRLOC .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_logdir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_lua_cpath ## -- Begin function chassis_frontend_init_lua_cpath .p2align 4, 0x90 _chassis_frontend_init_lua_cpath: ## @chassis_frontend_init_lua_cpath .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx popq %rbp jmp _chassis_frontend_init_lua_paths ## TAILCALL .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_lua_cpath ; -- Begin function chassis_frontend_init_lua_cpath .p2align 2 _chassis_frontend_init_lua_cpath: ; @chassis_frontend_init_lua_cpath .cfi_startproc ; %bb.0: Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr w3, [x8] b _chassis_frontend_init_lua_paths .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_lua_cpath.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_lua_path ## -- Begin function chassis_frontend_init_lua_path .p2align 4, 0x90 _chassis_frontend_init_lua_path: ## @chassis_frontend_init_lua_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %ecx popq %rbp jmp _chassis_frontend_init_lua_paths ## TAILCALL .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_lua_path ; -- Begin function chassis_frontend_init_lua_path .p2align 2 _chassis_frontend_init_lua_path: ; @chassis_frontend_init_lua_path .cfi_startproc ; %bb.0: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w3, [x8] b _chassis_frontend_init_lua_paths .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_lua_path.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chassis_frontend_init_lua_paths _chassis_frontend_init_lua_paths: ## @chassis_frontend_init_lua_paths .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, -64(%rbp) ## 8-byte Spill movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %rbx testq %rcx, %rcx jne LBB0_1 ## %bb.2: movq _LUA_CPATH@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _LUA_PATH@GOTPCREL(%rip), %rax LBB0_3: movq (%rax), %r12 movq %r12, %rdi testq %rbx, %rbx je LBB0_6 ## %bb.4: movq %rbx, %rsi callq _chassis_frontend_lua_setenv testq %rax, %rax je LBB0_23 ## %bb.5: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _g_strerror leaq L_.str(%rip), %rdi movl %r14d, %esi movq %r12, %rdx movq %rbx, %rcx movl %eax, %r8d callq _g_critical jmp LBB0_23 LBB0_6: callq _g_getenv testl %eax, %eax jne LBB0_23 ## %bb.7: movq %r12, -56(%rbp) ## 8-byte Spill xorl %r12d, %r12d xorl %edi, %edi callq _g_string_new movq %rax, %rbx movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r13 jmp LBB0_8 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_8 Depth=1 movq %rbx, %rdi movq %r14, %rsi callq _g_string_append movq %r14, %rdi callq _g_free incq %r12 LBB0_8: ## =>This Inner Loop Header: Depth=1 testq %r13, %r13 je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 testq %r12, %r12 jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 xorl %esi, %esi jmp LBB0_13 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 testq %r13, %r13 jne LBB0_19 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq (%rax,%r12,8), %rsi testq %rsi, %rsi je LBB0_19 LBB0_13: ## in Loop: Header=BB0_8 Depth=1 testq %r15, %r15 je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_8 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload callq _chassis_frontend_get_default_lua_path jmp LBB0_16 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_8 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload callq _chassis_frontend_get_default_lua_cpath LBB0_16: ## in Loop: Header=BB0_8 Depth=1 movq %rax, %r14 cmpq $0, (%rbx) jle LBB0_18 ## %bb.17: ## in Loop: Header=BB0_8 Depth=1 movq _LUA_PATHSEP@GOTPCREL(%rip), %rax movl (%rax), %edi callq _C movq %rbx, %rdi movl %eax, %esi callq _g_string_append_len jmp LBB0_18 LBB0_19: cmpq $0, (%rbx) movq -56(%rbp), %r12 ## 8-byte Reload je LBB0_22 ## %bb.20: movq 8(%rbx), %rsi movq %r12, %rdi callq _chassis_frontend_lua_setenv testq %rax, %rax je LBB0_22 ## %bb.21: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %r14d movq 8(%rbx), %r15 movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _g_strerror leaq L_.str(%rip), %rdi movl %r14d, %esi movq %r12, %rdx movq %r15, %rcx movl %eax, %r8d callq _g_critical LBB0_22: movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %rbx, %rdi callq _g_string_free LBB0_23: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LUA_PATH,8,3 ## @LUA_PATH .comm _LUA_CPATH,8,3 ## @LUA_CPATH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: setting %s = %s failed: %s" .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _errno,4,2 ## @errno .comm _FALSE,8,3 ## @FALSE .comm _LUA_PATHSEP,4,2 ## @LUA_PATHSEP .comm _TRUE,8,3 ## @TRUE .no_dead_strip _chassis_frontend_init_lua_paths .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chassis_frontend_init_lua_paths _chassis_frontend_init_lua_paths: ; @chassis_frontend_init_lua_paths .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, _LUA_PATH@GOTPAGE Lloh1: ldr x8, [x8, _LUA_PATH@GOTPAGEOFF] Lloh2: adrp x9, _LUA_CPATH@GOTPAGE Lloh3: ldr x9, [x9, _LUA_CPATH@GOTPAGEOFF] cmp x3, #0 csel x8, x9, x8, eq ldr x19, [x8] cbz x0, LBB0_3 ; %bb.1: mov x20, x0 mov x0, x19 mov x1, x20 bl _chassis_frontend_lua_setenv cbz x0, LBB0_20 ; %bb.2: Lloh4: adrp x8, _G_STRLOC@GOTPAGE Lloh5: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh6: ldr w21, [x8] Lloh7: adrp x8, _errno@GOTPAGE Lloh8: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh9: ldr w0, [x8] bl _g_strerror mov x4, x0 Lloh10: adrp x0, l_.str@PAGE Lloh11: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x2, x19 mov x3, x20 bl _g_critical b LBB0_20 LBB0_3: mov x21, x3 mov x22, x2 mov x23, x1 mov x0, x19 bl _g_getenv cbnz w0, LBB0_20 ; %bb.4: mov x0, #0 bl _g_string_new mov x20, x0 mov x25, #0 Lloh12: adrp x8, _FALSE@GOTPAGE Lloh13: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh14: ldr x26, [x8] Lloh15: adrp x27, _LUA_PATHSEP@GOTPAGE Lloh16: ldr x27, [x27, _LUA_PATHSEP@GOTPAGEOFF] b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 mov x0, x20 mov x1, x24 bl _g_string_append mov x0, x24 bl _g_free add x25, x25, #1 LBB0_6: ; =>This Inner Loop Header: Depth=1 cbz x26, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cbnz x25, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov x1, #0 b LBB0_11 LBB0_9: ; in Loop: Header=BB0_6 Depth=1 cbnz x26, LBB0_16 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 ldr x1, [x22, x25, lsl #3] cbz x1, LBB0_16 LBB0_11: ; in Loop: Header=BB0_6 Depth=1 mov x0, x23 cbz x21, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 bl _chassis_frontend_get_default_lua_path b LBB0_14 LBB0_13: ; in Loop: Header=BB0_6 Depth=1 bl _chassis_frontend_get_default_lua_cpath LBB0_14: ; in Loop: Header=BB0_6 Depth=1 mov x24, x0 ldr x8, [x20] cmp x8, #1 b.lt LBB0_5 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x27] bl _C mov x1, x0 mov x0, x20 bl _g_string_append_len b LBB0_5 LBB0_16: ldr x8, [x20] cbz x8, LBB0_19 ; %bb.17: ldr x1, [x20, #8] mov x0, x19 bl _chassis_frontend_lua_setenv cbz x0, LBB0_19 ; %bb.18: Lloh17: adrp x8, _G_STRLOC@GOTPAGE Lloh18: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh19: ldr w21, [x8] ldr x22, [x20, #8] Lloh20: adrp x8, _errno@GOTPAGE Lloh21: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh22: ldr w0, [x8] bl _g_strerror mov x4, x0 Lloh23: adrp x0, l_.str@PAGE Lloh24: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x2, x19 mov x3, x22 bl _g_critical LBB0_19: Lloh25: adrp x8, _TRUE@GOTPAGE Lloh26: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh27: ldr x1, [x8] mov x0, x20 bl _g_string_free LBB0_20: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .cfi_endproc ; -- End function .comm _LUA_PATH,8,3 ; @LUA_PATH .comm _LUA_CPATH,8,3 ; @LUA_CPATH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: setting %s = %s failed: %s" .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _errno,4,2 ; @errno .comm _FALSE,8,3 ; @FALSE .comm _LUA_PATHSEP,4,2 ; @LUA_PATHSEP .comm _TRUE,8,3 ; @TRUE .no_dead_strip _chassis_frontend_init_lua_paths .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_lua_paths.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_plugin_dir ## -- Begin function chassis_frontend_init_plugin_dir .p2align 4, 0x90 _chassis_frontend_init_plugin_dir: ## @chassis_frontend_init_plugin_dir .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpq $0, (%rdi) jne LBB0_2 ## %bb.1: movq %rdi, %rbx movq _PACKAGE@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rax leaq L_.str.1(%rip), %rcx movq %rsi, %rdi movq %rax, %rsi xorl %r8d, %r8d xorl %eax, %eax callq _g_build_filename movq %rax, (%rbx) LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lib" .comm _PACKAGE,4,2 ## @PACKAGE L_.str.1: ## @.str.1 .asciz "plugins" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_plugin_dir ; -- Begin function chassis_frontend_init_plugin_dir .p2align 2 _chassis_frontend_init_plugin_dir: ; @chassis_frontend_init_plugin_dir .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0] cbnz x8, LBB0_2 ; %bb.1: mov x19, x0 Lloh0: adrp x8, _PACKAGE@GOTPAGE Lloh1: ldr x8, [x8, _PACKAGE@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, l_.str.1@PAGE Lloh4: add x8, x8, l_.str.1@PAGEOFF stp x8, xzr, [sp] Lloh5: adrp x8, l_.str@PAGE Lloh6: add x8, x8, l_.str@PAGEOFF mov x0, x1 mov x1, x8 bl _g_build_filename str x0, [x19] LBB0_2: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "lib" .comm _PACKAGE,4,2 ; @PACKAGE l_.str.1: ; @.str.1 .asciz "plugins" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_plugin_dir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_plugins ## -- Begin function chassis_frontend_init_plugins .p2align 4, 0x90 _chassis_frontend_init_plugins: ## @chassis_frontend_init_plugins .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, -88(%rbp) ## 8-byte Spill movq %rdx, -80(%rbp) ## 8-byte Spill movq %rsi, -72(%rbp) ## 8-byte Spill cmpq $0, (%rdi) je LBB0_8 ## %bb.1: movq %rdi, %r15 xorl %r14d, %r14d movq %rdi, -64(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq 16(%rbp), %rdi movq %r12, %rsi callq _chassis_keyfile_resolve_path movq -64(%rbp), %r15 ## 8-byte Reload LBB0_7: ## in Loop: Header=BB0_2 Depth=1 incq %r14 cmpq (%r15), %r14 jae LBB0_8 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movq (%rax,%r14,8), %rbx movq %rbx, %rdi callq _chassis_plugin_get_options testq %rax, %rax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r13 movq (%rbx), %rsi leaq L_.str(%rip), %rdi callq _g_strdup_printf movq %rax, %r12 movq %rax, -96(%rbp) ## 8-byte Spill movq (%rbx), %rsi leaq L_.str.1(%rip), %rdi callq _g_strdup_printf movq %r13, %r15 movq %rax, %r13 movq (%rbx), %rdi movq %r12, %rsi movq %rax, %rdx xorl %ecx, %ecx xorl %r8d, %r8d callq _g_option_group_new movq %rax, %rbx movq %rax, %rdi movq %r15, %r12 movq %r15, %rsi callq _g_option_group_add_entries movq -72(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movq %rbx, %rsi callq _g_option_context_add_group movq %r13, %rdi callq _g_free movq -96(%rbp), %rdi ## 8-byte Reload callq _g_free movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r13 movq %r15, %rdi movq -80(%rbp), %rsi ## 8-byte Reload movq -88(%rbp), %rdx ## 8-byte Reload movq 24(%rbp), %rcx callq _g_option_context_parse movl $-1, %ebx cmpq %rax, %r13 je LBB0_9 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpq $0, -48(%rbp) ## 8-byte Folded Reload je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload movq -56(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx callq _chassis_keyfile_to_options testq %rax, %rax je LBB0_6 jmp LBB0_9 LBB0_8: xorl %ebx, %ebx LBB0_9: movl %ebx, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s-module" L_.str.1: ## @.str.1 .asciz "Show options for the %s-module" .comm _FALSE,8,3 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_plugins ; -- Begin function chassis_frontend_init_plugins .p2align 2 _chassis_frontend_init_plugins: ; @chassis_frontend_init_plugins .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 stp x6, x7, [sp, #16] ; 16-byte Folded Spill str x5, [sp, #8] ; 8-byte Folded Spill ldr x8, [x0] cbz x8, LBB0_9 ; %bb.1: mov x22, x4 mov x23, x3 mov x24, x2 mov x25, x1 mov x26, x0 mov x19, #0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [sp, #16] ; 8-byte Folded Reload mov x1, x27 bl _chassis_keyfile_resolve_path LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x19, x19, #1 ldr x8, [x26] cmp x19, x8 b.hs LBB0_9 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x26, #8] ldr x28, [x8, x19, lsl #3] mov x0, x28 bl _chassis_plugin_get_options cbz x0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x27, x0 ldr x1, [x28] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _g_strdup_printf mov x21, x0 ldr x1, [x28] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _g_strdup_printf mov x20, x0 ldr x0, [x28] mov x1, x21 mov x2, x20 mov x3, #0 mov x4, #0 bl _g_option_group_new mov x28, x0 mov x1, x27 bl _g_option_group_add_entries mov x0, x25 mov x1, x28 bl _g_option_context_add_group mov x0, x20 bl _g_free mov x0, x21 bl _g_free Lloh4: adrp x8, _FALSE@GOTPAGE Lloh5: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh6: ldr x20, [x8] mov x0, x25 mov x1, x24 mov x2, x23 ldr x3, [sp, #24] ; 8-byte Folded Reload bl _g_option_context_parse cmp x20, x0 b.eq LBB0_8 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cbz x22, LBB0_2 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 mov x0, x22 ldr x1, [sp, #8] ; 8-byte Folded Reload mov x2, x27 bl _chassis_keyfile_to_options cbz x0, LBB0_2 LBB0_8: mov w0, #-1 b LBB0_10 LBB0_9: mov w0, #0 LBB0_10: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s-module" l_.str.1: ; @.str.1 .asciz "Show options for the %s-module" .comm _FALSE,8,3 ; @FALSE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_plugins.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_win32 ## -- Begin function chassis_frontend_init_win32 .p2align 4, 0x90 _chassis_frontend_init_win32: ## @chassis_frontend_init_win32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _G_STRLOC,4,2 ## @G_STRLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_init_win32 ; -- Begin function chassis_frontend_init_win32 .p2align 2 _chassis_frontend_init_win32: ; @chassis_frontend_init_win32 .cfi_startproc ; %bb.0: mov w0, #-1 ret .cfi_endproc ; -- End function .comm _G_STRLOC,4,2 ; @G_STRLOC .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_init_win32.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chassis_frontend_lua_setenv _chassis_frontend_lua_setenv: ## @chassis_frontend_lua_setenv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movl $1, %edx callq _g_setenv movq %rax, %r15 testq %rax, %rax je LBB0_5 ## %bb.1: movq %rbx, %rdi callq _getenv testl %eax, %eax je LBB0_2 ## %bb.3: movl %eax, %edi movq %r14, %rsi callq _strcmp testq %rax, %rax je LBB0_5 ## %bb.4: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %r12d movq %rbx, %rdi callq _getenv leaq L_.str.1(%rip), %rdi movl %r12d, %esi movq %rbx, %rdx movq %r14, %rcx movl %eax, %r8d xorl %eax, %eax callq _g_critical jmp LBB0_5 LBB0_2: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi movq %rbx, %rdx movq %r14, %rcx xorl %eax, %eax callq _g_critical LBB0_5: xorl %eax, %eax cmpq $1, %r15 sbbl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: setting %s = %s failed: (getenv() == NULL)" .comm _G_STRLOC,4,2 ## @G_STRLOC L_.str.1: ## @.str.1 .asciz "%s: setting %s = %s failed: (getenv() == %s)" .no_dead_strip _chassis_frontend_lua_setenv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chassis_frontend_lua_setenv _chassis_frontend_lua_setenv: ; @chassis_frontend_lua_setenv .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 mov w2, #1 bl _g_setenv mov x20, x0 cbz x0, LBB0_6 ; %bb.1: mov x0, x21 bl _getenv cbz w0, LBB0_4 ; %bb.2: mov x1, x19 bl _strcmp cbz x0, LBB0_6 ; %bb.3: Lloh0: adrp x8, _G_STRLOC@GOTPAGE Lloh1: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh2: ldr w22, [x8] mov x0, x21 bl _getenv ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh3: adrp x0, l_.str.1@PAGE Lloh4: add x0, x0, l_.str.1@PAGEOFF mov x1, x22 b LBB0_5 LBB0_4: Lloh5: adrp x8, _G_STRLOC@GOTPAGE Lloh6: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh7: ldr w1, [x8] Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF LBB0_5: mov x2, x21 mov x3, x19 bl _g_critical LBB0_6: cmp x20, #0 csetm w0, eq ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: setting %s = %s failed: (getenv() == NULL)" .comm _G_STRLOC,4,2 ; @G_STRLOC l_.str.1: ; @.str.1 .asciz "%s: setting %s = %s failed: (getenv() == %s)" .no_dead_strip _chassis_frontend_lua_setenv .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_lua_setenv.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_open_config_file ## -- Begin function chassis_frontend_open_config_file .p2align 4, 0x90 _chassis_frontend_open_config_file: ## @chassis_frontend_open_config_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 xorl %eax, %eax callq _g_key_file_new movq %rax, %rbx movq %rax, %rdi movl $44, %esi callq _g_key_file_set_list_separator movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r12 movq _G_KEY_FILE_NONE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movq %r15, %rsi movq %r14, %rcx callq _g_key_file_load_from_file cmpq %rax, %r12 jne LBB0_2 ## %bb.1: movq %rbx, %rdi callq _g_key_file_free xorl %ebx, %ebx LBB0_2: movq %rbx, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,8,3 ## @FALSE .comm _G_KEY_FILE_NONE,4,2 ## @G_KEY_FILE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_open_config_file ; -- Begin function chassis_frontend_open_config_file .p2align 2 _chassis_frontend_open_config_file: ; @chassis_frontend_open_config_file .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x21, x0 bl _g_key_file_new mov x19, x0 mov w1, #44 bl _g_key_file_set_list_separator Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr x22, [x8] Lloh3: adrp x8, _G_KEY_FILE_NONE@GOTPAGE Lloh4: ldr x8, [x8, _G_KEY_FILE_NONE@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x19 mov x1, x21 mov x3, x20 bl _g_key_file_load_from_file cmp x22, x0 b.ne LBB0_2 ; %bb.1: mov x0, x19 bl _g_key_file_free mov x19, #0 LBB0_2: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FALSE,8,3 ; @FALSE .comm _G_KEY_FILE_NONE,4,2 ; @G_KEY_FILE_NONE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_open_config_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_write_pidfile ## -- Begin function chassis_frontend_write_pidfile .p2align 4, 0x90 _chassis_frontend_write_pidfile: ## @chassis_frontend_write_pidfile .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _O_WRONLY@GOTPCREL(%rip), %rcx movq _O_TRUNC@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%rcx), %eax movq %rsi, %r14 movq %rdi, %r15 movq _O_CREAT@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, %esi movl $384, %edx ## imm = 0x180 callq _open cmpl $-1, %eax je LBB0_1 ## %bb.2: movl %eax, %r12d xorl %r13d, %r13d xorl %eax, %eax callq _getpid leaq L_.str.1(%rip), %rdi movl %eax, %esi callq _g_strdup_printf movq %rax, %rbx movq %rax, %rdi callq _strlen movl %r12d, %edi movq %rbx, %rsi movl %eax, %edx callq _write testq %rax, %rax jns LBB0_4 ## %bb.3: movq _G_FILE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _g_file_error_from_errno movl %eax, %r13d movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _g_strerror movl %eax, %r10d leaq L_.str.2(%rip), %rcx movq %r14, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r13d, %edx movl -48(%rbp), %r8d ## 4-byte Reload movq %r15, %r9 xorl %eax, %eax pushq %r10 pushq %rbx callq _g_set_error addq $16, %rsp movl $-1, %r13d LBB0_4: movq %rbx, %rdi callq _g_free movl %r12d, %edi callq _close jmp LBB0_5 LBB0_1: movq _G_FILE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _errno@GOTPCREL(%rip), %rbx movl (%rbx), %edi callq _g_file_error_from_errno movl %eax, %r12d movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %r13d movl (%rbx), %edi callq _g_strerror movslq %eax, %rbx subq $8, %rsp leaq L_.str(%rip), %rcx movq %r14, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r12d, %edx movl %r13d, %r8d movq %r15, %r9 xorl %eax, %eax pushq %rbx callq _g_set_error addq $16, %rsp movl $-1, %r13d LBB0_5: movl %r13d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _O_WRONLY,4,2 ## @O_WRONLY .comm _O_TRUNC,4,2 ## @O_TRUNC .comm _O_CREAT,4,2 ## @O_CREAT .comm _G_FILE_ERROR,4,2 ## @G_FILE_ERROR .comm _errno,4,2 ## @errno .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: open(%s) failed: %s" .comm _G_STRLOC,4,2 ## @G_STRLOC L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "%s: write(%s) of %s failed: %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_frontend_write_pidfile ; -- Begin function chassis_frontend_write_pidfile .p2align 2 _chassis_frontend_write_pidfile: ; @chassis_frontend_write_pidfile .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x1 mov x19, x0 Lloh0: adrp x8, _O_WRONLY@GOTPAGE Lloh1: ldr x8, [x8, _O_WRONLY@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _O_TRUNC@GOTPAGE Lloh4: ldr x9, [x9, _O_TRUNC@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, _O_CREAT@GOTPAGE Lloh7: ldr x9, [x9, _O_CREAT@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w1, w8, w9 mov w2, #384 bl _open cmn w0, #1 b.eq LBB0_3 ; %bb.1: mov x21, x0 bl _getpid mov x1, x0 Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _g_strdup_printf mov x22, x0 bl _strlen mov x2, x0 mov x0, x21 mov x1, x22 bl _write tbnz x0, #63, LBB0_4 ; %bb.2: mov w19, #0 b LBB0_5 LBB0_3: Lloh11: adrp x8, _G_FILE_ERROR@GOTPAGE Lloh12: ldr x8, [x8, _G_FILE_ERROR@GOTPAGEOFF] Lloh13: ldr w21, [x8] Lloh14: adrp x24, _errno@GOTPAGE Lloh15: ldr x24, [x24, _errno@GOTPAGEOFF] ldr w0, [x24] bl _g_file_error_from_errno mov x22, x0 Lloh16: adrp x8, _G_STRLOC@GOTPAGE Lloh17: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh18: ldr w23, [x8] ldr w0, [x24] bl _g_strerror ; kill: def $w0 killed $w0 def $x0 sxtw x6, w0 Lloh19: adrp x3, l_.str@PAGE Lloh20: add x3, x3, l_.str@PAGEOFF mov x0, x20 mov x1, x21 mov x2, x22 mov x4, x23 mov x5, x19 bl _g_set_error mov w19, #-1 b LBB0_6 LBB0_4: Lloh21: adrp x8, _G_FILE_ERROR@GOTPAGE Lloh22: ldr x8, [x8, _G_FILE_ERROR@GOTPAGEOFF] Lloh23: ldr w23, [x8] Lloh24: adrp x26, _errno@GOTPAGE Lloh25: ldr x26, [x26, _errno@GOTPAGEOFF] ldr w0, [x26] bl _g_file_error_from_errno mov x24, x0 Lloh26: adrp x8, _G_STRLOC@GOTPAGE Lloh27: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh28: ldr w25, [x8] ldr w0, [x26] bl _g_strerror ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh29: adrp x3, l_.str.2@PAGE Lloh30: add x3, x3, l_.str.2@PAGEOFF mov x0, x20 mov x1, x23 mov x2, x24 mov x4, x25 mov x5, x19 mov x6, x22 bl _g_set_error mov w19, #-1 LBB0_5: mov x0, x22 bl _g_free mov x0, x21 bl _close LBB0_6: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _O_WRONLY,4,2 ; @O_WRONLY .comm _O_TRUNC,4,2 ; @O_TRUNC .comm _O_CREAT,4,2 ; @O_CREAT .comm _G_FILE_ERROR,4,2 ; @G_FILE_ERROR .comm _errno,4,2 ; @errno .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: open(%s) failed: %s" .comm _G_STRLOC,4,2 ; @G_STRLOC l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "%s: write(%s) of %s failed: %s" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_frontend_write_pidfile.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_options_set_cmdline_only_options ## -- Begin function chassis_options_set_cmdline_only_options .p2align 4, 0x90 _chassis_options_set_cmdline_only_options: ## @chassis_options_set_cmdline_only_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 movq %rsi, %r9 movq %rdi, %rbx movq _G_OPTION_ARG_NONE@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str.1(%rip), %r10 leaq L_.str(%rip), %rsi movl $86, %edx xorl %ecx, %ecx xorl %eax, %eax pushq $0 pushq %r10 callq _chassis_options_add addq $16, %rsp movq _G_OPTION_ARG_STRING@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str.4(%rip), %r10 leaq L_.str.3(%rip), %r11 leaq L_.str.2(%rip), %rsi movq %rbx, %rdi xorl %edx, %edx xorl %ecx, %ecx movq %r14, %r9 xorl %eax, %eax pushq %r10 pushq %r11 callq _chassis_options_add addq $16, %rsp xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "version" .comm _G_OPTION_ARG_NONE,4,2 ## @G_OPTION_ARG_NONE L_.str.1: ## @.str.1 .asciz "Show version" L_.str.2: ## @.str.2 .asciz "defaults-file" .comm _G_OPTION_ARG_STRING,4,2 ## @G_OPTION_ARG_STRING L_.str.3: ## @.str.3 .asciz "configuration file" L_.str.4: ## @.str.4 .asciz "<file>" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_options_set_cmdline_only_options ; -- Begin function chassis_options_set_cmdline_only_options .p2align 2 _chassis_options_set_cmdline_only_options: ; @chassis_options_set_cmdline_only_options .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x0 Lloh0: adrp x8, _G_OPTION_ARG_NONE@GOTPAGE Lloh1: ldr x8, [x8, _G_OPTION_ARG_NONE@GOTPAGEOFF] Lloh2: ldr w4, [x8] Lloh3: adrp x9, l_.str.1@PAGE Lloh4: add x9, x9, l_.str.1@PAGEOFF Lloh5: adrp x8, l_.str@PAGE Lloh6: add x8, x8, l_.str@PAGEOFF stp x9, xzr, [sp, #8] str x1, [sp] mov x1, x8 mov w2, #86 mov w3, #0 bl _chassis_options_add Lloh7: adrp x8, _G_OPTION_ARG_STRING@GOTPAGE Lloh8: ldr x8, [x8, _G_OPTION_ARG_STRING@GOTPAGEOFF] Lloh9: ldr w4, [x8] Lloh10: adrp x8, l_.str.4@PAGE Lloh11: add x9, x8, l_.str.4@PAGEOFF Lloh12: adrp x8, l_.str.3@PAGE Lloh13: add x8, x8, l_.str.3@PAGEOFF Lloh14: adrp x1, l_.str.2@PAGE Lloh15: add x1, x1, l_.str.2@PAGEOFF stp x8, x9, [sp, #8] str x19, [sp] mov x0, x20 mov w2, #0 mov w3, #0 bl _chassis_options_add mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdrp Lloh10, Lloh12 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "version" .comm _G_OPTION_ARG_NONE,4,2 ; @G_OPTION_ARG_NONE l_.str.1: ; @.str.1 .asciz "Show version" l_.str.2: ; @.str.2 .asciz "defaults-file" .comm _G_OPTION_ARG_STRING,4,2 ; @G_OPTION_ARG_STRING l_.str.3: ; @.str.3 .asciz "configuration file" l_.str.4: ; @.str.4 .asciz "<file>" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-frontend.c_chassis_options_set_cmdline_only_options.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_keyfile_resolve_path ## -- Begin function chassis_keyfile_resolve_path .p2align 4, 0x90 _chassis_keyfile_resolve_path: ## @chassis_keyfile_resolve_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpq $0, 16(%rsi) je LBB0_9 ## %bb.1: movq %rsi, %r14 movq %rdi, %r15 xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 incq %r12 leaq (%r12,%r12,2), %rax cmpq $0, 16(%r14,%rax,8) je LBB0_9 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 leaq (%r12,%r12,2), %rcx movl (%r14,%rcx,8), %eax movq 8(%r14,%rcx,8), %rsi cmpl $128, %eax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $129, %eax jne LBB0_8 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _chassis_resolve_path jmp LBB0_8 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq (%rsi), %rbx testq %rbx, %rbx je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 cmpq $0, (%rbx) je LBB0_8 .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movq %rbx, %rsi callq _chassis_resolve_path cmpq $0, 8(%rbx) leaq 8(%rbx), %rbx jne LBB0_7 jmp LBB0_8 LBB0_9: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_keyfile_resolve_path ; -- Begin function chassis_keyfile_resolve_path .p2align 2 _chassis_keyfile_resolve_path: ; @chassis_keyfile_resolve_path .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 ldr x8, [x1, #16] cbz x8, LBB0_9 ; %bb.1: mov x19, x1 mov x20, x0 mov x22, #0 mov w23, #24 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x22, x22, #1 madd x8, x22, x23, x19 ldr x8, [x8, #16] cbz x8, LBB0_9 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 madd x9, x22, x23, x19 ldr w8, [x9] ldr x1, [x9, #8] cmp w8, #128 b.eq LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 cmp w8, #129 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _chassis_resolve_path b LBB0_2 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x21, [x1] cbz x21, LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x21] cbz x8, LBB0_2 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x20 mov x1, x21 bl _chassis_resolve_path ldr x8, [x21, #8]! cbnz x8, LBB0_8 b LBB0_2 LBB0_9: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-keyfile.c_chassis_keyfile_resolve_path.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_keyfile_to_options ## -- Begin function chassis_keyfile_to_options .p2align 4, 0x90 _chassis_keyfile_to_options: ## @chassis_keyfile_to_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq $0, -48(%rbp) testq %rdi, %rdi je LBB0_1 ## %bb.2: movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq _g_key_file_has_group movl $0, -52(%rbp) ## 4-byte Folded Spill testl %eax, %eax je LBB0_28 ## %bb.3: movq %r14, -64(%rbp) ## 8-byte Spill movq 16(%rbx), %rdx testq %rdx, %rdx je LBB0_28 ## %bb.4: xorl %r13d, %r13d leaq LJTI0_0(%rip), %r14 movl $0, -52(%rbp) ## 4-byte Folded Spill movq %r15, -88(%rbp) ## 8-byte Spill jmp LBB0_5 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_5 Depth=1 callq _g_error_free movq $0, -48(%rbp) LBB0_27: ## in Loop: Header=BB0_5 Depth=1 incq %r13 leaq (,%r13,2), %rax addq %r13, %rax movq 16(%rbx,%rax,8), %rdx testq %rdx, %rdx je LBB0_28 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_16 Depth 2 movl $0, -68(%rbp) leaq (,%r13,2), %r12 addq %r13, %r12 movl (%rbx,%r12,8), %eax leal -128(%rax), %ecx cmpl $5, %ecx ja LBB0_22 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movslq (%r14,%rcx,4), %rax addq %r14, %rax jmpq *%rax LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx,%r12,8), %rax testq %rax, %rax je LBB0_23 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 cmpq $0, (%rax) jne LBB0_23 ## %bb.13: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi leaq -68(%rbp), %rcx leaq -48(%rbp), %r8 callq _g_key_file_get_string_list movq -48(%rbp), %rdi testq %rdi, %rdi jne LBB0_24 ## %bb.14: ## in Loop: Header=BB0_5 Depth=1 movq %rax, -80(%rbp) ## 8-byte Spill movq (%rax), %rdi testq %rdi, %rdi je LBB0_17 ## %bb.15: ## in Loop: Header=BB0_5 Depth=1 movq -80(%rbp), %r15 ## 8-byte Reload addq $8, %r15 .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 callq _g_strstrip movq %rax, -8(%r15) movq (%r15), %rdi addq $8, %r15 testq %rdi, %rdi jne LBB0_16 LBB0_17: ## in Loop: Header=BB0_5 Depth=1 leaq (%rbx,%r12,8), %rax addq $8, %rax movq (%rax), %rax movq -80(%rbp), %rcx ## 8-byte Reload movq %rcx, (%rax) movq -88(%rbp), %r15 ## 8-byte Reload jmp LBB0_23 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx,%r12,8), %rax testq %rax, %rax je LBB0_23 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 cmpq $0, (%rax) jne LBB0_23 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi leaq -48(%rbp), %rcx callq _g_key_file_get_string movq -48(%rbp), %rdi testq %rdi, %rdi jne LBB0_24 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 leaq (%rbx,%r12,8), %r15 addq $8, %r15 movq %rax, %rdi callq _g_strchomp movq (%r15), %rcx movq -88(%rbp), %r15 ## 8-byte Reload movq %rax, (%rcx) jmp LBB0_23 LBB0_22: ## in Loop: Header=BB0_5 Depth=1 movq _G_STRLOC@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq L_.str(%rip), %rdi movl %eax, %edx callq _g_error jmp LBB0_23 LBB0_18: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi leaq -48(%rbp), %rcx callq _g_key_file_get_boolean jmp LBB0_19 LBB0_21: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi leaq -48(%rbp), %rcx callq _g_key_file_get_integer LBB0_19: ## in Loop: Header=BB0_5 Depth=1 movq -48(%rbp), %rdi testq %rdi, %rdi jne LBB0_24 ## %bb.20: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx,%r12,8), %rcx movl %eax, (%rcx) .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_5 Depth=1 movq -48(%rbp), %rdi testq %rdi, %rdi je LBB0_27 LBB0_24: ## in Loop: Header=BB0_5 Depth=1 movq (%rdi), %rax movq _G_KEY_FILE_ERROR_KEY_NOT_FOUND@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_26 ## %bb.25: ## in Loop: Header=BB0_5 Depth=1 movl 8(%rdi), %esi leaq L_.str.1(%rip), %rdi callq _g_message movl $-1, -52(%rbp) ## 4-byte Folded Spill movq -48(%rbp), %rdi jmp LBB0_26 LBB0_1: movl $-1, -52(%rbp) ## 4-byte Folded Spill LBB0_28: movl -52(%rbp), %eax ## 4-byte Reload addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 LJTI0_0: .long L0_0_set_11 .long L0_0_set_7 .long L0_0_set_18 .long L0_0_set_21 .long L0_0_set_11 .long L0_0_set_7 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: (keyfile) the option %d can't be handled" .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _G_KEY_FILE_ERROR_KEY_NOT_FOUND,8,3 ## @G_KEY_FILE_ERROR_KEY_NOT_FOUND L_.str.1: ## @.str.1 .asciz "%s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_keyfile_to_options ; -- Begin function chassis_keyfile_to_options .p2align 2 _chassis_keyfile_to_options: ; @chassis_keyfile_to_options .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str xzr, [sp, #8] cbz x0, LBB0_27 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 bl _g_key_file_has_group cbz w0, LBB0_28 ; %bb.2: ldr x2, [x19, #16] cbz x2, LBB0_28 ; %bb.3: mov x26, #0 mov w22, #0 mov w27, #24 Lloh0: adrp x28, _G_STRLOC@GOTPAGE Lloh1: ldr x28, [x28, _G_STRLOC@GOTPAGEOFF] Lloh2: adrp x23, lJTI0_0@PAGE Lloh3: add x23, x23, lJTI0_0@PAGEOFF b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 bl _g_error_free str xzr, [sp, #8] LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x26, x26, #1 madd x8, x26, x27, x19 ldr x2, [x8, #16] cbz x2, LBB0_29 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 str wzr, [sp, #4] mul x8, x26, x27 ldr w8, [x19, x8] sub w9, w8, #128 cmp w9, #5 b.hi LBB0_19 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 adr x8, LBB0_8 ldrb w10, [x23, x9] add x8, x8, x10, lsl #2 br x8 LBB0_8: ; in Loop: Header=BB0_6 Depth=1 madd x24, x26, x27, x19 ldr x8, [x24, #8]! cbz x8, LBB0_20 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x8] cbnz x8, LBB0_20 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 add x3, sp, #4 add x4, sp, #8 mov x0, x21 mov x1, x20 bl _g_key_file_get_string_list mov x25, x0 ldr x0, [sp, #8] cbnz x0, LBB0_25 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x25] cbz x0, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 add x28, x25, #8 LBB0_13: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 bl _g_strstrip stur x0, [x28, #-8] ldr x0, [x28], #8 cbnz x0, LBB0_13 LBB0_14: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x24] str x25, [x8] Lloh4: adrp x28, _G_STRLOC@GOTPAGE Lloh5: ldr x28, [x28, _G_STRLOC@GOTPAGEOFF] ldr x0, [sp, #8] cbnz x0, LBB0_25 b LBB0_5 LBB0_15: ; in Loop: Header=BB0_6 Depth=1 madd x24, x26, x27, x19 ldr x8, [x24, #8]! cbz x8, LBB0_20 ; %bb.16: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x8] cbnz x8, LBB0_20 ; %bb.17: ; in Loop: Header=BB0_6 Depth=1 add x3, sp, #8 mov x0, x21 mov x1, x20 bl _g_key_file_get_string mov x1, x0 ldr x0, [sp, #8] cbnz x0, LBB0_25 ; %bb.18: ; in Loop: Header=BB0_6 Depth=1 mov x0, x1 bl _g_strchomp ldr x8, [x24] str x0, [x8] ldr x0, [sp, #8] cbnz x0, LBB0_25 b LBB0_5 LBB0_19: ; in Loop: Header=BB0_6 Depth=1 ldr w1, [x28] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x2, x8 bl _g_error LBB0_20: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [sp, #8] cbnz x0, LBB0_25 b LBB0_5 LBB0_21: ; in Loop: Header=BB0_6 Depth=1 add x3, sp, #8 mov x0, x21 mov x1, x20 bl _g_key_file_get_boolean b LBB0_23 LBB0_22: ; in Loop: Header=BB0_6 Depth=1 add x3, sp, #8 mov x0, x21 mov x1, x20 bl _g_key_file_get_integer LBB0_23: ; in Loop: Header=BB0_6 Depth=1 mov x8, x0 ldr x0, [sp, #8] cbnz x0, LBB0_25 ; %bb.24: ; in Loop: Header=BB0_6 Depth=1 madd x9, x26, x27, x19 ldr x9, [x9, #8] str w8, [x9] ldr x0, [sp, #8] cbz x0, LBB0_5 LBB0_25: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x0] Lloh8: adrp x9, _G_KEY_FILE_ERROR_KEY_NOT_FOUND@GOTPAGE Lloh9: ldr x9, [x9, _G_KEY_FILE_ERROR_KEY_NOT_FOUND@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x8, x9 b.eq LBB0_4 ; %bb.26: ; in Loop: Header=BB0_6 Depth=1 ldr w1, [x0, #8] Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF bl _g_message mov w22, #-1 ldr x0, [sp, #8] b LBB0_4 LBB0_27: mov w22, #-1 b LBB0_29 LBB0_28: mov w22, #0 LBB0_29: mov x0, x22 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_8-LBB0_8)>>2 .byte (LBB0_15-LBB0_8)>>2 .byte (LBB0_21-LBB0_8)>>2 .byte (LBB0_22-LBB0_8)>>2 .byte (LBB0_8-LBB0_8)>>2 .byte (LBB0_15-LBB0_8)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: (keyfile) the option %d can't be handled" .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _G_KEY_FILE_ERROR_KEY_NOT_FOUND,8,3 ; @G_KEY_FILE_ERROR_KEY_NOT_FOUND l_.str.1: ; @.str.1 .asciz "%s" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-keyfile.c_chassis_keyfile_to_options.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_fdlimit_get ## -- Begin function chassis_fdlimit_get .p2align 4, 0x90 _chassis_fdlimit_get: ## @chassis_fdlimit_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq _RLIMIT_NOFILE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -8(%rbp), %rsi callq _getrlimit cmpl $-1, %eax je LBB0_2 ## %bb.1: movl -8(%rbp), %eax LBB0_2: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RLIMIT_NOFILE,4,2 ## @RLIMIT_NOFILE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_fdlimit_get ; -- Begin function chassis_fdlimit_get .p2align 2 _chassis_fdlimit_get: ; @chassis_fdlimit_get .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _RLIMIT_NOFILE@GOTPAGE Lloh1: ldr x8, [x8, _RLIMIT_NOFILE@GOTPAGEOFF] Lloh2: ldr w0, [x8] add x1, sp, #8 bl _getrlimit ldr w8, [sp, #8] cmn w0, #1 csinv w0, w8, wzr, ne ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RLIMIT_NOFILE,4,2 ; @RLIMIT_NOFILE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-limits.c_chassis_fdlimit_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_fdlimit_set ## -- Begin function chassis_fdlimit_set .p2align 4, 0x90 _chassis_fdlimit_set: ## @chassis_fdlimit_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx movq _RLIMIT_NOFILE@GOTPCREL(%rip), %r14 movl (%r14), %edi leaq -24(%rbp), %rsi callq _getrlimit cmpl $-1, %eax je LBB0_1 ## %bb.2: movl -20(%rbp), %eax movl %ebx, -24(%rbp) cmpl %ebx, %eax jge LBB0_4 ## %bb.3: movl %ebx, -20(%rbp) LBB0_4: movl (%r14), %edi leaq -24(%rbp), %rsi callq _setrlimit movl %eax, %ecx xorl %eax, %eax cmpl $-1, %ecx sete %al negl %eax jmp LBB0_5 LBB0_1: movl $-1, %eax LBB0_5: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _RLIMIT_NOFILE,4,2 ## @RLIMIT_NOFILE .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_fdlimit_set ; -- Begin function chassis_fdlimit_set .p2align 2 _chassis_fdlimit_set: ; @chassis_fdlimit_set .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _RLIMIT_NOFILE@GOTPAGE Lloh1: ldr x20, [x20, _RLIMIT_NOFILE@GOTPAGEOFF] ldr w0, [x20] add x1, sp, #8 bl _getrlimit cmn w0, #1 b.eq LBB0_4 ; %bb.1: ldr w8, [sp, #12] str w19, [sp, #8] cmp w8, w19 b.ge LBB0_3 ; %bb.2: str w19, [sp, #12] LBB0_3: ldr w0, [x20] add x1, sp, #8 bl _setrlimit cmn w0, #1 csetm w0, eq LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _RLIMIT_NOFILE,4,2 ; @RLIMIT_NOFILE .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _errno,4,2 ; @errno .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-limits.c_chassis_fdlimit_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_set_fdlimit ## -- Begin function chassis_set_fdlimit .p2align 4, 0x90 _chassis_set_fdlimit: ## @chassis_set_fdlimit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _chassis_fdlimit_set ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_set_fdlimit ; -- Begin function chassis_set_fdlimit .p2align 2 _chassis_set_fdlimit: ; @chassis_set_fdlimit .cfi_startproc ; %bb.0: b _chassis_fdlimit_set .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-limits.c_chassis_set_fdlimit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_logtimestamp_resolution ## -- Begin function chassis_get_logtimestamp_resolution .p2align 4, 0x90 _chassis_get_logtimestamp_resolution: ## @chassis_get_logtimestamp_resolution .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax popq %rbp retq LBB0_1: movl $-1, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_logtimestamp_resolution ; -- Begin function chassis_get_logtimestamp_resolution .p2align 2 _chassis_get_logtimestamp_resolution: ; @chassis_get_logtimestamp_resolution .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: ldr w0, [x0] ret LBB0_2: mov w0, #-1 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_get_logtimestamp_resolution.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_close ## -- Begin function chassis_log_close .p2align 4, 0x90 _chassis_log_close: ## @chassis_log_close .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %edi cmpl $-1, %edi je LBB0_2 ## %bb.1: callq _close movl $-1, (%rbx) LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_close ; -- Begin function chassis_log_close .p2align 2 _chassis_log_close: ; @chassis_log_close .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0] cmn w0, #1 b.eq LBB0_2 ; %bb.1: bl _close mov w8, #-1 str w8, [x19] LBB0_2: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_free ## -- Begin function chassis_log_free .p2align 4, 0x90 _chassis_log_free: ## @chassis_log_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_4 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _chassis_log_close movl 12(%rbx), %edi movq _TRUE@GOTPCREL(%rip), %r14 movl (%r14), %esi callq _g_string_free movl 8(%rbx), %edi movl (%r14), %esi callq _g_string_free movq (%rbx), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _g_free LBB0_3: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _g_free ## TAILCALL LBB0_4: retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_free ; -- Begin function chassis_log_free .p2align 2 _chassis_log_free: ; @chassis_log_free .cfi_startproc ; %bb.0: cbz x0, LBB0_4 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _chassis_log_close ldr w0, [x19, #12] Lloh0: adrp x20, _TRUE@GOTPAGE Lloh1: ldr x20, [x20, _TRUE@GOTPAGEOFF] ldr w1, [x20] bl _g_string_free ldr w0, [x19, #8] ldr w1, [x20] bl _g_string_free ldr x0, [x19] cbz x0, LBB0_3 ; %bb.2: bl _g_free LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free LBB0_4: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_init ## -- Begin function chassis_log_init .p2align 4, 0x90 _chassis_log_init: ## @chassis_log_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _chassis_log_new ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_init ; -- Begin function chassis_log_init .p2align 2 _chassis_log_init: ; @chassis_log_init .cfi_startproc ; %bb.0: b _chassis_log_new .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_open ## -- Begin function chassis_log_open .p2align 4, 0x90 _chassis_log_open: ## @chassis_log_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl 4(%rdi), %edi testl %edi, %edi je LBB0_1 ## %bb.2: movq _O_RDWR@GOTPCREL(%rip), %rax movq _O_CREAT@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl (%rax), %esi movq _O_APPEND@GOTPCREL(%rip), %rax orl (%rax), %esi movl $432, %edx ## imm = 0x1B0 callq _open movl %eax, %ecx movl %eax, (%rbx) xorl %eax, %eax cmpl $-1, %ecx setne %al jmp LBB0_3 LBB0_1: movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .comm _O_RDWR,4,2 ## @O_RDWR .comm _O_CREAT,4,2 ## @O_CREAT .comm _O_APPEND,4,2 ## @O_APPEND .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_open ; -- Begin function chassis_log_open .p2align 2 _chassis_log_open: ; @chassis_log_open .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #4] cbz w0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _O_RDWR@GOTPAGE Lloh1: ldr x8, [x8, _O_RDWR@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _O_CREAT@GOTPAGE Lloh4: ldr x9, [x9, _O_CREAT@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, _O_APPEND@GOTPAGE Lloh7: ldr x9, [x9, _O_APPEND@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w1, w8, w9 mov w2, #432 bl _open str w0, [x19] cmn w0, #1 cset w0, ne b LBB0_3 LBB0_2: Lloh9: adrp x8, _TRUE@GOTPAGE Lloh10: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh11: ldr w0, [x8] LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .comm _O_RDWR,4,2 ; @O_RDWR .comm _O_CREAT,4,2 ; @O_CREAT .comm _O_APPEND,4,2 ; @O_APPEND .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_set_event_log ## -- Begin function chassis_log_set_event_log .p2align 4, 0x90 _chassis_log_set_event_log: ## @chassis_log_set_event_log .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax testq %rdi, %rdi setne %al movl %eax, %edi movl $-1, %esi callq _g_return_val_if_fail movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _G_STRLOC,4,2 ## @G_STRLOC .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_set_event_log ; -- Begin function chassis_log_set_event_log .p2align 2 _chassis_log_set_event_log: ; @chassis_log_set_event_log .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 cmp x0, #0 cset w0, ne mov w1, #-1 bl _g_return_val_if_fail mov w0, #-1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _G_STRLOC,4,2 ; @G_STRLOC .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_set_event_log.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_set_level ## -- Begin function chassis_log_set_level .p2align 4, 0x90 _chassis_log_set_level: ## @chassis_log_set_level .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _log_lvl_map@GOTPCREL(%rip), %r12 movq (%r12), %rax movq 8(%rax), %rdi movl $-1, %r15d testq %rdi, %rdi je LBB0_5 ## %bb.1: movq %rsi, %r13 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r13, %rsi callq _strcmp testq %rax, %rax je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rax movq 24(%rax,%rbx), %rdi addq $16, %rbx testq %rdi, %rdi jne LBB0_2 jmp LBB0_5 LBB0_3: movq (%r12), %rax movl (%rax,%rbx), %eax movl %eax, (%r14) xorl %r15d, %r15d LBB0_5: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _log_lvl_map,8,3 ## @log_lvl_map .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_set_level ; -- Begin function chassis_log_set_level .p2align 2 _chassis_log_set_level: ; @chassis_log_set_level .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x21, _log_lvl_map@GOTPAGE Lloh1: ldr x21, [x21, _log_lvl_map@GOTPAGEOFF] ldr x8, [x21] ldr x0, [x8, #8] cbz x0, LBB0_4 ; %bb.1: mov x20, x1 mov x22, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x1, x20 bl _strcmp cbz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x21] add x8, x8, x22 ldr x0, [x8, #24] add x22, x22, #16 cbnz x0, LBB0_2 LBB0_4: mov w0, #-1 b LBB0_6 LBB0_5: ldr x8, [x21] ldr w8, [x8, x22] str w8, [x19] LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _log_lvl_map,8,3 ; @log_lvl_map .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_set_level.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_set_logrotate ## -- Begin function chassis_log_set_logrotate .p2align 4, 0x90 _chassis_log_set_logrotate: ## @chassis_log_set_logrotate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_log_set_logrotate ; -- Begin function chassis_log_set_logrotate .p2align 2 _chassis_log_set_logrotate: ; @chassis_log_set_logrotate .cfi_startproc ; %bb.0: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_set_logrotate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chassis_log_update_timestamp _chassis_log_update_timestamp: ## @chassis_log_update_timestamp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq 8(%rdi), %rbx leaq -40(%rbp), %rdi callq _g_get_current_time movq -32(%rbp), %rax movq %rax, -24(%rbp) leaq -24(%rbp), %rdi callq _localtime movl (%rbx), %esi movl 4(%rbx), %edi leaq L_.str(%rip), %rdx movq %rax, %rcx callq _strftime movl %eax, 8(%rbx) movq (%r14), %rax movq _CHASSIS_RESOLUTION_MS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movslq -40(%rbp), %rax imulq $274877907, %rax, %rdx ## imm = 0x10624DD3 movq %rdx, %rax shrq $63, %rax sarq $38, %rdx addl %eax, %edx leaq L_.str.1(%rip), %rsi movq %rbx, %rdi ## kill: def $edx killed $edx killed $rdx callq _g_string_append_printf LBB0_2: xorl %eax, %eax addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%Y-%m-%d %H:%M:%S" .comm _CHASSIS_RESOLUTION_MS,8,3 ## @CHASSIS_RESOLUTION_MS L_.str.1: ## @.str.1 .asciz ".%.3d" .no_dead_strip _chassis_log_update_timestamp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chassis_log_update_timestamp _chassis_log_update_timestamp: ; @chassis_log_update_timestamp .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr x19, [x0, #8] add x0, sp, #16 bl _g_get_current_time ldr x8, [sp, #24] str x8, [sp, #8] add x0, sp, #8 bl _localtime mov x3, x0 ldp w1, w0, [x19] Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF bl _strftime str w0, [x19, #8] ldr x8, [x20] Lloh2: adrp x9, _CHASSIS_RESOLUTION_MS@GOTPAGE Lloh3: ldr x9, [x9, _CHASSIS_RESOLUTION_MS@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldrsw x8, [sp, #16] mov w9, #19923 movk w9, #4194, lsl #16 mul x8, x8, x9 lsr x9, x8, #63 asr x8, x8, #38 add w2, w8, w9 Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _g_string_append_printf LBB0_2: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%Y-%m-%d %H:%M:%S" .comm _CHASSIS_RESOLUTION_MS,8,3 ; @CHASSIS_RESOLUTION_MS l_.str.1: ; @.str.1 .asciz ".%.3d" .no_dead_strip _chassis_log_update_timestamp .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_update_timestamp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chassis_log_write _chassis_log_write: ## @chassis_log_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl (%rdi), %ebx cmpl $-1, %ebx je LBB0_2 ## %bb.1: movq %rdi, %r15 movq %r14, %rdi callq _S movslq %eax, %rsi movl %ebx, %edi xorl %eax, %eax callq _write cmpl $-1, %eax jne LBB0_3 LBB0_2: movq _STDERR_FILENO@GOTPCREL(%rip), %r15 movl (%r15), %ebx movq %r14, %rdi callq _S movslq %eax, %rsi movl %ebx, %edi xorl %eax, %eax callq _write LBB0_3: movl (%r15), %edi leaq L_.str(%rip), %rsi movl $1, %edx xorl %eax, %eax callq _write xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _STDERR_FILENO,4,2 ## @STDERR_FILENO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .comm _G_LOG_ERROR_POSITION,4,2 ## @G_LOG_ERROR_POSITION .comm _G_LOG_LEVEL_MASK,4,2 ## @G_LOG_LEVEL_MASK .comm _log_lvl_map,8,3 ## @log_lvl_map .no_dead_strip _chassis_log_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chassis_log_write _chassis_log_write: ; @chassis_log_write .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 ldr w21, [x0] cmn w21, #1 b.eq LBB0_2 ; %bb.1: mov x19, x0 mov x0, x20 bl _S ; kill: def $w0 killed $w0 def $x0 sxtw x1, w0 mov x0, x21 bl _write cmn w0, #1 b.ne LBB0_3 LBB0_2: Lloh0: adrp x19, _STDERR_FILENO@GOTPAGE Lloh1: ldr x19, [x19, _STDERR_FILENO@GOTPAGEOFF] ldr w21, [x19] mov x0, x20 bl _S ; kill: def $w0 killed $w0 def $x0 sxtw x1, w0 mov x0, x21 bl _write LBB0_3: ldr w0, [x19] mov w8, #1 str x8, [sp] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _write mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _STDERR_FILENO,4,2 ; @STDERR_FILENO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .comm _G_LOG_ERROR_POSITION,4,2 ; @G_LOG_ERROR_POSITION .comm _G_LOG_LEVEL_MASK,4,2 ; @G_LOG_LEVEL_MASK .comm _log_lvl_map,8,3 ; @log_lvl_map .no_dead_strip _chassis_log_write .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_log_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_set_logtimestamp_resolution ## -- Begin function chassis_set_logtimestamp_resolution .p2align 4, 0x90 _chassis_set_logtimestamp_resolution: ## @chassis_set_logtimestamp_resolution .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdi, %rdi je LBB0_4 ## %bb.1: movq _CHASSIS_RESOLUTION_SEC@GOTPCREL(%rip), %rax cmpl %esi, (%rax) je LBB0_3 ## %bb.2: movq _CHASSIS_RESOLUTION_MS@GOTPCREL(%rip), %rax cmpl %esi, (%rax) je LBB0_3 LBB0_4: popq %rbp retq LBB0_3: movl %esi, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _CHASSIS_RESOLUTION_SEC,4,2 ## @CHASSIS_RESOLUTION_SEC .comm _CHASSIS_RESOLUTION_MS,4,2 ## @CHASSIS_RESOLUTION_MS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_set_logtimestamp_resolution ; -- Begin function chassis_set_logtimestamp_resolution .p2align 2 _chassis_set_logtimestamp_resolution: ; @chassis_set_logtimestamp_resolution .cfi_startproc ; %bb.0: cbz x0, LBB0_3 ; %bb.1: Lloh0: adrp x8, _CHASSIS_RESOLUTION_SEC@GOTPAGE Lloh1: ldr x8, [x8, _CHASSIS_RESOLUTION_SEC@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _CHASSIS_RESOLUTION_MS@GOTPAGE Lloh4: ldr x9, [x9, _CHASSIS_RESOLUTION_MS@GOTPAGEOFF] Lloh5: ldr w9, [x9] cmp w8, w1 ccmp w9, w1, #4, ne b.ne LBB0_3 ; %bb.2: str w1, [x0] LBB0_3: ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CHASSIS_RESOLUTION_SEC,4,2 ; @CHASSIS_RESOLUTION_SEC .comm _CHASSIS_RESOLUTION_MS,4,2 ; @CHASSIS_RESOLUTION_MS .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-log.c_chassis_set_logtimestamp_resolution.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_check_version ## -- Begin function chassis_check_version .p2align 4, 0x90 _chassis_check_version: ## @chassis_check_version .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx leaq L_.str(%rip), %rsi leaq -40(%rbp), %rdx leaq -36(%rbp), %rcx leaq -32(%rbp), %r8 callq _sscanf cmpl $3, %eax jne LBB0_1 ## %bb.3: leaq L_.str(%rip), %rsi leaq -28(%rbp), %rdx leaq -24(%rbp), %rcx leaq -20(%rbp), %r8 movq %r14, %rdi callq _sscanf cmpl $3, %eax jne LBB0_4 ## %bb.5: movl -40(%rbp), %eax cmpl -28(%rbp), %eax jne LBB0_8 ## %bb.6: movl -36(%rbp), %eax cmpl -24(%rbp), %eax jne LBB0_8 ## %bb.7: movl -32(%rbp), %ecx xorl %eax, %eax cmpl -20(%rbp), %ecx jl LBB0_8 jmp LBB0_9 LBB0_1: movq _G_STRLOC@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq L_.str.1(%rip), %rdi movq %rbx, %rdx jmp LBB0_2 LBB0_4: movq _G_STRLOC@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq L_.str.2(%rip), %rdi movq %r14, %rdx LBB0_2: movl %eax, %ecx callq _g_critical LBB0_8: movl $-1, %eax LBB0_9: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d.%d.%d%*s" L_.str.1: ## @.str.1 .asciz "%s: library version %s failed to parse: %d" .comm _G_STRLOC,4,2 ## @G_STRLOC L_.str.2: ## @.str.2 .asciz "%s: header version %s failed to parse: %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_check_version ; -- Begin function chassis_check_version .p2align 2 _chassis_check_version: ; @chassis_check_version .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF sub x2, x29, #20 add x3, sp, #24 add x4, sp, #20 bl _sscanf cmp w0, #3 b.ne LBB0_6 ; %bb.1: Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF add x2, sp, #16 add x3, sp, #12 add x4, sp, #8 mov x0, x19 bl _sscanf cmp w0, #3 b.ne LBB0_7 ; %bb.2: ldur w8, [x29, #-20] ldr w9, [sp, #16] cmp w8, w9 b.ne LBB0_9 ; %bb.3: ldr w8, [sp, #24] ldr w9, [sp, #12] cmp w8, w9 b.ne LBB0_9 ; %bb.4: ldr w8, [sp, #20] ldr w9, [sp, #8] cmp w8, w9 b.lt LBB0_9 ; %bb.5: mov w0, #0 b LBB0_10 LBB0_6: mov x3, x0 Lloh4: adrp x8, _G_STRLOC@GOTPAGE Lloh5: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh6: ldr w1, [x8] Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF mov x2, x20 b LBB0_8 LBB0_7: mov x3, x0 Lloh9: adrp x8, _G_STRLOC@GOTPAGE Lloh10: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh11: ldr w1, [x8] Lloh12: adrp x0, l_.str.2@PAGE Lloh13: add x0, x0, l_.str.2@PAGEOFF mov x2, x19 LBB0_8: bl _g_critical LBB0_9: mov w0, #-1 LBB0_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d.%d.%d%*s" l_.str.1: ; @.str.1 .asciz "%s: library version %s failed to parse: %d" .comm _G_STRLOC,4,2 ; @G_STRLOC l_.str.2: ; @.str.2 .asciz "%s: header version %s failed to parse: %d" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-mainloop.c_chassis_check_version.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_free ## -- Begin function chassis_free .p2align 4, 0x90 _chassis_free: ## @chassis_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_23 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq 80(%rdi), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.2: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %rax movq (%rax,%rbx,8), %r15 movq 8(%r15), %rdi callq _g_assert movl (%r15), %edi callq *8(%r15) incq %rbx movq 80(%r14), %rax cmpq (%rax), %rbx jb LBB0_3 LBB0_4: movl 8(%r14), %edi callq _chassis_shutdown_hooks_call movq 80(%r14), %rdi cmpq $0, (%rdi) je LBB0_7 ## %bb.5: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rax movq (%rax,%rbx,8), %rdi callq _chassis_plugin_free incq %rbx movq 80(%r14), %rdi cmpq (%rdi), %rbx jb LBB0_6 LBB0_7: movq _TRUE@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _g_ptr_array_free movq 72(%r14), %rdi testq %rdi, %rdi je LBB0_9 ## %bb.8: callq _g_free LBB0_9: movq 64(%r14), %rdi testq %rdi, %rdi je LBB0_11 ## %bb.10: callq _g_free LBB0_11: movq 56(%r14), %rdi testq %rdi, %rdi je LBB0_13 ## %bb.12: callq _g_free LBB0_13: movq 48(%r14), %rdi testq %rdi, %rdi je LBB0_15 ## %bb.14: callq _chassis_stats_free LBB0_15: xorl %edi, %edi callq _chassis_timestamps_global_free movq 40(%r14), %r12 testq %r12, %r12 je LBB0_20 ## %bb.16: cmpq $0, (%r12) je LBB0_19 ## %bb.17: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_18: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rax movq (%rax,%rbx,8), %rdi callq _chassis_event_thread_free incq %rbx cmpq (%r12), %rbx jb LBB0_18 LBB0_19: movl (%r15), %esi movq %r12, %rdi callq _g_ptr_array_free LBB0_20: movq 32(%r14), %rdi testq %rdi, %rdi je LBB0_22 ## %bb.21: callq _g_free LBB0_22: movq 16(%r14), %rdi callq _g_free movl 8(%r14), %edi callq _chassis_shutdown_hooks_free movl 4(%r14), %edi callq _lua_scope_free movl (%r14), %edi callq _network_backends_free movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _g_free ## TAILCALL LBB0_23: retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_free ; -- Begin function chassis_free .p2align 2 _chassis_free: ; @chassis_free .cfi_startproc ; %bb.0: cbz x0, LBB0_23 ; %bb.1: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x8, [x0, #80] ldr x9, [x8] cbz x9, LBB0_4 ; %bb.2: mov x20, #0 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #8] ldr x21, [x8, x20, lsl #3] ldr x0, [x21, #8] bl _g_assert ldr x8, [x21, #8] ldr w0, [x21] blr x8 add x20, x20, #1 ldr x8, [x19, #80] ldr x9, [x8] cmp x20, x9 b.lo LBB0_3 LBB0_4: ldr w0, [x19, #8] bl _chassis_shutdown_hooks_call ldr x0, [x19, #80] ldr x8, [x0] cbz x8, LBB0_7 ; %bb.5: mov x20, #0 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x0, #8] ldr x0, [x8, x20, lsl #3] bl _chassis_plugin_free add x20, x20, #1 ldr x0, [x19, #80] ldr x8, [x0] cmp x20, x8 b.lo LBB0_6 LBB0_7: Lloh0: adrp x21, _TRUE@GOTPAGE Lloh1: ldr x21, [x21, _TRUE@GOTPAGEOFF] ldr w1, [x21] bl _g_ptr_array_free ldr x0, [x19, #72] cbz x0, LBB0_9 ; %bb.8: bl _g_free LBB0_9: ldr x0, [x19, #64] cbz x0, LBB0_11 ; %bb.10: bl _g_free LBB0_11: ldr x0, [x19, #56] cbz x0, LBB0_13 ; %bb.12: bl _g_free LBB0_13: ldr x0, [x19, #48] cbz x0, LBB0_15 ; %bb.14: bl _chassis_stats_free LBB0_15: mov x0, #0 bl _chassis_timestamps_global_free ldr x20, [x19, #40] cbz x20, LBB0_20 ; %bb.16: ldr x8, [x20] cbz x8, LBB0_19 ; %bb.17: mov x22, #0 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr x0, [x8, x22, lsl #3] bl _chassis_event_thread_free add x22, x22, #1 ldr x8, [x20] cmp x22, x8 b.lo LBB0_18 LBB0_19: ldr w1, [x21] mov x0, x20 bl _g_ptr_array_free LBB0_20: ldr x0, [x19, #32] cbz x0, LBB0_22 ; %bb.21: bl _g_free LBB0_22: ldr x0, [x19, #16] bl _g_free ldr w0, [x19, #8] bl _chassis_shutdown_hooks_free ldr w0, [x19, #4] bl _lua_scope_free ldr w0, [x19] bl _network_backends_free mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _g_free LBB0_23: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 .cfi_same_value w21 .cfi_same_value w22 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-mainloop.c_chassis_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_is_shutdown ## -- Begin function chassis_is_shutdown .p2align 4, 0x90 _chassis_is_shutdown: ## @chassis_is_shutdown .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _signal_shutdown@GOTPCREL(%rip), %rcx xorl %eax, %eax cmpl $1, (%rcx) sete %al popq %rbp retq .cfi_endproc ## -- End function .comm _signal_shutdown,4,2 ## @signal_shutdown .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_is_shutdown ; -- Begin function chassis_is_shutdown .p2align 2 _chassis_is_shutdown: ; @chassis_is_shutdown .cfi_startproc ; %bb.0: Lloh0: adrp x8, _signal_shutdown@GOTPAGE Lloh1: ldr x8, [x8, _signal_shutdown@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, #1 cset w0, eq ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _signal_shutdown,4,2 ; @signal_shutdown .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-mainloop.c_chassis_is_shutdown.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_set_shutdown_location ## -- Begin function chassis_set_shutdown_location .p2align 4, 0x90 _chassis_set_shutdown_location: ## @chassis_set_shutdown_location .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _signal_shutdown@GOTPCREL(%rip), %rbx cmpl $0, (%rbx) jne LBB0_2 ## %bb.1: testq %rdi, %rdi leaq L_.str.1(%rip), %rsi cmovneq %rdi, %rsi leaq L_.str(%rip), %rdi callq _g_message LBB0_2: movl $1, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _signal_shutdown,4,2 ## @signal_shutdown .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Initiating shutdown, requested from %s" L_.str.1: ## @.str.1 .asciz "signal handler" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_set_shutdown_location ; -- Begin function chassis_set_shutdown_location .p2align 2 _chassis_set_shutdown_location: ; @chassis_set_shutdown_location .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _signal_shutdown@GOTPAGE Lloh1: ldr x19, [x19, _signal_shutdown@GOTPAGEOFF] ldr w8, [x19] cbnz w8, LBB0_2 ; %bb.1: Lloh2: adrp x8, l_.str.1@PAGE Lloh3: add x8, x8, l_.str.1@PAGEOFF cmp x0, #0 csel x1, x8, x0, eq Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _g_message LBB0_2: mov w8, #1 str w8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _signal_shutdown,4,2 ; @signal_shutdown .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Initiating shutdown, requested from %s" l_.str.1: ; @.str.1 .asciz "signal handler" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-mainloop.c_chassis_set_shutdown_location.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function event_log_use_glib _event_log_use_glib: ## @event_log_use_glib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rcx movq _G_LOG_LEVEL_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi movq __EVENT_LOG_DEBUG@GOTPCREL(%rip), %rax cmpl %edi, (%rax) je LBB0_8 ## %bb.1: movq __EVENT_LOG_MSG@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jne LBB0_3 ## %bb.2: movq _G_LOG_LEVEL_MESSAGE@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_3: movq __EVENT_LOG_WARN@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jne LBB0_5 ## %bb.4: movq _G_LOG_LEVEL_WARNING@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_5: movq __EVENT_LOG_ERR@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jne LBB0_8 ## %bb.6: movq _G_LOG_LEVEL_CRITICAL@GOTPCREL(%rip), %rax LBB0_7: movl (%rax), %esi LBB0_8: movq __EVENT_LOG_ERR@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jne LBB0_9 ## %bb.10: movq _G_LOG_DOMAIN@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rdx popq %rbp jmp _g_log ## TAILCALL LBB0_9: popq %rbp retq .cfi_endproc ## -- End function .comm _G_LOG_LEVEL_DEBUG,4,2 ## @G_LOG_LEVEL_DEBUG .comm __EVENT_LOG_DEBUG,4,2 ## @_EVENT_LOG_DEBUG .comm __EVENT_LOG_MSG,4,2 ## @_EVENT_LOG_MSG .comm _G_LOG_LEVEL_MESSAGE,4,2 ## @G_LOG_LEVEL_MESSAGE .comm __EVENT_LOG_WARN,4,2 ## @_EVENT_LOG_WARN .comm _G_LOG_LEVEL_WARNING,4,2 ## @G_LOG_LEVEL_WARNING .comm __EVENT_LOG_ERR,4,2 ## @_EVENT_LOG_ERR .comm _G_LOG_LEVEL_CRITICAL,4,2 ## @G_LOG_LEVEL_CRITICAL .comm _G_LOG_DOMAIN,4,2 ## @G_LOG_DOMAIN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(libevent) %s" .no_dead_strip _event_log_use_glib .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function event_log_use_glib _event_log_use_glib: ; @event_log_use_glib .cfi_startproc ; %bb.0: mov x3, x1 Lloh0: adrp x8, _G_LOG_LEVEL_DEBUG@GOTPAGE Lloh1: ldr x8, [x8, _G_LOG_LEVEL_DEBUG@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, __EVENT_LOG_DEBUG@GOTPAGE Lloh4: ldr x8, [x8, __EVENT_LOG_DEBUG@GOTPAGEOFF] Lloh5: ldr w9, [x8] Lloh6: adrp x8, __EVENT_LOG_ERR@GOTPAGE Lloh7: ldr x8, [x8, __EVENT_LOG_ERR@GOTPAGEOFF] cmp w9, w0 b.eq LBB0_6 ; %bb.1: Lloh8: adrp x9, __EVENT_LOG_MSG@GOTPAGE Lloh9: ldr x9, [x9, __EVENT_LOG_MSG@GOTPAGEOFF] Lloh10: ldr w9, [x9] cmp w9, w0 b.ne LBB0_3 ; %bb.2: Lloh11: adrp x9, _G_LOG_LEVEL_MESSAGE@GOTPAGE Lloh12: ldr x9, [x9, _G_LOG_LEVEL_MESSAGE@GOTPAGEOFF] Lloh13: ldr w1, [x9] b LBB0_6 LBB0_3: Lloh14: adrp x9, __EVENT_LOG_WARN@GOTPAGE Lloh15: ldr x9, [x9, __EVENT_LOG_WARN@GOTPAGEOFF] Lloh16: ldr w9, [x9] cmp w9, w0 b.ne LBB0_5 ; %bb.4: Lloh17: adrp x9, _G_LOG_LEVEL_WARNING@GOTPAGE Lloh18: ldr x9, [x9, _G_LOG_LEVEL_WARNING@GOTPAGEOFF] Lloh19: ldr w1, [x9] b LBB0_6 LBB0_5: ldr w9, [x8] Lloh20: adrp x10, _G_LOG_LEVEL_CRITICAL@GOTPAGE Lloh21: ldr x10, [x10, _G_LOG_LEVEL_CRITICAL@GOTPAGEOFF] Lloh22: ldr w10, [x10] cmp w9, w0 csel w1, w10, w1, eq LBB0_6: ldr w8, [x8] cmp w8, w0 b.ne LBB0_8 ; %bb.7: Lloh23: adrp x8, _G_LOG_DOMAIN@GOTPAGE Lloh24: ldr x8, [x8, _G_LOG_DOMAIN@GOTPAGEOFF] Lloh25: ldr w0, [x8] Lloh26: adrp x2, l_.str@PAGE Lloh27: add x2, x2, l_.str@PAGEOFF b _g_log LBB0_8: ret .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _G_LOG_LEVEL_DEBUG,4,2 ; @G_LOG_LEVEL_DEBUG .comm __EVENT_LOG_DEBUG,4,2 ; @_EVENT_LOG_DEBUG .comm __EVENT_LOG_MSG,4,2 ; @_EVENT_LOG_MSG .comm _G_LOG_LEVEL_MESSAGE,4,2 ; @G_LOG_LEVEL_MESSAGE .comm __EVENT_LOG_WARN,4,2 ; @_EVENT_LOG_WARN .comm _G_LOG_LEVEL_WARNING,4,2 ; @G_LOG_LEVEL_WARNING .comm __EVENT_LOG_ERR,4,2 ; @_EVENT_LOG_ERR .comm _G_LOG_LEVEL_CRITICAL,4,2 ; @G_LOG_LEVEL_CRITICAL .comm _G_LOG_DOMAIN,4,2 ; @G_LOG_DOMAIN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "(libevent) %s" .no_dead_strip _event_log_use_glib .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-mainloop.c_event_log_use_glib.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_option_set ## -- Begin function chassis_option_set .p2align 4, 0x90 _chassis_option_set: ## @chassis_option_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r14d movl %r8d, %r15d movl %ecx, %r12d movl %edx, %r13d movq %rdi, %rbx movq %rsi, %rdi callq _g_strdup movq %rax, 32(%rbx) movl %r13d, 28(%rbx) movl %r12d, 24(%rbx) movl %r15d, 20(%rbx) movl %r14d, 16(%rbx) movq 16(%rbp), %rdi callq _g_strdup movq %rax, 8(%rbx) movq 24(%rbp), %rdi callq _g_strdup movq %rax, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_option_set ; -- Begin function chassis_option_set .p2align 2 _chassis_option_set: ; @chassis_option_set .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x7 mov x20, x6 mov x21, x5 mov x22, x4 mov x23, x3 mov x24, x2 mov x25, x0 mov x0, x1 bl _g_strdup str x0, [x25, #32] stp w23, w24, [x25, #24] stp w21, w22, [x25, #16] mov x0, x20 bl _g_strdup str x0, [x25, #8] mov x0, x19 bl _g_strdup str x0, [x25] mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-options.c_chassis_option_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_options_add ## -- Begin function chassis_options_add .p2align 4, 0x90 _chassis_options_add: ## @chassis_options_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -48(%rbp) ## 4-byte Spill movl %r8d, -44(%rbp) ## 4-byte Spill movl %ecx, %r15d movl %edx, %r12d movq %rsi, %r13 movq %rdi, -56(%rbp) ## 8-byte Spill xorl %r14d, %r14d xorl %eax, %eax callq _chassis_option_new movq %rax, %rbx movaps 16(%rbp), %xmm0 movups %xmm0, (%rsp) movq %rax, %rdi movq %r13, %rsi movl %r12d, %edx movl %r15d, %ecx movl -44(%rbp), %r8d ## 4-byte Reload movl -48(%rbp), %r9d ## 4-byte Reload callq _chassis_option_set testq %rax, %rax jne LBB0_2 ## %bb.1: movq -56(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _chassis_options_add_option testq %rax, %rax je LBB0_3 LBB0_2: movq %rbx, %rdi callq _chassis_option_free movl $-1, %r14d LBB0_3: movl %r14d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_options_add ; -- Begin function chassis_options_add .p2align 2 _chassis_options_add: ; @chassis_options_add .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x7 mov x22, x6 mov x23, x5 mov x24, x4 mov x25, x3 mov x26, x2 mov x27, x1 mov x20, x0 bl _chassis_option_new mov x19, x0 mov x1, x27 mov x2, x26 mov x3, x25 mov x4, x24 mov x5, x23 mov x6, x22 mov x7, x21 bl _chassis_option_set cbnz x0, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x19 bl _chassis_options_add_option cbz x0, LBB0_3 LBB0_2: mov x0, x19 bl _chassis_option_free mov w0, #-1 LBB0_3: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-options.c_chassis_options_add.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_options_add_option ## -- Begin function chassis_options_add_option .p2align 4, 0x90 _chassis_options_add_option: ## @chassis_options_add_option .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %edi callq _g_list_append movl %eax, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_options_add_option ; -- Begin function chassis_options_add_option .p2align 2 _chassis_options_add_option: ; @chassis_options_add_option .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0] bl _g_list_append str w0, [x19] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-options.c_chassis_options_add_option.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_for_name ## -- Begin function chassis_plugin_for_name .p2align 4, 0x90 _chassis_plugin_for_name: ## @chassis_plugin_for_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r12d, %r12d testq %rdi, %rdi je LBB0_8 ## %bb.1: movq %rsi, %r14 testq %rsi, %rsi je LBB0_8 ## %bb.2: movq %rdi, %r15 movq (%rdi), %rax cmpq $0, (%rax) je LBB0_7 ## %bb.3: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %rax movq (%rax,%rbx,8), %r12 movl (%r12), %edi movq %r14, %rsi callq _strcmp testl %eax, %eax je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 incq %rbx movq (%r15), %rax cmpq (%rax), %rbx jb LBB0_4 LBB0_7: xorl %r12d, %r12d LBB0_8: movq %r12, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_for_name ; -- Begin function chassis_plugin_for_name .p2align 2 _chassis_plugin_for_name: ; @chassis_plugin_for_name .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, #0 cbz x0, LBB0_7 ; %bb.1: mov x19, x1 cbz x1, LBB0_7 ; %bb.2: mov x20, x0 ldr x8, [x0] ldr x9, [x8] cbz x9, LBB0_6 ; %bb.3: mov x22, #0 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #8] ldr x21, [x8, x22, lsl #3] ldr w0, [x21] mov x1, x19 bl _strcmp cbz w0, LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x22, x22, #1 ldr x8, [x20] ldr x9, [x8] cmp x22, x9 b.lo LBB0_4 LBB0_6: mov x21, #0 LBB0_7: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-plugin.c_chassis_plugin_for_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_free ## -- Begin function chassis_plugin_free .p2align 4, 0x90 _chassis_plugin_free: ## @chassis_plugin_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 24(%rdi), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _g_free LBB0_2: movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq _g_free LBB0_4: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: callq _g_module_close LBB0_6: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.7: callq _g_free LBB0_8: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_free ; -- Begin function chassis_plugin_free .p2align 2 _chassis_plugin_free: ; @chassis_plugin_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #24] cbz x0, LBB0_2 ; %bb.1: bl _g_free LBB0_2: ldr x0, [x19, #16] cbz x0, LBB0_4 ; %bb.3: bl _g_free LBB0_4: ldr x0, [x19, #8] cbz x0, LBB0_6 ; %bb.5: bl _g_module_close LBB0_6: ldr x0, [x19] cbz x0, LBB0_8 ; %bb.7: bl _g_free LBB0_8: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-plugin.c_chassis_plugin_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_get_options ## -- Begin function chassis_plugin_get_options .p2align 4, 0x90 _chassis_plugin_get_options: ## @chassis_plugin_get_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq 8(%rdi), %rax testq %rax, %rax je LBB0_3 ## %bb.1: movq %rdi, %rbx movl 4(%rdi), %edi callq *%rax testq %rax, %rax jne LBB0_4 ## %bb.2: movl (%rbx), %esi leaq L_.str(%rip), %rdi callq _g_critical LBB0_3: xorl %eax, %eax LBB0_4: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "adding config options for module '%s' failed" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_get_options ; -- Begin function chassis_plugin_get_options .p2align 2 _chassis_plugin_get_options: ; @chassis_plugin_get_options .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #8] cbz x8, LBB0_3 ; %bb.1: mov x19, x0 ldr w0, [x0, #4] blr x8 cbnz x0, LBB0_4 ; %bb.2: ldr w1, [x19] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _g_critical LBB0_3: mov x0, #0 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "adding config options for module '%s' failed" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-plugin.c_chassis_plugin_get_options.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_init ## -- Begin function chassis_plugin_init .p2align 4, 0x90 _chassis_plugin_init: ## @chassis_plugin_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _chassis_plugin_new ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_init ; -- Begin function chassis_plugin_init .p2align 2 _chassis_plugin_init: ; @chassis_plugin_init .cfi_startproc ; %bb.0: b _chassis_plugin_new .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-plugin.c_chassis_plugin_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_load ## -- Begin function chassis_plugin_load .p2align 4, 0x90 _chassis_plugin_load: ## @chassis_plugin_load .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %eax, %eax callq _chassis_plugin_new movq %rax, %rbx movq _G_MODULE_BIND_LOCAL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _g_module_open movl %eax, 44(%rbx) testl %eax, %eax je LBB0_1 ## %bb.3: leaq -24(%rbp), %rdx leaq L_.str.1(%rip), %rsi movl %eax, %edi ## kill: def $edx killed $edx killed $rdx callq _g_module_symbol testl %eax, %eax je LBB0_4 ## %bb.5: movq %rbx, %rdi callq *-24(%rbp) testl %eax, %eax je LBB0_9 ## %bb.6: leaq L_.str.3(%rip), %rdi LBB0_7: movq %r14, %rsi xorl %eax, %eax callq _g_critical jmp LBB0_8 LBB0_1: xorl %eax, %eax callq _g_module_error leaq L_.str(%rip), %rdi jmp LBB0_2 LBB0_4: xorl %eax, %eax callq _g_module_error leaq L_.str.2(%rip), %rdi LBB0_2: movq %r14, %rsi movl %eax, %edx xorl %eax, %eax callq _g_critical LBB0_8: movq %rbx, %rdi callq _chassis_plugin_free xorl %ebx, %ebx LBB0_19: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_9: movq (%rbx), %rdx movq _CHASSIS_PLUGIN_MAGIC@GOTPCREL(%rip), %rax movq (%rax), %rcx cmpq %rcx, %rdx jne LBB0_10 ## %bb.11: movq 32(%rbx), %rcx testq %rcx, %rcx je LBB0_13 ## %bb.12: xorl %eax, %eax callq *%rcx movl %eax, 40(%rbx) LBB0_13: cmpq $0, 24(%rbx) jne LBB0_15 ## %bb.14: movq %r14, %rdi callq _g_strdup movq %rax, 24(%rbx) LBB0_15: cmpl $0, 20(%rbx) je LBB0_16 ## %bb.17: movq 8(%rbx), %rcx testq %rcx, %rcx je LBB0_19 ## %bb.18: xorl %eax, %eax callq *%rcx movl %eax, 16(%rbx) jmp LBB0_19 LBB0_10: leaq L_.str.4(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _g_critical jmp LBB0_8 LBB0_16: leaq L_.str.5(%rip), %rdi jmp LBB0_7 .cfi_endproc ## -- End function .comm _G_MODULE_BIND_LOCAL,4,2 ## @G_MODULE_BIND_LOCAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "loading module '%s' failed: %s" L_.str.1: ## @.str.1 .asciz "plugin_init" L_.str.2: ## @.str.2 .asciz "module '%s' doesn't have a init-function: %s" L_.str.3: ## @.str.3 .asciz "init-function for module '%s' failed" .comm _CHASSIS_PLUGIN_MAGIC,8,3 ## @CHASSIS_PLUGIN_MAGIC L_.str.4: ## @.str.4 .asciz "plugin '%s' doesn't match the current plugin interface (plugin is %lx, chassis is %lx)" L_.str.5: ## @.str.5 .asciz "plugin '%s' doesn't set a version number, refusing to load this plugin" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_plugin_load ; -- Begin function chassis_plugin_load .p2align 2 _chassis_plugin_load: ; @chassis_plugin_load .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _chassis_plugin_new mov x19, x0 Lloh0: adrp x8, _G_MODULE_BIND_LOCAL@GOTPAGE Lloh1: ldr x8, [x8, _G_MODULE_BIND_LOCAL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 bl _g_module_open str w0, [x19, #44] cbz w0, LBB0_4 ; %bb.1: Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF add x2, sp, #24 bl _g_module_symbol cbz w0, LBB0_5 ; %bb.2: ldr x8, [sp, #24] mov x0, x19 blr x8 cbz w0, LBB0_6 ; %bb.3: Lloh5: adrp x0, l_.str.3@PAGE Lloh6: add x0, x0, l_.str.3@PAGEOFF b LBB0_16 LBB0_4: bl _g_module_error ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh7: adrp x0, l_.str@PAGE Lloh8: add x0, x0, l_.str@PAGEOFF b LBB0_16 LBB0_5: bl _g_module_error ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh9: adrp x0, l_.str.2@PAGE Lloh10: add x0, x0, l_.str.2@PAGEOFF b LBB0_16 LBB0_6: ldr x8, [x19] Lloh11: adrp x9, _CHASSIS_PLUGIN_MAGIC@GOTPAGE Lloh12: ldr x9, [x9, _CHASSIS_PLUGIN_MAGIC@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x8, x9 b.ne LBB0_14 ; %bb.7: ldr x8, [x19, #32] cbz x8, LBB0_9 ; %bb.8: blr x8 str w0, [x19, #40] LBB0_9: ldr x8, [x19, #24] cbnz x8, LBB0_11 ; %bb.10: mov x0, x20 bl _g_strdup str x0, [x19, #24] LBB0_11: ldr w8, [x19, #20] cbz w8, LBB0_15 ; %bb.12: ldr x8, [x19, #8] cbz x8, LBB0_17 ; %bb.13: blr x8 str w0, [x19, #16] b LBB0_17 LBB0_14: stp x8, x9, [sp] Lloh14: adrp x0, l_.str.4@PAGE Lloh15: add x0, x0, l_.str.4@PAGEOFF b LBB0_16 LBB0_15: Lloh16: adrp x0, l_.str.5@PAGE Lloh17: add x0, x0, l_.str.5@PAGEOFF LBB0_16: mov x1, x20 bl _g_critical mov x0, x19 bl _chassis_plugin_free mov x19, #0 LBB0_17: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _G_MODULE_BIND_LOCAL,4,2 ; @G_MODULE_BIND_LOCAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "loading module '%s' failed: %s" l_.str.1: ; @.str.1 .asciz "plugin_init" l_.str.2: ; @.str.2 .asciz "module '%s' doesn't have a init-function: %s" l_.str.3: ; @.str.3 .asciz "init-function for module '%s' failed" .comm _CHASSIS_PLUGIN_MAGIC,8,3 ; @CHASSIS_PLUGIN_MAGIC l_.str.4: ; @.str.4 .asciz "plugin '%s' doesn't match the current plugin interface (plugin is %lx, chassis is %lx)" l_.str.5: ; @.str.5 .asciz "plugin '%s' doesn't set a version number, refusing to load this plugin" .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-plugin.c_chassis_plugin_load.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_call ## -- Begin function chassis_shutdown_hooks_call .p2align 4, 0x90 _chassis_shutdown_hooks_call: ## @chassis_shutdown_hooks_call .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _chassis_shutdown_hooks_lock movl (%r14), %esi leaq -52(%rbp), %rbx movq %rbx, %rdi callq _g_hash_table_iter_init leaq -64(%rbp), %rsi leaq -48(%rbp), %rdx movq %rbx, %rdi callq _g_hash_table_iter_next testq %rax, %rax je LBB0_6 ## %bb.1: movq _TRUE@GOTPCREL(%rip), %r13 leaq -52(%rbp), %r15 leaq -64(%rbp), %r12 leaq -48(%rbp), %rbx jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq (%r13), %rcx movq %rcx, (%rax) movq %r15, %rdi movq %r12, %rsi movq %rbx, %rdx callq _g_hash_table_iter_next testq %rax, %rax je LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -48(%rbp), %rax movq 16(%rax), %rcx testq %rcx, %rcx je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpq $0, (%rax) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl 8(%rax), %edi callq *%rcx movq -48(%rbp), %rax jmp LBB0_5 LBB0_6: movq %r14, %rdi callq _chassis_shutdown_hooks_unlock addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,8,3 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_call ; -- Begin function chassis_shutdown_hooks_call .p2align 2 _chassis_shutdown_hooks_call: ; @chassis_shutdown_hooks_call .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _chassis_shutdown_hooks_lock ldr w1, [x19] sub x0, x29, #20 bl _g_hash_table_iter_init sub x0, x29, #20 add x1, sp, #16 add x2, sp, #8 bl _g_hash_table_iter_next cbz x0, LBB0_6 ; %bb.1: Lloh0: adrp x20, _TRUE@GOTPAGE Lloh1: ldr x20, [x20, _TRUE@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [x20] str x9, [x8] sub x0, x29, #20 add x1, sp, #16 add x2, sp, #8 bl _g_hash_table_iter_next cbz x0, LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ldr x9, [x8, #16] cbz x9, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x10, [x8] cbnz x10, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x8, #8] blr x9 ldr x8, [sp, #8] b LBB0_2 LBB0_6: mov x0, x19 bl _chassis_shutdown_hooks_unlock ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TRUE,8,3 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_call.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_lock ## -- Begin function chassis_shutdown_hooks_lock .p2align 4, 0x90 _chassis_shutdown_hooks_lock: ## @chassis_shutdown_hooks_lock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _g_mutex_lock ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_lock ; -- Begin function chassis_shutdown_hooks_lock .p2align 2 _chassis_shutdown_hooks_lock: ; @chassis_shutdown_hooks_lock .cfi_startproc ; %bb.0: ldr w0, [x0] b _g_mutex_lock .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_lock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_register ## -- Begin function chassis_shutdown_hooks_register .p2align 4, 0x90 _chassis_shutdown_hooks_register: ## @chassis_shutdown_hooks_register .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movl %edx, %r15d movq %rsi, %r13 movq %rdi, %rbx movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %r12d callq _chassis_shutdown_hooks_lock movl (%rbx), %edi movq %r13, %rsi movl %r15d, %edx callq _g_hash_table_lookup_const testq %rax, %rax jne LBB0_2 ## %bb.1: movl (%rbx), %r12d movq %r13, %rdi movl %r15d, %esi callq _g_string_new_len movl %r12d, %edi movl %eax, %esi movq %r14, %rdx callq _g_hash_table_insert movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %r12d LBB0_2: movq %rbx, %rdi callq _chassis_shutdown_hooks_unlock movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_register ; -- Begin function chassis_shutdown_hooks_register .p2align 2 _chassis_shutdown_hooks_register: ; @chassis_shutdown_hooks_register .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x3 mov x22, x2 mov x23, x1 mov x19, x0 Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr w21, [x8] bl _chassis_shutdown_hooks_lock ldr w0, [x19] mov x1, x23 mov x2, x22 bl _g_hash_table_lookup_const cbnz x0, LBB0_2 ; %bb.1: ldr w21, [x19] mov x0, x23 mov x1, x22 bl _g_string_new_len mov x1, x0 mov x0, x21 mov x2, x20 bl _g_hash_table_insert Lloh3: adrp x8, _TRUE@GOTPAGE Lloh4: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh5: ldr w21, [x8] LBB0_2: mov x0, x19 bl _chassis_shutdown_hooks_unlock mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_register.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_unlock ## -- Begin function chassis_shutdown_hooks_unlock .p2align 4, 0x90 _chassis_shutdown_hooks_unlock: ## @chassis_shutdown_hooks_unlock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _g_mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_shutdown_hooks_unlock ; -- Begin function chassis_shutdown_hooks_unlock .p2align 2 _chassis_shutdown_hooks_unlock: ; @chassis_shutdown_hooks_unlock .cfi_startproc ; %bb.0: ldr w0, [x0] b _g_mutex_unlock .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_unlock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function g_string_free_true _g_string_free_true: ## @g_string_free_true .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _g_string_free ## TAILCALL .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .no_dead_strip _g_string_free_true .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function g_string_free_true _g_string_free_true: ; @g_string_free_true .cfi_startproc ; %bb.0: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _g_string_free .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .no_dead_strip _g_string_free_true .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-shutdown-hooks.c_g_string_free_true.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_stats_free ## -- Begin function chassis_stats_free .p2align 4, 0x90 _chassis_stats_free: ## @chassis_stats_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 testq %rdi, %rdi je LBB0_3 ## %bb.1: movq _chassis_global_stats@GOTPCREL(%rip), %rbx cmpq %rdi, (%rbx) je LBB0_2 ## %bb.4: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _g_assert_not_reached ## TAILCALL LBB0_2: callq _g_free movq $0, (%rbx) LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _chassis_global_stats,8,3 ## @chassis_global_stats .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_stats_free ; -- Begin function chassis_stats_free .p2align 2 _chassis_stats_free: ; @chassis_stats_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_4 ; %bb.1: Lloh0: adrp x19, _chassis_global_stats@GOTPAGE Lloh1: ldr x19, [x19, _chassis_global_stats@GOTPAGEOFF] ldr x8, [x19] cmp x8, x0 b.eq LBB0_3 ; %bb.2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_assert_not_reached LBB0_3: bl _g_free str xzr, [x19] LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _chassis_global_stats,8,3 ; @chassis_global_stats .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-stats.c_chassis_stats_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_calc_rel_microseconds ## -- Begin function chassis_calc_rel_microseconds .p2align 4, 0x90 _chassis_calc_rel_microseconds: ## @chassis_calc_rel_microseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subsd %xmm0, %xmm1 movapd %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .comm _MICROS_IN_SEC,8,3 ## @MICROS_IN_SEC .comm _chassis_timestamps_global,8,3 ## @chassis_timestamps_global .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_calc_rel_microseconds ; -- Begin function chassis_calc_rel_microseconds .p2align 2 _chassis_calc_rel_microseconds: ; @chassis_calc_rel_microseconds .cfi_startproc ; %bb.0: fsub d0, d1, d0 ret .cfi_endproc ; -- End function .comm _MICROS_IN_SEC,8,3 ; @MICROS_IN_SEC .comm _chassis_timestamps_global,8,3 ; @chassis_timestamps_global .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_calc_rel_microseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_rel_microseconds ## -- Begin function chassis_get_rel_microseconds .p2align 4, 0x90 _chassis_get_rel_microseconds: ## @chassis_get_rel_microseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _my_timer_microseconds ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_rel_microseconds ; -- Begin function chassis_get_rel_microseconds .p2align 2 _chassis_get_rel_microseconds: ; @chassis_get_rel_microseconds .cfi_startproc ; %bb.0: b _my_timer_microseconds .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_get_rel_microseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_rel_milliseconds ## -- Begin function chassis_get_rel_milliseconds .p2align 4, 0x90 _chassis_get_rel_milliseconds: ## @chassis_get_rel_milliseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _my_timer_milliseconds ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_rel_milliseconds ; -- Begin function chassis_get_rel_milliseconds .p2align 2 _chassis_get_rel_milliseconds: ; @chassis_get_rel_milliseconds .cfi_startproc ; %bb.0: b _my_timer_milliseconds .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_get_rel_milliseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_rel_nanoseconds ## -- Begin function chassis_get_rel_nanoseconds .p2align 4, 0x90 _chassis_get_rel_nanoseconds: ## @chassis_get_rel_nanoseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _my_timer_nanoseconds ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_get_rel_nanoseconds ; -- Begin function chassis_get_rel_nanoseconds .p2align 2 _chassis_get_rel_nanoseconds: ; @chassis_get_rel_nanoseconds .cfi_startproc ; %bb.0: b _my_timer_nanoseconds .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_get_rel_nanoseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamp_free ## -- Begin function chassis_timestamp_free .p2align 4, 0x90 _chassis_timestamp_free: ## @chassis_timestamp_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _g_free ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamp_free ; -- Begin function chassis_timestamp_free .p2align 2 _chassis_timestamp_free: ; @chassis_timestamp_free .cfi_startproc ; %bb.0: b _g_free .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_timestamp_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamp_init_now ## -- Begin function chassis_timestamp_init_now .p2align 4, 0x90 _chassis_timestamp_init_now: ## @chassis_timestamp_init_now .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq %rsi, (%rdi) movq %rdx, 8(%rdi) movl %ecx, 28(%rdi) xorl %eax, %eax callq _my_timer_microseconds movl %eax, 24(%rbx) xorl %eax, %eax callq _my_timer_cycles movl %eax, 20(%rbx) xorl %eax, %eax callq _my_timer_ticks movl %eax, 16(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamp_init_now ; -- Begin function chassis_timestamp_init_now .p2align 2 _chassis_timestamp_init_now: ; @chassis_timestamp_init_now .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 stp x1, x2, [x0] str w3, [x0, #28] bl _my_timer_microseconds str w0, [x19, #24] bl _my_timer_cycles str w0, [x19, #20] bl _my_timer_ticks str w0, [x19, #16] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_timestamp_init_now.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamps_add ## -- Begin function chassis_timestamps_add .p2align 4, 0x90 _chassis_timestamps_add: ## @chassis_timestamps_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %r15 movq %rsi, %r13 movq %rdi, %r12 xorl %eax, %eax callq _chassis_timestamp_new movq %rax, %rbx movq %rax, %rdi movq %r13, %rsi movq %r15, %rdx movl %r14d, %ecx callq _chassis_timestamp_init_now movl (%r12), %edi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _g_queue_push_tail ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamps_add ; -- Begin function chassis_timestamps_add .p2align 2 _chassis_timestamps_add: ; @chassis_timestamps_add .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 bl _chassis_timestamp_new mov x23, x0 mov x1, x21 mov x2, x20 mov x3, x19 bl _chassis_timestamp_init_now ldr w0, [x22] mov x1, x23 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _g_queue_push_tail .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_timestamps_add.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamps_free ## -- Begin function chassis_timestamps_free .p2align 4, 0x90 _chassis_timestamps_free: ## @chassis_timestamps_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %edi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 callq _g_queue_pop_head testq %rax, %rax je LBB0_3 ## %bb.1: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rdi callq _chassis_timestamp_free movl (%rbx), %edi jmp LBB0_2 LBB0_3: movl (%rbx), %edi callq _g_queue_free movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamps_free ; -- Begin function chassis_timestamps_free .p2align 2 _chassis_timestamps_free: ; @chassis_timestamps_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0] bl _g_queue_pop_head cbz x0, LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _chassis_timestamp_free ldr w0, [x19] bl _g_queue_pop_head cbnz x0, LBB0_1 LBB0_2: ldr w0, [x19] bl _g_queue_free mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_timestamps_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamps_global_free ## -- Begin function chassis_timestamps_global_free .p2align 4, 0x90 _chassis_timestamps_global_free: ## @chassis_timestamps_global_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: jmp _g_free ## TAILCALL LBB0_1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _chassis_timestamps_global@GOTPCREL(%rip), %rax movq (%rax), %rdi popq %rbp jmp _g_free ## TAILCALL .cfi_endproc ## -- End function .comm _chassis_timestamps_global,8,3 ## @chassis_timestamps_global .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_timestamps_global_free ; -- Begin function chassis_timestamps_global_free .p2align 2 _chassis_timestamps_global_free: ; @chassis_timestamps_global_free .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: b _g_free LBB0_2: Lloh0: adrp x8, _chassis_timestamps_global@GOTPAGE Lloh1: ldr x8, [x8, _chassis_timestamps_global@GOTPAGEOFF] Lloh2: ldr x0, [x8] b _g_free .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _chassis_timestamps_global,8,3 ; @chassis_timestamps_global .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-timings.c_chassis_timestamps_global_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_unix_daemonize ## -- Begin function chassis_unix_daemonize .p2align 4, 0x90 _chassis_unix_daemonize: ## @chassis_unix_daemonize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq _fork testq %rax, %rax jne LBB0_4 ## %bb.1: xorl %eax, %eax callq _setsid cmpl $-1, %eax je LBB0_4 ## %bb.2: movq _SIGHUP@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SIG_IGN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _signal xorl %eax, %eax callq _fork testq %rax, %rax jne LBB0_4 ## %bb.3: leaq L_.str(%rip), %rdi callq _chdir xorl %edi, %edi popq %rbp jmp _umask ## TAILCALL LBB0_4: xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .comm _SIGHUP,4,2 ## @SIGHUP .comm _SIG_IGN,4,2 ## @SIG_IGN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/" .comm _SIGTSTP,4,2 ## @SIGTSTP .comm _SIGTTIN,4,2 ## @SIGTTIN .comm _SIGTTOU,4,2 ## @SIGTTOU .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _chassis_unix_daemonize ; -- Begin function chassis_unix_daemonize .p2align 2 _chassis_unix_daemonize: ; @chassis_unix_daemonize .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _fork cbnz x0, LBB0_4 ; %bb.1: bl _setsid cmn w0, #1 b.eq LBB0_4 ; %bb.2: Lloh0: adrp x8, _SIGHUP@GOTPAGE Lloh1: ldr x8, [x8, _SIGHUP@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _SIG_IGN@GOTPAGE Lloh4: ldr x8, [x8, _SIG_IGN@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _signal bl _fork cbnz x0, LBB0_4 ; %bb.3: Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _chdir mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _umask LBB0_4: mov w0, #0 bl _exit .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _SIGHUP,4,2 ; @SIGHUP .comm _SIG_IGN,4,2 ; @SIG_IGN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/" .comm _SIGTSTP,4,2 ; @SIGTSTP .comm _SIGTTIN,4,2 ; @SIGTTIN .comm _SIGTTOU,4,2 ; @SIGTTOU .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-unix-daemon.c_chassis_unix_daemonize.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chassis_unix_signal_forward _chassis_unix_signal_forward: ## @chassis_unix_signal_forward .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movq _SIG_IGN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _signal xorl %edi, %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _kill ## TAILCALL .cfi_endproc ## -- End function .comm _SIG_IGN,4,2 ## @SIG_IGN .no_dead_strip _chassis_unix_signal_forward .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chassis_unix_signal_forward _chassis_unix_signal_forward: ; @chassis_unix_signal_forward .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _SIG_IGN@GOTPAGE Lloh1: ldr x8, [x8, _SIG_IGN@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _signal mov w0, #0 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kill .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SIG_IGN,4,2 ; @SIG_IGN .no_dead_strip _chassis_unix_signal_forward .subsections_via_symbols
AnghaBench/Atlas/src/extr_chassis-unix-daemon.c_chassis_unix_signal_forward.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_ref_ref ## -- Begin function g_ref_ref .p2align 4, 0x90 _g_ref_ref: ## @g_ref_ref .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %edi, %edi cmpq $0, (%rbx) setg %dil callq _g_return_if_fail incq (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_ref_ref ; -- Begin function g_ref_ref .p2align 2 _g_ref_ref: ; @g_ref_ref .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0] cmp x8, #0 cset w0, gt bl _g_return_if_fail ldr x8, [x19] add x8, x8, #1 str x8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext-ref.c_g_ref_ref.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_ref_set ## -- Begin function g_ref_set .p2align 4, 0x90 _g_ref_set: ## @g_ref_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx xorl %edi, %edi cmpl $0, (%rbx) sete %dil callq _g_return_if_fail movl %r15d, 8(%rbx) movl %r14d, 4(%rbx) movl $1, (%rbx) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_ref_set ; -- Begin function g_ref_set .p2align 2 _g_ref_set: ; @g_ref_set .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 ldr w8, [x0] cmp w8, #0 cset w0, eq bl _g_return_if_fail stp w19, w20, [x21, #4] mov w8, #1 str w8, [x21] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext-ref.c_g_ref_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_ref_unref ## -- Begin function g_ref_unref .p2align 4, 0x90 _g_ref_unref: ## @g_ref_unref .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq (%rdi), %rax testq %rax, %rax je LBB0_5 ## %bb.1: movq %rdi, %rbx decq %rax movq %rax, (%rdi) je LBB0_2 LBB0_5: addq $8, %rsp popq %rbx popq %rbp retq LBB0_2: movq 16(%rbx), %rax testq %rax, %rax je LBB0_4 ## %bb.3: movq 8(%rbx), %rdi callq *%rax movq $0, 8(%rbx) LBB0_4: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_ref_unref ; -- Begin function g_ref_unref .p2align 2 _g_ref_unref: ; @g_ref_unref .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0] cbz x8, LBB0_2 ; %bb.1: mov x19, x0 subs x8, x8, #1 str x8, [x0] b.eq LBB0_3 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: ldr x8, [x19, #16] cbz x8, LBB0_5 ; %bb.4: ldr x0, [x19, #8] blr x8 str xzr, [x19, #8] LBB0_5: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext-ref.c_g_ref_unref.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_lookup_const ## -- Begin function g_hash_table_lookup_const .p2align 4, 0x90 _g_hash_table_lookup_const: ## @g_hash_table_lookup_const .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rsi, -16(%rbp) movl %edx, -8(%rbp) leaq -16(%rbp), %rsi callq _g_hash_table_lookup addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_lookup_const ; -- Begin function g_hash_table_lookup_const .p2align 2 _g_hash_table_lookup_const: ; @g_hash_table_lookup_const .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x1, [sp] str w2, [sp, #8] mov x1, sp bl _g_hash_table_lookup ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_hash_table_lookup_const.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_string_equal ## -- Begin function g_hash_table_string_equal .p2align 4, 0x90 _g_hash_table_string_equal: ## @g_hash_table_string_equal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _g_string_equal ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_string_equal ; -- Begin function g_hash_table_string_equal .p2align 2 _g_hash_table_string_equal: ; @g_hash_table_string_equal .cfi_startproc ; %bb.0: b _g_string_equal .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_hash_table_string_equal.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_string_free ## -- Begin function g_hash_table_string_free .p2align 4, 0x90 _g_hash_table_string_free: ## @g_hash_table_string_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _g_string_free ## TAILCALL .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_string_free ; -- Begin function g_hash_table_string_free .p2align 2 _g_hash_table_string_free: ; @g_hash_table_string_free .cfi_startproc ; %bb.0: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _g_string_free .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_hash_table_string_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_string_hash ## -- Begin function g_hash_table_string_hash .p2align 4, 0x90 _g_hash_table_string_hash: ## @g_hash_table_string_hash .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _g_string_hash ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_hash_table_string_hash ; -- Begin function g_hash_table_string_hash .p2align 2 _g_hash_table_string_hash: ; @g_hash_table_string_hash .cfi_startproc ; %bb.0: b _g_string_hash .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_hash_table_string_hash.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_istr_hash ## -- Begin function g_istr_hash .p2align 4, 0x90 _g_istr_hash: ## @g_istr_hash .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movb (%rdi), %cl testb %cl, %cl je LBB0_1 ## %bb.2: movq %rdi, %r14 incq %r14 movl $5381, %eax ## imm = 0x1505 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %eax, %ebx shll $5, %ebx addl %eax, %ebx movzbl %cl, %edi callq _g_ascii_toupper addl %ebx, %eax movzbl (%r14), %ecx incq %r14 testb %cl, %cl jne LBB0_3 jmp LBB0_4 LBB0_1: movl $5381, %eax ## imm = 0x1505 LBB0_4: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_istr_hash ; -- Begin function g_istr_hash .p2align 2 _g_istr_hash: ; @g_istr_hash .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldrb w8, [x0] cbz w8, LBB0_3 ; %bb.1: add x19, x0, #1 mov w0, #5381 LBB0_2: ; =>This Inner Loop Header: Depth=1 add w20, w0, w0, lsl #5 and w0, w8, #0xff bl _g_ascii_toupper add w0, w0, w20 ldrb w8, [x19], #1 cbnz w8, LBB0_2 b LBB0_4 LBB0_3: mov w0, #5381 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_istr_hash.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_memeq ## -- Begin function g_memeq .p2align 4, 0x90 _g_memeq: ## @g_memeq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpq %rcx, %rsi jne LBB0_1 ## %bb.2: movq %rsi, %rax movq %rdx, %rsi movq %rax, %rdx callq _memcmp movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx sete %al popq %rbp retq LBB0_1: movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_memeq ; -- Begin function g_memeq .p2align 2 _g_memeq: ; @g_memeq .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 cmp x1, x3 b.ne LBB0_2 ; %bb.1: mov x8, x1 mov x1, x2 mov x2, x8 bl _memcmp cmp x0, #0 cset w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_memeq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_assign_len ## -- Begin function g_string_assign_len .p2align 4, 0x90 _g_string_assign_len: ## @g_string_assign_len .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %r15 movq %rdi, %rbx xorl %esi, %esi callq _g_string_truncate movq %rbx, %rdi movq %r15, %rsi movl %r14d, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _g_string_append_len ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_assign_len ; -- Begin function g_string_assign_len .p2align 2 _g_string_assign_len: ; @g_string_assign_len .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 mov w1, #0 bl _g_string_truncate mov x0, x21 mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _g_string_append_len .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_string_assign_len.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_dup ## -- Begin function g_string_dup .p2align 4, 0x90 _g_string_dup: ## @g_string_dup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl 4(%rdi), %edi callq _g_string_sized_new movq %rax, %r14 movl (%rbx), %esi movq %rax, %rdi callq _g_string_assign movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_dup ; -- Begin function g_string_dup .p2align 2 _g_string_dup: ; @g_string_dup .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #4] bl _g_string_sized_new mov x20, x0 ldr w1, [x19] bl _g_string_assign mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_string_dup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_equal_ci ## -- Begin function g_string_equal_ci .p2align 4, 0x90 _g_string_equal_ci: ## @g_string_equal_ci .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx callq _g_string_equal testq %rax, %rax je LBB0_3 ## %bb.1: movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_2 LBB0_3: movq %rbx, %rdi callq _S movl %eax, %edi callq _g_utf8_casefold movq %rax, %r14 movq %rax, %rdi callq _strlen movl %eax, %r12d movq %r15, %rdi callq _S movl %eax, %edi callq _g_utf8_casefold movq %rax, %rbx movq %rax, %rdi callq _strlen movq %r14, %rdi movl %r12d, %esi movq %rbx, %rdx movl %eax, %ecx callq _strleq movl %eax, %r15d movq %r14, %rdi callq _g_free movq %rbx, %rdi callq _g_free movl %r15d, %eax LBB0_2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_equal_ci ; -- Begin function g_string_equal_ci .p2align 2 _g_string_equal_ci: ; @g_string_equal_ci .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _g_string_equal cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w0, [x8] b LBB0_3 LBB0_2: mov x0, x20 bl _S bl _g_utf8_casefold mov x20, x0 bl _strlen mov x21, x0 mov x0, x19 bl _S bl _g_utf8_casefold mov x19, x0 bl _strlen mov x3, x0 mov x0, x20 mov x1, x21 mov x2, x19 bl _strleq mov x21, x0 mov x0, x20 bl _g_free mov x0, x19 bl _g_free mov x0, x21 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_string_equal_ci.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_get_current_time ## -- Begin function g_string_get_current_time .p2align 4, 0x90 _g_string_get_current_time: ## @g_string_get_current_time .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq -20(%rbp), %r14 movq %r14, %rdi callq _g_get_current_time movq %rbx, %rdi movq %r14, %rsi callq _g_string_get_time addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _g_string_get_current_time ; -- Begin function g_string_get_current_time .p2align 2 _g_string_get_current_time: ; @g_string_get_current_time .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x0, sp, #12 bl _g_get_current_time add x1, sp, #12 mov x0, x19 bl _g_string_get_time ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_g_string_get_current_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ge_gtimeval_diff ## -- Begin function ge_gtimeval_diff .p2align 4, 0x90 _ge_gtimeval_diff: ## @ge_gtimeval_diff .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rsi), %rax subq 8(%rdi), %rax movq %rax, (%rdx) movq _G_USEC_PER_SEC@GOTPCREL(%rip), %rcx imulq (%rcx), %rax movq %rax, (%rdx) addq (%rsi), %rax subq (%rdi), %rax movq %rax, (%rdx) popq %rbp retq .cfi_endproc ## -- End function .comm _G_USEC_PER_SEC,8,3 ## @G_USEC_PER_SEC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ge_gtimeval_diff ; -- Begin function ge_gtimeval_diff .p2align 2 _ge_gtimeval_diff: ; @ge_gtimeval_diff .cfi_startproc ; %bb.0: ldr x8, [x1, #8] ldr x9, [x0, #8] sub x8, x8, x9 str x8, [x2] Lloh0: adrp x9, _G_USEC_PER_SEC@GOTPAGE Lloh1: ldr x9, [x9, _G_USEC_PER_SEC@GOTPAGEOFF] Lloh2: ldr x9, [x9] mul x8, x9, x8 str x8, [x2] ldr x9, [x1] ldr x10, [x0] add x8, x9, x8 sub x8, x8, x10 str x8, [x2] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _G_USEC_PER_SEC,8,3 ; @G_USEC_PER_SEC .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_ge_gtimeval_diff.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strleq ## -- Begin function strleq .p2align 4, 0x90 _strleq: ## @strleq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpq %rcx, %rsi jne LBB0_1 ## %bb.2: movq %rsi, %rax movq %rdx, %rsi movq %rax, %rdx callq _memcmp movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx sete %al popq %rbp retq LBB0_1: movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strleq ; -- Begin function strleq .p2align 2 _strleq: ; @strleq .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 cmp x1, x3 b.ne LBB0_2 ; %bb.1: mov x8, x1 mov x1, x2 mov x2, x8 bl _memcmp cmp x0, #0 cset w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh0: adrp x8, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/Atlas/src/extr_glib-ext.c_strleq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _luaL_checkself ## -- Begin function luaL_checkself .p2align 4, 0x90 _luaL_checkself: ## @luaL_checkself .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %esi popq %rbp jmp _lua_touserdata ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _luaL_checkself ; -- Begin function luaL_checkself .p2align 2 _luaL_checkself: ; @luaL_checkself .cfi_startproc ; %bb.0: mov w1, #1 b _lua_touserdata .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_lua-env.c_luaL_checkself.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_getfield_literal ## -- Begin function lua_getfield_literal .p2align 4, 0x90 _lua_getfield_literal: ## @lua_getfield_literal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %r15 movq %rdi, %rbx callq _abs_index movl %eax, %r12d movq %rbx, %rdi movq %r15, %rsi movq %r14, %rdx callq _lua_pushlstring movq %rbx, %rdi movl %r12d, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _lua_gettable ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_getfield_literal ; -- Begin function lua_getfield_literal .p2align 2 _lua_getfield_literal: ; @lua_getfield_literal .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x0 bl _abs_index mov x22, x0 mov x0, x21 mov x1, x20 mov x2, x19 bl _lua_pushlstring mov x0, x21 mov x1, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _lua_gettable .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_lua-env.c_lua_getfield_literal.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _proxy_getmetatable ## -- Begin function proxy_getmetatable .p2align 4, 0x90 _proxy_getmetatable: ## @proxy_getmetatable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _lua_pushlightuserdata movq _LUA_REGISTRYINDEX@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %rbx, %rdi callq _lua_gettable movq %rbx, %rdi movl $-1, %esi callq _lua_isnil testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi movl $1, %esi callq _lua_pop movq %rbx, %rdi callq _lua_newtable movq %rbx, %rdi xorl %esi, %esi movq %r14, %rdx callq _luaL_register movq %rbx, %rdi movq %r14, %rsi callq _lua_pushlightuserdata movq %rbx, %rdi movl $-2, %esi callq _lua_pushvalue movl (%r15), %esi movq %rbx, %rdi callq _lua_settable LBB0_2: movq %rbx, %rdi movl $-1, %esi callq _lua_istable movl %eax, %edi callq _g_assert movl $1, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LUA_REGISTRYINDEX,4,2 ## @LUA_REGISTRYINDEX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _proxy_getmetatable ; -- Begin function proxy_getmetatable .p2align 2 _proxy_getmetatable: ; @proxy_getmetatable .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 bl _lua_pushlightuserdata Lloh0: adrp x21, _LUA_REGISTRYINDEX@GOTPAGE Lloh1: ldr x21, [x21, _LUA_REGISTRYINDEX@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 bl _lua_gettable mov x0, x19 mov w1, #-1 bl _lua_isnil cbz x0, LBB0_2 ; %bb.1: mov x0, x19 mov w1, #1 bl _lua_pop mov x0, x19 bl _lua_newtable mov x0, x19 mov x1, #0 mov x2, x20 bl _luaL_register mov x0, x19 mov x1, x20 bl _lua_pushlightuserdata mov x0, x19 mov w1, #-2 bl _lua_pushvalue ldr w1, [x21] mov x0, x19 bl _lua_settable LBB0_2: mov x0, x19 mov w1, #-1 bl _lua_istable bl _g_assert mov w0, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _LUA_REGISTRYINDEX,4,2 ; @LUA_REGISTRYINDEX .subsections_via_symbols
AnghaBench/Atlas/src/extr_lua-env.c_proxy_getmetatable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_scope_free ## -- Begin function lua_scope_free .p2align 4, 0x90 _lua_scope_free: ## @lua_scope_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl (%rdi), %edi callq _g_mutex_free movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _g_free ## TAILCALL LBB0_1: retq .cfi_endproc ## -- End function .comm _G_STRLOC,4,2 ## @G_STRLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_scope_free ; -- Begin function lua_scope_free .p2align 2 _lua_scope_free: ; @lua_scope_free .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0] bl _g_mutex_free mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _g_free LBB0_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .comm _G_STRLOC,4,2 ; @G_STRLOC .subsections_via_symbols
AnghaBench/Atlas/src/extr_lua-scope.c_lua_scope_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_scope_init ## -- Begin function lua_scope_init .p2align 4, 0x90 _lua_scope_init: ## @lua_scope_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _lua_scope_new ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_scope_init ; -- Begin function lua_scope_init .p2align 2 _lua_scope_init: ; @lua_scope_init .cfi_startproc ; %bb.0: b _lua_scope_new .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_lua-scope.c_lua_scope_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_scope_release ## -- Begin function lua_scope_release .p2align 4, 0x90 _lua_scope_release: ## @lua_scope_release .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 8(%rdi), %edi popq %rbp jmp _g_mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lua_scope_release ; -- Begin function lua_scope_release .p2align 2 _lua_scope_release: ; @lua_scope_release .cfi_startproc ; %bb.0: ldr w0, [x0, #8] b _g_mutex_unlock .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/Atlas/src/extr_lua-scope.c_lua_scope_release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function my_timer_init_frequency _my_timer_init_frequency: ## @my_timer_init_frequency .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -48(%rbp) ## 8-byte Spill xorl %ebx, %ebx xorl %eax, %eax callq _my_timer_cycles movl %eax, %r15d xorl %eax, %eax callq _my_timer_microseconds movq _MY_TIMER_ITERATIONS@GOTPCREL(%rip), %r13 cmpl $0, (%r13) jle LBB0_4 ## %bb.1: movl %eax, %r12d xorl %r14d, %r14d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax callq _my_timer_microseconds movl %eax, %ebx subl %r12d, %ebx cmpl $201, %ebx jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incl %r14d cmpl (%r13), %r14d jl LBB0_3 LBB0_4: xorl %eax, %eax callq _my_timer_cycles movq -48(%rbp), %rcx ## 8-byte Reload addl (%rcx), %r15d addl 4(%rcx), %r15d subl %r15d, %eax imull 8(%rcx), %eax cltd idivl %ebx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MY_TIMER_ITERATIONS,4,2 ## @MY_TIMER_ITERATIONS .no_dead_strip _my_timer_init_frequency .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function my_timer_init_frequency _my_timer_init_frequency: ; @my_timer_init_frequency .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 bl _my_timer_cycles mov x20, x0 bl _my_timer_microseconds Lloh0: adrp x23, _MY_TIMER_ITERATIONS@GOTPAGE Lloh1: ldr x23, [x23, _MY_TIMER_ITERATIONS@GOTPAGEOFF] ldr w8, [x23] cmp w8, #1 b.lt LBB0_4 ; %bb.1: mov x21, x0 mov w24, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 bl _my_timer_microseconds sub w22, w0, w21 cmp w22, #201 b.ge LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add w24, w24, #1 ldr w8, [x23] cmp w24, w8 b.lt LBB0_2 b LBB0_5 LBB0_4: mov w22, #0 LBB0_5: bl _my_timer_cycles ldp w8, w9, [x19] ldr w10, [x19, #8] add w8, w20, w8 add w8, w8, w9 sub w8, w0, w8 mul w8, w8, w10 sdiv w0, w8, w22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _MY_TIMER_ITERATIONS,4,2 ; @MY_TIMER_ITERATIONS .no_dead_strip _my_timer_init_frequency .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_init_frequency.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function my_timer_init_overhead _my_timer_init_overhead: ## @my_timer_init_overhead .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, -44(%rbp) ## 4-byte Spill movq %rdx, %r15 movq %rsi, %r13 movq %rdi, %r12 movl $1000000000, (%rdi) ## imm = 0x3B9ACA00 movl $20, %r14d jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 decl %r14d je LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 callq *%r13 movl %eax, %ebx callq *%r15 callq *%r13 subl %ebx, %eax movl (%r12), %ecx cmpl %eax, %ecx jle LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %eax, (%r12) movl %eax, %ecx jmp LBB0_3 LBB0_4: subl -44(%rbp), %ecx ## 4-byte Folded Reload movl %ecx, (%r12) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _my_timer_init_overhead .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function my_timer_init_overhead _my_timer_init_overhead: ; @my_timer_init_overhead .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x21, x2 mov x22, x1 mov x20, x0 mov w8, #51712 movk w8, #15258, lsl #16 str w8, [x0] mov w24, #20 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 subs w24, w24, #1 b.eq LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 blr x22 mov x23, x0 blr x21 blr x22 ldr w8, [x20] sub w9, w0, w23 cmp w8, w9 b.le LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 str w9, [x20] mov x8, x9 b LBB0_1 LBB0_4: sub w8, w8, w19 str w8, [x20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _my_timer_init_overhead .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_init_overhead.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function my_timer_init_resolution _my_timer_init_resolution: ## @my_timer_init_resolution .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, -52(%rbp) ## 4-byte Spill movq _MY_TIMER_ITERATIONS@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_1 ## %bb.2: movq %rdi, %r15 movl $1000000, %r12d ## imm = 0xF4240 movl $0, -48(%rbp) ## 4-byte Folded Spill movl $1, %r14d movl $0, -44(%rbp) ## 4-byte Folded Spill xorl %r13d, %r13d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 callq *%r15 movl %eax, %ebx callq *%r15 subl %ebx, %eax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 imull $652835029, %eax, %ecx ## imm = 0x26E978D5 addl $17179864, %ecx ## imm = 0x10624D8 rorl $3, %ecx cmpl $4294966, %ecx ## imm = 0x418936 ja LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 imull $1757569337, %eax, %ecx ## imm = 0x68C26139 addl $137408, %ecx ## imm = 0x218C0 rorl $6, %ecx incl -44(%rbp) ## 4-byte Folded Spill cmpl $4295, %ecx ## imm = 0x10C7 adcl $0, -48(%rbp) ## 4-byte Folded Spill LBB0_6: ## in Loop: Header=BB0_3 Depth=1 incl %r13d cmpl %eax, %r12d cmovgel %eax, %r12d cmpl $0, -52(%rbp) ## 4-byte Folded Reload je LBB0_9 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 cmpl $2, %r13d jg LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq _MY_TIMER_ITERATIONS@GOTPCREL(%rip), %rax movl (%rax), %eax addl %eax, %eax leal 1(%r14), %ecx leal (%rax,%rax,4), %eax cmpl %eax, %r14d movl %ecx, %r14d jl LBB0_3 LBB0_9: cmpl $3, %r13d jne LBB0_12 ## %bb.10: movl $1000000, %eax ## imm = 0xF4240 cmpl $3, -48(%rbp) ## 4-byte Folded Reload je LBB0_13 ## %bb.11: movl $1000, %eax ## imm = 0x3E8 cmpl $3, -44(%rbp) ## 4-byte Folded Reload jne LBB0_12 jmp LBB0_13 LBB0_1: movl $1000000, %r12d ## imm = 0xF4240 LBB0_12: cmpl -52(%rbp), %r12d ## 4-byte Folded Reload movl $1, %eax cmovgl %r12d, %eax LBB0_13: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MY_TIMER_ITERATIONS,4,2 ## @MY_TIMER_ITERATIONS .no_dead_strip _my_timer_init_resolution .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function my_timer_init_resolution _my_timer_init_resolution: ; @my_timer_init_resolution .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov w20, #16960 movk w20, #15, lsl #16 Lloh0: adrp x27, _MY_TIMER_ITERATIONS@GOTPAGE Lloh1: ldr x27, [x27, _MY_TIMER_ITERATIONS@GOTPAGEOFF] ldr w8, [x27] cmp w8, #1 b.lt LBB0_12 ; %bb.1: mov x21, x0 mov w25, #0 mov w23, #0 mov w26, #0 mov w28, #1 mov w24, #16960 movk w24, #15, lsl #16 LBB0_2: ; =>This Inner Loop Header: Depth=1 blr x21 mov x22, x0 blr x21 subs w8, w0, w22 b.eq LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov w9, #30933 movk w9, #9961, lsl #16 mov w10, #9432 movk w10, #262, lsl #16 madd w9, w8, w9, w10 ror w9, w9, #3 mov w10, #35126 movk w10, #65, lsl #16 cmp w9, w10 b.hi LBB0_5 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 add w23, w23, #1 sdiv w9, w8, w20 msub w9, w9, w20, w8 cmp w9, #0 cinc w25, w25, eq LBB0_5: ; in Loop: Header=BB0_2 Depth=1 add w26, w26, #1 cmp w24, w8 csel w24, w24, w8, lt cbz w19, LBB0_8 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 cmp w26, #2 b.gt LBB0_8 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x27] add w8, w8, w8, lsl #2 lsl w8, w8, #1 add w9, w28, #1 cmp w28, w8 mov x28, x9 b.lt LBB0_2 LBB0_8: cmp w26, #3 b.ne LBB0_13 ; %bb.9: cmp w25, #3 b.eq LBB0_14 ; %bb.10: cmp w23, #3 b.ne LBB0_13 ; %bb.11: mov w20, #1000 b LBB0_14 LBB0_12: mov w24, #16960 movk w24, #15, lsl #16 LBB0_13: cmp w24, w19 csinc w20, w24, wzr, gt LBB0_14: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _MY_TIMER_ITERATIONS,4,2 ; @MY_TIMER_ITERATIONS .no_dead_strip _my_timer_init_resolution .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_init_resolution.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_microseconds ## -- Begin function my_timer_microseconds .p2align 4, 0x90 _my_timer_microseconds: ## @my_timer_microseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NX_SINCE_1970,4,2 ## @NX_SINCE_1970 .comm _NX_USECONDS,4,2 ## @NX_USECONDS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_microseconds ; -- Begin function my_timer_microseconds .p2align 2 _my_timer_microseconds: ; @my_timer_microseconds .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .comm _NX_SINCE_1970,4,2 ; @NX_SINCE_1970 .comm _NX_USECONDS,4,2 ; @NX_USECONDS .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_microseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_milliseconds ## -- Begin function my_timer_milliseconds .p2align 4, 0x90 _my_timer_milliseconds: ## @my_timer_milliseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NX_MSECONDS,4,2 ## @NX_MSECONDS .comm _NX_SINCE_1970,4,2 ## @NX_SINCE_1970 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_milliseconds ; -- Begin function my_timer_milliseconds .p2align 2 _my_timer_milliseconds: ; @my_timer_milliseconds .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .comm _NX_MSECONDS,4,2 ; @NX_MSECONDS .comm _NX_SINCE_1970,4,2 ; @NX_SINCE_1970 .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_milliseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_nanoseconds ## -- Begin function my_timer_nanoseconds .p2align 4, 0x90 _my_timer_nanoseconds: ## @my_timer_nanoseconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $0, _my_timer_nanoseconds.timebase_info(%rip) jne LBB0_2 ## %bb.1: leaq _my_timer_nanoseconds.timebase_info(%rip), %rdi callq _mach_timebase_info LBB0_2: xorl %eax, %eax callq _mach_absolute_time imull _my_timer_nanoseconds.timebase_info+4(%rip), %eax cltd idivl _my_timer_nanoseconds.timebase_info(%rip) popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_my_timer_nanoseconds.timebase_info,16,2 ## @my_timer_nanoseconds.timebase_info .comm _CLOCK_REALTIME,4,2 ## @CLOCK_REALTIME .comm _NX_NSECONDS,4,2 ## @NX_NSECONDS .comm _NX_SINCE_1970,4,2 ## @NX_SINCE_1970 .comm _TIMEBASE_SZ,4,2 ## @TIMEBASE_SZ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_nanoseconds ; -- Begin function my_timer_nanoseconds .p2align 2 _my_timer_nanoseconds: ; @my_timer_nanoseconds .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _my_timer_nanoseconds.timebase_info@PAGE Lloh1: ldr w8, [x8, _my_timer_nanoseconds.timebase_info@PAGEOFF] cbnz w8, LBB0_2 ; %bb.1: Lloh2: adrp x0, _my_timer_nanoseconds.timebase_info@PAGE Lloh3: add x0, x0, _my_timer_nanoseconds.timebase_info@PAGEOFF bl _mach_timebase_info LBB0_2: bl _mach_absolute_time Lloh4: adrp x8, _my_timer_nanoseconds.timebase_info@PAGE Lloh5: add x8, x8, _my_timer_nanoseconds.timebase_info@PAGEOFF ldp w8, w9, [x8] mul w9, w9, w0 sdiv w0, w9, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_my_timer_nanoseconds.timebase_info,16,2 ; @my_timer_nanoseconds.timebase_info .comm _CLOCK_REALTIME,4,2 ; @CLOCK_REALTIME .comm _NX_NSECONDS,4,2 ; @NX_NSECONDS .comm _NX_SINCE_1970,4,2 ; @NX_SINCE_1970 .comm _TIMEBASE_SZ,4,2 ; @TIMEBASE_SZ .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_nanoseconds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_ticks ## -- Begin function my_timer_ticks .p2align 4, 0x90 _my_timer_ticks: ## @my_timer_ticks .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NX_SINCE_BOOT,4,2 ## @NX_SINCE_BOOT .comm _NX_TICKS,4,2 ## @NX_TICKS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _my_timer_ticks ; -- Begin function my_timer_ticks .p2align 2 _my_timer_ticks: ; @my_timer_ticks .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .comm _NX_SINCE_BOOT,4,2 ; @NX_SINCE_BOOT .comm _NX_TICKS,4,2 ; @NX_TICKS .subsections_via_symbols
AnghaBench/Atlas/src/extr_my_rdtsc.c_my_timer_ticks.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _network_mysqld_binlog_get_eventname ## -- Begin function network_mysqld_binlog_get_eventname .p2align 4, 0x90 _network_mysqld_binlog_get_eventname: ## @network_mysqld_binlog_get_eventname .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %edx movq _event_type_name@GOTPCREL(%rip), %rax movq (%rax), %rcx movq (%rcx), %rax testq %rax, %rax je LBB0_5 ## %bb.1: movl %edx, %esi cmpq %rsi, 8(%rcx) je LBB0_6 ## %bb.2: addq $24, %rcx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -8(%rcx), %rax testq %rax, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 leaq 16(%rcx), %rdi cmpq %rsi, (%rcx) movq %rdi, %rcx jne LBB0_3 LBB0_6: popq %rbp retq LBB0_5: movq _G_STRLOC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdi callq _g_critical leaq L_.str(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "UNKNOWN" .comm _event_type_name,8,3 ## @event_type_name L_.str.1: ## @.str.1 .asciz "%s: event-type %d isn't known yet" .comm _G_STRLOC,4,2 ## @G_STRLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _network_mysqld_binlog_get_eventname ; -- Begin function network_mysqld_binlog_get_eventname .p2align 2 _network_mysqld_binlog_get_eventname: ; @network_mysqld_binlog_get_eventname .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x2, x0 Lloh0: adrp x8, _event_type_name@GOTPAGE Lloh1: ldr x8, [x8, _event_type_name@GOTPAGEOFF] Lloh2: ldr x9, [x8] ldr x0, [x9] cbz x0, LBB0_6 ; %bb.1: mov w8, w2 ldr x10, [x9, #8] cmp x10, x8 b.eq LBB0_5 ; %bb.2: add x9, x9, #24 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur x0, [x9, #-8] cbz x0, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x10, [x9], #16 cmp x10, x8 b.ne LBB0_3 LBB0_5: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_6: Lloh3: adrp x8, _G_STRLOC@GOTPAGE Lloh4: ldr x8, [x8, _G_STRLOC@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _g_critical Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "UNKNOWN" .comm _event_type_name,8,3 ; @event_type_name l_.str.1: ; @.str.1 .asciz "%s: event-type %d isn't known yet" .comm _G_STRLOC,4,2 ; @G_STRLOC .subsections_via_symbols
AnghaBench/Atlas/src/extr_mysql-binlog-dump.c_network_mysqld_binlog_get_eventname.c
anghabench