Dataset Viewer
Auto-converted to Parquet
x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _update_wall_time ## -- Begin function update_wall_time .p2align 4, 0x90 _update_wall_time: ## @update_wall_time .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _TK_ADV_TICK@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _timekeeping_advance ## TAILCALL .cfi_endproc ## -- End function .comm _TK_ADV_TICK,4,2 ## @TK_ADV_TICK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _update_wall_time ; -- Begin function update_wall_time .p2align 2 _update_wall_time: ; @update_wall_time .cfi_startproc ; %bb.0: Lloh0: adrp x8, _TK_ADV_TICK@GOTPAGE Lloh1: ldr x8, [x8, _TK_ADV_TICK@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _timekeeping_advance .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TK_ADV_TICK,4,2 ; @TK_ADV_TICK .subsections_via_symbols
AnghaBench/linux/kernel/time/extr_timekeeping.c_update_wall_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hdmi4_cec_irq ## -- Begin function hdmi4_cec_irq .p2align 4, 0x90 _hdmi4_cec_irq: ## @hdmi4_cec_irq .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, %rbx movl (%rdi), %edi movq _HDMI_CEC_INT_STATUS_0@GOTPCREL(%rip), %r12 movl (%r12), %esi callq _hdmi_read_reg movl %eax, %r14d movl (%rbx), %edi movq _HDMI_CEC_INT_STATUS_1@GOTPCREL(%rip), %r13 movl (%r13), %esi callq _hdmi_read_reg movl %eax, %r15d movl (%rbx), %edi movl (%r12), %esi movl %r14d, %edx callq _hdmi_write_reg movl (%rbx), %edi movl (%r13), %esi movl %r15d, %edx callq _hdmi_write_reg testb $32, %r14b jne LBB0_1 ## %bb.2: testb $2, %r15b je LBB0_5 ## %bb.3: movl (%rbx), %edi movq _HDMI_CEC_DBG_3@GOTPCREL(%rip), %rax movl (%rax), %esi callq _hdmi_read_reg movl 4(%rbx), %edi movq _CEC_TX_STATUS_NACK@GOTPCREL(%rip), %rcx movq _CEC_TX_STATUS_MAX_RETRIES@GOTPCREL(%rip), %rdx movl (%rdx), %esi orl (%rcx), %esi shrl $4, %eax andl $7, %eax xorl %edx, %edx movl %eax, %ecx jmp LBB0_4 LBB0_1: movl 4(%rbx), %edi movq _CEC_TX_STATUS_OK@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx xorl %ecx, %ecx LBB0_4: xorl %r8d, %r8d xorl %r9d, %r9d callq _cec_transmit_done movl (%rbx), %edi movq _HDMI_CEC_DBG_3@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %edx movl $7, %ecx movl $7, %r8d callq _REG_FLD_MOD LBB0_5: testb $2, %r14b jne LBB0_7 ## %bb.6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _hdmi_cec_received_msg ## TAILCALL .cfi_endproc ## -- End function .comm _HDMI_CEC_INT_STATUS_0,4,2 ## @HDMI_CEC_INT_STATUS_0 .comm _HDMI_CEC_INT_STATUS_1,4,2 ## @HDMI_CEC_INT_STATUS_1 .comm _CEC_TX_STATUS_OK,4,2 ## @CEC_TX_STATUS_OK .comm _HDMI_CEC_DBG_3,4,2 ## @HDMI_CEC_DBG_3 .comm _CEC_TX_STATUS_NACK,4,2 ## @CEC_TX_STATUS_NACK .comm _CEC_TX_STATUS_MAX_RETRIES,4,2 ## @CEC_TX_STATUS_MAX_RETRIES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hdmi4_cec_irq ; -- Begin function hdmi4_cec_irq .p2align 2 _hdmi4_cec_irq: ; @hdmi4_cec_irq .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 ldr w0, [x0] Lloh0: adrp x22, _HDMI_CEC_INT_STATUS_0@GOTPAGE Lloh1: ldr x22, [x22, _HDMI_CEC_INT_STATUS_0@GOTPAGEOFF] ldr w1, [x22] bl _hdmi_read_reg mov x20, x0 ldr w0, [x19] Lloh2: adrp x23, _HDMI_CEC_INT_STATUS_1@GOTPAGE Lloh3: ldr x23, [x23, _HDMI_CEC_INT_STATUS_1@GOTPAGEOFF] ldr w1, [x23] bl _hdmi_read_reg mov x21, x0 ldr w0, [x19] ldr w1, [x22] mov x2, x20 bl _hdmi_write_reg ldr w0, [x19] ldr w1, [x23] mov x2, x21 bl _hdmi_write_reg Lloh4: adrp x22, _HDMI_CEC_DBG_3@GOTPAGE Lloh5: ldr x22, [x22, _HDMI_CEC_DBG_3@GOTPAGEOFF] tbnz w20, #5, LBB0_3 ; %bb.1: tbz w21, #1, LBB0_5 ; %bb.2: ldr w0, [x19] ldr w1, [x22] bl _hdmi_read_reg ldr w8, [x19, #4] Lloh6: adrp x9, _CEC_TX_STATUS_NACK@GOTPAGE Lloh7: ldr x9, [x9, _CEC_TX_STATUS_NACK@GOTPAGEOFF] Lloh8: ldr w9, [x9] Lloh9: adrp x10, _CEC_TX_STATUS_MAX_RETRIES@GOTPAGE Lloh10: ldr x10, [x10, _CEC_TX_STATUS_MAX_RETRIES@GOTPAGEOFF] Lloh11: ldr w10, [x10] orr w1, w10, w9 ubfx w3, w0, #4, #3 mov x0, x8 mov w2, #0 b LBB0_4 LBB0_3: ldr w0, [x19, #4] Lloh12: adrp x8, _CEC_TX_STATUS_OK@GOTPAGE Lloh13: ldr x8, [x8, _CEC_TX_STATUS_OK@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov w2, #0 mov w3, #0 LBB0_4: mov w4, #0 mov w5, #0 bl _cec_transmit_done ldr w0, [x19] ldr w1, [x22] mov w2, #1 mov w3, #7 mov w4, #7 bl _REG_FLD_MOD LBB0_5: tbnz w20, #1, LBB0_7 ; %bb.6: 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 LBB0_7: mov x0, x19 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 _hdmi_cec_received_msg .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _HDMI_CEC_INT_STATUS_0,4,2 ; @HDMI_CEC_INT_STATUS_0 .comm _HDMI_CEC_INT_STATUS_1,4,2 ; @HDMI_CEC_INT_STATUS_1 .comm _CEC_TX_STATUS_OK,4,2 ; @CEC_TX_STATUS_OK .comm _HDMI_CEC_DBG_3,4,2 ; @HDMI_CEC_DBG_3 .comm _CEC_TX_STATUS_NACK,4,2 ; @CEC_TX_STATUS_NACK .comm _CEC_TX_STATUS_MAX_RETRIES,4,2 ; @CEC_TX_STATUS_MAX_RETRIES .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi4_cec.c_hdmi4_cec_irq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .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 subq $24, %rsp .cfi_offset %rbx, -24 movq $0, -16(%rbp) leaq _handler(%rip), %rax movq %rax, -24(%rbp) movl $16, -12(%rbp) leaq -24(%rbp), %rsi movl $6, %edi xorl %edx, %edx callq _sigaction callq _getpid movl %eax, %edi movl $6, %esi callq _kill callq _getpid movl %eax, %edi movl $6, %esi callq _kill callq _getpid movl %eax, %edi movl $6, %esi callq _kill movl $0, _counter(%rip) callq _getpid movl %eax, %ebx movl %eax, %edi movl $6, %esi callq _kill movl %ebx, %edi movl $6, %esi callq _kill movl %ebx, %edi movl $6, %esi callq _kill xorl %eax, %eax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function handler _handler: ## @handler .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp incl _counter(%rip) popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_counter,4,2 ## @counter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 Lloh0: adrp x8, _handler@PAGE Lloh1: add x8, x8, _handler@PAGEOFF stp x8, xzr, [sp] mov w8, #16 str w8, [sp, #12] mov x1, sp mov w0, #6 mov x2, #0 bl _sigaction bl _getpid mov w1, #6 bl _kill bl _getpid mov w1, #6 bl _kill bl _getpid mov w1, #6 bl _kill adrp x8, _counter@PAGE str wzr, [x8, _counter@PAGEOFF] bl _getpid mov x19, x0 mov w1, #6 bl _kill mov x0, x19 mov w1, #6 bl _kill mov x0, x19 mov w1, #6 bl _kill 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 Lloh0, Lloh1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function handler _handler: ; @handler .cfi_startproc ; %bb.0: adrp x8, _counter@PAGE ldr w9, [x8, _counter@PAGEOFF] add w9, w9, #1 str w9, [x8, _counter@PAGEOFF] ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_counter,4,2 ; @counter .subsections_via_symbols
the_stack_data/187642086.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _au_strerror ## -- Begin function au_strerror .p2align 4, 0x90 _au_strerror: ## @au_strerror .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _bsm_lookup_errno_bsm testq %rax, %rax je LBB0_1 ## %bb.2: movq (%rax), %rdi movq _ERRNO_NO_LOCAL_MAPPING@GOTPCREL(%rip), %rcx cmpq (%rcx), %rdi jne LBB0_5 ## %bb.3: movq 8(%rax), %rax popq %rbp retq LBB0_1: leaq L_.str(%rip), %rax popq %rbp retq LBB0_5: popq %rbp jmp _strerror ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unrecognized BSM error" .comm _ERRNO_NO_LOCAL_MAPPING,8,3 ## @ERRNO_NO_LOCAL_MAPPING .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _au_strerror ; -- Begin function au_strerror .p2align 2 _au_strerror: ; @au_strerror .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 _bsm_lookup_errno_bsm cbz x0, LBB0_3 ; %bb.1: ldr x8, [x0] Lloh0: adrp x9, _ERRNO_NO_LOCAL_MAPPING@GOTPAGE Lloh1: ldr x9, [x9, _ERRNO_NO_LOCAL_MAPPING@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.2: ldr x0, [x0, #8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_3: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_4: mov x0, x8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _strerror .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unrecognized BSM error" .comm _ERRNO_NO_LOCAL_MAPPING,8,3 ; @ERRNO_NO_LOCAL_MAPPING .subsections_via_symbols
AnghaBench/freebsd/sys/security/audit/extr_bsm_errno.c_au_strerror.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlnxr_create_srq ## -- Begin function qlnxr_create_srq .p2align 4, 0x90 _qlnxr_create_srq: ## @qlnxr_create_srq .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 $120, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r12 callq _get_qlnxr_pd movq %rax, -72(%rbp) ## 8-byte Spill movl 8(%r12), %edi callq _get_qlnxr_dev movq %rax, %r15 movq 8(%rax), %r13 leaq L_.str(%rip), %rsi movq %r13, %rdi xorl %eax, %eax callq _QL_DPRINT12 movq %r12, %rdi movq %r15, %rsi movq %rbx, -80(%rbp) ## 8-byte Spill movq %rbx, %rdx callq _qlnxr_check_srq_params movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $64, %edi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %r13, -64(%rbp) ## 8-byte Spill movq %r15, 56(%rax) leaq 32(%rax), %rdi callq _spin_lock_init leaq -120(%rbp), %rdi xorl %esi, %esi movl $40, %edx callq _memset testq %r14, %r14 je LBB0_9 ## %bb.3: movq (%r12), %rax testq %rax, %rax je LBB0_9 ## %bb.4: movq (%rax), %r12 testq %r12, %r12 je LBB0_9 ## %bb.5: movq %r12, %rdi callq _get_qlnxr_ucontext leaq -160(%rbp), %r13 movq %r13, %rdi xorl %esi, %esi movl $40, %edx callq _memset movl (%r14), %esi movl $40, %edi callq _min movq %r13, %rdi movq %r14, %rsi movl %eax, %edx callq _ib_copy_from_udata testq %rax, %rax je LBB0_7 ## %bb.6: leaq L_.str.2(%rip), %rsi movq -64(%rbp), %rdi ## 8-byte Reload callq _QL_DPRINT11 jmp LBB0_20 LBB0_9: movq %rbx, %rdi movq %r15, %rsi movq -80(%rbp), %rdx ## 8-byte Reload callq _qlnxr_alloc_srq_kernel_params testl %eax, %eax jne LBB0_20 ## %bb.10: leaq 48(%rbx), %r13 movq %r13, %rdi callq _ecore_chain_get_page_cnt movq %rax, %r12 movq %r13, %rdi callq _ecore_chain_get_pbl_phys movl 48(%rbx), %ecx shll $4, %ecx movslq %ecx, %rcx LBB0_11: movq -72(%rbp), %rsi ## 8-byte Reload movq 40(%rbx), %rdx movl (%rsi), %esi movl %esi, -88(%rbp) movq %rax, -96(%rbp) movq %rdx, -104(%rbp) movq %r12, -112(%rbp) movq %rcx, -120(%rbp) movl (%r15), %edi leaq -120(%rbp), %rsi leaq -48(%rbp), %rdx callq _ecore_rdma_create_srq testl %eax, %eax je LBB0_12 ## %bb.17: testq %r14, %r14 jne LBB0_18 ## %bb.19: movq %rbx, %rdi callq _qlnxr_free_srq_kernel_params jmp LBB0_20 LBB0_1: leaq L_.str.1(%rip), %rsi movq %r13, %rdi callq _QL_DPRINT11 xorl %ebx, %ebx jmp LBB0_21 LBB0_12: movl -48(%rbp), %edx movl %edx, (%rbx) movq %r14, %rax testq %r14, %r14 movq -64(%rbp), %r14 ## 8-byte Reload je LBB0_15 ## %bb.13: movq %r15, %rdi movq %rbx, %rsi movq %rax, %rdx callq _qlnxr_copy_srq_uresp testl %eax, %eax je LBB0_14 ## %bb.16: leaq -120(%rbp), %rdi xorl %esi, %esi movl $40, %edx callq _memset movl (%rbx), %eax movl %eax, -56(%rbp) movl (%r15), %edi leaq -56(%rbp), %rsi callq _ecore_rdma_destroy_srq LBB0_18: movq %rbx, %rdi callq _qlnxr_free_srq_user_params jmp LBB0_20 LBB0_7: leaq -160(%rbp), %rdx movq %r12, %rdi movq %rbx, %rsi xorl %ecx, %ecx xorl %r8d, %r8d callq _qlnxr_init_srq_user_params testl %eax, %eax je LBB0_8 LBB0_20: movq %rbx, %rdi callq _kfree movq _EFAULT@GOTPCREL(%rip), %rax xorl %edi, %edi subl (%rax), %edi callq _ERR_PTR movq %rax, %rbx LBB0_21: movq %rbx, %rax addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movq 24(%rbx), %r12 movq 8(%rbx), %rcx movq 16(%rbx), %rax movq (%rax), %rax movq (%rcx), %rcx jmp LBB0_11 LBB0_14: movl (%rbx), %edx LBB0_15: leaq L_.str.3(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _QL_DPRINT12 addq $4, %rbx jmp LBB0_21 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "enter\n" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL L_.str.1: ## @.str.1 .asciz "cannot allocate memory for srq\n" L_.str.2: ## @.str.2 .asciz "problem copying data from user space\n" L_.str.3: ## @.str.3 .asciz "created srq with srq_id = 0x%0x\n" .comm _EFAULT,4,2 ## @EFAULT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlnxr_create_srq ; -- Begin function qlnxr_create_srq .p2align 2 _qlnxr_create_srq: ; @qlnxr_create_srq .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x26, x25, [sp, #112] ; 16-byte Folded Spill stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .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 x22, x2 mov x24, x1 mov x25, x0 bl _get_qlnxr_pd mov x23, x0 ldr w0, [x25, #8] bl _get_qlnxr_dev mov x21, x0 ldr x20, [x0, #8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _QL_DPRINT12 mov x0, x25 mov x1, x21 mov x2, x24 bl _qlnxr_check_srq_params Lloh2: adrp x8, _GFP_KERNEL@GOTPAGE Lloh3: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov w0, #64 bl _kzalloc cbz x0, LBB0_11 ; %bb.1: mov x19, x0 str x21, [x0, #56] add x0, x0, #32 bl _spin_lock_init add x0, sp, #56 mov w1, #0 mov w2, #40 bl _memset cbz x22, LBB0_6 ; %bb.2: ldr x8, [x25] cbz x8, LBB0_6 ; %bb.3: ldr x25, [x8] cbz x25, LBB0_6 ; %bb.4: mov x0, x25 bl _get_qlnxr_ucontext add x0, sp, #16 mov w1, #0 mov w2, #40 bl _memset ldr w1, [x22] mov w0, #40 bl _min mov x2, x0 add x0, sp, #16 mov x1, x22 bl _ib_copy_from_udata cbz x0, LBB0_16 ; %bb.5: Lloh5: adrp x1, l_.str.2@PAGE Lloh6: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _QL_DPRINT11 b LBB0_17 LBB0_6: mov x0, x19 mov x1, x21 mov x2, x24 bl _qlnxr_alloc_srq_kernel_params cbnz w0, LBB0_17 ; %bb.7: add x25, x19, #48 mov x0, x25 bl _ecore_chain_get_page_cnt mov x24, x0 mov x0, x25 bl _ecore_chain_get_pbl_phys ldr w8, [x19, #48] lsl w8, w8, #4 sxtw x8, w8 LBB0_8: ldr x9, [x19, #40] ldr w10, [x23] str w10, [sp, #88] stp x9, x0, [sp, #72] stp x8, x24, [sp, #56] ldr w0, [x21] add x1, sp, #56 sub x2, x29, #80 bl _ecore_rdma_create_srq cbz w0, LBB0_12 ; %bb.9: cbnz x22, LBB0_15 ; %bb.10: mov x0, x19 bl _qlnxr_free_srq_kernel_params b LBB0_17 LBB0_11: Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _QL_DPRINT11 mov x0, #0 b LBB0_18 LBB0_12: ldur w8, [x29, #-80] str w8, [x19] cbz x22, LBB0_21 ; %bb.13: mov x0, x21 mov x1, x19 mov x2, x22 bl _qlnxr_copy_srq_uresp cbz w0, LBB0_20 ; %bb.14: add x0, sp, #56 mov w1, #0 mov w2, #40 bl _memset ldr w8, [x19] stur w8, [x29, #-72] ldr w0, [x21] sub x1, x29, #72 bl _ecore_rdma_destroy_srq LBB0_15: mov x0, x19 bl _qlnxr_free_srq_user_params b LBB0_17 LBB0_16: add x2, sp, #16 mov x0, x25 mov x1, x19 mov w3, #0 mov w4, #0 bl _qlnxr_init_srq_user_params cbz w0, LBB0_19 LBB0_17: mov x0, x19 bl _kfree Lloh9: adrp x8, _EFAULT@GOTPAGE Lloh10: ldr x8, [x8, _EFAULT@GOTPAGEOFF] Lloh11: ldr w8, [x8] neg w0, w8 bl _ERR_PTR LBB0_18: ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload ldp x26, x25, [sp, #112] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_19: ldp x8, x24, [x19, #16] ldr x9, [x19, #8] ldr x0, [x8] ldr x8, [x9] b LBB0_8 LBB0_20: ldr w8, [x19] LBB0_21: str x8, [sp] Lloh12: adrp x1, l_.str.3@PAGE Lloh13: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _QL_DPRINT12 add x0, x19, #4 b LBB0_18 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "enter\n" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL l_.str.1: ; @.str.1 .asciz "cannot allocate memory for srq\n" l_.str.2: ; @.str.2 .asciz "problem copying data from user space\n" l_.str.3: ; @.str.3 .asciz "created srq with srq_id = 0x%0x\n" .comm _EFAULT,4,2 ; @EFAULT .subsections_via_symbols
AnghaBench/freebsd/sys/dev/qlnx/qlnxr/extr_qlnxr_verbs.c_qlnxr_create_srq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evthread_use_windows_threads ## -- Begin function evthread_use_windows_threads .p2align 4, 0x90 _evthread_use_windows_threads: ## @evthread_use_windows_threads .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq _EVTHREAD_LOCK_API_VERSION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) movq _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movq _evthread_win32_lock_create@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movq _evthread_win32_lock_free@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -36(%rbp) movq _evthread_win32_lock@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -32(%rbp) movq _evthread_win32_unlock@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movq _EVTHREAD_CONDITION_API_VERSION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -24(%rbp) movq _evthread_win32_cond_alloc@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) movq _evthread_win32_cond_free@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -16(%rbp) movq _evthread_win32_cond_signal@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) movq _evthread_win32_cond_wait@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -8(%rbp) leaq -48(%rbp), %rdi callq _evthread_set_lock_callbacks movq _evthread_win32_get_id@GOTPCREL(%rip), %rax movl (%rax), %edi callq _evthread_set_id_callback leaq -24(%rbp), %rdi callq _evthread_set_condition_callbacks xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EVTHREAD_LOCK_API_VERSION,4,2 ## @EVTHREAD_LOCK_API_VERSION .comm _EVTHREAD_LOCKTYPE_RECURSIVE,4,2 ## @EVTHREAD_LOCKTYPE_RECURSIVE .comm _evthread_win32_lock_create,4,2 ## @evthread_win32_lock_create .comm _evthread_win32_lock_free,4,2 ## @evthread_win32_lock_free .comm _evthread_win32_lock,4,2 ## @evthread_win32_lock .comm _evthread_win32_unlock,4,2 ## @evthread_win32_unlock .comm _EVTHREAD_CONDITION_API_VERSION,4,2 ## @EVTHREAD_CONDITION_API_VERSION .comm _evthread_win32_cond_alloc,4,2 ## @evthread_win32_cond_alloc .comm _evthread_win32_cond_free,4,2 ## @evthread_win32_cond_free .comm _evthread_win32_cond_signal,4,2 ## @evthread_win32_cond_signal .comm _evthread_win32_cond_wait,4,2 ## @evthread_win32_cond_wait .comm _evthread_win32_get_id,4,2 ## @evthread_win32_get_id .comm _evthread_win32_condvar_alloc,4,2 ## @evthread_win32_condvar_alloc .comm _evthread_win32_condvar_free,4,2 ## @evthread_win32_condvar_free .comm _evthread_win32_condvar_signal,4,2 ## @evthread_win32_condvar_signal .comm _evthread_win32_condvar_wait,4,2 ## @evthread_win32_condvar_wait .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evthread_use_windows_threads ; -- Begin function evthread_use_windows_threads .p2align 2 _evthread_use_windows_threads: ; @evthread_use_windows_threads .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 Lloh0: adrp x8, _EVTHREAD_LOCK_API_VERSION@GOTPAGE Lloh1: ldr x8, [x8, _EVTHREAD_LOCK_API_VERSION@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPAGE Lloh4: ldr x9, [x9, _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPAGEOFF] Lloh5: ldr w9, [x9] stp w8, w9, [sp, #24] Lloh6: adrp x8, _evthread_win32_lock_create@GOTPAGE Lloh7: ldr x8, [x8, _evthread_win32_lock_create@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x9, _evthread_win32_lock_free@GOTPAGE Lloh10: ldr x9, [x9, _evthread_win32_lock_free@GOTPAGEOFF] Lloh11: ldr w9, [x9] stp w8, w9, [sp, #32] Lloh12: adrp x8, _evthread_win32_lock@GOTPAGE Lloh13: ldr x8, [x8, _evthread_win32_lock@GOTPAGEOFF] Lloh14: adrp x9, _evthread_win32_unlock@GOTPAGE Lloh15: ldr x9, [x9, _evthread_win32_unlock@GOTPAGEOFF] Lloh16: ldr w8, [x8] Lloh17: ldr w9, [x9] stp w8, w9, [sp, #40] Lloh18: adrp x8, _EVTHREAD_CONDITION_API_VERSION@GOTPAGE Lloh19: ldr x8, [x8, _EVTHREAD_CONDITION_API_VERSION@GOTPAGEOFF] Lloh20: ldr w8, [x8] Lloh21: adrp x9, _evthread_win32_cond_alloc@GOTPAGE Lloh22: ldr x9, [x9, _evthread_win32_cond_alloc@GOTPAGEOFF] Lloh23: ldr w9, [x9] stp w8, w9, [sp] Lloh24: adrp x8, _evthread_win32_cond_free@GOTPAGE Lloh25: ldr x8, [x8, _evthread_win32_cond_free@GOTPAGEOFF] Lloh26: ldr w8, [x8] Lloh27: adrp x9, _evthread_win32_cond_signal@GOTPAGE Lloh28: ldr x9, [x9, _evthread_win32_cond_signal@GOTPAGEOFF] Lloh29: ldr w9, [x9] stp w8, w9, [sp, #8] Lloh30: adrp x8, _evthread_win32_cond_wait@GOTPAGE Lloh31: ldr x8, [x8, _evthread_win32_cond_wait@GOTPAGEOFF] Lloh32: ldr w8, [x8] str w8, [sp, #16] add x0, sp, #24 bl _evthread_set_lock_callbacks Lloh33: adrp x8, _evthread_win32_get_id@GOTPAGE Lloh34: ldr x8, [x8, _evthread_win32_get_id@GOTPAGEOFF] Lloh35: ldr w0, [x8] bl _evthread_set_id_callback mov x0, sp bl _evthread_set_condition_callbacks mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EVTHREAD_LOCK_API_VERSION,4,2 ; @EVTHREAD_LOCK_API_VERSION .comm _EVTHREAD_LOCKTYPE_RECURSIVE,4,2 ; @EVTHREAD_LOCKTYPE_RECURSIVE .comm _evthread_win32_lock_create,4,2 ; @evthread_win32_lock_create .comm _evthread_win32_lock_free,4,2 ; @evthread_win32_lock_free .comm _evthread_win32_lock,4,2 ; @evthread_win32_lock .comm _evthread_win32_unlock,4,2 ; @evthread_win32_unlock .comm _EVTHREAD_CONDITION_API_VERSION,4,2 ; @EVTHREAD_CONDITION_API_VERSION .comm _evthread_win32_cond_alloc,4,2 ; @evthread_win32_cond_alloc .comm _evthread_win32_cond_free,4,2 ; @evthread_win32_cond_free .comm _evthread_win32_cond_signal,4,2 ; @evthread_win32_cond_signal .comm _evthread_win32_cond_wait,4,2 ; @evthread_win32_cond_wait .comm _evthread_win32_get_id,4,2 ; @evthread_win32_get_id .comm _evthread_win32_condvar_alloc,4,2 ; @evthread_win32_condvar_alloc .comm _evthread_win32_condvar_free,4,2 ; @evthread_win32_condvar_free .comm _evthread_win32_condvar_signal,4,2 ; @evthread_win32_condvar_signal .comm _evthread_win32_condvar_wait,4,2 ; @evthread_win32_condvar_wait .subsections_via_symbols
AnghaBench/libevent/extr_evthread_win32.c_evthread_use_windows_threads.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sysc_check_registers _sysc_check_registers: ## @sysc_check_registers .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 _SYSC_MAX_REGS@GOTPCREL(%rip), %rax movl (%rax), %r8d testl %r8d, %r8d jle LBB0_1 ## %bb.2: movq (%rdi), %r11 movl %r8d, %r10d andl $-2, %r10d xorl %r9d, %r9d xorl %ecx, %ecx xorl %edx, %edx jmp LBB0_3 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 incl %edx LBB0_10: ## in Loop: Header=BB0_3 Depth=1 incq %r9 cmpq %r8, %r9 je LBB0_11 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movq (%r11,%r9,8), %r14 testq %r14, %r14 js LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movslq 8(%rdi), %rax addq $-4, %rax cmpq %rax, %r14 jg LBB0_15 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 xorl %eax, %eax cmpl $1, %r8d je LBB0_7 .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r11,%rax,8), %rsi movq 8(%r11,%rax,8), %r12 testq %rsi, %rsi setns %r15b cmpq %rsi, %r14 sete %bl andb %r15b, %bl movzbl %bl, %esi addl %ecx, %esi testq %r12, %r12 setns %cl cmpq %r12, %r14 sete %bl andb %cl, %bl movzbl %bl, %ecx addl %esi, %ecx addq $2, %rax cmpq %rax, %r10 jne LBB0_6 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 testb $1, %r8b je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq (%r11,%rax,8), %rax testq %rax, %rax setns %bl cmpq %rax, %r14 sete %al andb %bl, %al movzbl %al, %eax addl %eax, %ecx jmp LBB0_9 LBB0_1: xorl %ebx, %ebx jmp LBB0_14 LBB0_11: xorl %ebx, %ebx cmpl %edx, %ecx jle LBB0_14 ## %bb.12: movl 12(%rdi), %edi leaq L_.str.1(%rip), %rsi xorl %ebx, %ebx xorl %eax, %eax callq _dev_err jmp LBB0_13 LBB0_15: movl 12(%rdi), %edi leaq L_.str(%rip), %rsi xorl %ebx, %ebx xorl %eax, %eax callq _dev_err LBB0_13: movq _EINVAL@GOTPCREL(%rip), %rax subl (%rax), %ebx LBB0_14: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SYSC_MAX_REGS,4,2 ## @SYSC_MAX_REGS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "register outside module range" .comm _EINVAL,4,2 ## @EINVAL L_.str.1: ## @.str.1 .asciz "overlapping registers: (%i/%i)" .no_dead_strip _sysc_check_registers .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sysc_check_registers _sysc_check_registers: ; @sysc_check_registers .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, _SYSC_MAX_REGS@GOTPAGE Lloh1: ldr x8, [x8, _SYSC_MAX_REGS@GOTPAGEOFF] Lloh2: ldr w9, [x8] cmp w9, #1 b.lt LBB0_15 ; %bb.1: mov x10, #0 mov w15, #0 mov w8, #0 ldr x11, [x0] and x12, x9, #0xfffffff8 add x13, x11, #32 movi.2d v0, #0xffffffffffffffff b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w8, w8, #1 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x10, x10, #1 cmp x10, x9 b.eq LBB0_13 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ; Child Loop BB0_12 Depth 2 ldr x14, [x11, x10, lsl #3] tbnz x14, #63, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldrsw x16, [x0, #8] sub x16, x16, #4 cmp x14, x16 b.gt LBB0_16 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cmp w9, #8 b.hs LBB0_8 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 mov x17, #0 b LBB0_11 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 movi d1, #0000000000000000 mov.s v1[0], w15 dup.2d v3, x14 movi.2d v2, #0000000000000000 mov x15, x12 mov x16, x13 movi.2d v4, #0000000000000000 movi.2d v5, #0000000000000000 LBB0_9: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q6, q7, [x16, #-32] ldp q16, q17, [x16], #64 cmgt.2d v18, v6, v0 cmgt.2d v19, v7, v0 cmgt.2d v20, v16, v0 cmgt.2d v21, v17, v0 cmeq.2d v6, v3, v6 cmeq.2d v7, v3, v7 cmeq.2d v16, v3, v16 cmeq.2d v17, v3, v17 and.16b v6, v18, v6 xtn.2s v6, v6 and.16b v7, v19, v7 xtn.2s v7, v7 and.16b v16, v20, v16 xtn.2s v16, v16 and.16b v17, v21, v17 xtn.2s v17, v17 sub.2s v1, v1, v6 sub.2s v2, v2, v7 sub.2s v4, v4, v16 sub.2s v5, v5, v17 subs x15, x15, #8 b.ne LBB0_9 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 add.2s v1, v2, v1 add.2s v1, v4, v1 add.2s v1, v5, v1 addp.2s v1, v1, v1 fmov w15, s1 mov x17, x12 cmp x12, x9 b.eq LBB0_2 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 add x16, x11, x17, lsl #3 sub x17, x9, x17 LBB0_12: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x1, [x16], #8 cmp x1, #0 ccmp x14, x1, #0, ge cinc w15, w15, eq subs x17, x17, #1 b.ne LBB0_12 b LBB0_2 LBB0_13: cmp w15, w8 b.le LBB0_15 ; %bb.14: ldr w0, [x0, #12] stp x8, x15, [sp] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF b LBB0_17 LBB0_15: mov w0, #0 b LBB0_18 LBB0_16: ldr w0, [x0, #12] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF LBB0_17: bl _dev_err Lloh7: adrp x8, _EINVAL@GOTPAGE Lloh8: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh9: ldr w8, [x8] neg w0, w8 LBB0_18: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _SYSC_MAX_REGS,4,2 ; @SYSC_MAX_REGS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "register outside module range" .comm _EINVAL,4,2 ; @EINVAL l_.str.1: ; @.str.1 .asciz "overlapping registers: (%i/%i)" .no_dead_strip _sysc_check_registers .subsections_via_symbols
AnghaBench/linux/drivers/bus/extr_ti-sysc.c_sysc_check_registers.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nvme_ctrlr_async_event_log_page_cb _nvme_ctrlr_async_event_log_page_cb: ## @nvme_ctrlr_async_event_log_page_cb .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 %rdi, %r14 movq %rsi, %rdi callq _nvme_completion_is_error testq %rax, %rax je LBB0_2 ## %bb.1: movq 8(%r14), %rdi leaq 32(%r14), %rsi movl (%r14), %edx xorl %ecx, %ecx xorl %r8d, %r8d jmp LBB0_24 LBB0_2: movl (%r14), %eax leal -128(%rax), %ecx cmpl $7, %ecx ja LBB0_16 ## %bb.3: leaq LJTI0_0(%rip), %rax movslq (%rax,%rcx,4), %rcx addq %rax, %rcx jmpq *%rcx LBB0_12: movq 24(%r14), %rdi callq _nvme_sanitize_status_page_swapbytes jmp LBB0_14 LBB0_11: movq 24(%r14), %rdi callq _nvme_res_notification_page_swapbytes jmp LBB0_14 LBB0_7: movq 24(%r14), %rdi callq _nvme_health_information_page_swapbytes jmp LBB0_14 LBB0_8: movq 24(%r14), %rdi callq _nvme_firmware_page_swapbytes jmp LBB0_14 LBB0_4: movq 8(%r14), %rax cmpl $0, 4(%rax) js LBB0_14 ## %bb.5: movl 24(%r14), %r15d movl $-1, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movl %r15d, %edi callq _nvme_error_information_entry_swapbytes movq 8(%r14), %rax incl %ebx addl $4, %r15d cmpl 4(%rax), %ebx jl LBB0_6 jmp LBB0_14 LBB0_10: movq 24(%r14), %rdi callq _nvme_command_effects_page_swapbytes jmp LBB0_14 LBB0_9: movq 24(%r14), %rdi callq _nvme_ns_list_swapbytes jmp LBB0_14 LBB0_13: movq 24(%r14), %rdi callq _intel_log_temp_stats_swapbytes LBB0_14: movl (%r14), %eax cmpl $130, %eax jne LBB0_16 ## %bb.15: movq 8(%r14), %rdi movq 24(%r14), %rbx movl (%rbx), %esi callq _nvme_ctrlr_log_critical_warnings movl (%rbx), %esi notl %esi movq 8(%r14), %rdi andl (%rdi), %esi movl %esi, (%rdi) xorl %edx, %edx xorl %ecx, %ecx callq _nvme_ctrlr_cmd_set_async_event_config jmp LBB0_23 LBB0_16: cmpl $134, %eax jne LBB0_23 ## %bb.17: movq _nvme_use_nvd@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_23 ## %bb.18: movq 24(%r14), %r15 movq (%r15), %rdi callq _nitems testl %eax, %eax jle LBB0_23 ## %bb.19: xorl %ebx, %ebx movq _NVME_MAX_NAMESPACES@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rax movq (%rax,%rbx,8), %rsi testq %rsi, %rsi je LBB0_23 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 cmpq (%r12), %rsi jg LBB0_23 ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 movq 8(%r14), %rdi callq _nvme_notify_ns incq %rbx movq (%r15), %rdi callq _nitems cltq cmpq %rax, %rbx jl LBB0_20 LBB0_23: movq 8(%r14), %rdi leaq 32(%r14), %rsi movl (%r14), %edx movq 24(%r14), %rcx movl 16(%r14), %r8d LBB0_24: callq _nvme_notify_async_consumers movq 8(%r14), %rdi movq %r14, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _nvme_ctrlr_construct_and_submit_aer ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 LJTI0_0: .long L0_0_set_12 .long L0_0_set_11 .long L0_0_set_7 .long L0_0_set_8 .long L0_0_set_4 .long L0_0_set_10 .long L0_0_set_9 .long L0_0_set_13 .end_data_region ## -- End function .comm _nvme_use_nvd,4,2 ## @nvme_use_nvd .comm _NVME_MAX_NAMESPACES,8,3 ## @NVME_MAX_NAMESPACES .no_dead_strip _nvme_ctrlr_async_event_log_page_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nvme_ctrlr_async_event_log_page_cb _nvme_ctrlr_async_event_log_page_cb: ; @nvme_ctrlr_async_event_log_page_cb .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 mov x0, x1 bl _nvme_completion_is_error cbz x0, LBB0_2 ; %bb.1: ldr x0, [x19, #8] add x1, x19, #32 ldr w2, [x19] mov x3, #0 mov w4, #0 b LBB0_22 LBB0_2: ldr w8, [x19] sub w9, w8, #128 cmp w9, #7 b.hi LBB0_16 ; %bb.3: Lloh0: adrp x8, lJTI0_0@PAGE Lloh1: add x8, x8, lJTI0_0@PAGEOFF adr x10, LBB0_4 ldrb w11, [x8, x9] add x10, x10, x11, lsl #2 br x10 LBB0_4: ldr x0, [x19, #24] bl _nvme_sanitize_status_page_swapbytes b LBB0_14 LBB0_5: ldr x0, [x19, #24] bl _nvme_res_notification_page_swapbytes b LBB0_14 LBB0_6: ldr x0, [x19, #24] bl _nvme_health_information_page_swapbytes b LBB0_14 LBB0_7: ldr x0, [x19, #24] bl _nvme_firmware_page_swapbytes b LBB0_14 LBB0_8: ldr x8, [x19, #8] ldr w8, [x8, #4] tbnz w8, #31, LBB0_14 ; %bb.9: ldr w20, [x19, #24] mov w21, #-1 LBB0_10: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _nvme_error_information_entry_swapbytes ldr x8, [x19, #8] ldr w8, [x8, #4] add w21, w21, #1 add w20, w20, #4 cmp w21, w8 b.lt LBB0_10 b LBB0_14 LBB0_11: ldr x0, [x19, #24] bl _nvme_command_effects_page_swapbytes b LBB0_14 LBB0_12: ldr x0, [x19, #24] bl _nvme_ns_list_swapbytes b LBB0_14 LBB0_13: ldr x0, [x19, #24] bl _intel_log_temp_stats_swapbytes LBB0_14: ldr w8, [x19] cmp w8, #130 b.ne LBB0_16 ; %bb.15: ldr x20, [x19, #24] ldr x0, [x19, #8] ldr w1, [x20] bl _nvme_ctrlr_log_critical_warnings ldr w8, [x20] ldr x0, [x19, #8] ldr w9, [x0] bic w1, w9, w8 str w1, [x0] mov x2, #0 mov x3, #0 bl _nvme_ctrlr_cmd_set_async_event_config b LBB0_21 LBB0_16: Lloh2: adrp x9, _nvme_use_nvd@GOTPAGE Lloh3: ldr x9, [x9, _nvme_use_nvd@GOTPAGEOFF] Lloh4: ldr w9, [x9] cmp w8, #134 ccmp w9, #0, #0, eq b.ne LBB0_21 ; %bb.17: ldr x20, [x19, #24] ldr x0, [x20] bl _nitems cmp w0, #1 b.lt LBB0_21 ; %bb.18: mov x21, #0 Lloh5: adrp x22, _NVME_MAX_NAMESPACES@GOTPAGE Lloh6: ldr x22, [x22, _NVME_MAX_NAMESPACES@GOTPAGEOFF] LBB0_19: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20] ldr x1, [x8, x21, lsl #3] ldr x8, [x22] cmp x1, #0 ccmp x1, x8, #0, ne b.gt LBB0_21 ; %bb.20: ; in Loop: Header=BB0_19 Depth=1 ldr x0, [x19, #8] bl _nvme_notify_ns add x21, x21, #1 ldr x0, [x20] bl _nitems cmp x21, w0, sxtw b.lt LBB0_19 LBB0_21: ldr x0, [x19, #8] add x1, x19, #32 ldr w2, [x19] ldr x3, [x19, #24] ldr w4, [x19, #16] LBB0_22: bl _nvme_notify_async_consumers ldr x0, [x19, #8] mov x1, 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 _nvme_ctrlr_construct_and_submit_aer .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_5-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_7-LBB0_4)>>2 .byte (LBB0_8-LBB0_4)>>2 .byte (LBB0_11-LBB0_4)>>2 .byte (LBB0_12-LBB0_4)>>2 .byte (LBB0_13-LBB0_4)>>2 ; -- End function .comm _nvme_use_nvd,4,2 ; @nvme_use_nvd .comm _NVME_MAX_NAMESPACES,8,3 ; @NVME_MAX_NAMESPACES .no_dead_strip _nvme_ctrlr_async_event_log_page_cb .subsections_via_symbols
AnghaBench/freebsd/sys/dev/nvme/extr_nvme_ctrlr.c_nvme_ctrlr_async_event_log_page_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AcpiUtWalkAmlResources ## -- Begin function AcpiUtWalkAmlResources .p2align 4, 0x90 _AcpiUtWalkAmlResources: ## @AcpiUtWalkAmlResources .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 movq %r8, -56(%rbp) ## 8-byte Spill movq %rcx, %r12 movl %edx, %r14d movq %rsi, %rbx movq %rdi, -64(%rbp) ## 8-byte Spill movq $121, -80(%rbp) movq _UtWalkAmlResources@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ACPI_FUNCTION_TRACE cmpl $3, %r14d ja LBB0_2 ## %bb.1: movq _AE_AML_NO_RESOURCE_END_TAG@GOTPCREL(%rip), %rax movl (%rax), %edi callq _return_ACPI_STATUS LBB0_2: testl %r14d, %r14d jle LBB0_3 ## %bb.4: movslq %r14d, %rax leaq (%rbx,%rax,4), %rax movq %rax, -72(%rbp) ## 8-byte Spill xorl %r13d, %r13d jmp LBB0_5 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_5 Depth=1 testq %r12, %r12 je LBB0_14 LBB0_15: ## in Loop: Header=BB0_5 Depth=1 movq _AE_OK@GOTPCREL(%rip), %rax movl (%rax), %edi callq _return_ACPI_STATUS LBB0_16: ## in Loop: Header=BB0_5 Depth=1 movslq %r14d, %rax leaq (%rbx,%rax,4), %rbx addl %r14d, %r13d cmpq -72(%rbp), %rbx ## 8-byte Folded Reload jae LBB0_17 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi leaq -44(%rbp), %rdx callq _AcpiUtValidateResource movl %eax, %r14d movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl %r14d, %edi callq _return_ACPI_STATUS LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rdi callq _AcpiUtGetDescriptorLength movl %eax, %r14d testq %r12, %r12 je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movl -44(%rbp), %ecx movq %rbx, %rdi movl %r14d, %esi movl %r13d, %edx movq -56(%rbp), %r8 ## 8-byte Reload callq *%r12 movl %eax, %r15d movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movl %r15d, %edi callq _return_ACPI_STATUS LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rdi callq _AcpiUtGetResourceType movq _ACPI_RESOURCE_NAME_END_TAG@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_16 ## %bb.11: ## in Loop: Header=BB0_5 Depth=1 leaq 4(%rbx), %rax cmpq -72(%rbp), %rax ## 8-byte Folded Reload jb LBB0_13 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 movq _AE_AML_NO_RESOURCE_END_TAG@GOTPCREL(%rip), %rax movl (%rax), %edi callq _return_ACPI_STATUS jmp LBB0_13 LBB0_14: ## in Loop: Header=BB0_5 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax) jmp LBB0_15 LBB0_3: xorl %r13d, %r13d LBB0_17: testq %r12, %r12 je LBB0_20 ## %bb.18: leaq -80(%rbp), %rbx leaq -44(%rbp), %rdx movq -64(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _AcpiUtValidateResource movl -44(%rbp), %ecx movq %rbx, %rdi movl $2, %esi movl %r13d, %edx movq -56(%rbp), %r8 ## 8-byte Reload callq *%r12 movl %eax, %ebx movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax je LBB0_20 ## %bb.19: movl %ebx, %edi callq _return_ACPI_STATUS LBB0_20: movq _AE_AML_NO_RESOURCE_END_TAG@GOTPCREL(%rip), %rax movl (%rax), %edi callq _return_ACPI_STATUS addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _UtWalkAmlResources,4,2 ## @UtWalkAmlResources .comm _AE_AML_NO_RESOURCE_END_TAG,4,2 ## @AE_AML_NO_RESOURCE_END_TAG .comm _ACPI_RESOURCE_NAME_END_TAG,8,3 ## @ACPI_RESOURCE_NAME_END_TAG .comm _AE_OK,4,2 ## @AE_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AcpiUtWalkAmlResources ; -- Begin function AcpiUtWalkAmlResources .p2align 2 _AcpiUtWalkAmlResources: ; @AcpiUtWalkAmlResources .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 mov x20, x4 mov x19, x3 mov x24, x2 mov x22, x1 mov x21, x0 mov w8, #121 str x8, [sp] Lloh0: adrp x8, _UtWalkAmlResources@GOTPAGE Lloh1: ldr x8, [x8, _UtWalkAmlResources@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _ACPI_FUNCTION_TRACE cmp w24, #3 b.hi LBB0_2 ; %bb.1: Lloh3: adrp x8, _AE_AML_NO_RESOURCE_END_TAG@GOTPAGE Lloh4: ldr x8, [x8, _AE_AML_NO_RESOURCE_END_TAG@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _return_ACPI_STATUS LBB0_2: cmp w24, #1 b.lt LBB0_16 ; %bb.3: mov w23, #0 sxtw x8, w24 add x27, x22, x8, lsl #2 Lloh6: adrp x28, _ACPI_RESOURCE_NAME_END_TAG@GOTPAGE Lloh7: ldr x28, [x28, _ACPI_RESOURCE_NAME_END_TAG@GOTPAGEOFF] Lloh8: adrp x26, _AE_OK@GOTPAGE Lloh9: ldr x26, [x26, _AE_OK@GOTPAGEOFF] b LBB0_7 LBB0_4: ; in Loop: Header=BB0_7 Depth=1 cbz x19, LBB0_15 LBB0_5: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [x26] bl _return_ACPI_STATUS LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x22, x22, w24, sxtw #2 add w23, w24, w23 cmp x22, x27 b.hs LBB0_17 LBB0_7: ; =>This Inner Loop Header: Depth=1 add x2, sp, #12 mov x0, x21 mov x1, x22 bl _AcpiUtValidateResource mov x24, x0 bl _ACPI_FAILURE cbz x0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov x0, x24 bl _return_ACPI_STATUS LBB0_9: ; in Loop: Header=BB0_7 Depth=1 mov x0, x22 bl _AcpiUtGetDescriptorLength mov x24, x0 cbz x19, LBB0_12 ; %bb.10: ; in Loop: Header=BB0_7 Depth=1 ldr w3, [sp, #12] mov x0, x22 mov x1, x24 mov x2, x23 mov x4, x20 blr x19 mov x25, x0 bl _ACPI_FAILURE cbz x0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_7 Depth=1 mov x0, x25 bl _return_ACPI_STATUS LBB0_12: ; in Loop: Header=BB0_7 Depth=1 mov x0, x22 bl _AcpiUtGetResourceType ldr x8, [x28] cmp x0, x8 b.ne LBB0_6 ; %bb.13: ; in Loop: Header=BB0_7 Depth=1 add x8, x22, #4 cmp x8, x27 b.lo LBB0_4 ; %bb.14: ; in Loop: Header=BB0_7 Depth=1 Lloh10: adrp x8, _AE_AML_NO_RESOURCE_END_TAG@GOTPAGE Lloh11: ldr x8, [x8, _AE_AML_NO_RESOURCE_END_TAG@GOTPAGEOFF] Lloh12: ldr w0, [x8] bl _return_ACPI_STATUS b LBB0_4 LBB0_15: ; in Loop: Header=BB0_7 Depth=1 str x22, [x20] b LBB0_5 LBB0_16: mov w23, #0 LBB0_17: cbz x19, LBB0_20 ; %bb.18: mov x1, sp add x2, sp, #12 mov x0, x21 bl _AcpiUtValidateResource ldr w3, [sp, #12] mov x0, sp mov w1, #2 mov x2, x23 mov x4, x20 blr x19 mov x19, x0 bl _ACPI_FAILURE cbz x0, LBB0_20 ; %bb.19: mov x0, x19 bl _return_ACPI_STATUS LBB0_20: Lloh13: adrp x8, _AE_AML_NO_RESOURCE_END_TAG@GOTPAGE Lloh14: ldr x8, [x8, _AE_AML_NO_RESOURCE_END_TAG@GOTPAGEOFF] Lloh15: ldr w0, [x8] bl _return_ACPI_STATUS 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _UtWalkAmlResources,4,2 ; @UtWalkAmlResources .comm _AE_AML_NO_RESOURCE_END_TAG,4,2 ; @AE_AML_NO_RESOURCE_END_TAG .comm _ACPI_RESOURCE_NAME_END_TAG,8,3 ; @ACPI_RESOURCE_NAME_END_TAG .comm _AE_OK,4,2 ; @AE_OK .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/dev/acpica/components/utilities/extr_utresrc.c_AcpiUtWalkAmlResources.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .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 leaq L_.str(%rip), %rdi movq _s@GOTPCREL(%rip), %r14 movq %r14, %rsi xorl %eax, %eax callq _scanf movq %r14, %rdi callq _strlen leaq L_.str.2(%rip), %rdi cmpq $2, %rax jb LBB0_5 ## %bb.1: leaq (%rax,%r14), %rcx decq %rcx shrq %rax xorl %edx, %edx leaq L_.str.1(%rip), %rsi .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movzbl (%r14,%rdx), %ebx cmpb (%rcx), %bl jne LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incq %rdx decq %rcx cmpq %rdx, %rax jne LBB0_3 jmp LBB0_5 LBB0_4: movq %rsi, %rdi LBB0_5: xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .comm _s,10000,4 ## @s L_.str.1: ## @.str.1 .asciz "NO" L_.str.2: ## @.str.2 .asciz "YES" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 Lloh0: adrp x19, _s@GOTPAGE Lloh1: ldr x19, [x19, _s@GOTPAGEOFF] str x19, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _scanf mov x0, x19 bl _strlen cmp x0, #2 b.hs LBB0_2 ; %bb.1: Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF b LBB0_6 LBB0_2: lsr x8, x0, #1 add x9, x0, x19 sub x9, x9, #1 Lloh6: adrp x10, l_.str.1@PAGE Lloh7: add x10, x10, l_.str.1@PAGEOFF Lloh8: adrp x0, l_.str.2@PAGE Lloh9: add x0, x0, l_.str.2@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x19] ldrb w12, [x9] cmp w11, w12 b.ne LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 sub x9, x9, #1 add x19, x19, #1 subs x8, x8, #1 b.ne LBB0_3 b LBB0_6 LBB0_5: mov x0, x10 LBB0_6: bl _printf 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 Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .comm _s,10000,0 ; @s l_.str.1: ; @.str.1 .asciz "NO" l_.str.2: ; @.str.2 .asciz "YES" .subsections_via_symbols
the_stack_data/150140475.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _clear_oneshot_mods ## -- Begin function clear_oneshot_mods .p2align 4, 0x90 _clear_oneshot_mods: ## @clear_oneshot_mods .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _oneshot_mods@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_1 ## %bb.2: movq $0, (%rax) xorl %edi, %edi popq %rbp jmp _oneshot_mods_changed_kb ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .comm _oneshot_mods,8,3 ## @oneshot_mods .comm _oneshot_time,8,3 ## @oneshot_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _clear_oneshot_mods ; -- Begin function clear_oneshot_mods .p2align 2 _clear_oneshot_mods: ; @clear_oneshot_mods .cfi_startproc ; %bb.0: Lloh0: adrp x8, _oneshot_mods@GOTPAGE Lloh1: ldr x8, [x8, _oneshot_mods@GOTPAGEOFF] ldr x9, [x8] cbz x9, LBB0_2 ; %bb.1: str xzr, [x8] mov x0, #0 b _oneshot_mods_changed_kb LBB0_2: ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _oneshot_mods,8,3 ; @oneshot_mods .comm _oneshot_time,8,3 ; @oneshot_time .subsections_via_symbols
AnghaBench/qmk_firmware/tmk_core/common/extr_action_util.c_clear_oneshot_mods.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mx_sort_arr_int ## -- Begin function mx_sort_arr_int .p2align 4, 0x90 _mx_sort_arr_int: ## @mx_sort_arr_int .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $2, %esi jl LBB0_8 ## %bb.1: decl %esi movl %esi, %r8d movl %r8d, %r10d andl $-2, %r10d xorl %r9d, %r9d jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 incl %r9d cmpl %esi, %r9d je LBB0_8 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 movl (%rdi), %r11d cmpl $1, %esi jne LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorl %ecx, %ecx LBB0_4: ## in Loop: Header=BB0_2 Depth=1 testb $1, %r8b je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl 4(%rdi,%rcx,4), %eax cmpl %eax, %r11d jle LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl %eax, (%rdi,%rcx,4) movl %r11d, 4(%rdi,%rcx,4) jmp LBB0_7 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 xorl %edx, %edx jmp LBB0_10 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_10 Depth=2 movl %eax, 4(%rdi,%rdx,4) movl %r11d, 8(%rdi,%rdx,4) LBB0_16: ## in Loop: Header=BB0_10 Depth=2 movq %rcx, %rdx cmpq %rcx, %r10 je LBB0_4 LBB0_10: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl 4(%rdi,%rdx,4), %ecx cmpl %ecx, %r11d jle LBB0_11 ## %bb.12: ## in Loop: Header=BB0_10 Depth=2 movl %ecx, (%rdi,%rdx,4) movl %r11d, 4(%rdi,%rdx,4) jmp LBB0_13 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_10 Depth=2 movl %ecx, %r11d LBB0_13: ## in Loop: Header=BB0_10 Depth=2 leaq 2(%rdx), %rcx movl 8(%rdi,%rdx,4), %eax cmpl %eax, %r11d jg LBB0_15 ## %bb.14: ## in Loop: Header=BB0_10 Depth=2 movl %eax, %r11d jmp LBB0_16 LBB0_8: 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 _mx_sort_arr_int ; -- Begin function mx_sort_arr_int .p2align 2 _mx_sort_arr_int: ; @mx_sort_arr_int .cfi_startproc ; %bb.0: cmp w1, #2 b.lt LBB0_8 ; %bb.1: mov w8, #0 sub w9, w1, #1 add x10, x0, #4 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w8, w8, #1 cmp w8, w9 b.eq LBB0_8 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ldr w11, [x0] mov x12, x9 mov x13, x10 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=2 stp w14, w11, [x13, #-4] LBB0_5: ; in Loop: Header=BB0_6 Depth=2 add x13, x13, #4 subs x12, x12, #1 b.eq LBB0_2 LBB0_6: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w14, [x13] cmp w11, w14 b.gt LBB0_4 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 mov x11, x14 b LBB0_5 LBB0_8: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/248581672.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .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 movl $24216, %eax ## imm = 0x5E98 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movabsq $17179869184, %r13 ## imm = 0x400000000 movabsq $4294967296, %r14 ## imm = 0x100000000 leaq -24256(%rbp), %rdi movl $24000, %esi ## imm = 0x5DC0 callq ___bzero movl $1, %eax xorl %r9d, %r9d .p2align 4, 0x90 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_9 Depth 2 movq %r9, %r15 movq %rax, %r12 leaq L_.str.1(%rip), %rdi leaq -256(%rbp), %rbx movq %rbx, %rsi xorl %eax, %eax callq _scanf movq %rbx, %rdi callq _strlen testl %eax, %eax jle LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl %eax, %r8d leaq -1(%r8), %rcx andl $3, %eax cmpq $3, %rcx jae LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl $42, %edx xorl %ecx, %ecx jmp LBB0_7 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 movl $42, %edx jmp LBB0_10 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 subq %rax, %r8 movl $42, %edx movq %r13, %r9 movabsq $12884901888, %r10 ## imm = 0x300000000 movq %r14, %rsi movabsq $8589934592, %rdi ## imm = 0x200000000 xorl %ecx, %ecx .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movsbq -256(%rbp,%rcx), %rbx imulq %rsi, %rbx sarq $32, %rbx addq %rdx, %rbx movsbq -255(%rbp,%rcx), %rdx imulq %rdi, %rdx sarq $32, %rdx addq %rbx, %rdx movsbq -254(%rbp,%rcx), %rbx imulq %r10, %rbx sarq $32, %rbx addq %rdx, %rbx movsbq -253(%rbp,%rcx), %rdx addq $4, %rcx imulq %r9, %rdx sarq $32, %rdx addq %rbx, %rdx addq %r13, %rdi addq %r13, %rsi addq %r13, %r10 addq %r13, %r9 cmpq %rcx, %r8 jne LBB0_6 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 testq %rax, %rax je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 leaq (%rcx,%rbp), %rsi addq $-256, %rsi shlq $32, %rcx addq %r14, %rcx xorl %edi, %edi .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movsbq (%rsi,%rdi), %rbx imulq %rcx, %rbx sarq $32, %rbx addq %rbx, %rdx incq %rdi addq %r14, %rcx cmpq %rdi, %rax jne LBB0_9 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movq %rdx, -24256(%rbp,%r15,8) leaq 1(%r15), %r9 cmpq $2998, %r15 ## imm = 0xBB6 ja LBB0_12 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 leaq 1(%r12), %rax movabsq $30506445802664822, %rcx ## imm = 0x6C6173696D7376 cmpq %rcx, -256(%rbp) jne LBB0_1 LBB0_12: testl %r9d, %r9d je LBB0_13 ## %bb.14: movl %r9d, %r8d andq $-2, %r12 xorl %r10d, %r10d xorl %esi, %esi xorl %ebx, %ebx jmp LBB0_15 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_15 Depth=1 incq %r10 cmpq %r8, %r10 je LBB0_20 LBB0_15: ## =>This Loop Header: Depth=1 ## Child Loop BB0_16 Depth 2 movq -24256(%rbp,%r10,8), %r11 xorl %ecx, %ecx xorl %eax, %eax testq %r15, %r15 je LBB0_17 .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_15 Depth=1 ## => This Inner Loop Header: Depth=2 leal 1(%rax), %r14d cmpl %eax, %esi movq %r11, %rdi cmovgq %rbx, %rdi movl %r14d, %edx cmovgl %esi, %edx cmpq -24256(%rbp,%rcx,8), %r11 cmovneq %rbx, %rdi cmovnel %esi, %edx cmovel %r14d, %eax leal 1(%rax), %r14d cmpl %eax, %edx movq %r11, %rbx cmovgq %rdi, %rbx movl %r14d, %esi cmovgl %edx, %esi cmpq -24248(%rbp,%rcx,8), %r11 cmovneq %rdi, %rbx cmovnel %edx, %esi cmovel %r14d, %eax addq $2, %rcx cmpq %rcx, %r12 jne LBB0_16 LBB0_17: ## in Loop: Header=BB0_15 Depth=1 testb $1, %r9b je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_15 Depth=1 leal 1(%rax), %edx cmpl %eax, %esi movq %r11, %rax cmovgq %rbx, %rax cmovgl %esi, %edx cmpq -24256(%rbp,%rcx,8), %r11 cmoveq %rax, %rbx cmovel %edx, %esi jmp LBB0_19 LBB0_13: xorl %ebx, %ebx xorl %esi, %esi LBB0_20: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_22 ## %bb.21: xorl %eax, %eax addq $24216, %rsp ## imm = 0x5E98 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _hashing ## -- Begin function hashing .p2align 4, 0x90 _hashing: ## @hashing .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 callq _strlen testl %eax, %eax jle LBB1_1 ## %bb.2: movl %eax, %r8d leaq -1(%r8), %rcx andl $3, %eax cmpq $3, %rcx jae LBB1_4 ## %bb.3: movl $42, %ecx xorl %edx, %edx jmp LBB1_6 LBB1_1: movl $42, %ecx jmp LBB1_9 LBB1_4: subq %rax, %r8 movl $42, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB1_5: ## =>This Inner Loop Header: Depth=1 movsbl (%rbx,%rdx), %edi leal 1(%rdx), %esi imull %edi, %esi movslq %esi, %rsi addq %rcx, %rsi movsbl 1(%rbx,%rdx), %ecx leal 2(%rdx), %edi imull %ecx, %edi movslq %edi, %rcx addq %rsi, %rcx movsbl 2(%rbx,%rdx), %esi leal 3(%rdx), %edi imull %esi, %edi movslq %edi, %rsi addq %rcx, %rsi movsbl 3(%rbx,%rdx), %ecx addq $4, %rdx imull %edx, %ecx movslq %ecx, %rcx addq %rsi, %rcx cmpq %rdx, %r8 jne LBB1_5 LBB1_6: testq %rax, %rax je LBB1_9 ## %bb.7: incq %rdx .p2align 4, 0x90 LBB1_8: ## =>This Inner Loop Header: Depth=1 movsbl -1(%rbx,%rdx), %esi imull %edx, %esi movslq %esi, %rsi addq %rsi, %rcx incq %rdx decq %rax jne LBB1_8 LBB1_9: movq %rcx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _comparing ## -- Begin function comparing .p2align 4, 0x90 _comparing: ## @comparing .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 testl %esi, %esi jle LBB2_1 ## %bb.2: movl %esi, %r8d movl %r8d, %r10d andl $-2, %r10d xorl %r9d, %r9d xorl %eax, %eax xorl %r12d, %r12d jmp LBB2_3 .p2align 4, 0x90 LBB2_7: ## in Loop: Header=BB2_3 Depth=1 incq %r9 cmpq %r8, %r9 je LBB2_8 LBB2_3: ## =>This Loop Header: Depth=1 ## Child Loop BB2_4 Depth 2 movq (%rdi,%r9,8), %r11 xorl %r15d, %r15d xorl %ecx, %ecx cmpl $1, %esi je LBB2_5 .p2align 4, 0x90 LBB2_4: ## Parent Loop BB2_3 Depth=1 ## => This Inner Loop Header: Depth=2 leal 1(%rcx), %r14d cmpl %ecx, %eax movq %r11, %rdx cmovgq %r12, %rdx movl %r14d, %ebx cmovgl %eax, %ebx cmpq (%rdi,%r15,8), %r11 cmovneq %r12, %rdx cmovnel %eax, %ebx cmovel %r14d, %ecx leal 1(%rcx), %r14d cmpl %ecx, %ebx movq %r11, %r12 cmovgq %rdx, %r12 movl %r14d, %eax cmovgl %ebx, %eax cmpq 8(%rdi,%r15,8), %r11 cmovneq %rdx, %r12 cmovnel %ebx, %eax cmovel %r14d, %ecx addq $2, %r15 cmpq %r15, %r10 jne LBB2_4 LBB2_5: ## in Loop: Header=BB2_3 Depth=1 testb $1, %r8b je LBB2_7 ## %bb.6: ## in Loop: Header=BB2_3 Depth=1 leal 1(%rcx), %edx cmpl %ecx, %eax movq %r11, %rcx cmovgq %r12, %rcx cmovgl %eax, %edx cmpq (%rdi,%r15,8), %r11 cmoveq %rcx, %r12 cmovel %edx, %eax jmp LBB2_7 LBB2_1: xorl %r12d, %r12d xorl %eax, %eax LBB2_8: leaq L_.str.2(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi movq %r12, %rsi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%s" L_.str.2: ## @.str.2 .asciz "%d\n" L_.str.3: ## @.str.3 .asciz "%ld" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 w9, #24224 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #5, lsl #12 ; =20480 sub sp, sp, #3744 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-88] add x21, sp, #16 add x0, sp, #16 mov w1, #24000 bl _bzero mov x20, #0 add x22, sp, #5, lsl #12 ; =20480 add x22, x22, #3536 add x23, x22, #1 mov x24, #29558 movk x24, #26989, lsl #16 movk x24, #24947, lsl #32 movk x24, #108, lsl #48 Lloh5: adrp x19, l_.str.1@PAGE Lloh6: add x19, x19, l_.str.1@PAGEOFF mov x25, #4294967296 mov x26, #8589934592 b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 mov w11, #42 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 str x11, [x21, x20, lsl #3] add x20, x20, #1 cmp x20, #3000 b.eq LBB0_13 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_11 Depth 2 ldr x8, [sp, #24016] cmp x8, x24 b.eq LBB0_12 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 str x22, [sp] mov x0, x19 bl _scanf add x0, sp, #5, lsl #12 ; =20480 add x0, x0, #3536 bl _strlen cmp w0, #1 b.lt LBB0_1 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 and x8, x0, #0xffffffff cmp x8, #2 b.hs LBB0_7 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x9, #0 mov w11, #42 b LBB0_10 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 mov x11, #0 and x10, x0, #0x1 sub x9, x8, x10 mov x12, #8589934592 mov x13, #4294967296 mov x14, x9 mov x15, x23 mov w16, #42 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldursb x17, [x15, #-1] ldrsb x0, [x15] mul x17, x13, x17 mul x0, x12, x0 add x16, x16, x17, asr #32 add x11, x11, x0, asr #32 add x12, x12, x26 add x13, x13, x26 add x15, x15, #2 subs x14, x14, #2 b.ne LBB0_8 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 add x11, x11, x16 cbz x10, LBB0_2 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 add x10, x22, x9 add x12, x25, x9, lsl #32 sub x8, x8, x9 LBB0_11: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb x9, [x10], #1 mul x9, x12, x9 add x11, x11, x9, asr #32 add x12, x12, x25 subs x8, x8, #1 b.ne LBB0_11 b LBB0_2 LBB0_12: cbz w20, LBB0_19 LBB0_13: mov x9, #0 mov w8, #0 mov x19, #0 and x10, x20, #0xffffffff LBB0_14: ; =>This Loop Header: Depth=1 ; Child Loop BB0_15 Depth 2 mov w11, #0 add x12, sp, #16 ldr x13, [x12, x9, lsl #3] mov x14, x20 LBB0_15: ; Parent Loop BB0_14 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x15, [x12], #8 cmp w8, w11 csel x16, x19, x13, gt csinc w17, w8, w11, gt cmp x13, x15 csel x19, x16, x19, eq csel w8, w17, w8, eq cinc w11, w11, eq subs x14, x14, #1 b.ne LBB0_15 ; %bb.16: ; in Loop: Header=BB0_14 Depth=1 add x9, x9, #1 cmp x9, x10 b.ne LBB0_14 LBB0_17: str x8, [sp] Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf str x19, [sp] Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _printf ldur x8, [x29, #-88] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.18: mov w0, #0 add sp, sp, #5, lsl #12 ; =20480 add sp, sp, #3744 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 LBB0_19: mov x19, #0 mov w8, #0 b LBB0_17 LBB0_20: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .globl _hashing ; -- Begin function hashing .p2align 2 _hashing: ; @hashing .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 bl _strlen cmp w0, #1 b.lt LBB1_3 ; %bb.1: and x8, x0, #0xffffffff cmp x8, #4 b.hs LBB1_4 ; %bb.2: mov x9, #0 mov w0, #42 b LBB1_7 LBB1_3: mov w0, #42 b LBB1_8 LBB1_4: mov x16, #0 mov x13, #0 mov x12, #0 mov x11, #0 and x10, x0, #0x3 sub x9, x8, x10 add x14, x19, #1 mov w15, #42 LBB1_5: ; =>This Inner Loop Header: Depth=1 add x17, x14, x16 ldursb w0, [x17, #-1] ldrsb w1, [x17] ldrsb w2, [x17, #1] ldrsb w17, [x17, #2] add w3, w16, #2 add w4, w16, #3 madd w0, w0, w16, w0 add x5, x16, #4 mul w16, w3, w1 mul w1, w4, w2 add x15, x15, w0, sxtw add x13, x13, w16, sxtw mul w16, w5, w17 add x12, x12, w1, sxtw add x11, x11, w16, sxtw mov x16, x5 cmp x9, x5 b.ne LBB1_5 ; %bb.6: add x13, x13, x15 add x12, x12, x13 add x0, x11, x12 cbz x10, LBB1_8 LBB1_7: ; =>This Inner Loop Header: Depth=1 ldrsb w10, [x19, x9] add x9, x9, #1 mul w10, w9, w10 add x0, x0, w10, sxtw cmp x8, x9 b.ne LBB1_7 LBB1_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _comparing ; -- Begin function comparing .p2align 2 _comparing: ; @comparing .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 cmp w1, #1 b.lt LBB2_5 ; %bb.1: mov x9, #0 mov w8, #0 mov x19, #0 mov w10, w1 LBB2_2: ; =>This Loop Header: Depth=1 ; Child Loop BB2_3 Depth 2 mov w11, #0 ldr x12, [x0, x9, lsl #3] mov x13, x10 mov x14, x0 LBB2_3: ; Parent Loop BB2_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x15, [x14], #8 cmp w8, w11 csel x16, x19, x12, gt csinc w17, w8, w11, gt cmp x12, x15 csel x19, x16, x19, eq csel w8, w17, w8, eq cinc w11, w11, eq subs x13, x13, #1 b.ne LBB2_3 ; %bb.4: ; in Loop: Header=BB2_2 Depth=1 add x9, x9, #1 cmp x9, x10 b.ne LBB2_2 b LBB2_6 LBB2_5: mov x19, #0 mov w8, #0 LBB2_6: str x8, [sp] Lloh14: adrp x0, l_.str.2@PAGE Lloh15: add x0, x0, l_.str.2@PAGEOFF bl _printf str x19, [sp] Lloh16: adrp x0, l_.str.3@PAGE Lloh17: add x0, x0, l_.str.3@PAGEOFF bl _printf mov x0, #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 Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "vsmisal" l_.str.1: ; @.str.1 .asciz "%s" l_.str.2: ; @.str.2 .asciz "%d\n" l_.str.3: ; @.str.3 .asciz "%ld" .subsections_via_symbols
the_stack_data/1589.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___bt_defpfx ## -- Begin function __bt_defpfx .p2align 4, 0x90 ___bt_defpfx: ## @__bt_defpfx .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, %r14 movq %rdi, %rbx movq (%rdi), %rdi movq (%rsi), %rsi callq _MIN testq %rax, %rax je LBB0_4 ## %bb.1: movq %rax, %rcx movq 8(%r14), %rdx movq 8(%rbx), %rsi negq %rcx movl $1, %eax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -8(%rsi,%rax,8), %rdi cmpq -8(%rdx,%rax,8), %rdi jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leaq (%rcx,%rax), %rdi incq %rdi incq %rax cmpq $1, %rdi jne LBB0_2 LBB0_4: movq (%rbx), %rcx xorl %eax, %eax cmpq (%r14), %rcx setl %al addq %rcx, %rax LBB0_5: 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 ___bt_defpfx ; -- Begin function __bt_defpfx .p2align 2 ___bt_defpfx: ; @__bt_defpfx .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, x1 mov x20, x0 ldr x0, [x0] ldr x1, [x1] bl _MIN cbz x0, LBB0_4 ; %bb.1: mov x8, #0 ldr x9, [x19, #8] ldr x10, [x20, #8] LBB0_2: ; =>This Inner Loop Header: Depth=1 lsl x11, x8, #3 ldr x12, [x10, x11] ldr x11, [x9, x11] cmp x12, x11 b.ne LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x8, x8, #1 cmp x0, x8 b.ne LBB0_2 LBB0_4: ldr x8, [x20] ldr x9, [x19] cmp x8, x9 cinc x0, x8, lt b LBB0_6 LBB0_5: add x0, x8, #1 LBB0_6: 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/freebsd/lib/libc/db/btree/extr_bt_utils.c___bt_defpfx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lookup_name_in_block ## -- Begin function lookup_name_in_block .p2align 4, 0x90 _lookup_name_in_block: ## @lookup_name_in_block .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 callq _I_SYMBOL_BINDING testq %rax, %rax je LBB0_8 ## %bb.1: movq %rax, %rbx cmpq $0, 8(%rax) je LBB0_3 ## %bb.2: movq %rbx, %rdi callq _BINDING_VALUE movl %eax, %edi callq _DECL_CONTEXT movq %rax, %rcx movq _current_function_decl@GOTPCREL(%rip), %rdx movl $1, %eax cmpq (%rdx), %rcx je LBB0_9 LBB0_3: movq _VAR_DECL@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _BINDING_VALUE movl %eax, %edi callq _TREE_CODE cmpq (%r15), %rax jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _BINDING_VALUE movl %eax, %edi callq _BLOCK_DECL_BYREF testq %rax, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq (%rbx), %rbx testq %rbx, %rbx jne LBB0_4 jmp LBB0_8 LBB0_7: movq %rbx, %rdi callq _BINDING_VALUE movl %eax, (%r14) LBB0_8: xorl %eax, %eax LBB0_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _current_function_decl,8,3 ## @current_function_decl .comm _VAR_DECL,8,3 ## @VAR_DECL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lookup_name_in_block ; -- Begin function lookup_name_in_block .p2align 2 _lookup_name_in_block: ; @lookup_name_in_block .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 bl _I_SYMBOL_BINDING cbz x0, LBB0_10 ; %bb.1: mov x20, x0 ldr x8, [x0, #8] cbz x8, LBB0_4 ; %bb.2: mov x0, x20 bl _BINDING_VALUE bl _DECL_CONTEXT Lloh0: adrp x8, _current_function_decl@GOTPAGE Lloh1: ldr x8, [x8, _current_function_decl@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.ne LBB0_4 ; %bb.3: mov w0, #1 b LBB0_10 LBB0_4: Lloh3: adrp x21, _VAR_DECL@GOTPAGE Lloh4: ldr x21, [x21, _VAR_DECL@GOTPAGEOFF] LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _BINDING_VALUE bl _TREE_CODE ldr x8, [x21] cmp x0, x8 b.ne LBB0_9 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 bl _BINDING_VALUE bl _BLOCK_DECL_BYREF cbz x0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr x20, [x20] cbnz x20, LBB0_5 ; %bb.8: mov w0, #0 b LBB0_10 LBB0_9: mov x0, x20 bl _BINDING_VALUE mov x8, x0 mov w0, #0 str w8, [x19] LBB0_10: 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 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _current_function_decl,8,3 ; @current_function_decl .comm _VAR_DECL,8,3 ; @VAR_DECL .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/cp/extr_parser.c_lookup_name_in_block.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function checkout_write_merge _checkout_write_merge: ## @checkout_write_merge .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 $232, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq _GIT_BUF_INIT@GOTPCREL(%rip), %rax movups (%rax), %xmm0 movaps %xmm0, -224(%rbp) movaps %xmm0, -208(%rbp) movaps %xmm0, -256(%rbp) movaps %xmm0, -80(%rbp) movaps %xmm0, -192(%rbp) movaps %xmm0, -64(%rbp) movq _GIT_MERGE_FILE_OPTIONS_INIT@GOTPCREL(%rip), %rax movdqu (%rax), %xmm0 movups 16(%rax), %xmm1 movaps %xmm1, -160(%rbp) movdqa %xmm0, -176(%rbp) pxor %xmm0, %xmm0 movdqa %xmm0, -112(%rbp) movdqa %xmm0, -128(%rbp) movq $0, -96(%rbp) movq _GIT_FILEBUF_INIT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movq $0, -40(%rbp) movq _GIT_FILTER_OPTIONS_INIT@GOTPCREL(%rip), %rax movups (%rax), %xmm1 movaps %xmm1, -144(%rbp) movq _GIT_CHECKOUT_CONFLICT_STYLE_DIFF3@GOTPCREL(%rip), %rax movl (%rax), %eax orl 8(%rdi), %eax je LBB0_2 ## %bb.1: movq _GIT_MERGE_FILE_STYLE_DIFF3@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, -152(%rbp) LBB0_2: movdqu 16(%rbx), %xmm3 pcmpeqq %xmm3, %xmm0 leaq L_.str.1(%rip), %rax movq %rax, %xmm1 leaq L_.str(%rip), %rax movq %rax, %xmm2 punpcklqdq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0] blendvpd %xmm0, %xmm2, %xmm3 movapd %xmm3, -176(%rbp) movq 32(%rbx), %rax testq %rax, %rax leaq L_.str.2(%rip), %r15 cmovneq %rax, %r15 movq %r15, -160(%rbp) movq 8(%r14), %rcx testq %rcx, %rcx je LBB0_3 ## %bb.4: movq (%r14), %rax testq %rax, %rax je LBB0_9 ## %bb.5: movapd %xmm3, -240(%rbp) ## 16-byte Spill movl (%rcx), %edi movl (%rax), %esi callq _strcmp movq 8(%r14), %rcx testq %rax, %rax je LBB0_9 ## %bb.6: movl (%rcx), %edx movdqa -240(%rbp), %xmm0 ## 16-byte Reload pextrq $1, %xmm0, %rsi leaq -224(%rbp), %rdi callq _conflict_entry_name testl %eax, %eax js LBB0_24 ## %bb.7: movq (%r14), %rax movl (%rax), %edx leaq -208(%rbp), %rdi movq %r15, %rsi callq _conflict_entry_name testl %eax, %eax js LBB0_24 ## %bb.8: leaq -224(%rbp), %rdi callq _git_buf_cstr movq %rax, -168(%rbp) leaq -208(%rbp), %rdi callq _git_buf_cstr movq %rax, -160(%rbp) movq 8(%r14), %rcx jmp LBB0_9 LBB0_3: xorl %ecx, %ecx LBB0_9: movl 48(%rbx), %esi movl 16(%r14), %edx movq (%r14), %r8 leaq -128(%rbp), %rdi leaq -176(%rbp), %r9 callq _git_merge_file_from_index testl %eax, %eax js LBB0_24 ## %bb.10: cmpq $0, -104(%rbp) jne LBB0_12 ## %bb.11: cmpq $0, -128(%rbp) je LBB0_12 ## %bb.13: leaq -80(%rbp), %rdi leaq -128(%rbp), %rcx movq %rbx, %rsi movq %r14, %rdx callq _checkout_merge_path testl %eax, %eax js LBB0_24 ## %bb.14: movq _GIT_CHECKOUT_UPDATE_ONLY@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_16 ## %bb.15: leaq -80(%rbp), %rdi callq _git_buf_cstr movq -128(%rbp), %rdx movq %rbx, %rdi movq %rax, %rsi callq _checkout_safe_for_update_only testl %eax, %eax jle LBB0_24 LBB0_16: cmpl $0, 44(%rbx) movq -112(%rbp), %rax je LBB0_17 ## %bb.19: movq %rax, -64(%rbp) movl -120(%rbp), %eax movl %eax, -56(%rbp) LBB0_20: movq -80(%rbp), %rsi movl 40(%rbx), %edx movq %rbx, %rdi callq _mkpath2file testl %eax, %eax js LBB0_24 ## %bb.21: leaq -80(%rbp), %rdi callq _git_buf_cstr movq _GIT_FILEBUF_DO_NOT_BUFFER@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq -128(%rbp), %rcx leaq -28(%rbp), %rdi movq %rax, %rsi callq _git_filebuf_open testl %eax, %eax js LBB0_24 ## %bb.22: movq -64(%rbp), %rsi movl -56(%rbp), %edx leaq -28(%rbp), %rdi callq _git_filebuf_write testl %eax, %eax js LBB0_24 ## %bb.23: leaq -28(%rbp), %rdi callq _git_filebuf_commit jmp LBB0_24 LBB0_12: movq _GIT_ERROR_CHECKOUT@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.3(%rip), %rsi callq _git_error_set movq _GIT_ECONFLICT@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_25 LBB0_17: movq %rax, -192(%rbp) movl -120(%rbp), %eax movl %eax, -184(%rbp) leaq 56(%rbx), %rax movq %rax, -136(%rbp) leaq 52(%rbx), %rax movq %rax, -144(%rbp) movl 48(%rbx), %r14d leaq -80(%rbp), %rdi callq _git_buf_cstr movq _GIT_FILTER_TO_WORKTREE@GOTPCREL(%rip), %rcx movl (%rcx), %r8d leaq -40(%rbp), %rdi leaq -144(%rbp), %r9 movl %r14d, %esi xorl %edx, %edx movq %rax, %rcx callq _git_filter_list__load_ext testl %eax, %eax js LBB0_24 ## %bb.18: movq -40(%rbp), %rsi leaq -64(%rbp), %rdi leaq -192(%rbp), %rdx callq _git_filter_list_apply_to_data testl %eax, %eax jns LBB0_20 LBB0_24: movl %eax, %ebx LBB0_25: movq -40(%rbp), %rdi callq _git_filter_list_free leaq -64(%rbp), %rdi callq _git_buf_dispose leaq -224(%rbp), %rdi callq _git_buf_dispose leaq -208(%rbp), %rdi callq _git_buf_dispose leaq -128(%rbp), %rdi callq _git_merge_file_result_free leaq -80(%rbp), %rdi callq _git_buf_dispose leaq -256(%rbp), %rdi callq _git_buf_dispose movl %ebx, %eax addq $232, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GIT_BUF_INIT,16,3 ## @GIT_BUF_INIT .comm _GIT_MERGE_FILE_OPTIONS_INIT,32,3 ## @GIT_MERGE_FILE_OPTIONS_INIT .comm _GIT_FILEBUF_INIT,4,2 ## @GIT_FILEBUF_INIT .comm _GIT_FILTER_OPTIONS_INIT,16,3 ## @GIT_FILTER_OPTIONS_INIT .comm _GIT_CHECKOUT_CONFLICT_STYLE_DIFF3,4,2 ## @GIT_CHECKOUT_CONFLICT_STYLE_DIFF3 .comm _GIT_MERGE_FILE_STYLE_DIFF3,4,2 ## @GIT_MERGE_FILE_STYLE_DIFF3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ancestor" L_.str.1: ## @.str.1 .asciz "ours" L_.str.2: ## @.str.2 .asciz "theirs" .comm _GIT_ERROR_CHECKOUT,4,2 ## @GIT_ERROR_CHECKOUT L_.str.3: ## @.str.3 .asciz "could not merge contents of file" .comm _GIT_ECONFLICT,4,2 ## @GIT_ECONFLICT .comm _GIT_CHECKOUT_UPDATE_ONLY,4,2 ## @GIT_CHECKOUT_UPDATE_ONLY .comm _GIT_FILTER_TO_WORKTREE,4,2 ## @GIT_FILTER_TO_WORKTREE .comm _GIT_FILEBUF_DO_NOT_BUFFER,4,2 ## @GIT_FILEBUF_DO_NOT_BUFFER .no_dead_strip _checkout_write_merge .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function checkout_write_merge _checkout_write_merge: ; @checkout_write_merge .cfi_startproc ; %bb.0: sub sp, sp, #272 stp x28, x27, [sp, #208] ; 16-byte Folded Spill stp x22, x21, [sp, #224] ; 16-byte Folded Spill stp x20, x19, [sp, #240] ; 16-byte Folded Spill stp x29, x30, [sp, #256] ; 16-byte Folded Spill add x29, sp, #256 .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 w27, -56 .cfi_offset w28, -64 mov x20, x1 mov x19, x0 Lloh0: adrp x8, _GIT_BUF_INIT@GOTPAGE Lloh1: ldr x8, [x8, _GIT_BUF_INIT@GOTPAGEOFF] ldr q1, [x8] stp q1, q1, [x29, #-80] stp q1, q1, [x29, #-112] ldr q0, [x8] stp q0, q1, [sp, #112] Lloh2: adrp x8, _GIT_MERGE_FILE_OPTIONS_INIT@GOTPAGE Lloh3: ldr x8, [x8, _GIT_MERGE_FILE_OPTIONS_INIT@GOTPAGEOFF] ldp q0, q1, [x8] stp q0, q1, [sp, #80] str xzr, [sp, #64] movi.2d v0, #0000000000000000 stp q0, q0, [sp, #32] Lloh4: adrp x8, _GIT_FILEBUF_INIT@GOTPAGE Lloh5: ldr x8, [x8, _GIT_FILEBUF_INIT@GOTPAGEOFF] Lloh6: ldr w8, [x8] str w8, [sp, #28] str xzr, [sp, #16] Lloh7: adrp x8, _GIT_FILTER_OPTIONS_INIT@GOTPAGE Lloh8: ldr x8, [x8, _GIT_FILTER_OPTIONS_INIT@GOTPAGEOFF] Lloh9: ldr q0, [x8] str q0, [sp] ldr w8, [x0, #8] Lloh10: adrp x9, _GIT_CHECKOUT_CONFLICT_STYLE_DIFF3@GOTPAGE Lloh11: ldr x9, [x9, _GIT_CHECKOUT_CONFLICT_STYLE_DIFF3@GOTPAGEOFF] Lloh12: ldr w9, [x9] orr w8, w9, w8 cbz w8, LBB0_2 ; %bb.1: Lloh13: adrp x8, _GIT_MERGE_FILE_STYLE_DIFF3@GOTPAGE Lloh14: ldr x8, [x8, _GIT_MERGE_FILE_STYLE_DIFF3@GOTPAGEOFF] Lloh15: ldr w8, [x8] ldr w9, [sp, #104] orr w8, w9, w8 str w8, [sp, #104] LBB0_2: Lloh16: adrp x8, l_.str@PAGE Lloh17: add x8, x8, l_.str@PAGEOFF ldp x9, x10, [x19, #16] Lloh18: adrp x11, l_.str.1@PAGE Lloh19: add x11, x11, l_.str.1@PAGEOFF cmp x9, #0 csel x8, x8, x9, eq cmp x10, #0 csel x22, x11, x10, eq stp x8, x22, [sp, #80] ldr x8, [x19, #32] Lloh20: adrp x9, l_.str.2@PAGE Lloh21: add x9, x9, l_.str.2@PAGEOFF cmp x8, #0 csel x21, x9, x8, eq str x21, [sp, #96] ldr x3, [x20, #8] cbz x3, LBB0_8 ; %bb.3: ldr x8, [x20] cbz x8, LBB0_8 ; %bb.4: ldr w0, [x3] ldr w1, [x8] bl _strcmp ldr x3, [x20, #8] cbz x0, LBB0_8 ; %bb.5: ldr w2, [x3] sub x0, x29, #64 mov x1, x22 bl _conflict_entry_name tbnz w0, #31, LBB0_23 ; %bb.6: ldr x8, [x20] ldr w2, [x8] sub x0, x29, #80 mov x1, x21 bl _conflict_entry_name tbnz w0, #31, LBB0_23 ; %bb.7: sub x0, x29, #64 bl _git_buf_cstr str x0, [sp, #88] sub x0, x29, #80 bl _git_buf_cstr str x0, [sp, #96] ldr x3, [x20, #8] LBB0_8: ldr w1, [x19, #48] ldr w2, [x20, #16] ldr x4, [x20] add x0, sp, #32 add x5, sp, #80 bl _git_merge_file_from_index tbnz w0, #31, LBB0_23 ; %bb.9: ldr x8, [sp, #56] cbnz x8, LBB0_20 ; %bb.10: ldr x8, [sp, #32] cbz x8, LBB0_20 ; %bb.11: sub x0, x29, #112 add x3, sp, #32 mov x1, x19 mov x2, x20 bl _checkout_merge_path tbnz w0, #31, LBB0_23 ; %bb.12: ldr w8, [x19] Lloh22: adrp x9, _GIT_CHECKOUT_UPDATE_ONLY@GOTPAGE Lloh23: ldr x9, [x9, _GIT_CHECKOUT_UPDATE_ONLY@GOTPAGEOFF] Lloh24: ldr w9, [x9] tst w9, w8 b.eq LBB0_14 ; %bb.13: sub x0, x29, #112 bl _git_buf_cstr mov x1, x0 ldr x2, [sp, #32] mov x0, x19 bl _checkout_safe_for_update_only cmp w0, #1 b.lt LBB0_23 LBB0_14: ldr w9, [x19, #44] ldr x8, [sp, #48] cbz w9, LBB0_21 ; %bb.15: str x8, [sp, #112] ldr w8, [sp, #40] str w8, [sp, #120] LBB0_16: ldur x1, [x29, #-112] ldr w2, [x19, #40] mov x0, x19 bl _mkpath2file tbnz w0, #31, LBB0_23 ; %bb.17: sub x0, x29, #112 bl _git_buf_cstr mov x1, x0 Lloh25: adrp x8, _GIT_FILEBUF_DO_NOT_BUFFER@GOTPAGE Lloh26: ldr x8, [x8, _GIT_FILEBUF_DO_NOT_BUFFER@GOTPAGEOFF] Lloh27: ldr w2, [x8] ldr x3, [sp, #32] add x0, sp, #28 bl _git_filebuf_open tbnz w0, #31, LBB0_23 ; %bb.18: ldr x1, [sp, #112] ldr w2, [sp, #120] add x0, sp, #28 bl _git_filebuf_write tbnz w0, #31, LBB0_23 ; %bb.19: add x0, sp, #28 bl _git_filebuf_commit b LBB0_23 LBB0_20: Lloh28: adrp x8, _GIT_ERROR_CHECKOUT@GOTPAGE Lloh29: ldr x8, [x8, _GIT_ERROR_CHECKOUT@GOTPAGEOFF] Lloh30: ldr w0, [x8] Lloh31: adrp x1, l_.str.3@PAGE Lloh32: add x1, x1, l_.str.3@PAGEOFF bl _git_error_set Lloh33: adrp x8, _GIT_ECONFLICT@GOTPAGE Lloh34: ldr x8, [x8, _GIT_ECONFLICT@GOTPAGEOFF] Lloh35: ldr w19, [x8] b LBB0_24 LBB0_21: str x8, [sp, #128] ldr w8, [sp, #40] str w8, [sp, #136] add x8, x19, #56 add x9, x19, #52 stp x9, x8, [sp] ldr w20, [x19, #48] sub x0, x29, #112 bl _git_buf_cstr mov x3, x0 Lloh36: adrp x8, _GIT_FILTER_TO_WORKTREE@GOTPAGE Lloh37: ldr x8, [x8, _GIT_FILTER_TO_WORKTREE@GOTPAGEOFF] Lloh38: ldr w4, [x8] add x0, sp, #16 mov x5, sp mov x1, x20 mov x2, #0 ; =0x0 bl _git_filter_list__load_ext tbnz w0, #31, LBB0_23 ; %bb.22: ldr x1, [sp, #16] add x0, sp, #112 add x2, sp, #128 bl _git_filter_list_apply_to_data tbz w0, #31, LBB0_16 LBB0_23: mov x19, x0 LBB0_24: ldr x0, [sp, #16] bl _git_filter_list_free add x0, sp, #112 bl _git_buf_dispose sub x0, x29, #64 bl _git_buf_dispose sub x0, x29, #80 bl _git_buf_dispose add x0, sp, #32 bl _git_merge_file_result_free sub x0, x29, #112 bl _git_buf_dispose sub x0, x29, #96 bl _git_buf_dispose mov x0, x19 ldp x29, x30, [sp, #256] ; 16-byte Folded Reload ldp x20, x19, [sp, #240] ; 16-byte Folded Reload ldp x22, x21, [sp, #224] ; 16-byte Folded Reload ldp x28, x27, [sp, #208] ; 16-byte Folded Reload add sp, sp, #272 ret .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .cfi_endproc ; -- End function .comm _GIT_BUF_INIT,16,3 ; @GIT_BUF_INIT .comm _GIT_MERGE_FILE_OPTIONS_INIT,32,3 ; @GIT_MERGE_FILE_OPTIONS_INIT .comm _GIT_FILEBUF_INIT,4,2 ; @GIT_FILEBUF_INIT .comm _GIT_FILTER_OPTIONS_INIT,16,3 ; @GIT_FILTER_OPTIONS_INIT .comm _GIT_CHECKOUT_CONFLICT_STYLE_DIFF3,4,2 ; @GIT_CHECKOUT_CONFLICT_STYLE_DIFF3 .comm _GIT_MERGE_FILE_STYLE_DIFF3,4,2 ; @GIT_MERGE_FILE_STYLE_DIFF3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ancestor" l_.str.1: ; @.str.1 .asciz "ours" l_.str.2: ; @.str.2 .asciz "theirs" .comm _GIT_ERROR_CHECKOUT,4,2 ; @GIT_ERROR_CHECKOUT l_.str.3: ; @.str.3 .asciz "could not merge contents of file" .comm _GIT_ECONFLICT,4,2 ; @GIT_ECONFLICT .comm _GIT_CHECKOUT_UPDATE_ONLY,4,2 ; @GIT_CHECKOUT_UPDATE_ONLY .comm _GIT_FILTER_TO_WORKTREE,4,2 ; @GIT_FILTER_TO_WORKTREE .comm _GIT_FILEBUF_DO_NOT_BUFFER,4,2 ; @GIT_FILEBUF_DO_NOT_BUFFER .no_dead_strip _checkout_write_merge .subsections_via_symbols
assembly_file_100204.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .comm _RRDSET_TYPE_AREA,4,2 ## @RRDSET_TYPE_AREA .comm _RRDSET_TYPE_AREA_NAME,4,2 ## @RRDSET_TYPE_AREA_NAME .comm _RRDSET_TYPE_LINE,4,2 ## @RRDSET_TYPE_LINE .comm _RRDSET_TYPE_STACKED,4,2 ## @RRDSET_TYPE_STACKED .comm _RRDSET_TYPE_STACKED_NAME,4,2 ## @RRDSET_TYPE_STACKED_NAME .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .comm _RRDSET_TYPE_AREA,4,2 ; @RRDSET_TYPE_AREA .comm _RRDSET_TYPE_AREA_NAME,4,2 ; @RRDSET_TYPE_AREA_NAME .comm _RRDSET_TYPE_LINE,4,2 ; @RRDSET_TYPE_LINE .comm _RRDSET_TYPE_STACKED,4,2 ; @RRDSET_TYPE_STACKED .comm _RRDSET_TYPE_STACKED_NAME,4,2 ; @RRDSET_TYPE_STACKED_NAME .subsections_via_symbols
assembly_file_38628.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _itbl_get_name ## -- Begin function itbl_get_name .p2align 4, 0x90 _itbl_get_name: ## @itbl_get_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 %rbx pushq %rax .cfi_offset %rbx, -24 xorl %ebx, %ebx xorl %ecx, %ecx callq _find_entry_byval testq %rax, %rax je LBB0_2 ## %bb.1: movq (%rax), %rbx LBB0_2: movq %rbx, %rax 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 _itbl_get_name ; -- Begin function itbl_get_name .p2align 2 _itbl_get_name: ; @itbl_get_name .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 w3, #0 bl _find_entry_byval cbz x0, LBB0_2 ; %bb.1: ldr x0, [x0] LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/gas/extr_itbl-ops.c_itbl_get_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .long 4294967200 ## 0xffffffa0 .long 4294967200 ## 0xffffffa0 .long 4294967200 ## 0xffffffa0 .long 4294967200 ## 0xffffffa0 LCPI0_1: .long 4294967248 ## 0xffffffd0 .long 4294967248 ## 0xffffffd0 .long 4294967248 ## 0xffffffd0 .long 4294967248 ## 0xffffffd0 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .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 movl $10008, %eax ## imm = 0x2718 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq -10048(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $1, %eax jne LBB0_26 ## %bb.1: leaq -10048(%rbp), %r13 leaq L_.str.2(%rip), %r14 leaq L_.str.1(%rip), %r15 leaq L_.str(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi movq %r13, %rsi xorl %eax, %eax callq _printf LBB0_25: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf cmpl $1, %eax jne LBB0_26 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 ## Child Loop BB0_16 Depth 2 ## Child Loop BB0_21 Depth 2 ## Child Loop BB0_22 Depth 3 movsbl -10048(%rbp), %ebx cmpl $48, %ebx jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpb $0, -10047(%rbp) je LBB0_26 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %rdi callq _strlen testl %eax, %eax jle LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %eax addl $-48, %ebx cmpq $1, %rax je LBB0_17 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 leaq -1(%rax), %rdx movl $1, %ecx cmpq $8, %rdx movdqa LCPI0_0(%rip), %xmm4 ## xmm4 = [4294967200,4294967200,4294967200,4294967200] jb LBB0_16 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %rcx andq $-8, %rcx movd %ebx, %xmm0 leaq -8(%rcx), %rsi movq %rsi, %rbx shrq $3, %rbx incq %rbx testq %rsi, %rsi je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rsi andq $-2, %rsi pxor %xmm1, %xmm1 xorl %edi, %edi .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 pmovsxbd -10047(%rbp,%rdi), %xmm2 pmovsxbd -10043(%rbp,%rdi), %xmm3 paddd %xmm0, %xmm2 paddd %xmm1, %xmm3 pmovsxbd -10039(%rbp,%rdi), %xmm0 pmovsxbd -10035(%rbp,%rdi), %xmm1 paddd %xmm4, %xmm0 paddd %xmm2, %xmm0 paddd %xmm4, %xmm1 paddd %xmm3, %xmm1 addq $16, %rdi addq $-2, %rsi jne LBB0_11 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 testb $1, %bl je LBB0_14 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 orq $1, %rdi pmovsxbd -10048(%rbp,%rdi), %xmm2 pmovsxbd -10044(%rbp,%rdi), %xmm3 paddd %xmm2, %xmm0 paddd %xmm3, %xmm1 movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = [4294967248,4294967248,4294967248,4294967248] paddd %xmm2, %xmm0 paddd %xmm2, %xmm1 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 paddd %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddd %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] paddd %xmm1, %xmm0 movd %xmm0, %ebx cmpq %rcx, %rdx je LBB0_17 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 orq $1, %rcx .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl -10048(%rbp,%rcx), %edx addl %edx, %ebx addl $-48, %ebx incq %rcx cmpq %rcx, %rax jne LBB0_16 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 imull $954437177, %ebx, %eax ## imm = 0x38E38E39 addl $238609294, %eax ## imm = 0xE38E38E cmpl $477218588, %eax ## imm = 0x1C71C71C jbe LBB0_18 ## %bb.24: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi movq %r13, %rsi xorl %eax, %eax callq _printf jmp LBB0_25 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 xorl %ebx, %ebx movl $1, %edx jmp LBB0_21 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_2 Depth=1 movl $1, %edx cmpl $9, %ebx je LBB0_23 ## %bb.19: ## in Loop: Header=BB0_2 Depth=1 movl $1, %edx jmp LBB0_21 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_21 Depth=2 incl %edx movl %eax, %ebx cmpl $9, %eax je LBB0_23 LBB0_21: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_22 Depth 3 xorl %eax, %eax testl %ebx, %ebx je LBB0_20 .p2align 4, 0x90 LBB0_22: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_21 Depth=2 ## => This Inner Loop Header: Depth=3 movslq %ebx, %rcx imulq $1717986919, %rcx, %rbx ## imm = 0x66666667 movq %rbx, %rsi shrq $63, %rsi sarq $34, %rbx addl %esi, %ebx leal (%rbx,%rbx), %esi leal (%rsi,%rsi,4), %esi movl %ecx, %edi subl %esi, %edi addl %edi, %eax addl $9, %ecx cmpl $19, %ecx jae LBB0_22 jmp LBB0_20 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 pxor %xmm1, %xmm1 xorl %edi, %edi testb $1, %bl jne LBB0_13 jmp LBB0_14 LBB0_26: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_28 ## %bb.27: xorl %eax, %eax addq $10008, %rsp ## imm = 0x2718 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_28: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "%s is a multiple of 9 and has 9-degree %d.\n" L_.str.2: ## @.str.2 .asciz "%s is not a multiple of 9.\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 w9, #10032 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #2, lsl #12 ; =8192 sub sp, sp, #1840 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-96] add x22, sp, #16 str x22, [sp] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _scanf cmp w0, #1 b.ne LBB0_30 ; %bb.1: add x23, x22, #1 mov w24, #36409 movk w24, #14563, lsl #16 mov w25, #58254 movk w25, #3640, lsl #16 mov w26, #50972 movk w26, #7281, lsl #16 Lloh7: adrp x20, l_.str.1@PAGE Lloh8: add x20, x20, l_.str.1@PAGEOFF mov w27, #26215 movk w27, #26214, lsl #16 mov w28, #10 Lloh9: adrp x21, l_.str@PAGE Lloh10: add x21, x21, l_.str@PAGEOFF b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 mov w8, #1 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 stp x22, x8, [sp] mov x0, x20 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 bl _printf str x22, [sp] mov x0, x21 bl _scanf cmp w0, #1 b.ne LBB0_30 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_14 Depth 2 ; Child Loop BB0_19 Depth 2 ; Child Loop BB0_22 Depth 2 ; Child Loop BB0_28 Depth 2 ; Child Loop BB0_29 Depth 3 ldrsb w8, [sp, #16] ldrb w9, [sp, #17] subs w19, w8, #48 ccmp w9, #0, #0, eq b.eq LBB0_30 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x0, sp, #16 bl _strlen cmp w0, #1 b.lt LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 and x8, x0, #0xffffffff subs x9, x8, #1 b.eq LBB0_23 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 cmp x9, #8 mvni.4s v6, #47 b.hs LBB0_11 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 mov w11, #1 b LBB0_21 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 mov w19, #0 b LBB0_26 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 cmp x9, #16 b.hs LBB0_13 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 mov x10, #0 b LBB0_18 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 movi.2d v1, #0000000000000000 mov.s v1[0], w19 and x10, x9, #0xfffffffffffffff0 movi.2d v0, #0000000000000000 mov x11, x10 mov x12, x23 movi.2d v3, #0000000000000000 movi.2d v2, #0000000000000000 LBB0_14: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr q4, [x12], #16 sshll2.8h v5, v4, #0 sshll.8h v4, v4, #0 saddw.4s v1, v1, v4 saddw2.4s v0, v0, v4 saddw.4s v3, v3, v5 saddw2.4s v2, v2, v5 add.4s v2, v2, v6 add.4s v3, v3, v6 add.4s v0, v0, v6 add.4s v1, v1, v6 subs x11, x11, #16 b.ne LBB0_14 ; %bb.15: ; in Loop: Header=BB0_5 Depth=1 add.4s v1, v1, v3 add.4s v0, v0, v2 add.4s v0, v1, v0 addv.4s s0, v0 fmov w19, s0 cmp x9, x10 b.eq LBB0_23 ; %bb.16: ; in Loop: Header=BB0_5 Depth=1 tbnz w9, #3, LBB0_18 ; %bb.17: ; in Loop: Header=BB0_5 Depth=1 orr x11, x10, #0x1 b LBB0_21 LBB0_18: ; in Loop: Header=BB0_5 Depth=1 and x12, x9, #0xfffffffffffffff8 orr x11, x12, #0x1 movi.2d v0, #0000000000000000 mov.s v0[0], w19 movi.2d v1, #0000000000000000 add x13, x23, x10 sub x10, x10, x12 LBB0_19: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d2, [x13], #8 sshll.8h v2, v2, #0 saddw.4s v0, v0, v2 saddw2.4s v1, v1, v2 add.4s v1, v1, v6 add.4s v0, v0, v6 adds x10, x10, #8 b.ne LBB0_19 ; %bb.20: ; in Loop: Header=BB0_5 Depth=1 add.4s v0, v0, v1 addv.4s s0, v0 fmov w19, s0 cmp x9, x12 b.eq LBB0_23 LBB0_21: ; in Loop: Header=BB0_5 Depth=1 sub x8, x8, x11 add x9, x22, x11 LBB0_22: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w10, [x9], #1 add w10, w19, w10 sub w19, w10, #48 subs x8, x8, #1 b.ne LBB0_22 LBB0_23: ; in Loop: Header=BB0_5 Depth=1 madd w8, w19, w24, w25 cmp w8, w26 b.ls LBB0_25 ; %bb.24: ; in Loop: Header=BB0_5 Depth=1 str x22, [sp] Lloh11: adrp x0, l_.str.2@PAGE Lloh12: add x0, x0, l_.str.2@PAGEOFF b LBB0_4 LBB0_25: ; in Loop: Header=BB0_5 Depth=1 cmp w19, #9 b.eq LBB0_2 LBB0_26: ; in Loop: Header=BB0_5 Depth=1 mov w8, #1 b LBB0_28 LBB0_27: ; in Loop: Header=BB0_28 Depth=2 add w8, w8, #1 mov x19, x9 cmp w9, #9 b.eq LBB0_3 LBB0_28: ; Parent Loop BB0_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_29 Depth 3 mov w9, #0 cbz w19, LBB0_27 LBB0_29: ; Parent Loop BB0_5 Depth=1 ; Parent Loop BB0_28 Depth=2 ; => This Inner Loop Header: Depth=3 smull x10, w19, w27 lsr x11, x10, #63 asr x10, x10, #34 add w10, w10, w11 msub w11, w10, w28, w19 add w9, w9, w11 add w11, w19, #9 mov x19, x10 cmp w11, #19 b.hs LBB0_29 b LBB0_27 LBB0_30: ldur x8, [x29, #-96] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_32 ; %bb.31: mov w0, #0 add sp, sp, #2, lsl #12 ; =8192 add sp, sp, #1840 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 LBB0_32: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "%s is a multiple of 9 and has 9-degree %d.\n" l_.str.2: ; @.str.2 .asciz "%s is not a multiple of 9.\n" .subsections_via_symbols
the_stack_data/25137079.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FoundDevice ## -- Begin function FoundDevice .p2align 4, 0x90 _FoundDevice: ## @FoundDevice .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 $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl %edi, %r14d movq $0, -40(%rbp) leaq l_.str(%rip), %rdi callq _SND_TRACE movq %r15, %rdi callq _wcslen movl %eax, %edi callq _AllocateWideString movq _FALSE@GOTPCREL(%rip), %r12 testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx movq %rax, %rdi movq %r15, %rsi callq _CopyWideString leaq -40(%rbp), %rdx movl %r14d, %edi movl %ebx, %esi callq _ListSoundDevice movl %eax, %edi callq _MMSUCCESS testl %eax, %eax je LBB0_3 ## %bb.2: leaq -64(%rbp), %rbx movq %rbx, %rdi movl $24, %esi callq _ZeroMemory movq _GetSoundBlasterDeviceCapabilities@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movq _QueryNt4WaveDeviceFormatSupport@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) movq _SetNt4WaveDeviceFormat@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -52(%rbp) movq _OpenNt4SoundDevice@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) movq _CloseNt4SoundDevice@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) movq _WriteFileEx_Committer@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movq -40(%rbp), %rdi movq %rbx, %rsi callq _SetSoundDeviceFunctionTable movq _TRUE@GOTPCREL(%rip), %r12 LBB0_3: movl (%r12), %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @.str l_.str: .long 40 ## 0x28 .long 67 ## 0x43 .long 97 ## 0x61 .long 108 ## 0x6c .long 108 ## 0x6c .long 98 ## 0x62 .long 97 ## 0x61 .long 99 ## 0x63 .long 107 ## 0x6b .long 41 ## 0x29 .long 32 ## 0x20 .long 70 ## 0x46 .long 111 ## 0x6f .long 117 ## 0x75 .long 110 ## 0x6e .long 100 ## 0x64 .long 32 ## 0x20 .long 100 ## 0x64 .long 101 ## 0x65 .long 118 ## 0x76 .long 105 ## 0x69 .long 99 ## 0x63 .long 101 ## 0x65 .long 58 ## 0x3a .long 32 ## 0x20 .long 37 ## 0x25 .long 119 ## 0x77 .long 83 ## 0x53 .long 10 ## 0xa .long 0 ## 0x0 .comm _FALSE,4,2 ## @FALSE .comm _GetSoundBlasterDeviceCapabilities,4,2 ## @GetSoundBlasterDeviceCapabilities .comm _QueryNt4WaveDeviceFormatSupport,4,2 ## @QueryNt4WaveDeviceFormatSupport .comm _SetNt4WaveDeviceFormat,4,2 ## @SetNt4WaveDeviceFormat .comm _OpenNt4SoundDevice,4,2 ## @OpenNt4SoundDevice .comm _CloseNt4SoundDevice,4,2 ## @CloseNt4SoundDevice .comm _WriteFileEx_Committer,4,2 ## @WriteFileEx_Committer .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FoundDevice ; -- Begin function FoundDevice .p2align 2 _FoundDevice: ; @FoundDevice .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 mov x20, x1 mov x19, x0 str xzr, [sp, #24] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _SND_TRACE mov x0, x20 bl _wcslen bl _AllocateWideString cbz x0, LBB0_3 ; %bb.1: mov x21, x0 mov x1, x20 bl _CopyWideString add x2, sp, #24 mov x0, x19 mov x1, x21 bl _ListSoundDevice bl _MMSUCCESS cbz w0, LBB0_3 ; %bb.2: mov x0, sp mov w1, #24 bl _ZeroMemory Lloh2: adrp x8, _GetSoundBlasterDeviceCapabilities@GOTPAGE Lloh3: ldr x8, [x8, _GetSoundBlasterDeviceCapabilities@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: adrp x9, _QueryNt4WaveDeviceFormatSupport@GOTPAGE Lloh6: ldr x9, [x9, _QueryNt4WaveDeviceFormatSupport@GOTPAGEOFF] Lloh7: ldr w9, [x9] stp w9, w8, [sp, #16] Lloh8: adrp x8, _SetNt4WaveDeviceFormat@GOTPAGE Lloh9: ldr x8, [x8, _SetNt4WaveDeviceFormat@GOTPAGEOFF] Lloh10: ldr w8, [x8] Lloh11: adrp x9, _OpenNt4SoundDevice@GOTPAGE Lloh12: ldr x9, [x9, _OpenNt4SoundDevice@GOTPAGEOFF] Lloh13: ldr w9, [x9] stp w9, w8, [sp, #8] Lloh14: adrp x8, _CloseNt4SoundDevice@GOTPAGE Lloh15: ldr x8, [x8, _CloseNt4SoundDevice@GOTPAGEOFF] Lloh16: ldr w8, [x8] Lloh17: adrp x9, _WriteFileEx_Committer@GOTPAGE Lloh18: ldr x9, [x9, _WriteFileEx_Committer@GOTPAGEOFF] Lloh19: ldr w9, [x9] stp w9, w8, [sp] ldr x0, [sp, #24] mov x1, sp bl _SetSoundDeviceFunctionTable Lloh20: adrp x8, _TRUE@GOTPAGE Lloh21: ldr x8, [x8, _TRUE@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh22: adrp x8, _FALSE@GOTPAGE Lloh23: ldr x8, [x8, _FALSE@GOTPAGEOFF] LBB0_4: ldr w0, [x8] 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 add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh22, Lloh23 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @.str l_.str: .long 40 ; 0x28 .long 67 ; 0x43 .long 97 ; 0x61 .long 108 ; 0x6c .long 108 ; 0x6c .long 98 ; 0x62 .long 97 ; 0x61 .long 99 ; 0x63 .long 107 ; 0x6b .long 41 ; 0x29 .long 32 ; 0x20 .long 70 ; 0x46 .long 111 ; 0x6f .long 117 ; 0x75 .long 110 ; 0x6e .long 100 ; 0x64 .long 32 ; 0x20 .long 100 ; 0x64 .long 101 ; 0x65 .long 118 ; 0x76 .long 105 ; 0x69 .long 99 ; 0x63 .long 101 ; 0x65 .long 58 ; 0x3a .long 32 ; 0x20 .long 37 ; 0x25 .long 119 ; 0x77 .long 83 ; 0x53 .long 10 ; 0xa .long 0 ; 0x0 .comm _FALSE,4,2 ; @FALSE .comm _GetSoundBlasterDeviceCapabilities,4,2 ; @GetSoundBlasterDeviceCapabilities .comm _QueryNt4WaveDeviceFormatSupport,4,2 ; @QueryNt4WaveDeviceFormatSupport .comm _SetNt4WaveDeviceFormat,4,2 ; @SetNt4WaveDeviceFormat .comm _OpenNt4SoundDevice,4,2 ; @OpenNt4SoundDevice .comm _CloseNt4SoundDevice,4,2 ; @CloseNt4SoundDevice .comm _WriteFileEx_Committer,4,2 ; @WriteFileEx_Committer .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/reactos/dll/win32/sndblst/extr_sndblst.c_FoundDevice.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_max_resource _get_max_resource: ## @get_max_resource .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 %esi, %r15d movq %rdi, %r14 callq _cpqhp_resource_sort_and_combine testq %rax, %rax jne LBB0_17 ## %bb.1: movq %r14, %rdi callq _sort_by_max_size testq %rax, %rax je LBB0_2 LBB0_17: xorl %ebx, %ebx LBB0_18: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq (%r14), %rbx testq %rbx, %rbx je LBB0_17 ## %bb.3: leal -1(%r15), %r12d movl %r15d, %eax negl %eax movl %eax, -44(%rbp) ## 4-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_4 Depth=1 cmpl %r15d, %ecx jge LBB0_13 LBB0_16: ## in Loop: Header=BB0_4 Depth=1 movq 8(%rbx), %rbx testq %rbx, %rbx je LBB0_17 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %ecx cmpl %r15d, %ecx jl LBB0_16 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl 4(%rbx), %eax testl %r12d, %eax je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl %eax, %r13d orl %r12d, %r13d addl %eax, %ecx subl %r13d, %ecx incl %ecx cmpl %r15d, %ecx jl LBB0_16 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $16, %edi callq _kmalloc testq %rax, %rax je LBB0_17 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 decl %r13d movl 4(%rbx), %ecx movl %ecx, 4(%rax) movl %r13d, %edx subl %ecx, %edx movl %edx, (%rax) movl %r13d, 4(%rbx) movl (%rbx), %ecx subl %edx, %ecx movl %ecx, (%rbx) movq 8(%rbx), %rdx movq %rdx, 8(%rax) movq %rax, 8(%rbx) movl %r13d, %eax LBB0_9: ## in Loop: Header=BB0_4 Depth=1 addl %ecx, %eax testl %r12d, %eax je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_4 Depth=1 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $16, %edi callq _kmalloc testq %rax, %rax je LBB0_17 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 movl (%rbx), %edx movl 4(%rbx), %ecx addl %edx, %ecx andl -44(%rbp), %ecx ## 4-byte Folded Reload movl %ecx, 4(%rax) addl 4(%rbx), %edx subl %ecx, %edx movl %edx, (%rax) movl (%rbx), %ecx subl %edx, %ecx movl %ecx, (%rbx) movq 8(%rbx), %rdx movq %rdx, 8(%rax) movq %rax, 8(%rbx) jmp LBB0_12 LBB0_13: cmpq %rbx, (%r14) jne LBB0_15 ## %bb.14: movq 8(%rbx), %rax movq %rax, (%r14) LBB0_15: movq $0, 8(%rbx) jmp LBB0_18 .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .no_dead_strip _get_max_resource .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_max_resource _get_max_resource: ; @get_max_resource .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill 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 x21, x1 mov x20, x0 bl _cpqhp_resource_sort_and_combine cbnz x0, LBB0_2 ; %bb.1: mov x0, x20 bl _sort_by_max_size cbz x0, LBB0_4 LBB0_2: mov x19, #0 ; =0x0 LBB0_3: 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 LBB0_4: ldr x19, [x20] cbz x19, LBB0_3 ; %bb.5: sub w22, w21, #1 neg w23, w21 Lloh0: adrp x24, _GFP_KERNEL@GOTPAGE Lloh1: ldr x24, [x24, _GFP_KERNEL@GOTPAGEOFF] b LBB0_9 LBB0_6: ; in Loop: Header=BB0_9 Depth=1 ldp w9, w8, [x19] add w8, w9, w8 and w8, w8, w23 str w8, [x0, #4] ldr w10, [x19, #4] add w9, w10, w9 sub w8, w9, w8 str w8, [x0] ldr w9, [x19] sub w8, w9, w8 str w8, [x19] ldr x9, [x19, #8] str x9, [x0, #8] str x0, [x19, #8] LBB0_7: ; in Loop: Header=BB0_9 Depth=1 cmp w8, w21 b.ge LBB0_16 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 ldr x19, [x19, #8] cbz x19, LBB0_3 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cmp w8, w21 b.lt LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr w9, [x19, #4] tst w9, w22 b.eq LBB0_14 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 orr w25, w9, w22 add w8, w9, w8 sub w8, w8, w25 add w8, w8, #1 cmp w8, w21 b.lt LBB0_8 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 ldr w1, [x24] mov w0, #16 ; =0x10 bl _kmalloc cbz x0, LBB0_2 ; %bb.13: ; in Loop: Header=BB0_9 Depth=1 sub w9, w25, #1 ldr w8, [x19, #4] sub w10, w9, w8 stp w10, w8, [x0] ldr w8, [x19] sub w8, w8, w10 stp w8, w9, [x19] ldr x10, [x19, #8] str x10, [x0, #8] str x0, [x19, #8] LBB0_14: ; in Loop: Header=BB0_9 Depth=1 add w9, w8, w9 tst w9, w22 b.eq LBB0_7 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 ldr w1, [x24] mov w0, #16 ; =0x10 bl _kmalloc cbnz x0, LBB0_6 b LBB0_2 LBB0_16: ldr x8, [x20] cmp x8, x19 b.ne LBB0_18 ; %bb.17: ldr x8, [x19, #8] str x8, [x20] LBB0_18: str xzr, [x19, #8] b LBB0_3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .no_dead_strip _get_max_resource .subsections_via_symbols
assembly_file_94200.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _abs ## -- Begin function abs .p2align 4, 0x90 _abs: ## @abs .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, %eax negl %eax cmovsl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function fabs LCPI1_0: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 .section __TEXT,__text,regular,pure_instructions .globl _fabs .p2align 4, 0x90 _fabs: ## @fabs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movapd LCPI1_0(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0] xorpd %xmm0, %xmm1 maxsd %xmm0, %xmm1 movapd %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function sqrt LCPI2_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__text,regular,pure_instructions .globl _sqrt .p2align 4, 0x90 _sqrt: ## @sqrt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsd LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm0, %xmm1 movl $100, %eax movsd LCPI2_0(%rip), %xmm2 ## xmm2 = mem[0],zero .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 movapd %xmm0, %xmm3 divsd %xmm1, %xmm3 addsd %xmm1, %xmm3 mulsd %xmm2, %xmm3 movapd %xmm0, %xmm1 divsd %xmm3, %xmm1 addsd %xmm3, %xmm1 mulsd %xmm2, %xmm1 addl $-2, %eax jne LBB2_1 ## %bb.2: movapd %xmm1, %xmm0 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 _abs ; -- Begin function abs .p2align 2 _abs: ; @abs .cfi_startproc ; %bb.0: cmp w0, #0 cneg w0, w0, mi ret .cfi_endproc ; -- End function .globl _fabs ; -- Begin function fabs .p2align 2 _fabs: ; @fabs .cfi_startproc ; %bb.0: fneg d1, d0 fcmp d0, #0.0 fcsel d0, d1, d0, mi ret .cfi_endproc ; -- End function .globl _sqrt ; -- Begin function sqrt .p2align 2 _sqrt: ; @sqrt .cfi_startproc ; %bb.0: fmov d2, #0.50000000 fmul d1, d0, d2 mov w8, #100 LBB2_1: ; =>This Inner Loop Header: Depth=1 fdiv d3, d0, d1 fadd d1, d1, d3 fmul d1, d1, d2 subs w8, w8, #1 b.ne LBB2_1 ; %bb.2: fmov d0, d1 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/168893533.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uu_release_child _uu_release_child: ## @uu_release_child .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _uu_panic_format@GOTPCREL(%rip), %rax movq $0, (%rax) movq _uu_panic_thread@GOTPCREL(%rip), %rax movq $0, (%rax) xorl %eax, %eax popq %rbp jmp _uu_release ## TAILCALL .cfi_endproc ## -- End function .comm _uu_panic_format,8,3 ## @uu_panic_format .comm _uu_panic_thread,8,3 ## @uu_panic_thread .no_dead_strip _uu_release_child .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uu_release_child _uu_release_child: ; @uu_release_child .cfi_startproc ; %bb.0: Lloh0: adrp x8, _uu_panic_format@GOTPAGE Lloh1: ldr x8, [x8, _uu_panic_format@GOTPAGEOFF] Lloh2: str xzr, [x8] Lloh3: adrp x8, _uu_panic_thread@GOTPAGE Lloh4: ldr x8, [x8, _uu_panic_thread@GOTPAGEOFF] Lloh5: str xzr, [x8] b _uu_release .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _uu_panic_format,8,3 ; @uu_panic_format .comm _uu_panic_thread,8,3 ; @uu_panic_thread .no_dead_strip _uu_release_child .subsections_via_symbols
AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libuutil/common/extr_uu_misc.c_uu_release_child.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jbd2_log_start_commit ## -- Begin function jbd2_log_start_commit .p2align 4, 0x90 _jbd2_log_start_commit: ## @jbd2_log_start_commit .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 movl %esi, %r14d movq %rdi, %rbx callq _write_lock movq %rbx, %rdi movl %r14d, %esi callq ___jbd2_log_start_commit movl %eax, %r14d movq %rbx, %rdi callq _write_unlock movl %r14d, %eax 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 _jbd2_log_start_commit ; -- Begin function jbd2_log_start_commit .p2align 2 _jbd2_log_start_commit: ; @jbd2_log_start_commit .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, x1 mov x20, x0 bl _write_lock mov x0, x20 mov x1, x19 bl ___jbd2_log_start_commit mov x19, x0 mov x0, x20 bl _write_unlock mov x0, 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/linux/fs/jbd2/extr_journal.c_jbd2_log_start_commit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pxa_camera_suspend _pxa_camera_suspend: ## @pxa_camera_suspend .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 callq _dev_get_drvdata movq %rax, %rbx movq 8(%rax), %rdi movq _CICR0@GOTPCREL(%rip), %rax subq (%rax), %rdi callq ___raw_readl movq 16(%rbx), %rcx movq %rax, (%rcx) movq _CICR1@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 8(%rbx), %rdi callq ___raw_readl movq 16(%rbx), %rcx movq %rax, 8(%rcx) movq _CICR2@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 8(%rbx), %rdi callq ___raw_readl movq 16(%rbx), %rcx movq %rax, 16(%rcx) movq _CICR3@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 8(%rbx), %rdi callq ___raw_readl movq 16(%rbx), %rcx movq %rax, 24(%rcx) movq _CICR4@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 8(%rbx), %rdi callq ___raw_readl movq 16(%rbx), %rcx movq %rax, 32(%rcx) cmpq $0, (%rbx) je LBB0_1 ## %bb.2: movq %rbx, %rdi xorl %esi, %esi addq $8, %rsp popq %rbx popq %rbp jmp _pxac_sensor_set_power ## TAILCALL LBB0_1: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _CICR0,8,3 ## @CICR0 .comm _CICR1,8,3 ## @CICR1 .comm _CICR2,8,3 ## @CICR2 .comm _CICR3,8,3 ## @CICR3 .comm _CICR4,8,3 ## @CICR4 .no_dead_strip _pxa_camera_suspend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pxa_camera_suspend _pxa_camera_suspend: ; @pxa_camera_suspend .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill 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 bl _dev_get_drvdata mov x19, x0 ldr x8, [x0, #8] Lloh0: adrp x9, _CICR0@GOTPAGE Lloh1: ldr x9, [x9, _CICR0@GOTPAGEOFF] Lloh2: ldr x9, [x9] sub x0, x8, x9 bl ___raw_readl ldp x9, x8, [x19, #8] str x0, [x8] Lloh3: adrp x8, _CICR1@GOTPAGE Lloh4: ldr x8, [x8, _CICR1@GOTPAGEOFF] Lloh5: ldr x8, [x8] add x0, x8, x9 bl ___raw_readl ldp x9, x8, [x19, #8] str x0, [x8, #8] Lloh6: adrp x8, _CICR2@GOTPAGE Lloh7: ldr x8, [x8, _CICR2@GOTPAGEOFF] Lloh8: ldr x8, [x8] add x0, x8, x9 bl ___raw_readl ldp x9, x8, [x19, #8] str x0, [x8, #16] Lloh9: adrp x8, _CICR3@GOTPAGE Lloh10: ldr x8, [x8, _CICR3@GOTPAGEOFF] Lloh11: ldr x8, [x8] add x0, x8, x9 bl ___raw_readl ldp x9, x8, [x19, #8] str x0, [x8, #24] Lloh12: adrp x8, _CICR4@GOTPAGE Lloh13: ldr x8, [x8, _CICR4@GOTPAGEOFF] Lloh14: ldr x8, [x8] add x0, x8, x9 bl ___raw_readl ldr x9, [x19, #16] str x0, [x9, #32] ldr x8, [x19] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 mov w1, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _pxac_sensor_set_power LBB0_2: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CICR0,8,3 ; @CICR0 .comm _CICR1,8,3 ; @CICR1 .comm _CICR2,8,3 ; @CICR2 .comm _CICR3,8,3 ; @CICR3 .comm _CICR4,8,3 ; @CICR4 .no_dead_strip _pxa_camera_suspend .subsections_via_symbols
assembly_file_142904.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ud2 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: brk #0x1 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/42390.c
stack
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
87