arm
stringlengths
122
210k
x86
stringlengths
122
207k
filename
stringlengths
30
207
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unmap_page _unmap_page: ; @unmap_page .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur w1, [x29, #-12] stur x2, [x29, #-24] stur w3, [x29, #-28] str x4, [sp, #24] ldur x0, [x29, #-8] bl _get_domain str x0, [sp, #16] ldr x0, [sp, #16] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_3 LBB0_2: ldr x0, [sp, #16] bl _to_dma_ops_domain str x0, [sp, #8] ldr x0, [sp, #8] ldur w1, [x29, #-12] ldur x2, [x29, #-24] ldur w3, [x29, #-28] bl ___unmap_single b LBB0_3 LBB0_3: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .no_dead_strip _unmap_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unmap_page _unmap_page: ## @unmap_page .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq %rdx, -24(%rbp) movl %ecx, -28(%rbp) movq %r8, -40(%rbp) movq -8(%rbp), %rdi callq _get_domain movq %rax, -48(%rbp) movq -48(%rbp), %rdi callq _IS_ERR cmpq $0, %rax je LBB0_2 ## %bb.1: jmp LBB0_3 LBB0_2: movq -48(%rbp), %rdi callq _to_dma_ops_domain movq %rax, -56(%rbp) movq -56(%rbp), %rdi movl -12(%rbp), %esi movq -24(%rbp), %rdx movl -28(%rbp), %ecx callq ___unmap_single LBB0_3: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _unmap_page .subsections_via_symbols
AnghaBench/linux/drivers/iommu/extr_amd_iommu.c_unmap_page.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_register _set_register: ; @set_register .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 stur x0, [x29, #-16] str x1, [sp, #24] ldr x0, [sp, #24] add x1, sp, #8 mov w2, #0 bl _strtol str w0, [sp, #20] ldr x8, [sp, #8] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldr x8, [sp, #8] ldrsb w8, [x8] subs w8, w8, #61 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #8] add x0, x8, #1 mov x1, #0 mov w2, #0 bl _strtoul str w0, [sp, #16] ldur x0, [x29, #-16] ldr w1, [sp, #20] ldr w2, [sp, #16] bl _write_register b LBB0_4 LBB0_4: ldr w8, [sp, #20] str w8, [sp, #4] ; 4-byte Folded Spill ldur x0, [x29, #-16] ldr w1, [sp, #20] bl _read_register ldr w1, [sp, #4] ; 4-byte Folded Reload mov x2, x0 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\treg 0x%04x=0x%08x\n" .no_dead_strip _set_register .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_register _set_register: ## @set_register .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -24(%rbp), %rdi leaq -40(%rbp), %rsi xorl %edx, %edx callq _strtol movl %eax, -28(%rbp) movq -40(%rbp), %rax cmpq -24(%rbp), %rax jne LBB0_2 ## %bb.1: movl $1, -4(%rbp) jmp LBB0_5 LBB0_2: movq -40(%rbp), %rax movsbl (%rax), %eax cmpl $61, %eax jne LBB0_4 ## %bb.3: movq -40(%rbp), %rdi addq $1, %rdi xorl %eax, %eax movl %eax, %esi xorl %edx, %edx callq _strtoul movl %eax, -32(%rbp) movq -16(%rbp), %rdi movl -28(%rbp), %esi movl -32(%rbp), %edx callq _write_register LBB0_4: movl -28(%rbp), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq -16(%rbp), %rdi movl -28(%rbp), %esi callq _read_register movl -44(%rbp), %esi ## 4-byte Reload movl %eax, %edx leaq L_.str(%rip), %rdi callq _printf movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\treg 0x%04x=0x%08x\n" .no_dead_strip _set_register .subsections_via_symbols
AnghaBench/freebsd/sbin/etherswitchcfg/extr_etherswitchcfg.c_set_register.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tpmcrb_attach _tpmcrb_attach: ; @tpmcrb_attach .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 adrp x8, _ENXIO@GOTPAGE ldr x8, [x8, _ENXIO@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur w0, [x29, #-8] ldur w0, [x29, #-8] bl _device_get_softc stur x0, [x29, #-16] ldur x8, [x29, #-16] add x8, x8, #24 str x8, [sp, #24] ldur w0, [x29, #-8] bl _acpi_get_handle str w0, [sp, #20] ldur w8, [x29, #-8] ldr x9, [sp, #24] str w8, [x9, #8] ldr x8, [sp, #24] str xzr, [x8, #24] ldur w0, [x29, #-8] adrp x8, _SYS_RES_MEMORY@GOTPAGE ldr x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #24] adrp x9, _RF_ACTIVE@GOTPAGE ldr x9, [x9, _RF_ACTIVE@GOTPAGEOFF] ldr w3, [x9] add x2, x8, #24 bl _bus_alloc_resource_any ldr x8, [sp, #24] str x0, [x8, #16] ldr x8, [sp, #24] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_13 LBB0_2: ldr x0, [sp, #24] mov w1, #0 bl _tpmcrb_request_locality subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur w0, [x29, #-8] adrp x8, _SYS_RES_MEMORY@GOTPAGE ldr x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #24] ldr x2, [x8, #24] ldr x8, [sp, #24] ldr x3, [x8, #16] bl _bus_release_resource ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_13 LBB0_4: ldr x0, [sp, #24] adrp x8, _TPM_CRB_INT_ENABLE@GOTPAGE ldr x8, [x8, _TPM_CRB_INT_ENABLE@GOTPAGEOFF] ldr w1, [x8] adrp x8, _TPM_CRB_INT_ENABLE_BIT@GOTPAGE ldr x8, [x8, _TPM_CRB_INT_ENABLE_BIT@GOTPAGEOFF] ldr w8, [x8] mvn w2, w8 bl _AND4 ldr x8, [sp, #24] str wzr, [x8] ldr x0, [sp, #24] adrp x8, _TPM_CRB_CTRL_RSP_ADDR@GOTPAGE ldr x8, [x8, _TPM_CRB_CTRL_RSP_ADDR@GOTPAGEOFF] ldr w1, [x8] bl _RD4 mov x8, x0 ldur x9, [x29, #-16] str w8, [x9] ldr x0, [sp, #24] adrp x8, _TPM_CRB_CTRL_RSP_HADDR@GOTPAGE ldr x8, [x8, _TPM_CRB_CTRL_RSP_HADDR@GOTPAGEOFF] ldr w1, [x8] bl _RD4 mov x10, x0 ldur x9, [x29, #-16] ldr w8, [x9] orr w8, w8, w10 str w8, [x9] ldr x0, [sp, #24] adrp x8, _TPM_CRB_CTRL_CMD_LADDR@GOTPAGE ldr x8, [x8, _TPM_CRB_CTRL_CMD_LADDR@GOTPAGEOFF] ldr w1, [x8] bl _RD4 mov x8, x0 ldur x9, [x29, #-16] str w8, [x9, #4] ldr x0, [sp, #24] adrp x8, _TPM_CRB_CTRL_CMD_HADDR@GOTPAGE ldr x8, [x8, _TPM_CRB_CTRL_CMD_HADDR@GOTPAGEOFF] ldr w1, [x8] bl _RD4 mov x10, x0 ldur x9, [x29, #-16] ldr w8, [x9, #4] orr w8, w8, w10 str w8, [x9, #4] ldr x0, [sp, #24] adrp x8, _TPM_CRB_CTRL_CMD_SIZE@GOTPAGE ldr x8, [x8, _TPM_CRB_CTRL_CMD_SIZE@GOTPAGEOFF] ldr w1, [x8] bl _RD4 ldur x8, [x29, #-16] str x0, [x8, #8] ldr x0, [sp, #24] adrp x8, _TPM_CRB_CTRL_RSP_SIZE@GOTPAGE ldr x8, [x8, _TPM_CRB_CTRL_RSP_SIZE@GOTPAGEOFF] ldr w1, [x8] bl _RD4 ldur x8, [x29, #-16] str x0, [x8, #16] ldr x0, [sp, #24] bl _tpmcrb_relinquish_locality ldr w0, [sp, #20] adrp x8, _tpmcrb_fix_buff_offsets@GOTPAGE ldr x8, [x8, _tpmcrb_fix_buff_offsets@GOTPAGEOFF] ldr w2, [x8] ldur x3, [x29, #-16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _AcpiWalkResources str w0, [sp, #16] ldr w0, [sp, #16] bl _ACPI_FAILURE subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldur w0, [x29, #-8] bl _tpmcrb_detach ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_13 LBB0_6: ldur x8, [x29, #-16] ldr w8, [x8] ldur x9, [x29, #-16] ldr w9, [x9, #4] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_7 LBB0_7: ldur x8, [x29, #-16] ldr x8, [x8, #8] ldur x9, [x29, #-16] ldr x9, [x9, #16] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x8, [sp, #24] ldr w0, [x8, #8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _device_printf ldur w0, [x29, #-8] bl _tpmcrb_detach ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_13 LBB0_9: b LBB0_10 LBB0_10: adrp x8, _tpmcrb_transmit@GOTPAGE ldr x8, [x8, _tpmcrb_transmit@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #24] str w8, [x9, #4] ldr x0, [sp, #24] bl _tpm20_init str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldur w0, [x29, #-8] bl _tpmcrb_detach b LBB0_12 LBB0_12: ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_13 LBB0_13: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _SYS_RES_MEMORY,4,2 ; @SYS_RES_MEMORY .comm _RF_ACTIVE,4,2 ; @RF_ACTIVE .comm _ENXIO,4,2 ; @ENXIO .comm _TPM_CRB_INT_ENABLE,4,2 ; @TPM_CRB_INT_ENABLE .comm _TPM_CRB_INT_ENABLE_BIT,4,2 ; @TPM_CRB_INT_ENABLE_BIT .comm _TPM_CRB_CTRL_RSP_ADDR,4,2 ; @TPM_CRB_CTRL_RSP_ADDR .comm _TPM_CRB_CTRL_RSP_HADDR,4,2 ; @TPM_CRB_CTRL_RSP_HADDR .comm _TPM_CRB_CTRL_CMD_LADDR,4,2 ; @TPM_CRB_CTRL_CMD_LADDR .comm _TPM_CRB_CTRL_CMD_HADDR,4,2 ; @TPM_CRB_CTRL_CMD_HADDR .comm _TPM_CRB_CTRL_CMD_SIZE,4,2 ; @TPM_CRB_CTRL_CMD_SIZE .comm _TPM_CRB_CTRL_RSP_SIZE,4,2 ; @TPM_CRB_CTRL_RSP_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "_CRS" .comm _tpmcrb_fix_buff_offsets,4,2 ; @tpmcrb_fix_buff_offsets l_.str.1: ; @.str.1 .asciz "Overlapping Tx/Rx buffers have different sizes\n" .comm _tpmcrb_transmit,4,2 ; @tpmcrb_transmit .no_dead_strip _tpmcrb_attach .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tpmcrb_attach _tpmcrb_attach: ## @tpmcrb_attach .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 movl %edi, -8(%rbp) movl -8(%rbp), %edi callq _device_get_softc movq %rax, -16(%rbp) movq -16(%rbp), %rax addq $24, %rax movq %rax, -24(%rbp) movl -8(%rbp), %edi callq _acpi_get_handle movl %eax, -28(%rbp) movl -8(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, 8(%rax) movq -24(%rbp), %rax movq $0, 24(%rax) movl -8(%rbp), %edi movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %esi movq -24(%rbp), %rdx addq $24, %rdx movq _RF_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _bus_alloc_resource_any movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, 16(%rax) movq -24(%rbp), %rax cmpq $0, 16(%rax) jne LBB0_2 ## %bb.1: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_2: movq -24(%rbp), %rdi xorl %esi, %esi callq _tpmcrb_request_locality cmpl $0, %eax jne LBB0_4 ## %bb.3: movl -8(%rbp), %edi movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %esi movq -24(%rbp), %rax movq 24(%rax), %rdx movq -24(%rbp), %rax movq 16(%rax), %rcx callq _bus_release_resource movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_4: movq -24(%rbp), %rdi movq _TPM_CRB_INT_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TPM_CRB_INT_ENABLE_BIT@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx callq _AND4 movq -24(%rbp), %rax movl $0, (%rax) movq -24(%rbp), %rdi movq _TPM_CRB_CTRL_RSP_ADDR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _RD8 movl %eax, %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movq -24(%rbp), %rdi movq _TPM_CRB_CTRL_CMD_LADDR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _RD4 movl %eax, %ecx movq -16(%rbp), %rax movl %ecx, 4(%rax) movq -24(%rbp), %rdi movq _TPM_CRB_CTRL_CMD_HADDR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _RD4 ## kill: def $eax killed $eax killed $rax movl $32, %ecx ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, %ecx movq -16(%rbp), %rax orl 4(%rax), %ecx movl %ecx, 4(%rax) movq -24(%rbp), %rdi movq _TPM_CRB_CTRL_CMD_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _RD4 movq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) movq -24(%rbp), %rdi movq _TPM_CRB_CTRL_RSP_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _RD4 movq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 16(%rax) movq -24(%rbp), %rdi callq _tpmcrb_relinquish_locality movl -28(%rbp), %edi movq _tpmcrb_fix_buff_offsets@GOTPCREL(%rip), %rax movl (%rax), %edx movq -16(%rbp), %rcx leaq L_.str(%rip), %rsi callq _AcpiWalkResources movl %eax, -32(%rbp) movl -32(%rbp), %edi callq _ACPI_FAILURE cmpq $0, %rax je LBB0_6 ## %bb.5: movl -8(%rbp), %edi callq _tpmcrb_detach movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_6: movq -16(%rbp), %rax movl (%rax), %eax movq -16(%rbp), %rcx cmpl 4(%rcx), %eax jne LBB0_10 ## %bb.7: movq -16(%rbp), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx cmpq 16(%rcx), %rax je LBB0_9 ## %bb.8: movq -24(%rbp), %rax movl 8(%rax), %edi leaq L_.str.1(%rip), %rsi callq _device_printf movl -8(%rbp), %edi callq _tpmcrb_detach movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_9: jmp LBB0_10 LBB0_10: movq _tpmcrb_transmit@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -24(%rbp), %rax movl %ecx, 4(%rax) movq -24(%rbp), %rdi callq _tpm20_init movl %eax, -36(%rbp) cmpl $0, -36(%rbp) je LBB0_12 ## %bb.11: movl -8(%rbp), %edi callq _tpmcrb_detach LBB0_12: movl -36(%rbp), %eax movl %eax, -4(%rbp) LBB0_13: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SYS_RES_MEMORY,4,2 ## @SYS_RES_MEMORY .comm _RF_ACTIVE,4,2 ## @RF_ACTIVE .comm _ENXIO,4,2 ## @ENXIO .comm _TPM_CRB_INT_ENABLE,4,2 ## @TPM_CRB_INT_ENABLE .comm _TPM_CRB_INT_ENABLE_BIT,4,2 ## @TPM_CRB_INT_ENABLE_BIT .comm _TPM_CRB_CTRL_RSP_ADDR,4,2 ## @TPM_CRB_CTRL_RSP_ADDR .comm _TPM_CRB_CTRL_CMD_LADDR,4,2 ## @TPM_CRB_CTRL_CMD_LADDR .comm _TPM_CRB_CTRL_CMD_HADDR,4,2 ## @TPM_CRB_CTRL_CMD_HADDR .comm _TPM_CRB_CTRL_CMD_SIZE,4,2 ## @TPM_CRB_CTRL_CMD_SIZE .comm _TPM_CRB_CTRL_RSP_SIZE,4,2 ## @TPM_CRB_CTRL_RSP_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "_CRS" .comm _tpmcrb_fix_buff_offsets,4,2 ## @tpmcrb_fix_buff_offsets L_.str.1: ## @.str.1 .asciz "Overlapping Tx/Rx buffers have different sizes\n" .comm _tpmcrb_transmit,4,2 ## @tpmcrb_transmit .comm _TPM_CRB_CTRL_RSP_HADDR,4,2 ## @TPM_CRB_CTRL_RSP_HADDR .no_dead_strip _tpmcrb_attach .subsections_via_symbols
AnghaBench/freebsd/sys/dev/tpm/extr_tpm_crb.c_tpmcrb_attach.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dma_mem_supports_dma ; -- Begin function dma_mem_supports_dma .p2align 2 _dma_mem_supports_dma: ; @dma_mem_supports_dma .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x0, [x29, #-8] bl _dma_mem_type str x0, [sp, #16] ldr x8, [sp, #16] adrp x9, _DMA_MEM_TYPE_DMA@GOTPAGE ldr x9, [x9, _DMA_MEM_TYPE_DMA@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq mov w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] adrp x9, _DMA_MEM_TYPE_USER@GOTPAGE ldr x9, [x9, _DMA_MEM_TYPE_USER@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp, #12] ; 4-byte Folded Reload and w0, w8, #0x1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _DMA_MEM_TYPE_DMA,8,3 ; @DMA_MEM_TYPE_DMA .comm _DMA_MEM_TYPE_USER,8,3 ; @DMA_MEM_TYPE_USER .comm _DMA_MEM_TYPE_KMALLOC,8,3 ; @DMA_MEM_TYPE_KMALLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dma_mem_supports_dma ## -- Begin function dma_mem_supports_dma .p2align 4, 0x90 _dma_mem_supports_dma: ## @dma_mem_supports_dma .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _dma_mem_type movq %rax, -16(%rbp) movq -16(%rbp), %rcx movb $1, %al movq _DMA_MEM_TYPE_DMA@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx movb %al, -17(%rbp) ## 1-byte Spill je LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq _DMA_MEM_TYPE_USER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al movb %al, -17(%rbp) ## 1-byte Spill LBB0_2: movb -17(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _DMA_MEM_TYPE_DMA,8,3 ## @DMA_MEM_TYPE_DMA .comm _DMA_MEM_TYPE_USER,8,3 ## @DMA_MEM_TYPE_USER .comm _DMA_MEM_TYPE_KMALLOC,8,3 ## @DMA_MEM_TYPE_KMALLOC .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/arm/mach-bcmring/extr_dma.c_dma_mem_supports_dma.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mce_intel_hcpu_update _mce_intel_hcpu_update: ; @mce_intel_hcpu_update .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _mce_intel_hcpu_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mce_intel_hcpu_update _mce_intel_hcpu_update: ## @mce_intel_hcpu_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mce_intel_hcpu_update .subsections_via_symbols
AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_internal.h_mce_intel_hcpu_update.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function imf_graft _imf_graft: ; @imf_graft .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 stur x0, [x29, #-16] stur w1, [x29, #-20] str x2, [sp, #16] adrp x8, _M_INMFILTER@GOTPAGE ldr x8, [x8, _M_INMFILTER@GOTPAGEOFF] ldr w1, [x8] adrp x8, _M_NOWAIT@GOTPAGE ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF] ldr w8, [x8] adrp x9, _M_ZERO@GOTPAGE ldr x9, [x9, _M_ZERO@GOTPAGEOFF] ldr w9, [x9] orr w2, w8, w9 mov w0, #16 bl _malloc str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_3 LBB0_2: ldr x8, [sp, #8] str x8, [sp] ldr x8, [sp, #16] ldr w0, [x8] bl _ntohl ldr x8, [sp] str w0, [x8, #8] adrp x8, _MCAST_UNDEFINED@GOTPAGE ldr x8, [x8, _MCAST_UNDEFINED@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp] ldr x9, [x9] str w8, [x9] ldur w8, [x29, #-20] ldr x9, [sp] ldr x9, [x9] str w8, [x9, #4] adrp x8, _ip_msource_tree@GOTPAGE ldr x8, [x8, _ip_msource_tree@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-16] add x1, x8, #4 ldr x2, [sp, #8] bl _RB_INSERT ldur x9, [x29, #-16] ldr w8, [x9] add w8, w8, #1 str w8, [x9] ldr x8, [sp] stur x8, [x29, #-8] b LBB0_3 LBB0_3: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _M_INMFILTER,4,2 ; @M_INMFILTER .comm _M_NOWAIT,4,2 ; @M_NOWAIT .comm _M_ZERO,4,2 ; @M_ZERO .comm _MCAST_UNDEFINED,4,2 ; @MCAST_UNDEFINED .comm _ip_msource_tree,4,2 ; @ip_msource_tree .no_dead_strip _imf_graft .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function imf_graft _imf_graft: ## @imf_graft .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 %rdi, -16(%rbp) movl %esi, -20(%rbp) movq %rdx, -32(%rbp) movq _M_INMFILTER@GOTPCREL(%rip), %rax movl (%rax), %esi movq _M_NOWAIT@GOTPCREL(%rip), %rax movl (%rax), %edx movq _M_ZERO@GOTPCREL(%rip), %rax orl (%rax), %edx movl $16, %edi callq _malloc movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_3 LBB0_2: movq -40(%rbp), %rax movq %rax, -48(%rbp) movq -32(%rbp), %rax movl (%rax), %edi callq _ntohl movl %eax, %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) movq _MCAST_UNDEFINED@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movq (%rax), %rax movl %ecx, (%rax) movl -20(%rbp), %ecx movq -48(%rbp), %rax movq (%rax), %rax movl %ecx, 4(%rax) movq _ip_msource_tree@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rsi addq $4, %rsi movq -40(%rbp), %rdx callq _RB_INSERT movq -16(%rbp), %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) movq -48(%rbp), %rax movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _M_INMFILTER,4,2 ## @M_INMFILTER .comm _M_NOWAIT,4,2 ## @M_NOWAIT .comm _M_ZERO,4,2 ## @M_ZERO .comm _MCAST_UNDEFINED,4,2 ## @MCAST_UNDEFINED .comm _ip_msource_tree,4,2 ## @ip_msource_tree .no_dead_strip _imf_graft .subsections_via_symbols
AnghaBench/freebsd/sys/netinet/extr_in_mcast.c_imf_graft.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function client_handle_certificate_request _client_handle_certificate_request: ; @client_handle_certificate_request .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x1, [x29, #-24] stur x2, [x29, #-16] str x0, [sp, #32] str x3, [sp, #24] ldur x8, [x29, #-16] adrp x9, _PTLS_HANDSHAKE_HEADER_SIZE@GOTPAGE ldr x9, [x9, _PTLS_HANDSHAKE_HEADER_SIZE@GOTPAGEOFF] ldrsw x9, [x9] add x8, x8, x9, lsl #2 str x8, [sp, #16] ldur x8, [x29, #-16] ldursw x9, [x29, #-24] add x8, x8, x9, lsl #2 str x8, [sp, #8] str wzr, [sp, #4] ldr x0, [sp, #32] ldr x8, [sp, #32] ldr x2, [sp, #16] ldr x3, [sp, #8] add x1, x8, #8 bl _decode_certificate_request str w0, [sp, #4] subs w8, w0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #4] stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldr x8, [sp, #32] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _PTLS_ALERT_ILLEGAL_PARAMETER@GOTPAGE ldr x8, [x8, _PTLS_ALERT_ILLEGAL_PARAMETER@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_5 LBB0_4: adrp x8, _PTLS_STATE_CLIENT_EXPECT_CERTIFICATE@GOTPAGE ldr x8, [x8, _PTLS_STATE_CLIENT_EXPECT_CERTIFICATE@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #32] str w8, [x9, #4] ldr x8, [sp, #32] ldr w0, [x8] ldur x1, [x29, #-16] ldur w2, [x29, #-24] bl _ptls__key_schedule_update_hash adrp x8, _PTLS_ERROR_IN_PROGRESS@GOTPAGE ldr x8, [x8, _PTLS_ERROR_IN_PROGRESS@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _PTLS_HANDSHAKE_HEADER_SIZE,4,2 ; @PTLS_HANDSHAKE_HEADER_SIZE .comm _PTLS_ALERT_ILLEGAL_PARAMETER,4,2 ; @PTLS_ALERT_ILLEGAL_PARAMETER .comm _PTLS_STATE_CLIENT_EXPECT_CERTIFICATE,4,2 ; @PTLS_STATE_CLIENT_EXPECT_CERTIFICATE .comm _PTLS_ERROR_IN_PROGRESS,4,2 ; @PTLS_ERROR_IN_PROGRESS .no_dead_strip _client_handle_certificate_request .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function client_handle_certificate_request _client_handle_certificate_request: ## @client_handle_certificate_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movl %esi, -24(%rbp) movq %rdx, -16(%rbp) movq %rdi, -32(%rbp) movq %rcx, -40(%rbp) movq -16(%rbp), %rax movq _PTLS_HANDSHAKE_HEADER_SIZE@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -48(%rbp) movq -16(%rbp), %rax movslq -24(%rbp), %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movl $0, -60(%rbp) movq -32(%rbp), %rdi movq -32(%rbp), %rsi addq $8, %rsi movq -48(%rbp), %rdx movq -56(%rbp), %rcx callq _decode_certificate_request movl %eax, -60(%rbp) cmpl $0, %eax je LBB0_2 ## %bb.1: movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movq -32(%rbp), %rax cmpq $0, 8(%rax) je LBB0_4 ## %bb.3: movq _PTLS_ALERT_ILLEGAL_PARAMETER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movq _PTLS_STATE_CLIENT_EXPECT_CERTIFICATE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, 4(%rax) movq -32(%rbp), %rax movl (%rax), %edi movq -16(%rbp), %rsi movl -24(%rbp), %edx callq _ptls__key_schedule_update_hash movq _PTLS_ERROR_IN_PROGRESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PTLS_HANDSHAKE_HEADER_SIZE,4,2 ## @PTLS_HANDSHAKE_HEADER_SIZE .comm _PTLS_ALERT_ILLEGAL_PARAMETER,4,2 ## @PTLS_ALERT_ILLEGAL_PARAMETER .comm _PTLS_STATE_CLIENT_EXPECT_CERTIFICATE,4,2 ## @PTLS_STATE_CLIENT_EXPECT_CERTIFICATE .comm _PTLS_ERROR_IN_PROGRESS,4,2 ## @PTLS_ERROR_IN_PROGRESS .no_dead_strip _client_handle_certificate_request .subsections_via_symbols
AnghaBench/h2o/deps/picotls/lib/extr_picotls.c_client_handle_certificate_request.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function il3945_manage_ibss_station _il3945_manage_ibss_station: ; @il3945_manage_ibss_station .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] ldur x8, [x29, #-24] ldr x8, [x8, #8] str x8, [sp, #24] ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_1 LBB0_1: ldur x0, [x29, #-16] ldur x8, [x29, #-24] ldr w1, [x8] ldr x2, [sp, #24] bl _il3945_add_bssid_station str w0, [sp, #20] ldr w8, [sp, #20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr w8, [sp, #20] stur w8, [x29, #-4] b LBB0_8 LBB0_3: ldur x8, [x29, #-16] str x8, [sp, #8] ; 8-byte Folded Spill ldr x8, [sp, #24] ldr w8, [x8] str w8, [sp, #16] ; 4-byte Folded Spill ldur x8, [x29, #-16] ldr x8, [x8] adrp x9, _IEEE80211_BAND_5GHZ@GOTPAGE ldr x9, [x9, _IEEE80211_BAND_5GHZ@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _RATE_6M_PLCP@GOTPAGE ldr x8, [x8, _RATE_6M_PLCP@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_6 LBB0_5: adrp x8, _RATE_1M_PLCP@GOTPAGE ldr x8, [x8, _RATE_1M_PLCP@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_6 LBB0_6: ldr w1, [sp, #16] ; 4-byte Folded Reload ldr x0, [sp, #8] ; 8-byte Folded Reload ldr w2, [sp, #4] ; 4-byte Folded Reload bl _il3945_sync_sta ldur x8, [x29, #-16] ldr w0, [x8, #8] ldr x8, [sp, #24] ldr w1, [x8] bl _il3945_rate_scale_init stur wzr, [x29, #-4] b LBB0_8 LBB0_7: ldur x0, [x29, #-16] ldr x8, [sp, #24] ldr w1, [x8] ldur x8, [x29, #-24] ldr w2, [x8] bl _il_remove_station stur w0, [x29, #-4] b LBB0_8 LBB0_8: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _IEEE80211_BAND_5GHZ,8,3 ; @IEEE80211_BAND_5GHZ .comm _RATE_6M_PLCP,4,2 ; @RATE_6M_PLCP .comm _RATE_1M_PLCP,4,2 ; @RATE_1M_PLCP .no_dead_strip _il3945_manage_ibss_station .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function il3945_manage_ibss_station _il3945_manage_ibss_station: ## @il3945_manage_ibss_station .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -40(%rbp) cmpl $0, -28(%rbp) je LBB0_7 ## %bb.1: movq -16(%rbp), %rdi movq -24(%rbp), %rax movl (%rax), %esi movq -40(%rbp), %rdx callq _il3945_add_bssid_station movl %eax, -44(%rbp) cmpl $0, -44(%rbp) je LBB0_3 ## %bb.2: movl -44(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_8 LBB0_3: movq -16(%rbp), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq -40(%rbp), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq -16(%rbp), %rax movq (%rax), %rax movq _IEEE80211_BAND_5GHZ@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.4: movq _RATE_6M_PLCP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill jmp LBB0_6 LBB0_5: movq _RATE_1M_PLCP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill LBB0_6: movl -48(%rbp), %esi ## 4-byte Reload movq -56(%rbp), %rdi ## 8-byte Reload movl -60(%rbp), %edx ## 4-byte Reload callq _il3945_sync_sta movq -16(%rbp), %rax movl 8(%rax), %edi movq -40(%rbp), %rax movl (%rax), %esi callq _il3945_rate_scale_init movl $0, -4(%rbp) jmp LBB0_8 LBB0_7: movq -16(%rbp), %rdi movq -40(%rbp), %rax movl (%rax), %esi movq -24(%rbp), %rax movl (%rax), %edx callq _il_remove_station movl %eax, -4(%rbp) LBB0_8: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _IEEE80211_BAND_5GHZ,8,3 ## @IEEE80211_BAND_5GHZ .comm _RATE_6M_PLCP,4,2 ## @RATE_6M_PLCP .comm _RATE_1M_PLCP,4,2 ## @RATE_1M_PLCP .no_dead_strip _il3945_manage_ibss_station .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_3945.c_il3945_manage_ibss_station.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fixed_phy_get_gpiod _fixed_phy_get_gpiod: ; @fixed_phy_get_gpiod .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] mov x0, #0 add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _fixed_phy_get_gpiod .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fixed_phy_get_gpiod _fixed_phy_get_gpiod: ## @fixed_phy_get_gpiod .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) xorl %eax, %eax ## kill: def $rax killed $eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fixed_phy_get_gpiod .subsections_via_symbols
AnghaBench/linux/drivers/net/phy/extr_fixed_phy.c_fixed_phy_get_gpiod.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_sdvo_panel_data _parse_sdvo_panel_data: ; @parse_sdvo_panel_data .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 stur x0, [x29, #-8] stur x1, [x29, #-16] adrp x8, _i915_modparams@GOTPAGE ldr x8, [x8, _i915_modparams@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #12] ldr w8, [sp, #12] adds w8, w8, #2 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG_KMS b LBB0_11 LBB0_2: ldr w8, [sp, #12] adds w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldur x0, [x29, #-16] adrp x8, _BDB_SDVO_LVDS_OPTIONS@GOTPAGE ldr x8, [x8, _BDB_SDVO_LVDS_OPTIONS@GOTPAGEOFF] ldr w1, [x8] bl _find_section str x0, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: b LBB0_11 LBB0_5: ldr x8, [sp] ldr w8, [x8] str w8, [sp, #12] b LBB0_6 LBB0_6: ldur x0, [x29, #-16] adrp x8, _BDB_SDVO_PANEL_DTDS@GOTPAGE ldr x8, [x8, _BDB_SDVO_PANEL_DTDS@GOTPAGEOFF] ldr w1, [x8] bl _find_section str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: b LBB0_11 LBB0_8: adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x8] mov w0, #4 bl _kzalloc str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: b LBB0_11 LBB0_10: ldr x0, [sp, #16] ldr x8, [sp, #24] ldr x8, [x8] ldrsw x9, [sp, #12] add x1, x8, x9, lsl #2 bl _fill_detail_timing_data ldr x8, [sp, #16] ldur x9, [x29, #-8] str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _DRM_DEBUG_KMS ldr x0, [sp, #16] bl _drm_mode_debug_printmodeline b LBB0_11 LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _i915_modparams,4,2 ; @i915_modparams .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Ignore SDVO panel mode from BIOS VBT tables.\n" .comm _BDB_SDVO_LVDS_OPTIONS,4,2 ; @BDB_SDVO_LVDS_OPTIONS .comm _BDB_SDVO_PANEL_DTDS,4,2 ; @BDB_SDVO_PANEL_DTDS .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL l_.str.1: ; @.str.1 .asciz "Found SDVO panel mode in BIOS VBT tables:\n" .no_dead_strip _parse_sdvo_panel_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_sdvo_panel_data _parse_sdvo_panel_data: ## @parse_sdvo_panel_data .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq _i915_modparams@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -36(%rbp) cmpl $-2, -36(%rbp) jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _DRM_DEBUG_KMS jmp LBB0_11 LBB0_2: cmpl $-1, -36(%rbp) jne LBB0_6 ## %bb.3: movq -16(%rbp), %rdi movq _BDB_SDVO_LVDS_OPTIONS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _find_section movq %rax, -48(%rbp) cmpq $0, -48(%rbp) jne LBB0_5 ## %bb.4: jmp LBB0_11 LBB0_5: movq -48(%rbp), %rax movl (%rax), %eax movl %eax, -36(%rbp) LBB0_6: movq -16(%rbp), %rdi movq _BDB_SDVO_PANEL_DTDS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _find_section movq %rax, -24(%rbp) cmpq $0, -24(%rbp) jne LBB0_8 ## %bb.7: jmp LBB0_11 LBB0_8: movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4, %edi callq _kzalloc movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_10 ## %bb.9: jmp LBB0_11 LBB0_10: movq -32(%rbp), %rdi movq -24(%rbp), %rax movq (%rax), %rsi movslq -36(%rbp), %rax shlq $2, %rax addq %rax, %rsi callq _fill_detail_timing_data movq -32(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, (%rax) leaq L_.str.1(%rip), %rdi callq _DRM_DEBUG_KMS movq -32(%rbp), %rdi callq _drm_mode_debug_printmodeline LBB0_11: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _i915_modparams,4,2 ## @i915_modparams .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Ignore SDVO panel mode from BIOS VBT tables.\n" .comm _BDB_SDVO_LVDS_OPTIONS,4,2 ## @BDB_SDVO_LVDS_OPTIONS .comm _BDB_SDVO_PANEL_DTDS,4,2 ## @BDB_SDVO_PANEL_DTDS .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL L_.str.1: ## @.str.1 .asciz "Found SDVO panel mode in BIOS VBT tables:\n" .no_dead_strip _parse_sdvo_panel_data .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_bios.c_parse_sdvo_panel_data.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cmd_CipherString _cmd_CipherString: ; @cmd_CipherString .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] mov w8, #1 str w8, [sp, #12] ldur x8, [x29, #-8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldr x0, [x8, #8] ldr x1, [sp, #16] bl _SSL_CTX_set_cipher_list str w0, [sp, #12] b LBB0_2 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr x0, [x8] ldr x1, [sp, #16] bl _SSL_set_cipher_list str w0, [sp, #12] b LBB0_4 LBB0_4: ldr w8, [sp, #12] subs w8, w8, #0 cset w8, gt and w0, w8, #0x1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _cmd_CipherString .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cmd_CipherString _cmd_CipherString: ## @cmd_CipherString .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl $1, -20(%rbp) movq -8(%rbp), %rax cmpq $0, 8(%rax) je LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq 8(%rax), %rdi movq -16(%rbp), %rsi callq _SSL_CTX_set_cipher_list movl %eax, -20(%rbp) LBB0_2: movq -8(%rbp), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: movq -8(%rbp), %rax movq (%rax), %rdi movq -16(%rbp), %rsi callq _SSL_set_cipher_list movl %eax, -20(%rbp) LBB0_4: cmpl $0, -20(%rbp) setg %al andb $1, %al movzbl %al, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cmd_CipherString .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/ssl/extr_ssl_conf.c_cmd_CipherString.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function read_env _read_env: ; @read_env .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x8, _stdin@GOTPAGE ldr x8, [x8, _stdin@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill str wzr, [sp, #20] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] bl _getc sxtb w0, w0 str w0, [sp, #24] bl _isdigit subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #20] mov w9, #10 mul w8, w8, w9 ldr w9, [sp, #24] add w8, w8, w9 subs w8, w8, #48 str w8, [sp, #20] b LBB0_1 LBB0_3: ldr w8, [sp, #24] subs w8, w8, #58 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr w8, [sp, #20] subs w8, w8, #4 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_23 LBB0_6: ldr w0, [sp, #20] bl _malloc ldr x8, [sp, #8] ; 8-byte Folded Reload stur x0, [x29, #-24] ldur x0, [x29, #-24] ldr w2, [sp, #20] ldr w3, [x8] mov w1, #1 bl _fread ldr w8, [sp, #20] subs w8, w0, w8 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] bl _getc sxtb w8, w0 subs w8, w8, #44 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x0, [x29, #-24] bl _free ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_23 LBB0_9: str wzr, [sp, #24] str wzr, [sp, #28] b LBB0_10 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #28] ldr w9, [sp, #20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_16 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_10 Depth=1 ldur x8, [x29, #-24] ldrsw x9, [sp, #28] ldrsb w8, [x8, x9] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_10 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] ands w8, w8, #0x1 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_10 Depth=1 ldur x8, [x29, #-24] ldrsw x9, [sp, #28] add x9, x8, x9 mov w8, #61 strb w8, [x9] b LBB0_14 LBB0_14: ; in Loop: Header=BB0_10 Depth=1 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_10 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_10 LBB0_16: ldr w8, [sp, #24] mov w9, #2 sdiv w8, w8, w9 add w8, w8, #1 str w8, [sp, #24] ldrsw x8, [sp, #24] lsl x8, x8, #3 mov x0, x8 bl _malloc stur x0, [x29, #-16] ldur x8, [x29, #-24] str x8, [sp, #32] str wzr, [sp, #24] str wzr, [sp, #28] b LBB0_17 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #28] ldr w9, [sp, #20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_22 b LBB0_18 LBB0_18: ; in Loop: Header=BB0_17 Depth=1 ldur x8, [x29, #-24] ldrsw x9, [sp, #28] ldrsb w8, [x8, x9] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [sp, #32] ldur x9, [x29, #-16] ldrsw x10, [sp, #24] mov x11, x10 add w11, w11, #1 str w11, [sp, #24] str x8, [x9, x10, lsl #3] ldur x8, [x29, #-24] ldrsw x9, [sp, #28] add x8, x8, x9 add x8, x8, #1 str x8, [sp, #32] b LBB0_20 LBB0_20: ; in Loop: Header=BB0_17 Depth=1 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_17 Depth=1 ldr w8, [sp, #28] add w8, w8, #1 str w8, [sp, #28] b LBB0_17 LBB0_22: ldur x9, [x29, #-16] ldrsw x10, [sp, #24] mov x8, #0 str x8, [x9, x10, lsl #3] ldur x8, [x29, #-16] stur x8, [x29, #-8] b LBB0_23 LBB0_23: ldur x0, [x29, #-8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _stdin,4,2 ; @stdin .no_dead_strip _read_env .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function read_env _read_env: ## @read_env .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 movl $0, -44(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq _stdin@GOTPCREL(%rip), %rax movl (%rax), %edi callq _getc movsbl %al, %edi movl %edi, -40(%rbp) callq _isdigit cmpq $0, %rax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 imull $10, -44(%rbp), %eax addl -40(%rbp), %eax subl $48, %eax movl %eax, -44(%rbp) jmp LBB0_1 LBB0_3: cmpl $58, -40(%rbp) jne LBB0_5 ## %bb.4: cmpl $4, -44(%rbp) jge LBB0_6 LBB0_5: movq $0, -8(%rbp) jmp LBB0_23 LBB0_6: movl -44(%rbp), %edi callq _malloc movq %rax, -24(%rbp) movq -24(%rbp), %rdi movl -44(%rbp), %edx movq _stdin@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $1, %esi callq _fread cmpl -44(%rbp), %eax jne LBB0_8 ## %bb.7: movq _stdin@GOTPCREL(%rip), %rax movl (%rax), %edi callq _getc movsbl %al, %eax cmpl $44, %eax je LBB0_9 LBB0_8: movq -24(%rbp), %rdi callq _free movq $0, -8(%rbp) jmp LBB0_23 LBB0_9: movl $0, -40(%rbp) movl $0, -36(%rbp) LBB0_10: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax cmpl -44(%rbp), %eax jge LBB0_16 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq -24(%rbp), %rax movslq -36(%rbp), %rcx movsbl (%rax,%rcx), %eax cmpl $0, %eax jne LBB0_14 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movl -40(%rbp), %eax addl $1, %eax movl %eax, -40(%rbp) andl $1, %eax cmpl $0, %eax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_10 Depth=1 movq -24(%rbp), %rax movslq -36(%rbp), %rcx movb $61, (%rax,%rcx) LBB0_14: ## in Loop: Header=BB0_10 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_10 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_10 LBB0_16: movl -40(%rbp), %eax movl $2, %ecx cltd idivl %ecx addl $1, %eax movl %eax, -40(%rbp) movslq -40(%rbp), %rax shlq $3, %rax movl %eax, %edi callq _malloc movq %rax, -16(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) movl $0, -40(%rbp) movl $0, -36(%rbp) LBB0_17: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax cmpl -44(%rbp), %eax jge LBB0_22 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movq -24(%rbp), %rax movslq -36(%rbp), %rcx movsbl (%rax,%rcx), %eax cmpl $0, %eax jne LBB0_20 ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movq -32(%rbp), %rdx movq -16(%rbp), %rax movl -40(%rbp), %ecx movl %ecx, %esi addl $1, %esi movl %esi, -40(%rbp) movslq %ecx, %rcx movq %rdx, (%rax,%rcx,8) movq -24(%rbp), %rax movslq -36(%rbp), %rcx addq %rcx, %rax addq $1, %rax movq %rax, -32(%rbp) LBB0_20: ## in Loop: Header=BB0_17 Depth=1 jmp LBB0_21 LBB0_21: ## in Loop: Header=BB0_17 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_17 LBB0_22: movq -16(%rbp), %rax movslq -40(%rbp), %rcx movq $0, (%rax,%rcx,8) movq -16(%rbp), %rax movq %rax, -8(%rbp) LBB0_23: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _stdin,4,2 ## @stdin .no_dead_strip _read_env .subsections_via_symbols
AnghaBench/mongoose/test/ccgi-1.2/extr_prefork.c_read_env.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dpaa_bp_add_8_bufs _dpaa_bp_add_8_bufs: ; @dpaa_bp_add_8_bufs .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str x0, [sp, #40] ldr x8, [sp, #40] ldr x8, [x8] str x8, [sp, #32] str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #40] ldr w0, [x8, #12] bl _netdev_alloc_frag str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #32] ldr x8, [sp, #40] ldr w9, [x8, #12] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err b LBB0_10 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #16] adrp x8, _SMP_CACHE_BYTES@GOTPAGE ldr x8, [x8, _SMP_CACHE_BYTES@GOTPAGEOFF] ldr w1, [x8] bl _PTR_ALIGN str x0, [sp, #16] ldr x0, [sp, #32] ldr x1, [sp, #16] ldr x8, [sp, #40] ldr w2, [x8, #8] adrp x8, _DMA_FROM_DEVICE@GOTPAGE ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF] ldr w3, [x8] bl _dma_map_single str w0, [sp, #28] ldr x0, [sp, #32] ldr w1, [sp, #28] bl _dma_mapping_error bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #40] ldr x0, [x8] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _dev_err b LBB0_10 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldrsw x10, [sp, #12] add x8, sp, #56 mov x9, #0 str x9, [x8, x10, lsl #3] ldrsw x9, [sp, #12] add x0, x8, x9, lsl #3 ldr w1, [sp, #28] bl _bm_buffer_set64 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_8: b LBB0_9 LBB0_9: ldr x0, [sp, #40] ldr w2, [sp, #12] add x1, sp, #56 bl _dpaa_bman_release str w0, [sp, #52] b LBB0_13 LBB0_10: mov w0, #1 adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _WARN_ONCE ldrsw x9, [sp, #12] add x8, sp, #56 add x0, x8, x9, lsl #3 mov w1, #0 bl _bm_buffer_set64 ldr w0, [sp, #12] bl _likely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: b LBB0_9 LBB0_12: str wzr, [sp, #52] b LBB0_13 LBB0_13: ldr w8, [sp, #52] str w8, [sp, #8] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: bl ___stack_chk_fail LBB0_15: ldr w0, [sp, #8] ; 4-byte Folded Reload ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "netdev_alloc_frag() failed, size %zu\n" .comm _SMP_CACHE_BYTES,4,2 ; @SMP_CACHE_BYTES .comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE l_.str.1: ; @.str.1 .asciz "DMA map failed" l_.str.2: ; @.str.2 .asciz "dpaa_eth: failed to add buffers on Rx\n" .no_dead_strip _dpaa_bp_add_8_bufs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dpaa_bp_add_8_bufs _dpaa_bp_add_8_bufs: ## @dpaa_bp_add_8_bufs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -96(%rbp) movq -96(%rbp), %rax movq (%rax), %rax movq %rax, -104(%rbp) movl $0, -124(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $8, -124(%rbp) jge LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -96(%rbp), %rax movl 12(%rax), %edi callq _netdev_alloc_frag movq %rax, -120(%rbp) cmpq $0, -120(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_4 ## %bb.3: movq -104(%rbp), %rdi movq -96(%rbp), %rax movl 12(%rax), %edx leaq L_.str(%rip), %rsi movb $0, %al callq _dev_err jmp LBB0_10 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -120(%rbp), %rdi movq _SMP_CACHE_BYTES@GOTPCREL(%rip), %rax movl (%rax), %esi callq _PTR_ALIGN movq %rax, -120(%rbp) movq -104(%rbp), %rdi movq -120(%rbp), %rsi movq -96(%rbp), %rax movl 8(%rax), %edx movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _dma_map_single movl %eax, -108(%rbp) movq -104(%rbp), %rdi movl -108(%rbp), %esi callq _dma_mapping_error movl %eax, %edi callq _unlikely cmpq $0, %rax je LBB0_6 ## %bb.5: movq -96(%rbp), %rax movq (%rax), %rdi leaq L_.str.1(%rip), %rsi movb $0, %al callq _dev_err jmp LBB0_10 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movslq -124(%rbp), %rax movq $0, -80(%rbp,%rax,8) movslq -124(%rbp), %rax leaq -80(%rbp), %rdi shlq $3, %rax addq %rax, %rdi movl -108(%rbp), %esi callq _bm_buffer_set64 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movl -124(%rbp), %eax addl $1, %eax movl %eax, -124(%rbp) jmp LBB0_1 LBB0_8: jmp LBB0_9 LBB0_9: movq -96(%rbp), %rdi leaq -80(%rbp), %rsi movl -124(%rbp), %edx callq _dpaa_bman_release movl %eax, -84(%rbp) jmp LBB0_13 LBB0_10: movl $1, %edi leaq L_.str.2(%rip), %rsi callq _WARN_ONCE movslq -124(%rbp), %rax leaq -80(%rbp), %rdi shlq $3, %rax addq %rax, %rdi xorl %esi, %esi callq _bm_buffer_set64 movl -124(%rbp), %edi callq _likely cmpq $0, %rax je LBB0_12 ## %bb.11: jmp LBB0_9 LBB0_12: movl $0, -84(%rbp) LBB0_13: movl -84(%rbp), %eax movl %eax, -128(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_15 ## %bb.14: movl -128(%rbp), %eax ## 4-byte Reload addq $128, %rsp popq %rbp retq LBB0_15: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "netdev_alloc_frag() failed, size %zu\n" .comm _SMP_CACHE_BYTES,4,2 ## @SMP_CACHE_BYTES .comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE L_.str.1: ## @.str.1 .asciz "DMA map failed" L_.str.2: ## @.str.2 .asciz "dpaa_eth: failed to add buffers on Rx\n" .no_dead_strip _dpaa_bp_add_8_bufs .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/freescale/dpaa/extr_dpaa_eth.c_dpaa_bp_add_8_bufs.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function subscribe_cb _subscribe_cb: ; @subscribe_cb .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 stur x0, [x29, #-8] stur w1, [x29, #-12] stur w2, [x29, #-16] str x3, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #16] ldur w8, [x29, #-12] adrp x9, _PA_SUBSCRIPTION_MASK_SINK@GOTPAGE ldr x9, [x9, _PA_SUBSCRIPTION_MASK_SINK@GOTPAGEOFF] ldr w9, [x9] and w8, w8, w9 str w8, [sp, #12] ldur w8, [x29, #-12] adrp x9, _PA_SUBSCRIPTION_EVENT_FACILITY_MASK@GOTPAGE ldr x9, [x9, _PA_SUBSCRIPTION_EVENT_FACILITY_MASK@GOTPAGEOFF] ldr w9, [x9] and w8, w8, w9 str w8, [sp, #8] ldr w8, [sp, #12] adrp x9, _PA_SUBSCRIPTION_EVENT_NEW@GOTPAGE ldr x9, [x9, _PA_SUBSCRIPTION_EVENT_NEW@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] adrp x9, _PA_SUBSCRIPTION_EVENT_REMOVE@GOTPAGE ldr x9, [x9, _PA_SUBSCRIPTION_EVENT_REMOVE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ldr w8, [sp, #8] adrp x9, _PA_SUBSCRIPTION_EVENT_SINK@GOTPAGE ldr x9, [x9, _PA_SUBSCRIPTION_EVENT_SINK@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #16] bl _ao_hotplug_event b LBB0_4 LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _PA_SUBSCRIPTION_MASK_SINK,4,2 ; @PA_SUBSCRIPTION_MASK_SINK .comm _PA_SUBSCRIPTION_EVENT_FACILITY_MASK,4,2 ; @PA_SUBSCRIPTION_EVENT_FACILITY_MASK .comm _PA_SUBSCRIPTION_EVENT_NEW,4,2 ; @PA_SUBSCRIPTION_EVENT_NEW .comm _PA_SUBSCRIPTION_EVENT_REMOVE,4,2 ; @PA_SUBSCRIPTION_EVENT_REMOVE .comm _PA_SUBSCRIPTION_EVENT_SINK,4,2 ; @PA_SUBSCRIPTION_EVENT_SINK .no_dead_strip _subscribe_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function subscribe_cb _subscribe_cb: ## @subscribe_cb .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 %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movq %rcx, -24(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) movl -12(%rbp), %eax movq _PA_SUBSCRIPTION_MASK_SINK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -36(%rbp) movl -12(%rbp), %eax movq _PA_SUBSCRIPTION_EVENT_FACILITY_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -40(%rbp) movl -36(%rbp), %eax movq _PA_SUBSCRIPTION_EVENT_NEW@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_2 ## %bb.1: movl -36(%rbp), %eax movq _PA_SUBSCRIPTION_EVENT_REMOVE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_4 LBB0_2: movl -40(%rbp), %eax movq _PA_SUBSCRIPTION_EVENT_SINK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_4 ## %bb.3: movq -32(%rbp), %rdi callq _ao_hotplug_event LBB0_4: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PA_SUBSCRIPTION_MASK_SINK,4,2 ## @PA_SUBSCRIPTION_MASK_SINK .comm _PA_SUBSCRIPTION_EVENT_FACILITY_MASK,4,2 ## @PA_SUBSCRIPTION_EVENT_FACILITY_MASK .comm _PA_SUBSCRIPTION_EVENT_NEW,4,2 ## @PA_SUBSCRIPTION_EVENT_NEW .comm _PA_SUBSCRIPTION_EVENT_REMOVE,4,2 ## @PA_SUBSCRIPTION_EVENT_REMOVE .comm _PA_SUBSCRIPTION_EVENT_SINK,4,2 ## @PA_SUBSCRIPTION_EVENT_SINK .no_dead_strip _subscribe_cb .subsections_via_symbols
AnghaBench/mpv/audio/out/extr_ao_pulse.c_subscribe_cb.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pcan_usb_pro_send_req ; -- Begin function pcan_usb_pro_send_req .p2align 2 _pcan_usb_pro_send_req: ; @pcan_usb_pro_send_req .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur w1, [x29, #-20] stur w2, [x29, #-24] str x3, [sp, #32] str w4, [sp, #28] ldur x8, [x29, #-16] ldr w8, [x8] adrp x9, _PCAN_USB_STATE_CONNECTED@GOTPAGE ldr x9, [x9, _PCAN_USB_STATE_CONNECTED@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_8 LBB0_2: adrp x8, _USB_TYPE_VENDOR@GOTPAGE ldr x8, [x8, _USB_TYPE_VENDOR@GOTPAGEOFF] ldr w8, [x8] adrp x9, _USB_RECIP_OTHER@GOTPAGE ldr x9, [x9, _USB_RECIP_OTHER@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 str w8, [sp, #20] ldur w8, [x29, #-20] subs w8, w8, #128 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-16] ldr w0, [x8, #8] mov w1, #0 bl _usb_sndctrlpipe str w0, [sp, #16] b LBB0_5 LBB0_4: ldur x8, [x29, #-16] ldr w0, [x8, #8] mov w1, #0 bl _usb_rcvctrlpipe str w0, [sp, #16] adrp x8, _USB_DIR_IN@GOTPAGE ldr x8, [x8, _USB_DIR_IN@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #20] orr w8, w8, w9 str w8, [sp, #20] ldr x0, [sp, #32] ldr w2, [sp, #28] mov w1, #0 bl _memset b LBB0_5 LBB0_5: ldur x8, [x29, #-16] ldr w0, [x8, #8] ldr w1, [sp, #16] ldur w2, [x29, #-20] ldr w3, [sp, #20] ldur w4, [x29, #-24] ldr x6, [sp, #32] ldr w7, [sp, #28] adrp x8, _USB_CTRL_GET_TIMEOUT@GOTPAGE ldr x8, [x8, _USB_CTRL_GET_TIMEOUT@GOTPAGEOFF] ldr w9, [x8] mov w8, #2 mul w8, w8, w9 mov x9, sp str w8, [x9] mov w5, #0 bl _usb_control_msg str w0, [sp, #24] ldr w8, [sp, #24] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldur x8, [x29, #-16] ldr w0, [x8, #4] ldur w2, [x29, #-20] ldur w3, [x29, #-24] ldr w4, [sp, #24] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _netdev_info ldr w8, [sp, #24] stur w8, [x29, #-4] b LBB0_8 LBB0_7: stur wzr, [x29, #-4] b LBB0_8 LBB0_8: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _PCAN_USB_STATE_CONNECTED,4,2 ; @PCAN_USB_STATE_CONNECTED .comm _USB_TYPE_VENDOR,4,2 ; @USB_TYPE_VENDOR .comm _USB_RECIP_OTHER,4,2 ; @USB_RECIP_OTHER .comm _USB_DIR_IN,4,2 ; @USB_DIR_IN .comm _USB_CTRL_GET_TIMEOUT,4,2 ; @USB_CTRL_GET_TIMEOUT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "unable to request usb[type=%d value=%d] err=%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pcan_usb_pro_send_req ## -- Begin function pcan_usb_pro_send_req .p2align 4, 0x90 _pcan_usb_pro_send_req: ## @pcan_usb_pro_send_req .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq %rcx, -32(%rbp) movl %r8d, -36(%rbp) movq -16(%rbp), %rax movl (%rax), %eax movq _PCAN_USB_STATE_CONNECTED@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_8 LBB0_2: movq _USB_TYPE_VENDOR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _USB_RECIP_OTHER@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, %eax movl %eax, -44(%rbp) movl -20(%rbp), %eax subl $128, %eax jne LBB0_4 jmp LBB0_3 LBB0_3: movq -16(%rbp), %rax movl 8(%rax), %edi xorl %esi, %esi callq _usb_sndctrlpipe movl %eax, -48(%rbp) jmp LBB0_5 LBB0_4: movq -16(%rbp), %rax movl 8(%rax), %edi xorl %esi, %esi callq _usb_rcvctrlpipe movl %eax, -48(%rbp) movq _USB_DIR_IN@GOTPCREL(%rip), %rax movl (%rax), %eax orl -44(%rbp), %eax movl %eax, -44(%rbp) movq -32(%rbp), %rdi movl -36(%rbp), %edx xorl %esi, %esi callq _memset LBB0_5: movq -16(%rbp), %rax movl 8(%rax), %edi movl -48(%rbp), %esi movl -20(%rbp), %edx movl -44(%rbp), %ecx movl -24(%rbp), %r8d movq -32(%rbp), %r11 movl -36(%rbp), %r10d movq _USB_CTRL_GET_TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %eax shll $1, %eax xorl %r9d, %r9d movq %r11, (%rsp) movl %r10d, 8(%rsp) movl %eax, 16(%rsp) callq _usb_control_msg movl %eax, -40(%rbp) cmpl $0, -40(%rbp) jge LBB0_7 ## %bb.6: movq -16(%rbp), %rax movl 4(%rax), %edi movl -20(%rbp), %edx movl -24(%rbp), %ecx movl -40(%rbp), %r8d leaq L_.str(%rip), %rsi callq _netdev_info movl -40(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_8 LBB0_7: movl $0, -4(%rbp) LBB0_8: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PCAN_USB_STATE_CONNECTED,4,2 ## @PCAN_USB_STATE_CONNECTED .comm _USB_TYPE_VENDOR,4,2 ## @USB_TYPE_VENDOR .comm _USB_RECIP_OTHER,4,2 ## @USB_RECIP_OTHER .comm _USB_DIR_IN,4,2 ## @USB_DIR_IN .comm _USB_CTRL_GET_TIMEOUT,4,2 ## @USB_CTRL_GET_TIMEOUT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "unable to request usb[type=%d value=%d] err=%d\n" .subsections_via_symbols
AnghaBench/linux/drivers/net/can/usb/peak_usb/extr_pcan_usb_pro.c_pcan_usb_pro_send_req.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___ubsan_handle_shift_out_of_bounds ; -- Begin function __ubsan_handle_shift_out_of_bounds .p2align 2 ___ubsan_handle_shift_out_of_bounds: ; @__ubsan_handle_shift_out_of_bounds .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 sub sp, sp, #144 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x0, [x29, #-16] stur x1, [x29, #-24] stur x2, [x29, #-32] ldur x8, [x29, #-16] ldr x8, [x8, #16] stur x8, [x29, #-48] ldur x8, [x29, #-16] ldr x8, [x8, #8] stur x8, [x29, #-56] adrp x8, _VALUE_LENGTH@GOTPAGE ldr x8, [x8, _VALUE_LENGTH@GOTPAGEOFF] ldr w9, [x8] ; kill: def $x9 killed $w9 stur x9, [x29, #-128] ; 8-byte Folded Spill mov x10, sp stur x10, [x29, #-64] lsr x9, x9, #0 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-136] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x11, [x29, #-136] ; 8-byte Folded Reload ldur x9, [x29, #-128] ; 8-byte Folded Reload mov x10, sp subs x0, x10, x11 stur x0, [x29, #-120] ; 8-byte Folded Spill mov sp, x0 stur x9, [x29, #-72] ldr w8, [x8] ; kill: def $x8 killed $w8 stur x8, [x29, #-112] ; 8-byte Folded Spill lsr x9, x8, #0 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-104] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-104] ; 8-byte Folded Reload mov x9, sp subs x0, x9, x10 stur x0, [x29, #-96] ; 8-byte Folded Spill mov sp, x0 stur x8, [x29, #-80] ldur x0, [x29, #-16] bl _suppress_report subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #1 stur w8, [x29, #-84] b LBB0_12 LBB0_2: ldur x0, [x29, #-16] sub x1, x29, #40 bl _ubsan_prologue ldur x8, [x29, #-128] ; 8-byte Folded Reload ldur x0, [x29, #-120] ; 8-byte Folded Reload mov x1, x8 ldur x2, [x29, #-48] ldur x3, [x29, #-32] bl _val_to_string ldur x8, [x29, #-112] ; 8-byte Folded Reload ldur x0, [x29, #-96] ; 8-byte Folded Reload mov x1, x8 ldur x2, [x29, #-56] ldur x3, [x29, #-24] bl _val_to_string ldur x0, [x29, #-48] ldur x1, [x29, #-32] bl _val_is_negative subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x1, [x29, #-120] ; 8-byte Folded Reload adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_err b LBB0_11 LBB0_4: ldur x0, [x29, #-48] ldur x1, [x29, #-32] bl _get_unsigned_val stur x0, [x29, #-144] ; 8-byte Folded Spill ldur x0, [x29, #-56] bl _type_bit_width mov x8, x0 ldur x0, [x29, #-144] ; 8-byte Folded Reload subs x8, x0, x8 cset w8, lo tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldur x0, [x29, #-56] bl _type_bit_width ldur x1, [x29, #-120] ; 8-byte Folded Reload ldur x8, [x29, #-56] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 sub sp, sp, #16 mov x9, sp str x0, [x9] str x8, [x9, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_err add sp, sp, #16 b LBB0_10 LBB0_6: ldur x0, [x29, #-56] ldur x1, [x29, #-24] bl _val_is_negative subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x1, [x29, #-96] ; 8-byte Folded Reload adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _pr_err b LBB0_9 LBB0_8: ldur x1, [x29, #-96] ; 8-byte Folded Reload ldur x10, [x29, #-120] ; 8-byte Folded Reload ldur x8, [x29, #-56] ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 sub sp, sp, #16 mov x9, sp str x10, [x9] str x8, [x9, #8] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _pr_err add sp, sp, #16 b LBB0_9 LBB0_9: b LBB0_10 LBB0_10: b LBB0_11 LBB0_11: sub x0, x29, #40 bl _ubsan_epilogue stur wzr, [x29, #-84] b LBB0_12 LBB0_12: ldur x8, [x29, #-64] mov sp, x8 ; %bb.13: ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: bl ___stack_chk_fail LBB0_15: mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret ; %bb.16: .cfi_endproc ; -- End function .comm _VALUE_LENGTH,4,2 ; @VALUE_LENGTH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "shift exponent %s is negative\n" l_.str.1: ; @.str.1 .asciz "shift exponent %s is too large for %u-bit type %s\n" l_.str.2: ; @.str.2 .asciz "left shift of negative value %s\n" l_.str.3: ; @.str.3 .asciz "left shift of %s by %s places cannot be represented in type %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___ubsan_handle_shift_out_of_bounds ## -- Begin function __ubsan_handle_shift_out_of_bounds .p2align 4, 0x90 ___ubsan_handle_shift_out_of_bounds: ## @__ubsan_handle_shift_out_of_bounds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rax movq 16(%rax), %rax movq %rax, -48(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -56(%rbp) movq _VALUE_LENGTH@GOTPCREL(%rip), %rax movq %rax, -120(%rbp) ## 8-byte Spill movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -128(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -64(%rbp) callq ____chkstk_darwin movq -128(%rbp), %rcx ## 8-byte Reload addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -120(%rbp), %rax ## 8-byte Reload movq %rsp, %rdx movq %rdx, -112(%rbp) ## 8-byte Spill movq %rcx, -72(%rbp) movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -104(%rbp) ## 8-byte Spill callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -104(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -96(%rbp) ## 8-byte Spill movq %rax, -80(%rbp) movq -16(%rbp), %rdi callq _suppress_report cmpq $0, %rax je LBB0_2 ## %bb.1: movl $1, -84(%rbp) jmp LBB0_12 LBB0_2: movq -16(%rbp), %rdi leaq -40(%rbp), %rsi callq _ubsan_prologue movq -112(%rbp), %rdi ## 8-byte Reload ## kill: def $ecx killed $eax movq -128(%rbp), %rax ## 8-byte Reload movl %eax, %esi movq -48(%rbp), %rdx movq -32(%rbp), %rcx callq _val_to_string movq -96(%rbp), %rdi ## 8-byte Reload ## kill: def $ecx killed $eax movq -104(%rbp), %rax ## 8-byte Reload movl %eax, %esi movq -56(%rbp), %rdx movq -24(%rbp), %rcx callq _val_to_string movq -48(%rbp), %rdi movq -32(%rbp), %rsi callq _val_is_negative cmpq $0, %rax je LBB0_4 ## %bb.3: movq -112(%rbp), %rsi ## 8-byte Reload leaq L_.str(%rip), %rdi movb $0, %al callq _pr_err jmp LBB0_11 LBB0_4: movq -48(%rbp), %rdi movq -32(%rbp), %rsi callq _get_unsigned_val movq %rax, -136(%rbp) ## 8-byte Spill movq -56(%rbp), %rdi callq _type_bit_width movq %rax, %rcx movq -136(%rbp), %rax ## 8-byte Reload cmpq %rcx, %rax jb LBB0_6 ## %bb.5: movq -56(%rbp), %rdi callq _type_bit_width movq -112(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx movq -56(%rbp), %rax movl (%rax), %ecx leaq L_.str.1(%rip), %rdi movb $0, %al callq _pr_err jmp LBB0_10 LBB0_6: movq -56(%rbp), %rdi movq -24(%rbp), %rsi callq _val_is_negative cmpq $0, %rax je LBB0_8 ## %bb.7: movq -96(%rbp), %rsi ## 8-byte Reload leaq L_.str.2(%rip), %rdi movb $0, %al callq _pr_err jmp LBB0_9 LBB0_8: movq -112(%rbp), %rdx ## 8-byte Reload movq -96(%rbp), %rsi ## 8-byte Reload movq -56(%rbp), %rax movl (%rax), %ecx leaq L_.str.3(%rip), %rdi movb $0, %al callq _pr_err LBB0_9: jmp LBB0_10 LBB0_10: jmp LBB0_11 LBB0_11: leaq -40(%rbp), %rdi callq _ubsan_epilogue movl $0, -84(%rbp) LBB0_12: movq -64(%rbp), %rax movq %rax, %rsp ## %bb.13: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_16 ## %bb.14: movq %rbp, %rsp popq %rbp retq ## %bb.15: ud2 LBB0_16: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _VALUE_LENGTH,4,2 ## @VALUE_LENGTH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "shift exponent %s is negative\n" L_.str.1: ## @.str.1 .asciz "shift exponent %s is too large for %u-bit type %s\n" L_.str.2: ## @.str.2 .asciz "left shift of negative value %s\n" L_.str.3: ## @.str.3 .asciz "left shift of %s by %s places cannot be represented in type %s\n" .subsections_via_symbols
AnghaBench/linux/lib/extr_ubsan.c___ubsan_handle_shift_out_of_bounds.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print_stack_level _print_stack_level: ; @print_stack_level .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 adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] adrp x8, _tos@GOTPAGE ldr x8, [x8, _tos@GOTPAGEOFF] ldr w8, [x8] adrp x9, _stack@GOTPAGE ldr x9, [x9, _stack@GOTPAGEOFF] ldr w9, [x9] subs w2, w8, w9 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] adrp x8, _isp@GOTPAGE ldr x8, [x8, _isp@GOTPAGEOFF] ldr w8, [x8] adrp x9, _istack@GOTPAGE ldr x9, [x9, _istack@GOTPAGEOFF] ldr w9, [x9] subs w2, w8, w9 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _fprintf adrp x9, _pc@GOTPAGE ldr x9, [x9, _pc@GOTPAGEOFF] ldr w8, [x9] add w8, w8, #1 str w8, [x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "current string stack depth = %d, " .comm _tos,4,2 ; @tos .comm _stack,4,2 ; @stack l_.str.1: ; @.str.1 .asciz "current integer stack depth = %d\n" .comm _isp,4,2 ; @isp .comm _istack,4,2 ; @istack .comm _pc,4,2 ; @pc .no_dead_strip _print_stack_level .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print_stack_level _print_stack_level: ## @print_stack_level .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq _tos@GOTPCREL(%rip), %rax movl (%rax), %edx movq _stack@GOTPCREL(%rip), %rax subl (%rax), %edx leaq L_.str(%rip), %rsi callq _fprintf movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq _isp@GOTPCREL(%rip), %rax movl (%rax), %edx movq _istack@GOTPCREL(%rip), %rax subl (%rax), %edx leaq L_.str.1(%rip), %rsi callq _fprintf movq _pc@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _pc@GOTPCREL(%rip), %rax movl %ecx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "current string stack depth = %d, " .comm _tos,4,2 ## @tos .comm _stack,4,2 ## @stack L_.str.1: ## @.str.1 .asciz "current integer stack depth = %d\n" .comm _isp,4,2 ## @isp .comm _istack,4,2 ## @istack .comm _pc,4,2 ## @pc .no_dead_strip _print_stack_level .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/bfd/doc/extr_chew.c_print_stack_level.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ApPackageTooLarge _ApPackageTooLarge: ; @ApPackageTooLarge .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] str w2, [sp, #12] str w3, [sp, #8] adrp x8, _AslGbl_MsgBuffer@GOTPAGE ldr x8, [x8, _AslGbl_MsgBuffer@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill ldr w0, [x8] ldur x2, [x29, #-8] ldr w3, [sp, #12] ldr w4, [sp, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _sprintf ldr x8, [sp] ; 8-byte Folded Reload adrp x9, _ASL_REMARK@GOTPAGE ldr x9, [x9, _ASL_REMARK@GOTPAGEOFF] ldr w0, [x9] adrp x9, _ASL_MSG_RESERVED_PACKAGE_LENGTH@GOTPAGE ldr x9, [x9, _ASL_MSG_RESERVED_PACKAGE_LENGTH@GOTPAGEOFF] ldr w1, [x9] ldr x2, [sp, #16] ldr w3, [x8] bl _AslError ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _AslGbl_MsgBuffer,4,2 ; @AslGbl_MsgBuffer .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: length is %u, only %u required" .comm _ASL_REMARK,4,2 ; @ASL_REMARK .comm _ASL_MSG_RESERVED_PACKAGE_LENGTH,4,2 ; @ASL_MSG_RESERVED_PACKAGE_LENGTH .no_dead_strip _ApPackageTooLarge .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ApPackageTooLarge _ApPackageTooLarge: ## @ApPackageTooLarge .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movl %ecx, -24(%rbp) movq _AslGbl_MsgBuffer@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rdx movl -20(%rbp), %ecx movl -24(%rbp), %r8d leaq L_.str(%rip), %rsi callq _sprintf movq _ASL_REMARK@GOTPCREL(%rip), %rax movl (%rax), %edi movq _ASL_MSG_RESERVED_PACKAGE_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %esi movq -16(%rbp), %rdx movq _AslGbl_MsgBuffer@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _AslError addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _AslGbl_MsgBuffer,4,2 ## @AslGbl_MsgBuffer .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: length is %u, only %u required" .comm _ASL_REMARK,4,2 ## @ASL_REMARK .comm _ASL_MSG_RESERVED_PACKAGE_LENGTH,4,2 ## @ASL_MSG_RESERVED_PACKAGE_LENGTH .no_dead_strip _ApPackageTooLarge .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslprepkg.c_ApPackageTooLarge.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sisfb_check_engine_and_sync _sisfb_check_engine_and_sync: ; @sisfb_check_engine_and_sync .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] adrp x8, _SISSR@GOTPAGE ldr x8, [x8, _SISSR@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] adrp x8, _IND_SIS_PCI_ADDRESS_SET@GOTPAGE ldr x8, [x8, _IND_SIS_PCI_ADDRESS_SET@GOTPAGEOFF] ldr w1, [x8] bl _SiS_GetReg ldr x8, [sp, #8] ; 8-byte Folded Reload stur w0, [x29, #-12] ldr w0, [x8] adrp x8, _IND_SIS_MODULE_ENABLE@GOTPAGE ldr x8, [x8, _IND_SIS_MODULE_ENABLE@GOTPAGEOFF] ldr w1, [x8] bl _SiS_GetReg str w0, [sp, #16] ldur w8, [x29, #-12] adrp x9, _SIS_MEM_MAP_IO_ENABLE@GOTPAGE ldr x9, [x9, _SIS_MEM_MAP_IO_ENABLE@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #16] mov w9, #66 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: b LBB0_3 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _SISSR,4,2 ; @SISSR .comm _IND_SIS_PCI_ADDRESS_SET,4,2 ; @IND_SIS_PCI_ADDRESS_SET .comm _IND_SIS_MODULE_ENABLE,4,2 ; @IND_SIS_MODULE_ENABLE .comm _SIS_MEM_MAP_IO_ENABLE,4,2 ; @SIS_MEM_MAP_IO_ENABLE .comm _SIS_300_VGA,8,3 ; @SIS_300_VGA .comm _SIS_315_VGA,8,3 ; @SIS_315_VGA .no_dead_strip _sisfb_check_engine_and_sync .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sisfb_check_engine_and_sync _sisfb_check_engine_and_sync: ## @sisfb_check_engine_and_sync .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq _SISSR@GOTPCREL(%rip), %rax movl (%rax), %edi movq _IND_SIS_PCI_ADDRESS_SET@GOTPCREL(%rip), %rax movl (%rax), %esi callq _SiS_GetReg movl %eax, -12(%rbp) movq _SISSR@GOTPCREL(%rip), %rax movl (%rax), %edi movq _IND_SIS_MODULE_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _SiS_GetReg movl %eax, -16(%rbp) movl -12(%rbp), %eax movq _SIS_MEM_MAP_IO_ENABLE@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_3 ## %bb.1: movl -16(%rbp), %eax andl $66, %eax cmpl $0, %eax je LBB0_3 ## %bb.2: jmp LBB0_3 LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SISSR,4,2 ## @SISSR .comm _IND_SIS_PCI_ADDRESS_SET,4,2 ## @IND_SIS_PCI_ADDRESS_SET .comm _IND_SIS_MODULE_ENABLE,4,2 ## @IND_SIS_MODULE_ENABLE .comm _SIS_MEM_MAP_IO_ENABLE,4,2 ## @SIS_MEM_MAP_IO_ENABLE .comm _SIS_300_VGA,8,3 ## @SIS_300_VGA .comm _SIS_315_VGA,8,3 ## @SIS_315_VGA .no_dead_strip _sisfb_check_engine_and_sync .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/sis/extr_sis_main.c_sisfb_check_engine_and_sync.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function twl4030_set_gpio_dataout _twl4030_set_gpio_dataout: ; @twl4030_set_gpio_dataout .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur w0, [x29, #-4] stur w1, [x29, #-8] ldur w8, [x29, #-4] asr w8, w8, #3 stur w8, [x29, #-12] ldur w8, [x29, #-4] and w0, w8, #0x7 bl _BIT str w0, [sp, #16] str wzr, [sp, #12] ldur w8, [x29, #-8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _REG_SETGPIODATAOUT1@GOTPAGE ldr x8, [x8, _REG_SETGPIODATAOUT1@GOTPAGEOFF] ldr w8, [x8] ldur w9, [x29, #-12] add w8, w8, w9 str w8, [sp, #12] b LBB0_3 LBB0_2: adrp x8, _REG_CLEARGPIODATAOUT1@GOTPAGE ldr x8, [x8, _REG_CLEARGPIODATAOUT1@GOTPAGEOFF] ldr w8, [x8] ldur w9, [x29, #-12] add w8, w8, w9 str w8, [sp, #12] b LBB0_3 LBB0_3: ldr w0, [sp, #12] ldr w1, [sp, #16] bl _gpio_twl4030_write ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _REG_SETGPIODATAOUT1,4,2 ; @REG_SETGPIODATAOUT1 .comm _REG_CLEARGPIODATAOUT1,4,2 ; @REG_CLEARGPIODATAOUT1 .no_dead_strip _twl4030_set_gpio_dataout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function twl4030_set_gpio_dataout _twl4030_set_gpio_dataout: ## @twl4030_set_gpio_dataout .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %eax sarl $3, %eax movl %eax, -12(%rbp) movl -4(%rbp), %edi andl $7, %edi callq _BIT movl %eax, -16(%rbp) movl $0, -20(%rbp) cmpl $0, -8(%rbp) je LBB0_2 ## %bb.1: movq _REG_SETGPIODATAOUT1@GOTPCREL(%rip), %rax movl (%rax), %eax addl -12(%rbp), %eax movl %eax, -20(%rbp) jmp LBB0_3 LBB0_2: movq _REG_CLEARGPIODATAOUT1@GOTPCREL(%rip), %rax movl (%rax), %eax addl -12(%rbp), %eax movl %eax, -20(%rbp) LBB0_3: movl -20(%rbp), %edi movl -16(%rbp), %esi callq _gpio_twl4030_write addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _REG_SETGPIODATAOUT1,4,2 ## @REG_SETGPIODATAOUT1 .comm _REG_CLEARGPIODATAOUT1,4,2 ## @REG_CLEARGPIODATAOUT1 .no_dead_strip _twl4030_set_gpio_dataout .subsections_via_symbols
AnghaBench/linux/drivers/gpio/extr_gpio-twl4030.c_twl4030_set_gpio_dataout.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ecb_aes_nx_encrypt _ecb_aes_nx_encrypt: ; @ecb_aes_nx_encrypt .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] str w3, [sp, #4] ldur x0, [x29, #-8] ldr x1, [sp, #16] ldr x2, [sp, #8] ldr w3, [sp, #4] mov w4, #1 bl _ecb_aes_nx_crypt ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _ecb_aes_nx_encrypt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ecb_aes_nx_encrypt _ecb_aes_nx_encrypt: ## @ecb_aes_nx_encrypt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movl %ecx, -28(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movl -28(%rbp), %ecx movl $1, %r8d callq _ecb_aes_nx_crypt addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ecb_aes_nx_encrypt .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/crypto/nx/extr_nx-aes-ecb.c_ecb_aes_nx_encrypt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acpi_suspend ; -- Begin function acpi_suspend .p2align 2 _acpi_suspend: ; @acpi_suspend .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 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str w0, [sp, #8] str wzr, [sp, #16] adrp x8, _PM_SUSPEND_STANDBY@GOTPAGE ldr x8, [x8, _PM_SUSPEND_STANDBY@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #20] str wzr, [sp, #24] adrp x8, _PM_SUSPEND_MEM@GOTPAGE ldr x8, [x8, _PM_SUSPEND_MEM@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #28] str wzr, [sp, #32] adrp x8, _PM_SUSPEND_MAX@GOTPAGE ldr x8, [x8, _PM_SUSPEND_MAX@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #36] ldr w8, [sp, #8] subs w8, w8, #6 cset w8, ge tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldrsw x9, [sp, #8] add x8, sp, #16 ldr w8, [x8, x9, lsl #2] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldrsw x9, [sp, #8] add x8, sp, #16 ldr w0, [x8, x9, lsl #2] bl _pm_suspend str w0, [sp, #12] b LBB0_6 LBB0_3: ldr w8, [sp, #8] subs w8, w8, #4 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: bl _hibernate str w0, [sp, #12] b LBB0_6 LBB0_5: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] b LBB0_6 LBB0_6: ldr w8, [sp, #12] str w8, [sp, #4] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: bl ___stack_chk_fail LBB0_8: ldr w0, [sp, #4] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _PM_SUSPEND_STANDBY,4,2 ; @PM_SUSPEND_STANDBY .comm _PM_SUSPEND_MEM,4,2 ; @PM_SUSPEND_MEM .comm _PM_SUSPEND_MAX,4,2 ; @PM_SUSPEND_MAX .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acpi_suspend ## -- Begin function acpi_suspend .p2align 4, 0x90 _acpi_suspend: ## @acpi_suspend .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl %edi, -40(%rbp) movl $0, -32(%rbp) movq _PM_SUSPEND_STANDBY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) movl $0, -24(%rbp) movq _PM_SUSPEND_MEM@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) movl $0, -16(%rbp) movq _PM_SUSPEND_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) cmpl $6, -40(%rbp) jge LBB0_3 ## %bb.1: movslq -40(%rbp), %rax cmpl $0, -32(%rbp,%rax,4) je LBB0_3 ## %bb.2: movslq -40(%rbp), %rax movl -32(%rbp,%rax,4), %edi callq _pm_suspend movl %eax, -36(%rbp) jmp LBB0_6 LBB0_3: cmpl $4, -40(%rbp) jne LBB0_5 ## %bb.4: movb $0, %al callq _hibernate movl %eax, -36(%rbp) jmp LBB0_6 LBB0_5: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -36(%rbp) LBB0_6: movl -36(%rbp), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_8 ## %bb.7: movl -44(%rbp), %eax ## 4-byte Reload addq $48, %rsp popq %rbp retq LBB0_8: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _PM_SUSPEND_STANDBY,4,2 ## @PM_SUSPEND_STANDBY .comm _PM_SUSPEND_MEM,4,2 ## @PM_SUSPEND_MEM .comm _PM_SUSPEND_MAX,4,2 ## @PM_SUSPEND_MAX .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/acpi/extr_sleep.c_acpi_suspend.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rfcomm_dlc_exists ; -- Begin function rfcomm_dlc_exists .p2align 2 _rfcomm_dlc_exists: ; @rfcomm_dlc_exists .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] ; kill: def $x8 killed $xzr str xzr, [sp, #16] ldur w0, [x29, #-28] bl _rfcomm_check_channel subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w0, w8, w9 bl _ERR_PTR stur x0, [x29, #-8] b LBB0_5 LBB0_2: bl _rfcomm_lock ldur x0, [x29, #-16] ldur x1, [x29, #-24] bl _rfcomm_session_get str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #24] bl ___session_dir ldur w1, [x29, #-28] bl ___dlci str w0, [sp, #12] ldr x0, [sp, #24] ldr w1, [sp, #12] bl _rfcomm_dlc_get str x0, [sp, #16] b LBB0_4 LBB0_4: bl _rfcomm_unlock ldr x8, [sp, #16] stur x8, [x29, #-8] b LBB0_5 LBB0_5: ldur x0, [x29, #-8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rfcomm_dlc_exists ## -- Begin function rfcomm_dlc_exists .p2align 4, 0x90 _rfcomm_dlc_exists: ## @rfcomm_dlc_exists .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movq $0, -48(%rbp) movl -28(%rbp), %edi callq _rfcomm_check_channel cmpq $0, %rax je LBB0_2 ## %bb.1: xorl %edi, %edi movq _EINVAL@GOTPCREL(%rip), %rax subl (%rax), %edi callq _ERR_PTR movq %rax, -8(%rbp) jmp LBB0_5 LBB0_2: movb $0, %al callq _rfcomm_lock movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _rfcomm_session_get movq %rax, -40(%rbp) cmpq $0, -40(%rbp) je LBB0_4 ## %bb.3: movq -40(%rbp), %rdi callq ___session_dir movl %eax, %edi movl -28(%rbp), %esi callq ___dlci movl %eax, -52(%rbp) movq -40(%rbp), %rdi movl -52(%rbp), %esi callq _rfcomm_dlc_get movq %rax, -48(%rbp) LBB0_4: movb $0, %al callq _rfcomm_unlock movq -48(%rbp), %rax movq %rax, -8(%rbp) LBB0_5: movq -8(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
AnghaBench/linux/net/bluetooth/rfcomm/extr_core.c_rfcomm_dlc_exists.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function switch_internal _switch_internal: ; @switch_internal .cfi_startproc ; %bb.0: stp x28, x27, [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 w27, -56 .cfi_offset w28, -64 sub sp, sp, #768 ldr x14, [x29, #16] ldr x13, [x29, #24] ldr x12, [x29, #32] ldr x11, [x29, #40] ldr x10, [x29, #48] ldr x9, [x29, #56] ldr x8, [x29, #64] adrp x15, _FALSE@GOTPAGE ldr x15, [x15, _FALSE@GOTPAGEOFF] str x15, [sp, #376] ; 8-byte Folded Spill adrp x15, _TRUE@GOTPAGE ldr x15, [x15, _TRUE@GOTPAGEOFF] str x15, [sp, #384] ; 8-byte Folded Spill stur x0, [x29, #-64] stur x1, [x29, #-72] stur x2, [x29, #-80] stur x3, [x29, #-88] stur x4, [x29, #-96] stur x5, [x29, #-104] stur x6, [x29, #-112] stur w7, [x29, #-116] stur x14, [x29, #-128] stur x13, [x29, #-136] stur x12, [x29, #-144] stur x11, [x29, #-152] stur x10, [x29, #-160] stur x9, [x29, #-168] stur x8, [x29, #-176] ldur x8, [x29, #-168] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-168] ldr x0, [x8, #32] adrp x8, _SVN_CONFIG_CATEGORY_CONFIG@GOTPAGE ldr x8, [x8, _SVN_CONFIG_CATEGORY_CONFIG@GOTPAGEOFF] ldr w1, [x8] bl _svn_hash_gets str x0, [sp, #368] ; 8-byte Folded Spill b LBB0_3 LBB0_2: mov x8, #0 str x8, [sp, #368] ; 8-byte Folded Spill b LBB0_3 LBB0_3: ldr x8, [sp, #368] ; 8-byte Folded Reload str x8, [sp, #480] ldur w8, [x29, #-116] adrp x9, _svn_depth_unknown@GOTPAGE ldr x9, [x9, _svn_depth_unknown@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp, #376] ; 8-byte Folded Reload ldr x8, [x8] stur x8, [x29, #-128] b LBB0_5 LBB0_5: ldur w8, [x29, #-116] adrp x9, _svn_depth_exclude@GOTPAGE ldr x9, [x9, _svn_depth_exclude@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _SVN_ERR_UNSUPPORTED_FEATURE@GOTPAGE ldr x8, [x8, _SVN_ERR_UNSUPPORTED_FEATURE@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #364] ; 4-byte Folded Spill adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl __ mov x2, x0 ldr w0, [sp, #364] ; 4-byte Folded Reload mov x1, #0 bl _svn_error_createf stur x0, [x29, #-56] b LBB0_59 LBB0_7: ldr x0, [sp, #480] adrp x8, _SVN_CONFIG_SECTION_HELPERS@GOTPAGE ldr x8, [x8, _SVN_CONFIG_SECTION_HELPERS@GOTPAGEOFF] ldr w2, [x8] adrp x8, _SVN_CONFIG_OPTION_DIFF3_CMD@GOTPAGE ldr x8, [x8, _SVN_CONFIG_OPTION_DIFF3_CMD@GOTPAGEOFF] ldr w3, [x8] sub x1, x29, #240 mov x4, #0 bl _svn_config_get ldur x8, [x29, #-240] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: sub x0, x29, #240 ldur x1, [x29, #-240] ldur x2, [x29, #-176] bl _svn_path_cstring_to_utf8 bl _SVN_ERR b LBB0_9 LBB0_9: ldr x8, [sp, #376] ; 8-byte Folded Reload ldr x0, [sp, #480] adrp x9, _SVN_CONFIG_SECTION_MISCELLANY@GOTPAGE ldr x9, [x9, _SVN_CONFIG_SECTION_MISCELLANY@GOTPAGEOFF] ldr w2, [x9] adrp x9, _SVN_CONFIG_OPTION_USE_COMMIT_TIMES@GOTPAGE ldr x9, [x9, _SVN_CONFIG_OPTION_USE_COMMIT_TIMES@GOTPAGEOFF] ldr w3, [x9] ldr x4, [x8] add x1, sp, #552 bl _svn_config_get_bool bl _SVN_ERR ldur x8, [x29, #-168] ldr w1, [x8, #16] ldur x2, [x29, #-80] ldur x3, [x29, #-176] add x0, sp, #472 bl _svn_wc__node_has_working bl _SVN_ERR ldr x8, [sp, #472] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: adrp x8, _SVN_ERR_UNSUPPORTED_FEATURE@GOTPAGE ldr x8, [x8, _SVN_ERR_UNSUPPORTED_FEATURE@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #360] ; 4-byte Folded Spill adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl __ str w0, [sp, #356] ; 4-byte Folded Spill ldur x0, [x29, #-80] ldur x1, [x29, #-176] bl _svn_dirent_local_style ldr w2, [sp, #356] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #360] ; 4-byte Folded Reload mov x9, sp str x8, [x9] mov x1, #0 bl _svn_error_createf stur x0, [x29, #-56] b LBB0_59 LBB0_11: ldr x0, [sp, #480] adrp x8, _SVN_CONFIG_SECTION_MISCELLANY@GOTPAGE ldr x8, [x8, _SVN_CONFIG_SECTION_MISCELLANY@GOTPAGEOFF] ldr w2, [x8] adrp x8, _SVN_CONFIG_OPTION_PRESERVED_CF_EXTS@GOTPAGE ldr x8, [x8, _SVN_CONFIG_OPTION_PRESERVED_CF_EXTS@GOTPAGEOFF] ldr w3, [x8] add x1, sp, #528 adrp x4, l_.str.2@PAGE add x4, x4, l_.str.2@PAGEOFF bl _svn_config_get ldr x8, [sp, #528] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ldr x8, [sp, #376] ; 8-byte Folded Reload ldr x0, [sp, #528] ldr x2, [x8] ldur x3, [x29, #-176] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _svn_cstring_split str x0, [sp, #344] ; 8-byte Folded Spill b LBB0_14 LBB0_13: mov x8, #0 str x8, [sp, #344] ; 8-byte Folded Spill b LBB0_14 LBB0_14: ldr x8, [sp, #344] ; 8-byte Folded Reload str x8, [sp, #520] ldur x8, [x29, #-96] subs x8, x8, #0 cset w8, eq mov w9, #0 str w9, [sp, #340] ; 4-byte Folded Spill tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur x8, [x29, #-96] ldrsb w8, [x8] subs w8, w8, #0 cset w8, ne str w8, [sp, #340] ; 4-byte Folded Spill b LBB0_16 LBB0_16: ldr w8, [sp, #340] ; 4-byte Folded Reload and w0, w8, #0x1 bl _SVN_ERR_ASSERT ldur x0, [x29, #-80] ldur x1, [x29, #-88] bl _strcmp subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldur x0, [x29, #-80] ldur x1, [x29, #-176] bl _svn_dirent_basename stur x0, [x29, #-208] b LBB0_19 LBB0_18: adrp x8, l_.str.2@PAGE add x8, x8, l_.str.2@PAGEOFF stur x8, [x29, #-208] b LBB0_19 LBB0_19: ldur x8, [x29, #-168] ldr w1, [x8, #16] ldur x2, [x29, #-88] ldur x3, [x29, #-176] ldur x4, [x29, #-176] sub x0, x29, #200 bl _svn_wc__node_get_url bl _SVN_ERR ldur x8, [x29, #-200] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: adrp x8, _SVN_ERR_ENTRY_MISSING_URL@GOTPAGE ldr x8, [x8, _SVN_ERR_ENTRY_MISSING_URL@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #336] ; 4-byte Folded Spill adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl __ str w0, [sp, #332] ; 4-byte Folded Spill ldur x0, [x29, #-88] ldur x1, [x29, #-176] bl _svn_dirent_local_style ldr w2, [sp, #332] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #336] ; 4-byte Folded Reload mov x9, sp str x8, [x9] mov x1, #0 bl _svn_error_createf stur x0, [x29, #-56] b LBB0_59 LBB0_21: ldur x8, [x29, #-128] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_28 b LBB0_22 LBB0_22: ldur w8, [x29, #-116] adrp x9, _svn_depth_infinity@GOTPAGE ldr x9, [x9, _svn_depth_infinity@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_28 b LBB0_23 LBB0_23: ldur w8, [x29, #-116] adrp x9, _svn_depth_exclude@GOTPAGE ldr x9, [x9, _svn_depth_exclude@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_25 b LBB0_24 LBB0_24: ldur x8, [x29, #-168] ldr w0, [x8, #16] ldur x1, [x29, #-80] ldur x8, [x29, #-168] ldr w2, [x8, #24] ldur x8, [x29, #-168] ldr w3, [x8, #20] ldur x8, [x29, #-168] ldr x4, [x8, #8] ldur x8, [x29, #-168] ldr w5, [x8] ldur x6, [x29, #-176] bl _svn_wc_exclude bl _SVN_ERR adrp x8, _SVN_NO_ERROR@GOTPAGE ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-56] b LBB0_59 LBB0_25: ldr x8, [sp, #384] ; 8-byte Folded Reload ldur x9, [x29, #-168] ldr w1, [x9, #16] ldur x2, [x29, #-80] ldr x3, [x8] ldr x4, [x8] ldur x5, [x29, #-176] add x0, sp, #464 bl _svn_wc_read_kind2 bl _SVN_ERR ldr x8, [sp, #464] adrp x9, _svn_node_dir@GOTPAGE ldr x9, [x9, _svn_node_dir@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_27 b LBB0_26 LBB0_26: ldur x8, [x29, #-168] ldr w0, [x8, #16] ldur x1, [x29, #-80] ldur w2, [x29, #-116] ldur x8, [x29, #-168] ldr w3, [x8, #24] ldur x8, [x29, #-168] ldr w4, [x8, #20] ldur x8, [x29, #-168] ldr x5, [x8, #8] ldur x8, [x29, #-168] ldr w6, [x8] ldur x7, [x29, #-176] bl _svn_wc_crop_tree2 bl _SVN_ERR b LBB0_27 LBB0_27: b LBB0_28 LBB0_28: ldur x2, [x29, #-96] ldur x3, [x29, #-88] ldur x4, [x29, #-104] ldur x5, [x29, #-112] ldur x6, [x29, #-168] ldur x7, [x29, #-176] sub x0, x29, #224 sub x1, x29, #216 bl _svn_client__ra_session_from_path2 bl _SVN_ERR ldur x8, [x29, #-216] ldr x0, [x8] ldur x1, [x29, #-200] bl _svn_uri__is_ancestor subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_30 b LBB0_29 LBB0_29: adrp x8, _SVN_ERR_WC_INVALID_SWITCH@GOTPAGE ldr x8, [x8, _SVN_ERR_WC_INVALID_SWITCH@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #328] ; 4-byte Folded Spill adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl __ mov x2, x0 ldr w0, [sp, #328] ; 4-byte Folded Reload ldur x10, [x29, #-200] ldur x8, [x29, #-216] ldr x8, [x8] mov x9, sp str x10, [x9] str x8, [x9, #8] mov x1, #0 bl _svn_error_createf stur x0, [x29, #-56] b LBB0_59 LBB0_30: ldur x8, [x29, #-152] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_37 b LBB0_31 LBB0_31: ldur x1, [x29, #-80] ldur x8, [x29, #-168] ldr w2, [x8, #16] ldur x3, [x29, #-176] ldur x4, [x29, #-176] add x0, sp, #456 bl _svn_client__wc_node_get_base bl _SVN_ERR ldr x8, [sp, #456] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_33 b LBB0_32 LBB0_32: ; kill: def $x8 killed $xzr str xzr, [sp, #448] b LBB0_34 LBB0_33: ldur x1, [x29, #-216] ldr x2, [sp, #456] ldur x3, [x29, #-224] ldur x4, [x29, #-168] ldur x5, [x29, #-176] ldur x6, [x29, #-176] add x0, sp, #448 bl _svn_client__get_youngest_common_ancestor bl _SVN_ERR b LBB0_34 LBB0_34: ldr x8, [sp, #448] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_36 b LBB0_35 LBB0_35: adrp x8, _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPAGE ldr x8, [x8, _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #324] ; 4-byte Folded Spill adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl __ str w0, [sp, #320] ; 4-byte Folded Spill ldur x8, [x29, #-96] str x8, [sp, #312] ; 8-byte Folded Spill ldur x0, [x29, #-80] ldur x1, [x29, #-176] bl _svn_dirent_local_style ldr x10, [sp, #312] ; 8-byte Folded Reload ldr w2, [sp, #320] ; 4-byte Folded Reload mov x8, x0 ldr w0, [sp, #324] ; 4-byte Folded Reload mov x9, sp str x10, [x9] str x8, [x9, #8] mov x1, #0 bl _svn_error_createf stur x0, [x29, #-56] b LBB0_59 LBB0_36: b LBB0_37 LBB0_37: ldur x0, [x29, #-176] bl _apr_hash_make stur x0, [x29, #-248] ldur x8, [x29, #-216] ldr x0, [x8] ldur x8, [x29, #-216] ldr x1, [x8, #8] bl _strcmp subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_45 b LBB0_38 LBB0_38: ldr x8, [sp, #384] ; 8-byte Folded Reload ldr x8, [x8] str x8, [sp, #432] ldur x8, [x29, #-168] ldr w1, [x8, #16] ldur x2, [x29, #-80] ldur x3, [x29, #-176] add x0, sp, #440 bl _svn_wc__is_wcroot bl _SVN_ERR ldr x8, [sp, #440] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_42 b LBB0_39 LBB0_39: ldur x8, [x29, #-168] ldr w8, [x8, #16] str w8, [sp, #300] ; 4-byte Folded Spill ldur x0, [x29, #-80] ldur x1, [x29, #-176] bl _svn_dirent_dirname ldr w1, [sp, #300] ; 4-byte Folded Reload mov x2, x0 ldur x3, [x29, #-176] ldur x4, [x29, #-176] add x0, sp, #424 bl _svn_wc__node_get_url bl _SVN_ERR ldr x8, [sp, #424] str x8, [sp, #304] ; 8-byte Folded Spill ldur x0, [x29, #-80] ldur x1, [x29, #-176] bl _svn_dirent_basename mov x1, x0 ldr x0, [sp, #304] ; 8-byte Folded Reload ldur x2, [x29, #-176] bl _svn_path_url_add_component2 str x0, [sp, #416] ldr x0, [sp, #416] ldur x8, [x29, #-216] ldr x1, [x8, #8] bl _strcmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_41 b LBB0_40 LBB0_40: ldr x8, [sp, #376] ; 8-byte Folded Reload ldr x8, [x8] str x8, [sp, #432] b LBB0_41 LBB0_41: b LBB0_42 LBB0_42: ldr x8, [sp, #432] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_44 b LBB0_43 LBB0_43: ldur x0, [x29, #-224] ldur x8, [x29, #-216] ldr w3, [x8, #16] ldur x4, [x29, #-176] ldur x5, [x29, #-176] sub x1, x29, #256 adrp x2, l_.str.2@PAGE add x2, x2, l_.str.2@PAGEOFF bl _svn_ra_get_inherited_props bl _SVN_ERR ldur x0, [x29, #-248] ldur x1, [x29, #-80] ldur x2, [x29, #-256] bl _svn_hash_sets b LBB0_44 LBB0_44: b LBB0_45 LBB0_45: ldur x0, [x29, #-224] ldur x1, [x29, #-200] ldur x2, [x29, #-176] bl _svn_ra_reparent bl _SVN_ERR ldur x0, [x29, #-224] adrp x8, _SVN_RA_CAPABILITY_DEPTH@GOTPAGE ldr x8, [x8, _SVN_RA_CAPABILITY_DEPTH@GOTPAGEOFF] ldr w2, [x8] ldur x3, [x29, #-176] add x1, sp, #512 bl _svn_ra_has_capability bl _SVN_ERR ldur x8, [x29, #-224] str x8, [sp, #504] ldur x8, [x29, #-200] str x8, [sp, #488] ldur x8, [x29, #-216] ldr w8, [x8, #16] str w8, [sp, #496] ldur x8, [x29, #-168] ldr w8, [x8, #16] str w8, [sp, #204] ; 4-byte Folded Spill ldur x8, [x29, #-88] str x8, [sp, #208] ; 8-byte Folded Spill ldur x8, [x29, #-208] str x8, [sp, #216] ; 8-byte Folded Spill ldur x8, [x29, #-216] ldr x8, [x8, #8] str x8, [sp, #224] ; 8-byte Folded Spill ldur x8, [x29, #-248] str x8, [sp, #232] ; 8-byte Folded Spill ldr x8, [sp, #552] str x8, [sp, #240] ; 8-byte Folded Spill ldur w8, [x29, #-116] str w8, [sp, #252] ; 4-byte Folded Spill ldur x8, [x29, #-128] str x8, [sp, #256] ; 8-byte Folded Spill ldur x8, [x29, #-144] str x8, [sp, #264] ; 8-byte Folded Spill ldr x8, [sp, #512] str x8, [sp, #272] ; 8-byte Folded Spill ldur x8, [x29, #-240] str x8, [sp, #280] ; 8-byte Folded Spill ldr x8, [sp, #520] str x8, [sp, #288] ; 8-byte Folded Spill adrp x8, _svn_client__dirent_fetcher@GOTPAGE ldr x8, [x8, _svn_client__dirent_fetcher@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #296] ; 4-byte Folded Spill ldur x8, [x29, #-72] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_47 b LBB0_46 LBB0_46: adrp x8, _record_conflict@GOTPAGE ldr x8, [x8, _record_conflict@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #192] ; 8-byte Folded Spill b LBB0_48 LBB0_47: mov x8, #0 str x8, [sp, #192] ; 8-byte Folded Spill b LBB0_48 LBB0_48: ldr x7, [sp, #232] ; 8-byte Folded Reload ldr x6, [sp, #224] ; 8-byte Folded Reload ldr x5, [sp, #216] ; 8-byte Folded Reload ldr x4, [sp, #208] ; 8-byte Folded Reload ldr w3, [sp, #204] ; 4-byte Folded Reload ldr w17, [sp, #296] ; 4-byte Folded Reload ldr x0, [sp, #288] ; 8-byte Folded Reload ldr x1, [sp, #280] ; 8-byte Folded Reload ldr x2, [sp, #272] ; 8-byte Folded Reload ldr x19, [sp, #264] ; 8-byte Folded Reload ldr x20, [sp, #256] ; 8-byte Folded Reload ldr w21, [sp, #252] ; 4-byte Folded Reload ldr x22, [sp, #240] ; 8-byte Folded Reload ldr x16, [sp, #192] ; 8-byte Folded Reload ldur x15, [x29, #-72] ldur x8, [x29, #-168] ldr w14, [x8, #24] ldur x8, [x29, #-168] ldr w13, [x8, #20] ldur x8, [x29, #-168] ldr x12, [x8, #8] ldur x8, [x29, #-168] ldr w11, [x8] ldur x10, [x29, #-176] ldur x8, [x29, #-176] mov x9, sp str x9, [sp, #160] ; 8-byte Folded Spill str x22, [x9] str w21, [x9, #8] str x20, [x9, #16] str x19, [x9, #24] str x2, [x9, #32] str x1, [x9, #40] str x0, [x9, #48] str w17, [x9, #56] add x17, sp, #488 str x17, [x9, #64] str x16, [x9, #72] str x15, [x9, #80] ; kill: def $x15 killed $xzr str xzr, [x9, #88] str xzr, [x9, #96] str w14, [x9, #104] str w13, [x9, #108] str x12, [x9, #112] str w11, [x9, #120] str x10, [x9, #128] str x8, [x9, #136] add x0, sp, #544 add x1, sp, #536 sub x2, x29, #228 bl _svn_wc__get_switch_editor bl _SVN_ERR ldur x8, [x29, #-224] str x8, [sp, #168] ; 8-byte Folded Spill ldur x8, [x29, #-216] ldr w8, [x8, #16] str w8, [sp, #180] ; 4-byte Folded Spill ldur x8, [x29, #-208] str x8, [sp, #184] ; 8-byte Folded Spill ldur x8, [x29, #-128] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_50 b LBB0_49 LBB0_49: ldur w8, [x29, #-116] str w8, [sp, #156] ; 4-byte Folded Spill b LBB0_51 LBB0_50: adrp x8, _svn_depth_unknown@GOTPAGE ldr x8, [x8, _svn_depth_unknown@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #156] ; 4-byte Folded Spill b LBB0_51 LBB0_51: ldr x4, [sp, #184] ; 8-byte Folded Reload ldr w3, [sp, #180] ; 4-byte Folded Reload ldr x0, [sp, #168] ; 8-byte Folded Reload ldr x8, [sp, #376] ; 8-byte Folded Reload ldr w5, [sp, #156] ; 4-byte Folded Reload ldur x9, [x29, #-216] ldr x6, [x9, #8] ldr x7, [x8] ldur x13, [x29, #-152] ldr x12, [sp, #544] ldr x11, [sp, #536] ldur x10, [x29, #-176] ldur x8, [x29, #-176] mov x9, sp str x13, [x9] str x12, [x9, #8] str x11, [x9, #16] str x10, [x9, #24] str x8, [x9, #32] sub x1, x29, #184 sub x2, x29, #192 bl _svn_ra_do_switch3 bl _SVN_ERR ldr x8, [sp, #384] ; 8-byte Folded Reload ldr x9, [x8] ldur x10, [x29, #-160] str x9, [x10] ldur x9, [x29, #-168] ldr w0, [x9, #16] ldur x1, [x29, #-80] ldur x2, [x29, #-184] ldur x3, [x29, #-192] ldr x4, [x8] ldur w5, [x29, #-116] ldur x8, [x29, #-128] subs x8, x8, #0 cset w8, eq and w6, w8, #0x1 ldr x8, [sp, #512] subs x8, x8, #0 cset w8, eq and w7, w8, #0x1 ldr x14, [sp, #552] ldur x8, [x29, #-168] ldr w13, [x8, #24] ldur x8, [x29, #-168] ldr w12, [x8, #20] ldur x8, [x29, #-168] ldr x11, [x8, #8] ldur x8, [x29, #-168] ldr w10, [x8] ldur x8, [x29, #-176] mov x9, sp str x14, [x9] str w13, [x9, #8] str w12, [x9, #12] str x11, [x9, #16] str w10, [x9, #24] str x8, [x9, #32] bl _svn_wc_crawl_revisions5 bl _SVN_ERR ldur w0, [x29, #-116] bl _SVN_DEPTH_IS_RECURSIVE subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_54 b LBB0_52 LBB0_52: ldur x8, [x29, #-136] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_54 b LBB0_53 LBB0_53: ldur x8, [x29, #-168] ldr w2, [x8, #16] ldur x3, [x29, #-80] ldur w4, [x29, #-116] ldur x5, [x29, #-176] ldur x6, [x29, #-176] add x0, sp, #408 add x1, sp, #400 bl _svn_wc__externals_gather_definitions bl _SVN_ERR ldr x0, [sp, #408] ldr x1, [sp, #400] ldur x8, [x29, #-216] ldr x2, [x8] ldur x3, [x29, #-80] ldur w4, [x29, #-116] ldur x5, [x29, #-160] ldur x6, [x29, #-224] ldur x7, [x29, #-168] ldur x8, [x29, #-176] mov x9, sp str x8, [x9] bl _svn_client__handle_externals bl _SVN_ERR b LBB0_54 LBB0_54: ldur x8, [x29, #-168] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_56 b LBB0_55 LBB0_55: ldur x0, [x29, #-88] adrp x8, _svn_wc_notify_update_completed@GOTPAGE ldr x8, [x8, _svn_wc_notify_update_completed@GOTPAGEOFF] ldr w1, [x8] ldur x2, [x29, #-176] bl _svn_wc_create_notify str x0, [sp, #392] adrp x8, _svn_node_none@GOTPAGE ldr x8, [x8, _svn_node_none@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #392] str w8, [x9, #16] adrp x8, _svn_wc_notify_state_inapplicable@GOTPAGE ldr x8, [x8, _svn_wc_notify_state_inapplicable@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #392] str w8, [x9, #8] ldr x9, [sp, #392] str w8, [x9, #12] adrp x8, _svn_wc_notify_lock_state_inapplicable@GOTPAGE ldr x8, [x8, _svn_wc_notify_lock_state_inapplicable@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #392] str w8, [x9, #4] ldur w8, [x29, #-228] ldr x9, [sp, #392] str w8, [x9] ldur x8, [x29, #-168] ldr x8, [x8, #8] ldur x9, [x29, #-168] ldr w0, [x9] ldr x1, [sp, #392] ldur x2, [x29, #-176] blr x8 b LBB0_56 LBB0_56: ldur x8, [x29, #-64] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_58 b LBB0_57 LBB0_57: ldur w8, [x29, #-228] ldur x9, [x29, #-64] str w8, [x9] b LBB0_58 LBB0_58: adrp x8, _SVN_NO_ERROR@GOTPAGE ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-56] b LBB0_59 LBB0_59: ldur x0, [x29, #-56] add sp, sp, #768 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 x28, x27, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _SVN_CONFIG_CATEGORY_CONFIG,4,2 ; @SVN_CONFIG_CATEGORY_CONFIG .comm _svn_depth_unknown,4,2 ; @svn_depth_unknown .comm _FALSE,8,3 ; @FALSE .comm _svn_depth_exclude,4,2 ; @svn_depth_exclude .comm _SVN_ERR_UNSUPPORTED_FEATURE,4,2 ; @SVN_ERR_UNSUPPORTED_FEATURE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Cannot both exclude and switch a path" .comm _SVN_CONFIG_SECTION_HELPERS,4,2 ; @SVN_CONFIG_SECTION_HELPERS .comm _SVN_CONFIG_OPTION_DIFF3_CMD,4,2 ; @SVN_CONFIG_OPTION_DIFF3_CMD .comm _SVN_CONFIG_SECTION_MISCELLANY,4,2 ; @SVN_CONFIG_SECTION_MISCELLANY .comm _SVN_CONFIG_OPTION_USE_COMMIT_TIMES,4,2 ; @SVN_CONFIG_OPTION_USE_COMMIT_TIMES l_.str.1: ; @.str.1 .asciz "Cannot switch '%s' because it is not in the repository yet" .comm _SVN_CONFIG_OPTION_PRESERVED_CF_EXTS,4,2 ; @SVN_CONFIG_OPTION_PRESERVED_CF_EXTS l_.str.2: ; @.str.2 .space 1 l_.str.3: ; @.str.3 .asciz "\n\r\t\013 " .comm _SVN_ERR_ENTRY_MISSING_URL,4,2 ; @SVN_ERR_ENTRY_MISSING_URL l_.str.4: ; @.str.4 .asciz "Directory '%s' has no URL" .comm _svn_depth_infinity,4,2 ; @svn_depth_infinity .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .comm _TRUE,8,3 ; @TRUE .comm _svn_node_dir,8,3 ; @svn_node_dir .comm _SVN_ERR_WC_INVALID_SWITCH,4,2 ; @SVN_ERR_WC_INVALID_SWITCH l_.str.5: ; @.str.5 .asciz "'%s'\nis not the same repository as\n'%s'" .comm _SVN_ERR_CLIENT_UNRELATED_RESOURCES,4,2 ; @SVN_ERR_CLIENT_UNRELATED_RESOURCES l_.str.6: ; @.str.6 .asciz "'%s' shares no common ancestry with '%s'" .comm _SVN_RA_CAPABILITY_DEPTH,4,2 ; @SVN_RA_CAPABILITY_DEPTH .comm _svn_client__dirent_fetcher,4,2 ; @svn_client__dirent_fetcher .comm _record_conflict,8,3 ; @record_conflict .comm _svn_wc_notify_update_completed,4,2 ; @svn_wc_notify_update_completed .comm _svn_node_none,4,2 ; @svn_node_none .comm _svn_wc_notify_state_inapplicable,4,2 ; @svn_wc_notify_state_inapplicable .comm _svn_wc_notify_lock_state_inapplicable,4,2 ; @svn_wc_notify_lock_state_inapplicable .no_dead_strip _switch_internal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function switch_internal _switch_internal: ## @switch_internal .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 $712, %rsp ## imm = 0x2C8 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq 80(%rbp), %rax movq 72(%rbp), %rax movq 64(%rbp), %rax movq 56(%rbp), %rax movq 48(%rbp), %rax movq 40(%rbp), %rax movq 32(%rbp), %rax movl 24(%rbp), %eax movq 16(%rbp), %rax movq %rdi, -56(%rbp) movq %rsi, -64(%rbp) movq %rdx, -72(%rbp) movq %rcx, -80(%rbp) movq %r8, -88(%rbp) movq %r9, -96(%rbp) movq 72(%rbp), %rax cmpq $0, 32(%rax) je LBB0_2 ## %bb.1: movq 72(%rbp), %rax movq 32(%rax), %rdi movq _SVN_CONFIG_CATEGORY_CONFIG@GOTPCREL(%rip), %rax movl (%rax), %esi callq _svn_hash_gets movq %rax, -352(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_2: xorl %eax, %eax ## kill: def $rax killed $eax movq %rax, -352(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_3: movq -352(%rbp), %rax ## 8-byte Reload movq %rax, -256(%rbp) movl 24(%rbp), %eax movq _svn_depth_unknown@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_5 ## %bb.4: movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 32(%rbp) LBB0_5: movl 24(%rbp), %eax movq _svn_depth_exclude@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_7 ## %bb.6: movq _SVN_ERR_UNSUPPORTED_FEATURE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -356(%rbp) ## 4-byte Spill leaq L_.str(%rip), %rdi callq __ movl -356(%rbp), %edi ## 4-byte Reload movl %eax, %edx xorl %eax, %eax movl %eax, %esi movb $0, %al callq _svn_error_createf movq %rax, -48(%rbp) jmp LBB0_59 LBB0_7: movq -256(%rbp), %rdi movq _SVN_CONFIG_SECTION_HELPERS@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SVN_CONFIG_OPTION_DIFF3_CMD@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -160(%rbp), %rsi xorl %eax, %eax movl %eax, %r8d callq _svn_config_get cmpq $0, -160(%rbp) je LBB0_9 ## %bb.8: movq -160(%rbp), %rsi movq 80(%rbp), %rdx leaq -160(%rbp), %rdi callq _svn_path_cstring_to_utf8 movl %eax, %edi callq _SVN_ERR LBB0_9: movq -256(%rbp), %rdi movq _SVN_CONFIG_SECTION_MISCELLANY@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SVN_CONFIG_OPTION_USE_COMMIT_TIMES@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r8 leaq -184(%rbp), %rsi callq _svn_config_get_bool movl %eax, %edi callq _SVN_ERR movq 72(%rbp), %rax movl 16(%rax), %esi movq -72(%rbp), %rdx movq 80(%rbp), %rcx leaq -264(%rbp), %rdi callq _svn_wc__node_has_working movl %eax, %edi callq _SVN_ERR cmpq $0, -264(%rbp) je LBB0_11 ## %bb.10: movq _SVN_ERR_UNSUPPORTED_FEATURE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -364(%rbp) ## 4-byte Spill leaq L_.str.1(%rip), %rdi callq __ movl %eax, -360(%rbp) ## 4-byte Spill movq -72(%rbp), %rdi movq 80(%rbp), %rsi callq _svn_dirent_local_style movl -364(%rbp), %edi ## 4-byte Reload movl -360(%rbp), %edx ## 4-byte Reload movq %rax, %rcx xorl %eax, %eax movl %eax, %esi movb $0, %al callq _svn_error_createf movq %rax, -48(%rbp) jmp LBB0_59 LBB0_11: movq -256(%rbp), %rdi movq _SVN_CONFIG_SECTION_MISCELLANY@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SVN_CONFIG_OPTION_PRESERVED_CF_EXTS@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -208(%rbp), %rsi leaq L_.str.2(%rip), %r8 callq _svn_config_get movq -208(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB0_13 ## %bb.12: movq -208(%rbp), %rdi movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %rdx movq 80(%rbp), %rcx leaq L_.str.3(%rip), %rsi callq _svn_cstring_split movq %rax, -376(%rbp) ## 8-byte Spill jmp LBB0_14 LBB0_13: xorl %eax, %eax ## kill: def $rax killed $eax movq %rax, -376(%rbp) ## 8-byte Spill jmp LBB0_14 LBB0_14: movq -376(%rbp), %rax ## 8-byte Reload movq %rax, -216(%rbp) xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, -88(%rbp) movb %al, -377(%rbp) ## 1-byte Spill je LBB0_16 ## %bb.15: movq -88(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax setne %al movb %al, -377(%rbp) ## 1-byte Spill LBB0_16: movb -377(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edi callq _SVN_ERR_ASSERT movq -72(%rbp), %rdi movq -80(%rbp), %rsi callq _strcmp cmpq $0, %rax je LBB0_18 ## %bb.17: movq -72(%rbp), %rdi movq 80(%rbp), %rsi callq _svn_dirent_basename movq %rax, -128(%rbp) jmp LBB0_19 LBB0_18: leaq L_.str.2(%rip), %rax movq %rax, -128(%rbp) LBB0_19: movq 72(%rbp), %rax movl 16(%rax), %esi movq -80(%rbp), %rdx movq 80(%rbp), %rcx movq 80(%rbp), %r8 leaq -120(%rbp), %rdi callq _svn_wc__node_get_url movl %eax, %edi callq _SVN_ERR cmpq $0, -120(%rbp) jne LBB0_21 ## %bb.20: movq _SVN_ERR_ENTRY_MISSING_URL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -388(%rbp) ## 4-byte Spill leaq L_.str.4(%rip), %rdi callq __ movl %eax, -384(%rbp) ## 4-byte Spill movq -80(%rbp), %rdi movq 80(%rbp), %rsi callq _svn_dirent_local_style movl -388(%rbp), %edi ## 4-byte Reload movl -384(%rbp), %edx ## 4-byte Reload movq %rax, %rcx xorl %eax, %eax movl %eax, %esi movb $0, %al callq _svn_error_createf movq %rax, -48(%rbp) jmp LBB0_59 LBB0_21: cmpq $0, 32(%rbp) je LBB0_28 ## %bb.22: movl 24(%rbp), %eax movq _svn_depth_infinity@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_28 ## %bb.23: movl 24(%rbp), %eax movq _svn_depth_exclude@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_25 ## %bb.24: movq 72(%rbp), %rax movl 16(%rax), %edi movq -72(%rbp), %rsi movq 72(%rbp), %rax movl 24(%rax), %edx movq 72(%rbp), %rax movl 20(%rax), %ecx movq 72(%rbp), %rax movq 8(%rax), %r8 movq 72(%rbp), %rax movl (%rax), %r9d movq 80(%rbp), %rax movq %rax, (%rsp) callq _svn_wc_exclude movl %eax, %edi callq _SVN_ERR movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) jmp LBB0_59 LBB0_25: movq 72(%rbp), %rax movl 16(%rax), %esi movq -72(%rbp), %rdx movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %r8 movq 80(%rbp), %r9 leaq -272(%rbp), %rdi callq _svn_wc_read_kind2 movl %eax, %edi callq _SVN_ERR movq -272(%rbp), %rax movq _svn_node_dir@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_27 ## %bb.26: movq 72(%rbp), %rax movl 16(%rax), %edi movq -72(%rbp), %rsi movl 24(%rbp), %edx movq 72(%rbp), %rax movl 24(%rax), %ecx movq 72(%rbp), %rax movl 20(%rax), %r8d movq 72(%rbp), %rax movq 8(%rax), %r9 movq 72(%rbp), %rax movl (%rax), %r10d movq 80(%rbp), %rax movl %r10d, (%rsp) movq %rax, 8(%rsp) callq _svn_wc_crop_tree2 movl %eax, %edi callq _SVN_ERR LBB0_27: jmp LBB0_28 LBB0_28: movq -88(%rbp), %rdx movq -80(%rbp), %rcx movq -96(%rbp), %r8 movq 16(%rbp), %r9 movq 72(%rbp), %r10 movq 80(%rbp), %rax leaq -144(%rbp), %rdi leaq -136(%rbp), %rsi movq %r10, (%rsp) movq %rax, 8(%rsp) callq _svn_client__ra_session_from_path2 movl %eax, %edi callq _SVN_ERR movq -136(%rbp), %rax movq (%rax), %rdi movq -120(%rbp), %rsi callq _svn_uri__is_ancestor cmpl $0, %eax jne LBB0_30 ## %bb.29: movq _SVN_ERR_WC_INVALID_SWITCH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -392(%rbp) ## 4-byte Spill leaq L_.str.5(%rip), %rdi callq __ movl -392(%rbp), %edi ## 4-byte Reload movl %eax, %edx movq -120(%rbp), %rcx movq -136(%rbp), %rax movq (%rax), %r8 xorl %eax, %eax movl %eax, %esi movb $0, %al callq _svn_error_createf movq %rax, -48(%rbp) jmp LBB0_59 LBB0_30: cmpq $0, 56(%rbp) jne LBB0_37 ## %bb.31: movq -72(%rbp), %rsi movq 72(%rbp), %rax movl 16(%rax), %edx movq 80(%rbp), %rcx movq 80(%rbp), %r8 leaq -280(%rbp), %rdi callq _svn_client__wc_node_get_base movl %eax, %edi callq _SVN_ERR cmpq $0, -280(%rbp) jne LBB0_33 ## %bb.32: movq $0, -288(%rbp) jmp LBB0_34 LBB0_33: movq -136(%rbp), %rsi movq -280(%rbp), %rdx movq -144(%rbp), %rcx movq 72(%rbp), %r8 movq 80(%rbp), %r9 movq 80(%rbp), %rax leaq -288(%rbp), %rdi movq %rax, (%rsp) callq _svn_client__get_youngest_common_ancestor movl %eax, %edi callq _SVN_ERR LBB0_34: cmpq $0, -288(%rbp) jne LBB0_36 ## %bb.35: movq _SVN_ERR_CLIENT_UNRELATED_RESOURCES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -408(%rbp) ## 4-byte Spill leaq L_.str.6(%rip), %rdi callq __ movl %eax, -404(%rbp) ## 4-byte Spill movq -88(%rbp), %rax movq %rax, -400(%rbp) ## 8-byte Spill movq -72(%rbp), %rdi movq 80(%rbp), %rsi callq _svn_dirent_local_style movl -408(%rbp), %edi ## 4-byte Reload movl -404(%rbp), %edx ## 4-byte Reload movq -400(%rbp), %rcx ## 8-byte Reload movq %rax, %r8 xorl %eax, %eax movl %eax, %esi movb $0, %al callq _svn_error_createf movq %rax, -48(%rbp) jmp LBB0_59 LBB0_36: jmp LBB0_37 LBB0_37: movq 80(%rbp), %rdi callq _apr_hash_make movq %rax, -168(%rbp) movq -136(%rbp), %rax movq (%rax), %rdi movq -136(%rbp), %rax movq 8(%rax), %rsi callq _strcmp cmpq $0, %rax je LBB0_45 ## %bb.38: movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -304(%rbp) movq 72(%rbp), %rax movl 16(%rax), %esi movq -72(%rbp), %rdx movq 80(%rbp), %rcx leaq -296(%rbp), %rdi callq _svn_wc__is_wcroot movl %eax, %edi callq _SVN_ERR cmpq $0, -296(%rbp) jne LBB0_42 ## %bb.39: movq 72(%rbp), %rax movl 16(%rax), %eax movl %eax, -420(%rbp) ## 4-byte Spill movq -72(%rbp), %rdi movq 80(%rbp), %rsi callq _svn_dirent_dirname movl -420(%rbp), %esi ## 4-byte Reload movq %rax, %rdx movq 80(%rbp), %rcx movq 80(%rbp), %r8 leaq -312(%rbp), %rdi callq _svn_wc__node_get_url movl %eax, %edi callq _SVN_ERR movq -312(%rbp), %rax movq %rax, -416(%rbp) ## 8-byte Spill movq -72(%rbp), %rdi movq 80(%rbp), %rsi callq _svn_dirent_basename movq -416(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi movq 80(%rbp), %rdx callq _svn_path_url_add_component2 movq %rax, -320(%rbp) movq -320(%rbp), %rdi movq -136(%rbp), %rax movq 8(%rax), %rsi callq _strcmp cmpq $0, %rax jne LBB0_41 ## %bb.40: movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -304(%rbp) LBB0_41: jmp LBB0_42 LBB0_42: cmpq $0, -304(%rbp) je LBB0_44 ## %bb.43: movq -144(%rbp), %rdi movq -136(%rbp), %rax movl 16(%rax), %ecx movq 80(%rbp), %r8 movq 80(%rbp), %r9 leaq -176(%rbp), %rsi leaq L_.str.2(%rip), %rdx callq _svn_ra_get_inherited_props movl %eax, %edi callq _SVN_ERR movq -168(%rbp), %rdi movq -72(%rbp), %rsi movq -176(%rbp), %rdx callq _svn_hash_sets LBB0_44: jmp LBB0_45 LBB0_45: movq -144(%rbp), %rdi movq -120(%rbp), %rsi movq 80(%rbp), %rdx callq _svn_ra_reparent movl %eax, %edi callq _SVN_ERR movq -144(%rbp), %rdi movq _SVN_RA_CAPABILITY_DEPTH@GOTPCREL(%rip), %rax movl (%rax), %edx movq 80(%rbp), %rcx leaq -224(%rbp), %rsi callq _svn_ra_has_capability movl %eax, %edi callq _SVN_ERR movq -144(%rbp), %rax movq %rax, -232(%rbp) movq -120(%rbp), %rax movq %rax, -248(%rbp) movq -136(%rbp), %rax movl 16(%rax), %eax movl %eax, -240(%rbp) movq 72(%rbp), %rax movl 16(%rax), %eax movl %eax, -516(%rbp) ## 4-byte Spill movq -80(%rbp), %rax movq %rax, -512(%rbp) ## 8-byte Spill movq -128(%rbp), %rax movq %rax, -504(%rbp) ## 8-byte Spill movq -136(%rbp), %rax movq 8(%rax), %rax movq %rax, -496(%rbp) ## 8-byte Spill movq -168(%rbp), %rax movq %rax, -488(%rbp) ## 8-byte Spill movq -184(%rbp), %rax movq %rax, -480(%rbp) ## 8-byte Spill movl 24(%rbp), %eax movl %eax, -468(%rbp) ## 4-byte Spill movq 32(%rbp), %rax movq %rax, -464(%rbp) ## 8-byte Spill movq 48(%rbp), %rax movq %rax, -456(%rbp) ## 8-byte Spill movq -224(%rbp), %rax movq %rax, -448(%rbp) ## 8-byte Spill movq -160(%rbp), %rax movq %rax, -440(%rbp) ## 8-byte Spill movq -216(%rbp), %rax movq %rax, -432(%rbp) ## 8-byte Spill movq _svn_client__dirent_fetcher@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -424(%rbp) ## 4-byte Spill cmpq $0, -64(%rbp) je LBB0_47 ## %bb.46: movq _record_conflict@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -528(%rbp) ## 8-byte Spill jmp LBB0_48 LBB0_47: xorl %eax, %eax ## kill: def $rax killed $eax movq %rax, -528(%rbp) ## 8-byte Spill jmp LBB0_48 LBB0_48: movq -504(%rbp), %r9 ## 8-byte Reload movq -512(%rbp), %r8 ## 8-byte Reload movl -516(%rbp), %ecx ## 4-byte Reload movq -528(%rbp), %r13 ## 8-byte Reload movq -64(%rbp), %r12 movq 72(%rbp), %rax movl 24(%rax), %r15d movq 72(%rbp), %rax movl 20(%rax), %r14d movq 72(%rbp), %rax movq 8(%rax), %rbx movq 72(%rbp), %rax movl (%rax), %r11d movq 80(%rbp), %r10 movq 80(%rbp), %rax movq %rax, -560(%rbp) ## 8-byte Spill leaq -192(%rbp), %rdi leaq -200(%rbp), %rsi leaq -148(%rbp), %rdx leaq -248(%rbp), %rax movq %rax, -568(%rbp) ## 8-byte Spill xorl %eax, %eax ## kill: def $rax killed $eax movq -496(%rbp), %rax ## 8-byte Reload movq %rax, (%rsp) movq -488(%rbp), %rax ## 8-byte Reload movq %rax, 8(%rsp) movq -480(%rbp), %rax ## 8-byte Reload movq %rax, 16(%rsp) movl -468(%rbp), %eax ## 4-byte Reload movl %eax, 24(%rsp) movq -464(%rbp), %rax ## 8-byte Reload movq %rax, 32(%rsp) movq -456(%rbp), %rax ## 8-byte Reload movq %rax, 40(%rsp) movq -448(%rbp), %rax ## 8-byte Reload movq %rax, 48(%rsp) movq -440(%rbp), %rax ## 8-byte Reload movq %rax, 56(%rsp) movq -432(%rbp), %rax ## 8-byte Reload movq %rax, 64(%rsp) movl -424(%rbp), %eax ## 4-byte Reload movl %eax, 72(%rsp) movq -568(%rbp), %rax ## 8-byte Reload movq %rax, 80(%rsp) movq -560(%rbp), %rax ## 8-byte Reload movq %r13, 88(%rsp) movq %r12, 96(%rsp) movq $0, 104(%rsp) movq $0, 112(%rsp) movl %r15d, 120(%rsp) movl %r14d, 128(%rsp) movq %rbx, 136(%rsp) movl %r11d, 144(%rsp) movq %r10, 152(%rsp) movq %rax, 160(%rsp) callq _svn_wc__get_switch_editor movl %eax, %edi callq _SVN_ERR movq -144(%rbp), %rax movq %rax, -552(%rbp) ## 8-byte Spill movq -136(%rbp), %rax movl 16(%rax), %eax movl %eax, -540(%rbp) ## 4-byte Spill movq -128(%rbp), %rax movq %rax, -536(%rbp) ## 8-byte Spill cmpq $0, 32(%rbp) je LBB0_50 ## %bb.49: movl 24(%rbp), %eax movl %eax, -572(%rbp) ## 4-byte Spill jmp LBB0_51 LBB0_50: movq _svn_depth_unknown@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -572(%rbp) ## 4-byte Spill LBB0_51: movq -536(%rbp), %r8 ## 8-byte Reload movl -540(%rbp), %ecx ## 4-byte Reload movq -552(%rbp), %rdi ## 8-byte Reload movl -572(%rbp), %r9d ## 4-byte Reload movq -136(%rbp), %rax movq 8(%rax), %r12 movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r15 movq 56(%rbp), %r14 movq -192(%rbp), %rbx movq -200(%rbp), %r11 movq 80(%rbp), %r10 movq 80(%rbp), %rax leaq -104(%rbp), %rsi leaq -112(%rbp), %rdx movq %r12, (%rsp) movq %r15, 8(%rsp) movq %r14, 16(%rsp) movq %rbx, 24(%rsp) movq %r11, 32(%rsp) movq %r10, 40(%rsp) movq %rax, 48(%rsp) callq _svn_ra_do_switch3 movl %eax, %edi callq _SVN_ERR movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %rcx movq 64(%rbp), %rax movq %rcx, (%rax) movq 72(%rbp), %rax movl 16(%rax), %edi movq -72(%rbp), %rsi movq -104(%rbp), %rdx movq -112(%rbp), %rcx movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %r8 movl 24(%rbp), %r9d cmpq $0, 32(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %r13d cmpq $0, -224(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %r12d movq -184(%rbp), %r15 movq 72(%rbp), %rax movl 24(%rax), %r14d movq 72(%rbp), %rax movl 20(%rax), %ebx movq 72(%rbp), %rax movq 8(%rax), %r11 movq 72(%rbp), %rax movl (%rax), %r10d movq 80(%rbp), %rax movl %r13d, (%rsp) movl %r12d, 8(%rsp) movq %r15, 16(%rsp) movl %r14d, 24(%rsp) movl %ebx, 32(%rsp) movq %r11, 40(%rsp) movl %r10d, 48(%rsp) movq %rax, 56(%rsp) callq _svn_wc_crawl_revisions5 movl %eax, %edi callq _SVN_ERR movl 24(%rbp), %edi callq _SVN_DEPTH_IS_RECURSIVE cmpq $0, %rax je LBB0_54 ## %bb.52: cmpq $0, 40(%rbp) jne LBB0_54 ## %bb.53: movq 72(%rbp), %rax movl 16(%rax), %edx movq -72(%rbp), %rcx movl 24(%rbp), %r8d movq 80(%rbp), %r9 movq 80(%rbp), %rax leaq -328(%rbp), %rdi leaq -336(%rbp), %rsi movq %rax, (%rsp) callq _svn_wc__externals_gather_definitions movl %eax, %edi callq _SVN_ERR movq -328(%rbp), %rdi movq -336(%rbp), %rsi movq -136(%rbp), %rax movq (%rax), %rdx movq -72(%rbp), %rcx movl 24(%rbp), %r8d movq 64(%rbp), %r9 movq -144(%rbp), %r11 movq 72(%rbp), %r10 movq 80(%rbp), %rax movq %r11, (%rsp) movq %r10, 8(%rsp) movq %rax, 16(%rsp) callq _svn_client__handle_externals movl %eax, %edi callq _SVN_ERR LBB0_54: movq 72(%rbp), %rax cmpq $0, 8(%rax) je LBB0_56 ## %bb.55: movq -80(%rbp), %rdi movq _svn_wc_notify_update_completed@GOTPCREL(%rip), %rax movl (%rax), %esi movq 80(%rbp), %rdx callq _svn_wc_create_notify movq %rax, -344(%rbp) movq _svn_node_none@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -344(%rbp), %rax movl %ecx, 16(%rax) movq _svn_wc_notify_state_inapplicable@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -344(%rbp), %rax movl %ecx, 8(%rax) movq -344(%rbp), %rax movl %ecx, 12(%rax) movq _svn_wc_notify_lock_state_inapplicable@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -344(%rbp), %rax movl %ecx, 4(%rax) movl -148(%rbp), %ecx movq -344(%rbp), %rax movl %ecx, (%rax) movq 72(%rbp), %rax movq 8(%rax), %rax movq 72(%rbp), %rcx movl (%rcx), %edi movq -344(%rbp), %rsi movq 80(%rbp), %rdx callq *%rax LBB0_56: cmpq $0, -56(%rbp) je LBB0_58 ## %bb.57: movl -148(%rbp), %ecx movq -56(%rbp), %rax movl %ecx, (%rax) LBB0_58: movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) LBB0_59: movq -48(%rbp), %rax addq $712, %rsp ## imm = 0x2C8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_CONFIG_CATEGORY_CONFIG,4,2 ## @SVN_CONFIG_CATEGORY_CONFIG .comm _svn_depth_unknown,4,2 ## @svn_depth_unknown .comm _FALSE,8,3 ## @FALSE .comm _svn_depth_exclude,4,2 ## @svn_depth_exclude .comm _SVN_ERR_UNSUPPORTED_FEATURE,4,2 ## @SVN_ERR_UNSUPPORTED_FEATURE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Cannot both exclude and switch a path" .comm _SVN_CONFIG_SECTION_HELPERS,4,2 ## @SVN_CONFIG_SECTION_HELPERS .comm _SVN_CONFIG_OPTION_DIFF3_CMD,4,2 ## @SVN_CONFIG_OPTION_DIFF3_CMD .comm _SVN_CONFIG_SECTION_MISCELLANY,4,2 ## @SVN_CONFIG_SECTION_MISCELLANY .comm _SVN_CONFIG_OPTION_USE_COMMIT_TIMES,4,2 ## @SVN_CONFIG_OPTION_USE_COMMIT_TIMES L_.str.1: ## @.str.1 .asciz "Cannot switch '%s' because it is not in the repository yet" .comm _SVN_CONFIG_OPTION_PRESERVED_CF_EXTS,4,2 ## @SVN_CONFIG_OPTION_PRESERVED_CF_EXTS L_.str.2: ## @.str.2 .space 1 L_.str.3: ## @.str.3 .asciz "\n\r\t\013 " .comm _SVN_ERR_ENTRY_MISSING_URL,4,2 ## @SVN_ERR_ENTRY_MISSING_URL L_.str.4: ## @.str.4 .asciz "Directory '%s' has no URL" .comm _svn_depth_infinity,4,2 ## @svn_depth_infinity .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .comm _TRUE,8,3 ## @TRUE .comm _svn_node_dir,8,3 ## @svn_node_dir .comm _SVN_ERR_WC_INVALID_SWITCH,4,2 ## @SVN_ERR_WC_INVALID_SWITCH L_.str.5: ## @.str.5 .asciz "'%s'\nis not the same repository as\n'%s'" .comm _SVN_ERR_CLIENT_UNRELATED_RESOURCES,4,2 ## @SVN_ERR_CLIENT_UNRELATED_RESOURCES L_.str.6: ## @.str.6 .asciz "'%s' shares no common ancestry with '%s'" .comm _SVN_RA_CAPABILITY_DEPTH,4,2 ## @SVN_RA_CAPABILITY_DEPTH .comm _svn_client__dirent_fetcher,4,2 ## @svn_client__dirent_fetcher .comm _record_conflict,8,3 ## @record_conflict .comm _svn_wc_notify_update_completed,4,2 ## @svn_wc_notify_update_completed .comm _svn_node_none,4,2 ## @svn_node_none .comm _svn_wc_notify_state_inapplicable,4,2 ## @svn_wc_notify_state_inapplicable .comm _svn_wc_notify_lock_state_inapplicable,4,2 ## @svn_wc_notify_lock_state_inapplicable .no_dead_strip _switch_internal .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_switch.c_switch_internal.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_device _add_device: ; @add_device .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 stur x0, [x29, #-16] stur w1, [x29, #-20] stur w2, [x29, #-24] adrp x8, _FMODE_READ@GOTPAGE ldr x8, [x8, _FMODE_READ@GOTPAGEOFF] ldr w8, [x8] adrp x9, _FMODE_WRITE@GOTPAGE ldr x9, [x9, _FMODE_WRITE@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _FMODE_EXCL@GOTPAGE ldr x9, [x9, _FMODE_EXCL@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 stur w8, [x29, #-32] ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_27 LBB0_2: adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x8] mov w0, #96 bl _kzalloc str x0, [sp, #48] ldr x8, [sp, #48] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_27 LBB0_4: ldur x0, [x29, #-16] ldur w1, [x29, #-32] ldr x2, [sp, #48] bl _blkdev_get_by_path stur x0, [x29, #-40] stur wzr, [x29, #-28] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-40] bl _IS_ERR subs x8, x0, #0 cset w8, eq mov w9, #0 str w9, [sp, #32] ; 4-byte Folded Spill tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-28] ldur w9, [x29, #-24] subs w8, w8, w9 cset w8, le str w8, [sp, #32] ; 4-byte Folded Spill b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #32] ; 4-byte Folded Reload tbz w8, #0, LBB0_14 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 mov w0, #1000 bl _msleep b LBB0_10 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 bl _wait_for_device_probe ldur x0, [x29, #-16] bl _name_to_dev_t str w0, [sp, #36] ldr w8, [sp, #36] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 b LBB0_13 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [sp, #36] ldur w1, [x29, #-32] ldr x2, [sp, #48] bl _blkdev_get_by_dev stur x0, [x29, #-40] b LBB0_13 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-28] add w8, w8, #1 stur w8, [x29, #-28] b LBB0_5 LBB0_14: ldur x0, [x29, #-40] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur x8, [x29, #-16] mov x9, sp str x8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_err b LBB0_26 LBB0_16: ldur x8, [x29, #-40] ldr x9, [sp, #48] str x8, [x9, #88] ldur x8, [x29, #-40] ldr w0, [x8, #8] bl _MAJOR adrp x8, _MTD_BLOCK_MAJOR@GOTPAGE ldr x8, [x8, _MTD_BLOCK_MAJOR@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_err b LBB0_26 LBB0_18: ldr x8, [sp, #48] ldr x8, [x8, #88] ldr x8, [x8] ldrsw x8, [x8] ldursw x10, [x29, #-20] sdiv x9, x8, x10 mul x9, x9, x10 subs x8, x8, x9 subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _pr_err b LBB0_26 LBB0_20: ldr x0, [sp, #48] bl _mutex_init adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w0, [x8] ldur x2, [x29, #-16] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _kasprintf str x0, [sp, #40] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: b LBB0_25 LBB0_22: ldr x8, [sp, #40] ldr x9, [sp, #48] str x8, [x9, #8] ldr x8, [sp, #48] ldr x8, [x8, #88] ldr x8, [x8] ldr w8, [x8] adrp x9, _PAGE_MASK@GOTPAGE ldr x9, [x9, _PAGE_MASK@GOTPAGEOFF] ldr w9, [x9] and w8, w8, w9 ldr x9, [sp, #48] str w8, [x9, #16] ldur w8, [x29, #-20] ldr x9, [sp, #48] str w8, [x9, #20] ldr x9, [sp, #48] mov w8, #1 str w8, [x9, #24] adrp x8, _PAGE_SIZE@GOTPAGE ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #72] adrp x8, _MTD_RAM@GOTPAGE ldr x8, [x8, _MTD_RAM@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #68] adrp x8, _MTD_CAP_RAM@GOTPAGE ldr x8, [x8, _MTD_CAP_RAM@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #64] adrp x8, _block2mtd_erase@GOTPAGE ldr x8, [x8, _block2mtd_erase@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #60] adrp x8, _block2mtd_write@GOTPAGE ldr x8, [x8, _block2mtd_write@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #56] adrp x8, _block2mtd_sync@GOTPAGE ldr x8, [x8, _block2mtd_sync@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #52] adrp x8, _block2mtd_read@GOTPAGE ldr x8, [x8, _block2mtd_read@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #48] ldr x8, [sp, #48] ldr x9, [sp, #48] str x8, [x9, #40] adrp x8, _THIS_MODULE@GOTPAGE ldr x8, [x8, _THIS_MODULE@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #48] str w8, [x9, #32] ldr x8, [sp, #48] add x0, x8, #8 mov x1, #0 mov w2, #0 bl _mtd_device_register subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: b LBB0_25 LBB0_24: ldr x8, [sp, #48] add x0, x8, #80 adrp x1, _blkmtd_device_list@GOTPAGE ldr x1, [x1, _blkmtd_device_list@GOTPAGEOFF] bl _list_add ldr x8, [sp, #48] ldr w8, [x8, #28] str w8, [sp, #28] ; 4-byte Folded Spill ldr x8, [sp, #48] ldr x8, [x8, #8] str x8, [sp, #16] ; 8-byte Folded Spill adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _strlen ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w1, [sp, #28] ; 4-byte Folded Reload add x2, x8, w0, sxtw ldr x8, [sp, #48] ldr w8, [x8, #20] asr w3, w8, #10 ldr x8, [sp, #48] ldr w4, [x8, #20] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _pr_info ldr x8, [sp, #48] stur x8, [x29, #-8] b LBB0_27 LBB0_25: ldr x0, [sp, #48] bl _mutex_destroy b LBB0_26 LBB0_26: ldr x0, [sp, #48] bl _block2mtd_free_device ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_27 LBB0_27: ldur x0, [x29, #-8] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _FMODE_READ,4,2 ; @FMODE_READ .comm _FMODE_WRITE,4,2 ; @FMODE_WRITE .comm _FMODE_EXCL,4,2 ; @FMODE_EXCL .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "error: cannot open device %s\n" .comm _MTD_BLOCK_MAJOR,8,3 ; @MTD_BLOCK_MAJOR l_.str.1: ; @.str.1 .asciz "attempting to use an MTD device as a block device\n" l_.str.2: ; @.str.2 .asciz "erasesize must be a divisor of device size\n" l_.str.3: ; @.str.3 .asciz "block2mtd: %s" .comm _PAGE_MASK,4,2 ; @PAGE_MASK .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .comm _MTD_RAM,4,2 ; @MTD_RAM .comm _MTD_CAP_RAM,4,2 ; @MTD_CAP_RAM .comm _block2mtd_erase,4,2 ; @block2mtd_erase .comm _block2mtd_write,4,2 ; @block2mtd_write .comm _block2mtd_sync,4,2 ; @block2mtd_sync .comm _block2mtd_read,4,2 ; @block2mtd_read .comm _THIS_MODULE,4,2 ; @THIS_MODULE .comm _blkmtd_device_list,4,2 ; @blkmtd_device_list l_.str.4: ; @.str.4 .asciz "mtd%d: [%s] erase_size = %dKiB [%d]\n" l_.str.5: ; @.str.5 .asciz "block2mtd: " .no_dead_strip _add_device .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_device _add_device: ## @add_device .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq _FMODE_READ@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FMODE_WRITE@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _FMODE_EXCL@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -32(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_27 LBB0_2: movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $96, %edi callq _kzalloc movq %rax, -48(%rbp) cmpq $0, -48(%rbp) jne LBB0_4 ## %bb.3: movq $0, -8(%rbp) jmp LBB0_27 LBB0_4: movq -16(%rbp), %rdi movl -32(%rbp), %esi movq -48(%rbp), %rdx callq _blkdev_get_by_path movq %rax, -40(%rbp) movl $0, -28(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movq -40(%rbp), %rdi callq _IS_ERR movq %rax, %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, %rcx movb %al, -61(%rbp) ## 1-byte Spill je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl -28(%rbp), %eax cmpl -24(%rbp), %eax setle %al movb %al, -61(%rbp) ## 1-byte Spill LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movb -61(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_8 jmp LBB0_14 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 cmpl $0, -28(%rbp) je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movl $1000, %edi ## imm = 0x3E8 callq _msleep LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movb $0, %al callq _wait_for_device_probe movq -16(%rbp), %rdi callq _name_to_dev_t movl %eax, -60(%rbp) cmpl $0, -60(%rbp) jne LBB0_12 ## %bb.11: ## in Loop: Header=BB0_5 Depth=1 jmp LBB0_13 LBB0_12: ## in Loop: Header=BB0_5 Depth=1 movl -60(%rbp), %edi movl -32(%rbp), %esi movq -48(%rbp), %rdx callq _blkdev_get_by_dev movq %rax, -40(%rbp) LBB0_13: ## in Loop: Header=BB0_5 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_5 LBB0_14: movq -40(%rbp), %rdi callq _IS_ERR cmpq $0, %rax je LBB0_16 ## %bb.15: movq -16(%rbp), %rsi leaq L_.str(%rip), %rdi movb $0, %al callq _pr_err jmp LBB0_26 LBB0_16: movq -40(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 88(%rax) movq -40(%rbp), %rax movl 8(%rax), %edi callq _MAJOR movq _MTD_BLOCK_MAJOR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_18 ## %bb.17: leaq L_.str.1(%rip), %rdi movb $0, %al callq _pr_err jmp LBB0_26 LBB0_18: movq -48(%rbp), %rax movq 88(%rax), %rax movq (%rax), %rax movslq (%rax), %rax movslq -20(%rbp), %rcx cqto idivq %rcx cmpq $0, %rdx je LBB0_20 ## %bb.19: leaq L_.str.2(%rip), %rdi movb $0, %al callq _pr_err jmp LBB0_26 LBB0_20: movq -48(%rbp), %rdi callq _mutex_init movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rdx leaq L_.str.3(%rip), %rsi callq _kasprintf movq %rax, -56(%rbp) cmpq $0, -56(%rbp) jne LBB0_22 ## %bb.21: jmp LBB0_25 LBB0_22: movq -56(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 8(%rax) movq -48(%rbp), %rax movq 88(%rax), %rax movq (%rax), %rax movl (%rax), %ecx movq _PAGE_MASK@GOTPCREL(%rip), %rax andl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 16(%rax) movl -20(%rbp), %ecx movq -48(%rbp), %rax movl %ecx, 20(%rax) movq -48(%rbp), %rax movl $1, 24(%rax) movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 72(%rax) movq _MTD_RAM@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 68(%rax) movq _MTD_CAP_RAM@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 64(%rax) movq _block2mtd_erase@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 60(%rax) movq _block2mtd_write@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 56(%rax) movq _block2mtd_sync@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 52(%rax) movq _block2mtd_read@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 48(%rax) movq -48(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, 40(%rax) movq _THIS_MODULE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 32(%rax) movq -48(%rbp), %rdi addq $8, %rdi xorl %eax, %eax movl %eax, %esi xorl %edx, %edx callq _mtd_device_register cmpq $0, %rax je LBB0_24 ## %bb.23: jmp LBB0_25 LBB0_24: movq -48(%rbp), %rdi addq $80, %rdi movq _blkmtd_device_list@GOTPCREL(%rip), %rsi callq _list_add movq -48(%rbp), %rax movl 28(%rax), %eax movl %eax, -68(%rbp) ## 4-byte Spill movq -48(%rbp), %rax movq 8(%rax), %rax movq %rax, -80(%rbp) ## 8-byte Spill leaq L_.str.5(%rip), %rdi callq _strlen movq -80(%rbp), %rdx ## 8-byte Reload movl -68(%rbp), %esi ## 4-byte Reload cltq addq %rax, %rdx movq -48(%rbp), %rax movl 20(%rax), %ecx sarl $10, %ecx movq -48(%rbp), %rax movl 20(%rax), %r8d leaq L_.str.4(%rip), %rdi callq _pr_info movq -48(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_27 LBB0_25: movq -48(%rbp), %rdi callq _mutex_destroy LBB0_26: movq -48(%rbp), %rdi callq _block2mtd_free_device movq $0, -8(%rbp) LBB0_27: movq -8(%rbp), %rax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FMODE_READ,4,2 ## @FMODE_READ .comm _FMODE_WRITE,4,2 ## @FMODE_WRITE .comm _FMODE_EXCL,4,2 ## @FMODE_EXCL .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "error: cannot open device %s\n" .comm _MTD_BLOCK_MAJOR,8,3 ## @MTD_BLOCK_MAJOR L_.str.1: ## @.str.1 .asciz "attempting to use an MTD device as a block device\n" L_.str.2: ## @.str.2 .asciz "erasesize must be a divisor of device size\n" L_.str.3: ## @.str.3 .asciz "block2mtd: %s" .comm _PAGE_MASK,4,2 ## @PAGE_MASK .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .comm _MTD_RAM,4,2 ## @MTD_RAM .comm _MTD_CAP_RAM,4,2 ## @MTD_CAP_RAM .comm _block2mtd_erase,4,2 ## @block2mtd_erase .comm _block2mtd_write,4,2 ## @block2mtd_write .comm _block2mtd_sync,4,2 ## @block2mtd_sync .comm _block2mtd_read,4,2 ## @block2mtd_read .comm _THIS_MODULE,4,2 ## @THIS_MODULE .comm _blkmtd_device_list,4,2 ## @blkmtd_device_list L_.str.4: ## @.str.4 .asciz "mtd%d: [%s] erase_size = %dKiB [%d]\n" L_.str.5: ## @.str.5 .asciz "block2mtd: " .no_dead_strip _add_device .subsections_via_symbols
AnghaBench/linux/drivers/mtd/devices/extr_block2mtd.c_add_device.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function omap_crtc_atomic_check _omap_crtc_atomic_check: ; @omap_crtc_atomic_check .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 stur x0, [x29, #-16] str x1, [sp, #24] ldr x8, [sp, #24] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_1 LBB0_1: ldr x8, [sp, #24] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ldr x8, [sp, #24] ldr x8, [x8, #8] ldrsw x8, [x8] mov x9, #4 udiv x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #2 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_8 LBB0_4: b LBB0_5 LBB0_5: ldr x8, [sp, #24] ldr w0, [x8] ldur x8, [x29, #-16] ldr w1, [x8] bl _drm_atomic_get_new_plane_state str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr x0, [sp, #24] bl _to_omap_crtc_state str x0, [sp] ldr x8, [sp, #16] ldr w8, [x8, #4] ldr x9, [sp] str w8, [x9, #8] ldr x8, [sp, #16] ldr w8, [x8] ldr x9, [sp] str w8, [x9, #4] ldur x0, [x29, #-16] bl _omap_crtc_is_manually_updated ldr x8, [sp] str w0, [x8] b LBB0_7 LBB0_7: stur wzr, [x29, #-4] b LBB0_8 LBB0_8: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _omap_crtc_atomic_check .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function omap_crtc_atomic_check _omap_crtc_atomic_check: ## @omap_crtc_atomic_check .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -24(%rbp), %rax cmpq $0, 16(%rax) je LBB0_5 ## %bb.1: movq -24(%rbp), %rax cmpq $0, 8(%rax) je LBB0_5 ## %bb.2: movq -24(%rbp), %rax movq 8(%rax), %rax movslq (%rax), %rax shrq $2, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) cmpl $2, -36(%rbp) jae LBB0_4 ## %bb.3: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_8 LBB0_4: jmp LBB0_5 LBB0_5: movq -24(%rbp), %rax movl (%rax), %edi movq -16(%rbp), %rax movl (%rax), %esi callq _drm_atomic_get_new_plane_state movq %rax, -32(%rbp) cmpq $0, -32(%rbp) je LBB0_7 ## %bb.6: movq -24(%rbp), %rdi callq _to_omap_crtc_state movq %rax, -48(%rbp) movq -32(%rbp), %rax movl 4(%rax), %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) movq -32(%rbp), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 4(%rax) movq -16(%rbp), %rdi callq _omap_crtc_is_manually_updated movl %eax, %ecx movq -48(%rbp), %rax movl %ecx, (%rax) LBB0_7: movl $0, -4(%rbp) LBB0_8: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _omap_crtc_atomic_check .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/omapdrm/extr_omap_crtc.c_omap_crtc_atomic_check.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ceph_flush_cap_releases ; -- Begin function ceph_flush_cap_releases .p2align 2 _ceph_flush_cap_releases: ; @ceph_flush_cap_releases .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x8, [sp, #8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_5 LBB0_2: ldr x0, [sp] bl _get_session ldr x8, [sp, #8] ldr x8, [x8] ldr w0, [x8] ldr x1, [sp] bl _queue_work subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _dout b LBB0_5 LBB0_4: ldr x0, [sp] bl _ceph_put_mds_session adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _dout b LBB0_5 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cap release work queued\n" l_.str.1: ; @.str.1 .asciz "failed to queue cap release work\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ceph_flush_cap_releases ## -- Begin function ceph_flush_cap_releases .p2align 4, 0x90 _ceph_flush_cap_releases: ## @ceph_flush_cap_releases .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax cmpq $0, 8(%rax) je LBB0_2 ## %bb.1: jmp LBB0_5 LBB0_2: movq -16(%rbp), %rdi callq _get_session movq -8(%rbp), %rax movq (%rax), %rax movl (%rax), %edi movq -16(%rbp), %rsi callq _queue_work cmpq $0, %rax je LBB0_4 ## %bb.3: leaq L_.str(%rip), %rdi callq _dout jmp LBB0_5 LBB0_4: movq -16(%rbp), %rdi callq _ceph_put_mds_session leaq L_.str.1(%rip), %rdi callq _dout LBB0_5: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cap release work queued\n" L_.str.1: ## @.str.1 .asciz "failed to queue cap release work\n" .subsections_via_symbols
AnghaBench/linux/fs/ceph/extr_mds_client.c_ceph_flush_cap_releases.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nfs_nbinit ; -- Begin function nfs_nbinit .p2align 2 _nfs_nbinit: ; @nfs_nbinit .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 adrp x8, _nfsbufmax@GOTPAGE ldr x8, [x8, _nfsbufmax@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _LCK_GRP_ATTR_NULL@GOTPAGE ldr x8, [x8, _LCK_GRP_ATTR_NULL@GOTPAGEOFF] ldr w1, [x8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _lck_grp_alloc_init adrp x8, _nfs_buf_lck_grp@GOTPAGE ldr x8, [x8, _nfs_buf_lck_grp@GOTPAGEOFF] str w0, [x8] ldr w0, [x8] adrp x8, _LCK_ATTR_NULL@GOTPAGE ldr x8, [x8, _LCK_ATTR_NULL@GOTPAGEOFF] ldr w1, [x8] bl _lck_mtx_alloc_init ldr x8, [sp, #8] ; 8-byte Folded Reload adrp x9, _nfs_buf_mutex@GOTPAGE ldr x9, [x9, _nfs_buf_mutex@GOTPAGEOFF] str w0, [x9] adrp x9, _nfsbufdelwricnt@GOTPAGE ldr x9, [x9, _nfsbufdelwricnt@GOTPAGEOFF] str xzr, [x9] adrp x9, _nfsbuffreemetacnt@GOTPAGE ldr x9, [x9, _nfsbuffreemetacnt@GOTPAGEOFF] str xzr, [x9] adrp x9, _nfsbuffreecnt@GOTPAGE ldr x9, [x9, _nfsbuffreecnt@GOTPAGEOFF] str xzr, [x9] adrp x9, _nfsbufmetacnt@GOTPAGE ldr x9, [x9, _nfsbufmetacnt@GOTPAGEOFF] str xzr, [x9] adrp x9, _nfsbufcnt@GOTPAGE ldr x9, [x9, _nfsbufcnt@GOTPAGEOFF] str xzr, [x9] adrp x10, _nfsbufmin@GOTPAGE ldr x10, [x10, _nfsbufmin@GOTPAGEOFF] mov w9, #128 str w9, [x10] adrp x9, _sane_size@GOTPAGE ldr x9, [x9, _sane_size@GOTPAGEOFF] ldr w9, [x9] adrp x11, _PAGE_SHIFT@GOTPAGE ldr x11, [x11, _PAGE_SHIFT@GOTPAGEOFF] ldr w10, [x11] asr w9, w9, w10 adrp x10, _NFS_RWSIZE@GOTPAGE ldr x10, [x10, _NFS_RWSIZE@GOTPAGEOFF] ldr w10, [x10] ldr w11, [x11] asr w11, w10, w11 mov w10, #2 mul w10, w10, w11 sdiv w9, w9, w10 str w9, [x8] ldr w10, [x8] mov w9, #4 sdiv w10, w10, w9 adrp x11, _nfsbufmetamax@GOTPAGE ldr x11, [x11, _nfsbufmetamax@GOTPAGEOFF] str w10, [x11] adrp x10, _nfsneedbuffer@GOTPAGE ldr x10, [x10, _nfsneedbuffer@GOTPAGEOFF] str xzr, [x10] adrp x10, _nfs_nbdwrite@GOTPAGE ldr x10, [x10, _nfs_nbdwrite@GOTPAGEOFF] str xzr, [x10] ldr w8, [x8] sdiv w0, w8, w9 adrp x8, _M_TEMP@GOTPAGE ldr x8, [x8, _M_TEMP@GOTPAGEOFF] ldr w1, [x8] adrp x2, _nfsbufhash@GOTPAGE ldr x2, [x2, _nfsbufhash@GOTPAGEOFF] bl _hashinit adrp x8, _nfsbufhashtbl@GOTPAGE ldr x8, [x8, _nfsbufhashtbl@GOTPAGEOFF] str w0, [x8] adrp x0, _nfsbuffree@GOTPAGE ldr x0, [x0, _nfsbuffree@GOTPAGEOFF] bl _TAILQ_INIT adrp x0, _nfsbuffreemeta@GOTPAGE ldr x0, [x0, _nfsbuffreemeta@GOTPAGEOFF] bl _TAILQ_INIT adrp x0, _nfsbufdelwri@GOTPAGE ldr x0, [x0, _nfsbufdelwri@GOTPAGEOFF] bl _TAILQ_INIT ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nfs_buf" .comm _LCK_GRP_ATTR_NULL,4,2 ; @LCK_GRP_ATTR_NULL .comm _nfs_buf_lck_grp,4,2 ; @nfs_buf_lck_grp .comm _LCK_ATTR_NULL,4,2 ; @LCK_ATTR_NULL .comm _nfs_buf_mutex,4,2 ; @nfs_buf_mutex .comm _nfsbufdelwricnt,8,3 ; @nfsbufdelwricnt .comm _nfsbuffreemetacnt,8,3 ; @nfsbuffreemetacnt .comm _nfsbuffreecnt,8,3 ; @nfsbuffreecnt .comm _nfsbufmetacnt,8,3 ; @nfsbufmetacnt .comm _nfsbufcnt,8,3 ; @nfsbufcnt .comm _nfsbufmin,4,2 ; @nfsbufmin .comm _sane_size,4,2 ; @sane_size .comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT .comm _NFS_RWSIZE,4,2 ; @NFS_RWSIZE .comm _nfsbufmax,4,2 ; @nfsbufmax .comm _nfsbufmetamax,4,2 ; @nfsbufmetamax .comm _nfsneedbuffer,8,3 ; @nfsneedbuffer .comm _nfs_nbdwrite,8,3 ; @nfs_nbdwrite .comm _M_TEMP,4,2 ; @M_TEMP .comm _nfsbufhash,4,2 ; @nfsbufhash .comm _nfsbufhashtbl,4,2 ; @nfsbufhashtbl .comm _nfsbuffree,4,2 ; @nfsbuffree .comm _nfsbuffreemeta,4,2 ; @nfsbuffreemeta .comm _nfsbufdelwri,4,2 ; @nfsbufdelwri .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nfs_nbinit ## -- Begin function nfs_nbinit .p2align 4, 0x90 _nfs_nbinit: ## @nfs_nbinit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _LCK_GRP_ATTR_NULL@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _lck_grp_alloc_init movl %eax, %ecx movq _nfs_buf_lck_grp@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _nfs_buf_lck_grp@GOTPCREL(%rip), %rax movl (%rax), %edi movq _LCK_ATTR_NULL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _lck_mtx_alloc_init movl %eax, %ecx movq _nfs_buf_mutex@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _nfsbufdelwricnt@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfsbuffreemetacnt@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfsbuffreecnt@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfsbufmetacnt@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfsbufcnt@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfsbufmin@GOTPCREL(%rip), %rax movl $128, (%rax) movq _sane_size@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx sarl %cl, %eax movq _NFS_RWSIZE@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _PAGE_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx sarl %cl, %edx movl %edx, %ecx shll $1, %ecx cltd idivl %ecx movl %eax, %ecx movq _nfsbufmax@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _nfsbufmax@GOTPCREL(%rip), %rax movl (%rax), %eax movl $4, %ecx cltd idivl %ecx movl %eax, %ecx movq _nfsbufmetamax@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _nfsneedbuffer@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfs_nbdwrite@GOTPCREL(%rip), %rax movq $0, (%rax) movq _nfsbufmax@GOTPCREL(%rip), %rax movl (%rax), %eax movl $4, %ecx cltd idivl %ecx movl %eax, %edi movq _M_TEMP@GOTPCREL(%rip), %rax movl (%rax), %esi movq _nfsbufhash@GOTPCREL(%rip), %rdx callq _hashinit movl %eax, %ecx movq _nfsbufhashtbl@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _nfsbuffree@GOTPCREL(%rip), %rdi callq _TAILQ_INIT movq _nfsbuffreemeta@GOTPCREL(%rip), %rdi callq _TAILQ_INIT movq _nfsbufdelwri@GOTPCREL(%rip), %rdi callq _TAILQ_INIT popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nfs_buf" .comm _LCK_GRP_ATTR_NULL,4,2 ## @LCK_GRP_ATTR_NULL .comm _nfs_buf_lck_grp,4,2 ## @nfs_buf_lck_grp .comm _LCK_ATTR_NULL,4,2 ## @LCK_ATTR_NULL .comm _nfs_buf_mutex,4,2 ## @nfs_buf_mutex .comm _nfsbufdelwricnt,8,3 ## @nfsbufdelwricnt .comm _nfsbuffreemetacnt,8,3 ## @nfsbuffreemetacnt .comm _nfsbuffreecnt,8,3 ## @nfsbuffreecnt .comm _nfsbufmetacnt,8,3 ## @nfsbufmetacnt .comm _nfsbufcnt,8,3 ## @nfsbufcnt .comm _nfsbufmin,4,2 ## @nfsbufmin .comm _sane_size,4,2 ## @sane_size .comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT .comm _NFS_RWSIZE,4,2 ## @NFS_RWSIZE .comm _nfsbufmax,4,2 ## @nfsbufmax .comm _nfsbufmetamax,4,2 ## @nfsbufmetamax .comm _nfsneedbuffer,8,3 ## @nfsneedbuffer .comm _nfs_nbdwrite,8,3 ## @nfs_nbdwrite .comm _M_TEMP,4,2 ## @M_TEMP .comm _nfsbufhash,4,2 ## @nfsbufhash .comm _nfsbufhashtbl,4,2 ## @nfsbufhashtbl .comm _nfsbuffree,4,2 ## @nfsbuffree .comm _nfsbuffreemeta,4,2 ## @nfsbuffreemeta .comm _nfsbufdelwri,4,2 ## @nfsbufdelwri .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/nfs/extr_nfs_bio.c_nfs_nbinit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _plt_offset ; -- Begin function plt_offset .p2align 2 _plt_offset: ; @plt_offset .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill adrp x8, _prog@GOTPAGE ldr x8, [x8, _prog@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] stur x1, [x29, #-16] ; kill: def $x8 killed $xzr stur xzr, [x29, #-40] stur xzr, [x29, #-64] stur wzr, [x29, #-68] str xzr, [sp, #32] ldur x0, [x29, #-8] adrp x8, _O_RDONLY@GOTPAGE ldr x8, [x8, _O_RDONLY@GOTPAGEOFF] ldr w1, [x8] bl _open stur w0, [x29, #-20] ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _perror mov w0, #1 bl _exit LBB0_2: adrp x8, _EV_CURRENT@GOTPAGE ldr x8, [x8, _EV_CURRENT@GOTPAGEOFF] ldr w0, [x8] bl _elf_version ldur w0, [x29, #-20] adrp x8, _ELF_C_READ@GOTPAGE ldr x8, [x8, _ELF_C_READ@GOTPAGEOFF] ldr w1, [x8] mov w2, #0 bl _elf_begin stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: bl _elferr b LBB0_4 LBB0_4: ldur x0, [x29, #-32] bl _elf32_getehdr stur x0, [x29, #-56] ldur x8, [x29, #-56] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: bl _elferr b LBB0_6 LBB0_6: b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-32] ldur x1, [x29, #-40] bl _elf_nextscn mov x8, x0 stur x8, [x29, #-40] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur x0, [x29, #-40] bl _elf32_getshdr str x0, [sp, #64] ldr x8, [sp, #64] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 bl _elferr b LBB0_10 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #64] ldr x8, [x8] adrp x9, _SHT_RELA@GOTPAGE ldr x9, [x9, _SHT_RELA@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_7 Depth=1 ldur x0, [x29, #-32] ldur x8, [x29, #-56] ldr w1, [x8] ldr x8, [sp, #64] ldr x2, [x8, #16] bl _elf_strptr str x0, [sp, #40] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_7 Depth=1 ldr x0, [sp, #40] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: b LBB0_16 LBB0_14: ; in Loop: Header=BB0_7 Depth=1 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_7 Depth=1 b LBB0_7 LBB0_16: ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp] ; 8-byte Folded Reload ldr w0, [x9] ldr x2, [x8] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_18: ldur x0, [x29, #-40] mov x1, #0 bl _elf_getdata stur x0, [x29, #-48] ldur x8, [x29, #-48] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: bl _elferr b LBB0_20 LBB0_20: ldur x8, [x29, #-48] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp] ; 8-byte Folded Reload ldr w0, [x9] ldr x2, [x8] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_22: ldur x8, [x29, #-48] ldr x8, [x8, #8] stur x8, [x29, #-64] ldur x8, [x29, #-48] ldrsw x8, [x8] mov x9, #16 udiv x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-68] ldur x8, [x29, #-64] add x8, x8, #64 stur x8, [x29, #-64] ldur w8, [x29, #-68] subs w8, w8, #4 stur w8, [x29, #-68] ldur x0, [x29, #-32] ldr x8, [sp, #64] ldr w1, [x8, #8] bl _elf_getscn str x0, [sp, #56] ldr x8, [sp, #56] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: bl _elferr b LBB0_24 LBB0_24: ldr x0, [sp, #56] bl _elf32_getshdr str x0, [sp, #64] ldr x8, [sp, #64] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_26 b LBB0_25 LBB0_25: bl _elferr b LBB0_26 LBB0_26: ldr x0, [sp, #56] mov x1, #0 bl _elf_getdata stur x0, [x29, #-48] ldur x8, [x29, #-48] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_28 b LBB0_27 LBB0_27: bl _elferr b LBB0_28 LBB0_28: ldur x8, [x29, #-48] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_30 b LBB0_29 LBB0_29: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp] ; 8-byte Folded Reload ldr w0, [x9] ldr x2, [x8] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_30: ldur x8, [x29, #-48] ldr x8, [x8, #8] str x8, [sp, #48] b LBB0_31 LBB0_31: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-68] subs w9, w8, #1 stur w9, [x29, #-68] subs w8, w8, #0 cset w8, le tbnz w8, #0, LBB0_36 b LBB0_32 LBB0_32: ; in Loop: Header=BB0_31 Depth=1 ldur x8, [x29, #-64] ldr w0, [x8, #8] bl _ELF32_R_SYM str w0, [sp, #20] ldur x0, [x29, #-32] ldr x8, [sp, #64] ldr w1, [x8, #8] ldr x8, [sp, #48] ldrsw x9, [sp, #20] ldr x2, [x8, x9, lsl #3] bl _elf_strptr str x0, [sp, #40] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_35 b LBB0_33 LBB0_33: ; in Loop: Header=BB0_31 Depth=1 ldr x0, [sp, #40] ldur x1, [x29, #-16] bl _strcmp subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_35 b LBB0_34 LBB0_34: b LBB0_36 LBB0_35: ; in Loop: Header=BB0_31 Depth=1 ldur x8, [x29, #-64] add x8, x8, #16 stur x8, [x29, #-64] b LBB0_31 LBB0_36: ldur x8, [x29, #-64] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_38 b LBB0_37 LBB0_37: ldur x0, [x29, #-8] adrp x8, _PLT_SYMBOL@GOTPAGE ldr x8, [x8, _PLT_SYMBOL@GOTPAGEOFF] ldr w1, [x8] bl _symval str x0, [sp, #24] ldur x8, [x29, #-64] ldr x8, [x8] ldr x9, [sp, #24] subs x8, x8, x9 str x8, [sp, #32] b LBB0_38 LBB0_38: ldur x0, [x29, #-32] bl _elf_end ldur w0, [x29, #-20] bl _close ldr x0, [sp, #32] ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret .cfi_endproc ; -- End function .comm _O_RDONLY,4,2 ; @O_RDONLY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "open" .comm _EV_CURRENT,4,2 ; @EV_CURRENT .comm _ELF_C_READ,4,2 ; @ELF_C_READ .comm _SHT_RELA,8,3 ; @SHT_RELA l_.str.1: ; @.str.1 .asciz ".rela.plt" .comm _stderr,4,2 ; @stderr l_.str.2: ; @.str.2 .asciz "%s: .rela.plt section not found\n" .comm _prog,8,3 ; @prog l_.str.3: ; @.str.3 .asciz "%s: .rela.plt section empty\n" l_.str.4: ; @.str.4 .asciz "%s: dynamic symbol table empty\n" .comm _PLT_SYMBOL,4,2 ; @PLT_SYMBOL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _plt_offset ## -- Begin function plt_offset .p2align 4, 0x90 _plt_offset: ## @plt_offset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq $0, -40(%rbp) movq $0, -64(%rbp) movl $0, -68(%rbp) movq $0, -112(%rbp) movq -8(%rbp), %rdi movq _O_RDONLY@GOTPCREL(%rip), %rax movl (%rax), %esi callq _open movl %eax, -20(%rbp) cmpl $0, -20(%rbp) jge LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _perror movl $1, %edi callq _exit LBB0_2: movq _EV_CURRENT@GOTPCREL(%rip), %rax movl (%rax), %edi callq _elf_version movl -20(%rbp), %edi movq _ELF_C_READ@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _elf_begin movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_4 ## %bb.3: movb $0, %al callq _elferr LBB0_4: movq -32(%rbp), %rdi callq _elf32_getehdr movq %rax, -56(%rbp) cmpq $0, -56(%rbp) jne LBB0_6 ## %bb.5: movb $0, %al callq _elferr LBB0_6: jmp LBB0_7 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rdi movq -40(%rbp), %rsi callq _elf_nextscn movq %rax, -40(%rbp) cmpq $0, %rax je LBB0_16 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -40(%rbp), %rdi callq _elf32_getshdr movq %rax, -80(%rbp) cmpq $0, -80(%rbp) jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movb $0, %al callq _elferr LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movq -80(%rbp), %rax movq (%rax), %rax movq _SHT_RELA@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_15 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movq -32(%rbp), %rdi movq -56(%rbp), %rax movl (%rax), %esi movq -80(%rbp), %rax movq 16(%rax), %rdx callq _elf_strptr movq %rax, -104(%rbp) cmpq $0, -104(%rbp) je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 movq -104(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _strcmp cmpl $0, %eax jne LBB0_14 ## %bb.13: jmp LBB0_16 LBB0_14: ## in Loop: Header=BB0_7 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_7 Depth=1 jmp LBB0_7 LBB0_16: cmpq $0, -40(%rbp) jne LBB0_18 ## %bb.17: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq _prog@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.2(%rip), %rsi callq _fprintf movl $1, %edi callq _exit LBB0_18: movq -40(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq _elf_getdata movq %rax, -48(%rbp) cmpq $0, -48(%rbp) jne LBB0_20 ## %bb.19: movb $0, %al callq _elferr LBB0_20: movq -48(%rbp), %rax cmpl $0, (%rax) jne LBB0_22 ## %bb.21: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq _prog@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.3(%rip), %rsi callq _fprintf movl $1, %edi callq _exit LBB0_22: movq -48(%rbp), %rax movq 8(%rax), %rax movq %rax, -64(%rbp) movq -48(%rbp), %rax movslq (%rax), %rax shrq $4, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -68(%rbp) movq -64(%rbp), %rax addq $64, %rax movq %rax, -64(%rbp) movl -68(%rbp), %eax subl $4, %eax movl %eax, -68(%rbp) movq -32(%rbp), %rdi movq -80(%rbp), %rax movl 8(%rax), %esi callq _elf_getscn movq %rax, -88(%rbp) cmpq $0, -88(%rbp) jne LBB0_24 ## %bb.23: movb $0, %al callq _elferr LBB0_24: movq -88(%rbp), %rdi callq _elf32_getshdr movq %rax, -80(%rbp) cmpq $0, -80(%rbp) jne LBB0_26 ## %bb.25: movb $0, %al callq _elferr LBB0_26: movq -88(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq _elf_getdata movq %rax, -48(%rbp) cmpq $0, -48(%rbp) jne LBB0_28 ## %bb.27: movb $0, %al callq _elferr LBB0_28: movq -48(%rbp), %rax cmpl $0, (%rax) jne LBB0_30 ## %bb.29: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq _prog@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.4(%rip), %rsi callq _fprintf movl $1, %edi callq _exit LBB0_30: movq -48(%rbp), %rax movq 8(%rax), %rax movq %rax, -96(%rbp) LBB0_31: ## =>This Inner Loop Header: Depth=1 movl -68(%rbp), %eax movl %eax, %ecx addl $-1, %ecx movl %ecx, -68(%rbp) cmpl $0, %eax jle LBB0_36 ## %bb.32: ## in Loop: Header=BB0_31 Depth=1 movq -64(%rbp), %rax movl 8(%rax), %edi callq _ELF32_R_SYM movl %eax, -124(%rbp) movq -32(%rbp), %rdi movq -80(%rbp), %rax movl 8(%rax), %esi movq -96(%rbp), %rax movslq -124(%rbp), %rcx movq (%rax,%rcx,8), %rdx callq _elf_strptr movq %rax, -104(%rbp) cmpq $0, -104(%rbp) je LBB0_35 ## %bb.33: ## in Loop: Header=BB0_31 Depth=1 movq -104(%rbp), %rdi movq -16(%rbp), %rsi callq _strcmp cmpl $0, %eax jne LBB0_35 ## %bb.34: jmp LBB0_36 LBB0_35: ## in Loop: Header=BB0_31 Depth=1 movq -64(%rbp), %rax addq $16, %rax movq %rax, -64(%rbp) jmp LBB0_31 LBB0_36: cmpq $0, -64(%rbp) je LBB0_38 ## %bb.37: movq -8(%rbp), %rdi movq _PLT_SYMBOL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _symval movq %rax, -120(%rbp) movq -64(%rbp), %rax movq (%rax), %rax subq -120(%rbp), %rax movq %rax, -112(%rbp) LBB0_38: movq -32(%rbp), %rdi callq _elf_end movl -20(%rbp), %edi callq _close movq -112(%rbp), %rax addq $128, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _O_RDONLY,4,2 ## @O_RDONLY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "open" .comm _EV_CURRENT,4,2 ## @EV_CURRENT .comm _ELF_C_READ,4,2 ## @ELF_C_READ .comm _SHT_RELA,8,3 ## @SHT_RELA L_.str.1: ## @.str.1 .asciz ".rela.plt" .comm _stderr,4,2 ## @stderr L_.str.2: ## @.str.2 .asciz "%s: .rela.plt section not found\n" .comm _prog,8,3 ## @prog L_.str.3: ## @.str.3 .asciz "%s: .rela.plt section empty\n" L_.str.4: ## @.str.4 .asciz "%s: dynamic symbol table empty\n" .comm _PLT_SYMBOL,4,2 ## @PLT_SYMBOL .subsections_via_symbols
AnghaBench/exploitdb/exploits/solaris/local/extr_19160.c_plt_offset.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i40iw_req_notify_cq _i40iw_req_notify_cq: ; @i40iw_req_notify_cq .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 stur x0, [x29, #-8] stur w1, [x29, #-12] adrp x8, _IW_CQ_COMPL_EVENT@GOTPAGE ldr x8, [x8, _IW_CQ_COMPL_EVENT@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ldur x8, [x29, #-8] str x8, [sp, #24] ldr x8, [sp, #24] add x8, x8, #8 str x8, [sp, #16] ldur w8, [x29, #-12] adrp x9, _IB_CQ_SOLICITED@GOTPAGE ldr x9, [x9, _IB_CQ_SOLICITED@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _IW_CQ_COMPL_SOLICITED@GOTPAGE ldr x8, [x8, _IW_CQ_COMPL_SOLICITED@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] b LBB0_2 LBB0_2: ldr x0, [sp, #24] ldr x1, [sp, #8] bl _spin_lock_irqsave ldr x8, [sp, #16] ldr x8, [x8] ldr x0, [sp, #16] ldr w1, [sp, #4] blr x8 ldr x0, [sp, #24] ldr x1, [sp, #8] bl _spin_unlock_irqrestore mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _IW_CQ_COMPL_EVENT,4,2 ; @IW_CQ_COMPL_EVENT .comm _IB_CQ_SOLICITED,4,2 ; @IB_CQ_SOLICITED .comm _IW_CQ_COMPL_SOLICITED,4,2 ; @IW_CQ_COMPL_SOLICITED .no_dead_strip _i40iw_req_notify_cq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i40iw_req_notify_cq _i40iw_req_notify_cq: ## @i40iw_req_notify_cq .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 %rdi, -8(%rbp) movl %esi, -12(%rbp) movq _IW_CQ_COMPL_EVENT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax addq $8, %rax movq %rax, -32(%rbp) movl -12(%rbp), %eax movq _IB_CQ_SOLICITED@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_2 ## %bb.1: movq _IW_CQ_COMPL_SOLICITED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) LBB0_2: movq -24(%rbp), %rdi movq -40(%rbp), %rsi callq _spin_lock_irqsave movq -32(%rbp), %rax movq (%rax), %rax movq -32(%rbp), %rdi movl -44(%rbp), %esi callq *%rax movq -24(%rbp), %rdi movq -40(%rbp), %rsi callq _spin_unlock_irqrestore xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _IW_CQ_COMPL_EVENT,4,2 ## @IW_CQ_COMPL_EVENT .comm _IB_CQ_SOLICITED,4,2 ## @IB_CQ_SOLICITED .comm _IW_CQ_COMPL_SOLICITED,4,2 ## @IW_CQ_COMPL_SOLICITED .no_dead_strip _i40iw_req_notify_cq .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/hw/i40iw/extr_i40iw_verbs.c_i40iw_req_notify_cq.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function banana _banana: ; @banana .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 stur x0, [x29, #-8] stur x1, [x29, #-16] adrp x8, l___const.banana.the_banana@PAGE add x8, x8, l___const.banana.the_banana@PAGEOFF ldr w9, [x8] str w9, [sp, #16] ldrh w8, [x8, #4] strh w8, [sp, #20] str xzr, [sp, #24] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #24] ldur x9, [x29, #-16] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-16] ldr x9, [sp, #24] subs x8, x8, x9 subs x8, x8, #6 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr x9, [sp, #24] add x0, x8, x9 ldur x8, [x29, #-16] ldr x9, [sp, #24] subs x8, x8, x9 mov x9, sp adrp x10, l_.str@PAGE add x10, x10, l_.str@PAGEOFF str x10, [x9] str x8, [x9, #8] bl _memcpy b LBB0_6 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr x9, [sp, #24] add x0, x8, x9 mov x9, sp adrp x8, _banana@PAGE add x8, x8, _banana@PAGEOFF str x8, [x9] mov x8, #6 str x8, [x9, #8] bl _memcpy b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] add x8, x8, #6 str x8, [sp, #24] b LBB0_1 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__const l___const.banana.the_banana: ; @__const.banana.the_banana .ascii "banana" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nanananana" .no_dead_strip _banana .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function banana _banana: ## @banana .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl l___const.banana.the_banana(%rip), %eax movl %eax, -30(%rbp) movw l___const.banana.the_banana+4(%rip), %ax movw %ax, -26(%rbp) movq $0, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax cmpq -16(%rbp), %rax jae LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax subq -24(%rbp), %rax cmpq $6, %rax jae LBB0_4 ## %bb.3: movq -8(%rbp), %rdi addq -24(%rbp), %rdi movq -16(%rbp), %rdx subq -24(%rbp), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _memcpy jmp LBB0_6 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rdi addq -24(%rbp), %rdi leaq _banana(%rip), %rsi xorl %eax, %eax ## kill: def $al killed $al killed $eax movl $6, %edx callq _memcpy ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax addq $6, %rax movq %rax, -24(%rbp) jmp LBB0_1 LBB0_6: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const l___const.banana.the_banana: ## @__const.banana.the_banana .ascii "banana" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nanananana" .no_dead_strip _banana .subsections_via_symbols
AnghaBench/freebsd/crypto/openssh/regress/unittests/sshkey/extr_test_sshkey.c_banana.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function A3XX_VFD_FETCH_INSTR_0_STEPRATE _A3XX_VFD_FETCH_INSTR_0_STEPRATE: ; @A3XX_VFD_FETCH_INSTR_0_STEPRATE .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] adrp x9, _A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT@GOTPAGE ldr x9, [x9, _A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT@GOTPAGEOFF] ldr w9, [x9] lsl w8, w8, w9 adrp x9, _A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK@GOTPAGE ldr x9, [x9, _A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK@GOTPAGEOFF] ldr w9, [x9] and w0, w8, w9 add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT,4,2 ; @A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT .comm _A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK,4,2 ; @A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK .no_dead_strip _A3XX_VFD_FETCH_INSTR_0_STEPRATE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function A3XX_VFD_FETCH_INSTR_0_STEPRATE _A3XX_VFD_FETCH_INSTR_0_STEPRATE: ## @A3XX_VFD_FETCH_INSTR_0_STEPRATE .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, -4(%rbp) movl -4(%rbp), %eax movq _A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax movq _A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT,4,2 ## @A3XX_VFD_FETCH_INSTR_0_STEPRATE__SHIFT .comm _A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK,4,2 ## @A3XX_VFD_FETCH_INSTR_0_STEPRATE__MASK .no_dead_strip _A3XX_VFD_FETCH_INSTR_0_STEPRATE .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_VFD_FETCH_INSTR_0_STEPRATE.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bmp_iter_and_compl _bmp_iter_and_compl: ; @bmp_iter_and_compl .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 adrp x8, _BITMAP_WORD_BITS@GOTPAGE ldr x8, [x8, _BITMAP_WORD_BITS@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill str x0, [sp, #32] str x1, [sp, #24] ldr x8, [sp, #32] ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: b LBB0_2 LBB0_2: b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] ldr w8, [x8] ands w8, w8, #0x1 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [sp, #32] ldr w8, [x9] asr w8, w8, #1 str w8, [x9] ldr x9, [sp, #24] ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB0_3 LBB0_5: mov w8, #1 str w8, [sp, #44] b LBB0_23 LBB0_6: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #24] ldr w8, [x8] ldr w10, [x9] add w8, w8, w10 subs w8, w8, #1 ldr w10, [x9] udiv w8, w8, w10 ldr w9, [x9] mul w8, w8, w9 ldr x9, [sp, #24] str w8, [x9] ldr x9, [sp, #32] ldr x8, [x9, #8] add x8, x8, #1 str x8, [x9, #8] b LBB0_7 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_18 Depth 2 b LBB0_8 LBB0_8: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #8] adrp x9, _BITMAP_ELEMENT_WORDS@GOTPAGE ldr x9, [x9, _BITMAP_ELEMENT_WORDS@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #16] ldr x8, [x8] ldr x9, [sp, #32] ldr x9, [x9, #8] ldr w8, [x8, x9, lsl #2] ldr x9, [sp, #32] str w8, [x9] ldr x8, [sp, #32] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #24] ldr w8, [x8] ldr x9, [sp, #32] ldr x9, [x9, #16] ldr w9, [x9, #8] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #24] ldr x8, [x8, #8] ldr x9, [sp, #32] ldr x9, [x9, #8] ldr w10, [x8, x9, lsl #2] ldr x9, [sp, #32] ldr w8, [x9] bic w8, w8, w10 str w8, [x9] b LBB0_12 LBB0_12: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [sp, #32] ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: b LBB0_2 LBB0_14: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w10, [x8] ldr x9, [sp, #24] ldr w8, [x9] add w8, w8, w10 str w8, [x9] ldr x9, [sp, #32] ldr x8, [x9, #8] add x8, x8, #1 str x8, [x9, #8] b LBB0_8 LBB0_15: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #32] ldr x8, [x8, #16] ldr x8, [x8, #16] ldr x9, [sp, #32] str x8, [x9, #16] ldr x8, [sp, #32] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: str wzr, [sp, #44] b LBB0_23 LBB0_17: ; in Loop: Header=BB0_7 Depth=1 b LBB0_18 LBB0_18: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq mov w9, #0 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_18 Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #24] ldr w8, [x8] ldr x9, [sp, #32] ldr x9, [x9, #16] ldr w9, [x9, #8] subs w8, w8, w9 cset w8, lo str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_20 LBB0_20: ; in Loop: Header=BB0_18 Depth=2 ldr w8, [sp, #12] ; 4-byte Folded Reload tbz w8, #0, LBB0_22 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_18 Depth=2 ldr x8, [sp, #32] ldr x8, [x8, #24] ldr x8, [x8, #16] ldr x9, [sp, #32] str x8, [x9, #24] b LBB0_18 LBB0_22: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #32] ldr x8, [x8, #16] ldr w8, [x8, #8] adrp x9, _BITMAP_ELEMENT_ALL_BITS@GOTPAGE ldr x9, [x9, _BITMAP_ELEMENT_ALL_BITS@GOTPAGEOFF] ldr w9, [x9] mul w8, w8, w9 ldr x9, [sp, #24] str w8, [x9] ldr x8, [sp, #32] str xzr, [x8, #8] b LBB0_7 LBB0_23: ldr w0, [sp, #44] add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _BITMAP_WORD_BITS,4,2 ; @BITMAP_WORD_BITS .comm _BITMAP_ELEMENT_WORDS,8,3 ; @BITMAP_ELEMENT_WORDS .comm _BITMAP_ELEMENT_ALL_BITS,4,2 ; @BITMAP_ELEMENT_ALL_BITS .no_dead_strip _bmp_iter_and_compl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bmp_iter_and_compl _bmp_iter_and_compl: ## @bmp_iter_and_compl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax cmpl $0, (%rax) je LBB0_6 ## %bb.1: jmp LBB0_2 LBB0_2: jmp LBB0_3 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movl (%rax), %eax andl $1, %eax cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB0_4 jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movq -16(%rbp), %rax movl (%rax), %ecx sarl $1, %ecx movl %ecx, (%rax) movq -24(%rbp), %rax movl (%rax), %ecx addl $1, %ecx movl %ecx, (%rax) jmp LBB0_3 LBB0_5: movl $1, -4(%rbp) jmp LBB0_23 LBB0_6: movq -24(%rbp), %rax movl (%rax), %eax movq _BITMAP_WORD_BITS@GOTPCREL(%rip), %rcx addl (%rcx), %eax subl $1, %eax movq _BITMAP_WORD_BITS@GOTPCREL(%rip), %rcx xorl %edx, %edx divl (%rcx) movl %eax, %ecx movq _BITMAP_WORD_BITS@GOTPCREL(%rip), %rax imull (%rax), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movq 8(%rax), %rcx addq $1, %rcx movq %rcx, 8(%rax) LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_18 Depth 2 jmp LBB0_8 LBB0_8: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movq -16(%rbp), %rax movq 8(%rax), %rax movq _BITMAP_ELEMENT_WORDS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_15 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 movq -16(%rbp), %rax movq 16(%rax), %rax movq (%rax), %rax movq -16(%rbp), %rcx movq 8(%rcx), %rcx movl (%rax,%rcx,4), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax cmpq $0, 24(%rax) je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 movq -16(%rbp), %rax movq 24(%rax), %rax movl (%rax), %eax movq -16(%rbp), %rcx movq 16(%rcx), %rcx cmpl 8(%rcx), %eax jne LBB0_12 ## %bb.11: ## in Loop: Header=BB0_8 Depth=2 movq -16(%rbp), %rax movq 24(%rax), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx movq 8(%rcx), %rcx movl (%rax,%rcx,4), %ecx xorl $-1, %ecx movq -16(%rbp), %rax andl (%rax), %ecx movl %ecx, (%rax) LBB0_12: ## in Loop: Header=BB0_8 Depth=2 movq -16(%rbp), %rax cmpl $0, (%rax) je LBB0_14 ## %bb.13: jmp LBB0_2 LBB0_14: ## in Loop: Header=BB0_8 Depth=2 movq _BITMAP_WORD_BITS@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -24(%rbp), %rax addl (%rax), %ecx movl %ecx, (%rax) movq -16(%rbp), %rax movq 8(%rax), %rcx addq $1, %rcx movq %rcx, 8(%rax) jmp LBB0_8 LBB0_15: ## in Loop: Header=BB0_7 Depth=1 movq -16(%rbp), %rax movq 16(%rax), %rax movq 16(%rax), %rcx movq -16(%rbp), %rax movq %rcx, 16(%rax) movq -16(%rbp), %rax cmpq $0, 16(%rax) jne LBB0_17 ## %bb.16: movl $0, -4(%rbp) jmp LBB0_23 LBB0_17: ## in Loop: Header=BB0_7 Depth=1 jmp LBB0_18 LBB0_18: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movq -16(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, 24(%rcx) movb %al, -25(%rbp) ## 1-byte Spill je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 movq -16(%rbp), %rax movq 24(%rax), %rax movl (%rax), %eax movq -16(%rbp), %rcx movq 16(%rcx), %rcx cmpl 8(%rcx), %eax setb %al movb %al, -25(%rbp) ## 1-byte Spill LBB0_20: ## in Loop: Header=BB0_18 Depth=2 movb -25(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_21 jmp LBB0_22 LBB0_21: ## in Loop: Header=BB0_18 Depth=2 movq -16(%rbp), %rax movq 24(%rax), %rax movq 16(%rax), %rcx movq -16(%rbp), %rax movq %rcx, 24(%rax) jmp LBB0_18 LBB0_22: ## in Loop: Header=BB0_7 Depth=1 movq -16(%rbp), %rax movq 16(%rax), %rax movl 8(%rax), %ecx movq _BITMAP_ELEMENT_ALL_BITS@GOTPCREL(%rip), %rax imull (%rax), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rax movq $0, 8(%rax) jmp LBB0_7 LBB0_23: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _BITMAP_WORD_BITS,4,2 ## @BITMAP_WORD_BITS .comm _BITMAP_ELEMENT_WORDS,8,3 ## @BITMAP_ELEMENT_WORDS .comm _BITMAP_ELEMENT_ALL_BITS,4,2 ## @BITMAP_ELEMENT_ALL_BITS .no_dead_strip _bmp_iter_and_compl .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_bitmap.h_bmp_iter_and_compl.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __usbnet_write_cmd ___usbnet_write_cmd: ; @__usbnet_write_cmd .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur w1, [x29, #-12] stur w2, [x29, #-16] stur w3, [x29, #-20] stur w4, [x29, #-24] str x5, [sp, #32] str w6, [sp, #28] ; kill: def $x8 killed $xzr str xzr, [sp, #16] adrp x8, _ENOMEM@GOTPAGE ldr x8, [x8, _ENOMEM@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] ldur x8, [x29, #-8] ldr w0, [x8, #4] ldur w2, [x29, #-12] ldur w3, [x29, #-16] ldur w4, [x29, #-20] ldur w5, [x29, #-24] ldr w6, [sp, #28] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _netdev_dbg ldr x8, [sp, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_1 LBB0_1: ldr x0, [sp, #32] ldr w1, [sp, #28] adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w2, [x8] bl _kmemdup str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: b LBB0_8 LBB0_3: b LBB0_7 LBB0_4: ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: mov w0, #1 bl _WARN_ON_ONCE adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] b LBB0_8 LBB0_6: b LBB0_7 LBB0_7: ldur x8, [x29, #-8] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill ldur x8, [x29, #-8] ldr w0, [x8] mov w1, #0 bl _usb_sndctrlpipe mov x1, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload ldur w2, [x29, #-12] ldur w3, [x29, #-16] ldur w4, [x29, #-20] ldur w5, [x29, #-24] ldr x6, [sp, #16] ldr w7, [sp, #28] adrp x8, _USB_CTRL_SET_TIMEOUT@GOTPAGE ldr x8, [x8, _USB_CTRL_SET_TIMEOUT@GOTPAGEOFF] ldr w8, [x8] mov x9, sp str w8, [x9] bl _usb_control_msg str w0, [sp, #12] ldr x0, [sp, #16] bl _kfree b LBB0_8 LBB0_8: ldr w0, [sp, #12] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "usbnet_write_cmd cmd=0x%02x reqtype=%02x value=0x%04x index=0x%04x size=%d\n" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _EINVAL,4,2 ; @EINVAL .comm _USB_CTRL_SET_TIMEOUT,4,2 ; @USB_CTRL_SET_TIMEOUT .no_dead_strip ___usbnet_write_cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __usbnet_write_cmd ___usbnet_write_cmd: ## @__usbnet_write_cmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movl 16(%rbp), %eax movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movl %ecx, -20(%rbp) movl %r8d, -24(%rbp) movq %r9, -32(%rbp) movq $0, -40(%rbp) xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -44(%rbp) movq -8(%rbp), %rax movl 4(%rax), %edi movl -12(%rbp), %edx movl -16(%rbp), %ecx movl -20(%rbp), %r8d movl -24(%rbp), %r9d movl 16(%rbp), %eax leaq L_.str(%rip), %rsi movl %eax, (%rsp) callq _netdev_dbg cmpq $0, -32(%rbp) je LBB0_4 ## %bb.1: movq -32(%rbp), %rdi movl 16(%rbp), %esi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx callq _kmemdup movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_3 ## %bb.2: jmp LBB0_8 LBB0_3: jmp LBB0_7 LBB0_4: cmpl $0, 16(%rbp) je LBB0_6 ## %bb.5: movl $1, %edi callq _WARN_ON_ONCE xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -44(%rbp) jmp LBB0_8 LBB0_6: jmp LBB0_7 LBB0_7: movq -8(%rbp), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq -8(%rbp), %rax movl (%rax), %edi xorl %esi, %esi callq _usb_sndctrlpipe movl -48(%rbp), %edi ## 4-byte Reload movl %eax, %esi movl -12(%rbp), %edx movl -16(%rbp), %ecx movl -20(%rbp), %r8d movl -24(%rbp), %r9d movq -40(%rbp), %r11 movl 16(%rbp), %r10d movq _USB_CTRL_SET_TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %eax movq %r11, (%rsp) movl %r10d, 8(%rsp) movl %eax, 16(%rsp) callq _usb_control_msg movl %eax, -44(%rbp) movq -40(%rbp), %rdi callq _kfree LBB0_8: movl -44(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usbnet_write_cmd cmd=0x%02x reqtype=%02x value=0x%04x index=0x%04x size=%d\n" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _EINVAL,4,2 ## @EINVAL .comm _USB_CTRL_SET_TIMEOUT,4,2 ## @USB_CTRL_SET_TIMEOUT .no_dead_strip ___usbnet_write_cmd .subsections_via_symbols
AnghaBench/linux/drivers/net/usb/extr_usbnet.c___usbnet_write_cmd.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test _test: ; @test .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 adrp x8, _ARCHIVE_OK@GOTPAGE ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] stur x8, [x29, #-40] ; 8-byte Folded Spill adrp x8, _ARCHIVE_FAILED@GOTPAGE ldr x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF] stur x8, [x29, #-32] ; 8-byte Folded Spill stur w0, [x29, #-4] bl _archive_write_new stur x0, [x29, #-16] ldur w8, [x29, #-4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-44] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ldur x8, [x29, #-40] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-44] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldur w8, [x29, #-44] ; 4-byte Folded Reload stur w8, [x29, #-20] ldur w8, [x29, #-4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x0, [x29, #-16] bl _archive_write_set_format_iso9660 b LBB0_5 LBB0_5: ldur x8, [x29, #-40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr w1, [x8] mov x4, #0 str x4, [sp, #40] ; 8-byte Folded Spill mov x2, x4 mov x3, x4 bl _should ldur x8, [x29, #-40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr w1, [x8] adrp x4, l_.str@PAGE add x4, x4, l_.str@PAGEOFF mov x2, x4 mov x3, x4 bl _should ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x4, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr w1, [x8] adrp x2, l_.str.1@PAGE add x2, x2, l_.str.1@PAGEOFF str x2, [sp] ; 8-byte Folded Spill adrp x3, l_.str.2@PAGE add x3, x3, l_.str.2@PAGEOFF str x3, [sp, #8] ; 8-byte Folded Spill bl _should ldr x2, [sp] ; 8-byte Folded Reload ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x3, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr w1, [x8] adrp x4, l_.str.3@PAGE add x4, x4, l_.str.3@PAGEOFF str x4, [sp, #16] ; 8-byte Folded Spill bl _should ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x3, [sp, #8] ; 8-byte Folded Reload ldr x4, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr w1, [x8] mov x2, x4 bl _should ldur x8, [x29, #-32] ; 8-byte Folded Reload ldr x3, [sp, #8] ; 8-byte Folded Reload ldr x4, [sp, #16] ; 8-byte Folded Reload ldr x2, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr w1, [x8] bl _should ldr x4, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldur w1, [x29, #-20] adrp x2, l_.str.4@PAGE add x2, x2, l_.str.4@PAGEOFF str x2, [sp, #24] ; 8-byte Folded Spill adrp x3, l_.str.5@PAGE add x3, x3, l_.str.5@PAGEOFF str x3, [sp, #32] ; 8-byte Folded Spill bl _should ldr x2, [sp, #24] ; 8-byte Folded Reload ldr x3, [sp, #32] ; 8-byte Folded Reload ldr x4, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldur w1, [x29, #-20] bl _should ldr x3, [sp, #32] ; 8-byte Folded Reload ldr x4, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldur w1, [x29, #-20] mov x2, x4 bl _should ldr x3, [sp, #32] ; 8-byte Folded Reload ldr x4, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldur w1, [x29, #-20] mov x2, x4 bl _should ldur x0, [x29, #-16] bl _archive_write_free ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _ARCHIVE_FAILED,4,2 ; @ARCHIVE_FAILED .comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 l_.str.1: ; @.str.1 .asciz "fubar" l_.str.2: ; @.str.2 .asciz "snafu" l_.str.3: ; @.str.3 .asciz "betcha" l_.str.4: ; @.str.4 .asciz "iso9660" l_.str.5: ; @.str.5 .asciz "joliet" .no_dead_strip _test .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test _test: ## @test .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movb $0, %al callq _archive_write_new movq %rax, -16(%rbp) cmpl $0, -4(%rbp) je LBB0_2 ## %bb.1: movq _ARCHIVE_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -24(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movq _ARCHIVE_OK@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -24(%rbp) ## 4-byte Spill LBB0_3: movl -24(%rbp), %eax ## 4-byte Reload movl %eax, -20(%rbp) cmpl $0, -4(%rbp) jne LBB0_5 ## %bb.4: movq -16(%rbp), %rdi callq _archive_write_set_format_iso9660 LBB0_5: movq -16(%rbp), %rdi movq _ARCHIVE_OK@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %r8d movq %r8, %rdx movq %r8, %rcx callq _should movq -16(%rbp), %rdi movq _ARCHIVE_OK@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %r8 movq %r8, %rdx movq %r8, %rcx callq _should movq -16(%rbp), %rdi movq _ARCHIVE_FAILED@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdx leaq L_.str.2(%rip), %rcx xorl %eax, %eax movl %eax, %r8d callq _should movq -16(%rbp), %rdi movq _ARCHIVE_FAILED@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdx leaq L_.str.2(%rip), %rcx leaq L_.str.3(%rip), %r8 callq _should movq -16(%rbp), %rdi movq _ARCHIVE_FAILED@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %r8d leaq L_.str.2(%rip), %rcx movq %r8, %rdx callq _should movq -16(%rbp), %rdi movq _ARCHIVE_FAILED@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %edx leaq L_.str.2(%rip), %rcx leaq L_.str.3(%rip), %r8 callq _should movq -16(%rbp), %rdi movl -20(%rbp), %esi leaq L_.str.4(%rip), %rdx leaq L_.str.5(%rip), %rcx xorl %eax, %eax movl %eax, %r8d callq _should movq -16(%rbp), %rdi movl -20(%rbp), %esi leaq L_.str.4(%rip), %rdx leaq L_.str.5(%rip), %rcx xorl %eax, %eax movl %eax, %r8d callq _should movq -16(%rbp), %rdi movl -20(%rbp), %esi xorl %eax, %eax movl %eax, %r8d leaq L_.str.5(%rip), %rcx movq %r8, %rdx callq _should movq -16(%rbp), %rdi movl -20(%rbp), %esi xorl %eax, %eax movl %eax, %r8d leaq L_.str.5(%rip), %rcx movq %r8, %rdx callq _should movq -16(%rbp), %rdi callq _archive_write_free addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ARCHIVE_FAILED,4,2 ## @ARCHIVE_FAILED .comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 L_.str.1: ## @.str.1 .asciz "fubar" L_.str.2: ## @.str.2 .asciz "snafu" L_.str.3: ## @.str.3 .asciz "betcha" L_.str.4: ## @.str.4 .asciz "iso9660" L_.str.5: ## @.str.5 .asciz "joliet" .no_dead_strip _test .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/libarchive/test/extr_test_archive_write_set_format_option.c_test.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _process_record_user ; -- Begin function process_record_user .p2align 2 _process_record_user: ; @process_record_user .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 adrp x8, _cur_layer_code@GOTPAGE ldr x8, [x8, _cur_layer_code@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur w0, [x29, #-8] stur x1, [x29, #-16] ldur w8, [x29, #-8] adrp x9, _FN_A@GOTPAGE ldr x9, [x9, _FN_A@GOTPAGEOFF] ldr w9, [x9] subs w9, w8, w9 mov w8, #3 subs w9, w8, w9 mov w8, #1 lsl w8, w8, w9 stur w8, [x29, #-20] ldur w0, [x29, #-8] ldur x1, [x29, #-16] bl _process_record_dynamic_macro subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_8 LBB0_2: adrp x8, _FN_A@GOTPAGE ldr x8, [x8, _FN_A@GOTPAGEOFF] ldr w8, [x8] ldur w9, [x29, #-8] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_7 b LBB0_3 LBB0_3: ldur w8, [x29, #-8] adrp x9, _FN_D@GOTPAGE ldr x9, [x9, _FN_D@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_7 b LBB0_4 LBB0_4: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w8, [x8] ldur w9, [x29, #-20] ands w8, w8, w9 cset w8, eq and w8, w8, #0x1 ldur x9, [x29, #-16] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #16] ; 8-byte Folded Reload ldrsw x8, [x8] adrp x9, _LY_0000@GOTPAGE ldr x9, [x9, _LY_0000@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill ldr x9, [x9] add x0, x8, x9 bl _layer_off ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [sp, #8] ; 8-byte Folded Reload ldur w11, [x29, #-20] ldr w10, [x8] eor w10, w10, w11 str w10, [x8] ldrsw x8, [x8] ldr x9, [x9] add x0, x8, x9 bl _layer_on b LBB0_6 LBB0_6: stur wzr, [x29, #-4] b LBB0_8 LBB0_7: mov w8, #1 stur w8, [x29, #-4] b LBB0_8 LBB0_8: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _FN_A,4,2 ; @FN_A .comm _FN_D,4,2 ; @FN_D .comm _cur_layer_code,4,2 ; @cur_layer_code .comm _LY_0000,8,3 ; @LY_0000 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _process_record_user ## -- Begin function process_record_user .p2align 4, 0x90 _process_record_user: ## @process_record_user .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movl -8(%rbp), %eax movq _FN_A@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl $3, %ecx subl %eax, %ecx movl $1, %eax ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, -20(%rbp) movl -8(%rbp), %edi movq -16(%rbp), %rsi callq _process_record_dynamic_macro cmpl $0, %eax jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_8 LBB0_2: movq _FN_A@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl -8(%rbp), %eax jg LBB0_7 ## %bb.3: movl -8(%rbp), %eax movq _FN_D@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jg LBB0_7 ## %bb.4: movq _cur_layer_code@GOTPCREL(%rip), %rax movl (%rax), %eax andl -20(%rbp), %eax cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %eax movq -16(%rbp), %rcx cmpl (%rcx), %eax jne LBB0_6 ## %bb.5: movq _cur_layer_code@GOTPCREL(%rip), %rax movslq (%rax), %rdi movq _LY_0000@GOTPCREL(%rip), %rax addq (%rax), %rdi callq _layer_off movl -20(%rbp), %ecx movq _cur_layer_code@GOTPCREL(%rip), %rax xorl (%rax), %ecx movq _cur_layer_code@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _cur_layer_code@GOTPCREL(%rip), %rax movslq (%rax), %rdi movq _LY_0000@GOTPCREL(%rip), %rax addq (%rax), %rdi callq _layer_on LBB0_6: movl $0, -4(%rbp) jmp LBB0_8 LBB0_7: movl $1, -4(%rbp) LBB0_8: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FN_A,4,2 ## @FN_A .comm _FN_D,4,2 ## @FN_D .comm _cur_layer_code,4,2 ## @cur_layer_code .comm _LY_0000,8,3 ## @LY_0000 .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/planck/keymaps/gunp/extr_keymap.c_process_record_user.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _redrawcmdline ; -- Begin function redrawcmdline .p2align 2 _redrawcmdline: ; @redrawcmdline .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 adrp x8, _cmd_silent@GOTPAGE ldr x8, [x8, _cmd_silent@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_3 LBB0_2: adrp x8, _FALSE@GOTPAGE ldr x8, [x8, _FALSE@GOTPAGEOFF] ldr w8, [x8] adrp x9, _need_wait_return@GOTPAGE ldr x9, [x9, _need_wait_return@GOTPAGEOFF] str w8, [x9] bl _compute_cmdrow bl _redrawcmd bl _cursorcmd b LBB0_3 LBB0_3: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _cmd_silent,8,3 ; @cmd_silent .comm _FALSE,4,2 ; @FALSE .comm _need_wait_return,4,2 ; @need_wait_return .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _redrawcmdline ## -- Begin function redrawcmdline .p2align 4, 0x90 _redrawcmdline: ## @redrawcmdline .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _cmd_silent@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: jmp LBB0_3 LBB0_2: movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _need_wait_return@GOTPCREL(%rip), %rax movl %ecx, (%rax) movb $0, %al callq _compute_cmdrow movb $0, %al callq _redrawcmd movb $0, %al callq _cursorcmd LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .comm _cmd_silent,8,3 ## @cmd_silent .comm _FALSE,4,2 ## @FALSE .comm _need_wait_return,4,2 ## @need_wait_return .subsections_via_symbols
AnghaBench/vim.js/src/extr_ex_getln.c_redrawcmdline.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtw_drv_register_netdev ; -- Begin function rtw_drv_register_netdev .p2align 2 _rtw_drv_register_netdev: ; @rtw_drv_register_netdev .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #8] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp] ldr x0, [sp, #8] ldr x1, [sp] bl __rtw_drv_register_netdev ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtw_drv_register_netdev ## -- Begin function rtw_drv_register_netdev .p2align 4, 0x90 _rtw_drv_register_netdev: ## @rtw_drv_register_netdev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rdi movq -32(%rbp), %rsi callq __rtw_drv_register_netdev addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8723bs/os_dep/extr_os_intfs.c_rtw_drv_register_netdev.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sd_setgain _sd_setgain: ; @sd_setgain .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str w1, [sp, #20] ldr x8, [sp, #24] str x8, [sp, #8] ldr w8, [sp, #20] ldr x9, [sp, #8] str w8, [x9, #4] ldr x8, [sp, #24] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x9, [sp, #8] mov w8, #1 str w8, [x9] b LBB0_2 LBB0_2: mov w0, #0 add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _sd_setgain .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sd_setgain _sd_setgain: ## @sd_setgain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movl -12(%rbp), %ecx movq -24(%rbp), %rax movl %ecx, 4(%rax) movq -8(%rbp), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq -24(%rbp), %rax movl $1, (%rax) LBB0_2: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sd_setgain .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/gspca/extr_sq930x.c_sd_setgain.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ppp_poll _ppp_poll: ; @ppp_poll .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 stur x0, [x29, #-16] str x1, [sp, #24] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_13 LBB0_2: ldur x0, [x29, #-16] ldr x8, [sp, #16] add x1, x8, #20 ldr x2, [sp, #24] bl _poll_wait adrp x8, _POLLOUT@GOTPAGE ldr x8, [x8, _POLLOUT@GOTPAGEOFF] ldr w8, [x8] adrp x9, _POLLWRNORM@GOTPAGE ldr x9, [x9, _POLLWRNORM@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 str w8, [sp, #12] ldr x8, [sp, #16] add x0, x8, #16 bl _skb_peek subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _POLLIN@GOTPAGE ldr x8, [x8, _POLLIN@GOTPAGEOFF] ldr w8, [x8] adrp x9, _POLLRDNORM@GOTPAGE ldr x9, [x9, _POLLRDNORM@GOTPAGEOFF] ldr w9, [x9] orr w9, w8, w9 ldr w8, [sp, #12] orr w8, w8, w9 str w8, [sp, #12] b LBB0_4 LBB0_4: ldr x8, [sp, #16] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: adrp x8, _POLLHUP@GOTPAGE ldr x8, [x8, _POLLHUP@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #12] orr w8, w8, w9 str w8, [sp, #12] b LBB0_12 LBB0_6: ldr x8, [sp, #16] ldr x8, [x8] adrp x9, _INTERFACE@GOTPAGE ldr x9, [x9, _INTERFACE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_7 LBB0_7: ldr x0, [sp, #16] bl _PF_TO_PPP str x0, [sp] ldr x8, [sp] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_8 LBB0_8: ldr x8, [sp] ldr w8, [x8, #8] adrp x9, _SC_LOOP_TRAFFIC@GOTPAGE ldr x9, [x9, _SC_LOOP_TRAFFIC@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: adrp x8, _POLLIN@GOTPAGE ldr x8, [x8, _POLLIN@GOTPAGEOFF] ldr w8, [x8] adrp x9, _POLLRDNORM@GOTPAGE ldr x9, [x9, _POLLRDNORM@GOTPAGEOFF] ldr w9, [x9] orr w9, w8, w9 ldr w8, [sp, #12] orr w8, w8, w9 str w8, [sp, #12] b LBB0_10 LBB0_10: b LBB0_11 LBB0_11: b LBB0_12 LBB0_12: ldr w8, [sp, #12] stur w8, [x29, #-4] b LBB0_13 LBB0_13: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _POLLOUT,4,2 ; @POLLOUT .comm _POLLWRNORM,4,2 ; @POLLWRNORM .comm _POLLIN,4,2 ; @POLLIN .comm _POLLRDNORM,4,2 ; @POLLRDNORM .comm _POLLHUP,4,2 ; @POLLHUP .comm _INTERFACE,8,3 ; @INTERFACE .comm _SC_LOOP_TRAFFIC,4,2 ; @SC_LOOP_TRAFFIC .no_dead_strip _ppp_poll .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ppp_poll _ppp_poll: ## @ppp_poll .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_13 LBB0_2: movq -16(%rbp), %rdi movq -32(%rbp), %rsi addq $20, %rsi movq -24(%rbp), %rdx callq _poll_wait movq _POLLOUT@GOTPCREL(%rip), %rax movl (%rax), %eax movq _POLLWRNORM@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -36(%rbp) movq -32(%rbp), %rdi addq $16, %rdi callq _skb_peek cmpq $0, %rax je LBB0_4 ## %bb.3: movq _POLLIN@GOTPCREL(%rip), %rax movl (%rax), %eax movq _POLLRDNORM@GOTPCREL(%rip), %rcx orl (%rcx), %eax orl -36(%rbp), %eax movl %eax, -36(%rbp) LBB0_4: movq -32(%rbp), %rax cmpq $0, 8(%rax) je LBB0_6 ## %bb.5: movq _POLLHUP@GOTPCREL(%rip), %rax movl (%rax), %eax orl -36(%rbp), %eax movl %eax, -36(%rbp) jmp LBB0_12 LBB0_6: movq -32(%rbp), %rax movq (%rax), %rax movq _INTERFACE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.7: movq -32(%rbp), %rdi callq _PF_TO_PPP movq %rax, -48(%rbp) movq -48(%rbp), %rax cmpq $0, (%rax) jne LBB0_10 ## %bb.8: movq -48(%rbp), %rax movl 8(%rax), %eax movq _SC_LOOP_TRAFFIC@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_10 ## %bb.9: movq _POLLIN@GOTPCREL(%rip), %rax movl (%rax), %eax movq _POLLRDNORM@GOTPCREL(%rip), %rcx orl (%rcx), %eax orl -36(%rbp), %eax movl %eax, -36(%rbp) LBB0_10: jmp LBB0_11 LBB0_11: jmp LBB0_12 LBB0_12: movl -36(%rbp), %eax movl %eax, -4(%rbp) LBB0_13: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _POLLOUT,4,2 ## @POLLOUT .comm _POLLWRNORM,4,2 ## @POLLWRNORM .comm _POLLIN,4,2 ## @POLLIN .comm _POLLRDNORM,4,2 ## @POLLRDNORM .comm _POLLHUP,4,2 ## @POLLHUP .comm _INTERFACE,8,3 ## @INTERFACE .comm _SC_LOOP_TRAFFIC,4,2 ## @SC_LOOP_TRAFFIC .no_dead_strip _ppp_poll .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_ppp_generic.c_ppp_poll.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_rtmp_mp4_field_16 _ngx_rtmp_mp4_field_16: ; @ngx_rtmp_mp4_field_16 .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 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #8] ; kill: def $w8 killed $w8 killed $x8 asr w8, w8, #8 and w8, w8, #0xff stur w8, [x29, #-16] ldr x8, [sp, #8] ; kill: def $w8 killed $w8 killed $x8 and w8, w8, #0xff stur w8, [x29, #-12] ldr x8, [sp, #16] ldrsw x8, [x8, #8] add x8, x8, #8 ldr x9, [sp, #16] ldr x9, [x9] subs x8, x8, x9 cset w8, ls tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _NGX_ERROR@GOTPAGE ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-20] b LBB0_3 LBB0_2: ldr x8, [sp, #16] ldr w0, [x8, #8] sub x1, x29, #16 mov w2, #8 bl _ngx_cpymem ldr x8, [sp, #16] str w0, [x8, #8] adrp x8, _NGX_OK@GOTPAGE ldr x8, [x8, _NGX_OK@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-20] b LBB0_3 LBB0_3: ldur w8, [x29, #-20] str w8, [sp, #4] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: bl ___stack_chk_fail LBB0_5: ldr w0, [sp, #4] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _NGX_ERROR,4,2 ; @NGX_ERROR .comm _NGX_OK,4,2 ; @NGX_OK .no_dead_strip _ngx_rtmp_mp4_field_16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_rtmp_mp4_field_16 _ngx_rtmp_mp4_field_16: ## @ngx_rtmp_mp4_field_16 .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -32(%rbp) movq %rsi, -40(%rbp) movq -40(%rbp), %rax ## kill: def $eax killed $eax killed $rax sarl $8, %eax andl $255, %eax movl %eax, -16(%rbp) movq -40(%rbp), %rax ## kill: def $eax killed $eax killed $rax andl $255, %eax movl %eax, -12(%rbp) movq -32(%rbp), %rax movslq 8(%rax), %rax addq $8, %rax movq -32(%rbp), %rcx cmpq (%rcx), %rax jbe LBB0_2 ## %bb.1: movq _NGX_ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) jmp LBB0_3 LBB0_2: movq -32(%rbp), %rax movl 8(%rax), %edi leaq -16(%rbp), %rsi movl $8, %edx callq _ngx_cpymem movl %eax, %ecx movq -32(%rbp), %rax movl %ecx, 8(%rax) movq _NGX_OK@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) LBB0_3: movl -20(%rbp), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_5 ## %bb.4: movl -44(%rbp), %eax ## 4-byte Reload addq $48, %rsp popq %rbp retq LBB0_5: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _NGX_ERROR,4,2 ## @NGX_ERROR .comm _NGX_OK,4,2 ## @NGX_OK .no_dead_strip _ngx_rtmp_mp4_field_16 .subsections_via_symbols
AnghaBench/nginx-rtmp-module/dash/extr_ngx_rtmp_mp4.c_ngx_rtmp_mp4_field_16.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gfs2_readlinki _gfs2_readlinki: ; @gfs2_readlinki .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur x2, [x29, #-32] ldur x8, [x29, #-16] ldr w0, [x8, #4] adrp x8, _LM_ST_SHARED@GOTPAGE ldr x8, [x8, _LM_ST_SHARED@GOTPAGEOFF] ldr w1, [x8] mov w2, #0 sub x3, x29, #36 str x3, [sp, #8] ; 8-byte Folded Spill bl _gfs2_holder_init ldr x0, [sp, #8] ; 8-byte Folded Reload bl _gfs2_glock_nq str w0, [sp, #20] ldr w8, [sp, #20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: sub x0, x29, #36 bl _gfs2_holder_uninit ldr w8, [sp, #20] stur w8, [x29, #-4] b LBB0_13 LBB0_2: ldur x0, [x29, #-16] bl _i_size_read mov x8, x0 str w8, [sp, #24] ldr w8, [sp, #24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x0, [x29, #-16] bl _gfs2_consist_inode adrp x8, _EIO@GOTPAGE ldr x8, [x8, _EIO@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #20] b LBB0_12 LBB0_4: ldur x0, [x29, #-16] add x1, sp, #32 bl _gfs2_meta_inode_buffer str w0, [sp, #20] ldr w8, [sp, #20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: b LBB0_12 LBB0_6: ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #28] ldr w8, [sp, #28] ldur x9, [x29, #-32] ldr w9, [x9] subs w8, w8, w9 cset w8, ls tbnz w8, #0, LBB0_10 b LBB0_7 LBB0_7: ldr w0, [sp, #28] adrp x8, _GFP_NOFS@GOTPAGE ldr x8, [x8, _GFP_NOFS@GOTPAGEOFF] ldr w1, [x8] bl _kmalloc ldur x8, [x29, #-24] str x0, [x8] ldur x8, [x29, #-24] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: adrp x8, _ENOMEM@GOTPAGE ldr x8, [x8, _ENOMEM@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #20] b LBB0_11 LBB0_9: b LBB0_10 LBB0_10: ldur x8, [x29, #-24] ldr x0, [x8] ldr x8, [sp, #32] ldr x8, [x8] add x1, x8, #4 ldr w2, [sp, #28] bl _memcpy ldr w8, [sp, #28] ldur x9, [x29, #-32] str w8, [x9] b LBB0_11 LBB0_11: ldr x0, [sp, #32] bl _brelse b LBB0_12 LBB0_12: sub x0, x29, #36 bl _gfs2_glock_dq_uninit ldr w8, [sp, #20] stur w8, [x29, #-4] b LBB0_13 LBB0_13: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _LM_ST_SHARED,4,2 ; @LM_ST_SHARED .comm _EIO,4,2 ; @EIO .comm _GFP_NOFS,4,2 ; @GFP_NOFS .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _gfs2_readlinki .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gfs2_readlinki _gfs2_readlinki: ## @gfs2_readlinki .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rax movl 4(%rax), %edi movq _LM_ST_SHARED@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx leaq -40(%rbp), %rcx callq _gfs2_holder_init leaq -40(%rbp), %rdi callq _gfs2_glock_nq movl %eax, -60(%rbp) cmpl $0, -60(%rbp) je LBB0_2 ## %bb.1: leaq -40(%rbp), %rdi callq _gfs2_holder_uninit movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_13 LBB0_2: movq -16(%rbp), %rdi callq _i_size_read ## kill: def $eax killed $eax killed $rax movl %eax, -56(%rbp) cmpl $0, -56(%rbp) jne LBB0_4 ## %bb.3: movq -16(%rbp), %rdi callq _gfs2_consist_inode xorl %eax, %eax movq _EIO@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -60(%rbp) jmp LBB0_12 LBB0_4: movq -16(%rbp), %rdi leaq -48(%rbp), %rsi callq _gfs2_meta_inode_buffer movl %eax, -60(%rbp) cmpl $0, -60(%rbp) je LBB0_6 ## %bb.5: jmp LBB0_12 LBB0_6: movl -56(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) movl -52(%rbp), %eax movq -32(%rbp), %rcx cmpl (%rcx), %eax jbe LBB0_10 ## %bb.7: movl -52(%rbp), %edi movq _GFP_NOFS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, (%rax) movq -24(%rbp), %rax cmpq $0, (%rax) jne LBB0_9 ## %bb.8: xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -60(%rbp) jmp LBB0_11 LBB0_9: jmp LBB0_10 LBB0_10: movq -24(%rbp), %rax movq (%rax), %rdi movq -48(%rbp), %rax movq (%rax), %rsi addq $4, %rsi movl -52(%rbp), %edx callq _memcpy movl -52(%rbp), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) LBB0_11: movq -48(%rbp), %rdi callq _brelse LBB0_12: leaq -40(%rbp), %rdi callq _gfs2_glock_dq_uninit movl -60(%rbp), %eax movl %eax, -4(%rbp) LBB0_13: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _LM_ST_SHARED,4,2 ## @LM_ST_SHARED .comm _EIO,4,2 ## @EIO .comm _GFP_NOFS,4,2 ## @GFP_NOFS .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _gfs2_readlinki .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/gfs2/extr_ops_inode.c_gfs2_readlinki.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function darray_push_back_new _darray_push_back_new: ; @darray_push_back_new .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldur x0, [x29, #-8] ldr x1, [sp, #16] ldr x8, [sp, #16] ldr w9, [x8] add w2, w9, #1 str w2, [x8] bl _darray_ensure_capacity ldur x0, [x29, #-8] ldr x1, [sp, #16] bl _darray_end str x0, [sp, #8] ldr x0, [sp, #8] ldur x2, [x29, #-8] mov w1, #0 bl _memset ldr x0, [sp, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _darray_push_back_new .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function darray_push_back_new _darray_push_back_new: ## @darray_push_back_new .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -16(%rbp), %rax movl (%rax), %edx addl $1, %edx movl %edx, (%rax) callq _darray_ensure_capacity movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _darray_end movq %rax, -24(%rbp) movq -24(%rbp), %rdi movq -8(%rbp), %rdx xorl %esi, %esi callq _memset movq -24(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _darray_push_back_new .subsections_via_symbols
AnghaBench/obs-studio/libobs/extr_utildarray.h_darray_push_back_new.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ad1843_write_bits _ad1843_write_bits: ; @ad1843_write_bits .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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur w2, [x29, #-20] ldur x0, [x29, #-8] ldur x8, [x29, #-16] ldr w1, [x8, #8] bl _li_read_ad1843_reg str w0, [sp, #24] ldur x8, [x29, #-16] ldr w9, [x8] mov w8, #1 lsl w8, w8, w9 subs w8, w8, #1 ldur x9, [x29, #-16] ldr w9, [x9, #4] lsl w8, w8, w9 str w8, [sp, #20] ldr w8, [sp, #24] ldr w9, [sp, #20] and w8, w8, w9 ldur x9, [x29, #-16] ldr w9, [x9, #4] asr w8, w8, w9 str w8, [sp, #16] ldur w8, [x29, #-20] ldur x9, [x29, #-16] ldr w9, [x9, #4] lsl w8, w8, w9 ldr w9, [sp, #20] and w8, w8, w9 str w8, [sp, #12] ldr w8, [sp, #24] ldr w9, [sp, #20] bic w8, w8, w9 ldr w9, [sp, #12] orr w8, w8, w9 str w8, [sp, #24] ldur x0, [x29, #-8] ldur x8, [x29, #-16] ldr w1, [x8, #8] ldr w2, [sp, #24] bl _li_write_ad1843_reg ldur x1, [x29, #-8] ldur x8, [x29, #-16] ldr w2, [x8, #8] ldur x8, [x29, #-16] ldr w3, [x8, #4] ldur x8, [x29, #-16] ldr w4, [x8] ldur w5, [x29, #-20] ldr w6, [sp, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DBGXV ldr w0, [sp, #16] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ad1843_write_bits(lith=0x%p, field->{%d %d %d}, val=0x%x) returns 0x%x\n" .no_dead_strip _ad1843_write_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ad1843_write_bits _ad1843_write_bits: ## @ad1843_write_bits .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rax movl 8(%rax), %esi callq _li_read_ad1843_reg movl %eax, -24(%rbp) movq -16(%rbp), %rax movl (%rax), %ecx movl $1, %eax ## kill: def $cl killed $ecx shll %cl, %eax subl $1, %eax movq -16(%rbp), %rcx movl 4(%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, -28(%rbp) movl -24(%rbp), %eax andl -28(%rbp), %eax movq -16(%rbp), %rcx movl 4(%rcx), %ecx ## kill: def $cl killed $ecx sarl %cl, %eax movl %eax, -32(%rbp) movl -20(%rbp), %eax movq -16(%rbp), %rcx movl 4(%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax andl -28(%rbp), %eax movl %eax, -36(%rbp) movl -24(%rbp), %eax movl -28(%rbp), %ecx xorl $-1, %ecx andl %ecx, %eax orl -36(%rbp), %eax movl %eax, -24(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rax movl 8(%rax), %esi movl -24(%rbp), %edx callq _li_write_ad1843_reg movq -8(%rbp), %rsi movq -16(%rbp), %rax movl 8(%rax), %edx movq -16(%rbp), %rax movl 4(%rax), %ecx movq -16(%rbp), %rax movl (%rax), %r8d movl -20(%rbp), %r9d movl -32(%rbp), %eax leaq L_.str(%rip), %rdi movl %eax, (%rsp) callq _DBGXV movl -32(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ad1843_write_bits(lith=0x%p, field->{%d %d %d}, val=0x%x) returns 0x%x\n" .no_dead_strip _ad1843_write_bits .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/oss/extr_vwsnd.c_ad1843_write_bits.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_query_expr _parse_query_expr: ; @parse_query_expr .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 adrp x8, _parse_ptr@GOTPAGE ldr x8, [x8, _parse_ptr@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill bl _parse_query_term stur x0, [x29, #-16] ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_19 LBB0_2: b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 bl _skipspc ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsb w8, [x8] subs w8, w8, #38 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsb w8, [x8] subs w8, w8, #43 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsb w8, [x8] subs w8, w8, #45 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsb w8, [x8] subs w8, w8, #35 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x8, [x29, #-16] stur x8, [x29, #-8] b LBB0_19 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsb w8, [x8] subs w8, w8, #35 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 adrp x8, _qn_or@GOTPAGE ldr x8, [x8, _qn_or@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_14 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] ldrsb w8, [x8] subs w8, w8, #45 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 adrp x8, _qn_minus@GOTPAGE ldr x8, [x8, _qn_minus@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_13 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 adrp x8, _qn_and@GOTPAGE ldr x8, [x8, _qn_and@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ; 4-byte Folded Spill b LBB0_13 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #8] ; 4-byte Folded Reload str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_14 LBB0_14: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _new_query_node str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_19 LBB0_16: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [sp, #16] ; 8-byte Folded Reload ldur x8, [x29, #-16] ldr x10, [sp, #24] str x8, [x10, #8] ldr x8, [x9] add x8, x8, #1 str x8, [x9] bl _parse_query_term ldr x8, [sp, #24] str x0, [x8] ldr x8, [sp, #24] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_19 LBB0_18: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #24] stur x8, [x29, #-16] b LBB0_3 LBB0_19: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _parse_ptr,8,3 ; @parse_ptr .comm _qn_or,4,2 ; @qn_or .comm _qn_minus,4,2 ; @qn_minus .comm _qn_and,4,2 ; @qn_and .no_dead_strip _parse_query_expr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_query_expr _parse_query_expr: ## @parse_query_expr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movb $0, %al callq _parse_query_term movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_19 LBB0_2: jmp LBB0_3 LBB0_3: ## =>This Inner Loop Header: Depth=1 movb $0, %al callq _skipspc movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $38, %eax je LBB0_8 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $43, %eax je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $45, %eax je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $35, %eax je LBB0_8 ## %bb.7: movq -16(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_19 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $35, %eax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movq _qn_or@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) ## 4-byte Spill jmp LBB0_14 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rax movsbl (%rax), %eax cmpl $45, %eax jne LBB0_12 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq _qn_minus@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -32(%rbp) ## 4-byte Spill jmp LBB0_13 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq _qn_and@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -32(%rbp) ## 4-byte Spill LBB0_13: ## in Loop: Header=BB0_3 Depth=1 movl -32(%rbp), %eax ## 4-byte Reload movl %eax, -28(%rbp) ## 4-byte Spill LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movl -28(%rbp), %edi ## 4-byte Reload callq _new_query_node movq %rax, -24(%rbp) cmpq $0, -24(%rbp) jne LBB0_16 ## %bb.15: movq $0, -8(%rbp) jmp LBB0_19 LBB0_16: ## in Loop: Header=BB0_3 Depth=1 movq -16(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, 8(%rax) movq _parse_ptr@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $1, %rcx movq _parse_ptr@GOTPCREL(%rip), %rax movq %rcx, (%rax) movb $0, %al callq _parse_query_term movq %rax, %rcx movq -24(%rbp), %rax movq %rcx, (%rax) movq -24(%rbp), %rax cmpq $0, (%rax) jne LBB0_18 ## %bb.17: movq $0, -8(%rbp) jmp LBB0_19 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rax movq %rax, -16(%rbp) jmp LBB0_3 LBB0_19: movq -8(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _parse_ptr,8,3 ## @parse_ptr .comm _qn_or,4,2 ## @qn_or .comm _qn_minus,4,2 ## @qn_minus .comm _qn_and,4,2 ## @qn_and .no_dead_strip _parse_query_expr .subsections_via_symbols
AnghaBench/kphp-kdb/search/extr_search-data.c_parse_query_expr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function CloseDecoder _CloseDecoder: ; @CloseDecoder .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] str x8, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #8] add x0, x8, #8 bl _th_info_clear ldr x8, [sp, #8] add x0, x8, #4 bl _th_comment_clear ldr x8, [sp, #8] ldr w0, [x8] bl _th_decode_free ldr x0, [sp, #8] bl _free ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _CloseDecoder .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function CloseDecoder _CloseDecoder: ## @CloseDecoder .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi addq $8, %rdi callq _th_info_clear movq -24(%rbp), %rdi addq $4, %rdi callq _th_comment_clear movq -24(%rbp), %rax movl (%rax), %edi callq _th_decode_free movq -24(%rbp), %rdi callq _free addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _CloseDecoder .subsections_via_symbols
AnghaBench/vlc/modules/codec/extr_theora.c_CloseDecoder.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_year_month_day _parse_year_month_day: ; @parse_year_month_day .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 mov x8, x1 sub x1, x29, #16 stur x0, [x29, #-16] str x8, [sp, #24] mov x0, #0 str xzr, [sp, #16] ldr x2, [sp, #24] adrp x8, _SEC_PER_YEAR@GOTPAGE ldr x8, [x8, _SEC_PER_YEAR@GOTPAGEOFF] ldr w3, [x8] bl _parse_scaled_value str x0, [sp, #16] ldur x8, [x29, #-16] add x8, x8, #4 stur x8, [x29, #-16] ldur x0, [x29, #-16] mov w1, #45 bl _strchr str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w8, [x8] adrp x9, _errno@GOTPAGE ldr x9, [x9, _errno@GOTPAGEOFF] str w8, [x9] adrp x8, _BAD_TIME@GOTPAGE ldr x8, [x8, _BAD_TIME@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] b LBB0_3 LBB0_2: ldr x0, [sp, #16] ldr x2, [sp, #24] adrp x8, _SEC_PER_MONTH@GOTPAGE ldr x8, [x8, _SEC_PER_MONTH@GOTPAGEOFF] ldr w3, [x8] sub x1, x29, #16 str x1, [sp, #8] ; 8-byte Folded Spill bl _parse_scaled_value str x0, [sp, #16] ldur x8, [x29, #-16] add x8, x8, #4 stur x8, [x29, #-16] ldur x8, [x29, #-16] str x8, [sp] ; 8-byte Folded Spill ldur x0, [x29, #-16] bl _strlen ldr x8, [sp] ; 8-byte Folded Reload ldr x1, [sp, #8] ; 8-byte Folded Reload add x8, x8, w0, sxtw #2 str x8, [sp, #24] ldr x0, [sp, #16] ldr x2, [sp, #24] adrp x8, _SEC_PER_DAY@GOTPAGE ldr x8, [x8, _SEC_PER_DAY@GOTPAGEOFF] ldr w3, [x8] bl _parse_scaled_value stur x0, [x29, #-8] b LBB0_3 LBB0_3: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _SEC_PER_YEAR,4,2 ; @SEC_PER_YEAR .comm _EINVAL,4,2 ; @EINVAL .comm _errno,4,2 ; @errno .comm _BAD_TIME,8,3 ; @BAD_TIME .comm _SEC_PER_MONTH,4,2 ; @SEC_PER_MONTH .comm _SEC_PER_DAY,4,2 ; @SEC_PER_DAY .no_dead_strip _parse_year_month_day .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_year_month_day _parse_year_month_day: ## @parse_year_month_day .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq $0, -32(%rbp) movq -24(%rbp), %rdx movq _SEC_PER_YEAR@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl %eax, %eax movl %eax, %edi leaq -16(%rbp), %rsi callq _parse_scaled_value movq %rax, -32(%rbp) movq -16(%rbp), %rax addq $4, %rax movq %rax, -16(%rbp) movq -16(%rbp), %rdi movl $45, %esi callq _strchr movq %rax, -24(%rbp) cmpq $0, -24(%rbp) jne LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _errno@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _BAD_TIME@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) jmp LBB0_3 LBB0_2: movq -32(%rbp), %rdi movq -24(%rbp), %rdx movq _SEC_PER_MONTH@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -16(%rbp), %rsi callq _parse_scaled_value movq %rax, -32(%rbp) movq -16(%rbp), %rax addq $4, %rax movq %rax, -16(%rbp) movq -16(%rbp), %rax movq %rax, -40(%rbp) ## 8-byte Spill movq -16(%rbp), %rdi callq _strlen movl %eax, %ecx movq -40(%rbp), %rax ## 8-byte Reload movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -24(%rbp) movq -32(%rbp), %rdi movq -24(%rbp), %rdx movq _SEC_PER_DAY@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -16(%rbp), %rsi callq _parse_scaled_value movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SEC_PER_YEAR,4,2 ## @SEC_PER_YEAR .comm _EINVAL,4,2 ## @EINVAL .comm _errno,4,2 ## @errno .comm _BAD_TIME,8,3 ## @BAD_TIME .comm _SEC_PER_MONTH,4,2 ## @SEC_PER_MONTH .comm _SEC_PER_DAY,4,2 ## @SEC_PER_DAY .no_dead_strip _parse_year_month_day .subsections_via_symbols
AnghaBench/freebsd/contrib/ntp/sntp/libopts/extr_parse-duration.c_parse_year_month_day.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2c_slave_did_write_ack _i2c_slave_did_write_ack: ; @i2c_slave_did_write_ack .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] ldr x8, [x8] str x8, [sp] ldr x0, [sp] adrp x8, _AU0828_I2C_STATUS_201@GOTPAGE ldr x8, [x8, _AU0828_I2C_STATUS_201@GOTPAGEOFF] ldr w1, [x8] bl _au0828_read adrp x8, _AU0828_I2C_STATUS_NO_WRITE_ACK@GOTPAGE ldr x8, [x8, _AU0828_I2C_STATUS_NO_WRITE_ACK@GOTPAGEOFF] ldr w8, [x8] ands w8, w0, w8 cset w8, ne and w8, w8, #0x1 ands w8, w8, #0x1 cset w0, eq ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _AU0828_I2C_STATUS_201,4,2 ; @AU0828_I2C_STATUS_201 .comm _AU0828_I2C_STATUS_NO_WRITE_ACK,4,2 ; @AU0828_I2C_STATUS_NO_WRITE_ACK .no_dead_strip _i2c_slave_did_write_ack .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i2c_slave_did_write_ack _i2c_slave_did_write_ack: ## @i2c_slave_did_write_ack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rdi movq _AU0828_I2C_STATUS_201@GOTPCREL(%rip), %rax movl (%rax), %esi callq _au0828_read movl %eax, %edx movq _AU0828_I2C_STATUS_NO_WRITE_ACK@GOTPCREL(%rip), %rax andl (%rax), %edx movl $1, %eax xorl %ecx, %ecx cmpl $0, %edx cmovnel %ecx, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _AU0828_I2C_STATUS_201,4,2 ## @AU0828_I2C_STATUS_201 .comm _AU0828_I2C_STATUS_NO_WRITE_ACK,4,2 ## @AU0828_I2C_STATUS_NO_WRITE_ACK .no_dead_strip _i2c_slave_did_write_ack .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/au0828/extr_au0828-i2c.c_i2c_slave_did_write_ack.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EC_POINT_set_compressed_coordinates_GF2m ; -- Begin function EC_POINT_set_compressed_coordinates_GF2m .p2align 2 _EC_POINT_set_compressed_coordinates_GF2m: ; @EC_POINT_set_compressed_coordinates_GF2m .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 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] str w3, [sp, #20] str x4, [sp, #8] ldur x0, [x29, #-8] ldur x1, [x29, #-16] ldr x2, [sp, #24] ldr w3, [sp, #20] ldr x4, [sp, #8] bl _EC_POINT_set_compressed_coordinates ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EC_POINT_set_compressed_coordinates_GF2m ## -- Begin function EC_POINT_set_compressed_coordinates_GF2m .p2align 4, 0x90 _EC_POINT_set_compressed_coordinates_GF2m: ## @EC_POINT_set_compressed_coordinates_GF2m .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movl %ecx, -28(%rbp) movq %r8, -40(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movl -28(%rbp), %ecx movq -40(%rbp), %r8 callq _EC_POINT_set_compressed_coordinates addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/ec/extr_ec_oct.c_EC_POINT_set_compressed_coordinates_GF2m.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bcemit_method _bcemit_method: ; @bcemit_method .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x8, _LJ_FR2@GOTPAGE ldr x8, [x8, _LJ_FR2@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] ldur x0, [x29, #-8] ldur x1, [x29, #-16] bl _expr_toanyreg str x0, [sp, #16] ldur x0, [x29, #-8] ldur x1, [x29, #-16] bl _expr_free ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #24] ldur x0, [x29, #-8] adrp x8, _BC_MOV@GOTPAGE ldr x8, [x8, _BC_MOV@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #24] add x8, x8, #1 ldr x9, [x9] add x2, x8, x9 ldr x3, [sp, #16] bl _bcemit_AD ldur x0, [x29, #-24] bl _expr_isstrk bl _lua_assert ldur x0, [x29, #-8] ldur x1, [x29, #-24] bl _const_str str x0, [sp, #32] ldr x8, [sp, #32] adrp x9, _BCMAX_C@GOTPAGE ldr x9, [x9, _BCMAX_C@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, gt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr x8, [x8] add x1, x8, #2 bl _bcreg_reserve ldur x0, [x29, #-8] adrp x8, _BC_TGETS@GOTPAGE ldr x8, [x8, _BC_TGETS@GOTPAGEOFF] ldr w1, [x8] ldr x2, [sp, #24] ldr x3, [sp, #16] ldr x4, [sp, #32] bl _bcemit_ABC b LBB0_3 LBB0_2: ldr x8, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr x8, [x8] add x1, x8, #3 bl _bcreg_reserve ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-8] adrp x8, _BC_KSTR@GOTPAGE ldr x8, [x8, _BC_KSTR@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #24] add x8, x8, #2 ldr x9, [x9] add x2, x8, x9 ldr x3, [sp, #32] bl _bcemit_AD ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-8] adrp x8, _BC_TGETV@GOTPAGE ldr x8, [x8, _BC_TGETV@GOTPAGEOFF] ldr w1, [x8] ldr x2, [sp, #24] ldr x3, [sp, #16] ldr x8, [sp, #24] add x8, x8, #2 ldr x9, [x9] add x4, x8, x9 bl _bcemit_ABC ldur x9, [x29, #-8] ldr x8, [x9] subs x8, x8, #1 str x8, [x9] b LBB0_3 LBB0_3: ldr x8, [sp, #24] ldur x9, [x29, #-16] str x8, [x9, #8] adrp x8, _VNONRELOC@GOTPAGE ldr x8, [x8, _VNONRELOC@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-16] str w8, [x9] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _BC_MOV,4,2 ; @BC_MOV .comm _LJ_FR2,8,3 ; @LJ_FR2 .comm _BCMAX_C,8,3 ; @BCMAX_C .comm _BC_TGETS,4,2 ; @BC_TGETS .comm _BC_KSTR,4,2 ; @BC_KSTR .comm _BC_TGETV,4,2 ; @BC_TGETV .comm _VNONRELOC,4,2 ; @VNONRELOC .no_dead_strip _bcemit_method .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bcemit_method _bcemit_method: ## @bcemit_method .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _expr_toanyreg movq %rax, -48(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _expr_free movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -8(%rbp), %rdi movq _BC_MOV@GOTPCREL(%rip), %rax movl (%rax), %esi movq -40(%rbp), %rdx addq $1, %rdx movq _LJ_FR2@GOTPCREL(%rip), %rax addq (%rax), %rdx movq -48(%rbp), %rcx callq _bcemit_AD movq -24(%rbp), %rdi callq _expr_isstrk movl %eax, %edi callq _lua_assert movq -8(%rbp), %rdi movq -24(%rbp), %rsi callq _const_str movq %rax, -32(%rbp) movq -32(%rbp), %rax movq _BCMAX_C@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jg LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq _LJ_FR2@GOTPCREL(%rip), %rax movq (%rax), %rsi addq $2, %rsi callq _bcreg_reserve movq -8(%rbp), %rdi movq _BC_TGETS@GOTPCREL(%rip), %rax movl (%rax), %esi movq -40(%rbp), %rdx movq -48(%rbp), %rcx movq -32(%rbp), %r8 callq _bcemit_ABC jmp LBB0_3 LBB0_2: movq -8(%rbp), %rdi movq _LJ_FR2@GOTPCREL(%rip), %rax movq (%rax), %rsi addq $3, %rsi callq _bcreg_reserve movq -8(%rbp), %rdi movq _BC_KSTR@GOTPCREL(%rip), %rax movl (%rax), %esi movq -40(%rbp), %rdx addq $2, %rdx movq _LJ_FR2@GOTPCREL(%rip), %rax addq (%rax), %rdx movq -32(%rbp), %rcx callq _bcemit_AD movq -8(%rbp), %rdi movq _BC_TGETV@GOTPCREL(%rip), %rax movl (%rax), %esi movq -40(%rbp), %rdx movq -48(%rbp), %rcx movq -40(%rbp), %r8 addq $2, %r8 movq _LJ_FR2@GOTPCREL(%rip), %rax addq (%rax), %r8 callq _bcemit_ABC movq -8(%rbp), %rax movq (%rax), %rcx addq $-1, %rcx movq %rcx, (%rax) LBB0_3: movq -40(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, 8(%rax) movq _VNONRELOC@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _BC_MOV,4,2 ## @BC_MOV .comm _LJ_FR2,8,3 ## @LJ_FR2 .comm _BCMAX_C,8,3 ## @BCMAX_C .comm _BC_TGETS,4,2 ## @BC_TGETS .comm _BC_KSTR,4,2 ## @BC_KSTR .comm _BC_TGETV,4,2 ## @BC_TGETV .comm _VNONRELOC,4,2 ## @VNONRELOC .no_dead_strip _bcemit_method .subsections_via_symbols
AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_lj_parse.c_bcemit_method.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_write_page _do_write_page: ; @do_write_page .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldr x0, [sp, #16] bl ___get_segment_type str w0, [sp, #12] ldr x8, [sp, #16] ldr x0, [x8] adrp x8, _LFS@GOTPAGE ldr x8, [x8, _LFS@GOTPAGEOFF] ldr w1, [x8] bl _test_opt subs x8, x0, #0 cset w8, eq mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #12] adrp x9, _CURSEG_COLD_DATA@GOTPAGE ldr x9, [x9, _CURSEG_COLD_DATA@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp, #4] ; 4-byte Folded Reload and w8, w8, #0x1 str w8, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #16] ldr x0, [x8] bl _down_read b LBB0_4 LBB0_4: b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr x0, [x8] ldr x8, [sp, #16] ldr w1, [x8, #24] ldr x8, [sp, #16] ldr w2, [x8, #12] ldr x8, [sp, #16] add x3, x8, #8 ldur x4, [x29, #-8] ldr w5, [sp, #12] ldr x6, [sp, #16] mov w7, #1 bl _f2fs_allocate_data_block ldr x8, [sp, #16] ldr x0, [x8] ldr x8, [sp, #16] ldr w1, [x8, #12] bl _GET_SEGNO adrp x8, _NULL_SEGNO@GOTPAGE ldr x8, [x8, _NULL_SEGNO@GOTPAGEOFF] ldr x8, [x8] subs x8, x0, x8 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp, #16] ldr x0, [x8] bl _META_MAPPING ldr x8, [sp, #16] ldr w1, [x8, #12] ldr x8, [sp, #16] ldr w2, [x8, #12] bl _invalidate_mapping_pages b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [sp, #16] bl _f2fs_submit_page_write ldr x8, [sp, #16] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp, #16] ldr w8, [x8, #8] ldr x9, [sp, #16] str w8, [x9, #12] b LBB0_5 LBB0_9: ldr x0, [sp, #16] bl _update_device_state ldr w8, [sp, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr x8, [sp, #16] ldr x0, [x8] bl _up_read b LBB0_11 LBB0_11: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _LFS,4,2 ; @LFS .comm _CURSEG_COLD_DATA,4,2 ; @CURSEG_COLD_DATA .comm _NULL_SEGNO,8,3 ; @NULL_SEGNO .no_dead_strip _do_write_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_write_page _do_write_page: ## @do_write_page .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rdi callq ___get_segment_type movl %eax, -20(%rbp) movq -16(%rbp), %rax movq (%rax), %rdi movq _LFS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _test_opt movq %rax, %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq $0, %rcx movb %al, -25(%rbp) ## 1-byte Spill je LBB0_2 ## %bb.1: movl -20(%rbp), %eax movq _CURSEG_COLD_DATA@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %al movb %al, -25(%rbp) ## 1-byte Spill LBB0_2: movb -25(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax movl %eax, -24(%rbp) cmpl $0, -24(%rbp) je LBB0_4 ## %bb.3: movq -16(%rbp), %rax movq (%rax), %rdi callq _down_read LBB0_4: jmp LBB0_5 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movq (%rax), %rdi movq -16(%rbp), %rax movl 24(%rax), %esi movq -16(%rbp), %rax movl 12(%rax), %edx movq -16(%rbp), %rcx addq $8, %rcx movq -8(%rbp), %r8 movl -20(%rbp), %r9d movq -16(%rbp), %rax movq %rax, (%rsp) movl $1, 8(%rsp) callq _f2fs_allocate_data_block movq -16(%rbp), %rax movq (%rax), %rdi movq -16(%rbp), %rax movl 12(%rax), %esi callq _GET_SEGNO movq _NULL_SEGNO@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq -16(%rbp), %rax movq (%rax), %rdi callq _META_MAPPING movl %eax, %edi movq -16(%rbp), %rax movl 12(%rax), %esi movq -16(%rbp), %rax movl 12(%rax), %edx callq _invalidate_mapping_pages LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq -16(%rbp), %rdi callq _f2fs_submit_page_write movq -16(%rbp), %rax cmpq $0, 16(%rax) je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movq -16(%rbp), %rax movl 8(%rax), %ecx movq -16(%rbp), %rax movl %ecx, 12(%rax) jmp LBB0_5 LBB0_9: movq -16(%rbp), %rdi callq _update_device_state cmpl $0, -24(%rbp) je LBB0_11 ## %bb.10: movq -16(%rbp), %rax movq (%rax), %rdi callq _up_read LBB0_11: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _LFS,4,2 ## @LFS .comm _CURSEG_COLD_DATA,4,2 ## @CURSEG_COLD_DATA .comm _NULL_SEGNO,8,3 ## @NULL_SEGNO .no_dead_strip _do_write_page .subsections_via_symbols
AnghaBench/linux/fs/f2fs/extr_segment.c_do_write_page.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function btrfs_endio_direct_write _btrfs_endio_direct_write: ; @btrfs_endio_direct_write .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-8] stur w1, [x29, #-12] ldur x8, [x29, #-8] ldr x8, [x8, #8] stur x8, [x29, #-24] ldur x8, [x29, #-24] ldr x8, [x8, #24] stur x8, [x29, #-32] ldur x0, [x29, #-32] bl _BTRFS_I ldr x8, [x0] str x8, [sp, #40] ; kill: def $x8 killed $xzr str xzr, [sp, #32] ldur x8, [x29, #-24] ldr x8, [x8] str x8, [sp, #24] ldur x8, [x29, #-24] ldr x8, [x8, #8] str x8, [sp, #16] ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_9 LBB0_2: b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-32] ldr x3, [sp, #16] ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq and w4, w8, #0x1 add x1, sp, #32 add x2, sp, #24 bl _btrfs_dec_test_first_ordered_pending str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 adrp x8, _finish_ordered_fn@GOTPAGE ldr x8, [x8, _finish_ordered_fn@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #32] str w8, [x9, #8] ldr x8, [sp, #32] str xzr, [x8] ldr x8, [sp, #40] ldr x0, [x8] ldr x1, [sp, #32] bl _btrfs_queue_worker b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #24] ldur x9, [x29, #-24] ldr x9, [x9] ldur x10, [x29, #-24] ldr x10, [x10, #8] add x9, x9, x10 subs x8, x8, x9 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-24] ldr x8, [x8] ldur x9, [x29, #-24] ldr x9, [x9, #8] add x8, x8, x9 ldr x9, [sp, #24] subs x8, x8, x9 str x8, [sp, #16] ; kill: def $x8 killed $xzr str xzr, [sp, #32] b LBB0_3 LBB0_8: b LBB0_9 LBB0_9: ldur x8, [x29, #-24] ldr x8, [x8, #16] ldur x9, [x29, #-8] str x8, [x9, #8] ldur x0, [x29, #-24] bl _kfree ldur w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: adrp x8, _BIO_UPTODATE@GOTPAGE ldr x8, [x8, _BIO_UPTODATE@GOTPAGEOFF] ldr w0, [x8] ldur x1, [x29, #-8] bl _clear_bit b LBB0_11 LBB0_11: ldur x0, [x29, #-8] ldur w1, [x29, #-12] bl _dio_end_io ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _finish_ordered_fn,4,2 ; @finish_ordered_fn .comm _BIO_UPTODATE,4,2 ; @BIO_UPTODATE .no_dead_strip _btrfs_endio_direct_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function btrfs_endio_direct_write _btrfs_endio_direct_write: ## @btrfs_endio_direct_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq 24(%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi callq _BTRFS_I movq (%rax), %rax movq %rax, -40(%rbp) movq $0, -48(%rbp) movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -56(%rbp) movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -64(%rbp) cmpl $0, -12(%rbp) je LBB0_2 ## %bb.1: jmp LBB0_9 LBB0_2: jmp LBB0_3 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rdi movq -64(%rbp), %rcx cmpl $0, -12(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %r8d leaq -48(%rbp), %rsi leaq -56(%rbp), %rdx callq _btrfs_dec_test_first_ordered_pending movl %eax, -68(%rbp) cmpl $0, -68(%rbp) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_6 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq _finish_ordered_fn@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) movq -48(%rbp), %rax movq $0, (%rax) movq -40(%rbp), %rax movq (%rax), %rdi movq -48(%rbp), %rsi callq _btrfs_queue_worker LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rax movq -24(%rbp), %rcx movq (%rcx), %rcx movq -24(%rbp), %rdx addq 8(%rdx), %rcx cmpq %rcx, %rax jge LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rax movq (%rax), %rax movq -24(%rbp), %rcx addq 8(%rcx), %rax subq -56(%rbp), %rax movq %rax, -64(%rbp) movq $0, -48(%rbp) jmp LBB0_3 LBB0_8: jmp LBB0_9 LBB0_9: movq -24(%rbp), %rax movq 16(%rax), %rcx movq -8(%rbp), %rax movq %rcx, 8(%rax) movq -24(%rbp), %rdi callq _kfree cmpl $0, -12(%rbp) je LBB0_11 ## %bb.10: movq _BIO_UPTODATE@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rsi callq _clear_bit LBB0_11: movq -8(%rbp), %rdi movl -12(%rbp), %esi callq _dio_end_io addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _finish_ordered_fn,4,2 ## @finish_ordered_fn .comm _BIO_UPTODATE,4,2 ## @BIO_UPTODATE .no_dead_strip _btrfs_endio_direct_write .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/btrfs/extr_inode.c_btrfs_endio_direct_write.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gen_vector_table24 _gen_vector_table24: ; @gen_vector_table24 .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 stur x0, [x29, #-8] stur x1, [x29, #-16] str wzr, [sp, #24] b LBB0_1 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ldr w8, [sp, #24] subs w8, w8, #1024 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-16] add x9, x8, #4 stur x9, [x29, #-16] ldr w8, [x8] mov w9, #2 sdiv w8, w8, w9 stur w8, [x29, #-20] str wzr, [sp, #20] b LBB0_3 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [sp, #20] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=2 ldur x8, [x29, #-16] add x9, x8, #4 stur x9, [x29, #-16] ldr w8, [x8] strb w8, [sp, #19] ldrb w8, [sp, #19] asr w9, w8, #4 ldrb w8, [sp, #19] and w8, w8, #0xf ldur x10, [x29, #-8] ldr w2, [x10, #44] and w0, w9, #0xff and w1, w8, #0xff bl _make_ydt24_entry mov w8, #-2 str w8, [sp, #12] ; 4-byte Folded Spill and w8, w8, w0 ldur x9, [x29, #-8] ldr x9, [x9] ldr w10, [sp, #24] ldr w11, [sp, #20] add w10, w10, w11 str w8, [x9, w10, sxtw #2] ldrb w8, [sp, #19] asr w9, w8, #4 ldrb w8, [sp, #19] and w8, w8, #0xf ldur x10, [x29, #-8] ldr w2, [x10, #40] and w0, w9, #0xff and w1, w8, #0xff bl _make_cdt24_entry ldr w8, [sp, #12] ; 4-byte Folded Reload and w8, w8, w0 ldur x9, [x29, #-8] ldr x9, [x9, #8] ldr w10, [sp, #24] ldr w11, [sp, #20] add w10, w10, w11 str w8, [x9, w10, sxtw #2] ldrb w8, [sp, #19] asr w9, w8, #4 ldrb w8, [sp, #19] and w8, w8, #0xf ldur x10, [x29, #-8] ldr w2, [x10, #36] and w0, w9, #0xff and w1, w8, #0xff bl _make_ydt24_entry ldr w8, [sp, #12] ; 4-byte Folded Reload and w8, w8, w0 ldur x9, [x29, #-8] ldr x9, [x9, #16] ldr w10, [sp, #24] ldr w11, [sp, #20] add w10, w10, w11 str w8, [x9, w10, sxtw #2] ldrb w8, [sp, #19] asr w9, w8, #4 ldrb w8, [sp, #19] and w8, w8, #0xf ldur x10, [x29, #-8] ldr w2, [x10, #32] and w0, w9, #0xff and w1, w8, #0xff bl _make_cdt24_entry ldr w8, [sp, #12] ; 4-byte Folded Reload and w8, w8, w0 ldur x9, [x29, #-8] ldr x9, [x9, #24] ldr w10, [sp, #24] ldr w11, [sp, #20] add w10, w10, w11 str w8, [x9, w10, sxtw #2] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=2 ldr w8, [sp, #20] add w8, w8, #1 str w8, [sp, #20] b LBB0_3 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8] ldr w9, [sp, #24] ldr w10, [sp, #20] subs w10, w10, #1 add w9, w9, w10 add x9, x8, w9, sxtw #2 ldr w8, [x9] orr w8, w8, #0x1 str w8, [x9] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr w9, [sp, #24] ldr w10, [sp, #20] subs w10, w10, #1 add w9, w9, w10 add x9, x8, w9, sxtw #2 ldr w8, [x9] orr w8, w8, #0x1 str w8, [x9] ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr w9, [sp, #24] ldr w10, [sp, #20] subs w10, w10, #1 add w9, w9, w10 add x9, x8, w9, sxtw #2 ldr w8, [x9] orr w8, w8, #0x1 str w8, [x9] ldur x8, [x29, #-8] ldr x8, [x8, #24] ldr w9, [sp, #24] ldr w10, [sp, #20] subs w10, w10, #1 add w9, w9, w10 add x9, x8, w9, sxtw #2 ldr w8, [x9] orr w8, w8, #0x1 str w8, [x9] b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #24] add w8, w8, #4 str w8, [sp, #24] b LBB0_1 LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _gen_vector_table24 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gen_vector_table24 _gen_vector_table24: ## @gen_vector_table24 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl $0, -24(%rbp) LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 cmpl $1024, -24(%rbp) ## imm = 0x400 jge LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq %rax, %rcx addq $4, %rcx movq %rcx, -16(%rbp) movl (%rax), %eax movl $2, %ecx cltd idivl %ecx movl %eax, -20(%rbp) movl $0, -28(%rbp) LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl -28(%rbp), %eax cmpl -20(%rbp), %eax jge LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 movq -16(%rbp), %rax movq %rax, %rcx addq $4, %rcx movq %rcx, -16(%rbp) movl (%rax), %eax ## kill: def $al killed $al killed $eax movb %al, -29(%rbp) movzbl -29(%rbp), %eax sarl $4, %eax movb %al, %cl movzbl -29(%rbp), %eax andl $15, %eax ## kill: def $al killed $al killed $eax movq -8(%rbp), %rdx movl 44(%rdx), %edx movzbl %cl, %edi movzbl %al, %esi callq _make_ydt24_entry movl %eax, %edx andl $4294967294, %edx ## imm = 0xFFFFFFFE movq -8(%rbp), %rax movq (%rax), %rax movl -24(%rbp), %ecx addl -28(%rbp), %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) movzbl -29(%rbp), %eax sarl $4, %eax movb %al, %cl movzbl -29(%rbp), %eax andl $15, %eax ## kill: def $al killed $al killed $eax movq -8(%rbp), %rdx movl 40(%rdx), %edx movzbl %cl, %edi movzbl %al, %esi callq _make_cdt24_entry movl %eax, %edx andl $4294967294, %edx ## imm = 0xFFFFFFFE movq -8(%rbp), %rax movq 8(%rax), %rax movl -24(%rbp), %ecx addl -28(%rbp), %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) movzbl -29(%rbp), %eax sarl $4, %eax movb %al, %cl movzbl -29(%rbp), %eax andl $15, %eax ## kill: def $al killed $al killed $eax movq -8(%rbp), %rdx movl 36(%rdx), %edx movzbl %cl, %edi movzbl %al, %esi callq _make_ydt24_entry movl %eax, %edx andl $4294967294, %edx ## imm = 0xFFFFFFFE movq -8(%rbp), %rax movq 16(%rax), %rax movl -24(%rbp), %ecx addl -28(%rbp), %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) movzbl -29(%rbp), %eax sarl $4, %eax movb %al, %cl movzbl -29(%rbp), %eax andl $15, %eax ## kill: def $al killed $al killed $eax movq -8(%rbp), %rdx movl 32(%rdx), %edx movzbl %cl, %edi movzbl %al, %esi callq _make_cdt24_entry movl %eax, %edx andl $4294967294, %edx ## imm = 0xFFFFFFFE movq -8(%rbp), %rax movq 24(%rax), %rax movl -24(%rbp), %ecx addl -28(%rbp), %ecx movslq %ecx, %rcx movl %edx, (%rax,%rcx,4) ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_3 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq (%rax), %rax movl -24(%rbp), %ecx movl -28(%rbp), %edx subl $1, %edx addl %edx, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %edx orl $1, %edx movl %edx, (%rax,%rcx,4) movq -8(%rbp), %rax movq 8(%rax), %rax movl -24(%rbp), %ecx movl -28(%rbp), %edx subl $1, %edx addl %edx, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %edx orl $1, %edx movl %edx, (%rax,%rcx,4) movq -8(%rbp), %rax movq 16(%rax), %rax movl -24(%rbp), %ecx movl -28(%rbp), %edx subl $1, %edx addl %edx, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %edx orl $1, %edx movl %edx, (%rax,%rcx,4) movq -8(%rbp), %rax movq 24(%rax), %rax movl -24(%rbp), %ecx movl -28(%rbp), %edx subl $1, %edx addl %edx, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %edx orl $1, %edx movl %edx, (%rax,%rcx,4) ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %eax addl $4, %eax movl %eax, -24(%rbp) jmp LBB0_1 LBB0_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _gen_vector_table24 .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_truemotion1.c_gen_vector_table24.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _IN_SpeedDown ; -- Begin function IN_SpeedDown .p2align 2 _IN_SpeedDown: ; @IN_SpeedDown .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 adrp x0, _in_speed@GOTPAGE ldr x0, [x0, _in_speed@GOTPAGEOFF] bl _IN_KeyDown ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _in_speed,4,2 ; @in_speed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _IN_SpeedDown ## -- Begin function IN_SpeedDown .p2align 4, 0x90 _IN_SpeedDown: ## @IN_SpeedDown .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _in_speed@GOTPCREL(%rip), %rdi callq _IN_KeyDown popq %rbp retq .cfi_endproc ## -- End function .comm _in_speed,4,2 ## @in_speed .subsections_via_symbols
AnghaBench/lab/engine/code/client/extr_cl_input.c_IN_SpeedDown.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fixup_sc_false_positive _fixup_sc_false_positive: ; @fixup_sc_false_positive .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 adrp x8, _SMP_UNSPECIFIED@GOTPAGE ldr x8, [x8, _SMP_UNSPECIFIED@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-16] ldur x8, [x29, #-16] ldr x8, [x8, #24] stur x8, [x29, #-24] ldur x8, [x29, #-24] ldr x8, [x8] stur x8, [x29, #-32] ldur x8, [x29, #-32] ldr x8, [x8, #8] str x8, [sp, #40] ldur x8, [x29, #-32] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_7 LBB0_2: ldr x0, [sp, #40] adrp x8, _HCI_SC_ONLY@GOTPAGE ldr x8, [x8, _HCI_SC_ONLY@GOTPAGEOFF] ldr w1, [x8] bl _hci_dev_test_flag subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #40] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _bt_dev_err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_7 LBB0_4: ldr x0, [sp, #40] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _bt_dev_err ldur x8, [x29, #-16] ldr x8, [x8, #16] add x8, x8, #4 str x8, [sp, #32] ldur x8, [x29, #-16] ldr x8, [x8, #8] add x8, x8, #4 str x8, [sp, #24] ldr x8, [sp, #32] ldr w8, [x8] ldr x9, [sp, #24] ldr w9, [x9, #4] and w8, w8, w9 ldur x9, [x29, #-16] str w8, [x9] ldr x8, [sp, #32] ldr w8, [x8, #8] str w8, [sp, #4] ; 4-byte Folded Spill ldr x0, [sp, #40] bl _AUTH_REQ_MASK ldr w8, [sp, #4] ; 4-byte Folded Reload and w8, w8, w0 str w8, [sp, #20] ldur x0, [x29, #-24] ldr w2, [sp, #20] ldr x8, [sp, #24] ldr w3, [x8, #12] ldr x8, [sp, #32] ldr w4, [x8, #12] mov w1, #0 bl _tk_request subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x0, [sp, #40] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _bt_dev_err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_7 LBB0_6: adrp x8, _SMP_FLAG_SC@GOTPAGE ldr x8, [x8, _SMP_FLAG_SC@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-16] add x1, x8, #4 bl _clear_bit stur wzr, [x29, #-4] b LBB0_7 LBB0_7: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _SMP_UNSPECIFIED,4,2 ; @SMP_UNSPECIFIED .comm _HCI_SC_ONLY,4,2 ; @HCI_SC_ONLY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "refusing legacy fallback in SC-only mode" l_.str.1: ; @.str.1 .asciz "trying to fall back to legacy SMP" l_.str.2: ; @.str.2 .asciz "failed to fall back to legacy SMP" .comm _SMP_FLAG_SC,4,2 ; @SMP_FLAG_SC .no_dead_strip _fixup_sc_false_positive .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fixup_sc_false_positive _fixup_sc_false_positive: ## @fixup_sc_false_positive .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movq 24(%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -40(%rbp) movq -32(%rbp), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq _SMP_UNSPECIFIED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_2: movq -40(%rbp), %rdi movq _HCI_SC_ONLY@GOTPCREL(%rip), %rax movl (%rax), %esi callq _hci_dev_test_flag cmpq $0, %rax je LBB0_4 ## %bb.3: movq -40(%rbp), %rdi leaq L_.str(%rip), %rsi callq _bt_dev_err movq _SMP_UNSPECIFIED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_4: movq -40(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _bt_dev_err movq -16(%rbp), %rax movq 16(%rax), %rax addq $4, %rax movq %rax, -48(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax addq $4, %rax movq %rax, -56(%rbp) movq -48(%rbp), %rax movl (%rax), %ecx movq -56(%rbp), %rax andl 4(%rax), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) movq -48(%rbp), %rax movl 8(%rax), %eax movl %eax, -64(%rbp) ## 4-byte Spill movq -40(%rbp), %rdi callq _AUTH_REQ_MASK movl %eax, %ecx movl -64(%rbp), %eax ## 4-byte Reload andl %ecx, %eax movl %eax, -60(%rbp) movq -24(%rbp), %rdi movl -60(%rbp), %edx movq -56(%rbp), %rax movl 12(%rax), %ecx movq -48(%rbp), %rax movl 12(%rax), %r8d xorl %esi, %esi callq _tk_request cmpq $0, %rax je LBB0_6 ## %bb.5: movq -40(%rbp), %rdi leaq L_.str.2(%rip), %rsi callq _bt_dev_err movq _SMP_UNSPECIFIED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_6: movq _SMP_FLAG_SC@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rsi addq $4, %rsi callq _clear_bit movl $0, -4(%rbp) LBB0_7: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SMP_UNSPECIFIED,4,2 ## @SMP_UNSPECIFIED .comm _HCI_SC_ONLY,4,2 ## @HCI_SC_ONLY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "refusing legacy fallback in SC-only mode" L_.str.1: ## @.str.1 .asciz "trying to fall back to legacy SMP" L_.str.2: ## @.str.2 .asciz "failed to fall back to legacy SMP" .comm _SMP_FLAG_SC,4,2 ## @SMP_FLAG_SC .no_dead_strip _fixup_sc_false_positive .subsections_via_symbols
AnghaBench/linux/net/bluetooth/extr_smp.c_fixup_sc_false_positive.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fz_jbig2_realloc _fz_jbig2_realloc: ; @fz_jbig2_realloc .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 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #8] ldr x1, [sp, #24] bl _fz_free ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_5 LBB0_2: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #8] ldr x1, [sp, #16] bl _fz_malloc stur x0, [x29, #-8] b LBB0_5 LBB0_4: ldr x0, [sp, #8] ldr x1, [sp, #24] ldr x2, [sp, #16] bl _fz_realloc_no_throw stur x0, [x29, #-8] b LBB0_5 LBB0_5: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _fz_jbig2_realloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fz_jbig2_realloc _fz_jbig2_realloc: ## @fz_jbig2_realloc .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: movq -40(%rbp), %rdi movq -24(%rbp), %rsi callq _fz_free movq $0, -8(%rbp) jmp LBB0_5 LBB0_2: cmpq $0, -24(%rbp) jne LBB0_4 ## %bb.3: movq -40(%rbp), %rdi movq -32(%rbp), %rsi callq _fz_malloc movq %rax, -8(%rbp) jmp LBB0_5 LBB0_4: movq -40(%rbp), %rdi movq -24(%rbp), %rsi movq -32(%rbp), %rdx callq _fz_realloc_no_throw movq %rax, -8(%rbp) LBB0_5: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fz_jbig2_realloc .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/fitz/extr_load-jbig2.c_fz_jbig2_realloc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function clear_closid_rmid _clear_closid_rmid: ; @clear_closid_rmid .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 stur w0, [x29, #-4] adrp x0, _pqr_state@GOTPAGE ldr x0, [x0, _pqr_state@GOTPAGEOFF] bl _this_cpu_ptr str x0, [sp] ldr x8, [sp] str xzr, [x8, #24] ldr x8, [sp] str xzr, [x8, #16] ldr x8, [sp] str xzr, [x8, #8] ldr x8, [sp] str xzr, [x8] adrp x8, _IA32_PQR_ASSOC@GOTPAGE ldr x8, [x8, _IA32_PQR_ASSOC@GOTPAGEOFF] ldr w0, [x8] mov w2, #0 mov x1, x2 bl _wrmsr ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _pqr_state,4,2 ; @pqr_state .comm _IA32_PQR_ASSOC,4,2 ; @IA32_PQR_ASSOC .no_dead_strip _clear_closid_rmid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function clear_closid_rmid _clear_closid_rmid: ## @clear_closid_rmid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movq _pqr_state@GOTPCREL(%rip), %rdi callq _this_cpu_ptr movq %rax, -16(%rbp) movq -16(%rbp), %rax movq $0, 24(%rax) movq -16(%rbp), %rax movq $0, 16(%rax) movq -16(%rbp), %rax movq $0, 8(%rax) movq -16(%rbp), %rax movq $0, (%rax) movq _IA32_PQR_ASSOC@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %edx, %edx movl %edx, %esi callq _wrmsr addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _pqr_state,4,2 ## @pqr_state .comm _IA32_PQR_ASSOC,4,2 ## @IA32_PQR_ASSOC .no_dead_strip _clear_closid_rmid .subsections_via_symbols
AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_core.c_clear_closid_rmid.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wlc_phy_papd_cal_cleanup_nphy _wlc_phy_papd_cal_cleanup_nphy: ; @wlc_phy_papd_cal_cleanup_nphy .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _RADIO_2056@GOTPAGE ldr x8, [x8, _RADIO_2056@GOTPAGEOFF] str x8, [sp, #40] ; 8-byte Folded Spill adrp x8, _RX@GOTPAGE ldr x8, [x8, _RX@GOTPAGEOFF] str x8, [sp, #48] ; 8-byte Folded Spill adrp x8, _TX@GOTPAGE ldr x8, [x8, _TX@GOTPAGEOFF] str x8, [sp, #56] ; 8-byte Folded Spill adrp x8, _PHY_CORE_0@GOTPAGE ldr x8, [x8, _PHY_CORE_0@GOTPAGEOFF] str x8, [sp, #64] ; 8-byte Folded Spill adrp x8, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGE ldr x8, [x8, _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPAGEOFF] stur x8, [x29, #-56] ; 8-byte Folded Spill adrp x8, _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPAGE ldr x8, [x8, _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPAGEOFF] stur x8, [x29, #-48] ; 8-byte Folded Spill adrp x8, _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPAGE ldr x8, [x8, _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPAGEOFF] stur x8, [x29, #-40] ; 8-byte Folded Spill adrp x8, _RADIO_2057@GOTPAGE ldr x8, [x8, _RADIO_2057@GOTPAGEOFF] stur x8, [x29, #-32] ; 8-byte Folded Spill stur x0, [x29, #-8] stur x1, [x29, #-16] ldur x0, [x29, #-8] bl _wlc_phy_stopplayback_nphy ldur x8, [x29, #-8] ldr w0, [x8, #20] mov w1, #7 bl _NREV_GE subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_20 b LBB0_1 LBB0_1: stur xzr, [x29, #-24] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] ldur x9, [x29, #-8] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_8 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-8] ldr w0, [x8] bl _CHSPEC_IS2G subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #56] ; 8-byte Folded Reload ldur x9, [x29, #-32] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _TXRXCOUPLE_2G_PWRUP@GOTPAGE ldr x8, [x8, _TXRXCOUPLE_2G_PWRUP@GOTPAGEOFF] ldr w4, [x8] mov w5, #0 bl _WRITE_RADIO_REG3 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _TXRXCOUPLE_2G_ATTEN@GOTPAGE ldr x8, [x8, _TXRXCOUPLE_2G_ATTEN@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #48] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG3 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #56] ; 8-byte Folded Reload ldur x9, [x29, #-32] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _TXRXCOUPLE_5G_PWRUP@GOTPAGE ldr x8, [x8, _TXRXCOUPLE_5G_PWRUP@GOTPAGEOFF] ldr w4, [x8] mov w5, #0 bl _WRITE_RADIO_REG3 ldur x9, [x29, #-32] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _TXRXCOUPLE_5G_ATTEN@GOTPAGE ldr x8, [x8, _TXRXCOUPLE_5G_ATTEN@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #48] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG3 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-24] add x8, x8, #1 stur x8, [x29, #-24] b LBB0_2 LBB0_8: ldur x8, [x29, #-8] ldr w8, [x8, #16] subs w8, w8, #4 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x8, [x29, #-8] ldr w8, [x8, #16] subs w8, w8, #6 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur x8, [x29, #-56] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #4 mov w2, #1 mov w3, #3 mov w4, #0 bl _wlc_phy_rfctrl_override_nphy_rev7 b LBB0_12 LBB0_11: ldur x8, [x29, #-56] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #4 mov w2, #0 mov w3, #3 mov w4, #1 bl _wlc_phy_rfctrl_override_nphy_rev7 b LBB0_12 LBB0_12: ldur x8, [x29, #-48] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #2 str w1, [sp, #20] ; 4-byte Folded Spill mov w2, #0 str w2, [sp, #28] ; 4-byte Folded Spill mov w3, #3 str w3, [sp, #32] ; 4-byte Folded Spill mov w4, #1 str w4, [sp, #36] ; 4-byte Folded Spill bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-40] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov x1, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-40] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #4 str w1, [sp, #16] ; 4-byte Folded Spill bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #2048 str w1, [sp, #12] ; 4-byte Folded Spill mov x2, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-56] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #8 str w1, [sp, #24] ; 4-byte Folded Spill bl _wlc_phy_rfctrl_override_nphy_rev7 ldr w1, [sp, #12] ; 4-byte Folded Reload ldur x8, [x29, #-56] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-56] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #4096 bl _wlc_phy_rfctrl_override_nphy_rev7 ldr w1, [sp, #16] ; 4-byte Folded Reload ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov x2, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov x1, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-40] ; 8-byte Folded Reload ldr w1, [sp, #20] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov x2, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #256 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #512 mov x2, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #1024 bl _wlc_phy_rfctrl_override_nphy_rev7 ldr w1, [sp, #24] ; 4-byte Folded Reload ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov x2, x4 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #32 bl _wlc_phy_rfctrl_override_nphy_rev7 ldur x8, [x29, #-48] ; 8-byte Folded Reload ldr w2, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #32] ; 4-byte Folded Reload ldr w4, [sp, #36] ; 4-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #16 bl _wlc_phy_rfctrl_override_nphy_rev7 stur xzr, [x29, #-24] b LBB0_13 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] ldur x9, [x29, #-8] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_16 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_13 Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w10, w8, #0x1 mov w9, #167 mov w8, #166 ands w10, w10, #0x1 csel w1, w8, w9, ne ldur x8, [x29, #-16] ldr x8, [x8, #16] ldur x9, [x29, #-24] ldr w2, [x8, x9, lsl #2] bl _write_phy_reg ldr x9, [sp, #64] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w10, w8, #0x1 mov w9, #165 mov w8, #143 ands w10, w10, #0x1 csel w1, w8, w9, ne ldur x8, [x29, #-16] ldr x8, [x8, #8] ldur x9, [x29, #-24] ldr w2, [x8, x9, lsl #2] bl _write_phy_reg b LBB0_15 LBB0_15: ; in Loop: Header=BB0_13 Depth=1 ldur x8, [x29, #-24] add x8, x8, #1 stur x8, [x29, #-24] b LBB0_13 LBB0_16: ldur x0, [x29, #-8] ldur x8, [x29, #-16] ldr w8, [x8] asr w8, w8, #8 and w1, w8, #0xff ldur x8, [x29, #-16] ldrb w2, [x8] bl _wlc_phy_ipa_set_bbmult_nphy ldur x8, [x29, #-8] ldr w0, [x8, #20] mov w1, #7 bl _NREV_IS subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldur x8, [x29, #-8] ldr w0, [x8, #20] mov w1, #8 bl _NREV_GE subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldur x8, [x29, #-48] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w5, [x8] mov w1, #128 mov w3, #0 mov x2, x3 mov w4, #1 bl _wlc_phy_rfctrl_override_nphy_rev7 b LBB0_19 LBB0_19: b LBB0_28 LBB0_20: ldur x0, [x29, #-8] mov w1, #4096 mov w2, #0 str w2, [sp] ; 4-byte Folded Spill mov w3, #3 str w3, [sp, #4] ; 4-byte Folded Spill mov w4, #1 str w4, [sp, #8] ; 4-byte Folded Spill bl _wlc_phy_rfctrl_override_nphy ldr w2, [sp] ; 4-byte Folded Reload ldr w3, [sp, #4] ; 4-byte Folded Reload ldr w4, [sp, #8] ; 4-byte Folded Reload ldur x0, [x29, #-8] mov w1, #8192 bl _wlc_phy_rfctrl_override_nphy ldr w2, [sp] ; 4-byte Folded Reload ldr w3, [sp, #4] ; 4-byte Folded Reload ldr w4, [sp, #8] ; 4-byte Folded Reload ldur x0, [x29, #-8] mov x1, x4 bl _wlc_phy_rfctrl_override_nphy ldr w2, [sp] ; 4-byte Folded Reload ldr w3, [sp, #4] ; 4-byte Folded Reload ldr w4, [sp, #8] ; 4-byte Folded Reload ldur x0, [x29, #-8] mov w1, #4 bl _wlc_phy_rfctrl_override_nphy ldr w2, [sp] ; 4-byte Folded Reload ldr w3, [sp, #4] ; 4-byte Folded Reload ldr w4, [sp, #8] ; 4-byte Folded Reload ldur x0, [x29, #-8] mov w1, #2 bl _wlc_phy_rfctrl_override_nphy stur xzr, [x29, #-24] b LBB0_21 LBB0_21: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] ldur x9, [x29, #-8] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_27 b LBB0_22 LBB0_22: ; in Loop: Header=BB0_21 Depth=1 ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x9, [sp, #40] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _VGA_MASTER@GOTPAGE ldr x8, [x8, _VGA_MASTER@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #40] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG2 ldur x8, [x29, #-8] ldr w0, [x8] bl _CHSPEC_IS2G subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: ; in Loop: Header=BB0_21 Depth=1 ldr x9, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #48] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _TXFBMIX_G@GOTPAGE ldr x8, [x8, _TXFBMIX_G@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #32] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG2 ldr x9, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _INTPAG_MASTER@GOTPAGE ldr x8, [x8, _INTPAG_MASTER@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #24] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG2 b LBB0_25 LBB0_24: ; in Loop: Header=BB0_21 Depth=1 ldr x9, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #48] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _TXFBMIX_A@GOTPAGE ldr x8, [x8, _TXFBMIX_A@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #32] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG2 ldr x9, [sp, #40] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr w1, [x9] ldr w2, [x8] ldur x3, [x29, #-24] adrp x8, _INTPAA_MASTER@GOTPAGE ldr x8, [x8, _INTPAA_MASTER@GOTPAGEOFF] ldr w4, [x8] ldur x8, [x29, #-16] ldr x8, [x8, #24] ldur x9, [x29, #-24] ldr w5, [x8, x9, lsl #2] bl _WRITE_RADIO_REG2 b LBB0_25 LBB0_25: ; in Loop: Header=BB0_21 Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w10, w8, #0x1 mov w9, #167 mov w8, #166 ands w10, w10, #0x1 csel w1, w8, w9, ne ldur x8, [x29, #-16] ldr x8, [x8, #16] ldur x9, [x29, #-24] ldr w2, [x8, x9, lsl #2] bl _write_phy_reg ldr x9, [sp, #64] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldur x8, [x29, #-24] ldr x9, [x9] subs x8, x8, x9 cset w8, eq and w10, w8, #0x1 mov w9, #165 mov w8, #143 ands w10, w10, #0x1 csel w1, w8, w9, ne ldur x8, [x29, #-16] ldr x8, [x8, #8] ldur x9, [x29, #-24] ldr w2, [x8, x9, lsl #2] bl _write_phy_reg b LBB0_26 LBB0_26: ; in Loop: Header=BB0_21 Depth=1 ldur x8, [x29, #-24] add x8, x8, #1 stur x8, [x29, #-24] b LBB0_21 LBB0_27: ldur x0, [x29, #-8] ldur x8, [x29, #-16] ldr w8, [x8] asr w8, w8, #8 and w1, w8, #0xff ldur x8, [x29, #-16] ldrb w2, [x8] bl _wlc_phy_ipa_set_bbmult_nphy ldur x0, [x29, #-8] mov w1, #8 mov w2, #0 mov w3, #3 mov w4, #1 bl _wlc_phy_rfctrl_override_nphy b LBB0_28 LBB0_28: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .comm _RADIO_2057,4,2 ; @RADIO_2057 .comm _TX,4,2 ; @TX .comm _TXRXCOUPLE_2G_PWRUP,4,2 ; @TXRXCOUPLE_2G_PWRUP .comm _TXRXCOUPLE_2G_ATTEN,4,2 ; @TXRXCOUPLE_2G_ATTEN .comm _TXRXCOUPLE_5G_PWRUP,4,2 ; @TXRXCOUPLE_5G_PWRUP .comm _TXRXCOUPLE_5G_ATTEN,4,2 ; @TXRXCOUPLE_5G_ATTEN .comm _NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID0 .comm _NPHY_REV7_RFCTRLOVERRIDE_ID1,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID1 .comm _NPHY_REV7_RFCTRLOVERRIDE_ID2,4,2 ; @NPHY_REV7_RFCTRLOVERRIDE_ID2 .comm _PHY_CORE_0,8,3 ; @PHY_CORE_0 .comm _RADIO_2056,4,2 ; @RADIO_2056 .comm _RX,4,2 ; @RX .comm _VGA_MASTER,4,2 ; @VGA_MASTER .comm _TXFBMIX_G,4,2 ; @TXFBMIX_G .comm _INTPAG_MASTER,4,2 ; @INTPAG_MASTER .comm _TXFBMIX_A,4,2 ; @TXFBMIX_A .comm _INTPAA_MASTER,4,2 ; @INTPAA_MASTER .no_dead_strip _wlc_phy_papd_cal_cleanup_nphy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wlc_phy_papd_cal_cleanup_nphy _wlc_phy_papd_cal_cleanup_nphy: ## @wlc_phy_papd_cal_cleanup_nphy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi callq _wlc_phy_stopplayback_nphy movq -8(%rbp), %rax movl 20(%rax), %edi movl $7, %esi callq _NREV_GE cmpq $0, %rax je LBB0_20 ## %bb.1: movq $0, -24(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax movq -8(%rbp), %rcx cmpq 8(%rcx), %rax jae LBB0_8 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rbp), %rax movl (%rax), %edi callq _CHSPEC_IS2G cmpq $0, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rbp), %rdi movq _RADIO_2057@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _TXRXCOUPLE_2G_PWRUP@GOTPCREL(%rip), %rax movl (%rax), %r8d xorl %r9d, %r9d callq _WRITE_RADIO_REG3 movq -8(%rbp), %rdi movq _RADIO_2057@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _TXRXCOUPLE_2G_ATTEN@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 48(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG3 jmp LBB0_6 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rbp), %rdi movq _RADIO_2057@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _TXRXCOUPLE_5G_PWRUP@GOTPCREL(%rip), %rax movl (%rax), %r8d xorl %r9d, %r9d callq _WRITE_RADIO_REG3 movq -8(%rbp), %rdi movq _RADIO_2057@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _TXRXCOUPLE_5G_ATTEN@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 48(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG3 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq -24(%rbp), %rax addq $1, %rax movq %rax, -24(%rbp) jmp LBB0_2 LBB0_8: movq -8(%rbp), %rax cmpl $4, 16(%rax) je LBB0_10 ## %bb.9: movq -8(%rbp), %rax cmpl $6, 16(%rax) jne LBB0_11 LBB0_10: movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $4, %esi movl $1, %edx movl $3, %ecx xorl %r8d, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 jmp LBB0_12 LBB0_11: movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $4, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 LBB0_12: movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $2, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $1, %r8d xorl %edx, %edx movl $3, %ecx movl %r8d, %esi callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $4, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $2048, %esi ## imm = 0x800 movl $1, %r8d movl $3, %ecx movl %r8d, %edx callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $8, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $2048, %esi ## imm = 0x800 xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID0@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $4096, %esi ## imm = 0x1000 xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $4, %esi movl $1, %r8d movl $3, %ecx movl %r8d, %edx callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $1, %r8d xorl %edx, %edx movl $3, %ecx movl %r8d, %esi callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID2@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $2, %esi movl $1, %r8d movl $3, %ecx movl %r8d, %edx callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $256, %esi ## imm = 0x100 xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $512, %esi ## imm = 0x200 movl $1, %r8d movl $3, %ecx movl %r8d, %edx callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $1024, %esi ## imm = 0x400 xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $8, %esi movl $1, %r8d movl $3, %ecx movl %r8d, %edx callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $32, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $16, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy_rev7 movq $0, -24(%rbp) LBB0_13: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax movq -8(%rbp), %rcx cmpq 8(%rcx), %rax jae LBB0_16 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq -8(%rbp), %rdi movq -24(%rbp), %rcx movq _PHY_CORE_0@GOTPCREL(%rip), %rax movq (%rax), %rdx movl $167, %esi movl $166, %eax cmpq %rdx, %rcx cmovel %eax, %esi movq -16(%rbp), %rax movq 16(%rax), %rax movq -24(%rbp), %rcx movl (%rax,%rcx,4), %edx callq _write_phy_reg movq -8(%rbp), %rdi movq -24(%rbp), %rcx movq _PHY_CORE_0@GOTPCREL(%rip), %rax movq (%rax), %rdx movl $165, %esi movl $143, %eax cmpq %rdx, %rcx cmovel %eax, %esi movq -16(%rbp), %rax movq 8(%rax), %rax movq -24(%rbp), %rcx movl (%rax,%rcx,4), %edx callq _write_phy_reg ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movq -24(%rbp), %rax addq $1, %rax movq %rax, -24(%rbp) jmp LBB0_13 LBB0_16: movq -8(%rbp), %rdi movq -16(%rbp), %rax movl (%rax), %esi sarl $8, %esi andl $255, %esi movq -16(%rbp), %rax movl (%rax), %edx andl $255, %edx callq _wlc_phy_ipa_set_bbmult_nphy movq -8(%rbp), %rax movl 20(%rax), %edi movl $7, %esi callq _NREV_IS cmpq $0, %rax jne LBB0_18 ## %bb.17: movq -8(%rbp), %rax movl 20(%rax), %edi movl $8, %esi callq _NREV_GE cmpq $0, %rax je LBB0_19 LBB0_18: movq -8(%rbp), %rdi movq _NPHY_REV7_RFCTRLOVERRIDE_ID1@GOTPCREL(%rip), %rax movl (%rax), %r9d movl $128, %esi xorl %ecx, %ecx movl $1, %r8d movl %ecx, %edx callq _wlc_phy_rfctrl_override_nphy_rev7 LBB0_19: jmp LBB0_28 LBB0_20: movq -8(%rbp), %rdi movl $4096, %esi ## imm = 0x1000 xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy movq -8(%rbp), %rdi movl $8192, %esi ## imm = 0x2000 xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy movq -8(%rbp), %rdi movl $1, %r8d xorl %edx, %edx movl $3, %ecx movl %r8d, %esi callq _wlc_phy_rfctrl_override_nphy movq -8(%rbp), %rdi movl $4, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy movq -8(%rbp), %rdi movl $2, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy movq $0, -24(%rbp) LBB0_21: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax movq -8(%rbp), %rcx cmpq 8(%rcx), %rax jae LBB0_27 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 movq -8(%rbp), %rdi movq _RADIO_2056@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _VGA_MASTER@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 40(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG2 movq -8(%rbp), %rax movl (%rax), %edi callq _CHSPEC_IS2G cmpq $0, %rax je LBB0_24 ## %bb.23: ## in Loop: Header=BB0_21 Depth=1 movq -8(%rbp), %rdi movq _RADIO_2056@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _TXFBMIX_G@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 32(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG2 movq -8(%rbp), %rdi movq _RADIO_2056@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _INTPAG_MASTER@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 24(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG2 jmp LBB0_25 LBB0_24: ## in Loop: Header=BB0_21 Depth=1 movq -8(%rbp), %rdi movq _RADIO_2056@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _TXFBMIX_A@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 32(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG2 movq -8(%rbp), %rdi movq _RADIO_2056@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TX@GOTPCREL(%rip), %rax movl (%rax), %edx movq -24(%rbp), %rcx movq _INTPAA_MASTER@GOTPCREL(%rip), %rax movl (%rax), %r8d movq -16(%rbp), %rax movq 24(%rax), %rax movq -24(%rbp), %r9 movl (%rax,%r9,4), %r9d callq _WRITE_RADIO_REG2 LBB0_25: ## in Loop: Header=BB0_21 Depth=1 movq -8(%rbp), %rdi movq -24(%rbp), %rcx movq _PHY_CORE_0@GOTPCREL(%rip), %rax movq (%rax), %rdx movl $167, %esi movl $166, %eax cmpq %rdx, %rcx cmovel %eax, %esi movq -16(%rbp), %rax movq 16(%rax), %rax movq -24(%rbp), %rcx movl (%rax,%rcx,4), %edx callq _write_phy_reg movq -8(%rbp), %rdi movq -24(%rbp), %rcx movq _PHY_CORE_0@GOTPCREL(%rip), %rax movq (%rax), %rdx movl $165, %esi movl $143, %eax cmpq %rdx, %rcx cmovel %eax, %esi movq -16(%rbp), %rax movq 8(%rax), %rax movq -24(%rbp), %rcx movl (%rax,%rcx,4), %edx callq _write_phy_reg ## %bb.26: ## in Loop: Header=BB0_21 Depth=1 movq -24(%rbp), %rax addq $1, %rax movq %rax, -24(%rbp) jmp LBB0_21 LBB0_27: movq -8(%rbp), %rdi movq -16(%rbp), %rax movl (%rax), %esi sarl $8, %esi andl $255, %esi movq -16(%rbp), %rax movl (%rax), %edx andl $255, %edx callq _wlc_phy_ipa_set_bbmult_nphy movq -8(%rbp), %rdi movl $8, %esi xorl %edx, %edx movl $3, %ecx movl $1, %r8d callq _wlc_phy_rfctrl_override_nphy LBB0_28: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RADIO_2057,4,2 ## @RADIO_2057 .comm _TX,4,2 ## @TX .comm _TXRXCOUPLE_2G_PWRUP,4,2 ## @TXRXCOUPLE_2G_PWRUP .comm _TXRXCOUPLE_2G_ATTEN,4,2 ## @TXRXCOUPLE_2G_ATTEN .comm _TXRXCOUPLE_5G_PWRUP,4,2 ## @TXRXCOUPLE_5G_PWRUP .comm _TXRXCOUPLE_5G_ATTEN,4,2 ## @TXRXCOUPLE_5G_ATTEN .comm _NPHY_REV7_RFCTRLOVERRIDE_ID0,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID0 .comm _NPHY_REV7_RFCTRLOVERRIDE_ID1,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID1 .comm _NPHY_REV7_RFCTRLOVERRIDE_ID2,4,2 ## @NPHY_REV7_RFCTRLOVERRIDE_ID2 .comm _PHY_CORE_0,8,3 ## @PHY_CORE_0 .comm _RADIO_2056,4,2 ## @RADIO_2056 .comm _RX,4,2 ## @RX .comm _VGA_MASTER,4,2 ## @VGA_MASTER .comm _TXFBMIX_G,4,2 ## @TXFBMIX_G .comm _INTPAG_MASTER,4,2 ## @INTPAG_MASTER .comm _TXFBMIX_A,4,2 ## @TXFBMIX_A .comm _INTPAA_MASTER,4,2 ## @INTPAA_MASTER .no_dead_strip _wlc_phy_papd_cal_cleanup_nphy .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_papd_cal_cleanup_nphy.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usbduxfast_ai_handle_urb _usbduxfast_ai_handle_urb: ; @usbduxfast_ai_handle_urb .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #32] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #24] ldr x8, [sp, #24] add x8, x8, #16 str x8, [sp, #16] ldr x8, [sp, #32] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x9, [sp, #32] ldr x8, [x9] subs x8, x8, #1 str x8, [x9] b LBB0_6 LBB0_2: ldur x0, [x29, #-16] ldur x8, [x29, #-24] ldr w1, [x8, #16] bl _comedi_bytes_to_samples str w0, [sp, #8] ldur x0, [x29, #-16] ldr w1, [sp, #8] bl _comedi_nsamples_left str w0, [sp, #8] ldur x0, [x29, #-16] ldur x8, [x29, #-24] ldr w1, [x8, #12] ldr w2, [sp, #8] bl _comedi_buf_write_samples ldr x8, [sp, #16] ldr x8, [x8] adrp x9, _TRIG_COUNT@GOTPAGE ldr x9, [x9, _TRIG_COUNT@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ldr x8, [sp, #24] ldr x8, [x8] ldr x9, [sp, #16] ldr x9, [x9, #8] subs x8, x8, x9 cset w8, lt tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _COMEDI_CB_EOA@GOTPAGE ldr x8, [x8, _COMEDI_CB_EOA@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #24] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] b LBB0_5 LBB0_5: b LBB0_6 LBB0_6: ldr x8, [sp, #24] ldr w8, [x8, #8] adrp x9, _COMEDI_CB_CANCEL_MASK@GOTPAGE ldr x9, [x9, _COMEDI_CB_CANCEL_MASK@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_7 LBB0_7: ldur x0, [x29, #-8] bl _comedi_to_usb_dev ldur x8, [x29, #-24] str w0, [x8, #8] ldur x8, [x29, #-24] str xzr, [x8] ldur x0, [x29, #-24] adrp x8, _GFP_ATOMIC@GOTPAGE ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] ldr w1, [x8] bl _usb_submit_urb str w0, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x8, [x29, #-8] ldr w0, [x8] ldr w2, [sp, #12] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err adrp x8, _COMEDI_CB_ERROR@GOTPAGE ldr x8, [x8, _COMEDI_CB_ERROR@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #24] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] b LBB0_9 LBB0_9: b LBB0_10 LBB0_10: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _TRIG_COUNT,8,3 ; @TRIG_COUNT .comm _COMEDI_CB_EOA,4,2 ; @COMEDI_CB_EOA .comm _COMEDI_CB_CANCEL_MASK,4,2 ; @COMEDI_CB_CANCEL_MASK .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "urb resubm failed: %d" .comm _COMEDI_CB_ERROR,4,2 ; @COMEDI_CB_ERROR .no_dead_strip _usbduxfast_ai_handle_urb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usbduxfast_ai_handle_urb _usbduxfast_ai_handle_urb: ## @usbduxfast_ai_handle_urb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax addq $16, %rax movq %rax, -48(%rbp) movq -32(%rbp), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq -32(%rbp), %rax movq (%rax), %rcx addq $-1, %rcx movq %rcx, (%rax) jmp LBB0_6 LBB0_2: movq -16(%rbp), %rdi movq -24(%rbp), %rax movl 16(%rax), %esi callq _comedi_bytes_to_samples movl %eax, -56(%rbp) movq -16(%rbp), %rdi movl -56(%rbp), %esi callq _comedi_nsamples_left movl %eax, -56(%rbp) movq -16(%rbp), %rdi movq -24(%rbp), %rax movl 12(%rax), %esi movl -56(%rbp), %edx callq _comedi_buf_write_samples movq -48(%rbp), %rax movq (%rax), %rax movq _TRIG_COUNT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.3: movq -40(%rbp), %rax movq (%rax), %rax movq -48(%rbp), %rcx cmpq 8(%rcx), %rax jl LBB0_5 ## %bb.4: movq _COMEDI_CB_EOA@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -40(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_5: jmp LBB0_6 LBB0_6: movq -40(%rbp), %rax movl 8(%rax), %eax movq _COMEDI_CB_CANCEL_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_10 ## %bb.7: movq -8(%rbp), %rdi callq _comedi_to_usb_dev movl %eax, %ecx movq -24(%rbp), %rax movl %ecx, 8(%rax) movq -24(%rbp), %rax movq $0, (%rax) movq -24(%rbp), %rdi movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi callq _usb_submit_urb movl %eax, -52(%rbp) cmpl $0, -52(%rbp) jge LBB0_9 ## %bb.8: movq -8(%rbp), %rax movl (%rax), %edi movl -52(%rbp), %edx leaq L_.str(%rip), %rsi callq _dev_err movq _COMEDI_CB_ERROR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -40(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_9: jmp LBB0_10 LBB0_10: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TRIG_COUNT,8,3 ## @TRIG_COUNT .comm _COMEDI_CB_EOA,4,2 ## @COMEDI_CB_EOA .comm _COMEDI_CB_CANCEL_MASK,4,2 ## @COMEDI_CB_CANCEL_MASK .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "urb resubm failed: %d" .comm _COMEDI_CB_ERROR,4,2 ## @COMEDI_CB_ERROR .no_dead_strip _usbduxfast_ai_handle_urb .subsections_via_symbols
AnghaBench/linux/drivers/staging/comedi/drivers/extr_usbduxfast.c_usbduxfast_ai_handle_urb.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function binary_out_open _binary_out_open: ; @binary_out_open .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] str x0, [sp, #40] str x1, [sp, #32] ldr x0, [sp, #40] bl _UNUSEDPARM add x0, sp, #53 str x0, [sp, #16] ; 8-byte Folded Spill mov w1, #0 mov w2, #99 str w2, [sp, #12] ; 4-byte Folded Spill bl _memset ldr w1, [sp, #12] ; 4-byte Folded Reload ldr x0, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #40] ldr x8, [x8, #8] mov x3, x8 adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _sprintf_s ldr w2, [sp, #12] ; 4-byte Folded Reload ldr x0, [sp, #16] ; 8-byte Folded Reload ldr x3, [sp, #32] mov w1, #1 bl _fwrite str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #99 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _perror mov w0, #1 bl _exit LBB0_2: ldr x10, [sp, #24] ldr x9, [sp, #40] ldr x8, [x9] add x8, x8, x10 str x8, [x9] ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: bl ___stack_chk_fail LBB0_4: ldp x29, x30, [sp, #160] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "masscan/1.1.02\ns:%u\n" l_.str.1: ; @.str.1 .asciz "output" .no_dead_strip _binary_out_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function binary_out_open _binary_out_open: ## @binary_out_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -120(%rbp) movq %rsi, -128(%rbp) movq -120(%rbp), %rdi callq _UNUSEDPARM leaq -112(%rbp), %rdi xorl %esi, %esi movl $99, %edx callq _memset leaq -112(%rbp), %rdi movq -120(%rbp), %rax movq 8(%rax), %rax movl %eax, %ecx movl $99, %esi leaq L_.str(%rip), %rdx callq _sprintf_s leaq -112(%rbp), %rdi movq -128(%rbp), %rcx movl $1, %esi movl $99, %edx callq _fwrite movq %rax, -136(%rbp) cmpq $99, -136(%rbp) je LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi callq _perror movl $1, %edi callq _exit LBB0_2: movq -136(%rbp), %rcx movq -120(%rbp), %rax addq (%rax), %rcx movq %rcx, (%rax) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_4 ## %bb.3: addq $144, %rsp popq %rbp retq LBB0_4: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "masscan/1.1.02\ns:%u\n" L_.str.1: ## @.str.1 .asciz "output" .no_dead_strip _binary_out_open .subsections_via_symbols
AnghaBench/masscan/src/extr_out-binary.c_binary_out_open.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bridge_port_find ; -- Begin function bridge_port_find .p2align 2 _bridge_port_find: ; @bridge_port_find .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ldr x8, [x8] ldr x9, [sp, #16] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_8 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ldr x8, [x8, #8] ldur x9, [x29, #-8] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: b LBB0_8 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #8] adrp x8, _b_p@GOTPAGE ldr x8, [x8, _b_p@GOTPAGEOFF] ldr w1, [x8] bl _TAILQ_NEXT str x0, [sp, #8] b LBB0_1 LBB0_8: ldr x0, [sp, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _b_p,4,2 ; @b_p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bridge_port_find ## -- Begin function bridge_port_find .p2align 4, 0x90 _bridge_port_find: ## @bridge_port_find .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, -24(%rbp) je LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax movq (%rax), %rax movq -16(%rbp), %rcx cmpq (%rcx), %rax je LBB0_4 ## %bb.3: movq $0, -24(%rbp) jmp LBB0_8 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rax movq 8(%rax), %rax cmpq -8(%rbp), %rax jne LBB0_6 ## %bb.5: jmp LBB0_8 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movq -24(%rbp), %rdi movq _b_p@GOTPCREL(%rip), %rax movl (%rax), %esi callq _TAILQ_NEXT movq %rax, -24(%rbp) jmp LBB0_1 LBB0_8: movq -24(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _b_p,4,2 ## @b_p .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/extr_bridge_port.c_bridge_port_find.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cw1200_reg_write_16 _cw1200_reg_write_16: ; @cw1200_reg_write_16 .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] ldr x8, [sp, #8] mov x0, x8 bl _cpu_to_le32 add x2, sp, #4 str w0, [sp, #4] ldur x0, [x29, #-8] ldr x1, [sp, #16] mov w3, #4 bl _cw1200_reg_write ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _cw1200_reg_write_16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cw1200_reg_write_16 _cw1200_reg_write_16: ## @cw1200_reg_write_16 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -24(%rbp), %rax movl %eax, %edi callq _cpu_to_le32 movl %eax, -28(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi leaq -28(%rbp), %rdx movl $4, %ecx callq _cw1200_reg_write addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cw1200_reg_write_16 .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/st/cw1200/extr_hwio.h_cw1200_reg_write_16.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nullsys ; -- Begin function nullsys .p2align 2 _nullsys: ; @nullsys .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nullsys ## -- Begin function nullsys .p2align 4, 0x90 _nullsys: ## @nullsys .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_subr_xxx.c_nullsys.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_max_attr _get_max_attr: ; @get_max_attr .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #128 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, l_.str@PAGE add x8, x8, l_.str@PAGEOFF str x8, [sp, #8] b LBB0_3 LBB0_2: adrp x8, l_.str.1@PAGE add x8, x8, l_.str.1@PAGEOFF str x8, [sp, #8] b LBB0_3 LBB0_3: ldr x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "input_highest" l_.str.1: ; @.str.1 .asciz "highest" .no_dead_strip _get_max_attr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_max_attr _get_max_attr: ## @get_max_attr .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, -12(%rbp) movl -12(%rbp), %eax subl $128, %eax jne LBB0_2 jmp LBB0_1 LBB0_1: leaq L_.str(%rip), %rax movq %rax, -8(%rbp) jmp LBB0_3 LBB0_2: leaq L_.str.1(%rip), %rax movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "input_highest" L_.str.1: ## @.str.1 .asciz "highest" .no_dead_strip _get_max_attr .subsections_via_symbols
AnghaBench/linux/drivers/hwmon/extr_ibmpowernv.c_get_max_attr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rds_destroy_mr _rds_destroy_mr: ; @rds_destroy_mr .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 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #40] stur x8, [x29, #-16] ; kill: def $x8 killed $xzr str xzr, [sp, #24] ldur x8, [x29, #-8] ldr w8, [x8, #36] str w8, [sp, #12] ; 4-byte Folded Spill ldur x8, [x29, #-8] add x0, x8, #32 bl _atomic_read ldr w1, [sp, #12] ; 4-byte Folded Reload mov x2, x0 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _rdsdebug adrp x8, _RDS_MR_DEAD@GOTPAGE ldr x8, [x8, _RDS_MR_DEAD@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-8] add x1, x8, #28 bl _test_and_set_bit subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_6 LBB0_2: ldur x0, [x29, #-16] ldr x1, [sp, #16] bl _spin_lock_irqsave ldur x8, [x29, #-8] add x0, x8, #24 bl _RB_EMPTY_NODE subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] add x0, x8, #24 ldur x8, [x29, #-16] add x1, x8, #4 bl _rb_erase b LBB0_4 LBB0_4: ldur x8, [x29, #-8] ldr x8, [x8, #16] str x8, [sp, #24] ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #16] ldur x0, [x29, #-16] ldr x1, [sp, #16] bl _spin_unlock_irqrestore ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr x8, [x8] ldr x0, [sp, #24] ldur x9, [x29, #-8] ldr w1, [x9] blr x8 b LBB0_6 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "RDS: destroy mr key is %x refcnt %u\n" .comm _RDS_MR_DEAD,4,2 ; @RDS_MR_DEAD .no_dead_strip _rds_destroy_mr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rds_destroy_mr _rds_destroy_mr: ## @rds_destroy_mr .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 %rdi, -8(%rbp) movq -8(%rbp), %rax movq 40(%rax), %rax movq %rax, -16(%rbp) movq $0, -24(%rbp) movq -8(%rbp), %rax movl 36(%rax), %eax movl %eax, -36(%rbp) ## 4-byte Spill movq -8(%rbp), %rdi addq $32, %rdi callq _atomic_read movl -36(%rbp), %esi ## 4-byte Reload movl %eax, %edx leaq L_.str(%rip), %rdi callq _rdsdebug movq _RDS_MR_DEAD@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rsi addq $28, %rsi callq _test_and_set_bit cmpq $0, %rax je LBB0_2 ## %bb.1: jmp LBB0_6 LBB0_2: movq -16(%rbp), %rdi movq -32(%rbp), %rsi callq _spin_lock_irqsave movq -8(%rbp), %rdi addq $24, %rdi callq _RB_EMPTY_NODE cmpl $0, %eax jne LBB0_4 ## %bb.3: movq -8(%rbp), %rdi addq $24, %rdi movq -16(%rbp), %rsi addq $4, %rsi callq _rb_erase LBB0_4: movq -8(%rbp), %rax movq 16(%rax), %rax movq %rax, -24(%rbp) movq -8(%rbp), %rax movq $0, 16(%rax) movq -16(%rbp), %rdi movq -32(%rbp), %rsi callq _spin_unlock_irqrestore cmpq $0, -24(%rbp) je LBB0_6 ## %bb.5: movq -8(%rbp), %rax movq 8(%rax), %rax movq (%rax), %rax movq -24(%rbp), %rdi movq -8(%rbp), %rcx movl (%rcx), %esi callq *%rax LBB0_6: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "RDS: destroy mr key is %x refcnt %u\n" .comm _RDS_MR_DEAD,4,2 ## @RDS_MR_DEAD .no_dead_strip _rds_destroy_mr .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/rds/extr_rdma.c_rds_destroy_mr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _warpdrive_disable_ddio __warpdrive_disable_ddio: ; @_warpdrive_disable_ddio .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 stur x0, [x29, #-8] mov w8, #65535 str w8, [sp, #20] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-8] adrp x8, _MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE@GOTPAGE ldr x8, [x8, _MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE@GOTPAGEOFF] ldr w3, [x8] ldr w4, [sp, #20] sub x1, x29, #16 sub x2, x29, #12 bl _mpt3sas_config_get_raid_volume_pg1 subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w0, [x29, #-16] bl _le16_to_cpu adrp x8, _MPI2_IOCSTATUS_MASK@GOTPAGE ldr x8, [x8, _MPI2_IOCSTATUS_MASK@GOTPAGEOFF] ldr w8, [x8] and w8, w0, w8 str w8, [sp, #16] ldr w8, [sp, #16] adrp x9, _MPI2_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPAGE ldr x9, [x9, _MPI2_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_7 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldur w0, [x29, #-12] bl _le16_to_cpu str w0, [sp, #20] ldur x0, [x29, #-8] ldr x1, [sp, #8] bl _spin_lock_irqsave ldur x0, [x29, #-8] ldr w1, [sp, #20] bl _mpt3sas_raid_device_find_by_handle str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #24] str xzr, [x8] b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldur x0, [x29, #-8] ldr x1, [sp, #8] bl _spin_unlock_irqrestore b LBB0_1 LBB0_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE,4,2 ; @MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE .comm _MPI2_IOCSTATUS_MASK,4,2 ; @MPI2_IOCSTATUS_MASK .comm _MPI2_IOCSTATUS_CONFIG_INVALID_PAGE,4,2 ; @MPI2_IOCSTATUS_CONFIG_INVALID_PAGE .no_dead_strip __warpdrive_disable_ddio .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _warpdrive_disable_ddio __warpdrive_disable_ddio: ## @_warpdrive_disable_ddio .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 %rdi, -8(%rbp) movl $65535, -36(%rbp) ## imm = 0xFFFF LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rdi movq _MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE@GOTPCREL(%rip), %rax movl (%rax), %ecx movl -36(%rbp), %r8d leaq -24(%rbp), %rsi leaq -16(%rbp), %rdx callq _mpt3sas_config_get_raid_volume_pg1 cmpl $0, %eax setne %al xorb $-1, %al testb $1, %al jne LBB0_2 jmp LBB0_7 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %edi callq _le16_to_cpu movq _MPI2_IOCSTATUS_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -40(%rbp) movl -40(%rbp), %eax movq _MPI2_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_4 ## %bb.3: jmp LBB0_7 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl -16(%rbp), %edi callq _le16_to_cpu movl %eax, -36(%rbp) movq -8(%rbp), %rdi movq -48(%rbp), %rsi callq _spin_lock_irqsave movq -8(%rbp), %rdi movl -36(%rbp), %esi callq _mpt3sas_raid_device_find_by_handle movq %rax, -32(%rbp) cmpq $0, -32(%rbp) je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rax movq $0, (%rax) LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rdi movq -48(%rbp), %rsi callq _spin_unlock_irqrestore jmp LBB0_1 LBB0_7: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE,4,2 ## @MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE .comm _MPI2_IOCSTATUS_MASK,4,2 ## @MPI2_IOCSTATUS_MASK .comm _MPI2_IOCSTATUS_CONFIG_INVALID_PAGE,4,2 ## @MPI2_IOCSTATUS_CONFIG_INVALID_PAGE .no_dead_strip __warpdrive_disable_ddio .subsections_via_symbols
AnghaBench/linux/drivers/scsi/mpt3sas/extr_mpt3sas_warpdrive.c__warpdrive_disable_ddio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usage _usage: ; @usage .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 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "send message to ZMQ recipient, to use with the zmq filters\n" l_.str.1: ; @.str.1 .asciz "usage: zmqsend [OPTIONS]\n" l_.str.2: ; @.str.2 .asciz "\nOptions:\n-b ADDRESS set bind address\n-h print this help\n-i INFILE set INFILE as input file, stdin if omitted\n" .no_dead_strip _usage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usage _usage: ## @usage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi callq _printf leaq L_.str.1(%rip), %rdi callq _printf leaq L_.str.2(%rip), %rdi callq _printf popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "send message to ZMQ recipient, to use with the zmq filters\n" L_.str.1: ## @.str.1 .asciz "usage: zmqsend [OPTIONS]\n" L_.str.2: ## @.str.2 .asciz "\nOptions:\n-b ADDRESS set bind address\n-h print this help\n-i INFILE set INFILE as input file, stdin if omitted\n" .no_dead_strip _usage .subsections_via_symbols
AnghaBench/FFmpeg/tools/extr_zmqsend.c_usage.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function comp_probe_channel _comp_probe_channel: ; @comp_probe_channel .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur x0, [x29, #-16] stur w1, [x29, #-20] stur x2, [x29, #-32] stur x3, [x29, #-40] stur x4, [x29, #-48] str wzr, [sp, #44] ldur x8, [x29, #-16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_21 LBB0_2: ldur x8, [x29, #-32] ldr x8, [x8] adrp x9, _MOST_CH_ASYNC@GOTPAGE ldr x9, [x9, _MOST_CH_ASYNC@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_21 LBB0_4: adrp x0, _probe_disc_mt@GOTPAGE ldr x0, [x0, _probe_disc_mt@GOTPAGEOFF] bl _mutex_lock ldur x0, [x29, #-16] bl _get_net_dev stur x0, [x29, #-56] ldur x8, [x29, #-56] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_5 LBB0_5: adrp x8, _NET_NAME_UNKNOWN@GOTPAGE ldr x8, [x8, _NET_NAME_UNKNOWN@GOTPAGEOFF] ldr w2, [x8] adrp x8, _most_nd_setup@GOTPAGE ldr x8, [x8, _most_nd_setup@GOTPAGEOFF] ldr w3, [x8] mov w0, #40 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _alloc_netdev str x0, [sp, #56] ldr x8, [sp, #56] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _ENOMEM@GOTPAGE ldr x8, [x8, _ENOMEM@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #44] b LBB0_20 LBB0_7: ldr x0, [sp, #56] bl _netdev_priv stur x0, [x29, #-56] ldur x8, [x29, #-16] ldur x9, [x29, #-56] str x8, [x9, #32] ldr x8, [sp, #56] ldur x9, [x29, #-56] str x8, [x9] ldr x1, [sp, #48] adrp x0, _list_lock@GOTPAGE ldr x0, [x0, _list_lock@GOTPAGEOFF] str x0, [sp, #24] ; 8-byte Folded Spill bl _spin_lock_irqsave ldur x8, [x29, #-56] add x0, x8, #24 adrp x1, _net_devices@GOTPAGE ldr x1, [x1, _net_devices@GOTPAGEOFF] bl _list_add ldr x0, [sp, #24] ; 8-byte Folded Reload ldr x1, [sp, #48] bl _spin_unlock_irqrestore ldur x8, [x29, #-32] ldr x8, [x8, #8] adrp x9, _MOST_CH_TX@GOTPAGE ldr x9, [x9, _MOST_CH_TX@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x8, [x29, #-56] add x8, x8, #16 str x8, [sp, #16] ; 8-byte Folded Spill b LBB0_10 LBB0_9: ldur x8, [x29, #-56] add x8, x8, #8 str x8, [sp, #16] ; 8-byte Folded Spill b LBB0_10 LBB0_10: ldr x8, [sp, #16] ; 8-byte Folded Reload str x8, [sp, #64] b LBB0_19 LBB0_11: ldur x8, [x29, #-32] ldr x8, [x8, #8] adrp x9, _MOST_CH_TX@GOTPAGE ldr x9, [x9, _MOST_CH_TX@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ldur x8, [x29, #-56] add x8, x8, #16 str x8, [sp, #8] ; 8-byte Folded Spill b LBB0_14 LBB0_13: ldur x8, [x29, #-56] add x8, x8, #8 str x8, [sp, #8] ; 8-byte Folded Spill b LBB0_14 LBB0_14: ldr x8, [sp, #8] ; 8-byte Folded Reload str x8, [sp, #64] ldr x8, [sp, #64] ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_err ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #44] b LBB0_20 LBB0_16: ldur x8, [x29, #-56] ldr x0, [x8] bl _register_netdev subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _pr_err ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #44] b LBB0_20 LBB0_18: b LBB0_19 LBB0_19: ldur w8, [x29, #-20] ldr x9, [sp, #64] str w8, [x9, #4] ldr x9, [sp, #64] mov w8, #1 str w8, [x9] b LBB0_20 LBB0_20: adrp x0, _probe_disc_mt@GOTPAGE ldr x0, [x0, _probe_disc_mt@GOTPAGEOFF] bl _mutex_unlock ldr w8, [sp, #44] stur w8, [x29, #-4] b LBB0_21 LBB0_21: ldur w0, [x29, #-4] ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _MOST_CH_ASYNC,8,3 ; @MOST_CH_ASYNC .comm _probe_disc_mt,4,2 ; @probe_disc_mt .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "meth%d" .comm _NET_NAME_UNKNOWN,4,2 ; @NET_NAME_UNKNOWN .comm _most_nd_setup,4,2 ; @most_nd_setup .comm _ENOMEM,4,2 ; @ENOMEM .comm _list_lock,4,2 ; @list_lock .comm _net_devices,4,2 ; @net_devices .comm _MOST_CH_TX,8,3 ; @MOST_CH_TX l_.str.1: ; @.str.1 .asciz "direction is allocated\n" l_.str.2: ; @.str.2 .asciz "register_netdev() failed\n" .no_dead_strip _comp_probe_channel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function comp_probe_channel _comp_probe_channel: ## @comp_probe_channel .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $112, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq %rdx, -32(%rbp) movq %rcx, -40(%rbp) movq %r8, -48(%rbp) movl $0, -84(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_21 LBB0_2: movq -32(%rbp), %rax movq (%rax), %rax movq _MOST_CH_ASYNC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_4 ## %bb.3: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_21 LBB0_4: movq _probe_disc_mt@GOTPCREL(%rip), %rdi callq _mutex_lock movq -16(%rbp), %rdi callq _get_net_dev movq %rax, -56(%rbp) cmpq $0, -56(%rbp) jne LBB0_11 ## %bb.5: movq _NET_NAME_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %edx movq _most_nd_setup@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $40, %edi leaq L_.str(%rip), %rsi callq _alloc_netdev movq %rax, -72(%rbp) cmpq $0, -72(%rbp) jne LBB0_7 ## %bb.6: xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -84(%rbp) jmp LBB0_20 LBB0_7: movq -72(%rbp), %rdi callq _netdev_priv movq %rax, -56(%rbp) movq -16(%rbp), %rcx movq -56(%rbp), %rax movq %rcx, 32(%rax) movq -72(%rbp), %rcx movq -56(%rbp), %rax movq %rcx, (%rax) movq -80(%rbp), %rsi movq _list_lock@GOTPCREL(%rip), %rdi callq _spin_lock_irqsave movq -56(%rbp), %rdi addq $24, %rdi movq _net_devices@GOTPCREL(%rip), %rsi callq _list_add movq -80(%rbp), %rsi movq _list_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_irqrestore movq -32(%rbp), %rax movq 8(%rax), %rax movq _MOST_CH_TX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_9 ## %bb.8: movq -56(%rbp), %rax addq $16, %rax movq %rax, -96(%rbp) ## 8-byte Spill jmp LBB0_10 LBB0_9: movq -56(%rbp), %rax addq $8, %rax movq %rax, -96(%rbp) ## 8-byte Spill LBB0_10: movq -96(%rbp), %rax ## 8-byte Reload movq %rax, -64(%rbp) jmp LBB0_19 LBB0_11: movq -32(%rbp), %rax movq 8(%rax), %rax movq _MOST_CH_TX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_13 ## %bb.12: movq -56(%rbp), %rax addq $16, %rax movq %rax, -104(%rbp) ## 8-byte Spill jmp LBB0_14 LBB0_13: movq -56(%rbp), %rax addq $8, %rax movq %rax, -104(%rbp) ## 8-byte Spill LBB0_14: movq -104(%rbp), %rax ## 8-byte Reload movq %rax, -64(%rbp) movq -64(%rbp), %rax cmpl $0, (%rax) je LBB0_16 ## %bb.15: leaq L_.str.1(%rip), %rdi callq _pr_err xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -84(%rbp) jmp LBB0_20 LBB0_16: movq -56(%rbp), %rax movq (%rax), %rdi callq _register_netdev cmpq $0, %rax je LBB0_18 ## %bb.17: leaq L_.str.2(%rip), %rdi callq _pr_err xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -84(%rbp) jmp LBB0_20 LBB0_18: jmp LBB0_19 LBB0_19: movl -20(%rbp), %ecx movq -64(%rbp), %rax movl %ecx, 4(%rax) movq -64(%rbp), %rax movl $1, (%rax) LBB0_20: movq _probe_disc_mt@GOTPCREL(%rip), %rdi callq _mutex_unlock movl -84(%rbp), %eax movl %eax, -4(%rbp) LBB0_21: movl -4(%rbp), %eax addq $112, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _MOST_CH_ASYNC,8,3 ## @MOST_CH_ASYNC .comm _probe_disc_mt,4,2 ## @probe_disc_mt .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "meth%d" .comm _NET_NAME_UNKNOWN,4,2 ## @NET_NAME_UNKNOWN .comm _most_nd_setup,4,2 ## @most_nd_setup .comm _ENOMEM,4,2 ## @ENOMEM .comm _list_lock,4,2 ## @list_lock .comm _net_devices,4,2 ## @net_devices .comm _MOST_CH_TX,8,3 ## @MOST_CH_TX L_.str.1: ## @.str.1 .asciz "direction is allocated\n" L_.str.2: ## @.str.2 .asciz "register_netdev() failed\n" .no_dead_strip _comp_probe_channel .subsections_via_symbols
AnghaBench/linux/drivers/staging/most/net/extr_net.c_comp_probe_channel.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mt2701_calculate_factor _mt2701_calculate_factor: ; @mt2701_calculate_factor .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] ldr w8, [sp, #8] mov w9, #64000 subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #4 str w8, [sp, #12] b LBB0_5 LBB0_2: ldr w8, [sp, #8] mov w9, #62464 movk w9, #1, lsl #16 subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: mov w8, #2 str w8, [sp, #12] b LBB0_5 LBB0_4: mov w8, #1 str w8, [sp, #12] b LBB0_5 LBB0_5: ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _mt2701_calculate_factor .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mt2701_calculate_factor _mt2701_calculate_factor: ## @mt2701_calculate_factor .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, -8(%rbp) cmpl $64000, -8(%rbp) ## imm = 0xFA00 jg LBB0_2 ## %bb.1: movl $4, -4(%rbp) jmp LBB0_5 LBB0_2: cmpl $128000, -8(%rbp) ## imm = 0x1F400 jg LBB0_4 ## %bb.3: movl $2, -4(%rbp) jmp LBB0_5 LBB0_4: movl $1, -4(%rbp) LBB0_5: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mt2701_calculate_factor .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_dpi.c_mt2701_calculate_factor.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function i_APCI3200_CommandTestAnalogInput lCPI0_0: .quad 0x408f400000000000 ; double 1000 .section __TEXT,__text,regular,pure_instructions .globl _i_APCI3200_CommandTestAnalogInput .p2align 2 _i_APCI3200_CommandTestAnalogInput: ; @i_APCI3200_CommandTestAnalogInput .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x9, _TRIG_EXT@GOTPAGE ldr x9, [x9, _TRIG_EXT@GOTPAGEOFF] str x9, [sp] ; 8-byte Folded Spill adrp x8, _TRIG_TIMER@GOTPAGE ldr x8, [x8, _TRIG_TIMER@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill adrp x8, _TRIG_FOLLOW@GOTPAGE ldr x8, [x8, _TRIG_FOLLOW@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x8, _TRIG_COUNT@GOTPAGE ldr x8, [x8, _TRIG_COUNT@GOTPAGEOFF] str x8, [sp, #24] ; 8-byte Folded Spill adrp x8, _s_BoardInfos@GOTPAGE ldr x8, [x8, _s_BoardInfos@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur x0, [x29, #-16] stur x1, [x29, #-24] stur x2, [x29, #-32] stur wzr, [x29, #-36] stur wzr, [x29, #-44] stur wzr, [x29, #-48] stur wzr, [x29, #-52] stur wzr, [x29, #-56] stur wzr, [x29, #-60] str wzr, [sp, #64] str wzr, [sp, #60] str wzr, [sp, #56] movi d0, #0000000000000000 str d0, [sp, #48] str d0, [sp, #40] ldur x8, [x29, #-32] ldr w8, [x8] stur w8, [x29, #-40] adrp x8, _TRIG_NOW@GOTPAGE ldr x8, [x8, _TRIG_NOW@GOTPAGEOFF] ldr w8, [x8] ldr w9, [x9] orr w10, w8, w9 ldur x9, [x29, #-32] ldr w8, [x9] and w8, w8, w10 str w8, [x9] ldur x8, [x29, #-32] ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur w8, [x29, #-40] ldur x9, [x29, #-32] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_3 LBB0_3: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #8] ; 8-byte Folded Reload ldur x10, [x29, #-32] ldr w10, [x10, #4] stur w10, [x29, #-40] ldr w8, [x8] ldr w9, [x9] orr w10, w8, w9 ldur x9, [x29, #-32] ldr w8, [x9, #4] and w8, w8, w10 str w8, [x9, #4] ldur x8, [x29, #-32] ldr w8, [x8, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur w8, [x29, #-40] ldur x9, [x29, #-32] ldr w9, [x9, #4] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_6 LBB0_6: ldr x8, [sp, #8] ; 8-byte Folded Reload ldur x9, [x29, #-32] ldr w9, [x9, #8] stur w9, [x29, #-40] ldr w10, [x8] ldur x9, [x29, #-32] ldr w8, [x9, #8] and w8, w8, w10 str w8, [x9, #8] ldur x8, [x29, #-32] ldr w8, [x8, #8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur w8, [x29, #-40] ldur x9, [x29, #-32] ldr w9, [x9, #8] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_9 LBB0_9: ldr x8, [sp, #24] ; 8-byte Folded Reload ldur x9, [x29, #-32] ldr w9, [x9, #12] stur w9, [x29, #-40] ldr w10, [x8] ldur x9, [x29, #-32] ldr w8, [x9, #12] and w8, w8, w10 str w8, [x9, #12] ldur x8, [x29, #-32] ldr w8, [x8, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur w8, [x29, #-40] ldur x9, [x29, #-32] ldr w9, [x9, #12] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_12 LBB0_12: ldr x8, [sp, #24] ; 8-byte Folded Reload ldur x9, [x29, #-32] ldr w9, [x9, #16] stur w9, [x29, #-40] ldr w8, [x8] adrp x9, _TRIG_NONE@GOTPAGE ldr x9, [x9, _TRIG_NONE@GOTPAGEOFF] ldr w9, [x9] orr w10, w8, w9 ldur x9, [x29, #-32] ldr w8, [x9, #16] and w8, w8, w10 str w8, [x9, #16] ldur x8, [x29, #-32] ldr w8, [x8, #16] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ldur w8, [x29, #-40] ldur x9, [x29, #-32] ldr w9, [x9, #16] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_15 LBB0_15: ldr x8, [sp, #32] ; 8-byte Folded Reload ldr x8, [x8] ldur x9, [x29, #-16] ldr x9, [x9] lsl x9, x9, #4 ldr x8, [x8, x9] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_17 LBB0_17: ldur w8, [x29, #-36] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldur x0, [x29, #-16] bl _i_APCI3200_Reset mov w8, #1 stur w8, [x29, #-4] b LBB0_78 LBB0_19: ldur x8, [x29, #-32] ldr w8, [x8] adrp x9, _TRIG_NOW@GOTPAGE ldr x9, [x9, _TRIG_NOW@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_20 LBB0_20: ldr x9, [sp] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_22 LBB0_22: ldr x9, [sp] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_29 b LBB0_23 LBB0_23: ldur x8, [x29, #-32] ldrh w8, [x8, #20] str w8, [sp, #64] ldur x8, [x29, #-32] ldr w8, [x8, #20] asr w8, w8, #16 stur w8, [x29, #-60] ldr w8, [sp, #64] subs w8, w8, #1 cset w8, lt tbnz w8, #0, LBB0_25 b LBB0_24 LBB0_24: ldr w8, [sp, #64] subs w8, w8, #3 cset w8, le tbnz w8, #0, LBB0_26 b LBB0_25 LBB0_25: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printk b LBB0_26 LBB0_26: ldur w8, [x29, #-60] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB0_28 b LBB0_27 LBB0_27: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printk b LBB0_28 LBB0_28: b LBB0_29 LBB0_29: ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8, #4] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_32 b LBB0_30 LBB0_30: ldr x9, [sp, #16] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8, #4] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_32 b LBB0_31 LBB0_31: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_32 LBB0_32: ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8, #8] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_34 b LBB0_33 LBB0_33: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_34 LBB0_34: ldr x9, [sp, #24] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8, #12] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_36 b LBB0_35 LBB0_35: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w8, [x8] ldur x9, [x29, #-32] str w8, [x9, #12] ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_36 LBB0_36: ldur x8, [x29, #-32] ldr w8, [x8, #16] adrp x9, _TRIG_NONE@GOTPAGE ldr x9, [x9, _TRIG_NONE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_39 b LBB0_37 LBB0_37: ldr x9, [sp, #24] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8, #16] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_39 b LBB0_38 LBB0_38: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_39 LBB0_39: ldur w8, [x29, #-36] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_41 b LBB0_40 LBB0_40: ldur x0, [x29, #-16] bl _i_APCI3200_Reset mov w8, #2 stur w8, [x29, #-4] b LBB0_78 LBB0_41: ldr x9, [sp, #8] ; 8-byte Folded Reload ldr x10, [sp, #32] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr x8, [x8, #24] ldr w8, [x8] ldr x11, [x10] ldur x12, [x29, #-16] ldr x12, [x12] add x11, x11, x12, lsl #4 str w8, [x11, #8] ldur x8, [x29, #-32] ldr x8, [x8, #24] ldr w8, [x8, #4] ldr x10, [x10] ldur x11, [x29, #-16] ldr x11, [x11] add x10, x10, x11, lsl #4 str w8, [x10, #12] ldur x8, [x29, #-32] ldr w8, [x8, #8] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_50 b LBB0_42 LBB0_42: ldur x8, [x29, #-32] ldrh w8, [x8, #32] stur w8, [x29, #-44] ldur x8, [x29, #-32] ldr w8, [x8, #32] asr w8, w8, #16 stur w8, [x29, #-48] ldur w8, [x29, #-44] subs w8, w8, #20 cset w8, eq tbnz w8, #0, LBB0_47 b LBB0_43 LBB0_43: ldur w8, [x29, #-44] subs w8, w8, #40 cset w8, eq tbnz w8, #0, LBB0_47 b LBB0_44 LBB0_44: ldur w8, [x29, #-44] subs w8, w8, #80 cset w8, eq tbnz w8, #0, LBB0_47 b LBB0_45 LBB0_45: ldur w8, [x29, #-44] subs w8, w8, #160 cset w8, eq tbnz w8, #0, LBB0_47 b LBB0_46 LBB0_46: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printk ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_47 LBB0_47: ldur w8, [x29, #-48] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB0_49 b LBB0_48 LBB0_48: adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printk ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_49 LBB0_49: b LBB0_51 LBB0_50: stur wzr, [x29, #-44] stur wzr, [x29, #-48] b LBB0_51 LBB0_51: ldr x9, [sp, #16] ; 8-byte Folded Reload ldur x8, [x29, #-32] ldr w8, [x8, #4] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_53 b LBB0_52 LBB0_52: stur wzr, [x29, #-52] stur wzr, [x29, #-56] b LBB0_75 LBB0_53: ldur x8, [x29, #-32] ldrh w8, [x8, #36] stur w8, [x29, #-52] ldur x8, [x29, #-32] ldr w8, [x8, #36] asr w8, w8, #16 stur w8, [x29, #-56] ldur w8, [x29, #-56] subs w8, w8, #2 cset w8, eq tbnz w8, #0, LBB0_56 b LBB0_54 LBB0_54: ldur w8, [x29, #-56] subs w8, w8, #3 cset w8, eq tbnz w8, #0, LBB0_56 b LBB0_55 LBB0_55: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printk b LBB0_56 LBB0_56: ldur w8, [x29, #-52] subs w8, w8, #1 cset w8, lo tbnz w8, #0, LBB0_58 b LBB0_57 LBB0_57: ldur w8, [x29, #-52] subs w8, w8, #1023 cset w8, ls tbnz w8, #0, LBB0_59 b LBB0_58 LBB0_58: ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printk b LBB0_59 LBB0_59: ldur w8, [x29, #-36] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_61 b LBB0_60 LBB0_60: ldur x0, [x29, #-16] bl _i_APCI3200_Reset mov w8, #3 stur w8, [x29, #-4] b LBB0_78 LBB0_61: bl _fpu_begin ldr x9, [sp, #32] ; 8-byte Folded Reload ldur s1, [x29, #-52] ; implicit-def: $d0 fmov s0, s1 ucvtf d0, d0 str d0, [sp, #40] ldr x8, [x9] ldur x10, [x29, #-16] ldr x10, [x10] add x8, x8, x10, lsl #4 ldr w8, [x8, #12] ldr x9, [x9] ldur x10, [x29, #-16] ldr x10, [x10] add x9, x9, x10, lsl #4 ldr w9, [x9, #8] subs w8, w8, w9 add w8, w8, #4 str w8, [sp, #60] ldur s1, [x29, #-44] ; implicit-def: $d0 fmov s0, s1 ucvtf d0, d0 ldr s2, [sp, #60] ; implicit-def: $d1 fmov s1, s2 sshll.2d v1, v1, #0 ; kill: def $d1 killed $d1 killed $q1 scvtf d1, d1 fdiv d0, d0, d1 str d0, [sp, #48] ldr d1, [sp, #48] fmov d0, #1.00000000 fdiv d0, d0, d1 str d0, [sp, #48] mov w8, #3 stur w8, [x29, #-48] ldur w8, [x29, #-56] ldur w9, [x29, #-48] subs w8, w8, w9 cset w8, hi tbnz w8, #0, LBB0_67 b LBB0_62 LBB0_62: str wzr, [sp, #56] b LBB0_63 LBB0_63: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #56] ldur w9, [x29, #-48] ldur w10, [x29, #-56] subs w9, w9, w10 subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_66 b LBB0_64 LBB0_64: ; in Loop: Header=BB0_63 Depth=1 ldr d0, [sp, #48] adrp x8, lCPI0_0@PAGE ldr d1, [x8, lCPI0_0@PAGEOFF] fmul d0, d0, d1 str d0, [sp, #48] ldr d0, [sp, #48] fmov d1, #1.00000000 fadd d0, d0, d1 str d0, [sp, #48] b LBB0_65 LBB0_65: ; in Loop: Header=BB0_63 Depth=1 ldr w8, [sp, #56] add w8, w8, #1 str w8, [sp, #56] b LBB0_63 LBB0_66: b LBB0_72 LBB0_67: str wzr, [sp, #56] b LBB0_68 LBB0_68: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #56] ldur w9, [x29, #-56] ldur w10, [x29, #-48] subs w9, w9, w10 subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_71 b LBB0_69 LBB0_69: ; in Loop: Header=BB0_68 Depth=1 ldr d0, [sp, #40] adrp x8, lCPI0_0@PAGE ldr d1, [x8, lCPI0_0@PAGEOFF] fmul d0, d0, d1 str d0, [sp, #40] b LBB0_70 LBB0_70: ; in Loop: Header=BB0_68 Depth=1 ldr w8, [sp, #56] add w8, w8, #1 str w8, [sp, #56] b LBB0_68 LBB0_71: b LBB0_72 LBB0_72: ldr d0, [sp, #48] ldr d1, [sp, #40] fcmp d0, d1 cset w8, lt tbnz w8, #0, LBB0_74 b LBB0_73 LBB0_73: adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printk ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_74 LBB0_74: bl _fpu_end b LBB0_75 LBB0_75: ldur w8, [x29, #-36] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_77 b LBB0_76 LBB0_76: ldur x0, [x29, #-16] bl _i_APCI3200_Reset mov w8, #4 stur w8, [x29, #-4] b LBB0_78 LBB0_77: stur wzr, [x29, #-4] b LBB0_78 LBB0_78: ldur w0, [x29, #-4] ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .comm _TRIG_NOW,4,2 ; @TRIG_NOW .comm _TRIG_EXT,4,2 ; @TRIG_EXT .comm _TRIG_TIMER,4,2 ; @TRIG_TIMER .comm _TRIG_FOLLOW,4,2 ; @TRIG_FOLLOW .comm _TRIG_COUNT,4,2 ; @TRIG_COUNT .comm _TRIG_NONE,4,2 ; @TRIG_NONE .comm _s_BoardInfos,8,3 ; @s_BoardInfos .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nThe trigger edge selection is in error\n" l_.str.1: ; @.str.1 .asciz "\nThe trigger mode selection is in error\n" l_.str.2: ; @.str.2 .asciz "\nThe selection of conversion time reload value is in error\n" l_.str.3: ; @.str.3 .asciz "\nThe selection of conversion time unit is in error\n" l_.str.4: ; @.str.4 .asciz "\nThe Delay time base selection is in error\n" l_.str.5: ; @.str.5 .asciz "\nThe Delay time value is in error\n" l_.str.6: ; @.str.6 .asciz "\nSCAN Delay value cannot be used\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function i_APCI3200_CommandTestAnalogInput LCPI0_0: .quad 0x3ff0000000000000 ## double 1 LCPI0_1: .quad 0x408f400000000000 ## double 1000 .section __TEXT,__text,regular,pure_instructions .globl _i_APCI3200_CommandTestAnalogInput .p2align 4, 0x90 _i_APCI3200_CommandTestAnalogInput: ## @i_APCI3200_CommandTestAnalogInput .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movl $0, -36(%rbp) movl $0, -44(%rbp) movl $0, -48(%rbp) movl $0, -52(%rbp) movl $0, -56(%rbp) movl $0, -60(%rbp) movl $0, -64(%rbp) movl $0, -68(%rbp) movl $0, -72(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -80(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -88(%rbp) movq -32(%rbp), %rax movl (%rax), %eax movl %eax, -40(%rbp) movq _TRIG_NOW@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _TRIG_EXT@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -32(%rbp), %rax andl (%rax), %ecx movl %ecx, (%rax) movq -32(%rbp), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movl -40(%rbp), %eax movq -32(%rbp), %rcx cmpl (%rcx), %eax je LBB0_3 LBB0_2: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_3: movq -32(%rbp), %rax movl 4(%rax), %eax movl %eax, -40(%rbp) movq _TRIG_TIMER@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _TRIG_FOLLOW@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -32(%rbp), %rax andl 4(%rax), %ecx movl %ecx, 4(%rax) movq -32(%rbp), %rax cmpl $0, 4(%rax) je LBB0_5 ## %bb.4: movl -40(%rbp), %eax movq -32(%rbp), %rcx cmpl 4(%rcx), %eax je LBB0_6 LBB0_5: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_6: movq -32(%rbp), %rax movl 8(%rax), %eax movl %eax, -40(%rbp) movq _TRIG_TIMER@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax andl 8(%rax), %ecx movl %ecx, 8(%rax) movq -32(%rbp), %rax cmpl $0, 8(%rax) je LBB0_8 ## %bb.7: movl -40(%rbp), %eax movq -32(%rbp), %rcx cmpl 8(%rcx), %eax je LBB0_9 LBB0_8: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_9: movq -32(%rbp), %rax movl 12(%rax), %eax movl %eax, -40(%rbp) movq _TRIG_COUNT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax andl 12(%rax), %ecx movl %ecx, 12(%rax) movq -32(%rbp), %rax cmpl $0, 12(%rax) je LBB0_11 ## %bb.10: movl -40(%rbp), %eax movq -32(%rbp), %rcx cmpl 12(%rcx), %eax je LBB0_12 LBB0_11: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_12: movq -32(%rbp), %rax movl 16(%rax), %eax movl %eax, -40(%rbp) movq _TRIG_COUNT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _TRIG_NONE@GOTPCREL(%rip), %rax orl (%rax), %ecx movq -32(%rbp), %rax andl 16(%rax), %ecx movl %ecx, 16(%rax) movq -32(%rbp), %rax cmpl $0, 16(%rax) je LBB0_14 ## %bb.13: movl -40(%rbp), %eax movq -32(%rbp), %rcx cmpl 16(%rcx), %eax je LBB0_15 LBB0_14: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_15: movq _s_BoardInfos@GOTPCREL(%rip), %rax movq (%rax), %rax movq -16(%rbp), %rcx movq (%rcx), %rcx shlq $4, %rcx addq %rcx, %rax cmpq $0, (%rax) jne LBB0_17 ## %bb.16: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_17: cmpl $0, -36(%rbp) je LBB0_19 ## %bb.18: movq -16(%rbp), %rdi callq _i_APCI3200_Reset movl $1, -4(%rbp) jmp LBB0_78 LBB0_19: movq -32(%rbp), %rax movl (%rax), %eax movq _TRIG_NOW@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_22 ## %bb.20: movq -32(%rbp), %rax movl (%rax), %eax movq _TRIG_EXT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_22 ## %bb.21: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_22: movq -32(%rbp), %rax movl (%rax), %eax movq _TRIG_EXT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_29 ## %bb.23: movq -32(%rbp), %rax movl 20(%rax), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -64(%rbp) movq -32(%rbp), %rax movl 20(%rax), %eax sarl $16, %eax movl %eax, -60(%rbp) cmpl $1, -64(%rbp) jl LBB0_25 ## %bb.24: cmpl $3, -64(%rbp) jle LBB0_26 LBB0_25: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) leaq L_.str(%rip), %rdi callq _printk LBB0_26: cmpl $2, -60(%rbp) je LBB0_28 ## %bb.27: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) leaq L_.str.1(%rip), %rdi callq _printk LBB0_28: jmp LBB0_29 LBB0_29: movq -32(%rbp), %rax movl 4(%rax), %eax movq _TRIG_TIMER@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_32 ## %bb.30: movq -32(%rbp), %rax movl 4(%rax), %eax movq _TRIG_FOLLOW@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_32 ## %bb.31: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_32: movq -32(%rbp), %rax movl 8(%rax), %eax movq _TRIG_TIMER@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_34 ## %bb.33: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_34: movq -32(%rbp), %rax movl 12(%rax), %eax movq _TRIG_COUNT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_36 ## %bb.35: movq _TRIG_COUNT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, 12(%rax) movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_36: movq -32(%rbp), %rax movl 16(%rax), %eax movq _TRIG_NONE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_39 ## %bb.37: movq -32(%rbp), %rax movl 16(%rax), %eax movq _TRIG_COUNT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_39 ## %bb.38: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_39: cmpl $0, -36(%rbp) je LBB0_41 ## %bb.40: movq -16(%rbp), %rdi callq _i_APCI3200_Reset movl $2, -4(%rbp) jmp LBB0_78 LBB0_41: movq -32(%rbp), %rax movq 24(%rax), %rax movl (%rax), %ecx movq _s_BoardInfos@GOTPCREL(%rip), %rax movq (%rax), %rax movq -16(%rbp), %rdx movq (%rdx), %rdx shlq $4, %rdx addq %rdx, %rax movl %ecx, 8(%rax) movq -32(%rbp), %rax movq 24(%rax), %rax movl 4(%rax), %ecx movq _s_BoardInfos@GOTPCREL(%rip), %rax movq (%rax), %rax movq -16(%rbp), %rdx movq (%rdx), %rdx shlq $4, %rdx addq %rdx, %rax movl %ecx, 12(%rax) movq -32(%rbp), %rax movl 8(%rax), %eax movq _TRIG_TIMER@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_50 ## %bb.42: movq -32(%rbp), %rax movl 32(%rax), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -44(%rbp) movq -32(%rbp), %rax movl 32(%rax), %eax sarl $16, %eax movl %eax, -48(%rbp) cmpl $20, -44(%rbp) je LBB0_47 ## %bb.43: cmpl $40, -44(%rbp) je LBB0_47 ## %bb.44: cmpl $80, -44(%rbp) je LBB0_47 ## %bb.45: cmpl $160, -44(%rbp) je LBB0_47 ## %bb.46: leaq L_.str.2(%rip), %rdi callq _printk movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_47: cmpl $2, -48(%rbp) je LBB0_49 ## %bb.48: leaq L_.str.3(%rip), %rdi callq _printk movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_49: jmp LBB0_51 LBB0_50: movl $0, -44(%rbp) movl $0, -48(%rbp) LBB0_51: movq -32(%rbp), %rax movl 4(%rax), %eax movq _TRIG_FOLLOW@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_53 ## %bb.52: movl $0, -52(%rbp) movl $0, -56(%rbp) jmp LBB0_75 LBB0_53: movq -32(%rbp), %rax movl 36(%rax), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -52(%rbp) movq -32(%rbp), %rax movl 36(%rax), %eax sarl $16, %eax movl %eax, -56(%rbp) cmpl $2, -56(%rbp) je LBB0_56 ## %bb.54: cmpl $3, -56(%rbp) je LBB0_56 ## %bb.55: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) leaq L_.str.4(%rip), %rdi callq _printk LBB0_56: cmpl $1, -52(%rbp) jb LBB0_58 ## %bb.57: cmpl $1023, -52(%rbp) ## imm = 0x3FF jbe LBB0_59 LBB0_58: movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) leaq L_.str.5(%rip), %rdi callq _printk LBB0_59: cmpl $0, -36(%rbp) je LBB0_61 ## %bb.60: movq -16(%rbp), %rdi callq _i_APCI3200_Reset movl $3, -4(%rbp) jmp LBB0_78 LBB0_61: xorl %eax, %eax ## kill: def $al killed $al killed $eax callq _fpu_begin movl -52(%rbp), %eax ## kill: def $rax killed $eax cvtsi2sd %rax, %xmm0 movsd %xmm0, -88(%rbp) movq _s_BoardInfos@GOTPCREL(%rip), %rax movq (%rax), %rax movq -16(%rbp), %rcx movq (%rcx), %rdx shlq $4, %rdx movl 8(%rax,%rdx), %ecx movl 12(%rax,%rdx), %eax subl %ecx, %eax addl $4, %eax movl %eax, -68(%rbp) movl -44(%rbp), %eax ## kill: def $rax killed $eax cvtsi2sd %rax, %xmm0 cvtsi2sdl -68(%rbp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, -80(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero divsd -80(%rbp), %xmm0 movsd %xmm0, -80(%rbp) movl $3, -48(%rbp) movl -56(%rbp), %eax cmpl -48(%rbp), %eax ja LBB0_67 ## %bb.62: movl $0, -72(%rbp) LBB0_63: ## =>This Inner Loop Header: Depth=1 movl -72(%rbp), %eax movl -48(%rbp), %ecx subl -56(%rbp), %ecx cmpl %ecx, %eax jae LBB0_66 ## %bb.64: ## in Loop: Header=BB0_63 Depth=1 movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd -80(%rbp), %xmm0 movsd %xmm0, -80(%rbp) movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero addsd -80(%rbp), %xmm0 movsd %xmm0, -80(%rbp) ## %bb.65: ## in Loop: Header=BB0_63 Depth=1 movl -72(%rbp), %eax addl $1, %eax movl %eax, -72(%rbp) jmp LBB0_63 LBB0_66: jmp LBB0_72 LBB0_67: movl $0, -72(%rbp) LBB0_68: ## =>This Inner Loop Header: Depth=1 movl -72(%rbp), %eax movl -56(%rbp), %ecx subl -48(%rbp), %ecx cmpl %ecx, %eax jae LBB0_71 ## %bb.69: ## in Loop: Header=BB0_68 Depth=1 movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero mulsd -88(%rbp), %xmm0 movsd %xmm0, -88(%rbp) ## %bb.70: ## in Loop: Header=BB0_68 Depth=1 movl -72(%rbp), %eax addl $1, %eax movl %eax, -72(%rbp) jmp LBB0_68 LBB0_71: jmp LBB0_72 LBB0_72: movsd -80(%rbp), %xmm0 ## xmm0 = mem[0],zero ucomisd -88(%rbp), %xmm0 jb LBB0_74 ## %bb.73: leaq L_.str.6(%rip), %rdi callq _printk movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) LBB0_74: movb $0, %al callq _fpu_end LBB0_75: cmpl $0, -36(%rbp) je LBB0_77 ## %bb.76: movq -16(%rbp), %rdi callq _i_APCI3200_Reset movl $4, -4(%rbp) jmp LBB0_78 LBB0_77: movl $0, -4(%rbp) LBB0_78: movl -4(%rbp), %eax addq $96, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TRIG_NOW,4,2 ## @TRIG_NOW .comm _TRIG_EXT,4,2 ## @TRIG_EXT .comm _TRIG_TIMER,4,2 ## @TRIG_TIMER .comm _TRIG_FOLLOW,4,2 ## @TRIG_FOLLOW .comm _TRIG_COUNT,4,2 ## @TRIG_COUNT .comm _TRIG_NONE,4,2 ## @TRIG_NONE .comm _s_BoardInfos,8,3 ## @s_BoardInfos .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nThe trigger edge selection is in error\n" L_.str.1: ## @.str.1 .asciz "\nThe trigger mode selection is in error\n" L_.str.2: ## @.str.2 .asciz "\nThe selection of conversion time reload value is in error\n" L_.str.3: ## @.str.3 .asciz "\nThe selection of conversion time unit is in error\n" L_.str.4: ## @.str.4 .asciz "\nThe Delay time base selection is in error\n" L_.str.5: ## @.str.5 .asciz "\nThe Delay time value is in error\n" L_.str.6: ## @.str.6 .asciz "\nSCAN Delay value cannot be used\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-datahwdrv_apci3200.c_i_APCI3200_CommandTestAnalogInput.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parse_bw_intel ; -- Begin function parse_bw_intel .p2align 2 _parse_bw_intel: ; @parse_bw_intel .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 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ldr w1, [x8, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _rdt_last_cmd_printf adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldur x8, [x29, #-16] ldr w0, [x8] ldr x2, [sp, #24] add x1, sp, #8 bl _bw_validate subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_4: ldr x8, [sp, #8] ldr x9, [sp, #16] str x8, [x9, #8] ldr x9, [sp, #16] mov w8, #1 str w8, [x9] stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Duplicate domain %d\n" .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parse_bw_intel ## -- Begin function parse_bw_intel .p2align 4, 0x90 _parse_bw_intel: ## @parse_bw_intel .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -32(%rbp), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq -32(%rbp), %rax movl 16(%rax), %esi leaq L_.str(%rip), %rdi callq _rdt_last_cmd_printf xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movq -16(%rbp), %rax movl (%rax), %edi movq -24(%rbp), %rdx leaq -40(%rbp), %rsi callq _bw_validate cmpl $0, %eax jne LBB0_4 ## %bb.3: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movq -40(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 8(%rax) movq -32(%rbp), %rax movl $1, (%rax) movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Duplicate domain %d\n" .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
AnghaBench/linux/arch/x86/kernel/cpu/resctrl/extr_ctrlmondata.c_parse_bw_intel.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ecore_int_is_parity_flag _ecore_int_is_parity_flag: ; @ecore_int_is_parity_flag .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x0, [sp, #8] ldr x1, [sp] bl _ecore_int_aeu_translate ldr w8, [x0] adrp x9, _ATTENTION_PARITY@GOTPAGE ldr x9, [x9, _ATTENTION_PARITY@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne and w0, w8, #0x1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _ATTENTION_PARITY,4,2 ; @ATTENTION_PARITY .no_dead_strip _ecore_int_is_parity_flag .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ecore_int_is_parity_flag _ecore_int_is_parity_flag: ## @ecore_int_is_parity_flag .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _ecore_int_aeu_translate movl (%rax), %eax movq _ATTENTION_PARITY@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax setne %al xorb $-1, %al xorb $-1, %al andb $1, %al movzbl %al, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ATTENTION_PARITY,4,2 ## @ATTENTION_PARITY .no_dead_strip _ecore_int_is_parity_flag .subsections_via_symbols
AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_int_is_parity_flag.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hostapd_eid_spatial_reuse ; -- Begin function hostapd_eid_spatial_reuse .p2align 2 _hostapd_eid_spatial_reuse: ; @hostapd_eid_spatial_reuse .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x8, [x29, #-24] str x8, [sp, #24] mov w8, #1 str w8, [sp, #12] ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-24] stur x8, [x29, #-8] b LBB0_11 LBB0_2: ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8] adrp x9, _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT@GOTPAGE ldr x9, [x9, _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_4 LBB0_4: ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8] adrp x9, _SPATIAL_REUSE_SRG_INFORMATION_PRESENT@GOTPAGE ldr x9, [x9, _SPATIAL_REUSE_SRG_INFORMATION_PRESENT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr w8, [sp, #12] add w8, w8, #18 str w8, [sp, #12] b LBB0_6 LBB0_6: adrp x8, _WLAN_EID_EXTENSION@GOTPAGE ldr x8, [x8, _WLAN_EID_EXTENSION@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp, #24] add x10, x9, #4 str x10, [sp, #24] str w8, [x9] ldr w8, [sp, #12] add w8, w8, #1 ldr x9, [sp, #24] add x10, x9, #4 str x10, [sp, #24] str w8, [x9] adrp x8, _WLAN_EID_EXT_SPATIAL_REUSE@GOTPAGE ldr x8, [x8, _WLAN_EID_EXT_SPATIAL_REUSE@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #24] add x10, x9, #4 str x10, [sp, #24] ; kill: def $w8 killed $w8 killed $x8 str w8, [x9] ldr x8, [sp, #24] str x8, [sp, #32] ldr x0, [sp, #32] mov w1, #0 mov w2, #16 bl _os_memset ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8] ldr x9, [sp, #32] str w8, [x9] ldr x8, [sp, #24] add x8, x8, #4 str x8, [sp, #24] ldr x8, [sp, #32] ldr x8, [x8, #8] str x8, [sp, #16] ldr x8, [sp, #32] ldr w8, [x8] adrp x9, _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT@GOTPAGE ldr x9, [x9, _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8, #12] ldr x9, [sp, #16] add x10, x9, #4 str x10, [sp, #16] str w8, [x9] ldr x8, [sp, #24] add x8, x8, #4 str x8, [sp, #24] b LBB0_8 LBB0_8: ldr x8, [sp, #32] ldr w8, [x8] adrp x9, _SPATIAL_REUSE_SRG_INFORMATION_PRESENT@GOTPAGE ldr x9, [x9, _SPATIAL_REUSE_SRG_INFORMATION_PRESENT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8, #8] ldr x9, [sp, #16] add x10, x9, #4 str x10, [sp, #16] str w8, [x9] ldur x8, [x29, #-16] ldr x8, [x8] ldr x8, [x8] ldr w8, [x8, #4] ldr x9, [sp, #16] add x10, x9, #4 str x10, [sp, #16] str w8, [x9] ldr x8, [sp, #24] add x8, x8, #72 str x8, [sp, #24] b LBB0_10 LBB0_10: ldr x8, [sp, #24] stur x8, [x29, #-8] b LBB0_11 LBB0_11: ldur x0, [x29, #-8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT,4,2 ; @SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT .comm _SPATIAL_REUSE_SRG_INFORMATION_PRESENT,4,2 ; @SPATIAL_REUSE_SRG_INFORMATION_PRESENT .comm _WLAN_EID_EXTENSION,4,2 ; @WLAN_EID_EXTENSION .comm _WLAN_EID_EXT_SPATIAL_REUSE,8,3 ; @WLAN_EID_EXT_SPATIAL_REUSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hostapd_eid_spatial_reuse ## -- Begin function hostapd_eid_spatial_reuse .p2align 4, 0x90 _hostapd_eid_spatial_reuse: ## @hostapd_eid_spatial_reuse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -24(%rbp), %rax movq %rax, -40(%rbp) movl $1, -52(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax cmpl $0, (%rax) jne LBB0_2 ## %bb.1: movq -24(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_11 LBB0_2: movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movl (%rax), %eax movq _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_4 ## %bb.3: movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) LBB0_4: movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movl (%rax), %eax movq _SPATIAL_REUSE_SRG_INFORMATION_PRESENT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_6 ## %bb.5: movl -52(%rbp), %eax addl $18, %eax movl %eax, -52(%rbp) LBB0_6: movq _WLAN_EID_EXTENSION@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -40(%rbp), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, -40(%rbp) movl %ecx, (%rax) movl -52(%rbp), %ecx addl $1, %ecx movq -40(%rbp), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, -40(%rbp) movl %ecx, (%rax) movq _WLAN_EID_EXT_SPATIAL_REUSE@GOTPCREL(%rip), %rax movq (%rax), %rax movl %eax, %ecx movq -40(%rbp), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, -40(%rbp) movl %ecx, (%rax) movq -40(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _os_memset movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, (%rax) movq -40(%rbp), %rax addq $4, %rax movq %rax, -40(%rbp) movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -48(%rbp) movq -32(%rbp), %rax movl (%rax), %eax movq _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_8 ## %bb.7: movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movl 12(%rax), %ecx movq -48(%rbp), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, -48(%rbp) movl %ecx, (%rax) movq -40(%rbp), %rax addq $4, %rax movq %rax, -40(%rbp) LBB0_8: movq -32(%rbp), %rax movl (%rax), %eax movq _SPATIAL_REUSE_SRG_INFORMATION_PRESENT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_10 ## %bb.9: movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movl 8(%rax), %ecx movq -48(%rbp), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, -48(%rbp) movl %ecx, (%rax) movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movl 4(%rax), %ecx movq -48(%rbp), %rax movq %rax, %rdx addq $4, %rdx movq %rdx, -48(%rbp) movl %ecx, (%rax) movq -40(%rbp), %rax addq $72, %rax movq %rax, -40(%rbp) LBB0_10: movq -40(%rbp), %rax movq %rax, -8(%rbp) LBB0_11: movq -8(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT,4,2 ## @SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT .comm _SPATIAL_REUSE_SRG_INFORMATION_PRESENT,4,2 ## @SPATIAL_REUSE_SRG_INFORMATION_PRESENT .comm _WLAN_EID_EXTENSION,4,2 ## @WLAN_EID_EXTENSION .comm _WLAN_EID_EXT_SPATIAL_REUSE,8,3 ## @WLAN_EID_EXT_SPATIAL_REUSE .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/ap/extr_ieee802_11_he.c_hostapd_eid_spatial_reuse.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function prepare_header80 _prepare_header80: ; @prepare_header80 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str w1, [sp, #4] str w2, [sp] adrp x8, _DRBD_MAGIC@GOTPAGE ldr x8, [x8, _DRBD_MAGIC@GOTPAGEOFF] ldr w0, [x8] bl _cpu_to_be32 ldr x8, [sp, #8] str w0, [x8, #16] ldr w0, [sp, #4] bl _cpu_to_be16 ldr x8, [sp, #8] str x0, [x8, #8] ldr w0, [sp] bl _cpu_to_be16 ldr x8, [sp, #8] str x0, [x8] mov w0, #24 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _DRBD_MAGIC,4,2 ; @DRBD_MAGIC .no_dead_strip _prepare_header80 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function prepare_header80 _prepare_header80: ## @prepare_header80 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movq _DRBD_MAGIC@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cpu_to_be32 movl %eax, %ecx movq -8(%rbp), %rax movl %ecx, 16(%rax) movl -12(%rbp), %edi callq _cpu_to_be16 movq %rax, %rcx movq -8(%rbp), %rax movq %rcx, 8(%rax) movl -16(%rbp), %edi callq _cpu_to_be16 movq %rax, %rcx movq -8(%rbp), %rax movq %rcx, (%rax) movl $24, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _DRBD_MAGIC,4,2 ## @DRBD_MAGIC .no_dead_strip _prepare_header80 .subsections_via_symbols
AnghaBench/linux/drivers/block/drbd/extr_drbd_main.c_prepare_header80.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fbcon_set_def_font _fbcon_set_def_font: ; @fbcon_set_def_font .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 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] adrp x8, _registered_fb@GOTPAGE ldr x8, [x8, _registered_fb@GOTPAGEOFF] ldr x8, [x8] adrp x9, _con2fb_map@GOTPAGE ldr x9, [x9, _con2fb_map@GOTPAGEOFF] ldr x9, [x9] ldur x10, [x29, #-16] ldr x10, [x10] ldr x9, [x9, x10, lsl #3] ldr x8, [x8, x9, lsl #3] str x8, [sp, #8] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr w0, [x8, #12] ldr x8, [sp, #8] ldr w1, [x8, #8] ldr x8, [sp, #8] ldr w2, [x8, #4] ldr x8, [sp, #8] ldr w3, [x8] bl _get_default_font str x0, [sp] b LBB0_5 LBB0_2: ldr x0, [sp, #16] bl _find_font mov x8, x0 str x8, [sp] subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _ENOENT@GOTPAGE ldr x8, [x8, _ENOENT@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_6 LBB0_4: b LBB0_5 LBB0_5: ldr x8, [sp] ldr w8, [x8, #8] ldr x9, [sp, #24] str w8, [x9, #4] ldr x8, [sp] ldr w8, [x8, #4] ldr x9, [sp, #24] str w8, [x9] ldur x0, [x29, #-16] ldr x8, [sp] ldr w1, [x8, #8] ldr x8, [sp] ldr w2, [x8, #4] ldr x8, [sp] ldr w3, [x8] mov w4, #0 bl _fbcon_do_set_font stur w0, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _registered_fb,8,3 ; @registered_fb .comm _con2fb_map,8,3 ; @con2fb_map .comm _ENOENT,4,2 ; @ENOENT .no_dead_strip _fbcon_set_def_font .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fbcon_set_def_font _fbcon_set_def_font: ## @fbcon_set_def_font .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 %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq _registered_fb@GOTPCREL(%rip), %rax movq (%rax), %rax movq _con2fb_map@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq -16(%rbp), %rdx movq (%rdx), %rdx movq (%rcx,%rdx,8), %rcx movq (%rax,%rcx,8), %rax movq %rax, -40(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: movq -40(%rbp), %rax movl 12(%rax), %edi movq -40(%rbp), %rax movl 8(%rax), %esi movq -40(%rbp), %rax movl 4(%rax), %edx movq -40(%rbp), %rax movl (%rax), %ecx callq _get_default_font movq %rax, -48(%rbp) jmp LBB0_5 LBB0_2: movq -32(%rbp), %rdi callq _find_font movq %rax, -48(%rbp) cmpq $0, %rax jne LBB0_4 ## %bb.3: xorl %eax, %eax movq _ENOENT@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_6 LBB0_4: jmp LBB0_5 LBB0_5: movq -48(%rbp), %rax movl 8(%rax), %ecx movq -24(%rbp), %rax movl %ecx, 4(%rax) movq -48(%rbp), %rax movl 4(%rax), %ecx movq -24(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rdi movq -48(%rbp), %rax movl 8(%rax), %esi movq -48(%rbp), %rax movl 4(%rax), %edx movq -48(%rbp), %rax movl (%rax), %ecx xorl %r8d, %r8d callq _fbcon_do_set_font movl %eax, -4(%rbp) LBB0_6: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _registered_fb,8,3 ## @registered_fb .comm _con2fb_map,8,3 ## @con2fb_map .comm _ENOENT,4,2 ## @ENOENT .no_dead_strip _fbcon_set_def_font .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/console/extr_fbcon.c_fbcon_set_def_font.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hash_by_mask _hash_by_mask: ; @hash_by_mask .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] str w1, [sp, #8] ldr w8, [sp, #12] ldr w9, [sp, #8] and w8, w8, w9 str w8, [sp, #4] ldr w9, [sp, #4] ldr w8, [sp, #4] eor w8, w8, w9, asr #0 str w8, [sp, #4] ldr w9, [sp, #4] ldr w8, [sp, #4] eor w8, w8, w9, asr #16 str w8, [sp, #4] ldr w9, [sp, #4] ldr w8, [sp, #4] eor w8, w8, w9, asr #8 str w8, [sp, #4] ldr w9, [sp, #4] ldr w8, [sp, #4] eor w8, w8, w9, asr #4 str w8, [sp, #4] ldr w9, [sp, #4] ldr w8, [sp, #4] eor w8, w8, w9, asr #2 str w8, [sp, #4] ldr w9, [sp, #4] ldr w8, [sp, #4] eor w8, w8, w9, asr #1 str w8, [sp, #4] ldr w8, [sp, #4] and w0, w8, #0x1 add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _hash_by_mask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hash_by_mask _hash_by_mask: ## @hash_by_mask .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, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %eax andl -8(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax movl $32, %ecx ## kill: def $cl killed $ecx sarl %cl, %eax xorl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax sarl $16, %eax xorl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax sarl $8, %eax xorl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax sarl $4, %eax xorl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax sarl $2, %eax xorl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax sarl $1, %eax xorl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %eax andl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _hash_by_mask .subsections_via_symbols
AnghaBench/linux/drivers/edac/extr_pnd2_edac.c_hash_by_mask.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RC2_encrypt ; -- Begin function RC2_encrypt .p2align 2 _RC2_encrypt: ; @RC2_encrypt .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 str x0, [sp, #72] str x1, [sp, #64] ldr x8, [sp, #72] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #8] ; kill: def $w8 killed $w8 killed $x8 and w8, w8, #0xffff str w8, [sp, #36] ldr x8, [sp, #8] lsr x8, x8, #16 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #32] ldr x8, [sp, #72] ldr x8, [x8, #8] str x8, [sp, #8] ldr x8, [sp, #8] ; kill: def $w8 killed $w8 killed $x8 and w8, w8, #0xffff str w8, [sp, #28] ldr x8, [sp, #8] lsr x8, x8, #16 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #24] mov w8, #3 str w8, [sp, #56] mov w8, #5 str w8, [sp, #60] ldr x8, [sp, #64] ldr x8, [x8] str x8, [sp, #40] str x8, [sp, #48] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #36] ldr w9, [sp, #32] ldr w10, [sp, #24] bic w9, w9, w10 add w8, w8, w9 ldr w9, [sp, #28] ldr w10, [sp, #24] and w9, w9, w10 add w8, w8, w9 ldr x9, [sp, #48] add x10, x9, #4 str x10, [sp, #48] ldr w9, [x9] add w8, w8, w9 and w8, w8, #0xffff str w8, [sp, #20] ldr w9, [sp, #20] ldr w8, [sp, #20] asr w8, w8, #15 orr w8, w8, w9, lsl #1 str w8, [sp, #36] ldr w8, [sp, #32] ldr w9, [sp, #28] ldr w10, [sp, #36] bic w9, w9, w10 add w8, w8, w9 ldr w9, [sp, #24] ldr w10, [sp, #36] and w9, w9, w10 add w8, w8, w9 ldr x9, [sp, #48] add x10, x9, #4 str x10, [sp, #48] ldr w9, [x9] add w8, w8, w9 and w8, w8, #0xffff str w8, [sp, #20] ldr w9, [sp, #20] ldr w8, [sp, #20] asr w8, w8, #14 orr w8, w8, w9, lsl #2 str w8, [sp, #32] ldr w8, [sp, #28] ldr w9, [sp, #24] ldr w10, [sp, #32] bic w9, w9, w10 add w8, w8, w9 ldr w9, [sp, #36] ldr w10, [sp, #32] and w9, w9, w10 add w8, w8, w9 ldr x9, [sp, #48] add x10, x9, #4 str x10, [sp, #48] ldr w9, [x9] add w8, w8, w9 and w8, w8, #0xffff str w8, [sp, #20] ldr w9, [sp, #20] ldr w8, [sp, #20] asr w8, w8, #13 orr w8, w8, w9, lsl #3 str w8, [sp, #28] ldr w8, [sp, #24] ldr w9, [sp, #36] ldr w10, [sp, #28] bic w9, w9, w10 add w8, w8, w9 ldr w9, [sp, #32] ldr w10, [sp, #28] and w9, w9, w10 add w8, w8, w9 ldr x9, [sp, #48] add x10, x9, #4 str x10, [sp, #48] ldr w9, [x9] add w8, w8, w9 and w8, w8, #0xffff str w8, [sp, #20] ldr w9, [sp, #20] ldr w8, [sp, #20] asr w8, w8, #11 orr w8, w8, w9, lsl #5 str w8, [sp, #24] ldr w8, [sp, #60] subs w8, w8, #1 str w8, [sp, #60] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #56] subs w8, w8, #1 str w8, [sp, #56] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_6 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #56] subs w8, w8, #2 cset w8, eq and w10, w8, #0x1 mov w8, #6 mov w9, #5 ands w10, w10, #0x1 csel w8, w8, w9, ne str w8, [sp, #60] ldr x8, [sp, #40] ldr w9, [sp, #24] and w9, w9, #0x3f ldr w9, [x8, w9, sxtw #2] ldr w8, [sp, #36] add w8, w8, w9 str w8, [sp, #36] ldr x8, [sp, #40] ldr w9, [sp, #36] and w9, w9, #0x3f ldr w9, [x8, w9, sxtw #2] ldr w8, [sp, #32] add w8, w8, w9 str w8, [sp, #32] ldr x8, [sp, #40] ldr w9, [sp, #32] and w9, w9, #0x3f ldr w9, [x8, w9, sxtw #2] ldr w8, [sp, #28] add w8, w8, w9 str w8, [sp, #28] ldr x8, [sp, #40] ldr w9, [sp, #28] and w9, w9, #0x3f ldr w9, [x8, w9, sxtw #2] ldr w8, [sp, #24] add w8, w8, w9 str w8, [sp, #24] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_6: ldrh w9, [sp, #36] ; implicit-def: $x8 mov x8, x9 sxtw x8, w8 ldrh w10, [sp, #32] ; implicit-def: $x9 mov x9, x10 sxtw x9, w9 orr x8, x8, x9, lsl #16 ldr x9, [sp, #72] str x8, [x9] ldrh w9, [sp, #28] ; implicit-def: $x8 mov x8, x9 sxtw x8, w8 ldrh w10, [sp, #24] ; implicit-def: $x9 mov x9, x10 sxtw x9, w9 orr x8, x8, x9, lsl #16 ldr x9, [sp, #72] str x8, [x9, #8] add sp, sp, #80 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RC2_encrypt ## -- Begin function RC2_encrypt .p2align 4, 0x90 _RC2_encrypt: ## @RC2_encrypt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -72(%rbp) movq -72(%rbp), %rax ## kill: def $eax killed $eax killed $rax andl $65535, %eax ## imm = 0xFFFF movl %eax, -44(%rbp) movq -72(%rbp), %rax shrq $16, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -48(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -72(%rbp) movq -72(%rbp), %rax ## kill: def $eax killed $eax killed $rax andl $65535, %eax ## imm = 0xFFFF movl %eax, -52(%rbp) movq -72(%rbp), %rax shrq $16, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -56(%rbp) movl $3, -24(%rbp) movl $5, -20(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq %rax, -32(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %eax movl -48(%rbp), %ecx movl -56(%rbp), %edx xorl $-1, %edx andl %edx, %ecx addl %ecx, %eax movl -52(%rbp), %ecx andl -56(%rbp), %ecx addl %ecx, %eax movq -32(%rbp), %rcx movq %rcx, %rdx addq $4, %rdx movq %rdx, -32(%rbp) addl (%rcx), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -60(%rbp) movl -60(%rbp), %eax shll $1, %eax movl -60(%rbp), %ecx sarl $15, %ecx orl %ecx, %eax movl %eax, -44(%rbp) movl -48(%rbp), %eax movl -52(%rbp), %ecx movl -44(%rbp), %edx xorl $-1, %edx andl %edx, %ecx addl %ecx, %eax movl -56(%rbp), %ecx andl -44(%rbp), %ecx addl %ecx, %eax movq -32(%rbp), %rcx movq %rcx, %rdx addq $4, %rdx movq %rdx, -32(%rbp) addl (%rcx), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -60(%rbp) movl -60(%rbp), %eax shll $2, %eax movl -60(%rbp), %ecx sarl $14, %ecx orl %ecx, %eax movl %eax, -48(%rbp) movl -52(%rbp), %eax movl -56(%rbp), %ecx movl -48(%rbp), %edx xorl $-1, %edx andl %edx, %ecx addl %ecx, %eax movl -44(%rbp), %ecx andl -48(%rbp), %ecx addl %ecx, %eax movq -32(%rbp), %rcx movq %rcx, %rdx addq $4, %rdx movq %rdx, -32(%rbp) addl (%rcx), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -60(%rbp) movl -60(%rbp), %eax shll $3, %eax movl -60(%rbp), %ecx sarl $13, %ecx orl %ecx, %eax movl %eax, -52(%rbp) movl -56(%rbp), %eax movl -44(%rbp), %ecx movl -52(%rbp), %edx xorl $-1, %edx andl %edx, %ecx addl %ecx, %eax movl -48(%rbp), %ecx andl -52(%rbp), %ecx addl %ecx, %eax movq -32(%rbp), %rcx movq %rcx, %rdx addq $4, %rdx movq %rdx, -32(%rbp) addl (%rcx), %eax andl $65535, %eax ## imm = 0xFFFF movl %eax, -60(%rbp) movl -60(%rbp), %eax shll $5, %eax movl -60(%rbp), %ecx sarl $11, %ecx orl %ecx, %eax movl %eax, -56(%rbp) movl -20(%rbp), %eax addl $-1, %eax movl %eax, -20(%rbp) cmpl $0, %eax jne LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %eax addl $-1, %eax movl %eax, -24(%rbp) cmpl $0, %eax jne LBB0_4 ## %bb.3: jmp LBB0_6 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %edx movl $5, %eax movl $6, %ecx cmpl $2, %edx cmovel %ecx, %eax movl %eax, -20(%rbp) movq -40(%rbp), %rax movl -56(%rbp), %ecx andl $63, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %eax addl -44(%rbp), %eax movl %eax, -44(%rbp) movq -40(%rbp), %rax movl -44(%rbp), %ecx andl $63, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %eax addl -48(%rbp), %eax movl %eax, -48(%rbp) movq -40(%rbp), %rax movl -48(%rbp), %ecx andl $63, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %eax addl -52(%rbp), %eax movl %eax, -52(%rbp) movq -40(%rbp), %rax movl -52(%rbp), %ecx andl $63, %ecx movslq %ecx, %rcx movl (%rax,%rcx,4), %eax addl -56(%rbp), %eax movl %eax, -56(%rbp) LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_6: movl -44(%rbp), %eax andl $65535, %eax ## imm = 0xFFFF movslq %eax, %rcx movl -48(%rbp), %eax andl $65535, %eax ## imm = 0xFFFF cltq shlq $16, %rax orq %rax, %rcx movq -8(%rbp), %rax movq %rcx, (%rax) movl -52(%rbp), %eax andl $65535, %eax ## imm = 0xFFFF movslq %eax, %rcx movl -56(%rbp), %eax andl $65535, %eax ## imm = 0xFFFF cltq shlq $16, %rax orq %rax, %rcx movq -8(%rbp), %rax movq %rcx, 8(%rax) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/rc2/extr_rc2_cbc.c_RC2_encrypt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_pmac_pcm_open _snd_pmac_pcm_open: ; @snd_pmac_pcm_open .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 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] ldr x8, [sp, #24] ldr x8, [x8] str x8, [sp, #16] ldr x8, [sp, #16] str wzr, [x8, #24] str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] ldur x9, [x29, #-8] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr w8, [x8, #4] ldr w10, [sp, #12] mov w9, #1 lsl w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #32] ldrsw x9, [sp, #12] ldr w0, [x8, x9, lsl #2] bl _snd_pcm_rate_to_rate_bit ldr x9, [sp, #16] ldr w8, [x9, #24] orr w8, w8, w0 str w8, [x9, #24] b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_6: str wzr, [sp, #12] b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] ldur x9, [x29, #-8] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_12 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur x8, [x29, #-8] ldr w8, [x8, #4] ldr w10, [sp, #12] mov w9, #1 lsl w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x8, [x29, #-8] ldr x8, [x8, #32] ldrsw x9, [sp, #12] ldr w8, [x8, x9, lsl #2] ldr x9, [sp, #16] str w8, [x9, #20] b LBB0_12 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_7 LBB0_12: ldur x8, [x29, #-8] ldr w8, [x8] subs w8, w8, #1 str w8, [sp, #12] b LBB0_13 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_18 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_13 Depth=1 ldur x8, [x29, #-8] ldr w8, [x8, #4] ldr w10, [sp, #12] mov w9, #1 lsl w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur x8, [x29, #-8] ldr x8, [x8, #32] ldrsw x9, [sp, #12] ldr w8, [x8, x9, lsl #2] ldr x9, [sp, #16] str w8, [x9, #16] b LBB0_18 LBB0_16: ; in Loop: Header=BB0_13 Depth=1 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_13 Depth=1 ldr w8, [sp, #12] subs w8, w8, #1 str w8, [sp, #12] b LBB0_13 LBB0_18: ldur x8, [x29, #-8] ldr w8, [x8, #24] ldr x9, [sp, #16] str w8, [x9, #12] ldur x8, [x29, #-8] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_19 LBB0_19: ldur x8, [x29, #-8] ldr w8, [x8, #8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_21 b LBB0_20 LBB0_20: adrp x8, _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPAGE ldr x8, [x8, _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #16] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] b LBB0_21 LBB0_21: adrp x8, _SNDRV_PCM_INFO_JOINT_DUPLEX@GOTPAGE ldr x8, [x8, _SNDRV_PCM_INFO_JOINT_DUPLEX@GOTPAGEOFF] ldr w10, [x8] ldr x9, [sp, #16] ldr w8, [x9, #8] orr w8, w8, w10 str w8, [x9, #8] b LBB0_22 LBB0_22: ldur x8, [x29, #-16] ldr x9, [sp, #16] str x8, [x9, #32] ldr x8, [sp, #24] ldur x9, [x29, #-16] str x8, [x9, #16] ldur x8, [x29, #-16] ldr x8, [x8] subs x8, x8, #1 ldr x9, [sp, #16] str x8, [x9] ldr x0, [sp, #16] adrp x8, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGE ldr x8, [x8, _SNDRV_PCM_HW_PARAM_PERIODS@GOTPAGEOFF] ldr w1, [x8] bl _snd_pcm_hw_constraint_integer mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _SNDRV_PCM_INFO_HALF_DUPLEX,4,2 ; @SNDRV_PCM_INFO_HALF_DUPLEX .comm _SNDRV_PCM_INFO_JOINT_DUPLEX,4,2 ; @SNDRV_PCM_INFO_JOINT_DUPLEX .comm _SNDRV_PCM_HW_PARAM_PERIODS,4,2 ; @SNDRV_PCM_HW_PARAM_PERIODS .comm _SNDRV_PCM_HW_PARAM_FORMAT,4,2 ; @SNDRV_PCM_HW_PARAM_FORMAT .comm _SNDRV_PCM_HW_PARAM_RATE,4,2 ; @SNDRV_PCM_HW_PARAM_RATE .comm _snd_pmac_hw_rule_format,4,2 ; @snd_pmac_hw_rule_format .comm _snd_pmac_hw_rule_rate,4,2 ; @snd_pmac_hw_rule_rate .no_dead_strip _snd_pmac_pcm_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_pmac_pcm_open _snd_pmac_pcm_open: ## @snd_pmac_pcm_open .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax movl $0, 24(%rax) movl $0, -36(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq -8(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movl 4(%rax), %eax movl -36(%rbp), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq 32(%rax), %rax movslq -36(%rbp), %rcx movl (%rax,%rcx,4), %edi callq _snd_pcm_rate_to_rate_bit movl %eax, %ecx movq -32(%rbp), %rax orl 24(%rax), %ecx movl %ecx, 24(%rax) LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_1 LBB0_6: movl $0, -36(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq -8(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_12 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -8(%rbp), %rax movl 4(%rax), %eax movl -36(%rbp), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_10 ## %bb.9: movq -8(%rbp), %rax movq 32(%rax), %rax movslq -36(%rbp), %rcx movl (%rax,%rcx,4), %ecx movq -32(%rbp), %rax movl %ecx, 20(%rax) jmp LBB0_12 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 jmp LBB0_11 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_7 LBB0_12: movq -8(%rbp), %rax movl (%rax), %eax subl $1, %eax movl %eax, -36(%rbp) LBB0_13: ## =>This Inner Loop Header: Depth=1 cmpl $0, -36(%rbp) jl LBB0_18 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq -8(%rbp), %rax movl 4(%rax), %eax movl -36(%rbp), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_16 ## %bb.15: movq -8(%rbp), %rax movq 32(%rax), %rax movslq -36(%rbp), %rcx movl (%rax,%rcx,4), %ecx movq -32(%rbp), %rax movl %ecx, 16(%rax) jmp LBB0_18 LBB0_16: ## in Loop: Header=BB0_13 Depth=1 jmp LBB0_17 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 movl -36(%rbp), %eax addl $-1, %eax movl %eax, -36(%rbp) jmp LBB0_13 LBB0_18: movq -8(%rbp), %rax movl 24(%rax), %ecx movq -32(%rbp), %rax movl %ecx, 12(%rax) movq -8(%rbp), %rax cmpq $0, 16(%rax) je LBB0_22 ## %bb.19: movq -8(%rbp), %rax cmpl $0, 8(%rax) jne LBB0_21 ## %bb.20: movq _SNDRV_PCM_INFO_HALF_DUPLEX@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_21: movq _SNDRV_PCM_INFO_JOINT_DUPLEX@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -32(%rbp), %rax orl 8(%rax), %ecx movl %ecx, 8(%rax) LBB0_22: movq -16(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 32(%rax) movq -24(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, 16(%rax) movq -16(%rbp), %rax movq (%rax), %rcx subq $1, %rcx movq -32(%rbp), %rax movq %rcx, (%rax) movq -32(%rbp), %rdi movq _SNDRV_PCM_HW_PARAM_PERIODS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _snd_pcm_hw_constraint_integer xorl %eax, %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SNDRV_PCM_INFO_HALF_DUPLEX,4,2 ## @SNDRV_PCM_INFO_HALF_DUPLEX .comm _SNDRV_PCM_INFO_JOINT_DUPLEX,4,2 ## @SNDRV_PCM_INFO_JOINT_DUPLEX .comm _SNDRV_PCM_HW_PARAM_PERIODS,4,2 ## @SNDRV_PCM_HW_PARAM_PERIODS .comm _SNDRV_PCM_HW_PARAM_FORMAT,4,2 ## @SNDRV_PCM_HW_PARAM_FORMAT .comm _SNDRV_PCM_HW_PARAM_RATE,4,2 ## @SNDRV_PCM_HW_PARAM_RATE .comm _snd_pmac_hw_rule_format,4,2 ## @snd_pmac_hw_rule_format .comm _snd_pmac_hw_rule_rate,4,2 ## @snd_pmac_hw_rule_rate .no_dead_strip _snd_pmac_pcm_open .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/ppc/extr_pmac.c_snd_pmac_pcm_open.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ch9200_status _ch9200_status: ; @ch9200_status .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_5 LBB0_2: ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp] ldr x8, [sp] ldrb w8, [x8] ands w8, w8, #0x1 cset w8, ne and w8, w8, #0x1 str w8, [sp, #12] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr w0, [x8] bl _netif_carrier_on ldur x0, [x29, #-8] adrp x8, _EVENT_LINK_RESET@GOTPAGE ldr x8, [x8, _EVENT_LINK_RESET@GOTPAGEOFF] ldr w1, [x8] bl _usbnet_defer_kevent b LBB0_5 LBB0_4: ldur x8, [x29, #-8] ldr w0, [x8] bl _netif_carrier_off b LBB0_5 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _EVENT_LINK_RESET,4,2 ; @EVENT_LINK_RESET .no_dead_strip _ch9200_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ch9200_status _ch9200_status: ## @ch9200_status .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax cmpl $16, (%rax) jge LBB0_2 ## %bb.1: jmp LBB0_5 LBB0_2: movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax movzbl (%rax), %eax andl $1, %eax cmpl $0, %eax setne %al xorb $-1, %al xorb $-1, %al andb $1, %al movzbl %al, %eax movl %eax, -20(%rbp) cmpl $0, -20(%rbp) je LBB0_4 ## %bb.3: movq -8(%rbp), %rax movl (%rax), %edi callq _netif_carrier_on movq -8(%rbp), %rdi movq _EVENT_LINK_RESET@GOTPCREL(%rip), %rax movl (%rax), %esi callq _usbnet_defer_kevent jmp LBB0_5 LBB0_4: movq -8(%rbp), %rax movl (%rax), %edi callq _netif_carrier_off LBB0_5: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EVENT_LINK_RESET,4,2 ## @EVENT_LINK_RESET .no_dead_strip _ch9200_status .subsections_via_symbols
AnghaBench/linux/drivers/net/usb/extr_ch9200.c_ch9200_status.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dlm_reco_bast _dlm_reco_bast: ; @dlm_reco_bast .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] stur w1, [x29, #-12] ldur x8, [x29, #-8] str x8, [sp, #8] ldr x8, [sp, #8] ldr w2, [x8, #4] ldr x8, [sp, #8] ldr w3, [x8] mov w0, #0 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _mlog ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bast for recovery lock fired!, this=%u, dlm=%s\n" .no_dead_strip _dlm_reco_bast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dlm_reco_bast _dlm_reco_bast: ## @dlm_reco_bast .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movl 4(%rax), %edx movq -24(%rbp), %rax movl (%rax), %ecx xorl %edi, %edi leaq L_.str(%rip), %rsi callq _mlog addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bast for recovery lock fired!, this=%u, dlm=%s\n" .no_dead_strip _dlm_reco_bast .subsections_via_symbols
AnghaBench/linux/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_reco_bast.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __kvm_bitmap_next ; -- Begin function _kvm_bitmap_next .p2align 2 __kvm_bitmap_next: ; @_kvm_bitmap_next .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 adrp x9, _CHAR_BIT@GOTPAGE ldr x9, [x9, _CHAR_BIT@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill str x0, [sp, #40] str x1, [sp, #32] ldr x8, [sp, #40] ldr x8, [x8] ldr x9, [x9] mul x8, x8, x9 str x8, [sp, #24] ldr x8, [sp, #32] ldr x8, [x8] adrp x9, _ULONG_MAX@GOTPAGE ldr x9, [x9, _ULONG_MAX@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #32] str xzr, [x8] b LBB0_3 LBB0_2: ldr x9, [sp, #32] ldr x8, [x9] add x8, x8, #1 str x8, [x9] b LBB0_3 LBB0_3: b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] ldr x8, [x8] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [sp, #32] ldr x8, [x8] ldr x11, [x10] sdiv x9, x8, x11 mul x9, x9, x11 subs x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #20] ldr x8, [sp, #40] ldr x8, [x8, #8] ldr x9, [sp, #32] ldr x9, [x9] ldr x10, [x10] mul x9, x9, x10 ldr w8, [x8, x9, lsl #2] ldr w9, [sp, #20] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: b LBB0_9 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [sp, #32] ldr x8, [x9] add x8, x8, #1 str x8, [x9] b LBB0_4 LBB0_9: ldr x8, [sp, #32] ldr x8, [x8] ldr x9, [sp, #24] subs x8, x8, x9 cset w8, lt and w0, w8, #0x1 add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _CHAR_BIT,8,3 ; @CHAR_BIT .comm _ULONG_MAX,8,3 ; @ULONG_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __kvm_bitmap_next ## -- Begin function _kvm_bitmap_next .p2align 4, 0x90 __kvm_bitmap_next: ## @_kvm_bitmap_next .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq _CHAR_BIT@GOTPCREL(%rip), %rcx imulq (%rcx), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq _ULONG_MAX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq $0, (%rax) jmp LBB0_3 LBB0_2: movq -16(%rbp), %rax movq (%rax), %rcx addq $1, %rcx movq %rcx, (%rax) LBB0_3: jmp LBB0_4 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jge LBB0_9 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq -16(%rbp), %rax movq (%rax), %rax movq _CHAR_BIT@GOTPCREL(%rip), %rcx cqto idivq (%rcx) movl %edx, %eax movl %eax, -28(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx movq (%rcx), %rcx movq _CHAR_BIT@GOTPCREL(%rip), %rdx imulq (%rdx), %rcx movl (%rax,%rcx,4), %eax andl -28(%rbp), %eax cmpl $0, %eax jne LBB0_7 ## %bb.6: jmp LBB0_9 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 movq -16(%rbp), %rax movq (%rax), %rcx addq $1, %rcx movq %rcx, (%rax) jmp LBB0_4 LBB0_9: movq -16(%rbp), %rax movq (%rax), %rax cmpq -24(%rbp), %rax setl %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _CHAR_BIT,8,3 ## @CHAR_BIT .comm _ULONG_MAX,8,3 ## @ULONG_MAX .subsections_via_symbols
AnghaBench/freebsd/lib/libkvm/extr_kvm_private.c__kvm_bitmap_next.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sa_idx_tab_rele _sa_idx_tab_rele: ; @sa_idx_tab_rele .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #16] str x8, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_7 LBB0_2: ldr x8, [sp, #8] add x0, x8, #4 bl _mutex_enter ldr x8, [sp] add x0, x8, #8 mov x1, #0 bl _zfs_refcount_remove subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldr x8, [sp] ldr x8, [x8, #16] add x0, x8, #4 ldr x1, [sp] bl _list_remove ldr x8, [sp] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp] ldr x0, [x8, #24] ldr x8, [sp] ldr x8, [x8, #16] ldrsw x9, [x8] mov x8, #4 mul x8, x8, x9 mov x1, x8 bl _kmem_free b LBB0_5 LBB0_5: ldr x8, [sp] add x0, x8, #8 bl _zfs_refcount_destroy ldr x8, [sp] ldr x0, [x8] ldr x8, [sp, #8] ldrsw x9, [x8] mov x8, #4 mul x8, x8, x9 mov x1, x8 bl _kmem_free ldr x0, [sp] mov w1, #32 bl _kmem_free b LBB0_6 LBB0_6: ldr x8, [sp, #8] add x0, x8, #4 bl _mutex_exit b LBB0_7 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _sa_idx_tab_rele .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sa_idx_tab_rele _sa_idx_tab_rele: ## @sa_idx_tab_rele .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_7 LBB0_2: movq -24(%rbp), %rdi addq $4, %rdi callq _mutex_enter movq -32(%rbp), %rdi addq $8, %rdi xorl %eax, %eax movl %eax, %esi callq _zfs_refcount_remove cmpq $0, %rax jne LBB0_6 ## %bb.3: movq -32(%rbp), %rax movq 16(%rax), %rdi addq $4, %rdi movq -32(%rbp), %rsi callq _list_remove movq -32(%rbp), %rax cmpq $0, 24(%rax) je LBB0_5 ## %bb.4: movq -32(%rbp), %rax movq 24(%rax), %rdi movq -32(%rbp), %rax movq 16(%rax), %rax movslq (%rax), %rax shlq $2, %rax movl %eax, %esi callq _kmem_free LBB0_5: movq -32(%rbp), %rdi addq $8, %rdi callq _zfs_refcount_destroy movq -32(%rbp), %rax movq (%rax), %rdi movq -24(%rbp), %rax movslq (%rax), %rax shlq $2, %rax movl %eax, %esi callq _kmem_free movq -32(%rbp), %rdi movl $32, %esi callq _kmem_free LBB0_6: movq -24(%rbp), %rdi addq $4, %rdi callq _mutex_exit LBB0_7: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sa_idx_tab_rele .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_sa.c_sa_idx_tab_rele.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function havePrefix _havePrefix: ; @havePrefix .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] stur w1, [x29, #-12] str x2, [sp, #8] ldr x0, [sp, #8] bl _strlen str w0, [sp, #4] ldr w8, [sp, #4] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ge mov w9, #0 str w9, [sp] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] ldr x1, [sp, #8] ldr w2, [sp, #4] bl _strncmp subs w8, w0, #0 cset w8, eq str w8, [sp] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp] ; 4-byte Folded Reload and w0, w8, #0x1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _havePrefix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function havePrefix _havePrefix: ## @havePrefix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq %rdx, -24(%rbp) movq -24(%rbp), %rdi callq _strlen movl %eax, -28(%rbp) movl -28(%rbp), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl -12(%rbp), %ecx movb %al, -29(%rbp) ## 1-byte Spill jge LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq -24(%rbp), %rsi movl -28(%rbp), %edx callq _strncmp cmpl $0, %eax setne %al xorb $-1, %al movb %al, -29(%rbp) ## 1-byte Spill LBB0_2: movb -29(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _havePrefix .subsections_via_symbols
AnghaBench/radare2/shlr/sdb/src/extr_match.c_havePrefix.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unlink_group _unlink_group: ; @unlink_group .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: stur wzr, [x29, #-12] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #16] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #16] ldursw x9, [x29, #-12] ldr x8, [x8, x9, lsl #3] str x8, [sp, #8] ldr x0, [sp, #8] bl _unlink_group b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldur w8, [x29, #-12] add w8, w8, #1 stur w8, [x29, #-12] b LBB0_2 LBB0_5: b LBB0_6 LBB0_6: ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldur x0, [x29, #-8] bl _unlink_obj ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _unlink_group .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unlink_group _unlink_group: ## @unlink_group .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax cmpq $0, 16(%rax) je LBB0_6 ## %bb.1: movl $0, -12(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rax movq 16(%rax), %rax movslq -12(%rbp), %rcx cmpq $0, (%rax,%rcx,8) je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rbp), %rax movq 16(%rax), %rax movslq -12(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi callq _unlink_group ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl -12(%rbp), %eax addl $1, %eax movl %eax, -12(%rbp) jmp LBB0_2 LBB0_5: jmp LBB0_6 LBB0_6: movq -8(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rdi callq _unlink_obj addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _unlink_group .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/configfs/extr_dir.c_unlink_group.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bna_ioceth_init _bna_ioceth_init: ; @bna_ioceth_init .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] ldur x8, [x29, #-16] ldur x9, [x29, #-8] str x8, [x9, #24] ldur x8, [x29, #-8] ldur x1, [x29, #-8] add x0, x8, #16 adrp x2, _bna_ioceth_cbfn@GOTPAGE ldr x2, [x2, _bna_ioceth_cbfn@GOTPAGEOFF] bl _bfa_nw_ioc_attach ldur x9, [x29, #-8] ldur x8, [x29, #-16] adrp x10, _BFI_PCIFN_CLASS_ETH@GOTPAGE ldr x10, [x10, _BFI_PCIFN_CLASS_ETH@GOTPAGEOFF] ldr w2, [x10] add x0, x9, #16 add x1, x8, #12 bl _bfa_nw_ioc_pci_init ldur x8, [x29, #-24] adrp x9, _BNA_RES_MEM_T_ATTR@GOTPAGE ldr x9, [x9, _BNA_RES_MEM_T_ATTR@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldur w1, [x29, #-28] add x0, x8, #8 bl _BNA_GET_DMA_ADDR ldr x9, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-24] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldr x8, [x8] str x8, [sp, #24] ldur x8, [x29, #-8] ldr x1, [sp, #24] ldur w2, [x29, #-28] add x0, x8, #16 bl _bfa_nw_ioc_mem_claim ldur x8, [x29, #-24] adrp x9, _BNA_RES_MEM_T_FWTRC@GOTPAGE ldr x9, [x9, _BNA_RES_MEM_T_FWTRC@GOTPAGEOFF] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldr x8, [x8] str x8, [sp, #24] ldur x8, [x29, #-8] ldr x1, [sp, #24] add x0, x8, #16 bl _bfa_nw_ioc_debug_memclaim ldur x8, [x29, #-24] adrp x9, _BNA_RES_MEM_T_COM@GOTPAGE ldr x9, [x9, _BNA_RES_MEM_T_COM@GOTPAGEOFF] str x9, [sp, #16] ; 8-byte Folded Spill ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldur w1, [x29, #-28] add x0, x8, #8 bl _BNA_GET_DMA_ADDR ldr x9, [sp, #16] ; 8-byte Folded Reload ldur x8, [x29, #-24] ldr x9, [x9] ldr x8, [x8, x9, lsl #3] ldr x8, [x8] str x8, [sp, #24] ldur x9, [x29, #-16] ldur x8, [x29, #-8] ldur x2, [x29, #-16] add x0, x9, #8 add x1, x8, #16 bl _bfa_nw_cee_attach ldur x8, [x29, #-16] ldr x1, [sp, #24] ldur w2, [x29, #-28] add x0, x8, #8 bl _bfa_nw_cee_mem_claim bl _bfa_nw_cee_meminfo ldr x8, [sp, #24] add x8, x8, x0, lsl #2 str x8, [sp, #24] bl _bfa_nw_cee_meminfo ldursw x8, [x29, #-28] add x8, x8, x0 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-28] ldur x9, [x29, #-16] ldur x8, [x29, #-8] ldur x2, [x29, #-16] add x0, x9, #4 add x1, x8, #16 bl _bfa_nw_flash_attach ldur x8, [x29, #-16] ldr x1, [sp, #24] ldur w2, [x29, #-28] add x0, x8, #4 bl _bfa_nw_flash_memclaim bl _bfa_nw_flash_meminfo ldr x8, [sp, #24] add x8, x8, x0, lsl #2 str x8, [sp, #24] bl _bfa_nw_flash_meminfo ldursw x8, [x29, #-28] add x8, x8, x0 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-28] ldur x0, [x29, #-16] ldur x8, [x29, #-8] add x1, x8, #16 bl _bfa_msgq_attach ldur x0, [x29, #-16] ldr x1, [sp, #24] ldur w2, [x29, #-28] bl _bfa_msgq_memclaim ldur x0, [x29, #-16] adrp x8, _BFI_MC_ENET@GOTPAGE ldr x8, [x8, _BFI_MC_ENET@GOTPAGEOFF] ldr w1, [x8] adrp x8, _bna_msgq_rsp_handler@GOTPAGE ldr x8, [x8, _bna_msgq_rsp_handler@GOTPAGEOFF] ldr w2, [x8] ldur x3, [x29, #-16] bl _bfa_msgq_regisr bl _bfa_msgq_meminfo ldr x8, [sp, #24] add x8, x8, x0, lsl #2 str x8, [sp, #24] bl _bfa_msgq_meminfo ldursw x8, [x29, #-28] add x8, x8, x0 ; kill: def $w8 killed $w8 killed $x8 stur w8, [x29, #-28] ldur x8, [x29, #-8] ; kill: def $x9 killed $xzr str xzr, [x8, #8] ldur x8, [x29, #-8] str xzr, [x8] ldur x0, [x29, #-8] bl _bna_attr_init ldur x0, [x29, #-8] adrp x8, _bna_ioceth_sm_stopped@GOTPAGE ldr x8, [x8, _bna_ioceth_sm_stopped@GOTPAGEOFF] ldr w1, [x8] bl _bfa_fsm_set_state ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _bna_ioceth_cbfn,4,2 ; @bna_ioceth_cbfn .comm _BFI_PCIFN_CLASS_ETH,4,2 ; @BFI_PCIFN_CLASS_ETH .comm _BNA_RES_MEM_T_ATTR,8,3 ; @BNA_RES_MEM_T_ATTR .comm _BNA_RES_MEM_T_FWTRC,8,3 ; @BNA_RES_MEM_T_FWTRC .comm _BNA_RES_MEM_T_COM,8,3 ; @BNA_RES_MEM_T_COM .comm _BFI_MC_ENET,4,2 ; @BFI_MC_ENET .comm _bna_msgq_rsp_handler,4,2 ; @bna_msgq_rsp_handler .comm _bna_ioceth_sm_stopped,4,2 ; @bna_ioceth_sm_stopped .no_dead_strip _bna_ioceth_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bna_ioceth_init _bna_ioceth_init: ## @bna_ioceth_init .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -16(%rbp), %rcx movq -8(%rbp), %rax movq %rcx, 24(%rax) movq -8(%rbp), %rdi addq $16, %rdi movq -8(%rbp), %rsi movq _bna_ioceth_cbfn@GOTPCREL(%rip), %rdx callq _bfa_nw_ioc_attach movq -8(%rbp), %rdi addq $16, %rdi movq -16(%rbp), %rsi addq $12, %rsi movq _BFI_PCIFN_CLASS_ETH@GOTPCREL(%rip), %rax movl (%rax), %edx callq _bfa_nw_ioc_pci_init movq -24(%rbp), %rax movq _BNA_RES_MEM_T_ATTR@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi addq $8, %rdi movl -28(%rbp), %esi callq _BNA_GET_DMA_ADDR movq -24(%rbp), %rax movq _BNA_RES_MEM_T_ATTR@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -8(%rbp), %rdi addq $16, %rdi movq -40(%rbp), %rsi movl -28(%rbp), %edx callq _bfa_nw_ioc_mem_claim movq -24(%rbp), %rax movq _BNA_RES_MEM_T_FWTRC@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -8(%rbp), %rdi addq $16, %rdi movq -40(%rbp), %rsi callq _bfa_nw_ioc_debug_memclaim movq -24(%rbp), %rax movq _BNA_RES_MEM_T_COM@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi addq $8, %rdi movl -28(%rbp), %esi callq _BNA_GET_DMA_ADDR movq -24(%rbp), %rax movq _BNA_RES_MEM_T_COM@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rdi addq $8, %rdi movq -8(%rbp), %rsi addq $16, %rsi movq -16(%rbp), %rdx callq _bfa_nw_cee_attach movq -16(%rbp), %rdi addq $8, %rdi movq -40(%rbp), %rsi movl -28(%rbp), %edx callq _bfa_nw_cee_mem_claim movb $0, %al callq _bfa_nw_cee_meminfo shlq $2, %rax addq -40(%rbp), %rax movq %rax, -40(%rbp) movb $0, %al callq _bfa_nw_cee_meminfo movq %rax, %rcx movslq -28(%rbp), %rax addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -28(%rbp) movq -16(%rbp), %rdi addq $4, %rdi movq -8(%rbp), %rsi addq $16, %rsi movq -16(%rbp), %rdx callq _bfa_nw_flash_attach movq -16(%rbp), %rdi addq $4, %rdi movq -40(%rbp), %rsi movl -28(%rbp), %edx callq _bfa_nw_flash_memclaim movb $0, %al callq _bfa_nw_flash_meminfo shlq $2, %rax addq -40(%rbp), %rax movq %rax, -40(%rbp) movb $0, %al callq _bfa_nw_flash_meminfo movq %rax, %rcx movslq -28(%rbp), %rax addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -28(%rbp) movq -16(%rbp), %rdi movq -8(%rbp), %rsi addq $16, %rsi callq _bfa_msgq_attach movq -16(%rbp), %rdi movq -40(%rbp), %rsi movl -28(%rbp), %edx callq _bfa_msgq_memclaim movq -16(%rbp), %rdi movq _BFI_MC_ENET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _bna_msgq_rsp_handler@GOTPCREL(%rip), %rax movl (%rax), %edx movq -16(%rbp), %rcx callq _bfa_msgq_regisr movb $0, %al callq _bfa_msgq_meminfo shlq $2, %rax addq -40(%rbp), %rax movq %rax, -40(%rbp) movb $0, %al callq _bfa_msgq_meminfo movq %rax, %rcx movslq -28(%rbp), %rax addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -28(%rbp) movq -8(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rax movq $0, (%rax) movq -8(%rbp), %rdi callq _bna_attr_init movq -8(%rbp), %rdi movq _bna_ioceth_sm_stopped@GOTPCREL(%rip), %rax movl (%rax), %esi callq _bfa_fsm_set_state addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _bna_ioceth_cbfn,4,2 ## @bna_ioceth_cbfn .comm _BFI_PCIFN_CLASS_ETH,4,2 ## @BFI_PCIFN_CLASS_ETH .comm _BNA_RES_MEM_T_ATTR,8,3 ## @BNA_RES_MEM_T_ATTR .comm _BNA_RES_MEM_T_FWTRC,8,3 ## @BNA_RES_MEM_T_FWTRC .comm _BNA_RES_MEM_T_COM,8,3 ## @BNA_RES_MEM_T_COM .comm _BFI_MC_ENET,4,2 ## @BFI_MC_ENET .comm _bna_msgq_rsp_handler,4,2 ## @bna_msgq_rsp_handler .comm _bna_ioceth_sm_stopped,4,2 ## @bna_ioceth_sm_stopped .no_dead_strip _bna_ioceth_init .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/brocade/bna/extr_bna_enet.c_bna_ioceth_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputWindowDamage ; -- Begin function _glfwInputWindowDamage .p2align 2 __glfwInputWindowDamage: ; @_glfwInputWindowDamage .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr x8, [x8] ldr x0, [sp, #8] blr x8 b LBB0_2 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwInputWindowDamage ## -- Begin function _glfwInputWindowDamage .p2align 4, 0x90 __glfwInputWindowDamage: ## @_glfwInputWindowDamage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq (%rax), %rax movq -8(%rbp), %rdi callq *%rax LBB0_2: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/Craft/deps/glfw/src/extr_window.c__glfwInputWindowDamage.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function splitter_port_parameter_set _splitter_port_parameter_set: ; @splitter_port_parameter_set .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x8, [x29, #-16] ldr x8, [x8, #16] stur x8, [x29, #-32] ldur x8, [x29, #-24] ldr w8, [x8] subs w8, w8, #128 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: ldur x8, [x29, #-24] str x8, [sp, #32] ldur x8, [x29, #-16] ldr w0, [x8, #12] ldr x8, [sp, #32] ldr w1, [x8, #12] bl _MMAL_MAX str x0, [sp, #24] ldur x8, [x29, #-16] ldr w0, [x8, #8] ldr x8, [sp, #32] ldr w1, [x8, #8] bl _MMAL_MAX str x0, [sp, #16] ldur x8, [x29, #-16] ldr w0, [x8, #4] ldr x8, [sp, #32] ldr w1, [x8, #4] bl _MMAL_MAX str x0, [sp, #8] ldur x8, [x29, #-16] ldr w0, [x8] ldr x8, [sp, #32] ldr w1, [x8] bl _MMAL_MAX str x0, [sp] ldr x8, [sp, #24] ldur x9, [x29, #-32] ldr x9, [x9, #16] ldr x9, [x9] str x8, [x9, #24] ldr x8, [sp, #16] ldur x9, [x29, #-32] ldr x9, [x9, #16] ldr x9, [x9] str x8, [x9, #16] ldr x8, [sp, #8] ldur x9, [x29, #-32] ldr x9, [x9, #16] ldr x9, [x9] str x8, [x9, #8] ldr x8, [sp] ldur x9, [x29, #-32] ldr x9, [x9, #16] ldr x9, [x9] str x8, [x9] stur wzr, [x29, #-36] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-36] ldur x9, [x29, #-32] ldr w9, [x9] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #24] ldur x9, [x29, #-32] ldr x9, [x9, #8] ldur w10, [x29, #-36] ; kill: def $x10 killed $w10 ldr x9, [x9, x10, lsl #3] str x8, [x9, #24] ldr x8, [sp, #16] ldur x9, [x29, #-32] ldr x9, [x9, #8] ldur w10, [x29, #-36] ; kill: def $x10 killed $w10 ldr x9, [x9, x10, lsl #3] str x8, [x9, #16] ldr x8, [sp, #8] ldur x9, [x29, #-32] ldr x9, [x9, #8] ldur w10, [x29, #-36] ; kill: def $x10 killed $w10 ldr x9, [x9, x10, lsl #3] str x8, [x9, #8] ldr x8, [sp] ldur x9, [x29, #-32] ldr x9, [x9, #8] ldur w10, [x29, #-36] ; kill: def $x10 killed $w10 ldr x9, [x9, x10, lsl #3] str x8, [x9] b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_2 LBB0_5: adrp x8, _MMAL_SUCCESS@GOTPAGE ldr x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_7 LBB0_6: adrp x8, _MMAL_ENOSYS@GOTPAGE ldr x8, [x8, _MMAL_ENOSYS@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_7 LBB0_7: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _MMAL_SUCCESS,4,2 ; @MMAL_SUCCESS .comm _MMAL_ENOSYS,4,2 ; @MMAL_ENOSYS .no_dead_strip _splitter_port_parameter_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function splitter_port_parameter_set _splitter_port_parameter_set: ## @splitter_port_parameter_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq 16(%rax), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rax movl (%rax), %eax subl $128, %eax jne LBB0_6 jmp LBB0_1 LBB0_1: movq -24(%rbp), %rax movq %rax, -48(%rbp) movq -16(%rbp), %rax movl 12(%rax), %edi movq -48(%rbp), %rax movl 12(%rax), %esi callq _MMAL_MAX movq %rax, -56(%rbp) movq -16(%rbp), %rax movl 8(%rax), %edi movq -48(%rbp), %rax movl 8(%rax), %esi callq _MMAL_MAX movq %rax, -64(%rbp) movq -16(%rbp), %rax movl 4(%rax), %edi movq -48(%rbp), %rax movl 4(%rax), %esi callq _MMAL_MAX movq %rax, -72(%rbp) movq -16(%rbp), %rax movl (%rax), %edi movq -48(%rbp), %rax movl (%rax), %esi callq _MMAL_MAX movq %rax, -80(%rbp) movq -56(%rbp), %rcx movq -32(%rbp), %rax movq 16(%rax), %rax movq (%rax), %rax movq %rcx, 24(%rax) movq -64(%rbp), %rcx movq -32(%rbp), %rax movq 16(%rax), %rax movq (%rax), %rax movq %rcx, 16(%rax) movq -72(%rbp), %rcx movq -32(%rbp), %rax movq 16(%rax), %rax movq (%rax), %rax movq %rcx, 8(%rax) movq -80(%rbp), %rcx movq -32(%rbp), %rax movq 16(%rax), %rax movq (%rax), %rax movq %rcx, (%rax) movl $0, -36(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq -32(%rbp), %rcx cmpl (%rcx), %eax jae LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rcx movq -32(%rbp), %rax movq 8(%rax), %rax movl -36(%rbp), %edx ## kill: def $rdx killed $edx movq (%rax,%rdx,8), %rax movq %rcx, 24(%rax) movq -64(%rbp), %rcx movq -32(%rbp), %rax movq 8(%rax), %rax movl -36(%rbp), %edx ## kill: def $rdx killed $edx movq (%rax,%rdx,8), %rax movq %rcx, 16(%rax) movq -72(%rbp), %rcx movq -32(%rbp), %rax movq 8(%rax), %rax movl -36(%rbp), %edx ## kill: def $rdx killed $edx movq (%rax,%rdx,8), %rax movq %rcx, 8(%rax) movq -80(%rbp), %rcx movq -32(%rbp), %rax movq 8(%rax), %rax movl -36(%rbp), %edx ## kill: def $rdx killed $edx movq (%rax,%rdx,8), %rax movq %rcx, (%rax) ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_2 LBB0_5: movq _MMAL_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_7 LBB0_6: movq _MMAL_ENOSYS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_7: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MMAL_SUCCESS,4,2 ## @MMAL_SUCCESS .comm _MMAL_ENOSYS,4,2 ## @MMAL_ENOSYS .no_dead_strip _splitter_port_parameter_set .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/interface/mmal/components/extr_splitter.c_splitter_port_parameter_set.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fs_get_dev _fs_get_dev: ; @fs_get_dev .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 str x0, [sp, #16] ldr x0, [sp, #16] bl _find_root str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr x8, [x8] stur x8, [x29, #-8] b LBB0_3 LBB0_2: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_3 LBB0_3: ldur x0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _fs_get_dev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fs_get_dev _fs_get_dev: ## @fs_get_dev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rdi callq _find_root movq %rax, -24(%rbp) cmpq $0, -24(%rbp) je LBB0_2 ## %bb.1: movq -24(%rbp), %rax movq (%rax), %rax movq %rax, -8(%rbp) jmp LBB0_3 LBB0_2: movq $0, -8(%rbp) LBB0_3: movq -8(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fs_get_dev .subsections_via_symbols
AnghaBench/freebsd/sys/dev/mlx5/mlx5_core/extr_mlx5_fs_tree.c_fs_get_dev.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtl8192_start_beacon ; -- Begin function rtl8192_start_beacon .p2align 2 _rtl8192_start_beacon: ; @rtl8192_start_beacon .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 stur x0, [x29, #-8] ldur x0, [x29, #-8] bl _ieee80211_priv stur x0, [x29, #-16] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #24] str wzr, [sp, #20] mov w8, #6 str w8, [sp, #16] mov w8, #15 str w8, [sp, #12] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DMESG ldur x0, [x29, #-8] bl _rtl8192_irq_disable ldur x0, [x29, #-8] adrp x8, _ATIMWND@GOTPAGE ldr x8, [x8, _ATIMWND@GOTPAGEOFF] ldr w1, [x8] mov w2, #2 bl _write_nic_word ldur x0, [x29, #-8] adrp x8, _BCN_INTERVAL@GOTPAGE ldr x8, [x8, _BCN_INTERVAL@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #24] ldr w2, [x8] bl _write_nic_word ldur x0, [x29, #-8] adrp x8, _BCN_DRV_EARLY_INT@GOTPAGE ldr x8, [x8, _BCN_DRV_EARLY_INT@GOTPAGEOFF] ldr w1, [x8] mov w2, #10 bl _write_nic_word ldur x0, [x29, #-8] adrp x8, _BCN_DMATIME@GOTPAGE ldr x8, [x8, _BCN_DMATIME@GOTPAGEOFF] ldr w1, [x8] mov w2, #256 bl _write_nic_word ldur x0, [x29, #-8] adrp x8, _BCN_ERR_THRESH@GOTPAGE ldr x8, [x8, _BCN_ERR_THRESH@GOTPAGEOFF] ldr w1, [x8] mov w2, #100 bl _write_nic_byte ldr w8, [sp, #16] adrp x9, _BCN_TCFG_CW_SHIFT@GOTPAGE ldr x9, [x9, _BCN_TCFG_CW_SHIFT@GOTPAGEOFF] ldr w9, [x9] lsl w9, w8, w9 ldr w8, [sp, #20] orr w8, w8, w9 str w8, [sp, #20] ldr w8, [sp, #12] adrp x9, _BCN_TCFG_IFS@GOTPAGE ldr x9, [x9, _BCN_TCFG_IFS@GOTPAGEOFF] ldr w9, [x9] lsl w9, w8, w9 ldr w8, [sp, #20] orr w8, w8, w9 str w8, [sp, #20] ldur x0, [x29, #-8] adrp x8, _BCN_TCFG@GOTPAGE ldr x8, [x8, _BCN_TCFG@GOTPAGEOFF] ldr w1, [x8] ldr w2, [sp, #20] bl _write_nic_word ldur x0, [x29, #-8] bl _rtl8192_irq_enable ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enabling beacon TX" .comm _ATIMWND,4,2 ; @ATIMWND .comm _BCN_INTERVAL,4,2 ; @BCN_INTERVAL .comm _BCN_DRV_EARLY_INT,4,2 ; @BCN_DRV_EARLY_INT .comm _BCN_DMATIME,4,2 ; @BCN_DMATIME .comm _BCN_ERR_THRESH,4,2 ; @BCN_ERR_THRESH .comm _BCN_TCFG_CW_SHIFT,4,2 ; @BCN_TCFG_CW_SHIFT .comm _BCN_TCFG_IFS,4,2 ; @BCN_TCFG_IFS .comm _BCN_TCFG,4,2 ; @BCN_TCFG .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtl8192_start_beacon ## -- Begin function rtl8192_start_beacon .p2align 4, 0x90 _rtl8192_start_beacon: ## @rtl8192_start_beacon .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 %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _ieee80211_priv movq %rax, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movl $0, -28(%rbp) movl $6, -32(%rbp) movl $15, -36(%rbp) leaq L_.str(%rip), %rdi callq _DMESG movq -8(%rbp), %rdi callq _rtl8192_irq_disable movq -8(%rbp), %rdi movq _ATIMWND@GOTPCREL(%rip), %rax movl (%rax), %esi movl $2, %edx callq _write_nic_word movq -8(%rbp), %rdi movq _BCN_INTERVAL@GOTPCREL(%rip), %rax movl (%rax), %esi movq -24(%rbp), %rax movl (%rax), %edx callq _write_nic_word movq -8(%rbp), %rdi movq _BCN_DRV_EARLY_INT@GOTPCREL(%rip), %rax movl (%rax), %esi movl $10, %edx callq _write_nic_word movq -8(%rbp), %rdi movq _BCN_DMATIME@GOTPCREL(%rip), %rax movl (%rax), %esi movl $256, %edx ## imm = 0x100 callq _write_nic_word movq -8(%rbp), %rdi movq _BCN_ERR_THRESH@GOTPCREL(%rip), %rax movl (%rax), %esi movl $100, %edx callq _write_nic_byte movl -32(%rbp), %eax movq _BCN_TCFG_CW_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl -28(%rbp), %eax movl %eax, -28(%rbp) movl -36(%rbp), %eax movq _BCN_TCFG_IFS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl -28(%rbp), %eax movl %eax, -28(%rbp) movq -8(%rbp), %rdi movq _BCN_TCFG@GOTPCREL(%rip), %rax movl (%rax), %esi movl -28(%rbp), %edx callq _write_nic_word movq -8(%rbp), %rdi callq _rtl8192_irq_enable addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enabling beacon TX" .comm _ATIMWND,4,2 ## @ATIMWND .comm _BCN_INTERVAL,4,2 ## @BCN_INTERVAL .comm _BCN_DRV_EARLY_INT,4,2 ## @BCN_DRV_EARLY_INT .comm _BCN_DMATIME,4,2 ## @BCN_DMATIME .comm _BCN_ERR_THRESH,4,2 ## @BCN_ERR_THRESH .comm _BCN_TCFG_CW_SHIFT,4,2 ## @BCN_TCFG_CW_SHIFT .comm _BCN_TCFG_IFS,4,2 ## @BCN_TCFG_IFS .comm _BCN_TCFG,4,2 ## @BCN_TCFG .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/rtl8192e/extr_r8192E_core.c_rtl8192_start_beacon.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dosusage ; -- Begin function dosusage .p2align 2 _dosusage: ; @dosusage .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf ldr x8, [sp, #8] mov x9, sp str x8, [x9] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _printf adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF bl _printf adrp x0, l_.str.5@PAGE add x0, x0, l_.str.5@PAGEOFF bl _printf adrp x0, l_.str.6@PAGE add x0, x0, l_.str.6@PAGEOFF bl _printf adrp x0, l_.str.7@PAGE add x0, x0, l_.str.7@PAGEOFF bl _printf adrp x0, l_.str.8@PAGE add x0, x0, l_.str.8@PAGEOFF bl _printf adrp x0, l_.str.9@PAGE add x0, x0, l_.str.9@PAGEOFF bl _printf adrp x0, l_.str.10@PAGE add x0, x0, l_.str.10@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "----------------------------\n" l_.str.1: ; @.str.1 .asciz "\nUsage: %s <number>\n" l_.str.2: ; @.str.2 .asciz "where number is either:\n" l_.str.3: ; @.str.3 .asciz "1. crash linux\n" l_.str.4: ; @.str.4 .asciz "2. crash httpd\n" l_.str.5: ; @.str.5 .asciz "3. crash klogd\n" l_.str.6: ; @.str.6 .asciz "4. crash crond\n" l_.str.7: ; @.str.7 .asciz "5. crash syslogd\n" l_.str.8: ; @.str.8 .asciz "6. crash inetd\n" l_.str.9: ; @.str.9 .asciz "7. crash indentd\n" l_.str.10: ; @.str.10 .asciz "8. crash sendmaild\n\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dosusage ## -- Begin function dosusage .p2align 4, 0x90 _dosusage: ## @dosusage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) leaq L_.str(%rip), %rdi movb $0, %al callq _printf movq -8(%rbp), %rsi leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq L_.str.2(%rip), %rdi movb $0, %al callq _printf leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf leaq L_.str.4(%rip), %rdi movb $0, %al callq _printf leaq L_.str.5(%rip), %rdi movb $0, %al callq _printf leaq L_.str.6(%rip), %rdi movb $0, %al callq _printf leaq L_.str.7(%rip), %rdi movb $0, %al callq _printf leaq L_.str.8(%rip), %rdi movb $0, %al callq _printf leaq L_.str.9(%rip), %rdi movb $0, %al callq _printf leaq L_.str.10(%rip), %rdi movb $0, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "----------------------------\n" L_.str.1: ## @.str.1 .asciz "\nUsage: %s <number>\n" L_.str.2: ## @.str.2 .asciz "where number is either:\n" L_.str.3: ## @.str.3 .asciz "1. crash linux\n" L_.str.4: ## @.str.4 .asciz "2. crash httpd\n" L_.str.5: ## @.str.5 .asciz "3. crash klogd\n" L_.str.6: ## @.str.6 .asciz "4. crash crond\n" L_.str.7: ## @.str.7 .asciz "5. crash syslogd\n" L_.str.8: ## @.str.8 .asciz "6. crash inetd\n" L_.str.9: ## @.str.9 .asciz "7. crash indentd\n" L_.str.10: ## @.str.10 .asciz "8. crash sendmaild\n\n" .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/dos/extr_251.c_dosusage.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mb_test_bit _mb_test_bit: ; @mb_test_bit .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 mov x8, x0 sub x0, x29, #4 stur w8, [x29, #-4] str x1, [sp] ldr x1, [sp] bl _mb_correct_addr_and_bit str x0, [sp] ldur w0, [x29, #-4] ldr x1, [sp] bl _ext4_test_bit ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _mb_test_bit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mb_test_bit _mb_test_bit: ## @mb_test_bit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl %edi, -4(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rsi leaq -4(%rbp), %rdi callq _mb_correct_addr_and_bit movq %rax, -16(%rbp) movl -4(%rbp), %edi movq -16(%rbp), %rsi callq _ext4_test_bit addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mb_test_bit .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ext4/extr_mballoc.c_mb_test_bit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpu_copy_thread ; -- Begin function cpu_copy_thread .p2align 2 _cpu_copy_thread: ; @cpu_copy_thread .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 stur x0, [x29, #-8] stur x1, [x29, #-16] ldur x8, [x29, #-8] ldr x8, [x8, #16] str x8, [sp, #24] ldur x8, [x29, #-16] ldr x0, [x8, #16] ldr x1, [sp, #24] mov w2, #56 str w2, [sp, #4] ; 4-byte Folded Spill bl _bcopy ldr w2, [sp, #4] ; 4-byte Folded Reload ldur x8, [x29, #-8] ldr x8, [x8, #8] str x8, [sp, #16] ldur x8, [x29, #-16] ldr x0, [x8, #8] ldr x1, [sp, #16] bl _bcopy ldr x8, [sp, #16] ldr x9, [x8, #48] adrp x10, _FIRSTARG@GOTPAGE ldr x10, [x10, _FIRSTARG@GOTPAGEOFF] ldr x11, [x10] mov x8, #0 str x8, [x9, x11, lsl #3] ldr x9, [sp, #16] ldr x9, [x9, #48] ldr x10, [x10] add x10, x10, #1 str x8, [x9, x10, lsl #3] ldr x9, [sp, #16] ldr w8, [x9] and w8, w8, #0xefffffff str w8, [x9] ldr x8, [sp, #16] subs x8, x8, #24 str x8, [sp, #8] ldr x0, [sp, #8] mov w1, #0 mov w2, #24 bl _memset adrp x8, _fork_return@GOTPAGE ldr x8, [x8, _fork_return@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #8] str x8, [x9, #16] ldur x8, [x29, #-8] ldr x9, [sp, #8] str x8, [x9, #8] ldr x8, [sp, #16] ldr x9, [sp, #8] str x8, [x9] ldr x8, [sp, #8] ldr x9, [sp, #24] str x8, [x9, #40] adrp x8, _fork_trampoline@GOTPAGE ldr x8, [x8, _fork_trampoline@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #24] str x8, [x9, #16] ldr x8, [sp, #24] ldr x8, [x8, #16] ldr x9, [sp, #24] ldr x9, [x9, #24] str x8, [x9] ldr x8, [sp, #24] str xzr, [x8, #8] ldur x9, [x29, #-8] mov w8, #1 str w8, [x9] adrp x8, _psl_kernset@GOTPAGE ldr x8, [x8, _psl_kernset@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-8] str w8, [x9, #4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _FIRSTARG,8,3 ; @FIRSTARG .comm _fork_return,8,3 ; @fork_return .comm _fork_trampoline,8,3 ; @fork_trampoline .comm _psl_kernset,4,2 ; @psl_kernset .comm _SPEFSCR_FDBZE,4,2 ; @SPEFSCR_FDBZE .comm _SPEFSCR_FINVE,4,2 ; @SPEFSCR_FINVE .comm _SPEFSCR_FOVFE,4,2 ; @SPEFSCR_FOVFE .comm _SPEFSCR_FUNFE,4,2 ; @SPEFSCR_FUNFE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpu_copy_thread ## -- Begin function cpu_copy_thread .p2align 4, 0x90 _cpu_copy_thread: ## @cpu_copy_thread .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 %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq 16(%rax), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movq 16(%rax), %rdi movq -24(%rbp), %rsi movl $56, %edx callq _bcopy movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rdi movq -32(%rbp), %rsi movl $56, %edx callq _bcopy movq -32(%rbp), %rax movq 48(%rax), %rax movq _FIRSTARG@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq $0, (%rax,%rcx,8) movq -32(%rbp), %rax movq 48(%rax), %rax movq _FIRSTARG@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq $0, 8(%rax,%rcx,8) movq -32(%rbp), %rax movl (%rax), %ecx andl $-268435457, %ecx ## imm = 0xEFFFFFFF movl %ecx, (%rax) movq -32(%rbp), %rax addq $-24, %rax movq %rax, -40(%rbp) movq -40(%rbp), %rdi xorl %esi, %esi movl $24, %edx callq _memset movq _fork_return@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -40(%rbp), %rax movq %rcx, 16(%rax) movq -8(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, 8(%rax) movq -32(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, (%rax) movq -40(%rbp), %rcx movq -24(%rbp), %rax movq %rcx, 40(%rax) movq _fork_trampoline@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, 16(%rax) movq -24(%rbp), %rax movq 16(%rax), %rcx movq -24(%rbp), %rax movq 24(%rax), %rax movq %rcx, (%rax) movq -24(%rbp), %rax movq $0, 8(%rax) movq -8(%rbp), %rax movl $1, (%rax) movq _psl_kernset@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -8(%rbp), %rax movl %ecx, 4(%rax) addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FIRSTARG,8,3 ## @FIRSTARG .comm _fork_return,8,3 ## @fork_return .comm _fork_trampoline,8,3 ## @fork_trampoline .comm _psl_kernset,4,2 ## @psl_kernset .comm _SPEFSCR_FDBZE,4,2 ## @SPEFSCR_FDBZE .comm _SPEFSCR_FINVE,4,2 ## @SPEFSCR_FINVE .comm _SPEFSCR_FOVFE,4,2 ## @SPEFSCR_FOVFE .comm _SPEFSCR_FUNFE,4,2 ## @SPEFSCR_FUNFE .subsections_via_symbols
AnghaBench/freebsd/sys/powerpc/powerpc/extr_exec_machdep.c_cpu_copy_thread.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_rtmpe_encrypt_sig ; -- Begin function ff_rtmpe_encrypt_sig .p2align 2 _ff_rtmpe_encrypt_sig: ; @ff_rtmpe_encrypt_sig .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] str w3, [sp, #4] str wzr, [sp] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp] subs w8, w8, #32 cset w8, ge tbnz w8, #0, LBB0_9 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] subs w8, w8, #8 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp] add x0, x8, x9, lsl #2 ldr x8, [sp, #16] ldrsw x9, [sp] add x1, x8, x9, lsl #2 ldr x8, [sp, #8] ldrsw x9, [sp] ldr w8, [x8, x9, lsl #2] mov w10, #15 sdiv w9, w8, w10 mul w9, w9, w10 subs w2, w8, w9 bl _rtmpe8_sig b LBB0_7 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] subs w8, w8, #9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp] add x0, x8, x9, lsl #2 ldr x8, [sp, #16] ldrsw x9, [sp] add x1, x8, x9, lsl #2 ldr x8, [sp, #8] ldrsw x9, [sp] ldr w8, [x8, x9, lsl #2] mov w10, #15 sdiv w9, w8, w10 mul w9, w9, w10 subs w2, w8, w9 bl _rtmpe9_sig b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp] add w8, w8, #8 str w8, [sp] b LBB0_1 LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_rtmpe_encrypt_sig ## -- Begin function ff_rtmpe_encrypt_sig .p2align 4, 0x90 _ff_rtmpe_encrypt_sig: ## @ff_rtmpe_encrypt_sig .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movl %ecx, -28(%rbp) movl $0, -32(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $32, -32(%rbp) jge LBB0_9 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl $8, -28(%rbp) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi movslq -32(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq -16(%rbp), %rsi movslq -32(%rbp), %rax shlq $2, %rax addq %rax, %rsi movq -24(%rbp), %rax movslq -32(%rbp), %rcx movl (%rax,%rcx,4), %eax movl $15, %ecx cltd idivl %ecx callq _rtmpe8_sig jmp LBB0_7 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 cmpl $9, -28(%rbp) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rdi movslq -32(%rbp), %rax shlq $2, %rax addq %rax, %rdi movq -16(%rbp), %rsi movslq -32(%rbp), %rax shlq $2, %rax addq %rax, %rsi movq -24(%rbp), %rax movslq -32(%rbp), %rcx movl (%rax,%rcx,4), %eax movl $15, %ecx cltd idivl %ecx callq _rtmpe9_sig LBB0_6: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_7 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movl -32(%rbp), %eax addl $8, %eax movl %eax, -32(%rbp) jmp LBB0_1 LBB0_9: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_rtmpcrypt.c_ff_rtmpe_encrypt_sig.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla2x00_gid_pt ; -- Begin function qla2x00_gid_pt .p2align 2 _qla2x00_gid_pt: ; @qla2x00_gid_pt .cfi_startproc ; %bb.0: sub sp, sp, #176 .cfi_def_cfa_offset 176 stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #80] ldr x0, [sp, #80] bl _IS_QLA2100 subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #80] bl _IS_QLA2200 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x0, [x29, #-16] ldur x1, [x29, #-24] bl _qla2x00_sns_gid_pt stur w0, [x29, #-4] b LBB0_18 LBB0_3: ; kill: def $x8 killed $xzr stur xzr, [x29, #-72] ldur x0, [x29, #-16] bl _qla2x00_gid_pt_rsp_size str x0, [sp, #72] ldr x8, [sp, #80] ldr w8, [x8, #12] add x1, sp, #40 str w8, [sp, #64] ldr x8, [sp, #80] ldr w8, [x8, #32] str w8, [sp, #60] ldr x8, [sp, #80] ldr w8, [x8, #32] str w8, [sp, #56] adrp x8, _GID_PT_REQ_SIZE@GOTPAGE ldr x8, [x8, _GID_PT_REQ_SIZE@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #52] ldr x8, [sp, #72] str x8, [sp, #40] adrp x8, _NPH_SNS@GOTPAGE ldr x8, [x8, _NPH_SNS@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #48] ldr x8, [sp, #80] ldr x8, [x8, #24] ldr x8, [x8] ldur x0, [x29, #-16] blr x8 stur x0, [x29, #-48] ldr x8, [sp, #80] ldr x0, [x8, #16] adrp x8, _GID_PT_CMD@GOTPAGE ldr x8, [x8, _GID_PT_CMD@GOTPAGEOFF] ldr w1, [x8] ldr x2, [sp, #72] bl _qla2x00_prep_ct_req stur x0, [x29, #-56] ldr x8, [sp, #80] ldr x8, [x8, #16] stur x8, [x29, #-64] adrp x8, _NS_NX_PORT_TYPE@GOTPAGE ldr x8, [x8, _NS_NX_PORT_TYPE@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-56] str w8, [x9] ldur x0, [x29, #-16] ldr x8, [sp, #80] ldr w1, [x8, #12] ldr x8, [sp, #80] ldr w2, [x8, #8] mov w3, #4 bl _qla2x00_issue_iocb stur w0, [x29, #-28] ldur w8, [x29, #-28] adrp x9, _QLA_SUCCESS@GOTPAGE ldr x9, [x9, _QLA_SUCCESS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _ql_dbg_disc@GOTPAGE ldr x8, [x8, _ql_dbg_disc@GOTPAGEOFF] ldr w0, [x8] ldur x1, [x29, #-16] ldur w4, [x29, #-28] mov w2, #8277 adrp x3, l_.str@PAGE add x3, x3, l_.str@PAGEOFF bl _ql_dbg b LBB0_17 LBB0_5: ldur x0, [x29, #-16] ldur x1, [x29, #-48] ldur x2, [x29, #-64] adrp x3, l_.str.1@PAGE add x3, x3, l_.str.1@PAGEOFF bl _qla2x00_chk_ms_status adrp x8, _QLA_SUCCESS@GOTPAGE ldr x8, [x8, _QLA_SUCCESS@GOTPAGEOFF] ldr w8, [x8] subs w8, w0, w8 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _QLA_FUNCTION_FAILED@GOTPAGE ldr x8, [x8, _QLA_FUNCTION_FAILED@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-28] b LBB0_16 LBB0_7: stur xzr, [x29, #-40] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-40] ldr x9, [sp, #80] ldr x9, [x9] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_13 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 ldur x8, [x29, #-64] ldr x8, [x8] ldur x9, [x29, #-40] add x8, x8, x9, lsl #3 stur x8, [x29, #-72] ldur x8, [x29, #-24] str x8, [sp, #16] ; 8-byte Folded Spill ldur x8, [x29, #-40] mov x9, #12 str x9, [sp, #24] ; 8-byte Folded Spill mul x8, x8, x9 str x8, [sp, #8] ; 8-byte Folded Spill ldur x8, [x29, #-72] ldr w0, [x8, #4] bl _be_to_port_id ldr x11, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp, #24] ; 8-byte Folded Reload str w0, [sp, #36] ldr w8, [sp, #36] str w8, [x9, x11] ldur x8, [x29, #-24] ldur x9, [x29, #-40] mul x9, x9, x10 add x8, x8, x9 ldr w0, [x8, #8] adrp x8, _WWN_SIZE@GOTPAGE ldr x8, [x8, _WWN_SIZE@GOTPAGEOFF] ldr w2, [x8] mov w1, #0 bl _memset ldr x11, [sp, #24] ; 8-byte Folded Reload adrp x8, _PORT_SPEED_UNKNOWN@GOTPAGE ldr x8, [x8, _PORT_SPEED_UNKNOWN@GOTPAGEOFF] ldr w8, [x8] ldur x9, [x29, #-24] ldur x10, [x29, #-40] mul x10, x10, x11 add x9, x9, x10 str w8, [x9, #4] ldur x8, [x29, #-72] ldr w8, [x8] adrp x9, _BIT_7@GOTPAGE ldr x9, [x9, _BIT_7@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldur x8, [x29, #-72] ldr w8, [x8] ldur x9, [x29, #-24] ldur x10, [x29, #-40] mov x11, #12 mul x10, x10, x11 str w8, [x9, x10] b LBB0_13 LBB0_11: ; in Loop: Header=BB0_8 Depth=1 b LBB0_12 LBB0_12: ; in Loop: Header=BB0_8 Depth=1 ldur x8, [x29, #-40] add x8, x8, #1 stur x8, [x29, #-40] b LBB0_8 LBB0_13: ldur x8, [x29, #-40] ldr x9, [sp, #80] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: adrp x8, _QLA_FUNCTION_FAILED@GOTPAGE ldr x8, [x8, _QLA_FUNCTION_FAILED@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-28] b LBB0_15 LBB0_15: b LBB0_16 LBB0_16: b LBB0_17 LBB0_17: ldur w8, [x29, #-28] stur w8, [x29, #-4] b LBB0_18 LBB0_18: ldur w0, [x29, #-4] ldp x29, x30, [sp, #160] ; 16-byte Folded Reload add sp, sp, #176 ret .cfi_endproc ; -- End function .comm _GID_PT_REQ_SIZE,4,2 ; @GID_PT_REQ_SIZE .comm _NPH_SNS,4,2 ; @NPH_SNS .comm _GID_PT_CMD,4,2 ; @GID_PT_CMD .comm _NS_NX_PORT_TYPE,4,2 ; @NS_NX_PORT_TYPE .comm _QLA_SUCCESS,4,2 ; @QLA_SUCCESS .comm _ql_dbg_disc,4,2 ; @ql_dbg_disc .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GID_PT issue IOCB failed (%d).\n" l_.str.1: ; @.str.1 .asciz "GID_PT" .comm _QLA_FUNCTION_FAILED,4,2 ; @QLA_FUNCTION_FAILED .comm _WWN_SIZE,4,2 ; @WWN_SIZE .comm _PORT_SPEED_UNKNOWN,4,2 ; @PORT_SPEED_UNKNOWN .comm _BIT_7,4,2 ; @BIT_7 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla2x00_gid_pt ## -- Begin function qla2x00_gid_pt .p2align 4, 0x90 _qla2x00_gid_pt: ## @qla2x00_gid_pt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -80(%rbp) movq -80(%rbp), %rdi callq _IS_QLA2100 cmpq $0, %rax jne LBB0_2 ## %bb.1: movq -80(%rbp), %rdi callq _IS_QLA2200 cmpq $0, %rax je LBB0_3 LBB0_2: movq -16(%rbp), %rdi movq -24(%rbp), %rsi callq _qla2x00_sns_gid_pt movl %eax, -4(%rbp) jmp LBB0_18 LBB0_3: movq $0, -72(%rbp) movq -16(%rbp), %rdi callq _qla2x00_gid_pt_rsp_size movq %rax, -88(%rbp) movq -80(%rbp), %rax movl 12(%rax), %eax movl %eax, -96(%rbp) movq -80(%rbp), %rax movl 32(%rax), %eax movl %eax, -100(%rbp) movq -80(%rbp), %rax movl 32(%rax), %eax movl %eax, -104(%rbp) movq _GID_PT_REQ_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -108(%rbp) movq -88(%rbp), %rax movq %rax, -120(%rbp) movq _NPH_SNS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -112(%rbp) movq -80(%rbp), %rax movq 24(%rax), %rax movq (%rax), %rax movq -16(%rbp), %rdi leaq -120(%rbp), %rsi callq *%rax movq %rax, -48(%rbp) movq -80(%rbp), %rax movq 16(%rax), %rdi movq _GID_PT_CMD@GOTPCREL(%rip), %rax movl (%rax), %esi movq -88(%rbp), %rdx callq _qla2x00_prep_ct_req movq %rax, -56(%rbp) movq -80(%rbp), %rax movq 16(%rax), %rax movq %rax, -64(%rbp) movq _NS_NX_PORT_TYPE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -56(%rbp), %rax movl %ecx, (%rax) movq -16(%rbp), %rdi movq -80(%rbp), %rax movl 12(%rax), %esi movq -80(%rbp), %rax movl 8(%rax), %edx movl $4, %ecx callq _qla2x00_issue_iocb movl %eax, -28(%rbp) movl -28(%rbp), %eax movq _QLA_SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_5 ## %bb.4: movq _ql_dbg_disc@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rsi movl -28(%rbp), %r8d movl $8277, %edx ## imm = 0x2055 leaq L_.str(%rip), %rcx callq _ql_dbg jmp LBB0_17 LBB0_5: movq -16(%rbp), %rdi movq -48(%rbp), %rsi movq -64(%rbp), %rdx leaq L_.str.1(%rip), %rcx callq _qla2x00_chk_ms_status movq _QLA_SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_7 ## %bb.6: movq _QLA_FUNCTION_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) jmp LBB0_16 LBB0_7: movq $0, -40(%rbp) LBB0_8: ## =>This Inner Loop Header: Depth=1 movq -40(%rbp), %rax movq -80(%rbp), %rcx cmpq (%rcx), %rax jae LBB0_13 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq -64(%rbp), %rax movq (%rax), %rax movq -40(%rbp), %rcx shlq $3, %rcx addq %rcx, %rax movq %rax, -72(%rbp) movq -24(%rbp), %rax imulq $12, -40(%rbp), %rcx addq %rcx, %rax movq %rax, -136(%rbp) ## 8-byte Spill movq -72(%rbp), %rax movl 4(%rax), %edi callq _be_to_port_id movl %eax, %ecx movq -136(%rbp), %rax ## 8-byte Reload movl %ecx, -128(%rbp) movl -128(%rbp), %ecx movl %ecx, (%rax) movq -24(%rbp), %rax imulq $12, -40(%rbp), %rcx addq %rcx, %rax movl 8(%rax), %edi movq _WWN_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _memset movq _PORT_SPEED_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -24(%rbp), %rax imulq $12, -40(%rbp), %rdx addq %rdx, %rax movl %ecx, 4(%rax) movq -72(%rbp), %rax movl (%rax), %eax movq _BIT_7@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_11 ## %bb.10: movq -72(%rbp), %rax movl (%rax), %ecx movq -24(%rbp), %rax imulq $12, -40(%rbp), %rdx addq %rdx, %rax movl %ecx, (%rax) jmp LBB0_13 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 jmp LBB0_12 LBB0_12: ## in Loop: Header=BB0_8 Depth=1 movq -40(%rbp), %rax addq $1, %rax movq %rax, -40(%rbp) jmp LBB0_8 LBB0_13: movq -40(%rbp), %rax movq -80(%rbp), %rcx cmpq (%rcx), %rax jne LBB0_15 ## %bb.14: movq _QLA_FUNCTION_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -28(%rbp) LBB0_15: jmp LBB0_16 LBB0_16: jmp LBB0_17 LBB0_17: movl -28(%rbp), %eax movl %eax, -4(%rbp) LBB0_18: movl -4(%rbp), %eax addq $144, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GID_PT_REQ_SIZE,4,2 ## @GID_PT_REQ_SIZE .comm _NPH_SNS,4,2 ## @NPH_SNS .comm _GID_PT_CMD,4,2 ## @GID_PT_CMD .comm _NS_NX_PORT_TYPE,4,2 ## @NS_NX_PORT_TYPE .comm _QLA_SUCCESS,4,2 ## @QLA_SUCCESS .comm _ql_dbg_disc,4,2 ## @ql_dbg_disc .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GID_PT issue IOCB failed (%d).\n" L_.str.1: ## @.str.1 .asciz "GID_PT" .comm _QLA_FUNCTION_FAILED,4,2 ## @QLA_FUNCTION_FAILED .comm _WWN_SIZE,4,2 ## @WWN_SIZE .comm _PORT_SPEED_UNKNOWN,4,2 ## @PORT_SPEED_UNKNOWN .comm _BIT_7,4,2 ## @BIT_7 .subsections_via_symbols
AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_gs.c_qla2x00_gid_pt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _overflo ; -- Begin function overflo .p2align 2 _overflo: ; @overflo .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x1, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _FATAL ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "regular expression too big: %.30s..." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _overflo ## -- Begin function overflo .p2align 4, 0x90 _overflo: ## @overflo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rsi leaq L_.str(%rip), %rdi callq _FATAL addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "regular expression too big: %.30s..." .subsections_via_symbols
AnghaBench/freebsd/contrib/one-true-awk/extr_b.c_overflo.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function freeClusterManager _freeClusterManager: ; @freeClusterManager .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 adrp x8, _cluster_manager@GOTPAGE ldr x8, [x8, _cluster_manager@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8, #8] sub x1, x29, #4 bl _listRewind b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 sub x0, x29, #4 bl _listNext mov x8, x0 stur x8, [x29, #-16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #24] ldr x0, [sp, #24] bl _freeClusterManagerNode b LBB0_2 LBB0_4: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8, #8] bl _listRelease ldr x8, [sp, #8] ; 8-byte Folded Reload ; kill: def $x9 killed $xzr str xzr, [x8, #8] b LBB0_5 LBB0_5: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] sub x1, x29, #4 bl _listRewind b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 sub x0, x29, #4 bl _listNext mov x8, x0 stur x8, [x29, #-16] subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #16] ldr x0, [sp, #16] bl _sdsfree b LBB0_7 LBB0_9: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x8] bl _listRelease ldr x8, [sp, #8] ; 8-byte Folded Reload ; kill: def $x9 killed $xzr str xzr, [x8] b LBB0_10 LBB0_10: adrp x8, _clusterManagerUncoveredSlots@GOTPAGE ldr x8, [x8, _clusterManagerUncoveredSlots@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: adrp x8, _clusterManagerUncoveredSlots@GOTPAGE ldr x8, [x8, _clusterManagerUncoveredSlots@GOTPAGEOFF] ldr x0, [x8] bl _dictRelease b LBB0_12 LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _cluster_manager,16,3 ; @cluster_manager .comm _clusterManagerUncoveredSlots,8,3 ; @clusterManagerUncoveredSlots .no_dead_strip _freeClusterManager .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function freeClusterManager _freeClusterManager: ## @freeClusterManager .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq _cluster_manager@GOTPCREL(%rip), %rax cmpq $0, 8(%rax) je LBB0_5 ## %bb.1: movq _cluster_manager@GOTPCREL(%rip), %rax movq 8(%rax), %rdi leaq -4(%rbp), %rsi callq _listRewind LBB0_2: ## =>This Inner Loop Header: Depth=1 leaq -4(%rbp), %rdi callq _listNext movq %rax, -16(%rbp) cmpq $0, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi callq _freeClusterManagerNode jmp LBB0_2 LBB0_4: movq _cluster_manager@GOTPCREL(%rip), %rax movq 8(%rax), %rdi callq _listRelease movq _cluster_manager@GOTPCREL(%rip), %rax movq $0, 8(%rax) LBB0_5: movq _cluster_manager@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_10 ## %bb.6: movq _cluster_manager@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq -4(%rbp), %rsi callq _listRewind LBB0_7: ## =>This Inner Loop Header: Depth=1 leaq -4(%rbp), %rdi callq _listNext movq %rax, -16(%rbp) cmpq $0, %rax je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi callq _sdsfree jmp LBB0_7 LBB0_9: movq _cluster_manager@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _listRelease movq _cluster_manager@GOTPCREL(%rip), %rax movq $0, (%rax) LBB0_10: movq _clusterManagerUncoveredSlots@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_12 ## %bb.11: movq _clusterManagerUncoveredSlots@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _dictRelease LBB0_12: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _cluster_manager,16,3 ## @cluster_manager .comm _clusterManagerUncoveredSlots,8,3 ## @clusterManagerUncoveredSlots .no_dead_strip _freeClusterManager .subsections_via_symbols
AnghaBench/redis/src/extr_redis-cli.c_freeClusterManager.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_last_merged_location _find_last_merged_location: ; @find_last_merged_location .cfi_startproc ; %bb.0: sub sp, sp, #288 .cfi_def_cfa_offset 288 stp x28, x27, [sp, #256] ; 16-byte Folded Spill stp x29, x30, [sp, #272] ; 16-byte Folded Spill add x29, sp, #272 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, _svn_opt_revision_number@GOTPAGE ldr x8, [x8, _svn_opt_revision_number@GOTPAGEOFF] str x8, [sp, #56] ; 8-byte Folded Spill stur x0, [x29, #-24] stur x1, [x29, #-32] stur x2, [x29, #-40] stur x3, [x29, #-48] stur x4, [x29, #-56] stur x5, [x29, #-64] stur x6, [x29, #-72] stur x7, [x29, #-80] adrp x8, _SVN_INVALID_REVNUM@GOTPAGE ldr x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF] ldr x8, [x8] add x9, sp, #120 str x9, [sp, #64] ; 8-byte Folded Spill str x8, [sp, #120] add x8, sp, #112 str x8, [sp, #72] ; 8-byte Folded Spill ; kill: def $x8 killed $xzr str xzr, [sp, #112] ldur x0, [x29, #-80] bl _svn_pool_create ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x13, [sp, #64] ; 8-byte Folded Reload mov x9, x0 ldr x0, [sp, #72] ; 8-byte Folded Reload str x9, [sp, #104] ldr x9, [x8] sub x5, x29, #96 stur x9, [x29, #-88] ldur x9, [x29, #-40] ldr x9, [x9] ldr x9, [x9, #8] stur x9, [x29, #-96] ldr x9, [x8] sub x7, x29, #112 stur x9, [x29, #-104] ldur x9, [x29, #-32] ldr x9, [x9] stur x9, [x29, #-112] ldr x9, [x8] sub x6, x29, #128 stur x9, [x29, #-120] ldur x9, [x29, #-40] ldr x9, [x9] ldr x9, [x9, #8] stur x9, [x29, #-128] ldr x8, [x8] add x3, sp, #128 str x8, [sp, #136] ldur x8, [x29, #-48] ldr x8, [x8] str x8, [sp, #128] adrp x8, _TRUE@GOTPAGE ldr x8, [x8, _TRUE@GOTPAGEOFF] ldr w1, [x8] ldur x8, [x29, #-48] ldr w2, [x8, #8] ldur x8, [x29, #-40] ldr x8, [x8] ldr w4, [x8] adrp x8, _operative_rev_receiver@GOTPAGE ldr x8, [x8, _operative_rev_receiver@GOTPAGEOFF] ldr w14, [x8] ldur x12, [x29, #-56] ldur x11, [x29, #-64] ldr x10, [sp, #104] ldr x8, [sp, #104] mov x9, sp str w14, [x9] str x13, [x9, #8] str x12, [x9, #16] str x11, [x9, #24] str x10, [x9, #32] str x8, [x9, #40] bl _short_circuit_mergeinfo_log bl _SVN_ERR ldr x0, [sp, #120] bl _SVN_IS_VALID_REVNUM subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-32] ldur x9, [x29, #-24] str x8, [x9] b LBB0_6 LBB0_2: adrp x8, _SVN_INVALID_REVNUM@GOTPAGE ldr x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF] ldr x8, [x8] add x13, sp, #80 str x8, [sp, #80] ldr x8, [sp, #120] sub x7, x29, #128 stur x8, [x29, #-128] adrp x8, _FALSE@GOTPAGE ldr x8, [x8, _FALSE@GOTPAGEOFF] ldr w1, [x8] ldur x8, [x29, #-48] ldr w2, [x8, #8] ldur x8, [x29, #-40] ldr x8, [x8] ldr w4, [x8] adrp x8, _operative_rev_receiver@GOTPAGE ldr x8, [x8, _operative_rev_receiver@GOTPAGEOFF] ldr w14, [x8] ldur x12, [x29, #-56] ldur x11, [x29, #-64] ldr x10, [sp, #104] ldr x8, [sp, #104] mov x9, sp str w14, [x9] str x13, [x9, #8] str x12, [x9, #16] str x11, [x9, #24] str x10, [x9, #32] str x8, [x9, #40] add x0, sp, #112 add x3, sp, #128 sub x5, x29, #96 sub x6, x29, #112 bl _short_circuit_mergeinfo_log bl _SVN_ERR ldr x0, [sp, #80] bl _SVN_IS_VALID_REVNUM subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #80] subs x8, x8, #1 str x8, [sp, #88] b LBB0_5 LBB0_4: ldr x8, [sp, #120] str x8, [sp, #88] b LBB0_5 LBB0_5: ldur x1, [x29, #-40] ldur x8, [x29, #-32] ldr x2, [x8] ldr x3, [sp, #88] ldur x4, [x29, #-80] ldur x5, [x29, #-80] add x0, sp, #96 bl _branch_history_intersect_range bl _SVN_ERR ldur x1, [x29, #-24] ldr x2, [sp, #96] ldur x3, [x29, #-72] ldur x4, [x29, #-80] mov x0, #0 bl _branch_history_get_endpoints bl _SVN_ERR b LBB0_6 LBB0_6: ldr x0, [sp, #104] bl _svn_pool_destroy adrp x8, _SVN_NO_ERROR@GOTPAGE ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] ldr x0, [x8] ldp x29, x30, [sp, #272] ; 16-byte Folded Reload ldp x28, x27, [sp, #256] ; 16-byte Folded Reload add sp, sp, #288 ret .cfi_endproc ; -- End function .comm _SVN_INVALID_REVNUM,8,3 ; @SVN_INVALID_REVNUM .comm _svn_opt_revision_number,8,3 ; @svn_opt_revision_number .comm _TRUE,4,2 ; @TRUE .comm _operative_rev_receiver,4,2 ; @operative_rev_receiver .comm _FALSE,4,2 ; @FALSE .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .no_dead_strip _find_last_merged_location .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_last_merged_location _find_last_merged_location: ## @find_last_merged_location .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $232, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq 24(%rbp), %rax movq 16(%rbp), %rax movq %rdi, -48(%rbp) movq %rsi, -56(%rbp) movq %rdx, -64(%rbp) movq %rcx, -72(%rbp) movq %r8, -80(%rbp) movq %r9, -88(%rbp) movq _SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -160(%rbp) movq $0, -168(%rbp) movq 24(%rbp), %rdi callq _svn_pool_create movq %rax, -176(%rbp) movq _svn_opt_revision_number@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -96(%rbp) movq -64(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rax movq %rax, -104(%rbp) movq _svn_opt_revision_number@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -112(%rbp) movq -56(%rbp), %rax movq (%rax), %rax movq %rax, -120(%rbp) movq _svn_opt_revision_number@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -128(%rbp) movq -64(%rbp), %rax movq (%rax), %rax movq 8(%rax), %rax movq %rax, -136(%rbp) movq _svn_opt_revision_number@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -144(%rbp) movq -72(%rbp), %rax movq (%rax), %rax movq %rax, -152(%rbp) movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %esi movq -72(%rbp), %rax movl 8(%rax), %edx movq -64(%rbp), %rax movq (%rax), %rax movl (%rax), %r8d movq _operative_rev_receiver@GOTPCREL(%rip), %rax movl (%rax), %r15d movq -80(%rbp), %rbx movq -88(%rbp), %r11 movq -176(%rbp), %r10 movq -176(%rbp), %rax leaq -168(%rbp), %rdi leaq -152(%rbp), %rcx leaq -104(%rbp), %r9 leaq -136(%rbp), %r13 leaq -120(%rbp), %r12 leaq -160(%rbp), %r14 movq %r13, (%rsp) movq %r12, 8(%rsp) movl %r15d, 16(%rsp) movq %r14, 24(%rsp) movq %rbx, 32(%rsp) movq %r11, 40(%rsp) movq %r10, 48(%rsp) movq %rax, 56(%rsp) callq _short_circuit_mergeinfo_log movl %eax, %edi callq _SVN_ERR movq -160(%rbp), %rdi callq _SVN_IS_VALID_REVNUM cmpq $0, %rax jne LBB0_2 ## %bb.1: movq -56(%rbp), %rcx movq -48(%rbp), %rax movq %rcx, (%rax) jmp LBB0_6 LBB0_2: movq _SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -200(%rbp) movq -160(%rbp), %rax movq %rax, -136(%rbp) movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %esi movq -72(%rbp), %rax movl 8(%rax), %edx movq -64(%rbp), %rax movq (%rax), %rax movl (%rax), %r8d movq _operative_rev_receiver@GOTPCREL(%rip), %rax movl (%rax), %r15d movq -80(%rbp), %rbx movq -88(%rbp), %r11 movq -176(%rbp), %r10 movq -176(%rbp), %rax leaq -168(%rbp), %rdi leaq -152(%rbp), %rcx leaq -104(%rbp), %r9 leaq -120(%rbp), %r13 leaq -136(%rbp), %r12 leaq -200(%rbp), %r14 movq %r13, (%rsp) movq %r12, 8(%rsp) movl %r15d, 16(%rsp) movq %r14, 24(%rsp) movq %rbx, 32(%rsp) movq %r11, 40(%rsp) movq %r10, 48(%rsp) movq %rax, 56(%rsp) callq _short_circuit_mergeinfo_log movl %eax, %edi callq _SVN_ERR movq -200(%rbp), %rdi callq _SVN_IS_VALID_REVNUM cmpq $0, %rax je LBB0_4 ## %bb.3: movq -200(%rbp), %rax subq $1, %rax movq %rax, -192(%rbp) jmp LBB0_5 LBB0_4: movq -160(%rbp), %rax movq %rax, -192(%rbp) LBB0_5: movq -64(%rbp), %rsi movq -56(%rbp), %rax movq (%rax), %rdx movq -192(%rbp), %rcx movq 24(%rbp), %r8 movq 24(%rbp), %r9 leaq -184(%rbp), %rdi callq _branch_history_intersect_range movl %eax, %edi callq _SVN_ERR movq -48(%rbp), %rsi movq -184(%rbp), %rdx movq 16(%rbp), %rcx movq 24(%rbp), %r8 xorl %eax, %eax movl %eax, %edi callq _branch_history_get_endpoints movl %eax, %edi callq _SVN_ERR LBB0_6: movq -176(%rbp), %rdi callq _svn_pool_destroy movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $232, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_INVALID_REVNUM,8,3 ## @SVN_INVALID_REVNUM .comm _svn_opt_revision_number,8,3 ## @svn_opt_revision_number .comm _TRUE,4,2 ## @TRUE .comm _operative_rev_receiver,4,2 ## @operative_rev_receiver .comm _FALSE,4,2 ## @FALSE .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .no_dead_strip _find_last_merged_location .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_merge.c_find_last_merged_location.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lwip_stop_socket_select_isr _lwip_stop_socket_select_isr: ; @lwip_stop_socket_select_isr .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x0, [sp, #8] bl _sys_sem_signal_isr subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr x8, [sp] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: adrp x8, _pdTRUE@GOTPAGE ldr x8, [x8, _pdTRUE@GOTPAGEOFF] ldr w8, [x8] ldr x9, [sp] str w8, [x9] b LBB0_3 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _pdTRUE,4,2 ; @pdTRUE .no_dead_strip _lwip_stop_socket_select_isr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lwip_stop_socket_select_isr _lwip_stop_socket_select_isr: ## @lwip_stop_socket_select_isr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi callq _sys_sem_signal_isr cmpq $0, %rax je LBB0_3 ## %bb.1: cmpq $0, -16(%rbp) je LBB0_3 ## %bb.2: movq _pdTRUE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax movl %ecx, (%rax) LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _pdTRUE,4,2 ## @pdTRUE .no_dead_strip _lwip_stop_socket_select_isr .subsections_via_symbols
AnghaBench/esp-idf/components/lwip/port/esp32/extr_vfs_lwip.c_lwip_stop_socket_select_isr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r600_do_cp_start ; -- Begin function r600_do_cp_start .p2align 2 _r600_do_cp_start: ; @r600_do_cp_start .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG mov w0, #7 bl _BEGIN_RING adrp x8, _R600_IT_ME_INITIALIZE@GOTPAGE ldr x8, [x8, _R600_IT_ME_INITIALIZE@GOTPAGEOFF] ldr w0, [x8] mov w1, #5 bl _CP_PACKET3 bl _OUT_RING mov w0, #1 bl _OUT_RING ldur x8, [x29, #-8] ldr w8, [x8] adrp x9, _RADEON_FAMILY_MASK@GOTPAGE ldr x9, [x9, _RADEON_FAMILY_MASK@GOTPAGEOFF] ldr w9, [x9] and w8, w8, w9 adrp x9, _CHIP_RV770@GOTPAGE ldr x9, [x9, _CHIP_RV770@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #3 bl _OUT_RING b LBB0_3 LBB0_2: mov w0, #0 bl _OUT_RING b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr w8, [x8, #4] mov w9, #1 str w9, [sp, #16] ; 4-byte Folded Spill subs w0, w8, #1 bl _OUT_RING ldr w0, [sp, #16] ; 4-byte Folded Reload bl _R600_ME_INITIALIZE_DEVICE_ID bl _OUT_RING mov w0, #0 str w0, [sp, #12] ; 4-byte Folded Spill bl _OUT_RING ldr w0, [sp, #12] ; 4-byte Folded Reload bl _OUT_RING bl _ADVANCE_RING bl _COMMIT_RING mov w8, #255 stur w8, [x29, #-12] adrp x8, _R600_CP_ME_CNTL@GOTPAGE ldr x8, [x8, _R600_CP_ME_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-12] bl _RADEON_WRITE ldr w8, [sp, #16] ; 4-byte Folded Reload ldur x9, [x29, #-8] str w8, [x9, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _RING_LOCALS,4,2 ; @RING_LOCALS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .comm _R600_IT_ME_INITIALIZE,4,2 ; @R600_IT_ME_INITIALIZE .comm _RADEON_FAMILY_MASK,4,2 ; @RADEON_FAMILY_MASK .comm _CHIP_RV770,4,2 ; @CHIP_RV770 .comm _R600_CP_ME_CNTL,4,2 ; @R600_CP_ME_CNTL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r600_do_cp_start ## -- Begin function r600_do_cp_start .p2align 4, 0x90 _r600_do_cp_start: ## @r600_do_cp_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) leaq L_.str(%rip), %rdi callq _DRM_DEBUG movl $7, %edi callq _BEGIN_RING movq _R600_IT_ME_INITIALIZE@GOTPCREL(%rip), %rax movl (%rax), %edi movl $5, %esi callq _CP_PACKET3 movl %eax, %edi callq _OUT_RING movl $1, %edi callq _OUT_RING movq -8(%rbp), %rax movl (%rax), %eax movq _RADEON_FAMILY_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movq _CHIP_RV770@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_2 ## %bb.1: movl $3, %edi callq _OUT_RING jmp LBB0_3 LBB0_2: xorl %edi, %edi callq _OUT_RING LBB0_3: movq -8(%rbp), %rax movl 4(%rax), %edi subl $1, %edi callq _OUT_RING movl $1, %edi callq _R600_ME_INITIALIZE_DEVICE_ID movl %eax, %edi callq _OUT_RING xorl %edi, %edi callq _OUT_RING xorl %edi, %edi callq _OUT_RING movb $0, %al callq _ADVANCE_RING movb $0, %al callq _COMMIT_RING movl $255, -12(%rbp) movq _R600_CP_ME_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -12(%rbp), %esi callq _RADEON_WRITE movq -8(%rbp), %rax movl $1, 8(%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RING_LOCALS,4,2 ## @RING_LOCALS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .comm _R600_IT_ME_INITIALIZE,4,2 ## @R600_IT_ME_INITIALIZE .comm _RADEON_FAMILY_MASK,4,2 ## @RADEON_FAMILY_MASK .comm _CHIP_RV770,4,2 ## @CHIP_RV770 .comm _R600_CP_ME_CNTL,4,2 ## @R600_CP_ME_CNTL .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_r600_cp.c_r600_do_cp_start.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function svm_load_eoi_exitmap _svm_load_eoi_exitmap: ; @svm_load_eoi_exitmap .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str x1, [sp] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _svm_load_eoi_exitmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function svm_load_eoi_exitmap _svm_load_eoi_exitmap: ## @svm_load_eoi_exitmap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _svm_load_eoi_exitmap .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/extr_svm.c_svm_load_eoi_exitmap.c