x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cdns3_wa2_descmiss_copy_data _cdns3_wa2_descmiss_copy_data: ## @cdns3_wa2_descmiss_copy_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 leaq 8(%rdi), %r15 movq %rdi, -72(%rbp) ## 8-byte Spill leaq 4(%rdi), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq %r15, -64(%rbp) ## 8-byte Spill jmp LBB0_1 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 xorl %eax, %eax movq _ENOMEM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, 16(%r13) LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq %rbx, %rdi addq $4, %rdi callq _list_del_init movq 16(%rbx), %rdi callq _kfree movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi callq _cdns3_gadget_ep_free_request movq -72(%rbp), %rax ## 8-byte Reload decl (%rax) testl %r14d, -44(%rbp) ## 4-byte Folded Reload movq -64(%rbp), %r15 ## 8-byte Reload je LBB0_7 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _list_empty testl %eax, %eax jne LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq %r15, %rdi callq _cdns3_next_priv_request movq %rax, %rbx movl (%rax), %r14d movq _REQUEST_PENDING@GOTPCREL(%rip), %rax testl %r14d, (%rax) jne LBB0_7 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 leaq 8(%rbx), %r12 movq _REQUEST_INTERNAL_CH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movslq (%r13), %rdi movslq 8(%rbx), %rdx leal (%rdx,%rdi), %r15d movl 24(%rbx), %eax movl %eax, 16(%r13) cmpl 4(%r13), %r15d jg LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 shlq $2, %rdi addq 8(%r13), %rdi movq 16(%rbx), %rsi callq _memcpy movl %r15d, (%r13) jmp LBB0_6 LBB0_7: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _REQUEST_PENDING,4,2 ## @REQUEST_PENDING .comm _REQUEST_INTERNAL_CH,4,2 ## @REQUEST_INTERNAL_CH .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _cdns3_wa2_descmiss_copy_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cdns3_wa2_descmiss_copy_data _cdns3_wa2_descmiss_copy_data: ; @cdns3_wa2_descmiss_copy_data .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 add x21, x0, #8 add x22, x0, #4 Lloh0: adrp x25, _REQUEST_PENDING@GOTPAGE Lloh1: ldr x25, [x25, _REQUEST_PENDING@GOTPAGEOFF] b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 Lloh2: adrp x8, _ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w8, w8 str w8, [x19, #16] LBB0_2: ; in Loop: Header=BB0_3 Depth=1 and w26, w27, w28 add x0, x24, #4 bl _list_del_init ldr x0, [x24, #16] bl _kfree mov x0, x22 mov x1, x23 bl _cdns3_gadget_ep_free_request ldr w8, [x20] sub w8, w8, #1 str w8, [x20] cbz w26, LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _list_empty cbnz w0, LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 bl _cdns3_next_priv_request mov x23, x0 ldr w28, [x23], #8 ldr w8, [x25] tst w8, w28 b.ne LBB0_7 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x24, x0 Lloh5: adrp x8, _REQUEST_INTERNAL_CH@GOTPAGE Lloh6: ldr x8, [x8, _REQUEST_INTERNAL_CH@GOTPAGEOFF] Lloh7: ldr w27, [x8] ldrsw x2, [x0, #8] ldr w8, [x0, #24] str w8, [x19, #16] ldp w8, w9, [x19] ; kill: def $w8 killed $w8 def $x8 sxtw x8, w8 add w26, w2, w8 cmp w26, w9 b.gt LBB0_1 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [x19, #8] add x0, x9, x8, lsl #2 ldr x1, [x24, #16] bl _memcpy str w26, [x19] b LBB0_2 LBB0_7: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _REQUEST_PENDING,4,2 ; @REQUEST_PENDING .comm _REQUEST_INTERNAL_CH,4,2 ; @REQUEST_INTERNAL_CH .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _cdns3_wa2_descmiss_copy_data .subsections_via_symbols
AnghaBench/linux/drivers/usb/cdns3/extr_gadget.c_cdns3_wa2_descmiss_copy_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pevent_find_event_by_name ## -- Begin function pevent_find_event_by_name .p2align 4, 0x90 _pevent_find_event_by_name: ## @pevent_find_event_by_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq 8(%rdi), %rax testq %rax, %rax je LBB0_5 ## %bb.1: movl 4(%rax), %edi movq %r14, %rsi callq _strcmp testq %rax, %rax je LBB0_2 LBB0_5: movl (%r12), %ecx xorl %ebx, %ebx testl %ecx, %ecx jg LBB0_7 ## %bb.6: ## implicit-def: $r13 jmp LBB0_12 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jge LBB0_11 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq 16(%r12), %rax movq (%rax,%rbx,8), %r13 movl 4(%r13), %edi movq %r14, %rsi callq _strcmp testq %rax, %rax jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 testq %r15, %r15 je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl (%r13), %edi movq %r15, %rsi callq _strcmp testq %rax, %rax jne LBB0_10 LBB0_11: movl (%r12), %ecx LBB0_12: xorl %eax, %eax cmpl %ecx, %ebx cmovneq %r13, %rax movq %rax, 8(%r12) LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: testq %r15, %r15 je LBB0_4 ## %bb.3: movq 8(%r12), %rax movl (%rax), %edi movq %r15, %rsi callq _strcmp testq %rax, %rax jne LBB0_5 LBB0_4: movq 8(%r12), %rax jmp LBB0_13 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pevent_find_event_by_name ; -- Begin function pevent_find_event_by_name .p2align 2 _pevent_find_event_by_name: ; @pevent_find_event_by_name .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x21, x1 mov x19, x0 ldr x8, [x0, #8] cbz x8, LBB0_2 ; %bb.1: ldr w0, [x8, #4] mov x1, x20 bl _strcmp cbz x0, LBB0_12 LBB0_2: ldr w8, [x19] cmp w8, #1 b.lt LBB0_9 ; %bb.3: mov x22, #0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x22, x22, #1 ldrsw x8, [x19] cmp x22, x8 b.ge LBB0_8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #16] ldr x23, [x8, x22, lsl #3] ldr w0, [x23, #4] mov x1, x20 bl _strcmp cbnz x0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cbz x21, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x23] mov x1, x21 bl _strcmp cbnz x0, LBB0_4 LBB0_8: ldr w8, [x19] b LBB0_10 LBB0_9: mov w22, #0 ; implicit-def: $x23 LBB0_10: cmp w22, w8 csel x0, xzr, x23, eq str x0, [x19, #8] LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_12: cbz x21, LBB0_14 ; %bb.13: ldr x8, [x19, #8] ldr w0, [x8] mov x1, x21 bl _strcmp cbnz x0, LBB0_2 LBB0_14: ldr x0, [x19, #8] b LBB0_11 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_event-parse.c_pevent_find_event_by_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function el3_common_remove _el3_common_remove: ## @el3_common_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _unregister_netdev movl (%rbx), %edi movq _EL3_IO_EXTENT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _release_region movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _free_netdev ## TAILCALL .cfi_endproc ## -- End function .comm _EL3_IO_EXTENT,4,2 ## @EL3_IO_EXTENT .no_dead_strip _el3_common_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function el3_common_remove _el3_common_remove: ; @el3_common_remove .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _unregister_netdev ldr w0, [x19] Lloh0: adrp x8, _EL3_IO_EXTENT@GOTPAGE Lloh1: ldr x8, [x8, _EL3_IO_EXTENT@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _release_region mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free_netdev .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EL3_IO_EXTENT,4,2 ; @EL3_IO_EXTENT .no_dead_strip _el3_common_remove .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/3com/extr_3c509.c_el3_common_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function symbol_create _symbol_create: ## @symbol_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movl $16, %edi callq _malloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %rax, %rdi xorl %esi, %esi movl $16, %edx callq _memset movq %r14, %rdi callq _strdup movq %rax, 8(%rbx) testq %rax, %rax jne LBB0_4 ## %bb.3: movq _EX_SOFTWARE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdi callq _stop LBB0_4: movq _UNINITIALIZED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq %rbx, %rax LBB0_5: popq %rbx popq %r14 popq %rbp retq LBB0_1: callq _symbol_create.cold.1 xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function symbol_create.cold.1 _symbol_create.cold.1: ## @symbol_create.cold.1 .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 _perror movq _EX_SOFTWARE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to create new symbol" .comm _EX_SOFTWARE,4,2 ## @EX_SOFTWARE L_.str.1: ## @.str.1 .asciz "Unable to strdup symbol name" .comm _UNINITIALIZED,4,2 ## @UNINITIALIZED .no_dead_strip _symbol_create .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function symbol_create _symbol_create: ; @symbol_create .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 mov w0, #16 bl _malloc cbz x0, LBB0_4 ; %bb.1: mov x19, x0 mov w1, #0 mov w2, #16 bl _memset mov x0, x20 bl _strdup str x0, [x19, #8] cbnz x0, LBB0_3 ; %bb.2: Lloh0: adrp x8, _EX_SOFTWARE@GOTPAGE Lloh1: ldr x8, [x8, _EX_SOFTWARE@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x0, l_.str.1@PAGE Lloh4: add x0, x0, l_.str.1@PAGEOFF bl _stop LBB0_3: Lloh5: adrp x8, _UNINITIALIZED@GOTPAGE Lloh6: ldr x8, [x8, _UNINITIALIZED@GOTPAGEOFF] Lloh7: ldr w8, [x8] str w8, [x19] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: bl _symbol_create.cold.1 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function symbol_create.cold.1 _symbol_create.cold.1: ; @symbol_create.cold.1 .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 Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _perror Lloh10: adrp x8, _EX_SOFTWARE@GOTPAGE Lloh11: ldr x8, [x8, _EX_SOFTWARE@GOTPAGEOFF] Lloh12: ldr w0, [x8] bl _exit .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to create new symbol" .comm _EX_SOFTWARE,4,2 ; @EX_SOFTWARE l_.str.1: ; @.str.1 .asciz "Unable to strdup symbol name" .comm _UNINITIALIZED,4,2 ; @UNINITIALIZED .no_dead_strip _symbol_create .subsections_via_symbols
AnghaBench/freebsd/sys/dev/aic7xxx/aicasm/extr_aicasm_symbol.c_symbol_create.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wlcore_tx_get_mac80211_queue _wlcore_tx_get_mac80211_queue: ## @wlcore_tx_get_mac80211_queue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi movl (%rdi), %eax addl $-128, %esi cmpl $3, %esi ja LBB0_4 ## %bb.1: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rsi,4), %rdx addq %rcx, %rdx jmpq *%rdx LBB0_2: incl %eax popq %rbp retq LBB0_4: addl $2, %eax LBB0_5: popq %rbp retq LBB0_3: addl $3, %eax popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_5 .long L0_0_set_2 .long L0_0_set_3 .long L0_0_set_4 .end_data_region ## -- End function .no_dead_strip _wlcore_tx_get_mac80211_queue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wlcore_tx_get_mac80211_queue _wlcore_tx_get_mac80211_queue: ; @wlcore_tx_get_mac80211_queue .cfi_startproc ; %bb.0: ldr w0, [x0] sub w8, w1, #128 cmp w8, #3 b.hi LBB0_3 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: add w0, w0, #1 ret LBB0_3: add w0, w0, #2 LBB0_4: ret LBB0_5: add w0, w0, #3 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 ; -- End function .no_dead_strip _wlcore_tx_get_mac80211_queue .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ti/wl18xx/extr_..wlcoretx.h_wlcore_tx_get_mac80211_queue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function format_hex_string _format_hex_string: ## @format_hex_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r12 xorl %eax, %eax callq _GetProcessHeap leal (%r15,%r15,2), %edx incl %edx movl %eax, %edi xorl %esi, %esi callq _HeapAlloc movq %rax, -48(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_4 ## %bb.1: testl %r15d, %r15d jle LBB0_4 ## %bb.2: movl %r15d, %r13d xorl %r14d, %r14d leaq _format_hex_string.fmt(%rip), %r15 movq -48(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%r12,%r14,8), %rdx movq %rbx, %rdi movq %r15, %rsi callq _swprintf incq %r14 addq $3, %rbx cmpq %r14, %r13 jne LBB0_3 LBB0_4: movq -48(%rbp), %rax ## 8-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const _format_hex_string.fmt: ## @format_hex_string.fmt .asciz "%02x " .no_dead_strip _format_hex_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function format_hex_string _format_hex_string: ; @format_hex_string .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x19, x0 bl _GetProcessHeap add w8, w21, w21, lsl #1 add w2, w8, #1 mov w1, #0 bl _HeapAlloc mov x20, x0 cmp x0, #0 ccmp w21, #1, #8, ne b.lt LBB0_3 ; %bb.1: mov w23, w21 mov x21, x20 Lloh0: adrp x22, _format_hex_string.fmt@PAGE Lloh1: add x22, x22, _format_hex_string.fmt@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x2, [x19], #8 mov x0, x21 mov x1, x22 bl _swprintf add x21, x21, #3 subs x23, x23, #1 b.ne LBB0_2 LBB0_3: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const _format_hex_string.fmt: ; @format_hex_string.fmt .asciz "%02x " .no_dead_strip _format_hex_string .subsections_via_symbols
AnghaBench/reactos/dll/win32/cryptui/extr_main.c_format_hex_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_init ## -- Begin function matrix_init .p2align 4, 0x90 _matrix_init: ## @matrix_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _debug_enable@GOTPCREL(%rip), %rax movl $1, (%rax) movq _debug_matrix@GOTPCREL(%rip), %rax movl $1, (%rax) movq _debug_mouse@GOTPCREL(%rip), %rax movl $1, (%rax) xorl %eax, %eax callq _unselect_rows xorl %eax, %eax callq _init_cols movq _MATRIX_ROWS@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_3 ## %bb.1: movq _matrix@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _matrix_debouncing@GOTPCREL(%rip), %rdx movq (%rdx), %rdx xorl %esi, %esi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq $0, (%rcx,%rsi,8) movq $0, (%rdx,%rsi,8) incq %rsi cmpq (%rax), %rsi jb LBB0_2 LBB0_3: xorl %eax, %eax popq %rbp jmp _matrix_init_quantum ## TAILCALL .cfi_endproc ## -- End function .comm _debug_enable,4,2 ## @debug_enable .comm _debug_matrix,4,2 ## @debug_matrix .comm _debug_mouse,4,2 ## @debug_mouse .comm _TX_RX_LED_INIT,4,2 ## @TX_RX_LED_INIT .comm _MATRIX_ROWS,8,3 ## @MATRIX_ROWS .comm _matrix,8,3 ## @matrix .comm _matrix_debouncing,8,3 ## @matrix_debouncing .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_init ; -- Begin function matrix_init .p2align 2 _matrix_init: ; @matrix_init .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _debug_enable@GOTPAGE Lloh1: ldr x8, [x8, _debug_enable@GOTPAGEOFF] mov w9, #1 Lloh2: str w9, [x8] Lloh3: adrp x8, _debug_matrix@GOTPAGE Lloh4: ldr x8, [x8, _debug_matrix@GOTPAGEOFF] Lloh5: str w9, [x8] Lloh6: adrp x8, _debug_mouse@GOTPAGE Lloh7: ldr x8, [x8, _debug_mouse@GOTPAGEOFF] Lloh8: str w9, [x8] bl _unselect_rows bl _init_cols Lloh9: adrp x8, _MATRIX_ROWS@GOTPAGE Lloh10: ldr x8, [x8, _MATRIX_ROWS@GOTPAGEOFF] ldr x9, [x8] cbz x9, LBB0_3 ; %bb.1: mov x9, #0 Lloh11: adrp x10, _matrix@GOTPAGE Lloh12: ldr x10, [x10, _matrix@GOTPAGEOFF] Lloh13: ldr x10, [x10] Lloh14: adrp x11, _matrix_debouncing@GOTPAGE Lloh15: ldr x11, [x11, _matrix_debouncing@GOTPAGEOFF] Lloh16: ldr x11, [x11] LBB0_2: ; =>This Inner Loop Header: Depth=1 lsl x12, x9, #3 str xzr, [x10, x12] str xzr, [x11, x12] add x9, x9, #1 ldr x12, [x8] cmp x9, x12 b.lo LBB0_2 LBB0_3: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _matrix_init_quantum .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _debug_enable,4,2 ; @debug_enable .comm _debug_matrix,4,2 ; @debug_matrix .comm _debug_mouse,4,2 ; @debug_mouse .comm _TX_RX_LED_INIT,4,2 ; @TX_RX_LED_INIT .comm _MATRIX_ROWS,8,3 ; @MATRIX_ROWS .comm _matrix,8,3 ; @matrix .comm _matrix_debouncing,8,3 ; @matrix_debouncing .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/handwired/not_so_minidox/extr_matrix.c_matrix_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gpiokey_debounced_intr _gpiokey_debounced_intr: ## @gpiokey_debounced_intr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %rax movq _GPIOKEY_NONE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_8 ## %bb.1: movq %rdi, %rbx movl 28(%rdi), %edi leaq -20(%rbp), %rsi callq _gpio_pin_is_active cmpl $0, -20(%rbp) je LBB0_4 ## %bb.2: movl 8(%rbx), %edi movq (%rbx), %rsi movl $1, %edx callq _gpiokeys_key_event cmpq $0, 16(%rbx) je LBB0_8 ## %bb.3: leaq 12(%rbx), %rdi movl 24(%rbx), %esi movq _gpiokey_autorepeat@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rcx callq _callout_reset jmp LBB0_8 LBB0_4: cmpq $0, 16(%rbx) je LBB0_7 ## %bb.5: leaq 12(%rbx), %r14 movq %r14, %rdi callq _callout_pending testq %rax, %rax je LBB0_7 ## %bb.6: movq %r14, %rdi callq _callout_stop LBB0_7: movl 8(%rbx), %edi movq (%rbx), %rsi xorl %edx, %edx callq _gpiokeys_key_event LBB0_8: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _GPIOKEY_NONE,8,3 ## @GPIOKEY_NONE .comm _gpiokey_autorepeat,4,2 ## @gpiokey_autorepeat .no_dead_strip _gpiokey_debounced_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gpiokey_debounced_intr _gpiokey_debounced_intr: ; @gpiokey_debounced_intr .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0] Lloh0: adrp x9, _GPIOKEY_NONE@GOTPAGE Lloh1: ldr x9, [x9, _GPIOKEY_NONE@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.eq LBB0_8 ; %bb.1: mov x19, x0 ldr w0, [x0, #28] add x1, sp, #12 bl _gpio_pin_is_active ldr w8, [sp, #12] cbz w8, LBB0_4 ; %bb.2: ldr w0, [x19, #8] ldr x1, [x19] mov w2, #1 bl _gpiokeys_key_event ldr x8, [x19, #16] cbz x8, LBB0_8 ; %bb.3: add x0, x19, #12 ldr w1, [x19, #24] Lloh3: adrp x8, _gpiokey_autorepeat@GOTPAGE Lloh4: ldr x8, [x8, _gpiokey_autorepeat@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x3, x19 bl _callout_reset b LBB0_8 LBB0_4: ldr x8, [x19, #16] cbz x8, LBB0_7 ; %bb.5: add x20, x19, #12 mov x0, x20 bl _callout_pending cbz x0, LBB0_7 ; %bb.6: mov x0, x20 bl _callout_stop LBB0_7: ldr w0, [x19, #8] ldr x1, [x19] mov w2, #0 bl _gpiokeys_key_event LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GPIOKEY_NONE,8,3 ; @GPIOKEY_NONE .comm _gpiokey_autorepeat,4,2 ; @gpiokey_autorepeat .no_dead_strip _gpiokey_debounced_intr .subsections_via_symbols
AnghaBench/freebsd/sys/dev/gpio/extr_gpiokeys.c_gpiokey_debounced_intr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zpool_get_state_str ## -- Begin function zpool_get_state_str .p2align 4, 0x90 _zpool_get_state_str: ## @zpool_get_state_str .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq -40(%rbp), %rdx xorl %esi, %esi callq _zpool_get_status movq %rax, %r14 movq %rbx, %rdi callq _zpool_get_state movq _POOL_STATE_UNAVAIL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi jmp LBB0_6 LBB0_2: movq _ZPOOL_STATUS_IO_FAILURE_WAIT@GOTPCREL(%rip), %rax cmpq (%rax), %r14 je LBB0_5 ## %bb.3: movq _ZPOOL_STATUS_IO_FAILURE_MMP@GOTPCREL(%rip), %rax cmpq (%rax), %r14 je LBB0_5 ## %bb.4: movq %rbx, %rdi xorl %esi, %esi callq _zpool_get_config movq _ZPOOL_CONFIG_VDEV_TREE@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq -32(%rbp), %rdx movl %eax, %edi callq _nvlist_lookup_nvlist xorl %edi, %edi testq %rax, %rax sete %dil callq _verify movq -32(%rbp), %rdi movq _ZPOOL_CONFIG_VDEV_STATS@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rdx leaq -36(%rbp), %rcx callq _nvlist_lookup_uint64_array xorl %edi, %edi testq %rax, %rax sete %dil callq _verify movq -24(%rbp), %rax movl (%rax), %esi movl 4(%rax), %edi callq _zpool_state_to_name jmp LBB0_7 LBB0_5: leaq L_.str.1(%rip), %rdi LBB0_6: callq _gettext LBB0_7: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _POOL_STATE_UNAVAIL,8,3 ## @POOL_STATE_UNAVAIL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "FAULTED" .comm _ZPOOL_STATUS_IO_FAILURE_WAIT,8,3 ## @ZPOOL_STATUS_IO_FAILURE_WAIT .comm _ZPOOL_STATUS_IO_FAILURE_MMP,8,3 ## @ZPOOL_STATUS_IO_FAILURE_MMP L_.str.1: ## @.str.1 .asciz "SUSPENDED" .comm _ZPOOL_CONFIG_VDEV_TREE,4,2 ## @ZPOOL_CONFIG_VDEV_TREE .comm _ZPOOL_CONFIG_VDEV_STATS,4,2 ## @ZPOOL_CONFIG_VDEV_STATS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zpool_get_state_str ; -- Begin function zpool_get_state_str .p2align 2 _zpool_get_state_str: ; @zpool_get_state_str .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 sub x2, x29, #20 mov x1, #0 bl _zpool_get_status mov x20, x0 mov x0, x19 bl _zpool_get_state Lloh0: adrp x8, _POOL_STATE_UNAVAIL@GOTPAGE Lloh1: ldr x8, [x8, _POOL_STATE_UNAVAIL@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.ne LBB0_2 ; %bb.1: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _gettext b LBB0_5 LBB0_2: Lloh5: adrp x8, _ZPOOL_STATUS_IO_FAILURE_WAIT@GOTPAGE Lloh6: ldr x8, [x8, _ZPOOL_STATUS_IO_FAILURE_WAIT@GOTPAGEOFF] Lloh7: ldr x8, [x8] Lloh8: adrp x9, _ZPOOL_STATUS_IO_FAILURE_MMP@GOTPAGE Lloh9: ldr x9, [x9, _ZPOOL_STATUS_IO_FAILURE_MMP@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x20, x8 ccmp x20, x9, #4, ne b.ne LBB0_4 ; %bb.3: Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF bl _gettext b LBB0_5 LBB0_4: mov x0, x19 mov x1, #0 bl _zpool_get_config Lloh13: adrp x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGE Lloh14: ldr x8, [x8, _ZPOOL_CONFIG_VDEV_TREE@GOTPAGEOFF] Lloh15: ldr w1, [x8] add x2, sp, #16 bl _nvlist_lookup_nvlist cmp x0, #0 cset w0, eq bl _verify ldr x0, [sp, #16] Lloh16: adrp x8, _ZPOOL_CONFIG_VDEV_STATS@GOTPAGE Lloh17: ldr x8, [x8, _ZPOOL_CONFIG_VDEV_STATS@GOTPAGEOFF] Lloh18: ldr w1, [x8] add x2, sp, #8 add x3, sp, #4 bl _nvlist_lookup_uint64_array cmp x0, #0 cset w0, eq bl _verify ldr x8, [sp, #8] ldp w1, w0, [x8] bl _zpool_state_to_name LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _POOL_STATE_UNAVAIL,8,3 ; @POOL_STATE_UNAVAIL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "FAULTED" .comm _ZPOOL_STATUS_IO_FAILURE_WAIT,8,3 ; @ZPOOL_STATUS_IO_FAILURE_WAIT .comm _ZPOOL_STATUS_IO_FAILURE_MMP,8,3 ; @ZPOOL_STATUS_IO_FAILURE_MMP l_.str.1: ; @.str.1 .asciz "SUSPENDED" .comm _ZPOOL_CONFIG_VDEV_TREE,4,2 ; @ZPOOL_CONFIG_VDEV_TREE .comm _ZPOOL_CONFIG_VDEV_STATS,4,2 ; @ZPOOL_CONFIG_VDEV_STATS .subsections_via_symbols
AnghaBench/zfs/lib/libzfs/extr_libzfs_pool.c_zpool_get_state_str.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq -64(%rbp), %rsi xorl %eax, %eax callq _scanf testl %eax, %eax je LBB0_14 ## %bb.1: cmpl $0, -64(%rbp) je LBB0_14 ## %bb.2: movl $11, %r12d leaq -57(%rbp), %r14 leaq L_.str(%rip), %r15 leaq -64(%rbp), %rbx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _gets movzbl -53(%rbp), %eax cmpb $108, %al je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpb $104, %al jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl -64(%rbp), %eax leal -1(%rax), %ecx cmpl %r12d, %eax cmovlel %ecx, %r12d jmp LBB0_12 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movl -64(%rbp), %eax leal 1(%rax), %ecx cmpl %r13d, %eax cmovgel %ecx, %r13d jmp LBB0_12 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movl -64(%rbp), %eax cmpl %r12d, %eax jg LBB0_10 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 cmpl %r13d, %eax jl LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 leaq L_str.3(%rip), %rdi jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 leaq L_str(%rip), %rdi LBB0_11: ## in Loop: Header=BB0_3 Depth=1 callq _puts xorl %r13d, %r13d movl $11, %r12d LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf testl %eax, %eax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, -64(%rbp) jne LBB0_3 LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_16 ## %bb.15: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d\n" L_str: ## @str .asciz "Stan is dishonest" L_str.3: ## @str.3 .asciz "Stan may be honest" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] add x22, sp, #8 str x22, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #8] cmp w0, #0 ccmp w8, #0, #4, ne b.eq LBB0_12 ; %bb.1: mov w23, #0 mov w24, #11 Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF Lloh7: adrp x20, l_str@PAGE Lloh8: add x20, x20, l_str@PAGEOFF Lloh9: adrp x21, l_str.3@PAGE Lloh10: add x21, x21, l_str.3@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 add x0, sp, #15 bl _gets ldrb w8, [sp, #19] cmp w8, #108 b.eq LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #104 b.ne LBB0_6 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #8] sub w9, w8, #1 cmp w8, w24 csel w24, w24, w9, gt b LBB0_10 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #8] cmp w8, w23 csinc w23, w23, w8, lt b LBB0_10 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #8] cmp w8, w24 ccmp w8, w23, #8, le b.ge LBB0_8 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 mov x0, x20 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 LBB0_9: ; in Loop: Header=BB0_2 Depth=1 bl _puts mov w23, #0 mov w24, #11 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 str x22, [sp] mov x0, x19 bl _scanf cbz w0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #8] cbnz w8, LBB0_2 LBB0_12: ldr x8, [sp, #24] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_14 ; %bb.13: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_14: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" l_str: ; @str .asciz "Stan is dishonest" l_str.3: ; @str.3 .asciz "Stan may be honest" .subsections_via_symbols
the_stack_data/184519456.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _memchr ## -- Begin function memchr .p2align 4, 0x90 _memchr: ## @memchr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdx, %rdx je LBB0_6 ## %bb.1: decq %rdi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 subq $1, %rdx jb LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leaq 1(%rdi), %rax cmpb %sil, 1(%rdi) movq %rax, %rdi jne LBB0_2 ## %bb.4: popq %rbp retq LBB0_6: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _memchr ; -- Begin function memchr .p2align 2 _memchr: ; @memchr .cfi_startproc ; %bb.0: cbz x2, LBB0_5 ; %bb.1: sub x0, x0, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 cbz x2, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldrb w8, [x0, #1]! sub x2, x2, #1 cmp w8, w1, uxtb b.ne LBB0_2 ; %bb.4: ret LBB0_5: mov x0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/152923.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hash_netportnet4_data_reset_elem _hash_netportnet4_data_reset_elem: ## @hash_netportnet4_data_reset_elem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rax movl 4(%rax), %eax movq (%rdi), %rcx movl %eax, 4(%rcx) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _hash_netportnet4_data_reset_elem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hash_netportnet4_data_reset_elem _hash_netportnet4_data_reset_elem: ; @hash_netportnet4_data_reset_elem .cfi_startproc ; %bb.0: ldr x8, [x1] ldr w8, [x8, #4] ldr x9, [x0] str w8, [x9, #4] ret .cfi_endproc ; -- End function .no_dead_strip _hash_netportnet4_data_reset_elem .subsections_via_symbols
AnghaBench/linux/net/netfilter/ipset/extr_ip_set_hash_netportnet.c_hash_netportnet4_data_reset_elem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __poll_portal_fast ___poll_portal_fast: ## @__poll_portal_fast .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _UNUSED ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip ___poll_portal_fast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __poll_portal_fast ___poll_portal_fast: ; @__poll_portal_fast .cfi_startproc ; %bb.0: b _UNUSED .cfi_endproc ; -- End function .no_dead_strip ___poll_portal_fast .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/BM/extr_bm_portal.c___poll_portal_fast.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btc_storage_add_ble_local_key ## -- Begin function btc_storage_add_ble_local_key .p2align 4, 0x90 _btc_storage_add_ble_local_key: ## @btc_storage_add_ble_local_key .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx xorl %eax, %eax callq _btc_config_lock movq %rbx, %rdi movl %r15d, %esi movl %r14d, %edx callq __btc_storage_add_ble_local_key movl %eax, %ebx xorl %eax, %eax callq _btc_config_unlock movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btc_storage_add_ble_local_key ; -- Begin function btc_storage_add_ble_local_key .p2align 2 _btc_storage_add_ble_local_key: ; @btc_storage_add_ble_local_key .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 bl _btc_config_lock mov x0, x21 mov x1, x20 mov x2, x19 bl __btc_storage_add_ble_local_key mov x19, x0 bl _btc_config_unlock mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/esp-idf/components/bt/host/bluedroid/btc/core/extr_btc_ble_storage.c_btc_storage_add_ble_local_key.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_cmipci_dev_free _snd_cmipci_dev_free: ## @snd_cmipci_dev_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdi popq %rbp jmp _snd_cmipci_free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _snd_cmipci_dev_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_cmipci_dev_free _snd_cmipci_dev_free: ; @snd_cmipci_dev_free .cfi_startproc ; %bb.0: ldr x0, [x0] b _snd_cmipci_free .cfi_endproc ; -- End function .no_dead_strip _snd_cmipci_dev_free .subsections_via_symbols
AnghaBench/linux/sound/pci/extr_cmipci.c_snd_cmipci_dev_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _save_patron ## -- Begin function save_patron .p2align 4, 0x90 _save_patron: ## @save_patron .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, %rbx leaq 16(%rbp), %rdi movl $184, %esi movl $1, %edx movq %rax, %rcx callq _fwrite movq %rbx, %rdi callq _fclose movl $1, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _add_patron ## -- Begin function add_patron .p2align 4, 0x90 _add_patron: ## @add_patron .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $376, %rsp ## imm = 0x178 .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf callq _getchar leaq -400(%rbp), %r14 movq %r14, %rdi callq _gets leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf leaq -300(%rbp), %rdi callq _gets leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf leaq -250(%rbp), %rdi callq _gets leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf leaq -220(%rbp), %rsi leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _scanf leaq -216(%rbp), %r15 movl $184, %edx movq %r15, %rdi movq %r14, %rsi callq _memcpy leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, %rbx movl $184, %esi movl $1, %edx movq %r15, %rdi movq %rax, %rcx callq _fwrite movq %rbx, %rdi callq _fclose leaq L_.str.7(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB1_2 ## %bb.1: addq $376, %rsp ## imm = 0x178 popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _menu ## -- Begin function menu .p2align 4, 0x90 _menu: ## @menu .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 leaq L_str(%rip), %rdi callq _puts leaq L_str.22(%rip), %rdi callq _puts leaq L_str.23(%rip), %rdi callq _puts leaq L_str.24(%rip), %rdi callq _puts leaq L_str.25(%rip), %rdi callq _puts leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.6(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %eax leal -5(%rax), %ecx cmpl $-5, %ecx ja LBB2_2 ## %bb.1: leaq L_str.26(%rip), %rdi callq _puts movl -4(%rbp), %eax LBB2_2: ## kill: def $eax killed $eax killed $rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .globl _execute_action ## -- Begin function execute_action .p2align 4, 0x90 _execute_action: ## @execute_action .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi decl %edi cmpl $3, %edi ja LBB3_6 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq LJTI3_0(%rip), %rax movslq (%rax,%rdi,4), %rcx addq %rax, %rcx popq %rbp jmpq *%rcx LBB3_2: jmp _add_patron ## TAILCALL LBB3_6: leaq L_str.29(%rip), %rdi jmp _puts ## TAILCALL LBB3_3: leaq L_str.28(%rip), %rdi jmp _puts ## TAILCALL LBB3_4: leaq L_.str.17(%rip), %rdi xorl %eax, %eax jmp _printf ## TAILCALL LBB3_5: leaq L_str.27(%rip), %rdi jmp _puts ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L3_0_set_2, LBB3_2-LJTI3_0 .set L3_0_set_3, LBB3_3-LJTI3_0 .set L3_0_set_4, LBB3_4-LJTI3_0 .set L3_0_set_5, LBB3_5-LJTI3_0 LJTI3_0: .long L3_0_set_2 .long L3_0_set_3 .long L3_0_set_4 .long L3_0_set_5 .end_data_region ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str.30(%rip), %rdi callq _puts leaq L_str.31(%rip), %rdi callq _puts callq _menu ## kill: def $eax killed $eax def $rax decl %eax cmpl $3, %eax ja LBB4_6 ## %bb.1: leaq LJTI4_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB4_2: callq _add_patron jmp LBB4_8 LBB4_6: leaq L_str.29(%rip), %rdi jmp LBB4_7 LBB4_3: leaq L_str.28(%rip), %rdi jmp LBB4_7 LBB4_4: leaq L_.str.17(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB4_8 LBB4_5: leaq L_str.27(%rip), %rdi LBB4_7: callq _puts LBB4_8: xorl %eax, %eax popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L4_0_set_2, LBB4_2-LJTI4_0 .set L4_0_set_3, LBB4_3-LJTI4_0 .set L4_0_set_4, LBB4_4-LJTI4_0 .set L4_0_set_5, LBB4_5-LJTI4_0 LJTI4_0: .long L4_0_set_2 .long L4_0_set_3 .long L4_0_set_4 .long L4_0_set_5 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "patron" L_.str.1: ## @.str.1 .asciz "ab" L_.str.2: ## @.str.2 .asciz "Enter name:" L_.str.3: ## @.str.3 .asciz "Enter Email:" L_.str.4: ## @.str.4 .asciz "Initial Password: " L_.str.5: ## @.str.5 .asciz "Enter 1 if staff 0 otherwise: " L_.str.6: ## @.str.6 .asciz "%d" L_.str.7: ## @.str.7 .asciz "Patron %s successfully added\n" L_.str.14: ## @.str.14 .asciz "Your Action: " L_.str.17: ## @.str.17 .asciz "Here is a list of all books" L_str: ## @str .asciz "Select an action:" L_str.22: ## @str.22 .asciz "1. Add new patron" L_str.23: ## @str.23 .asciz "2. View Patrons" L_str.24: ## @str.24 .asciz "3. View Books" L_str.25: ## @str.25 .asciz "4. Add New Book" L_str.26: ## @str.26 .asciz "Invalid action. Try again" L_str.27: ## @str.27 .asciz "adding a new Book" L_str.28: ## @str.28 .asciz "Here is a list of patrons" L_str.29: ## @str.29 .asciz "Invalid action." L_str.30: ## @str.30 .asciz "COUNTY LIBRARY SYSTEM!" L_str.31: ## @str.31 .asciz "Welcome JOSH!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _save_patron ; -- Begin function save_patron .p2align 2 _save_patron: ; @save_patron .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _fopen mov x20, x0 mov x0, x19 mov w1, #184 mov w2, #1 mov x3, x20 bl _fwrite mov x0, x20 bl _fclose mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _add_patron ; -- Begin function add_patron .p2align 2 _add_patron: ; @add_patron .cfi_startproc ; %bb.0: sub sp, sp, #448 .cfi_def_cfa_offset 448 stp x28, x27, [sp, #400] ; 16-byte Folded Spill stp x20, x19, [sp, #416] ; 16-byte Folded Spill stp x29, x30, [sp, #432] ; 16-byte Folded Spill add x29, sp, #432 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w27, -40 .cfi_offset w28, -48 Lloh4: adrp x8, ___stack_chk_guard@GOTPAGE Lloh5: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh6: ldr x8, [x8] stur x8, [x29, #-40] Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf bl _getchar add x20, sp, #208 add x0, sp, #208 bl _gets Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _printf add x0, x20, #100 bl _gets Lloh11: adrp x0, l_.str.4@PAGE Lloh12: add x0, x0, l_.str.4@PAGEOFF bl _printf add x0, x20, #150 bl _gets Lloh13: adrp x0, l_.str.5@PAGE Lloh14: add x0, x0, l_.str.5@PAGEOFF bl _printf add x8, x20, #180 str x8, [sp] Lloh15: adrp x0, l_.str.6@PAGE Lloh16: add x0, x0, l_.str.6@PAGEOFF bl _scanf ldp q0, q1, [sp, #336] stp q0, q1, [sp, #144] ldr q0, [sp, #368] str q0, [sp, #176] ldr x8, [sp, #384] str x8, [sp, #192] ldp q0, q1, [sp, #272] stp q0, q1, [sp, #80] ldp q0, q1, [sp, #304] stp q0, q1, [sp, #112] ldp q0, q1, [sp, #208] stp q0, q1, [sp, #16] ldp q0, q1, [sp, #240] stp q0, q1, [sp, #48] Lloh17: adrp x0, l_.str@PAGE Lloh18: add x0, x0, l_.str@PAGEOFF Lloh19: adrp x1, l_.str.1@PAGE Lloh20: add x1, x1, l_.str.1@PAGEOFF bl _fopen mov x19, x0 add x0, sp, #16 mov w1, #184 mov w2, #1 mov x3, x19 bl _fwrite mov x0, x19 bl _fclose str x20, [sp] Lloh21: adrp x0, l_.str.7@PAGE Lloh22: add x0, x0, l_.str.7@PAGEOFF bl _printf ldur x8, [x29, #-40] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB1_2 ; %bb.1: ldp x29, x30, [sp, #432] ; 16-byte Folded Reload ldp x20, x19, [sp, #416] ; 16-byte Folded Reload ldp x28, x27, [sp, #400] ; 16-byte Folded Reload add sp, sp, #448 ret LBB1_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .globl _menu ; -- Begin function menu .p2align 2 _menu: ; @menu .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 Lloh26: adrp x0, l_str@PAGE Lloh27: add x0, x0, l_str@PAGEOFF bl _puts Lloh28: adrp x0, l_str.22@PAGE Lloh29: add x0, x0, l_str.22@PAGEOFF bl _puts Lloh30: adrp x0, l_str.23@PAGE Lloh31: add x0, x0, l_str.23@PAGEOFF bl _puts Lloh32: adrp x0, l_str.24@PAGE Lloh33: add x0, x0, l_str.24@PAGEOFF bl _puts Lloh34: adrp x0, l_str.25@PAGE Lloh35: add x0, x0, l_str.25@PAGEOFF bl _puts Lloh36: adrp x0, l_.str.14@PAGE Lloh37: add x0, x0, l_.str.14@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh38: adrp x0, l_.str.6@PAGE Lloh39: add x0, x0, l_.str.6@PAGEOFF bl _scanf ldur w0, [x29, #-4] sub w8, w0, #5 cmn w8, #5 b.hi LBB2_2 ; %bb.1: Lloh40: adrp x0, l_str.26@PAGE Lloh41: add x0, x0, l_str.26@PAGEOFF bl _puts ldur w0, [x29, #-4] LBB2_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh40, Lloh41 .cfi_endproc ; -- End function .globl _execute_action ; -- Begin function execute_action .p2align 2 _execute_action: ; @execute_action .cfi_startproc ; %bb.0: sub w8, w0, #1 cmp w8, #3 b.hi LBB3_3 ; %bb.1: Lloh42: adrp x9, lJTI3_0@PAGE Lloh43: add x9, x9, lJTI3_0@PAGEOFF adr x10, LBB3_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB3_2: b _add_patron LBB3_3: Lloh44: adrp x0, l_str.29@PAGE Lloh45: add x0, x0, l_str.29@PAGEOFF b _puts LBB3_4: Lloh46: adrp x0, l_str.28@PAGE Lloh47: add x0, x0, l_str.28@PAGEOFF b _puts LBB3_5: Lloh48: adrp x0, l_.str.17@PAGE Lloh49: add x0, x0, l_.str.17@PAGEOFF b _printf LBB3_6: Lloh50: adrp x0, l_str.27@PAGE Lloh51: add x0, x0, l_str.27@PAGEOFF b _puts .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh50, Lloh51 .cfi_endproc .section __TEXT,__const lJTI3_0: .byte (LBB3_2-LBB3_2)>>2 .byte (LBB3_4-LBB3_2)>>2 .byte (LBB3_5-LBB3_2)>>2 .byte (LBB3_6-LBB3_2)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 Lloh52: adrp x0, l_str.30@PAGE Lloh53: add x0, x0, l_str.30@PAGEOFF bl _puts Lloh54: adrp x0, l_str.31@PAGE Lloh55: add x0, x0, l_str.31@PAGEOFF bl _puts bl _menu sub w8, w0, #1 cmp w8, #3 b.hi LBB4_3 ; %bb.1: Lloh56: adrp x9, lJTI4_0@PAGE Lloh57: add x9, x9, lJTI4_0@PAGEOFF adr x10, LBB4_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB4_2: bl _add_patron b LBB4_8 LBB4_3: Lloh58: adrp x0, l_str.29@PAGE Lloh59: add x0, x0, l_str.29@PAGEOFF b LBB4_7 LBB4_4: Lloh60: adrp x0, l_str.28@PAGE Lloh61: add x0, x0, l_str.28@PAGEOFF b LBB4_7 LBB4_5: Lloh62: adrp x0, l_.str.17@PAGE Lloh63: add x0, x0, l_.str.17@PAGEOFF bl _printf b LBB4_8 LBB4_6: Lloh64: adrp x0, l_str.27@PAGE Lloh65: add x0, x0, l_str.27@PAGEOFF LBB4_7: bl _puts LBB4_8: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh64, Lloh65 .cfi_endproc .section __TEXT,__const lJTI4_0: .byte (LBB4_2-LBB4_2)>>2 .byte (LBB4_4-LBB4_2)>>2 .byte (LBB4_5-LBB4_2)>>2 .byte (LBB4_6-LBB4_2)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "patron" l_.str.1: ; @.str.1 .asciz "ab" l_.str.2: ; @.str.2 .asciz "Enter name:" l_.str.3: ; @.str.3 .asciz "Enter Email:" l_.str.4: ; @.str.4 .asciz "Initial Password: " l_.str.5: ; @.str.5 .asciz "Enter 1 if staff 0 otherwise: " l_.str.6: ; @.str.6 .asciz "%d" l_.str.7: ; @.str.7 .asciz "Patron %s successfully added\n" l_.str.14: ; @.str.14 .asciz "Your Action: " l_.str.17: ; @.str.17 .asciz "Here is a list of all books" l_str: ; @str .asciz "Select an action:" l_str.22: ; @str.22 .asciz "1. Add new patron" l_str.23: ; @str.23 .asciz "2. View Patrons" l_str.24: ; @str.24 .asciz "3. View Books" l_str.25: ; @str.25 .asciz "4. Add New Book" l_str.26: ; @str.26 .asciz "Invalid action. Try again" l_str.27: ; @str.27 .asciz "adding a new Book" l_str.28: ; @str.28 .asciz "Here is a list of patrons" l_str.29: ; @str.29 .asciz "Invalid action." l_str.30: ; @str.30 .asciz "COUNTY LIBRARY SYSTEM!" l_str.31: ; @str.31 .asciz "Welcome JOSH!" .subsections_via_symbols
the_stack_data/115764735.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mv88e6xxx_reg_lock _mv88e6xxx_reg_lock: ## @mv88e6xxx_reg_lock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _mutex_lock ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mv88e6xxx_reg_lock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mv88e6xxx_reg_lock _mv88e6xxx_reg_lock: ; @mv88e6xxx_reg_lock .cfi_startproc ; %bb.0: b _mutex_lock .cfi_endproc ; -- End function .no_dead_strip _mv88e6xxx_reg_lock .subsections_via_symbols
AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_chip.h_mv88e6xxx_reg_lock.c
anghabench
.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 pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpl $128, %edi je LBB0_7 ## %bb.1: movl $1, %ebx cmpl $129, %edi jne LBB0_11 ## %bb.2: cmpl $0, (%rsi) je LBB0_6 ## %bb.3: movq _is_alt_tab_active@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_5 ## %bb.4: movl $1, (%rax) movq _KC_LALT@GOTPCREL(%rip), %rax movl (%rax), %edi callq _register_code LBB0_5: xorl %eax, %eax callq _timer_read movq _alt_tab_timer@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _KC_TAB@GOTPCREL(%rip), %rax movl (%rax), %edi callq _register_code jmp LBB0_11 LBB0_7: cmpl $0, (%rsi) je LBB0_9 ## %bb.8: xorl %ebx, %ebx xorl %eax, %eax callq _timer_read movl %eax, _process_record_user.macro_timer(%rip) movq _KC_LCTRL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _MOD_BIT movl %eax, %edi callq _register_mods jmp LBB0_11 LBB0_6: movq _KC_TAB@GOTPCREL(%rip), %rax movl (%rax), %edi callq _unregister_code jmp LBB0_11 LBB0_9: movq _KC_LCTRL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _MOD_BIT movl %eax, %edi callq _unregister_mods movl _process_record_user.macro_timer(%rip), %edi callq _timer_elapsed xorl %ebx, %ebx cmpl $149, %eax jg LBB0_11 ## %bb.10: leaq L_.str(%rip), %rdi callq _SEND_STRING LBB0_11: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_process_record_user.macro_timer,4,2 ## @process_record_user.macro_timer .comm _is_alt_tab_active,4,2 ## @is_alt_tab_active .comm _KC_LALT,4,2 ## @KC_LALT .comm _alt_tab_timer,8,3 ## @alt_tab_timer .comm _KC_TAB,4,2 ## @KC_TAB .comm _KC_LCTRL,4,2 ## @KC_LCTRL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "!$" .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 2 _process_record_user: ; @process_record_user .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 cmp w0, #128 b.eq LBB0_6 ; %bb.1: cmp w0, #129 b.ne LBB0_9 ; %bb.2: ldr w8, [x1] cbz w8, LBB0_8 ; %bb.3: Lloh0: adrp x8, _is_alt_tab_active@GOTPAGE Lloh1: ldr x8, [x8, _is_alt_tab_active@GOTPAGEOFF] ldr w9, [x8] cbnz w9, LBB0_5 ; %bb.4: mov w9, #1 str w9, [x8] Lloh2: adrp x8, _KC_LALT@GOTPAGE Lloh3: ldr x8, [x8, _KC_LALT@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _register_code LBB0_5: bl _timer_read Lloh5: adrp x8, _alt_tab_timer@GOTPAGE Lloh6: ldr x8, [x8, _alt_tab_timer@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x8, _KC_TAB@GOTPAGE Lloh9: ldr x8, [x8, _KC_TAB@GOTPAGEOFF] Lloh10: ldr w0, [x8] bl _register_code b LBB0_9 LBB0_6: ldr w8, [x1] cbz w8, LBB0_10 ; %bb.7: bl _timer_read Lloh11: adrp x8, _process_record_user.macro_timer@PAGE str w0, [x8, _process_record_user.macro_timer@PAGEOFF] Lloh12: adrp x8, _KC_LCTRL@GOTPAGE Lloh13: ldr x8, [x8, _KC_LCTRL@GOTPAGEOFF] Lloh14: ldr w0, [x8] bl _MOD_BIT bl _register_mods b LBB0_12 LBB0_8: Lloh15: adrp x8, _KC_TAB@GOTPAGE Lloh16: ldr x8, [x8, _KC_TAB@GOTPAGEOFF] Lloh17: ldr w0, [x8] bl _unregister_code LBB0_9: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_10: Lloh18: adrp x8, _KC_LCTRL@GOTPAGE Lloh19: ldr x8, [x8, _KC_LCTRL@GOTPAGEOFF] Lloh20: ldr w0, [x8] bl _MOD_BIT bl _unregister_mods Lloh21: adrp x8, _process_record_user.macro_timer@PAGE Lloh22: ldr w0, [x8, _process_record_user.macro_timer@PAGEOFF] bl _timer_elapsed cmp w0, #149 b.gt LBB0_12 ; %bb.11: Lloh23: adrp x0, l_.str@PAGE Lloh24: add x0, x0, l_.str@PAGEOFF bl _SEND_STRING LBB0_12: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdrp Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdr Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh23, Lloh24 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_process_record_user.macro_timer,4,2 ; @process_record_user.macro_timer .comm _is_alt_tab_active,4,2 ; @is_alt_tab_active .comm _KC_LALT,4,2 ; @KC_LALT .comm _alt_tab_timer,8,3 ; @alt_tab_timer .comm _KC_TAB,4,2 ; @KC_TAB .comm _KC_LCTRL,4,2 ; @KC_LCTRL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "!$" .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/planck/keymaps/roguepullrequest/extr_keymap.c_process_record_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gfx_v8_0_set_eop_interrupt_state _gfx_v8_0_set_eop_interrupt_state: ## @gfx_v8_0_set_eop_interrupt_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edx killed $edx def $rdx addl $-128, %edx cmpl $8, %edx ja LBB0_14 ## %bb.1: leaq LJTI0_0(%rip), %rax movslq (%rax,%rdx,4), %rdx addq %rax, %rdx jmpq *%rdx LBB0_2: movl %ecx, %esi callq _gfx_v8_0_set_gfx_eop_interrupt_state jmp LBB0_14 LBB0_3: movl $2, %esi jmp LBB0_8 LBB0_4: movl $2, %esi movl $2, %edx jmp LBB0_13 LBB0_5: movl $2, %esi movl $1, %edx jmp LBB0_13 LBB0_6: movl $2, %esi jmp LBB0_12 LBB0_7: movl $1, %esi LBB0_8: movl $3, %edx jmp LBB0_13 LBB0_9: movl $1, %esi movl $2, %edx jmp LBB0_13 LBB0_10: movl $1, %esi movl $1, %edx jmp LBB0_13 LBB0_11: movl $1, %esi LBB0_12: xorl %edx, %edx LBB0_13: callq _gfx_v8_0_set_compute_eop_interrupt_state LBB0_14: xorl %eax, %eax popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_3 .long L0_0_set_4 .long L0_0_set_5 .long L0_0_set_6 .long L0_0_set_7 .long L0_0_set_9 .long L0_0_set_10 .long L0_0_set_11 .end_data_region ## -- End function .no_dead_strip _gfx_v8_0_set_eop_interrupt_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gfx_v8_0_set_eop_interrupt_state _gfx_v8_0_set_eop_interrupt_state: ; @gfx_v8_0_set_eop_interrupt_state .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 w8, w2, #128 cmp w8, #8 b.hi LBB0_14 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: mov x1, x3 bl _gfx_v8_0_set_gfx_eop_interrupt_state b LBB0_14 LBB0_3: mov w1, #2 b LBB0_8 LBB0_4: mov w1, #2 mov w2, #2 b LBB0_13 LBB0_5: mov w1, #2 mov w2, #1 b LBB0_13 LBB0_6: mov w1, #2 b LBB0_12 LBB0_7: mov w1, #1 LBB0_8: mov w2, #3 b LBB0_13 LBB0_9: mov w1, #1 mov w2, #2 b LBB0_13 LBB0_10: mov w1, #1 mov w2, #1 b LBB0_13 LBB0_11: mov w1, #1 LBB0_12: mov w2, #0 LBB0_13: bl _gfx_v8_0_set_compute_eop_interrupt_state LBB0_14: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 ; -- End function .no_dead_strip _gfx_v8_0_set_eop_interrupt_state .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v8_0.c_gfx_v8_0_set_eop_interrupt_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hidma_ll_free ## -- Begin function hidma_ll_free .p2align 4, 0x90 _hidma_ll_free: ## @hidma_ll_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx cmpq %rsi, (%rdi) jbe LBB0_1 ## %bb.3: leaq (,%r14,4), %r15 addq 16(%rbx), %r15 movq %r15, %rdi callq _atomic_read cmpl $1, %eax jne LBB0_4 ## %bb.5: movq %r15, %rdi xorl %esi, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _atomic_set ## TAILCALL LBB0_1: movl 8(%rbx), %edi leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_4: movl 8(%rbx), %edi leaq L_.str.1(%rip), %rsi LBB0_2: movq %r14, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _dev_err ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid TRE number in free:%d" L_.str.1: ## @.str.1 .asciz "trying to free an unused TRE:%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hidma_ll_free ; -- Begin function hidma_ll_free .p2align 2 _hidma_ll_free: ; @hidma_ll_free .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr x8, [x0] cmp x8, x1 b.ls LBB0_3 ; %bb.1: ldr x8, [x20, #16] add x21, x8, x19, lsl #2 mov x0, x21 bl _atomic_read cmp w0, #1 b.ne LBB0_4 ; %bb.2: mov x0, x21 mov w1, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _atomic_set LBB0_3: ldr w0, [x20, #8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF b LBB0_5 LBB0_4: ldr w0, [x20, #8] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF LBB0_5: mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _dev_err .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid TRE number in free:%d" l_.str.1: ; @.str.1 .asciz "trying to free an unused TRE:%d" .subsections_via_symbols
AnghaBench/linux/drivers/dma/qcom/extr_hidma_ll.c_hidma_ll_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function quiet_hook _quiet_hook: ## @quiet_hook .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), %rsi movq _pset@GOTPCREL(%rip), %rdx popq %rbp jmp _ParseVariableBool ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "QUIET" .comm _pset,4,2 ## @pset .no_dead_strip _quiet_hook .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function quiet_hook _quiet_hook: ; @quiet_hook .cfi_startproc ; %bb.0: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF Lloh2: adrp x2, _pset@GOTPAGE Lloh3: ldr x2, [x2, _pset@GOTPAGEOFF] b _ParseVariableBool .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "QUIET" .comm _pset,4,2 ; @pset .no_dead_strip _quiet_hook .subsections_via_symbols
AnghaBench/postgres/src/bin/psql/extr_startup.c_quiet_hook.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ks_restore_cmd_reg _ks_restore_cmd_reg: ## @ks_restore_cmd_reg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %esi movl 8(%rdi), %eax movl %eax, 4(%rdi) movl %eax, %edi popq %rbp jmp _iowrite16 ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ks_restore_cmd_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ks_restore_cmd_reg _ks_restore_cmd_reg: ; @ks_restore_cmd_reg .cfi_startproc ; %bb.0: ldr w8, [x0, #8] str w8, [x0, #4] ldr w1, [x0] mov x0, x8 b _iowrite16 .cfi_endproc ; -- End function .no_dead_strip _ks_restore_cmd_reg .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/micrel/extr_ks8851_mll.c_ks_restore_cmd_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pcnet32_dwio_write_rap _pcnet32_dwio_write_rap: ## @pcnet32_dwio_write_rap .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, %rax movq _PCNET32_DWIO_RAP@GOTPCREL(%rip), %rcx addq (%rcx), %rax movl %esi, %edi movq %rax, %rsi popq %rbp jmp _outl ## TAILCALL .cfi_endproc ## -- End function .comm _PCNET32_DWIO_RAP,8,3 ## @PCNET32_DWIO_RAP .no_dead_strip _pcnet32_dwio_write_rap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pcnet32_dwio_write_rap _pcnet32_dwio_write_rap: ; @pcnet32_dwio_write_rap .cfi_startproc ; %bb.0: mov x8, x1 Lloh0: adrp x9, _PCNET32_DWIO_RAP@GOTPAGE Lloh1: ldr x9, [x9, _PCNET32_DWIO_RAP@GOTPAGEOFF] Lloh2: ldr x9, [x9] add x1, x9, x0 mov x0, x8 b _outl .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PCNET32_DWIO_RAP,8,3 ; @PCNET32_DWIO_RAP .no_dead_strip _pcnet32_dwio_write_rap .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/amd/extr_pcnet32.c_pcnet32_dwio_write_rap.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m68k_op_move_16_pi_pd ## -- Begin function m68k_op_move_16_pi_pd .p2align 4, 0x90 _m68k_op_move_16_pi_pd: ## @m68k_op_move_16_pi_pd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %eax, %eax callq _OPER_AY_PD_16 movl %eax, %ebx xorl %eax, %eax callq _EA_AX_PI_16 movl %eax, %edi movl %ebx, %esi callq _m68ki_write_16 movl %ebx, %edi callq _NFLAG_16 movq _FLAG_N@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _FLAG_Z@GOTPCREL(%rip), %rax movl %ebx, (%rax) movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FLAG_V@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FLAG_C@GOTPCREL(%rip), %rcx movl %eax, (%rcx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _FLAG_N,4,2 ## @FLAG_N .comm _FLAG_Z,4,2 ## @FLAG_Z .comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR .comm _FLAG_V,4,2 ## @FLAG_V .comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR .comm _FLAG_C,4,2 ## @FLAG_C .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m68k_op_move_16_pi_pd ; -- Begin function m68k_op_move_16_pi_pd .p2align 2 _m68k_op_move_16_pi_pd: ; @m68k_op_move_16_pi_pd .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _OPER_AY_PD_16 mov x19, x0 bl _EA_AX_PI_16 mov x1, x19 bl _m68ki_write_16 mov x0, x19 bl _NFLAG_16 Lloh0: adrp x8, _FLAG_N@GOTPAGE Lloh1: ldr x8, [x8, _FLAG_N@GOTPAGEOFF] Lloh2: str w0, [x8] Lloh3: adrp x8, _FLAG_Z@GOTPAGE Lloh4: ldr x8, [x8, _FLAG_Z@GOTPAGEOFF] Lloh5: str w19, [x8] Lloh6: adrp x8, _VFLAG_CLEAR@GOTPAGE Lloh7: ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x9, _FLAG_V@GOTPAGE Lloh10: ldr x9, [x9, _FLAG_V@GOTPAGEOFF] Lloh11: str w8, [x9] Lloh12: adrp x8, _CFLAG_CLEAR@GOTPAGE Lloh13: ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF] Lloh14: ldr w8, [x8] Lloh15: adrp x9, _FLAG_C@GOTPAGE Lloh16: ldr x9, [x9, _FLAG_C@GOTPAGEOFF] Lloh17: str w8, [x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FLAG_N,4,2 ; @FLAG_N .comm _FLAG_Z,4,2 ; @FLAG_Z .comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR .comm _FLAG_V,4,2 ; @FLAG_V .comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR .comm _FLAG_C,4,2 ; @FLAG_C .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_16_pi_pd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function jmp_dest _jmp_dest: ## @jmp_dest .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 leal 2(%rbx), %esi callq _r_buf_read8_at movl %eax, %r15d addl $3, %ebx movq %r14, %rdi movl %ebx, %esi callq _r_buf_read8_at shll $8, %eax addl %r15d, %eax addl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _jmp_dest .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function jmp_dest _jmp_dest: ; @jmp_dest .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 add w1, w1, #2 bl _r_buf_read8_at mov x21, x0 add w1, w19, #3 mov x0, x20 bl _r_buf_read8_at add w8, w21, w0, lsl #8 lsl w0, w8, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _jmp_dest .subsections_via_symbols
AnghaBench/radare2/libr/bin/p/extr_bin_avr.c_jmp_dest.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _set_dialog_backtitle ## -- Begin function set_dialog_backtitle .p2align 4, 0x90 _set_dialog_backtitle: ## @set_dialog_backtitle .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _dlg@GOTPCREL(%rip), %rax movq %rdi, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _dlg,8,3 ## @dlg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _set_dialog_backtitle ; -- Begin function set_dialog_backtitle .p2align 2 _set_dialog_backtitle: ; @set_dialog_backtitle .cfi_startproc ; %bb.0: Lloh0: adrp x8, _dlg@GOTPAGE Lloh1: ldr x8, [x8, _dlg@GOTPAGEOFF] Lloh2: str x0, [x8] ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _dlg,8,3 ; @dlg .subsections_via_symbols
AnghaBench/linux/scripts/kconfig/lxdialog/extr_util.c_set_dialog_backtitle.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/225142473.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $210, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sum = %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: 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 w8, #210 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sum = %d\n" .subsections_via_symbols
the_stack_data/12637033.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $568, %rsp ## imm = 0x238 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpl $1, %edi jne LBB0_3 ## %bb.1: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_3: movl %edi, %r12d movq %rsi, -576(%rbp) ## 8-byte Spill movl $262144, %edi ## imm = 0x40000 callq _malloc testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %r14 movups L_.str.2+13(%rip), %xmm0 movups %xmm0, 13(%rax) movups L_.str.2(%rip), %xmm0 movups %xmm0, (%rax) movups L_.str.3+29(%rip), %xmm0 movups %xmm0, 57(%rax) movups L_.str.3+16(%rip), %xmm0 movups %xmm0, 44(%rax) movups L_.str.3(%rip), %xmm0 movups %xmm0, 28(%rax) movups L_.str.4+11(%rip), %xmm0 movups %xmm0, 84(%rax) movups L_.str.4(%rip), %xmm0 movups %xmm0, 73(%rax) movups L_.str.5(%rip), %xmm0 movups %xmm0, 100(%rax) movups L_.str.5+12(%rip), %xmm0 movups %xmm0, 112(%rax) movq %rax, %r15 addq $127, %r15 leaq L_.str.6(%rip), %rsi leaq -560(%rbp), %rdi callq _strcpy cmpl $3, %r12d jb LBB0_15 ## %bb.6: movq %r14, -584(%rbp) ## 8-byte Spill leal -1(%r12), %eax movq %rax, -600(%rbp) ## 8-byte Spill movl %r12d, %eax movq %rax, -592(%rbp) ## 8-byte Spill movl $2, %r13d leaq -560(%rbp), %rbx movl $0, -564(%rbp) ## 4-byte Folded Spill movq -576(%rbp), %r14 ## 8-byte Reload jmp LBB0_7 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 incq %r13 cmpq %r13, -592(%rbp) ## 8-byte Folded Reload je LBB0_13 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq (%r14,%r13,8), %rdi leaq L_.str.7(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_8 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movq (%r14,%r13,8), %rdx movq %r15, %rdi leaq L_.str.8(%rip), %rsi xorl %eax, %eax callq _sprintf movslq %eax, %r14 addq %r15, %r14 movq -576(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rdx movq %r14, %rdi leaq L_.str.9(%rip), %rsi xorl %eax, %eax callq _sprintf movslq %eax, %r12 addq %r14, %r12 movq -576(%rbp), %r14 ## 8-byte Reload movq (%r14,%r13,8), %rdx movq %r12, %rdi leaq L_.str.10(%rip), %rsi xorl %eax, %eax callq _sprintf movslq %eax, %r15 addq %r12, %r15 jmp LBB0_10 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_7 Depth=1 movl $1, -564(%rbp) ## 4-byte Folded Spill LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movq (%r14,%r13,8), %rsi movq %rbx, %rdi callq _strcat cmpq %r13, -600(%rbp) ## 8-byte Folded Reload je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, %rdi leaq L_.str.11(%rip), %rsi callq _strcat jmp LBB0_12 LBB0_4: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_2: callq _fprintf movl $1, %eax jmp LBB0_17 LBB0_13: cmpl $0, -564(%rbp) ## 4-byte Folded Reload je LBB0_14 ## %bb.19: movups L_.str.12(%rip), %xmm0 movups %xmm0, (%r15) movb $0, 16(%r15) movups L_.str.13+13(%rip), %xmm0 movups %xmm0, 29(%r15) movups L_.str.13(%rip), %xmm0 movups %xmm0, 16(%r15) movabsq $737228217717650277, %rax ## imm = 0xA3B292873747365 movq %rax, 74(%r15) movups L_.str.14(%rip), %xmm0 movups %xmm0, 44(%r15) movups L_.str.14+16(%rip), %xmm0 movups %xmm0, 60(%r15) movabsq $2866607745359693, %rax ## imm = 0xA2F2A205F5F4D movq %rax, 96(%r15) movups L_.str.15(%rip), %xmm0 movups %xmm0, 82(%r15) addq $103, %r15 movq -584(%rbp), %r14 ## 8-byte Reload jmp LBB0_16 LBB0_14: movq -584(%rbp), %r14 ## 8-byte Reload LBB0_15: movups L_.str.16(%rip), %xmm0 movups %xmm0, (%r15) movabsq $2906371406517343, %rax ## imm = 0xA53545345545F movq %rax, 15(%r15) addq $22, %r15 LBB0_16: leaq L_.str.17(%rip), %rsi leaq -560(%rbp), %rdx movq %r15, %rdi xorl %eax, %eax callq _sprintf cltq movups L_.str.18(%rip), %xmm0 movups %xmm0, (%r15,%rax) movups L_.str.18+16(%rip), %xmm0 movups %xmm0, 16(%r15,%rax) movb $0, 32(%r15,%rax) movq -576(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rsi movq %r14, %rdi callq _write_if_change LBB0_17: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_20 ## %bb.18: addq $568, %rsp ## imm = 0x238 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Not enough arguments\n" L_.str.1: ## @.str.1 .asciz "Out of memory 1\n" L_.str.2: ## @.str.2 .asciz "/* Automatically generated, " L_.str.3: ## @.str.3 .asciz "Edit the Makefile to change configuration */\n" L_.str.4: ## @.str.4 .asciz "#ifndef __INCLUDE_CONFIG_H\n" L_.str.5: ## @.str.5 .asciz "#define __INCLUDE_CONFIG_H\n" L_.str.6: ## @.str.6 .space 1 L_.str.7: ## @.str.7 .asciz "REGTESTS" L_.str.8: ## @.str.8 .asciz "#ifndef %s\n" L_.str.9: ## @.str.9 .asciz "#define %s\n" L_.str.10: ## @.str.10 .asciz "#endif /* %s */\n" L_.str.11: ## @.str.11 .asciz " " L_.str.12: ## @.str.12 .asciz "#ifndef __ASM__\n" L_.str.13: ## @.str.13 .asciz "extern void PrepareTests();\n" L_.str.14: ## @.str.14 .asciz "#define PREPARE_TESTS PrepareTests();\n" L_.str.15: ## @.str.15 .asciz "#endif /* __ASM__ */\n" L_.str.16: ## @.str.16 .asciz "#define PREPARE_TESTS\n" L_.str.17: ## @.str.17 .asciz "#define CONFIG \"%s\"\n" L_.str.18: ## @.str.18 .asciz "#endif /* __INCLUDE_CONFIG_H */\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #544 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] subs w19, w0, #1 b.ne LBB0_2 ; %bb.1: Lloh3: adrp x8, _stderr@GOTPAGE Lloh4: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF b LBB0_12 LBB0_2: mov x23, x1 mov x22, x0 mov w0, #262144 bl _malloc cbz x0, LBB0_11 ; %bb.3: mov x20, x0 Lloh8: adrp x8, l_.str.2@PAGE Lloh9: add x8, x8, l_.str.2@PAGEOFF ldr q0, [x8] ldur q1, [x8, #13] stur q1, [x0, #13] str q0, [x0] Lloh10: adrp x8, l_.str.3@PAGE Lloh11: add x8, x8, l_.str.3@PAGEOFF ldur q0, [x8, #29] ldp q2, q1, [x8] stur q2, [x0, #28] stur q1, [x0, #44] Lloh12: adrp x8, l_.str.4@PAGE Lloh13: add x8, x8, l_.str.4@PAGEOFF stur q0, [x0, #57] ldr q0, [x8] stur q0, [x0, #73] ldur q0, [x8, #11] Lloh14: adrp x8, l_.str.5@PAGE Lloh15: add x8, x8, l_.str.5@PAGEOFF stur q0, [x0, #84] ldr q0, [x8] ldur q1, [x8, #12] str q1, [x0, #112] add x21, x0, #127 stur q0, [x0, #100] Lloh16: adrp x1, l_.str.6@PAGE Lloh17: add x1, x1, l_.str.6@PAGEOFF add x0, sp, #16 bl _strcpy cmp w22, #3 b.lo LBB0_16 ; %bb.4: mov w27, #0 mov w8, w22 sub x28, x19, #2 str x23, [sp, #8] ; 8-byte Folded Spill add x19, x23, #16 sub x23, x8, #2 Lloh18: adrp x22, l_.str.7@PAGE Lloh19: add x22, x22, l_.str.7@PAGEOFF Lloh20: adrp x24, l_.str.8@PAGE Lloh21: add x24, x24, l_.str.8@PAGEOFF Lloh22: adrp x25, l_.str.9@PAGE Lloh23: add x25, x25, l_.str.9@PAGEOFF Lloh24: adrp x26, l_.str.10@PAGE Lloh25: add x26, x26, l_.str.10@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub x28, x28, #1 add x19, x19, #8 subs x23, x23, #1 b.eq LBB0_13 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] mov x1, x22 bl _strcmp cbz x0, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x19] str x8, [sp] mov x0, x21 mov x1, x24 bl _sprintf add x21, x21, w0, sxtw ldr x8, [x19] str x8, [sp] mov x0, x21 mov x1, x25 bl _sprintf add x21, x21, w0, sxtw ldr x8, [x19] str x8, [sp] mov x0, x21 mov x1, x26 bl _sprintf add x21, x21, w0, sxtw b LBB0_9 LBB0_8: ; in Loop: Header=BB0_6 Depth=1 mov w27, #1 LBB0_9: ; in Loop: Header=BB0_6 Depth=1 ldr x1, [x19] add x0, sp, #16 bl _strcat cbz x28, LBB0_5 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 add x0, sp, #16 Lloh26: adrp x1, l_.str.11@PAGE Lloh27: add x1, x1, l_.str.11@PAGEOFF bl _strcat b LBB0_5 LBB0_11: Lloh28: adrp x8, _stderr@GOTPAGE Lloh29: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh30: ldr w0, [x8] Lloh31: adrp x1, l_.str.1@PAGE Lloh32: add x1, x1, l_.str.1@PAGEOFF LBB0_12: bl _fprintf mov w0, #1 b LBB0_18 LBB0_13: cbz w27, LBB0_15 ; %bb.14: adrp x8, l_.str.12@PAGE add x8, x8, l_.str.12@PAGEOFF strb wzr, [x21, #16] ldr q0, [x8] str q0, [x21] Lloh33: adrp x8, l_.str.13@PAGE Lloh34: add x8, x8, l_.str.13@PAGEOFF ldur q0, [x8, #13] stur q0, [x21, #29] ldr q0, [x8] str q0, [x21, #16] Lloh35: adrp x8, l_.str.14@PAGE Lloh36: add x8, x8, l_.str.14@PAGEOFF ldp q0, q1, [x8] stur q1, [x21, #60] Lloh37: adrp x9, l_.str.15@PAGE Lloh38: add x9, x9, l_.str.15@PAGEOFF ldr q1, [x9] stur q1, [x21, #82] ldur x8, [x8, #30] stur x8, [x21, #74] ldur x8, [x9, #14] str x8, [x21, #96] add x22, x21, #103 stur q0, [x21, #44] ldr x23, [sp, #8] ; 8-byte Folded Reload b LBB0_17 LBB0_15: ldr x23, [sp, #8] ; 8-byte Folded Reload LBB0_16: Lloh39: adrp x8, l_.str.16@PAGE Lloh40: add x8, x8, l_.str.16@PAGEOFF ldr q0, [x8] ldur x8, [x8, #15] stur x8, [x21, #15] str q0, [x21] add x22, x21, #22 LBB0_17: add x8, sp, #16 str x8, [sp] Lloh41: adrp x1, l_.str.17@PAGE Lloh42: add x1, x1, l_.str.17@PAGEOFF mov x0, x22 bl _sprintf add x8, x22, w0, sxtw Lloh43: adrp x9, l_.str.18@PAGE Lloh44: add x9, x9, l_.str.18@PAGEOFF ldp q1, q0, [x9] stp q1, q0, [x8] strb wzr, [x8, #32] ldr x1, [x23, #8] mov x0, x20 bl _write_if_change LBB0_18: ldur x8, [x29, #-96] Lloh45: adrp x9, ___stack_chk_guard@GOTPAGE Lloh46: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh47: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.19: add sp, sp, #544 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Not enough arguments\n" l_.str.1: ; @.str.1 .asciz "Out of memory 1\n" l_.str.2: ; @.str.2 .asciz "/* Automatically generated, " l_.str.3: ; @.str.3 .asciz "Edit the Makefile to change configuration */\n" l_.str.4: ; @.str.4 .asciz "#ifndef __INCLUDE_CONFIG_H\n" l_.str.5: ; @.str.5 .asciz "#define __INCLUDE_CONFIG_H\n" l_.str.6: ; @.str.6 .space 1 l_.str.7: ; @.str.7 .asciz "REGTESTS" l_.str.8: ; @.str.8 .asciz "#ifndef %s\n" l_.str.9: ; @.str.9 .asciz "#define %s\n" l_.str.10: ; @.str.10 .asciz "#endif /* %s */\n" l_.str.11: ; @.str.11 .asciz " " l_.str.12: ; @.str.12 .asciz "#ifndef __ASM__\n" l_.str.13: ; @.str.13 .asciz "extern void PrepareTests();\n" l_.str.14: ; @.str.14 .asciz "#define PREPARE_TESTS PrepareTests();\n" l_.str.15: ; @.str.15 .asciz "#endif /* __ASM__ */\n" l_.str.16: ; @.str.16 .asciz "#define PREPARE_TESTS\n" l_.str.17: ; @.str.17 .asciz "#define CONFIG \"%s\"\n" l_.str.18: ; @.str.18 .asciz "#endif /* __INCLUDE_CONFIG_H */\n" .subsections_via_symbols
AnghaBench/reactos/sdk/tools/extr_mkconfig.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _input_cmd_click_method ## -- Begin function input_cmd_click_method .p2align 4, 0x90 _input_cmd_click_method: ## @input_cmd_click_method .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq _EXPECTED_AT_LEAST@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi movl $1, %ecx callq _checkarg testq %rax, %rax je LBB0_1 ## %bb.12: popq %rbx popq %r14 popq %rbp retq LBB0_1: movq _config@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %r14 testq %r14, %r14 je LBB0_2 ## %bb.3: movq (%rbx), %rbx leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_4 ## %bb.5: leaq L_.str.3(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_6 ## %bb.7: leaq L_.str.4(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_9 ## %bb.8: leaq L_.str.5(%rip), %rsi movq _CMD_INVALID@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_2: leaq L_.str.1(%rip), %rsi movq _CMD_FAILURE@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_4: movq _LIBINPUT_CONFIG_CLICK_METHOD_NONE@GOTPCREL(%rip), %rax jmp LBB0_10 LBB0_6: movq _LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS@GOTPCREL(%rip), %rax jmp LBB0_10 LBB0_9: movq _LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER@GOTPCREL(%rip), %rax LBB0_10: movl (%rax), %eax movl %eax, (%r14) movq _CMD_SUCCESS@GOTPCREL(%rip), %rax xorl %esi, %esi LBB0_11: movl (%rax), %edi popq %rbx popq %r14 popq %rbp jmp _cmd_results_new ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "click_method" .comm _EXPECTED_AT_LEAST,4,2 ## @EXPECTED_AT_LEAST .comm _config,8,3 ## @config .comm _CMD_FAILURE,4,2 ## @CMD_FAILURE L_.str.1: ## @.str.1 .asciz "No input device defined." L_.str.2: ## @.str.2 .asciz "none" .comm _LIBINPUT_CONFIG_CLICK_METHOD_NONE,4,2 ## @LIBINPUT_CONFIG_CLICK_METHOD_NONE L_.str.3: ## @.str.3 .asciz "button_areas" .comm _LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS,4,2 ## @LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS L_.str.4: ## @.str.4 .asciz "clickfinger" .comm _LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER,4,2 ## @LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER .comm _CMD_INVALID,4,2 ## @CMD_INVALID L_.str.5: ## @.str.5 .asciz "Expected 'click_method <none|button_areas|clickfinger'>" .comm _CMD_SUCCESS,4,2 ## @CMD_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _input_cmd_click_method ; -- Begin function input_cmd_click_method .p2align 2 _input_cmd_click_method: ; @input_cmd_click_method .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x8, _EXPECTED_AT_LEAST@GOTPAGE Lloh1: ldr x8, [x8, _EXPECTED_AT_LEAST@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov w3, #1 bl _checkarg cbz x0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: Lloh5: adrp x8, _config@GOTPAGE Lloh6: ldr x8, [x8, _config@GOTPAGEOFF] Lloh7: ldr x8, [x8] ldr x20, [x8] cbz x20, LBB0_7 ; %bb.3: ldr x19, [x19] Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _strcasecmp cbz x0, LBB0_8 ; %bb.4: Lloh10: adrp x1, l_.str.3@PAGE Lloh11: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _strcasecmp cbz x0, LBB0_9 ; %bb.5: Lloh12: adrp x1, l_.str.4@PAGE Lloh13: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _strcasecmp cbz x0, LBB0_10 ; %bb.6: Lloh14: adrp x1, l_.str.5@PAGE Lloh15: add x1, x1, l_.str.5@PAGEOFF Lloh16: adrp x8, _CMD_INVALID@GOTPAGE Lloh17: ldr x8, [x8, _CMD_INVALID@GOTPAGEOFF] b LBB0_12 LBB0_7: Lloh18: adrp x1, l_.str.1@PAGE Lloh19: add x1, x1, l_.str.1@PAGEOFF Lloh20: adrp x8, _CMD_FAILURE@GOTPAGE Lloh21: ldr x8, [x8, _CMD_FAILURE@GOTPAGEOFF] b LBB0_12 LBB0_8: Lloh22: adrp x8, _LIBINPUT_CONFIG_CLICK_METHOD_NONE@GOTPAGE Lloh23: ldr x8, [x8, _LIBINPUT_CONFIG_CLICK_METHOD_NONE@GOTPAGEOFF] b LBB0_11 LBB0_9: Lloh24: adrp x8, _LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS@GOTPAGE Lloh25: ldr x8, [x8, _LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS@GOTPAGEOFF] b LBB0_11 LBB0_10: Lloh26: adrp x8, _LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER@GOTPAGE Lloh27: ldr x8, [x8, _LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER@GOTPAGEOFF] LBB0_11: mov x1, #0 ldr w8, [x8] str w8, [x20] Lloh28: adrp x8, _CMD_SUCCESS@GOTPAGE Lloh29: ldr x8, [x8, _CMD_SUCCESS@GOTPAGEOFF] LBB0_12: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _cmd_results_new .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "click_method" .comm _EXPECTED_AT_LEAST,4,2 ; @EXPECTED_AT_LEAST .comm _config,8,3 ; @config .comm _CMD_FAILURE,4,2 ; @CMD_FAILURE l_.str.1: ; @.str.1 .asciz "No input device defined." l_.str.2: ; @.str.2 .asciz "none" .comm _LIBINPUT_CONFIG_CLICK_METHOD_NONE,4,2 ; @LIBINPUT_CONFIG_CLICK_METHOD_NONE l_.str.3: ; @.str.3 .asciz "button_areas" .comm _LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS,4,2 ; @LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS l_.str.4: ; @.str.4 .asciz "clickfinger" .comm _LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER,4,2 ; @LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER .comm _CMD_INVALID,4,2 ; @CMD_INVALID l_.str.5: ; @.str.5 .asciz "Expected 'click_method <none|button_areas|clickfinger'>" .comm _CMD_SUCCESS,4,2 ; @CMD_SUCCESS .subsections_via_symbols
AnghaBench/sway/sway/commands/input/extr_click_method.c_input_cmd_click_method.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ht_forall ## -- Begin function ht_forall .p2align 4, 0x90 _ht_forall: ## @ht_forall .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq 8(%rdi), %rbx movslq (%rdi), %rax leaq (%rbx,%rax,8), %r13 jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 addq $8, %rbx cmpq %r13, %rbx jae LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rsi testq %rsi, %rsi je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl 4(%r12), %edi movq %r14, %rdx callq *%r15 testq %rax, %rax jne LBB0_3 LBB0_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ht_forall ; -- Begin function ht_forall .p2align 2 _ht_forall: ; @ht_forall .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 ldr x22, [x0, #8] ldrsw x8, [x0] add x23, x22, x8, lsl #3 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #8 cmp x22, x23 b.hs LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x1, [x22] cbz x1, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w0, [x21, #4] mov x2, x19 blr x20 add x22, x22, #8 cmp x0, #0 ccmp x22, x23, #2, ne b.lo LBB0_2 LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/gcclibs/libcpp/extr_symtab.c_ht_forall.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dm_dirty_log_type_unregister ## -- Begin function dm_dirty_log_type_unregister .p2align 4, 0x90 _dm_dirty_log_type_unregister: ## @dm_dirty_log_type_unregister .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq __lock@GOTPCREL(%rip), %rdi callq _spin_lock movl 4(%rbx), %edi callq ___find_dirty_log_type testl %eax, %eax je LBB0_1 ## %bb.2: movq %rbx, %rdi callq _list_del movq __lock@GOTPCREL(%rip), %rdi callq _spin_unlock xorl %eax, %eax jmp LBB0_3 LBB0_1: movq __lock@GOTPCREL(%rip), %rdi callq _spin_unlock movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm __lock,4,2 ## @_lock .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dm_dirty_log_type_unregister ; -- Begin function dm_dirty_log_type_unregister .p2align 2 _dm_dirty_log_type_unregister: ; @dm_dirty_log_type_unregister .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, __lock@GOTPAGE Lloh1: ldr x0, [x0, __lock@GOTPAGEOFF] bl _spin_lock ldr w0, [x19, #4] bl ___find_dirty_log_type cbz w0, LBB0_2 ; %bb.1: mov x0, x19 bl _list_del Lloh2: adrp x0, __lock@GOTPAGE Lloh3: ldr x0, [x0, __lock@GOTPAGEOFF] bl _spin_unlock mov w0, #0 b LBB0_3 LBB0_2: Lloh4: adrp x0, __lock@GOTPAGE Lloh5: ldr x0, [x0, __lock@GOTPAGEOFF] bl _spin_unlock Lloh6: adrp x8, _EINVAL@GOTPAGE Lloh7: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm __lock,4,2 ; @_lock .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_dm-log.c_dm_dirty_log_type_unregister.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function max3421_start _max3421_start: ## @max3421_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 callq _hcd_to_max3421 movq %rax, %rbx leaq 8(%rax), %rdi callq _spin_lock_init movq _MAX3421_RH_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movq %rbx, %rdi callq _INIT_LIST_HEAD movq _POWER_BUDGET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%r14) movq _HC_STATE_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r14) movl $1, (%r14) xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX3421_RH_RUNNING,4,2 ## @MAX3421_RH_RUNNING .comm _POWER_BUDGET,4,2 ## @POWER_BUDGET .comm _HC_STATE_RUNNING,4,2 ## @HC_STATE_RUNNING .no_dead_strip _max3421_start .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function max3421_start _max3421_start: ; @max3421_start .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _hcd_to_max3421 mov x20, x0 add x0, x0, #8 bl _spin_lock_init Lloh0: adrp x8, _MAX3421_RH_RUNNING@GOTPAGE Lloh1: ldr x8, [x8, _MAX3421_RH_RUNNING@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x20, #4] mov x0, x20 bl _INIT_LIST_HEAD Lloh3: adrp x8, _POWER_BUDGET@GOTPAGE Lloh4: ldr x8, [x8, _POWER_BUDGET@GOTPAGEOFF] Lloh5: ldr w10, [x8] Lloh6: adrp x9, _HC_STATE_RUNNING@GOTPAGE Lloh7: ldr x9, [x9, _HC_STATE_RUNNING@GOTPAGEOFF] Lloh8: ldr w8, [x9] mov w9, #1 stp w8, w10, [x19, #4] str w9, [x19] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MAX3421_RH_RUNNING,4,2 ; @MAX3421_RH_RUNNING .comm _POWER_BUDGET,4,2 ; @POWER_BUDGET .comm _HC_STATE_RUNNING,4,2 ; @HC_STATE_RUNNING .no_dead_strip _max3421_start .subsections_via_symbols
AnghaBench/linux/drivers/usb/host/extr_max3421-hcd.c_max3421_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _run_all_mockup_tests ## -- Begin function run_all_mockup_tests .p2align 4, 0x90 _run_all_mockup_tests: ## @run_all_mockup_tests .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %eax, %eax callq _check_strdupz_path_subpath movl $1, %ebx testq %rax, %rax jne LBB0_22 ## %bb.1: xorl %eax, %eax callq _check_number_printing testq %rax, %rax jne LBB0_22 ## %bb.2: xorl %eax, %eax callq _check_rrdcalc_comparisons testq %rax, %rax je LBB0_3 LBB0_22: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB0_3: xorl %eax, %eax callq _test_variable_renames testl %eax, %eax je LBB0_22 ## %bb.4: movq _test1@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.5: movq _test2@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.6: movq _test3@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.7: movq _test4@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.8: movq _test5@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.9: movq _test5b@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.10: movq _test6@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.11: movq _test7@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.12: movq _test8@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.13: movq _test9@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.14: movq _test10@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.15: movq _test11@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.16: movq _test12@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.17: movq _test13@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.18: movq _test14@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.19: movq _test14b@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.20: movq _test14c@GOTPCREL(%rip), %rdi callq _run_test testq %rax, %rax jne LBB0_22 ## %bb.21: movq _test15@GOTPCREL(%rip), %rdi callq _run_test xorl %ebx, %ebx testq %rax, %rax setne %bl jmp LBB0_22 .cfi_endproc ## -- End function .comm _test1,4,2 ## @test1 .comm _test2,4,2 ## @test2 .comm _test3,4,2 ## @test3 .comm _test4,4,2 ## @test4 .comm _test5,4,2 ## @test5 .comm _test5b,4,2 ## @test5b .comm _test6,4,2 ## @test6 .comm _test7,4,2 ## @test7 .comm _test8,4,2 ## @test8 .comm _test9,4,2 ## @test9 .comm _test10,4,2 ## @test10 .comm _test11,4,2 ## @test11 .comm _test12,4,2 ## @test12 .comm _test13,4,2 ## @test13 .comm _test14,4,2 ## @test14 .comm _test14b,4,2 ## @test14b .comm _test14c,4,2 ## @test14c .comm _test15,4,2 ## @test15 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _run_all_mockup_tests ; -- Begin function run_all_mockup_tests .p2align 2 _run_all_mockup_tests: ; @run_all_mockup_tests .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _check_strdupz_path_subpath cbnz x0, LBB0_3 ; %bb.1: bl _check_number_printing cbnz x0, LBB0_3 ; %bb.2: bl _check_rrdcalc_comparisons cbz x0, LBB0_4 LBB0_3: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_4: bl _test_variable_renames cbz w0, LBB0_3 ; %bb.5: Lloh0: adrp x0, _test1@GOTPAGE Lloh1: ldr x0, [x0, _test1@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.6: Lloh2: adrp x0, _test2@GOTPAGE Lloh3: ldr x0, [x0, _test2@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.7: Lloh4: adrp x0, _test3@GOTPAGE Lloh5: ldr x0, [x0, _test3@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.8: Lloh6: adrp x0, _test4@GOTPAGE Lloh7: ldr x0, [x0, _test4@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.9: Lloh8: adrp x0, _test5@GOTPAGE Lloh9: ldr x0, [x0, _test5@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.10: Lloh10: adrp x0, _test5b@GOTPAGE Lloh11: ldr x0, [x0, _test5b@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.11: Lloh12: adrp x0, _test6@GOTPAGE Lloh13: ldr x0, [x0, _test6@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.12: Lloh14: adrp x0, _test7@GOTPAGE Lloh15: ldr x0, [x0, _test7@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.13: Lloh16: adrp x0, _test8@GOTPAGE Lloh17: ldr x0, [x0, _test8@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.14: Lloh18: adrp x0, _test9@GOTPAGE Lloh19: ldr x0, [x0, _test9@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.15: Lloh20: adrp x0, _test10@GOTPAGE Lloh21: ldr x0, [x0, _test10@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.16: Lloh22: adrp x0, _test11@GOTPAGE Lloh23: ldr x0, [x0, _test11@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.17: Lloh24: adrp x0, _test12@GOTPAGE Lloh25: ldr x0, [x0, _test12@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.18: Lloh26: adrp x0, _test13@GOTPAGE Lloh27: ldr x0, [x0, _test13@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.19: Lloh28: adrp x0, _test14@GOTPAGE Lloh29: ldr x0, [x0, _test14@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.20: Lloh30: adrp x0, _test14b@GOTPAGE Lloh31: ldr x0, [x0, _test14b@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.21: Lloh32: adrp x0, _test14c@GOTPAGE Lloh33: ldr x0, [x0, _test14c@GOTPAGEOFF] bl _run_test cbnz x0, LBB0_3 ; %bb.22: Lloh34: adrp x0, _test15@GOTPAGE Lloh35: ldr x0, [x0, _test15@GOTPAGEOFF] bl _run_test cmp x0, #0 cset w0, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGot Lloh34, Lloh35 .cfi_endproc ; -- End function .comm _test1,4,2 ; @test1 .comm _test2,4,2 ; @test2 .comm _test3,4,2 ; @test3 .comm _test4,4,2 ; @test4 .comm _test5,4,2 ; @test5 .comm _test5b,4,2 ; @test5b .comm _test6,4,2 ; @test6 .comm _test7,4,2 ; @test7 .comm _test8,4,2 ; @test8 .comm _test9,4,2 ; @test9 .comm _test10,4,2 ; @test10 .comm _test11,4,2 ; @test11 .comm _test12,4,2 ; @test12 .comm _test13,4,2 ; @test13 .comm _test14,4,2 ; @test14 .comm _test14b,4,2 ; @test14b .comm _test14c,4,2 ; @test14c .comm _test15,4,2 ; @test15 .subsections_via_symbols
AnghaBench/netdata/daemon/extr_unit_test.c_run_all_mockup_tests.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi movl $30, %esi movl $10950, %edx ## imm = 0x2AC6 xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Age in year format is %d, and in days format is %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: 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 w8, #10950 mov w9, #30 stp x9, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Age in year format is %d, and in days format is %d\n" .subsections_via_symbols
the_stack_data/150502.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sshbuf_check_sanity _sshbuf_check_sanity: ## @sshbuf_check_sanity .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi callq _SSHBUF_TELL movl $1, %edi testq %rbx, %rbx je LBB0_10 ## %bb.1: cmpl $0, 56(%rbx) je LBB0_2 LBB0_3: movl (%rbx), %eax testl %eax, %eax jle LBB0_10 ## %bb.4: movq _SSHBUF_REFS_MAX@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jg LBB0_10 ## %bb.5: cmpq $0, 40(%rbx) je LBB0_10 ## %bb.6: movq 8(%rbx), %rax movq _SSHBUF_SIZE_MAX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jg LBB0_10 ## %bb.7: movq 16(%rbx), %rcx cmpq %rax, %rcx jg LBB0_10 ## %bb.8: movq 24(%rbx), %rax cmpq %rcx, %rax jg LBB0_10 ## %bb.9: xorl %edi, %edi cmpq %rax, 32(%rbx) setg %dil jmp LBB0_10 LBB0_2: movq 48(%rbx), %rax cmpq 40(%rbx), %rax je LBB0_3 LBB0_10: callq ___predict_false testq %rax, %rax je LBB0_11 ## %bb.12: leaq L_.str.1(%rip), %rdi callq _SSHBUF_DBG movq _SIGSEGV@GOTPCREL(%rip), %rbx movl (%rbx), %edi movq _SIG_DFL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _signal movl (%rbx), %edi callq _raise movq _SSH_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_13 LBB0_11: xorl %eax, %eax LBB0_13: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sanity" .comm _SSHBUF_REFS_MAX,4,2 ## @SSHBUF_REFS_MAX .comm _SSHBUF_SIZE_MAX,8,3 ## @SSHBUF_SIZE_MAX L_.str.1: ## @.str.1 .asciz "SSH_ERR_INTERNAL_ERROR" .comm _SIGSEGV,4,2 ## @SIGSEGV .comm _SIG_DFL,4,2 ## @SIG_DFL .comm _SSH_ERR_INTERNAL_ERROR,4,2 ## @SSH_ERR_INTERNAL_ERROR .no_dead_strip _sshbuf_check_sanity .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sshbuf_check_sanity _sshbuf_check_sanity: ; @sshbuf_check_sanity .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _SSHBUF_TELL cbz x19, LBB0_9 ; %bb.1: ldr w8, [x19, #56] cbz w8, LBB0_8 LBB0_2: ldr w8, [x19] Lloh2: adrp x9, _SSHBUF_REFS_MAX@GOTPAGE Lloh3: ldr x9, [x9, _SSHBUF_REFS_MAX@GOTPAGEOFF] Lloh4: ldr w9, [x9] cmp w8, #1 ccmp w8, w9, #0, ge b.gt LBB0_9 ; %bb.3: ldr x8, [x19, #40] cbz x8, LBB0_9 ; %bb.4: ldr x8, [x19, #8] Lloh5: adrp x9, _SSHBUF_SIZE_MAX@GOTPAGE Lloh6: ldr x9, [x9, _SSHBUF_SIZE_MAX@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x8, x9 b.gt LBB0_9 ; %bb.5: ldr x9, [x19, #16] cmp x9, x8 b.gt LBB0_9 ; %bb.6: ldr x8, [x19, #24] cmp x8, x9 b.gt LBB0_9 ; %bb.7: ldr x9, [x19, #32] cmp x9, x8 cset w0, gt b LBB0_10 LBB0_8: ldp x9, x8, [x19, #40] cmp x8, x9 b.eq LBB0_2 LBB0_9: mov w0, #1 LBB0_10: bl ___predict_false cbz x0, LBB0_12 ; %bb.11: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _SSHBUF_DBG Lloh10: adrp x19, _SIGSEGV@GOTPAGE Lloh11: ldr x19, [x19, _SIGSEGV@GOTPAGEOFF] ldr w0, [x19] Lloh12: adrp x8, _SIG_DFL@GOTPAGE Lloh13: ldr x8, [x8, _SIG_DFL@GOTPAGEOFF] Lloh14: ldr w1, [x8] bl _signal ldr w0, [x19] bl _raise Lloh15: adrp x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGE Lloh16: ldr x8, [x8, _SSH_ERR_INTERNAL_ERROR@GOTPAGEOFF] Lloh17: ldr w0, [x8] LBB0_12: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sanity" .comm _SSHBUF_REFS_MAX,4,2 ; @SSHBUF_REFS_MAX .comm _SSHBUF_SIZE_MAX,8,3 ; @SSHBUF_SIZE_MAX l_.str.1: ; @.str.1 .asciz "SSH_ERR_INTERNAL_ERROR" .comm _SIGSEGV,4,2 ; @SIGSEGV .comm _SIG_DFL,4,2 ; @SIG_DFL .comm _SSH_ERR_INTERNAL_ERROR,4,2 ; @SSH_ERR_INTERNAL_ERROR .no_dead_strip _sshbuf_check_sanity .subsections_via_symbols
AnghaBench/freebsd/crypto/openssh/extr_sshbuf.c_sshbuf_check_sanity.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function map_goto _map_goto: ## @map_goto .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d movq _goto_map@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %esi, %rcx movl (%rax,%rcx,4), %r15d movl 4(%rax,%rcx,4), %ebx xorl %edi, %edi cmpl %ebx, %r15d setle %dil callq _assert leal (%rbx,%r15), %eax sarl %eax movq _from_state@GOTPCREL(%rip), %r12 jmp LBB0_1 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 decl %eax movl %eax, %ebx LBB0_5: ## in Loop: Header=BB0_1 Depth=1 xorl %edi, %edi cmpl %ebx, %r15d setle %dil callq _assert leal (%rbx,%r15), %eax sarl %eax LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rcx movslq %eax, %rdx movl (%rcx,%rdx,4), %ecx cmpl %r14d, %ecx je LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl %r14d, %ecx jge LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 incl %eax movl %eax, %r15d jmp LBB0_5 LBB0_6: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _goto_map,8,3 ## @goto_map .comm _from_state,8,3 ## @from_state .no_dead_strip _map_goto .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function map_goto _map_goto: ; @map_goto .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x8, _goto_map@GOTPAGE Lloh1: ldr x8, [x8, _goto_map@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x8, x8, w1, sxtw #2 ldp w20, w21, [x8] cmp w20, w21 cset w0, le bl _assert add w8, w21, w20 asr w0, w8, #1 Lloh3: adrp x22, _from_state@GOTPAGE Lloh4: ldr x22, [x22, _from_state@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] ldr w8, [x8, w0, sxtw #2] cmp w8, w19 b.eq LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 sub w9, w0, #1 cmp w8, w19 csel w21, w21, w9, lt csinc w20, w20, w0, ge cmp w20, w21 cset w0, le bl _assert add w8, w21, w20 asr w0, w8, #1 b LBB0_1 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _goto_map,8,3 ; @goto_map .comm _from_state,8,3 ; @from_state .no_dead_strip _map_goto .subsections_via_symbols
AnghaBench/freebsd/contrib/byacc/extr_lalr.c_map_goto.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf movq _cp_map@GOTPCREL(%rip), %rax movq (%rax), %rbx cmpq $0, 24(%rbx) je LBB0_13 ## %bb.1: leaq L_.str.2(%rip), %r14 leaq -56(%rbp), %r13 movq _WC_ERR_INVALID_CHARS@GOTPCREL(%rip), %r15 movq _MB_ERR_INVALID_CHARS@GOTPCREL(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi xorl %eax, %eax callq _printf LBB0_12: ## in Loop: Header=BB0_2 Depth=1 cmpq $0, 56(%rbx) leaq 32(%rbx), %rbx je LBB0_13 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %edi callq _IsValidCodePage movl (%rbx), %esi testl %eax, %eax je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl %esi, %edi xorl %esi, %esi movq %r13, %rdx callq _GetCPInfoEx testq %rax, %rax je LBB0_12 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl (%rbx), %eax cmpl $65001, %eax ## imm = 0xFDE9 je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 xorl %edx, %edx movl $0, %ecx cmpl $54936, %eax ## imm = 0xD698 jne LBB0_8 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movl (%r15), %ecx movl (%r12), %edx LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rbx), %r11 cmpb $0, (%r11) movq 16(%rbx), %r9 movl -56(%rbp), %esi movl -52(%rbp), %r8d movq -48(%rbp), %r10 je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.4(%rip), %rdi xorl %eax, %eax pushq %r10 pushq %r11 jmp LBB0_11 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 subq $8, %rsp leaq L_.str.3(%rip), %rdi xorl %eax, %eax pushq %r10 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 callq _printf addq $16, %rsp jmp LBB0_12 LBB0_13: leaq L_str.6(%rip), %rdi callq _puts xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "static const struct php_win32_cp php_win32_cp_map[] = {" .comm _cp_map,8,3 ## @cp_map L_.str.2: ## @.str.2 .asciz "\t/* %u is invalid */\n" .comm _WC_ERR_INVALID_CHARS,4,2 ## @WC_ERR_INVALID_CHARS .comm _MB_ERR_INVALID_CHARS,4,2 ## @MB_ERR_INVALID_CHARS L_.str.3: ## @.str.3 .asciz "\t{ %u, %u, %u, %u, \"%s\", NULL, \"%s\" },\n" L_.str.4: ## @.str.4 .asciz "\t{ %u, %u, %u, %u, \"%s\", \"%s\", \"%s\" },\n" L_str: ## @str .asciz "/* Autogenerated file. Update cp_enc_map_gen.c and regen like \n cp_enc_map_gen.exe > cp_enc_map.c \n*/\n" L_str.6: ## @str.6 .asciz "};\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf Lloh4: adrp x8, _cp_map@GOTPAGE Lloh5: ldr x8, [x8, _cp_map@GOTPAGEOFF] Lloh6: ldr x22, [x8] ldr x8, [x22, #24] cbz x8, LBB0_13 ; %bb.1: Lloh7: adrp x19, l_.str.2@PAGE Lloh8: add x19, x19, l_.str.2@PAGEOFF mov w23, #65001 mov w24, #54936 Lloh9: adrp x25, _WC_ERR_INVALID_CHARS@GOTPAGE Lloh10: ldr x25, [x25, _WC_ERR_INVALID_CHARS@GOTPAGEOFF] Lloh11: adrp x26, _MB_ERR_INVALID_CHARS@GOTPAGE Lloh12: ldr x26, [x26, _MB_ERR_INVALID_CHARS@GOTPAGEOFF] Lloh13: adrp x20, l_.str.3@PAGE Lloh14: add x20, x20, l_.str.3@PAGEOFF Lloh15: adrp x21, l_.str.4@PAGE Lloh16: add x21, x21, l_.str.4@PAGEOFF b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 str x0, [sp] mov x0, x19 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 bl _printf LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x22, #56] add x22, x22, #32 cbz x8, LBB0_13 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w0, [x22] bl _IsValidCodePage mov x8, x0 ldr w0, [x22] cbz w8, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x2, sp, #64 ; kill: def $w0 killed $w0 killed $x0 mov w1, #0 bl _GetCPInfoEx cbz x0, LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x22] cmp w8, w23 ccmp w8, w24, #4, ne b.ne LBB0_9 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 ldr w9, [x25] ldr w8, [x26] b LBB0_10 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 mov w8, #0 mov w9, #0 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 ldp x13, x12, [x22, #8] ldrb w15, [x13] ldp w10, w11, [sp, #64] ldr x14, [sp, #72] cbz w15, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 stp x13, x14, [sp, #40] ; kill: def $w11 killed $w11 killed $x11 def $x11 ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x11, x12, [sp, #24] ; kill: def $w8 killed $w8 killed $x8 def $x8 ; kill: def $w10 killed $w10 killed $x10 def $x10 stp x8, x9, [sp, #8] str x10, [sp] mov x0, x21 b LBB0_3 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 stp x12, x14, [sp, #32] stp x9, x11, [sp, #16] stp x10, x8, [sp] mov x0, x20 b LBB0_3 LBB0_13: Lloh17: adrp x0, l_str.6@PAGE Lloh18: add x0, x0, l_str.6@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh17, Lloh18 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "static const struct php_win32_cp php_win32_cp_map[] = {" .comm _cp_map,8,3 ; @cp_map l_.str.2: ; @.str.2 .asciz "\t/* %u is invalid */\n" .comm _WC_ERR_INVALID_CHARS,4,2 ; @WC_ERR_INVALID_CHARS .comm _MB_ERR_INVALID_CHARS,4,2 ; @MB_ERR_INVALID_CHARS l_.str.3: ; @.str.3 .asciz "\t{ %u, %u, %u, %u, \"%s\", NULL, \"%s\" },\n" l_.str.4: ; @.str.4 .asciz "\t{ %u, %u, %u, %u, \"%s\", \"%s\", \"%s\" },\n" l_str: ; @str .asciz "/* Autogenerated file. Update cp_enc_map_gen.c and regen like \n cp_enc_map_gen.exe > cp_enc_map.c \n*/\n" l_str.6: ; @str.6 .asciz "};\n" .subsections_via_symbols
AnghaBench/php-src/win32/extr_cp_enc_map_gen.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function is_same_device _is_same_device: ## @is_same_device .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), %rcx xorl %eax, %eax cmpq (%rsi), %rcx jne LBB0_3 ## %bb.1: movq 8(%rdi), %rcx cmpq 8(%rsi), %rcx jne LBB0_3 ## %bb.2: movq 16(%rdi), %rcx xorl %eax, %eax cmpq 16(%rsi), %rcx sete %al LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _is_same_device .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function is_same_device _is_same_device: ; @is_same_device .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x9, [x1] cmp x8, x9 b.ne LBB0_3 ; %bb.1: ldr x8, [x0, #8] ldr x9, [x1, #8] cmp x8, x9 b.ne LBB0_3 ; %bb.2: ldr x8, [x0, #16] ldr x9, [x1, #16] cmp x8, x9 cset w0, eq ret LBB0_3: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _is_same_device .subsections_via_symbols
AnghaBench/hashcat/src/extr_backend.c_is_same_device.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ppp_sync_wakeup _ppp_sync_wakeup: ## @ppp_sync_wakeup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _sp_get movq %rax, %r14 movq _TTY_DO_WRITE_WAKEUP@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi callq _clear_bit testq %r14, %r14 je LBB0_1 ## %bb.2: movq _XMIT_WAKEUP@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi addq $4, %rsi callq _set_bit movq %r14, %rdi callq _tasklet_schedule movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _sp_put ## TAILCALL LBB0_1: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TTY_DO_WRITE_WAKEUP,4,2 ## @TTY_DO_WRITE_WAKEUP .comm _XMIT_WAKEUP,4,2 ## @XMIT_WAKEUP .no_dead_strip _ppp_sync_wakeup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ppp_sync_wakeup _ppp_sync_wakeup: ; @ppp_sync_wakeup .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _sp_get mov x19, x0 Lloh0: adrp x8, _TTY_DO_WRITE_WAKEUP@GOTPAGE Lloh1: ldr x8, [x8, _TTY_DO_WRITE_WAKEUP@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x20 bl _clear_bit cbz x19, LBB0_2 ; %bb.1: Lloh3: adrp x8, _XMIT_WAKEUP@GOTPAGE Lloh4: ldr x8, [x8, _XMIT_WAKEUP@GOTPAGEOFF] Lloh5: ldr w0, [x8] add x1, x19, #4 bl _set_bit mov x0, x19 bl _tasklet_schedule mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sp_put LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _TTY_DO_WRITE_WAKEUP,4,2 ; @TTY_DO_WRITE_WAKEUP .comm _XMIT_WAKEUP,4,2 ; @XMIT_WAKEUP .no_dead_strip _ppp_sync_wakeup .subsections_via_symbols
AnghaBench/linux/drivers/net/ppp/extr_ppp_synctty.c_ppp_sync_wakeup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sdhci_deactivate_led _sdhci_deactivate_led: ## @sdhci_deactivate_led .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _SDHCI_HOST_CONTROL@GOTPCREL(%rip), %r14 movl (%r14), %esi callq _sdhci_readb movq _SDHCI_CTRL_LED@GOTPCREL(%rip), %rcx movl (%rcx), %esi notl %esi andl %eax, %esi movl (%r14), %edx movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _sdhci_writeb ## TAILCALL .cfi_endproc ## -- End function .comm _SDHCI_HOST_CONTROL,4,2 ## @SDHCI_HOST_CONTROL .comm _SDHCI_CTRL_LED,4,2 ## @SDHCI_CTRL_LED .no_dead_strip _sdhci_deactivate_led .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sdhci_deactivate_led _sdhci_deactivate_led: ; @sdhci_deactivate_led .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _SDHCI_HOST_CONTROL@GOTPAGE Lloh1: ldr x20, [x20, _SDHCI_HOST_CONTROL@GOTPAGEOFF] ldr w1, [x20] bl _sdhci_readb Lloh2: adrp x8, _SDHCI_CTRL_LED@GOTPAGE Lloh3: ldr x8, [x8, _SDHCI_CTRL_LED@GOTPAGEOFF] Lloh4: ldr w8, [x8] bic w1, w0, w8 ldr w2, [x20] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sdhci_writeb .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _SDHCI_HOST_CONTROL,4,2 ; @SDHCI_HOST_CONTROL .comm _SDHCI_CTRL_LED,4,2 ; @SDHCI_CTRL_LED .no_dead_strip _sdhci_deactivate_led .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_sdhci.c_sdhci_deactivate_led.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function start_timing _start_timing: ## @start_timing .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _start@GOTPCREL(%rip), %rdi popq %rbp jmp _do_gettimeofday ## TAILCALL .cfi_endproc ## -- End function .comm _start,4,2 ## @start .no_dead_strip _start_timing .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function start_timing _start_timing: ; @start_timing .cfi_startproc ; %bb.0: Lloh0: adrp x0, _start@GOTPAGE Lloh1: ldr x0, [x0, _start@GOTPAGEOFF] b _do_gettimeofday .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _start,4,2 ; @start .no_dead_strip _start_timing .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/mtd/tests/extr_mtd_torturetest.c_start_timing.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _NUMTHREADS@GOTPCREL(%rip), %r15 movl (%r15), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx leaq -52(%rbp), %r14 movq %r14, %rdi callq _pthread_attr_init xorl %edi, %edi testq %rax, %rax sete %dil callq _assert movq _PTHREAD_CREATE_DETACHED@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _pthread_attr_setdetachstate xorl %edi, %edi testq %rax, %rax sete %dil callq _assert movl (%r15), %r13d cmpl $-1, %r13d jl LBB0_8 ## %bb.1: movq _seqmap@GOTPCREL(%rip), %rax movq (%rax), %rax movq $-1, %rcx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl $0, 4(%rax,%rcx,4) movslq (%r15), %r13 incq %rcx cmpq %r13, %rcx jle LBB0_2 ## %bb.3: testl %r13d, %r13d jle LBB0_8 ## %bb.4: leaq -52(%rbp), %r14 xorl %r12d, %r12d jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq _func@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movq %r14, %rsi xorl %ecx, %ecx callq _pthread_create xorl %edi, %edi testq %rax, %rax sete %dil callq _assert incq %r12 movslq (%r15), %r13 addq $4, %rbx cmpq %r13, %r12 jge LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl %r13d, %eax shrl $31, %eax addl %r13d, %eax sarl %eax cmpq %rax, %r12 jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq _seqmap@GOTPCREL(%rip), %rax movq (%rax), %r13 xorl %eax, %eax callq _pthread_self movl %eax, %edi callq _pthread_getunique_np cltq movl $1, (%r13,%rax,4) jmp LBB0_7 LBB0_8: movl _done@GOTPCREL(%rip), %edi xorl %esi, %esi callq _InterlockedExchangeAdd cmpl %eax, %r13d jle LBB0_11 ## %bb.9: movl _done@GOTPCREL(%rip), %r14d .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl $100, %edi callq _Sleep movl (%r15), %ebx movl %r14d, %edi xorl %esi, %esi callq _InterlockedExchangeAdd cmpl %eax, %ebx jg LBB0_10 LBB0_11: movl $100, %edi callq _Sleep movq _seqmap@GOTPCREL(%rip), %r14 movq (%r14), %rax xorl %edi, %edi cmpl $0, (%rax) sete %dil callq _assert cmpl $0, (%r15) js LBB0_14 ## %bb.12: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rax xorl %edi, %edi cmpl $1, 4(%rax,%rbx,4) sete %dil callq _assert movslq (%r15), %rax incq %rbx cmpq %rax, %rbx jle LBB0_13 LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_16 ## %bb.15: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _NUMTHREADS,4,2 ## @NUMTHREADS .comm _PTHREAD_CREATE_DETACHED,4,2 ## @PTHREAD_CREATE_DETACHED .comm _seqmap,8,3 ## @seqmap .comm _func,4,2 ## @func .comm _done,4,2 ## @done .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x20, _NUMTHREADS@GOTPAGE Lloh4: ldr x20, [x20, _NUMTHREADS@GOTPAGEOFF] ldr w8, [x20] lsl x8, x8, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x19, x9, x8 mov sp, x19 sub x0, x29, #76 bl _pthread_attr_init cmp x0, #0 cset w0, eq bl _assert Lloh7: adrp x8, _PTHREAD_CREATE_DETACHED@GOTPAGE Lloh8: ldr x8, [x8, _PTHREAD_CREATE_DETACHED@GOTPAGEOFF] Lloh9: ldr w1, [x8] sub x0, x29, #76 bl _pthread_attr_setdetachstate cmp x0, #0 cset w0, eq bl _assert ldr w25, [x20] Lloh10: adrp x21, _seqmap@GOTPAGE Lloh11: ldr x21, [x21, _seqmap@GOTPAGEOFF] cmn w25, #1 b.lt LBB0_9 ; %bb.1: mov x8, #0 ldr x9, [x21] LBB0_2: ; =>This Inner Loop Header: Depth=1 str wzr, [x9, x8, lsl #2] add x10, x8, #1 ldrsw x25, [x20] cmp x8, x25 mov x8, x10 b.le LBB0_2 ; %bb.3: cmp w25, #1 b.lt LBB0_8 ; %bb.4: mov x22, #0 mov w23, #1 Lloh12: adrp x24, _func@GOTPAGE Lloh13: ldr x24, [x24, _func@GOTPAGEOFF] ; kill: def $w25 killed $w25 killed $x25 def $x25 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr w2, [x24] sub x1, x29, #76 mov x0, x19 mov x3, #0 bl _pthread_create cmp x0, #0 cset w0, eq bl _assert add x22, x22, #1 ldrsw x25, [x20] add x19, x19, #4 cmp x22, x25 b.ge LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 cmp w25, #0 cinc w8, w25, lt asr w8, w8, #1 cmp x22, x8 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x25, [x21] bl _pthread_self bl _pthread_getunique_np sbfiz x8, x0, #2, #32 str w23, [x25, x8] b LBB0_5 LBB0_8: ; kill: def $w25 killed $w25 killed $x25 def $x25 LBB0_9: Lloh14: adrp x0, _done@GOTPAGE Lloh15: ldr x0, [x0, _done@GOTPAGEOFF] ; kill: def $w0 killed $w0 killed $x0 mov x1, #0 bl _InterlockedExchangeAdd cmp w25, w0 b.le LBB0_12 ; %bb.10: Lloh16: adrp x19, _done@GOTPAGE Lloh17: ldr x19, [x19, _done@GOTPAGEOFF] LBB0_11: ; =>This Inner Loop Header: Depth=1 mov w0, #100 bl _Sleep ldr w22, [x20] mov x0, x19 mov x1, #0 bl _InterlockedExchangeAdd cmp w22, w0 b.gt LBB0_11 LBB0_12: mov w0, #100 bl _Sleep ldr x8, [x21] ldr w8, [x8] cmp w8, #0 cset w0, eq bl _assert ldr w8, [x20] tbnz w8, #31, LBB0_15 ; %bb.13: mov x19, #0 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] add x8, x8, x19, lsl #2 ldr w8, [x8, #4] cmp w8, #1 cset w0, eq bl _assert ldrsw x8, [x20] add x19, x19, #1 cmp x19, x8 b.le LBB0_14 LBB0_15: ldur x8, [x29, #-72] Lloh18: adrp x9, ___stack_chk_guard@GOTPAGE Lloh19: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh20: ldr x9, [x9] cmp x9, x8 b.ne LBB0_17 ; %bb.16: mov w0, #0 sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_17: bl ___stack_chk_fail .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _NUMTHREADS,4,2 ; @NUMTHREADS .comm _PTHREAD_CREATE_DETACHED,4,2 ; @PTHREAD_CREATE_DETACHED .comm _seqmap,8,3 ; @seqmap .comm _func,4,2 ; @func .comm _done,4,2 ; @done .subsections_via_symbols
AnghaBench/obs-studio/deps/w32-pthreads/tests/extr_sequence1.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function file_iter_end _file_iter_end: ## @file_iter_end .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdx), %esi movq %rcx, %rdx popq %rbp jmp _hx509_certs_end_seq ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _file_iter_end .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function file_iter_end _file_iter_end: ; @file_iter_end .cfi_startproc ; %bb.0: ldr w1, [x2] mov x2, x3 b _hx509_certs_end_seq .cfi_endproc ; -- End function .no_dead_strip _file_iter_end .subsections_via_symbols
AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_ks_file.c_file_iter_end.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _QueryDriverInfo ## -- Begin function QueryDriverInfo .p2align 4, 0x90 _QueryDriverInfo: ## @QueryDriverInfo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d movq %rsp, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %eax addl %eax, %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movq _hDriverWnd@GOTPCREL(%rip), %r12 movl %r14d, (%r12) movq _SC_MANAGER_CONNECT@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %edi, %edi xorl %esi, %esi callq _OpenSCManager testq %rax, %rax je LBB0_13 ## %bb.1: movq %rax, %r13 movq %r15, -72(%rbp) ## 8-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill movq _SERVICE_QUERY_CONFIG@GOTPCREL(%rip), %rax movq _SERVICE_QUERY_STATUS@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx leaq l_.str(%rip), %rsi movq %r13, %rdi callq _OpenService testq %rax, %rax je LBB0_12 ## %bb.2: movq %rax, %r15 leaq -52(%rbp), %rcx movq %rax, %rdi xorl %esi, %esi xorl %edx, %edx callq _QueryServiceConfig testq %rax, %rax jne LBB0_7 ## %bb.3: xorl %eax, %eax callq _GetLastError movq _ERROR_INSUFFICIENT_BUFFER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 ## %bb.4: xorl %eax, %eax callq _GetProcessHeap movl -52(%rbp), %edx movl %eax, %edi xorl %esi, %esi callq _HeapAlloc movq %rax, %rbx movl -52(%rbp), %edx leaq -52(%rbp), %rcx movq %r15, %rdi movq %rax, %rsi callq _QueryServiceConfig testq %rax, %rax je LBB0_6 ## %bb.5: movl (%rbx), %ecx movl 4(%rbx), %edx leaq l_.str.1(%rip), %rsi movq -64(%rbp), %rdi ## 8-byte Reload callq _wsprintf movl (%r12), %edi movq _IDC_DRIVERINFO@GOTPCREL(%rip), %rax movl (%rax), %esi callq _GetDlgItem movq _WM_SETTEXT@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %eax, %edi xorl %edx, %edx movq -64(%rbp), %rcx ## 8-byte Reload ## kill: def $ecx killed $ecx killed $rcx callq _SendMessage LBB0_6: xorl %eax, %eax callq _GetProcessHeap movl %eax, %edi xorl %esi, %esi movq %rbx, %rdx callq _HeapFree LBB0_7: leaq -80(%rbp), %rsi movq %r15, %rdi callq _QueryServiceStatus testq %rax, %rax je LBB0_11 ## %bb.8: movq -80(%rbp), %rax movq _SERVICE_RUNNING@GOTPCREL(%rip), %rcx movq _SERVICE_START_PENDING@GOTPCREL(%rip), %rdi movq _TRUE@GOTPCREL(%rip), %rdx movq %rdx, %rsi cmpq (%rdi), %rax je LBB0_10 ## %bb.9: movq _FALSE@GOTPCREL(%rip), %rsi LBB0_10: cmpq (%rcx), %rax cmoveq %rdx, %rsi movl (%rsi), %edi callq _SetServiceState LBB0_11: movq %r15, %rdi callq _CloseServiceHandle LBB0_12: movq %r13, %rdi callq _CloseServiceHandle movq -72(%rbp), %r15 ## 8-byte Reload LBB0_13: movl (%r12), %edi movq _IDC_DRIVERINSTALL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _GetDlgItem movq _FALSE@GOTPCREL(%rip), %rbx movl (%rbx), %esi movl %eax, %edi callq _EnableWindow movl (%r12), %edi movq _IDC_DRIVERREMOVE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _GetDlgItem movl (%rbx), %esi movl %eax, %edi callq _EnableWindow movq _SW_SHOW@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r14d, %edi callq _ShowWindow movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movq %r15, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_15 ## %bb.14: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_PATH,4,2 ## @MAX_PATH .comm _hDriverWnd,4,2 ## @hDriverWnd .comm _SC_MANAGER_CONNECT,4,2 ## @SC_MANAGER_CONNECT .section __TEXT,__const .p2align 2 ## @.str l_.str: .long 86 ## 0x56 .long 99 ## 0x63 .long 100 ## 0x64 .long 114 ## 0x72 .long 111 ## 0x6f .long 109 ## 0x6d .long 0 ## 0x0 .comm _SERVICE_QUERY_CONFIG,4,2 ## @SERVICE_QUERY_CONFIG .comm _SERVICE_QUERY_STATUS,4,2 ## @SERVICE_QUERY_STATUS .comm _ERROR_INSUFFICIENT_BUFFER,8,3 ## @ERROR_INSUFFICIENT_BUFFER .p2align 2 ## @.str.1 l_.str.1: .long 37 ## 0x25 .long 115 ## 0x73 .long 58 ## 0x3a .long 10 ## 0xa .long 40 ## 0x28 .long 37 ## 0x25 .long 115 ## 0x73 .long 41 ## 0x29 .long 0 ## 0x0 .comm _IDC_DRIVERINFO,4,2 ## @IDC_DRIVERINFO .comm _WM_SETTEXT,4,2 ## @WM_SETTEXT .comm _SERVICE_RUNNING,8,3 ## @SERVICE_RUNNING .comm _SERVICE_START_PENDING,8,3 ## @SERVICE_START_PENDING .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .comm _IDC_DRIVERINSTALL,4,2 ## @IDC_DRIVERINSTALL .comm _IDC_DRIVERREMOVE,4,2 ## @IDC_DRIVERREMOVE .comm _SW_SHOW,4,2 ## @SW_SHOW .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _QueryDriverInfo ; -- Begin function QueryDriverInfo .p2align 2 _QueryDriverInfo: ; @QueryDriverInfo .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #32 mov x19, x0 mov x24, sp Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x8, _MAX_PATH@GOTPAGE Lloh4: ldr x8, [x8, _MAX_PATH@GOTPAGEOFF] Lloh5: ldr w8, [x8] lsl w8, w8, #1 lsl x8, x8, #2 mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x22, x9, x8 mov sp, x22 Lloh8: adrp x26, _hDriverWnd@GOTPAGE Lloh9: ldr x26, [x26, _hDriverWnd@GOTPAGEOFF] str w0, [x26] Lloh10: adrp x8, _SC_MANAGER_CONNECT@GOTPAGE Lloh11: ldr x8, [x8, _SC_MANAGER_CONNECT@GOTPAGEOFF] Lloh12: ldr w2, [x8] mov x0, #0 mov x1, #0 bl _OpenSCManager Lloh13: adrp x27, _FALSE@GOTPAGE Lloh14: ldr x27, [x27, _FALSE@GOTPAGEOFF] Lloh15: adrp x25, _TRUE@GOTPAGE Lloh16: ldr x25, [x25, _TRUE@GOTPAGEOFF] cbz x0, LBB0_11 ; %bb.1: mov x20, x0 Lloh17: adrp x8, _SERVICE_QUERY_CONFIG@GOTPAGE Lloh18: ldr x8, [x8, _SERVICE_QUERY_CONFIG@GOTPAGEOFF] Lloh19: ldr w8, [x8] Lloh20: adrp x9, _SERVICE_QUERY_STATUS@GOTPAGE Lloh21: ldr x9, [x9, _SERVICE_QUERY_STATUS@GOTPAGEOFF] Lloh22: ldr w9, [x9] orr w2, w9, w8 Lloh23: adrp x1, l_.str@PAGE Lloh24: add x1, x1, l_.str@PAGEOFF bl _OpenService cbz x0, LBB0_10 ; %bb.2: mov x21, x0 sub x3, x29, #92 mov x1, #0 mov w2, #0 bl _QueryServiceConfig cbnz x0, LBB0_7 ; %bb.3: bl _GetLastError Lloh25: adrp x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGE Lloh26: ldr x8, [x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGEOFF] Lloh27: ldr x8, [x8] cmp x0, x8 b.ne LBB0_7 ; %bb.4: bl _GetProcessHeap ldur w2, [x29, #-92] mov w1, #0 bl _HeapAlloc mov x23, x0 ldur w2, [x29, #-92] sub x3, x29, #92 mov x0, x21 mov x1, x23 bl _QueryServiceConfig cbz x0, LBB0_6 ; %bb.5: ldp w3, w2, [x23] Lloh28: adrp x1, l_.str.1@PAGE Lloh29: add x1, x1, l_.str.1@PAGEOFF mov x0, x22 bl _wsprintf ldr w0, [x26] Lloh30: adrp x8, _IDC_DRIVERINFO@GOTPAGE Lloh31: ldr x8, [x8, _IDC_DRIVERINFO@GOTPAGEOFF] Lloh32: ldr w1, [x8] bl _GetDlgItem Lloh33: adrp x8, _WM_SETTEXT@GOTPAGE Lloh34: ldr x8, [x8, _WM_SETTEXT@GOTPAGEOFF] Lloh35: ldr w1, [x8] mov w2, #0 mov x3, x22 bl _SendMessage LBB0_6: bl _GetProcessHeap mov w1, #0 mov x2, x23 bl _HeapFree LBB0_7: sub x1, x29, #104 mov x0, x21 bl _QueryServiceStatus cbz x0, LBB0_9 ; %bb.8: ldur x8, [x29, #-104] Lloh36: adrp x9, _SERVICE_RUNNING@GOTPAGE Lloh37: ldr x9, [x9, _SERVICE_RUNNING@GOTPAGEOFF] Lloh38: adrp x10, _SERVICE_START_PENDING@GOTPAGE Lloh39: ldr x10, [x10, _SERVICE_START_PENDING@GOTPAGEOFF] Lloh40: ldr x9, [x9] Lloh41: ldr x10, [x10] cmp x8, x10 ccmp x8, x9, #4, ne csel x8, x25, x27, eq ldr w0, [x8] bl _SetServiceState LBB0_9: mov x0, x21 bl _CloseServiceHandle LBB0_10: mov x0, x20 bl _CloseServiceHandle LBB0_11: ldr w0, [x26] Lloh42: adrp x8, _IDC_DRIVERINSTALL@GOTPAGE Lloh43: ldr x8, [x8, _IDC_DRIVERINSTALL@GOTPAGEOFF] Lloh44: ldr w1, [x8] bl _GetDlgItem ldr w1, [x27] bl _EnableWindow ldr w0, [x26] Lloh45: adrp x8, _IDC_DRIVERREMOVE@GOTPAGE Lloh46: ldr x8, [x8, _IDC_DRIVERREMOVE@GOTPAGEOFF] Lloh47: ldr w1, [x8] bl _GetDlgItem ldr w1, [x27] bl _EnableWindow Lloh48: adrp x8, _SW_SHOW@GOTPAGE Lloh49: ldr x8, [x8, _SW_SHOW@GOTPAGEOFF] Lloh50: ldr w1, [x8] mov x0, x19 bl _ShowWindow ldr w0, [x25] mov sp, x24 ldur x8, [x29, #-88] Lloh51: adrp x9, ___stack_chk_guard@GOTPAGE Lloh52: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh53: ldr x9, [x9] cmp x9, x8 b.ne LBB0_13 ; %bb.12: sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_13: bl ___stack_chk_fail .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh40 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .cfi_endproc ; -- End function .comm _MAX_PATH,4,2 ; @MAX_PATH .comm _hDriverWnd,4,2 ; @hDriverWnd .comm _SC_MANAGER_CONNECT,4,2 ; @SC_MANAGER_CONNECT .section __TEXT,__const .p2align 2 ; @.str l_.str: .long 86 ; 0x56 .long 99 ; 0x63 .long 100 ; 0x64 .long 114 ; 0x72 .long 111 ; 0x6f .long 109 ; 0x6d .long 0 ; 0x0 .comm _SERVICE_QUERY_CONFIG,4,2 ; @SERVICE_QUERY_CONFIG .comm _SERVICE_QUERY_STATUS,4,2 ; @SERVICE_QUERY_STATUS .comm _ERROR_INSUFFICIENT_BUFFER,8,3 ; @ERROR_INSUFFICIENT_BUFFER .p2align 2 ; @.str.1 l_.str.1: .long 37 ; 0x25 .long 115 ; 0x73 .long 58 ; 0x3a .long 10 ; 0xa .long 40 ; 0x28 .long 37 ; 0x25 .long 115 ; 0x73 .long 41 ; 0x29 .long 0 ; 0x0 .comm _IDC_DRIVERINFO,4,2 ; @IDC_DRIVERINFO .comm _WM_SETTEXT,4,2 ; @WM_SETTEXT .comm _SERVICE_RUNNING,8,3 ; @SERVICE_RUNNING .comm _SERVICE_START_PENDING,8,3 ; @SERVICE_START_PENDING .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .comm _IDC_DRIVERINSTALL,4,2 ; @IDC_DRIVERINSTALL .comm _IDC_DRIVERREMOVE,4,2 ; @IDC_DRIVERREMOVE .comm _SW_SHOW,4,2 ; @SW_SHOW .subsections_via_symbols
AnghaBench/reactos/modules/rosapps/applications/vcdcontroltool/extr_vcdcontroltool.c_QueryDriverInfo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function diff_dir_added LCPI0_0: .space 16 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _diff_dir_added: ## @diff_dir_added .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movq 24(%rbp), %r14 movq 16(%rbp), %rax movq (%rax), %r13 cmpb $0, (%rdi) je LBB0_1 ## %bb.2: movq %rdi, %r12 movq %rdx, -64(%rbp) ## 8-byte Spill movq %rbx, -56(%rbp) ## 8-byte Spill movq (%r13), %rdi movq %r12, %rsi movq %r14, %rdx callq _svn_dirent_join movq %rax, %rbx movq 8(%r13), %rax movl 8(%rax), %esi movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -96(%rbp), %rdi movq %rbx, %rdx movl %ecx, %r8d movq %r14, %r9 callq _svn_wc_read_kind2 movl %eax, %edi callq _SVN_ERR leaq -88(%rbp), %rsi movq %rbx, -80(%rbp) ## 8-byte Spill movq %rbx, %rdi movq %r14, %rdx callq _svn_io_check_path movl %eax, %edi callq _SVN_ERR movq -96(%rbp), %r15 movq _svn_node_dir@GOTPCREL(%rip), %rax movq (%rax), %rbx movq -88(%rbp), %rax cmpq %rbx, %r15 jne LBB0_7 ## %bb.3: cmpq %rbx, %rax jne LBB0_7 ## %bb.4: movq (%r13), %rdi movq %r12, %rsi movq 24(%rbp), %r14 movq %r14, %rdx callq _svn_dirent_join movl 28(%r13), %esi movl 16(%r13), %ecx movl 32(%r13), %r8d movl 24(%r13), %r9d movl 20(%r13), %ebx subq $8, %rsp movq %rax, %rdi movq -56(%rbp), %rdx ## 8-byte Reload pushq %r14 pushq 8(%r13) pushq %rbx jmp LBB0_5 LBB0_1: movq (%r13), %rsi movq 8(%r13), %rax movl 8(%rax), %edi movq %r14, %rdx callq _svn_wc__del_tree_conflict movl %eax, %edi callq _SVN_ERR movl 28(%r13), %esi movl 16(%r13), %ecx movl 32(%r13), %r8d movl 24(%r13), %r9d movl 20(%r13), %eax movq (%r13), %rdi subq $8, %rsp movq %rbx, %rdx pushq %r14 pushq 8(%r13) pushq %rax LBB0_5: callq _merge_added_dir_props addq $32, %rsp jmp LBB0_6 LBB0_7: movq _svn_node_none@GOTPCREL(%rip), %rcx movq (%rcx), %r14 cmpq %r14, %r15 je LBB0_10 ## %bb.8: movq _svn_node_unknown@GOTPCREL(%rip), %rcx cmpq (%rcx), %r15 jne LBB0_9 LBB0_10: cmpq %r14, %rax jne LBB0_9 ## %bb.11: movq _APR_OS_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %esi movq -80(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movq 24(%rbp), %r12 movq %r12, %rdx callq _svn_io_dir_make movl %eax, %edi callq _SVN_ERR movl 16(%r13), %esi movq -64(%rbp), %rbx ## 8-byte Reload movl 4(%rbx), %ecx movq _SVN_VA_NULL@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str(%rip), %rdx movq %r12, %rdi callq _apr_pstrcat movq 8(%r13), %rcx movl 8(%rcx), %edi movq _svn_depth_infinity@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl (%rbx), %r8d movl (%rcx), %ebx movl 4(%rcx), %r10d movq %r15, %rsi movq %rax, %rcx xorl %r9d, %r9d pushq %r12 pushq %rbx pushq %r10 pushq $0 callq _svn_wc_add4 addq $32, %rsp movl %eax, %edi callq _SVN_ERR movq %r12, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _apr_hash_first testq %rax, %rax je LBB0_14 ## %bb.12: movq %rax, %rbx movq _svn_depth_empty@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _apr_hash_this_key movq %rax, %r14 movq %rbx, %rdi callq _apr_hash_this_val movq 8(%r13), %rcx movl 8(%rcx), %edi movl (%r12), %r8d movq _FALSE@GOTPCREL(%rip), %rdx movl (%rdx), %r9d movl (%rcx), %edx movl 4(%rcx), %ecx subq $48, %rsp movq 24(%rbp), %rsi movq %rsi, 40(%rsp) movl %edx, 32(%rsp) movl %ecx, 24(%rsp) xorps %xmm0, %xmm0 movups %xmm0, (%rsp) movq $0, 16(%rsp) movq %r15, %rsi movq %r14, %rdx movq %rax, %rcx callq _svn_wc_prop_set4 addq $48, %rsp movl %eax, %edi callq _SVN_ERR movq %rbx, %rdi callq _apr_hash_next movq %rax, %rbx testq %rax, %rax jne LBB0_13 jmp LBB0_14 LBB0_9: movq _svn_wc_conflict_action_add@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _svn_wc_conflict_reason_obstructed@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movl 32(%r13), %eax movq %rax, -64(%rbp) ## 8-byte Spill movl 16(%r13), %eax movq %rax, -56(%rbp) ## 8-byte Spill movl 28(%r13), %edi movq %r12, %rsi movq 24(%rbp), %rdx callq _svn_relpath_join ## kill: def $eax killed $eax def $rax movq %rax, -72(%rbp) ## 8-byte Spill movl 24(%r13), %r12d movl 20(%r13), %r11d movq 8(%r13), %rcx movl 8(%rcx), %r13d movl (%rcx), %eax movl 4(%rcx), %r10d subq $8, %rsp movq -80(%rbp), %rdi ## 8-byte Reload movl -48(%rbp), %esi ## 4-byte Reload movl -44(%rbp), %edx ## 4-byte Reload movq %r15, %rcx movq %r14, %r8 movq %rbx, %r9 pushq 24(%rbp) pushq %rax pushq %r10 pushq %r13 pushq %r11 pushq %r12 pushq -72(%rbp) ## 8-byte Folded Reload pushq -64(%rbp) ## 8-byte Folded Reload pushq -56(%rbp) ## 8-byte Folded Reload callq _raise_tree_conflict addq $80, %rsp LBB0_6: movl %eax, %edi callq _SVN_ERR LBB0_14: movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .comm _FALSE,4,2 ## @FALSE .comm _svn_node_dir,8,3 ## @svn_node_dir .comm _svn_node_none,8,3 ## @svn_node_none .comm _svn_node_unknown,8,3 ## @svn_node_unknown .comm _svn_wc_conflict_action_add,4,2 ## @svn_wc_conflict_action_add .comm _svn_wc_conflict_reason_obstructed,4,2 ## @svn_wc_conflict_reason_obstructed .comm _APR_OS_DEFAULT,4,2 ## @APR_OS_DEFAULT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/" .comm _SVN_VA_NULL,4,2 ## @SVN_VA_NULL .comm _svn_depth_infinity,4,2 ## @svn_depth_infinity .comm _svn_depth_empty,4,2 ## @svn_depth_empty .no_dead_strip _diff_dir_added .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function diff_dir_added _diff_dir_added: ; @diff_dir_added .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x7 mov x21, x4 ldr x27, [x6] ldrb w8, [x0] cbz w8, LBB0_7 ; %bb.1: mov x22, x2 mov x23, x0 ldr x0, [x27] mov x1, x23 mov x2, x19 bl _svn_dirent_join mov x20, x0 ldr x8, [x27, #8] ldr w1, [x8, #8] Lloh0: adrp x28, _FALSE@GOTPAGE Lloh1: ldr x28, [x28, _FALSE@GOTPAGEOFF] ldr w3, [x28] add x0, sp, #56 mov x2, x20 mov x4, x3 mov x5, x19 bl _svn_wc_read_kind2 bl _SVN_ERR add x1, sp, #48 mov x0, x20 mov x2, x19 bl _svn_io_check_path bl _SVN_ERR Lloh2: adrp x8, _svn_node_dir@GOTPAGE Lloh3: ldr x8, [x8, _svn_node_dir@GOTPAGEOFF] Lloh4: ldr x24, [x8] ldp x8, x25, [sp, #48] cmp x25, x24 ccmp x8, x24, #0, eq b.eq LBB0_8 ; %bb.2: Lloh5: adrp x9, _svn_node_none@GOTPAGE Lloh6: ldr x9, [x9, _svn_node_none@GOTPAGEOFF] Lloh7: ldr x26, [x9] Lloh8: adrp x9, _svn_node_unknown@GOTPAGE Lloh9: ldr x9, [x9, _svn_node_unknown@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x25, x26 ccmp x25, x9, #4, ne b.ne LBB0_10 ; %bb.3: cmp x8, x26 b.ne LBB0_10 ; %bb.4: Lloh11: adrp x8, _APR_OS_DEFAULT@GOTPAGE Lloh12: ldr x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x20 mov x2, x19 bl _svn_io_dir_make bl _SVN_ERR ldr w1, [x27, #16] ldr w3, [x22, #4] Lloh14: adrp x8, _SVN_VA_NULL@GOTPAGE Lloh15: ldr x8, [x8, _SVN_VA_NULL@GOTPAGEOFF] Lloh16: ldr w4, [x8] Lloh17: adrp x2, l_.str@PAGE Lloh18: add x2, x2, l_.str@PAGEOFF mov x0, x19 bl _apr_pstrcat mov x3, x0 ldr x8, [x27, #8] ldp w7, w0, [x8, #4] Lloh19: adrp x9, _svn_depth_infinity@GOTPAGE Lloh20: ldr x9, [x9, _svn_depth_infinity@GOTPAGEOFF] Lloh21: ldr w2, [x9] ldr w4, [x22] ldr w8, [x8] str x19, [sp, #8] str w8, [sp] mov x1, x20 mov x5, #0 mov x6, #0 bl _svn_wc_add4 bl _SVN_ERR mov x0, x19 mov x1, x21 bl _apr_hash_first cbz x0, LBB0_12 ; %bb.5: mov x21, x0 Lloh22: adrp x23, _svn_depth_empty@GOTPAGE Lloh23: ldr x23, [x23, _svn_depth_empty@GOTPAGEOFF] LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _apr_hash_this_key mov x22, x0 mov x0, x21 bl _apr_hash_this_val mov x3, x0 ldr x8, [x27, #8] ldp w9, w0, [x8, #4] ldr w4, [x23] ldr w5, [x28] ldr w8, [x8] str x19, [sp, #16] stp w9, w8, [sp, #8] str xzr, [sp] mov x1, x20 mov x2, x22 mov x6, #0 mov x7, #0 bl _svn_wc_prop_set4 bl _SVN_ERR mov x0, x21 bl _apr_hash_next mov x21, x0 cbnz x0, LBB0_6 b LBB0_12 LBB0_7: ldp x1, x8, [x27] ldr w0, [x8, #8] mov x2, x19 bl _svn_wc__del_tree_conflict bl _SVN_ERR ldp w1, w4, [x27, #28] ldp w6, w5, [x27, #20] ldr w3, [x27, #16] ldr x0, [x27] b LBB0_9 LBB0_8: ldr x0, [x27] mov x1, x23 mov x2, x19 bl _svn_dirent_join ldp w1, w4, [x27, #28] ldp w6, w5, [x27, #20] ldr w3, [x27, #16] LBB0_9: ldr x7, [x27, #8] str x19, [sp] mov x2, x21 bl _merge_added_dir_props b LBB0_11 LBB0_10: Lloh24: adrp x8, _svn_wc_conflict_action_add@GOTPAGE Lloh25: ldr x8, [x8, _svn_wc_conflict_action_add@GOTPAGEOFF] Lloh26: ldr w21, [x8] Lloh27: adrp x8, _svn_wc_conflict_reason_obstructed@GOTPAGE Lloh28: ldr x8, [x8, _svn_wc_conflict_reason_obstructed@GOTPAGEOFF] Lloh29: ldr w22, [x8] ldr w8, [x27, #16] str w8, [sp, #44] ; 4-byte Folded Spill ldp w0, w28, [x27, #28] mov x1, x23 mov x2, x19 bl _svn_relpath_join ldp w9, w8, [x27, #20] ldr x10, [x27, #8] ldp w12, w11, [x10, #4] ldr w10, [x10] str x19, [sp, #24] stp w12, w10, [sp, #16] stp w9, w11, [sp, #8] stp w0, w8, [sp] mov x0, x20 mov x1, x21 mov x2, x22 mov x3, x25 mov x4, x26 mov x5, x24 ldr w6, [sp, #44] ; 4-byte Folded Reload mov x7, x28 bl _raise_tree_conflict LBB0_11: bl _SVN_ERR LBB0_12: Lloh30: adrp x8, _SVN_NO_ERROR@GOTPAGE Lloh31: ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] Lloh32: ldr x0, [x8] ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .cfi_endproc ; -- End function .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .comm _FALSE,4,2 ; @FALSE .comm _svn_node_dir,8,3 ; @svn_node_dir .comm _svn_node_none,8,3 ; @svn_node_none .comm _svn_node_unknown,8,3 ; @svn_node_unknown .comm _svn_wc_conflict_action_add,4,2 ; @svn_wc_conflict_action_add .comm _svn_wc_conflict_reason_obstructed,4,2 ; @svn_wc_conflict_reason_obstructed .comm _APR_OS_DEFAULT,4,2 ; @APR_OS_DEFAULT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/" .comm _SVN_VA_NULL,4,2 ; @SVN_VA_NULL .comm _svn_depth_infinity,4,2 ; @svn_depth_infinity .comm _svn_depth_empty,4,2 ; @svn_depth_empty .no_dead_strip _diff_dir_added .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_conflicts.c_diff_dir_added.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xfs_rtbuf_get ## -- Begin function xfs_rtbuf_get .p2align 4, 0x90 _xfs_rtbuf_get: ## @xfs_rtbuf_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r14 movl %ecx, %r12d movq %rsi, %r15 movq %rdi, %rbx movl $1, -44(%rbp) xorl %eax, %eax testl %ecx, %ecx setne %al movq 8(%rdi,%rax,8), %rdi movq _XFS_DATA_FORK@GOTPCREL(%rip), %rax movl (%rax), %r9d leaq -56(%rbp), %rcx leaq -44(%rbp), %r8 movl %edx, %esi movl $1, %edx callq _xfs_bmapi_read testl %eax, %eax jne LBB0_9 ## %bb.1: cmpl $0, -44(%rbp) je LBB0_3 ## %bb.2: leaq -56(%rbp), %rdi callq _xfs_bmap_is_real_extent testl %eax, %eax je LBB0_3 ## %bb.4: movq -56(%rbp), %rax movq _NULLFSBLOCK@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax setne %dil callq _ASSERT movl 4(%rbx), %r13d movq -56(%rbp), %rsi movq %rbx, %rdi callq _XFS_FSB_TO_DADDR movl (%rbx), %r8d movq _xfs_rtbuf_ops@GOTPCREL(%rip), %r10 leaq -64(%rbp), %r11 movq %rbx, %rdi movq %r15, %rsi movl %r13d, %edx movl %eax, %ecx xorl %r9d, %r9d pushq %r10 pushq %r11 callq _xfs_trans_read_buf addq $16, %rsp testl %eax, %eax jne LBB0_9 ## %bb.5: movq -64(%rbp), %rsi testl %r12d, %r12d jne LBB0_6 ## %bb.7: movq _XFS_BLFT_RTBITMAP_BUF@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_3: movq _EFSCORRUPTED@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_9: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq _XFS_BLFT_RTSUMMARY_BUF@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %edx movq %r15, %rdi callq _xfs_trans_buf_set_type movq -64(%rbp), %rax movq %rax, (%r14) xorl %eax, %eax jmp LBB0_9 .cfi_endproc ## -- End function .comm _XFS_DATA_FORK,4,2 ## @XFS_DATA_FORK .comm _EFSCORRUPTED,4,2 ## @EFSCORRUPTED .comm _NULLFSBLOCK,8,3 ## @NULLFSBLOCK .comm _xfs_rtbuf_ops,4,2 ## @xfs_rtbuf_ops .comm _XFS_BLFT_RTSUMMARY_BUF,4,2 ## @XFS_BLFT_RTSUMMARY_BUF .comm _XFS_BLFT_RTBITMAP_BUF,4,2 ## @XFS_BLFT_RTBITMAP_BUF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xfs_rtbuf_get ; -- Begin function xfs_rtbuf_get .p2align 2 _xfs_rtbuf_get: ; @xfs_rtbuf_get .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x21, x3 mov x20, x1 mov x22, x0 mov w8, #1 str w8, [sp, #12] cmp w3, #0 mov w8, #16 mov w9, #8 csel x8, x9, x8, eq ldr x0, [x0, x8] Lloh0: adrp x8, _XFS_DATA_FORK@GOTPAGE Lloh1: ldr x8, [x8, _XFS_DATA_FORK@GOTPAGEOFF] Lloh2: ldr w5, [x8] add x3, sp, #16 add x4, sp, #12 mov x1, x2 mov w2, #1 bl _xfs_bmapi_read cbnz w0, LBB0_6 ; %bb.1: ldr w8, [sp, #12] cbz w8, LBB0_5 ; %bb.2: add x0, sp, #16 bl _xfs_bmap_is_real_extent cbz w0, LBB0_5 ; %bb.3: ldr x8, [sp, #16] Lloh3: adrp x9, _NULLFSBLOCK@GOTPAGE Lloh4: ldr x9, [x9, _NULLFSBLOCK@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 cset w0, ne bl _ASSERT ldr w23, [x22, #4] ldr x1, [sp, #16] mov x0, x22 bl _XFS_FSB_TO_DADDR mov x3, x0 ldr w4, [x22] Lloh6: adrp x7, _xfs_rtbuf_ops@GOTPAGE Lloh7: ldr x7, [x7, _xfs_rtbuf_ops@GOTPAGEOFF] add x6, sp, #24 mov x0, x22 mov x1, x20 mov x2, x23 mov w5, #0 bl _xfs_trans_read_buf cbnz w0, LBB0_6 ; %bb.4: Lloh8: adrp x8, _XFS_BLFT_RTSUMMARY_BUF@GOTPAGE Lloh9: ldr x8, [x8, _XFS_BLFT_RTSUMMARY_BUF@GOTPAGEOFF] ldr x1, [sp, #24] Lloh10: adrp x9, _XFS_BLFT_RTBITMAP_BUF@GOTPAGE Lloh11: ldr x9, [x9, _XFS_BLFT_RTBITMAP_BUF@GOTPAGEOFF] cmp w21, #0 csel x8, x9, x8, eq ldr w2, [x8] mov x0, x20 bl _xfs_trans_buf_set_type mov w0, #0 ldr x8, [sp, #24] str x8, [x19] b LBB0_6 LBB0_5: Lloh12: adrp x8, _EFSCORRUPTED@GOTPAGE Lloh13: ldr x8, [x8, _EFSCORRUPTED@GOTPAGEOFF] Lloh14: ldr w8, [x8] neg w0, w8 LBB0_6: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _XFS_DATA_FORK,4,2 ; @XFS_DATA_FORK .comm _EFSCORRUPTED,4,2 ; @EFSCORRUPTED .comm _NULLFSBLOCK,8,3 ; @NULLFSBLOCK .comm _xfs_rtbuf_ops,4,2 ; @xfs_rtbuf_ops .comm _XFS_BLFT_RTSUMMARY_BUF,4,2 ; @XFS_BLFT_RTSUMMARY_BUF .comm _XFS_BLFT_RTBITMAP_BUF,4,2 ; @XFS_BLFT_RTBITMAP_BUF .subsections_via_symbols
AnghaBench/linux/fs/xfs/libxfs/extr_xfs_rtbitmap.c_xfs_rtbuf_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r600_is_uvd_state ## -- Begin function r600_is_uvd_state .p2align 4, 0x90 _r600_is_uvd_state: ## @r600_is_uvd_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ATOM_PPLIB_CLASSIFICATION_UVDSTATE@GOTPCREL(%rip), %rcx movl $1, %eax testl %edi, (%rcx) je LBB0_1 LBB0_5: popq %rbp retq LBB0_1: movq _ATOM_PPLIB_CLASSIFICATION_HD2STATE@GOTPCREL(%rip), %rcx testl %edi, (%rcx) jne LBB0_5 ## %bb.2: movq _ATOM_PPLIB_CLASSIFICATION_HDSTATE@GOTPCREL(%rip), %rcx testl %edi, (%rcx) jne LBB0_5 ## %bb.3: movq _ATOM_PPLIB_CLASSIFICATION_SDSTATE@GOTPCREL(%rip), %rcx testl %edi, (%rcx) jne LBB0_5 ## %bb.4: movq _ATOM_PPLIB_CLASSIFICATION2_MVC@GOTPCREL(%rip), %rcx xorl %eax, %eax testl %esi, (%rcx) setne %al popq %rbp retq .cfi_endproc ## -- End function .comm _ATOM_PPLIB_CLASSIFICATION_UVDSTATE,4,2 ## @ATOM_PPLIB_CLASSIFICATION_UVDSTATE .comm _ATOM_PPLIB_CLASSIFICATION_HD2STATE,4,2 ## @ATOM_PPLIB_CLASSIFICATION_HD2STATE .comm _ATOM_PPLIB_CLASSIFICATION_HDSTATE,4,2 ## @ATOM_PPLIB_CLASSIFICATION_HDSTATE .comm _ATOM_PPLIB_CLASSIFICATION_SDSTATE,4,2 ## @ATOM_PPLIB_CLASSIFICATION_SDSTATE .comm _ATOM_PPLIB_CLASSIFICATION2_MVC,4,2 ## @ATOM_PPLIB_CLASSIFICATION2_MVC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _r600_is_uvd_state ; -- Begin function r600_is_uvd_state .p2align 2 _r600_is_uvd_state: ; @r600_is_uvd_state .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ATOM_PPLIB_CLASSIFICATION_UVDSTATE@GOTPAGE Lloh1: ldr x8, [x8, _ATOM_PPLIB_CLASSIFICATION_UVDSTATE@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w0 b.eq LBB0_2 ; %bb.1: mov w0, #1 ret LBB0_2: Lloh3: adrp x8, _ATOM_PPLIB_CLASSIFICATION_HD2STATE@GOTPAGE Lloh4: ldr x8, [x8, _ATOM_PPLIB_CLASSIFICATION_HD2STATE@GOTPAGEOFF] Lloh5: ldr w8, [x8] tst w8, w0 b.eq LBB0_4 ; %bb.3: mov w0, #1 ret LBB0_4: Lloh6: adrp x8, _ATOM_PPLIB_CLASSIFICATION_HDSTATE@GOTPAGE Lloh7: ldr x8, [x8, _ATOM_PPLIB_CLASSIFICATION_HDSTATE@GOTPAGEOFF] Lloh8: ldr w8, [x8] tst w8, w0 b.eq LBB0_6 ; %bb.5: mov w0, #1 ret LBB0_6: Lloh9: adrp x8, _ATOM_PPLIB_CLASSIFICATION_SDSTATE@GOTPAGE Lloh10: ldr x8, [x8, _ATOM_PPLIB_CLASSIFICATION_SDSTATE@GOTPAGEOFF] Lloh11: ldr w8, [x8] tst w8, w0 b.eq LBB0_8 ; %bb.7: mov w0, #1 ret LBB0_8: Lloh12: adrp x8, _ATOM_PPLIB_CLASSIFICATION2_MVC@GOTPAGE Lloh13: ldr x8, [x8, _ATOM_PPLIB_CLASSIFICATION2_MVC@GOTPAGEOFF] Lloh14: ldr w8, [x8] tst w8, w1 cset w0, ne ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _ATOM_PPLIB_CLASSIFICATION_UVDSTATE,4,2 ; @ATOM_PPLIB_CLASSIFICATION_UVDSTATE .comm _ATOM_PPLIB_CLASSIFICATION_HD2STATE,4,2 ; @ATOM_PPLIB_CLASSIFICATION_HD2STATE .comm _ATOM_PPLIB_CLASSIFICATION_HDSTATE,4,2 ; @ATOM_PPLIB_CLASSIFICATION_HDSTATE .comm _ATOM_PPLIB_CLASSIFICATION_SDSTATE,4,2 ; @ATOM_PPLIB_CLASSIFICATION_SDSTATE .comm _ATOM_PPLIB_CLASSIFICATION2_MVC,4,2 ; @ATOM_PPLIB_CLASSIFICATION2_MVC .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/radeon/extr_r600_dpm.c_r600_is_uvd_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ixv_if_rx_queues_alloc _ixv_if_rx_queues_alloc: ## @ixv_if_rx_queues_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %r14d movl %ecx, %ebx movq %rdx, %r13 movq %rsi, -64(%rbp) ## 8-byte Spill movl %edi, %r12d callq _iflib_get_softc movq %rax, %r15 xorl %edi, %edi cmpl %r14d, (%rax) sete %dil callq _MPASS xorl %edi, %edi movl %ebx, -48(%rbp) ## 4-byte Spill cmpl $1, %ebx movl %r14d, %ebx sete %dil callq _MPASS movl %r14d, %edi shll $6, %edi movq _M_DEVBUF@GOTPCREL(%rip), %rax movl (%rax), %esi movq _M_NOWAIT@GOTPCREL(%rip), %rax movq _M_ZERO@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx callq _malloc movq %rax, 8(%r15) testq %rax, %rax je LBB0_6 ## %bb.1: movl %r12d, -52(%rbp) ## 4-byte Spill testl %ebx, %ebx movq -64(%rbp), %r12 ## 8-byte Reload jle LBB0_4 ## %bb.2: movq %rax, %r14 movslq -48(%rbp), %rax ## 4-byte Folded Reload movl %ebx, %edx movq %rdx, -72(%rbp) ## 8-byte Spill shlq $2, %rax movq %rax, -48(%rbp) ## 8-byte Spill xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %ebx, 8(%r14) movq %r15, (%r14) movq %r15, 56(%r14) movl %ebx, %edi callq _IXGBE_VFRDT movl %eax, 48(%r14) movq (%r12,%rbx,8), %rax movq %rax, 40(%r14) movl (%r13), %eax movl %eax, 32(%r14) movq $0, 24(%r14) movq %r14, 16(%r14) incq %rbx addq $64, %r14 addq -48(%rbp), %r13 ## 8-byte Folded Reload cmpq %rbx, -72(%rbp) ## 8-byte Folded Reload jne LBB0_3 LBB0_4: movl -52(%rbp), %edi ## 4-byte Reload callq _iflib_get_dev movl (%r15), %edx leaq L_.str.1(%rip), %rsi xorl %ebx, %ebx movl %eax, %edi xorl %eax, %eax callq _device_printf jmp LBB0_5 LBB0_6: movl %r12d, %edi callq _iflib_get_dev leaq L_.str(%rip), %rsi movl %eax, %edi xorl %eax, %eax callq _device_printf movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %r12d, %edi callq _ixv_if_queues_free LBB0_5: movl %ebx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _M_DEVBUF,4,2 ## @M_DEVBUF .comm _M_NOWAIT,4,2 ## @M_NOWAIT .comm _M_ZERO,4,2 ## @M_ZERO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to allocate TX ring memory\n" .comm _ENOMEM,4,2 ## @ENOMEM L_.str.1: ## @.str.1 .asciz "allocated for %d rx queues\n" .no_dead_strip _ixv_if_rx_queues_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ixv_if_rx_queues_alloc _ixv_if_rx_queues_alloc: ; @ixv_if_rx_queues_alloc .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x25, x4 mov x24, x3 mov x20, x2 mov x22, x1 mov x19, x0 bl _iflib_get_softc mov x21, x0 ldr w8, [x0] cmp w8, w25 cset w0, eq bl _MPASS cmp w24, #1 cset w0, eq bl _MPASS lsl w0, w25, #6 Lloh0: adrp x8, _M_DEVBUF@GOTPAGE Lloh1: ldr x8, [x8, _M_DEVBUF@GOTPAGEOFF] Lloh2: adrp x9, _M_NOWAIT@GOTPAGE Lloh3: ldr x9, [x9, _M_NOWAIT@GOTPAGEOFF] Lloh4: ldr w1, [x8] Lloh5: ldr w8, [x9] Lloh6: adrp x9, _M_ZERO@GOTPAGE Lloh7: ldr x9, [x9, _M_ZERO@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w2, w9, w8 bl _malloc str x0, [x21, #8] cbz x0, LBB0_5 ; %bb.1: cmp w25, #1 b.lt LBB0_4 ; %bb.2: mov x23, x0 mov x27, #0 mov x26, #0 mov w8, w25 sbfiz x24, x24, #2, #32 lsl x25, x8, #6 LBB0_3: ; =>This Inner Loop Header: Depth=1 add x28, x23, x27 str w26, [x28, #8] str x21, [x28] str x21, [x28, #56] mov x0, x26 bl _IXGBE_VFRDT str w0, [x28, #48] ldr x8, [x22, x26, lsl #3] str x8, [x28, #40] ldr w8, [x20] str w8, [x28, #32] stp x28, xzr, [x28, #16] add x26, x26, #1 add x20, x20, x24 add x27, x27, #64 cmp x25, x27 b.ne LBB0_3 LBB0_4: mov x0, x19 bl _iflib_get_dev ldr w8, [x21] str x8, [sp] Lloh9: adrp x1, l_.str.1@PAGE Lloh10: add x1, x1, l_.str.1@PAGEOFF bl _device_printf mov w20, #0 b LBB0_6 LBB0_5: mov x0, x19 bl _iflib_get_dev Lloh11: adrp x1, l_.str@PAGE Lloh12: add x1, x1, l_.str@PAGEOFF bl _device_printf Lloh13: adrp x8, _ENOMEM@GOTPAGE Lloh14: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh15: ldr w20, [x8] mov x0, x19 bl _ixv_if_queues_free LBB0_6: mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _M_DEVBUF,4,2 ; @M_DEVBUF .comm _M_NOWAIT,4,2 ; @M_NOWAIT .comm _M_ZERO,4,2 ; @M_ZERO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to allocate TX ring memory\n" .comm _ENOMEM,4,2 ; @ENOMEM l_.str.1: ; @.str.1 .asciz "allocated for %d rx queues\n" .no_dead_strip _ixv_if_rx_queues_alloc .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ixgbe/extr_if_ixv.c_ixv_if_rx_queues_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function alc662_fixup_led_gpio1 _alc662_fixup_led_gpio1: ## @alc662_fixup_led_gpio1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rdi, %rbx movq 8(%rdi), %r15 movl %edx, %esi movl $1, %edx xorl %ecx, %ecx callq _alc_fixup_hp_gpio_led movq _HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax cmpl %r14d, (%rax) jne LBB0_2 ## %bb.1: movl $1, (%r15) movq _gpio_led_power_filter@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HDA_FIXUP_ACT_PRE_PROBE,4,2 ## @HDA_FIXUP_ACT_PRE_PROBE .comm _gpio_led_power_filter,4,2 ## @gpio_led_power_filter .no_dead_strip _alc662_fixup_led_gpio1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function alc662_fixup_led_gpio1 _alc662_fixup_led_gpio1: ; @alc662_fixup_led_gpio1 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x19, x0 ldr x21, [x0, #8] mov w22, #1 mov x1, x2 mov w2, #1 mov w3, #0 bl _alc_fixup_hp_gpio_led Lloh0: adrp x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE Lloh1: ldr x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w20 b.ne LBB0_2 ; %bb.1: str w22, [x21] Lloh3: adrp x8, _gpio_led_power_filter@GOTPAGE Lloh4: ldr x8, [x8, _gpio_led_power_filter@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x19] LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _HDA_FIXUP_ACT_PRE_PROBE,4,2 ; @HDA_FIXUP_ACT_PRE_PROBE .comm _gpio_led_power_filter,4,2 ; @gpio_led_power_filter .no_dead_strip _alc662_fixup_led_gpio1 .subsections_via_symbols
AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc662_fixup_led_gpio1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _LIBID_WbemClient_v1 ## @LIBID_WbemClient_v1 .p2align 3 _LIBID_WbemClient_v1: .quad 2126616318 ## 0x7ec196fe .short 28677 ## 0x7005 .short 4561 ## 0x11d1 .ascii "\255\220\000\300O\330\375\377" .space 4 .globl _IID_IWbemClassObject ## @IID_IWbemClassObject .p2align 3 _IID_IWbemClassObject: .quad 3692209793 ## 0xdc12a681 .short 29567 ## 0x737f .short 4559 ## 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IWbemObjectAccess ## @IID_IWbemObjectAccess .p2align 3 _IID_IWbemObjectAccess: .quad 1228225690 ## 0x49353c9a .short 20843 ## 0x516b .short 4561 ## 0x11d1 .ascii "\256\246\000\300O\266\210 " .space 4 .globl _IID_IWbemQualifierSet ## @IID_IWbemQualifierSet .p2align 3 _IID_IWbemQualifierSet: .quad 3692209792 ## 0xdc12a680 .short 29567 ## 0x737f .short 4559 ## 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IWbemServices ## @IID_IWbemServices .p2align 3 _IID_IWbemServices: .quad 2505497753 ## 0x9556dc99 .short 33420 ## 0x828c .short 4559 ## 0x11cf .ascii "\243~\000\252\0002@\307" .space 4 .globl _IID_IWbemLocator ## @IID_IWbemLocator .p2align 3 _IID_IWbemLocator: .quad 3692209799 ## 0xdc12a687 .short 29567 ## 0x737f .short 4559 ## 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IWbemObjectSink ## @IID_IWbemObjectSink .p2align 3 _IID_IWbemObjectSink: .quad 2089121793 ## 0x7c857801 .short 29569 ## 0x7381 .short 4559 ## 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IEnumWbemClassObject ## @IID_IEnumWbemClassObject .p2align 3 _IID_IEnumWbemClassObject: .quad 41502689 ## 0x27947e1 .short 55089 ## 0xd731 .short 4558 ## 0x11ce .ascii "\243W\000\000\000\000\000\001" .space 4 .globl _IID_IWbemCallResult ## @IID_IWbemCallResult .p2align 3 _IID_IWbemCallResult: .quad 1152165493 ## 0x44aca675 .short 59644 ## 0xe8fc .short 4560 ## 0x11d0 .ascii "\240|\000\300O\266\210 " .space 4 .globl _IID_IWbemContext ## @IID_IWbemContext .p2align 3 _IID_IWbemContext: .quad 1152165492 ## 0x44aca674 .short 59644 ## 0xe8fc .short 4560 ## 0x11d0 .ascii "\240|\000\300O\266\210 " .space 4 .globl _IID_IUnsecuredApartment ## @IID_IUnsecuredApartment .p2align 3 _IID_IUnsecuredApartment: .quad 486193804 ## 0x1cfaba8c .short 5411 ## 0x1523 .short 4561 ## 0x11d1 .ascii "\255y\000\300O\330\375\377" .space 4 .globl _CLSID_WbemLocator ## @CLSID_WbemLocator .p2align 3 _CLSID_WbemLocator: .quad 1167128593 ## 0x4590f811 .short 7482 ## 0x1d3a .short 4560 ## 0x11d0 .ascii "\211\037\000\252\000K.$" .space 4 .globl _CLSID_WbemContext ## @CLSID_WbemContext .p2align 3 _CLSID_WbemContext: .quad 1732994712 ## 0x674b6698 .short 61074 ## 0xee92 .short 4560 ## 0x11d0 .ascii "\255q\000\300O\330\375\377" .space 4 .globl _CLSID_UnsecuredApartment ## @CLSID_UnsecuredApartment .p2align 3 _CLSID_UnsecuredApartment: .quad 1237131304 ## 0x49bd2028 .short 5411 ## 0x1523 .short 4561 ## 0x11d1 .ascii "\255y\000\300O\330\375\377" .space 4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _LIBID_WbemClient_v1 ; @LIBID_WbemClient_v1 .p2align 3 _LIBID_WbemClient_v1: .quad 2126616318 ; 0x7ec196fe .short 28677 ; 0x7005 .short 4561 ; 0x11d1 .ascii "\255\220\000\300O\330\375\377" .space 4 .globl _IID_IWbemClassObject ; @IID_IWbemClassObject .p2align 3 _IID_IWbemClassObject: .quad 3692209793 ; 0xdc12a681 .short 29567 ; 0x737f .short 4559 ; 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IWbemObjectAccess ; @IID_IWbemObjectAccess .p2align 3 _IID_IWbemObjectAccess: .quad 1228225690 ; 0x49353c9a .short 20843 ; 0x516b .short 4561 ; 0x11d1 .ascii "\256\246\000\300O\266\210 " .space 4 .globl _IID_IWbemQualifierSet ; @IID_IWbemQualifierSet .p2align 3 _IID_IWbemQualifierSet: .quad 3692209792 ; 0xdc12a680 .short 29567 ; 0x737f .short 4559 ; 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IWbemServices ; @IID_IWbemServices .p2align 3 _IID_IWbemServices: .quad 2505497753 ; 0x9556dc99 .short 33420 ; 0x828c .short 4559 ; 0x11cf .ascii "\243~\000\252\0002@\307" .space 4 .globl _IID_IWbemLocator ; @IID_IWbemLocator .p2align 3 _IID_IWbemLocator: .quad 3692209799 ; 0xdc12a687 .short 29567 ; 0x737f .short 4559 ; 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IWbemObjectSink ; @IID_IWbemObjectSink .p2align 3 _IID_IWbemObjectSink: .quad 2089121793 ; 0x7c857801 .short 29569 ; 0x7381 .short 4559 ; 0x11cf .ascii "\210M\000\252\000K.$" .space 4 .globl _IID_IEnumWbemClassObject ; @IID_IEnumWbemClassObject .p2align 3 _IID_IEnumWbemClassObject: .quad 41502689 ; 0x27947e1 .short 55089 ; 0xd731 .short 4558 ; 0x11ce .ascii "\243W\000\000\000\000\000\001" .space 4 .globl _IID_IWbemCallResult ; @IID_IWbemCallResult .p2align 3 _IID_IWbemCallResult: .quad 1152165493 ; 0x44aca675 .short 59644 ; 0xe8fc .short 4560 ; 0x11d0 .ascii "\240|\000\300O\266\210 " .space 4 .globl _IID_IWbemContext ; @IID_IWbemContext .p2align 3 _IID_IWbemContext: .quad 1152165492 ; 0x44aca674 .short 59644 ; 0xe8fc .short 4560 ; 0x11d0 .ascii "\240|\000\300O\266\210 " .space 4 .globl _IID_IUnsecuredApartment ; @IID_IUnsecuredApartment .p2align 3 _IID_IUnsecuredApartment: .quad 486193804 ; 0x1cfaba8c .short 5411 ; 0x1523 .short 4561 ; 0x11d1 .ascii "\255y\000\300O\330\375\377" .space 4 .globl _CLSID_WbemLocator ; @CLSID_WbemLocator .p2align 3 _CLSID_WbemLocator: .quad 1167128593 ; 0x4590f811 .short 7482 ; 0x1d3a .short 4560 ; 0x11d0 .ascii "\211\037\000\252\000K.$" .space 4 .globl _CLSID_WbemContext ; @CLSID_WbemContext .p2align 3 _CLSID_WbemContext: .quad 1732994712 ; 0x674b6698 .short 61074 ; 0xee92 .short 4560 ; 0x11d0 .ascii "\255q\000\300O\330\375\377" .space 4 .globl _CLSID_UnsecuredApartment ; @CLSID_UnsecuredApartment .p2align 3 _CLSID_UnsecuredApartment: .quad 1237131304 ; 0x49bd2028 .short 5411 ; 0x1523 .short 4561 ; 0x11d1 .ascii "\255y\000\300O\330\375\377" .space 4 .subsections_via_symbols
the_stack_data/32949118.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_tmds _init_tmds: ## @init_tmds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %rsi movq 8(%rdi), %r12 incq %rsi movq %r12, %rdi callq _nv_ro08 movl %eax, %r13d movq (%rbx), %rsi addq $2, %rsi movq %r12, %rdi callq _nv_ro08 movl %eax, -44(%rbp) ## 4-byte Spill movq (%rbx), %rsi addq $3, %rsi movq %r12, %rdi callq _nv_ro08 movl %eax, %r15d movq (%rbx), %rsi addq $4, %rsi movq %r12, %rdi callq _nv_ro08 movl %eax, %r14d movq %rbx, %rdi movl %r13d, %esi callq _init_tmds_reg movq %rax, %r12 leaq L_.str(%rip), %rdi movl %r13d, %esi movl -44(%rbp), %edx ## 4-byte Reload movl %r15d, %ecx movl %r14d, -48(%rbp) ## 4-byte Spill movl %r14d, %r8d callq _trace addq $5, (%rbx) testq %r12, %r12 je LBB0_1 ## %bb.2: movl -44(%rbp), %r13d ## 4-byte Reload movl %r13d, %edx orl $65536, %edx ## imm = 0x10000 movq %rbx, %rdi movq %r12, %rsi callq _init_wr32 movq %r12, %r14 addq $4, %r14 movq %rbx, %rdi movq %r14, %rsi callq _init_rd32 andl %eax, %r15d orl -48(%rbp), %r15d ## 4-byte Folded Reload movq %rbx, %rdi movq %r14, %rsi movl %r15d, %edx callq _init_wr32 movq %rbx, %rdi movq %r12, %rsi movl %r13d, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _init_wr32 ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "TMDS\tT[0x%02x][0x%02x] &= 0x%02x |= 0x%02x\n" .no_dead_strip _init_tmds .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_tmds _init_tmds: ; @init_tmds .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldp x8, x22, [x0] add x1, x8, #1 mov x0, x22 bl _nv_ro08 mov x24, x0 ldr x8, [x19] add x1, x8, #2 mov x0, x22 bl _nv_ro08 mov x20, x0 ldr x8, [x19] add x1, x8, #3 mov x0, x22 bl _nv_ro08 mov x21, x0 ldr x8, [x19] add x1, x8, #4 mov x0, x22 bl _nv_ro08 mov x23, x0 mov x0, x19 mov x1, x24 bl _init_tmds_reg mov x22, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x24 mov x2, x20 mov x3, x21 mov x4, x23 bl _trace ldr x8, [x19] add x8, x8, #5 str x8, [x19] cbz x22, LBB0_2 ; %bb.1: orr w2, w20, #0x10000 mov x0, x19 mov x1, x22 bl _init_wr32 add x24, x22, #4 mov x0, x19 mov x1, x24 bl _init_rd32 and w8, w0, w21 orr w2, w8, w23 mov x0, x19 mov x1, x24 bl _init_wr32 mov x0, x19 mov x1, x22 mov x2, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _init_wr32 LBB0_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "TMDS\tT[0x%02x][0x%02x] &= 0x%02x |= 0x%02x\n" .no_dead_strip _init_tmds .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/bios/extr_init.c_init_tmds.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _osdep_event_init ## -- Begin function osdep_event_init .p2align 4, 0x90 _osdep_event_init: ## @osdep_event_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _event_init ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _osdep_event_init ; -- Begin function osdep_event_init .p2align 2 _osdep_event_init: ; @osdep_event_init .cfi_startproc ; %bb.0: b _event_init .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/tmux/extr_osdep-sunos.c_osdep_event_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _halbtc_is_wifi_uplink ## -- Begin function halbtc_is_wifi_uplink .p2align 4, 0x90 _halbtc_is_wifi_uplink: ## @halbtc_is_wifi_uplink .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax cmpq $0, (%rdi) setne %al popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _halbtc_is_wifi_uplink ; -- Begin function halbtc_is_wifi_uplink .p2align 2 _halbtc_is_wifi_uplink: ; @halbtc_is_wifi_uplink .cfi_startproc ; %bb.0: ldr x8, [x0] cmp x8, #0 cset w0, ne ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/extr_halbtcoutsrc.c_halbtc_is_wifi_uplink.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ath10k_snoc_rx_post_pipe _ath10k_snoc_rx_post_pipe: ## @ath10k_snoc_rx_post_pipe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 movq 16(%rdi), %r15 movq %r15, %rdi callq _ath10k_ce_priv movq %rax, %r12 movq %r15, %rdi callq _ath10k_snoc_priv cmpq $0, (%r13) je LBB0_6 ## %bb.1: movq 8(%r13), %rbx cmpl $0, (%rbx) je LBB0_6 ## %bb.2: movq %rax, %r14 movq %r12, %rdi callq _spin_lock_bh movq %rbx, %rdi callq ___ath10k_ce_rx_num_free_bufs movl %eax, %ebx movq %r12, %rdi callq _spin_unlock_bh incl %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 decl %ebx je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %rdi callq ___ath10k_snoc_rx_post_buf testl %eax, %eax je LBB0_3 ## %bb.5: movq _ENOSPC@GOTPCREL(%rip), %rcx movl (%rcx), %ecx addl %eax, %ecx jne LBB0_7 LBB0_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: leaq L_.str(%rip), %rsi movq %r15, %rdi movl %eax, %edx callq _ath10k_warn movq _jiffies@GOTPCREL(%rip), %rax movq _ATH10K_SNOC_RX_POST_RETRY_MS@GOTPCREL(%rip), %rcx movq (%rcx), %rsi addq (%rax), %rsi movq %r14, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _mod_timer ## TAILCALL .cfi_endproc ## -- End function .comm _ENOSPC,4,2 ## @ENOSPC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to post rx buf: %d\n" .comm _jiffies,8,3 ## @jiffies .comm _ATH10K_SNOC_RX_POST_RETRY_MS,8,3 ## @ATH10K_SNOC_RX_POST_RETRY_MS .no_dead_strip _ath10k_snoc_rx_post_pipe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ath10k_snoc_rx_post_pipe _ath10k_snoc_rx_post_pipe: ; @ath10k_snoc_rx_post_pipe .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x0 ldr x19, [x0, #16] mov x0, x19 bl _ath10k_ce_priv mov x22, x0 mov x0, x19 bl _ath10k_snoc_priv ldr x8, [x21] cbz x8, LBB0_6 ; %bb.1: ldr x23, [x21, #8] ldr w8, [x23] cbz w8, LBB0_6 ; %bb.2: mov x20, x0 mov x0, x22 bl _spin_lock_bh mov x0, x23 bl ___ath10k_ce_rx_num_free_bufs mov x23, x0 mov x0, x22 bl _spin_unlock_bh add w22, w23, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 subs w22, w22, #1 b.eq LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 bl ___ath10k_snoc_rx_post_buf cbz w0, LBB0_3 ; %bb.5: mov x2, x0 Lloh0: adrp x8, _ENOSPC@GOTPAGE Lloh1: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmn w0, w8 b.ne LBB0_7 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_7: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _ath10k_warn Lloh5: adrp x8, _jiffies@GOTPAGE Lloh6: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh7: ldr x8, [x8] Lloh8: adrp x9, _ATH10K_SNOC_RX_POST_RETRY_MS@GOTPAGE Lloh9: ldr x9, [x9, _ATH10K_SNOC_RX_POST_RETRY_MS@GOTPAGEOFF] Lloh10: ldr x9, [x9] add x1, x9, x8 mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _mod_timer .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ENOSPC,4,2 ; @ENOSPC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to post rx buf: %d\n" .comm _jiffies,8,3 ; @jiffies .comm _ATH10K_SNOC_RX_POST_RETRY_MS,8,3 ; @ATH10K_SNOC_RX_POST_RETRY_MS .no_dead_strip _ath10k_snoc_rx_post_pipe .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_snoc.c_ath10k_snoc_rx_post_pipe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mwifiex_uap_set_channel ## -- Begin function mwifiex_uap_set_channel .p2align 4, 0x90 _mwifiex_uap_set_channel: ## @mwifiex_uap_set_channel .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r12 leaq 16(%rbp), %rbx movq (%rdi), %rax movl (%rax), %r15d movaps 16(%rbp), %xmm0 movups %xmm0, 8(%rdi) movq 32(%rbp), %rax movq %rax, 24(%rdi) movq 24(%rbp), %r13 movl 8(%r13), %edi callq _ieee80211_frequency_to_channel movl %eax, 4(%r14) movq (%r13), %rcx movq _NL80211_BAND_2GHZ@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_3 ## %bb.1: movq _BAND_CONFIG_BG@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %edx, (%r14) movq _BAND_B@GOTPCREL(%rip), %rcx movq _BAND_G@GOTPCREL(%rip), %rsi movq %rbx, %r8 movl (%rsi), %ebx orl (%rcx), %ebx movl (%r8), %ecx cmpl $133, %ecx jl LBB0_8 ## %bb.2: movq _BAND_GN@GOTPCREL(%rip), %rsi jmp LBB0_7 LBB0_3: movq _BAND_CONFIG_A@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %edx, (%r14) movq _BAND_A@GOTPCREL(%rip), %rsi movl (%rbx), %ecx movq %rbx, %r8 xorl %ebx, %ebx cmpl $133, %ecx jl LBB0_5 ## %bb.4: movq _BAND_AN@GOTPCREL(%rip), %rdi movl (%rdi), %ebx LBB0_5: orl (%rsi), %ebx cmpl $132, %ecx jl LBB0_8 ## %bb.6: movq _BAND_AAC@GOTPCREL(%rip), %rsi LBB0_7: orl (%rsi), %ebx LBB0_8: leal -128(%rcx), %esi cmpl $7, %esi ja LBB0_16 ## %bb.9: movl $180, %ecx btl %esi, %ecx jb LBB0_17 ## %bb.10: movl $67, %ecx btl %esi, %ecx jae LBB0_11 ## %bb.15: movl %eax, %edi callq _mwifiex_get_sec_chan_offset shll $4, %eax orl %eax, (%r14) jmp LBB0_17 LBB0_11: movl 16(%r8), %eax cmpl 8(%r13), %eax jge LBB0_14 ## %bb.12: movq _MWIFIEX_SEC_CHAN_BELOW@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_16: movq (%r12), %rdi movq _WARN@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx ## kill: def $ecx killed $ecx killed $rcx callq _mwifiex_dbg jmp LBB0_17 LBB0_14: movq _MWIFIEX_SEC_CHAN_ABOVE@GOTPCREL(%rip), %rax LBB0_13: orl (%rax), %edx movl %edx, (%r14) LBB0_17: movq (%r12), %rax movl %ebx, (%rax) cmpl %ebx, %r15d jne LBB0_19 ## %bb.18: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: movl 4(%rax), %edi callq _mwifiex_send_domain_info_cmd_fw movq %r12, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _mwifiex_dnld_txpwr_table ## TAILCALL .cfi_endproc ## -- End function .comm _NL80211_BAND_2GHZ,8,3 ## @NL80211_BAND_2GHZ .comm _BAND_CONFIG_BG,4,2 ## @BAND_CONFIG_BG .comm _BAND_B,4,2 ## @BAND_B .comm _BAND_G,4,2 ## @BAND_G .comm _BAND_GN,4,2 ## @BAND_GN .comm _BAND_CONFIG_A,4,2 ## @BAND_CONFIG_A .comm _BAND_A,4,2 ## @BAND_A .comm _BAND_AN,4,2 ## @BAND_AN .comm _BAND_AAC,4,2 ## @BAND_AAC .comm _MWIFIEX_SEC_CHAN_BELOW,4,2 ## @MWIFIEX_SEC_CHAN_BELOW .comm _MWIFIEX_SEC_CHAN_ABOVE,4,2 ## @MWIFIEX_SEC_CHAN_ABOVE .comm _WARN,4,2 ## @WARN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unknown channel width: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mwifiex_uap_set_channel ; -- Begin function mwifiex_uap_set_channel .p2align 2 _mwifiex_uap_set_channel: ; @mwifiex_uap_set_channel .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x20, x1 mov x19, x0 ldr x8, [x0] ldr w22, [x8] ldr x8, [x2, #16] ldr q0, [x2] stur q0, [x0, #8] str x8, [x0, #24] ldr x8, [x2, #8] ldr w0, [x8, #8] bl _ieee80211_frequency_to_channel str w0, [x20, #4] ldr x8, [x21, #8] ldr x9, [x8] Lloh0: adrp x10, _NL80211_BAND_2GHZ@GOTPAGE Lloh1: ldr x10, [x10, _NL80211_BAND_2GHZ@GOTPAGEOFF] Lloh2: ldr x10, [x10] cmp x9, x10 b.ne LBB0_3 ; %bb.1: Lloh3: adrp x9, _BAND_CONFIG_BG@GOTPAGE Lloh4: ldr x9, [x9, _BAND_CONFIG_BG@GOTPAGEOFF] Lloh5: ldr w9, [x9] str w9, [x20] Lloh6: adrp x10, _BAND_B@GOTPAGE Lloh7: ldr x10, [x10, _BAND_B@GOTPAGEOFF] Lloh8: ldr w10, [x10] Lloh9: adrp x11, _BAND_G@GOTPAGE Lloh10: ldr x11, [x11, _BAND_G@GOTPAGEOFF] Lloh11: ldr w11, [x11] orr w23, w11, w10 ldr w3, [x21] cmp w3, #133 b.lt LBB0_6 ; %bb.2: Lloh12: adrp x10, _BAND_GN@GOTPAGE Lloh13: ldr x10, [x10, _BAND_GN@GOTPAGEOFF] b LBB0_5 LBB0_3: Lloh14: adrp x9, _BAND_CONFIG_A@GOTPAGE Lloh15: ldr x9, [x9, _BAND_CONFIG_A@GOTPAGEOFF] Lloh16: ldr w9, [x9] str w9, [x20] Lloh17: adrp x10, _BAND_A@GOTPAGE Lloh18: ldr x10, [x10, _BAND_A@GOTPAGEOFF] Lloh19: ldr w10, [x10] ldr w3, [x21] Lloh20: adrp x11, _BAND_AN@GOTPAGE Lloh21: ldr x11, [x11, _BAND_AN@GOTPAGEOFF] Lloh22: ldr w11, [x11] cmp w3, #132 csel w11, w11, wzr, gt orr w23, w11, w10 b.lt LBB0_6 ; %bb.4: Lloh23: adrp x10, _BAND_AAC@GOTPAGE Lloh24: ldr x10, [x10, _BAND_AAC@GOTPAGEOFF] LBB0_5: ldr w10, [x10] orr w23, w10, w23 LBB0_6: sub w10, w3, #128 cmp w10, #7 b.hi LBB0_12 ; %bb.7: mov w11, #1 lsl w10, w11, w10 mov w11, #180 tst w10, w11 b.ne LBB0_16 ; %bb.8: mov w11, #67 tst w10, w11 b.eq LBB0_10 ; %bb.9: bl _mwifiex_get_sec_chan_offset ldr w8, [x20] orr w8, w8, w0, lsl #4 b LBB0_15 LBB0_10: ldr w10, [x21, #16] ldr w8, [x8, #8] cmp w10, w8 b.ge LBB0_13 ; %bb.11: Lloh25: adrp x8, _MWIFIEX_SEC_CHAN_BELOW@GOTPAGE Lloh26: ldr x8, [x8, _MWIFIEX_SEC_CHAN_BELOW@GOTPAGEOFF] b LBB0_14 LBB0_12: ldr x0, [x19] Lloh27: adrp x8, _WARN@GOTPAGE Lloh28: ldr x8, [x8, _WARN@GOTPAGEOFF] Lloh29: ldr w1, [x8] Lloh30: adrp x2, l_.str@PAGE Lloh31: add x2, x2, l_.str@PAGEOFF bl _mwifiex_dbg b LBB0_16 LBB0_13: Lloh32: adrp x8, _MWIFIEX_SEC_CHAN_ABOVE@GOTPAGE Lloh33: ldr x8, [x8, _MWIFIEX_SEC_CHAN_ABOVE@GOTPAGEOFF] LBB0_14: ldr w8, [x8] orr w8, w9, w8 LBB0_15: str w8, [x20] LBB0_16: ldr x8, [x19] str w23, [x8] cmp w22, w23 b.ne LBB0_18 ; %bb.17: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_18: ldr w0, [x8, #4] bl _mwifiex_send_domain_info_cmd_fw mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _mwifiex_dnld_txpwr_table .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGot Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _NL80211_BAND_2GHZ,8,3 ; @NL80211_BAND_2GHZ .comm _BAND_CONFIG_BG,4,2 ; @BAND_CONFIG_BG .comm _BAND_B,4,2 ; @BAND_B .comm _BAND_G,4,2 ; @BAND_G .comm _BAND_GN,4,2 ; @BAND_GN .comm _BAND_CONFIG_A,4,2 ; @BAND_CONFIG_A .comm _BAND_A,4,2 ; @BAND_A .comm _BAND_AN,4,2 ; @BAND_AN .comm _BAND_AAC,4,2 ; @BAND_AAC .comm _MWIFIEX_SEC_CHAN_BELOW,4,2 ; @MWIFIEX_SEC_CHAN_BELOW .comm _MWIFIEX_SEC_CHAN_ABOVE,4,2 ; @MWIFIEX_SEC_CHAN_ABOVE .comm _WARN,4,2 ; @WARN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unknown channel width: %d\n" .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_uap_cmd.c_mwifiex_uap_set_channel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ltoa ## -- Begin function ltoa .p2align 4, 0x90 _ltoa: ## @ltoa .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rcx negq %rcx cmovsq %rdi, %rcx xorl %esi, %esi movabsq $7378697629483820647, %r8 ## imm = 0x6666666666666667 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rax imulq %r8 movq %rdx, %rax shrq $63, %rax sarq $2, %rdx addq %rax, %rdx leal (%rdx,%rdx), %eax leal (%rax,%rax,4), %eax movl %ecx, %ebx subl %eax, %ebx addb $48, %bl movb %bl, (%r14,%rsi) incq %rsi cmpq $9, %rcx movq %rdx, %rcx jg LBB0_1 ## %bb.2: testq %rdi, %rdi jns LBB0_4 ## %bb.3: movl %esi, %eax incq %rsi movb $45, (%r14,%rax) LBB0_4: movslq %esi, %rax movb $0, (%r14,%rax) movq %r14, %rdi callq _reverse movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ltoa ; -- Begin function ltoa .p2align 2 _ltoa: ; @ltoa .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x8, #0 cmp x0, #0 cneg x9, x0, mi mov x10, #7378697629483820646 movk x10, #26215 mov w11, #10 LBB0_1: ; =>This Inner Loop Header: Depth=1 smulh x12, x9, x10 asr x13, x12, #2 add x12, x13, x12, lsr #63 msub w13, w12, w11, w9 add w13, w13, #48 strb w13, [x19, x8] add x8, x8, #1 cmp x9, #9 mov x9, x12 b.gt LBB0_1 ; %bb.2: tbz x0, #63, LBB0_4 ; %bb.3: mov w9, #45 strb w9, [x19, w8, uxtw] add x8, x8, #1 LBB0_4: strb wzr, [x19, w8, sxtw] mov x0, x19 bl _reverse mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/gb-studio/buildTools/win32-x64/gbdk/libc/extr_ltoa.c_ltoa.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rmultiply _rmultiply: ## @rmultiply .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi xorl %eax, %eax testl %edi, %edi je LBB0_17 ## %bb.1: testl %esi, %esi je LBB0_17 ## %bb.2: cmpl $1, %edi jne LBB0_4 ## %bb.3: movl %esi, %eax popq %rbp retq LBB0_4: cmpl $1, %esi jne LBB0_6 ## %bb.5: movl %edi, %eax popq %rbp retq LBB0_6: cmpb $0, _rmultiply.bpw(%rip) jne LBB0_8 ## %bb.7: movb $1, _rmultiply.bpw(%rip) LBB0_8: movl $64, %eax .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 leal -1(%rax), %ecx movzbl %cl, %ecx decl %eax btl %ecx, %edi jae LBB0_9 ## %bb.10: movl $31, %ecx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 decl %eax btl %ecx, %esi leal -1(%rcx), %ecx ## kill: def $ecx killed $ecx def $rcx jae LBB0_11 ## %bb.12: cmpl $33, %eax jge LBB0_13 ## %bb.14: movl %edi, %ecx sarl %ecx movl %esi, %eax sarl %eax imull %ecx, %eax cmpl $1073741824, %eax ## imm = 0x40000000 jge LBB0_13 ## %bb.15: movl %edi, %ecx andl $1, %ecx movl %ecx, %r8d andl %esi, %r8d movl %esi, %edx andl $1, %edx andl $-2, %edi imull %edx, %edi orl %r8d, %edi andl $-2, %esi imull %ecx, %esi addl %edi, %esi js LBB0_13 ## %bb.16: leal (%rsi,%rax,4), %eax LBB0_17: popq %rbp retq LBB0_13: movq _ERANGE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _UQUAD_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_rmultiply.bpw,1,2 ## @rmultiply.bpw .comm _ERANGE,4,2 ## @ERANGE .comm _errno,4,2 ## @errno .comm _UQUAD_MAX,4,2 ## @UQUAD_MAX .no_dead_strip _rmultiply .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rmultiply _rmultiply: ; @rmultiply .cfi_startproc ; %bb.0: mov w8, #0 cbz w0, LBB0_16 ; %bb.1: cbz w1, LBB0_16 ; %bb.2: cmp w0, #1 b.ne LBB0_4 ; %bb.3: mov x0, x1 ret LBB0_4: cmp w1, #1 b.ne LBB0_6 ; %bb.5: ret LBB0_6: adrp x8, _rmultiply.bpw@PAGE ldrb w9, [x8, _rmultiply.bpw@PAGEOFF] tbnz w9, #0, LBB0_8 ; %bb.7: mov w9, #1 strb w9, [x8, _rmultiply.bpw@PAGEOFF] LBB0_8: mov w8, #64 LBB0_9: ; =>This Inner Loop Header: Depth=1 sub w9, w8, #33 sub w8, w8, #1 lsr w9, w0, w9 tbz w9, #0, LBB0_9 ; %bb.10: mov w9, #31 LBB0_11: ; =>This Inner Loop Header: Depth=1 sub w8, w8, #1 lsr w10, w1, w9 sub w9, w9, #1 tbz w10, #0, LBB0_11 ; %bb.12: cmp w8, #33 b.ge LBB0_17 ; %bb.13: asr w8, w0, #1 asr w9, w1, #1 mul w8, w9, w8 mov w9, #1073741824 cmp w8, w9 b.ge LBB0_17 ; %bb.14: and w9, w0, #0x1 and w10, w9, w1 and w11, w1, #0x1 and w12, w0, #0xfffffffe mul w11, w11, w12 orr w10, w11, w10 and w11, w1, #0xfffffffe madd w9, w11, w9, w10 tbnz w9, #31, LBB0_17 ; %bb.15: add w8, w9, w8, lsl #2 LBB0_16: mov x0, x8 ret LBB0_17: Lloh0: adrp x8, _ERANGE@GOTPAGE Lloh1: ldr x8, [x8, _ERANGE@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _errno@GOTPAGE Lloh4: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh5: str w8, [x9] Lloh6: adrp x8, _UQUAD_MAX@GOTPAGE Lloh7: ldr x8, [x8, _UQUAD_MAX@GOTPAGEOFF] Lloh8: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_rmultiply.bpw,1,2 ; @rmultiply.bpw .comm _ERANGE,4,2 ; @ERANGE .comm _errno,4,2 ; @errno .comm _UQUAD_MAX,4,2 ; @UQUAD_MAX .no_dead_strip _rmultiply .subsections_via_symbols
AnghaBench/freebsd/lib/libutil/extr_login_cap.c_rmultiply.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function setup_extradata _setup_extradata: ## @setup_extradata .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r15d, %r15d cmpq $0, 8(%rsi) je LBB0_1 LBB0_7: movl %r15d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_1: movq %rdi, %r14 movq 16(%rdi), %rax testq %rax, %rax je LBB0_7 ## %bb.2: movq (%rax), %rax testq %rax, %rax je LBB0_7 ## %bb.3: movq (%rax), %rax testq %rax, %rax je LBB0_7 ## %bb.4: movq %rsi, %rbx movl 8(%r14), %edi movl (%r14), %esi movl 4(%r14), %edx callq *%rax movl $1, %r15d testl %eax, %eax jle LBB0_7 ## %bb.5: movl %eax, %r12d movl %eax, (%rbx) movl %eax, %edi movq _AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rax addq (%rax), %rdi callq _av_malloc movq %rax, 8(%rbx) testq %rax, %rax je LBB0_7 ## %bb.6: movl (%r14), %esi movq %rax, %rdi movl %r12d, %edx callq _memcpy xorl %r15d, %r15d jmp LBB0_7 .cfi_endproc ## -- End function .comm _AV_INPUT_BUFFER_PADDING_SIZE,8,3 ## @AV_INPUT_BUFFER_PADDING_SIZE .no_dead_strip _setup_extradata .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function setup_extradata _setup_extradata: ; @setup_extradata .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x1, #8] cbz x8, LBB0_3 LBB0_1: mov w0, #0 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_3: mov x19, x0 ldr x8, [x0, #16] cbz x8, LBB0_1 ; %bb.4: ldr x8, [x8] cbz x8, LBB0_1 ; %bb.5: ldr x8, [x8] cbz x8, LBB0_1 ; %bb.6: mov x20, x1 ldp w2, w0, [x19, #4] ldr w1, [x19] blr x8 cmp w0, #1 b.lt LBB0_9 ; %bb.7: mov x21, x0 str w0, [x20] Lloh0: adrp x8, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x0, x8, w0, uxtw bl _av_malloc str x0, [x20, #8] cbz x0, LBB0_9 ; %bb.8: ldr w1, [x19] mov x2, x21 bl _memcpy b LBB0_1 LBB0_9: mov w0, #1 b LBB0_2 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _AV_INPUT_BUFFER_PADDING_SIZE,8,3 ; @AV_INPUT_BUFFER_PADDING_SIZE .no_dead_strip _setup_extradata .subsections_via_symbols
AnghaBench/HandBrake/libhb/extr_decavcodec.c_setup_extradata.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/41688.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _USBH_MSC_SCSI_ReadCapacity ## -- Begin function USBH_MSC_SCSI_ReadCapacity .p2align 4, 0x90 _USBH_MSC_SCSI_ReadCapacity: ## @USBH_MSC_SCSI_ReadCapacity .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %rax movq (%rax), %rbx movl (%rbx), %eax cmpl $128, %eax je LBB0_3 ## %bb.1: movq _USBH_BUSY@GOTPCREL(%rip), %r14 cmpl $129, %eax jne LBB0_5 ## %bb.2: movq _DATA_LEN_READ_CAPACITY10@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 48(%rbx) movq _USB_EP_DIR_IN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 44(%rbx) movq _CBW_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 40(%rbx) movq 32(%rbx), %rdi movq _CBW_CB_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _USBH_memset movq _OPCODE_READ_CAPACITY10@GOTPCREL(%rip), %rax movl (%rax), %eax movq 32(%rbx), %rcx movl %eax, (%rcx) movq _BOT_SEND_CBW@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%rbx) movl $128, (%rbx) movq 16(%rbx), %rax movq %rax, 8(%rbx) LBB0_5: movl (%r14), %eax jmp LBB0_6 LBB0_3: movq %rdx, %r14 callq _USBH_MSC_BOT_Process movq _USBH_OK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_6 ## %bb.4: movq 8(%rbx), %rcx movl 8(%rcx), %edx shll $8, %edx orl 12(%rcx), %edx movl (%rcx), %esi movl 4(%rcx), %edi shll $16, %edi shll $24, %esi orl %edi, %esi orl %edx, %esi movl %esi, (%r14) movl 24(%rcx), %edx shll $8, %edx orl 28(%rcx), %edx movl %edx, 4(%r14) LBB0_6: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _USBH_BUSY,4,2 ## @USBH_BUSY .comm _DATA_LEN_READ_CAPACITY10,4,2 ## @DATA_LEN_READ_CAPACITY10 .comm _USB_EP_DIR_IN,4,2 ## @USB_EP_DIR_IN .comm _CBW_LENGTH,4,2 ## @CBW_LENGTH .comm _CBW_CB_LENGTH,4,2 ## @CBW_CB_LENGTH .comm _OPCODE_READ_CAPACITY10,4,2 ## @OPCODE_READ_CAPACITY10 .comm _BOT_SEND_CBW,4,2 ## @BOT_SEND_CBW .comm _USBH_OK,4,2 ## @USBH_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _USBH_MSC_SCSI_ReadCapacity ; -- Begin function USBH_MSC_SCSI_ReadCapacity .p2align 2 _USBH_MSC_SCSI_ReadCapacity: ; @USBH_MSC_SCSI_ReadCapacity .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0] ldr x20, [x8] ldr w8, [x20] cmp w8, #128 b.eq LBB0_4 ; %bb.1: Lloh0: adrp x19, _USBH_BUSY@GOTPAGE Lloh1: ldr x19, [x19, _USBH_BUSY@GOTPAGEOFF] cmp w8, #129 b.ne LBB0_3 ; %bb.2: Lloh2: adrp x8, _DATA_LEN_READ_CAPACITY10@GOTPAGE Lloh3: ldr x8, [x8, _DATA_LEN_READ_CAPACITY10@GOTPAGEOFF] Lloh4: ldr w8, [x8] str w8, [x20, #48] Lloh5: adrp x8, _USB_EP_DIR_IN@GOTPAGE Lloh6: ldr x8, [x8, _USB_EP_DIR_IN@GOTPAGEOFF] Lloh7: ldr w8, [x8] Lloh8: adrp x9, _CBW_LENGTH@GOTPAGE Lloh9: ldr x9, [x9, _CBW_LENGTH@GOTPAGEOFF] Lloh10: ldr w9, [x9] stp w9, w8, [x20, #40] ldr x0, [x20, #32] Lloh11: adrp x8, _CBW_CB_LENGTH@GOTPAGE Lloh12: ldr x8, [x8, _CBW_CB_LENGTH@GOTPAGEOFF] Lloh13: ldr w2, [x8] mov w1, #0 bl _USBH_memset Lloh14: adrp x8, _OPCODE_READ_CAPACITY10@GOTPAGE Lloh15: ldr x8, [x8, _OPCODE_READ_CAPACITY10@GOTPAGEOFF] Lloh16: ldr w8, [x8] ldr x9, [x20, #32] str w8, [x9] Lloh17: adrp x8, _BOT_SEND_CBW@GOTPAGE Lloh18: ldr x8, [x8, _BOT_SEND_CBW@GOTPAGEOFF] Lloh19: ldr w8, [x8] str w8, [x20, #24] mov w8, #128 str w8, [x20] ldr x8, [x20, #16] str x8, [x20, #8] LBB0_3: ldr w0, [x19] b LBB0_6 LBB0_4: mov x19, x2 bl _USBH_MSC_BOT_Process Lloh20: adrp x8, _USBH_OK@GOTPAGE Lloh21: ldr x8, [x8, _USBH_OK@GOTPAGEOFF] Lloh22: ldr w8, [x8] cmp w0, w8 b.ne LBB0_6 ; %bb.5: ldr x8, [x20, #8] ldp w10, w9, [x8, #8] orr w9, w9, w10, lsl #8 ldp w11, w10, [x8] orr w9, w9, w10, lsl #16 orr w9, w9, w11, lsl #24 str w9, [x19] ldp w8, w9, [x8, #24] orr w8, w9, w8, lsl #8 str w8, [x19, #4] LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _USBH_BUSY,4,2 ; @USBH_BUSY .comm _DATA_LEN_READ_CAPACITY10,4,2 ; @DATA_LEN_READ_CAPACITY10 .comm _USB_EP_DIR_IN,4,2 ; @USB_EP_DIR_IN .comm _CBW_LENGTH,4,2 ; @CBW_LENGTH .comm _CBW_CB_LENGTH,4,2 ; @CBW_CB_LENGTH .comm _OPCODE_READ_CAPACITY10,4,2 ; @OPCODE_READ_CAPACITY10 .comm _BOT_SEND_CBW,4,2 ; @BOT_SEND_CBW .comm _USBH_OK,4,2 ; @USBH_OK .subsections_via_symbols
AnghaBench/micropython/ports/stm32/usbhost/Class/MSC/Src/extr_usbh_msc_scsi.c_USBH_MSC_SCSI_ReadCapacity.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __Exit ## -- Begin function _Exit .p2align 4, 0x90 __Exit: ## @_Exit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq __exit .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __Exit ; -- Begin function _Exit .p2align 2 __Exit: ; @_Exit .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl __exit .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/62638747.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ghb_get_queue_state ## -- Begin function ghb_get_queue_state .p2align 4, 0x90 _ghb_get_queue_state: ## @ghb_get_queue_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _hb_status@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _hb_status,4,2 ## @hb_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ghb_get_queue_state ; -- Begin function ghb_get_queue_state .p2align 2 _ghb_get_queue_state: ; @ghb_get_queue_state .cfi_startproc ; %bb.0: Lloh0: adrp x8, _hb_status@GOTPAGE Lloh1: ldr x8, [x8, _hb_status@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _hb_status,4,2 ; @hb_status .subsections_via_symbols
AnghaBench/HandBrake/gtk/src/extr_hb-backend.c_ghb_get_queue_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cttest_too_big_priority ## -- Begin function cttest_too_big_priority .p2align 4, 0x90 _cttest_too_big_priority: ## @cttest_too_big_priority .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %eax, %eax callq _SERVER movl %eax, %edi callq _mustdiallocal movl %eax, %ebx leaq L_.str(%rip), %rsi movl %eax, %edi callq _mustsend leaq L_.str.1(%rip), %rsi movl %ebx, %edi callq _mustsend leaq L_.str.2(%rip), %rsi movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _ckresp ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "put 4294967296 0 100 1\r\n" L_.str.1: ## @.str.1 .asciz "a\r\n" L_.str.2: ## @.str.2 .asciz "BAD_FORMAT\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cttest_too_big_priority ; -- Begin function cttest_too_big_priority .p2align 2 _cttest_too_big_priority: ; @cttest_too_big_priority .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _SERVER bl _mustdiallocal mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _mustsend Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _mustsend Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ckresp .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "put 4294967296 0 100 1\r\n" l_.str.1: ; @.str.1 .asciz "a\r\n" l_.str.2: ; @.str.2 .asciz "BAD_FORMAT\r\n" .subsections_via_symbols
AnghaBench/beanstalkd/extr_testserv.c_cttest_too_big_priority.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fc_setup_rport ## -- Begin function fc_setup_rport .p2align 4, 0x90 _fc_setup_rport: ## @fc_setup_rport .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 _create_singlethread_workqueue movq _rport_event_queue@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _ENOMEM@GOTPCREL(%rip), %rdx xorl %ecx, %ecx subl (%rdx), %ecx xorl %edx, %edx testl %eax, %eax cmovnel %edx, %ecx movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "fc_rport_eq" .comm _rport_event_queue,4,2 ## @rport_event_queue .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fc_setup_rport ; -- Begin function fc_setup_rport .p2align 2 _fc_setup_rport: ; @fc_setup_rport .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _create_singlethread_workqueue Lloh2: adrp x8, _rport_event_queue@GOTPAGE Lloh3: ldr x8, [x8, _rport_event_queue@GOTPAGEOFF] Lloh4: str w0, [x8] Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w0, #0 csneg w0, wzr, w8, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "fc_rport_eq" .comm _rport_event_queue,4,2 ; @rport_event_queue .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
AnghaBench/linux/drivers/scsi/libfc/extr_fc_rport.c_fc_setup_rport.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function init_keys LCPI0_0: .quad 305419896 ## 0x12345678 .quad 591751049 ## 0x23456789 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _init_keys: ## @init_keys .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [305419896,591751049] movups %xmm0, (%rsi) movq $878082192, 16(%rsi) ## imm = 0x34567890 movb (%rdi), %al testb %al, %al je LBB0_3 ## %bb.1: movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx incq %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edx movq %r15, %rdi movq %r14, %rsi callq _update_keys movzbl (%rbx), %eax incq %rbx testb %al, %al jne LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _init_keys .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function init_keys lCPI0_0: .quad 305419896 ; 0x12345678 .quad 591751049 ; 0x23456789 .section __TEXT,__text,regular,pure_instructions .p2align 2 _init_keys: ; @init_keys .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, lCPI0_0@PAGE Lloh1: ldr q0, [x8, lCPI0_0@PAGEOFF] str q0, [x1] mov w8, #30864 movk w8, #13398, lsl #16 str x8, [x1, #16] ldrb w8, [x0] cbz w8, LBB0_3 ; %bb.1: mov x19, x2 mov x20, x1 add x21, x0, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 sxtb w2, w8 mov x0, x20 mov x1, x19 bl _update_keys ldrb w8, [x21], #1 cbnz w8, LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .no_dead_strip _init_keys .subsections_via_symbols
AnghaBench/reactos/sdk/lib/3rdparty/zlib/contrib/minizip/extr_crypt.h_init_keys.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/38063.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mtk_hdmi_get_all_clk _mtk_hdmi_get_all_clk: ## @mtk_hdmi_get_all_clk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r12 movq _mtk_hdmi_clk_names@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_4 ## %bb.1: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rax movl (%rax,%rbx,4), %esi movq %r14, %rdi callq _of_clk_get_by_name movq (%r12), %rcx movl %eax, (%rcx,%rbx,4) movl %eax, %edi callq _IS_ERR testq %rax, %rax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movq (%r15), %rdi callq _ARRAY_SIZE cltq cmpq %rax, %rbx jl LBB0_2 LBB0_4: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq (%r12), %rax movl (%rax,%rbx,4), %edi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _PTR_ERR ## TAILCALL .cfi_endproc ## -- End function .comm _mtk_hdmi_clk_names,8,3 ## @mtk_hdmi_clk_names .no_dead_strip _mtk_hdmi_get_all_clk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mtk_hdmi_get_all_clk _mtk_hdmi_get_all_clk: ; @mtk_hdmi_get_all_clk .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 Lloh0: adrp x21, _mtk_hdmi_clk_names@GOTPAGE Lloh1: ldr x21, [x21, _mtk_hdmi_clk_names@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_4 ; %bb.1: mov x22, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] lsl x23, x22, #2 ldr w1, [x8, x23] mov x0, x20 bl _of_clk_get_by_name ldr x8, [x19] str w0, [x8, x23] bl _IS_ERR cbnz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #1 ldr x0, [x21] bl _ARRAY_SIZE cmp x22, w0, sxtw b.lt LBB0_2 LBB0_4: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_5: ldr x8, [x19] ldr w0, [x8, x22, lsl #2] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _PTR_ERR .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _mtk_hdmi_clk_names,8,3 ; @mtk_hdmi_clk_names .no_dead_strip _mtk_hdmi_get_all_clk .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/mediatek/extr_mtk_hdmi.c_mtk_hdmi_get_all_clk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #2 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/145452236.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sock_no_mmap ## -- Begin function sock_no_mmap .p2align 4, 0x90 _sock_no_mmap: ## @sock_no_mmap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ENODEV@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENODEV,4,2 ## @ENODEV .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sock_no_mmap ; -- Begin function sock_no_mmap .p2align 2 _sock_no_mmap: ; @sock_no_mmap .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ENODEV@GOTPAGE Lloh1: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENODEV,4,2 ; @ENODEV .subsections_via_symbols
AnghaBench/linux/net/core/extr_sock.c_sock_no_mmap.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qcom_nandc_block_markbad _qcom_nandc_block_markbad: ## @qcom_nandc_block_markbad .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r13d movq %rdi, %r14 callq _to_qcom_nand_host movq %rax, %r12 movq %r14, %rdi callq _get_qcom_nand_controller movq %rax, %rbx movq %rax, %rdi callq _clear_read_regs movq %rbx, %rdi callq _clear_bam_transaction movl 4(%rbx), %edi movl (%r12), %edx xorl %r15d, %r15d xorl %esi, %esi callq _memset movb (%r14), %cl sarl %cl, %r13d andl 4(%r14), %r13d movl $0, 4(%r12) movl 8(%r14), %esi decl %esi imull (%r12), %esi movq %r12, %rdi movl %r13d, %edx callq _set_address movq %r12, %rdi movl $1, %esi xorl %edx, %edx callq _update_rw_regs movq %rbx, %rdi callq _config_nand_page_write movq _FLASH_BUF_ACC@GOTPCREL(%rip), %rax movl (%rax), %esi movl 4(%rbx), %edx movl (%r12), %ecx movq %rbx, %rdi xorl %r8d, %r8d callq _write_data_dma movq %rbx, %rdi callq _config_nand_cw_write movq %rbx, %rdi callq _submit_descs movl %eax, %r12d movq %rbx, %rdi callq _free_descs testl %r12d, %r12d je LBB0_2 ## %bb.1: movl (%rbx), %edi leaq L_.str(%rip), %rsi callq _dev_err movq _EIO@GOTPCREL(%rip), %rax subl (%rax), %r15d movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq %r14, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _nand_prog_page_end_op ## TAILCALL .cfi_endproc ## -- End function .comm _FLASH_BUF_ACC,4,2 ## @FLASH_BUF_ACC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failure to update BBM\n" .comm _EIO,4,2 ## @EIO .no_dead_strip _qcom_nandc_block_markbad .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qcom_nandc_block_markbad _qcom_nandc_block_markbad: ; @qcom_nandc_block_markbad .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 bl _to_qcom_nand_host mov x22, x0 mov x0, x19 bl _get_qcom_nand_controller mov x20, x0 bl _clear_read_regs mov x0, x20 bl _clear_bam_transaction ldr w0, [x20, #4] ldr w2, [x22] mov w1, #0 bl _memset ldp w8, w9, [x19] asr w8, w21, w8 and w2, w8, w9 str wzr, [x22, #4] ldr w8, [x22] ldr w9, [x19, #8] sub w9, w9, #1 mul w1, w9, w8 mov x0, x22 bl _set_address mov x0, x22 mov w1, #1 mov w2, #0 bl _update_rw_regs mov x0, x20 bl _config_nand_page_write Lloh0: adrp x8, _FLASH_BUF_ACC@GOTPAGE Lloh1: ldr x8, [x8, _FLASH_BUF_ACC@GOTPAGEOFF] Lloh2: ldr w1, [x8] ldr w2, [x20, #4] ldr w3, [x22] mov x0, x20 mov w4, #0 bl _write_data_dma mov x0, x20 bl _config_nand_cw_write mov x0, x20 bl _submit_descs mov x21, x0 mov x0, x20 bl _free_descs cbz w21, LBB0_2 ; %bb.1: ldr w0, [x20] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _dev_err Lloh5: adrp x8, _EIO@GOTPAGE Lloh6: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_2: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _nand_prog_page_end_op .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _FLASH_BUF_ACC,4,2 ; @FLASH_BUF_ACC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failure to update BBM\n" .comm _EIO,4,2 ; @EIO .no_dead_strip _qcom_nandc_block_markbad .subsections_via_symbols
AnghaBench/linux/drivers/mtd/nand/raw/extr_qcom_nandc.c_qcom_nandc_block_markbad.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mips_ejtag_fdc_decode _mips_ejtag_fdc_decode: ## @mips_ejtag_fdc_decode .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, (%rsi) movl $4, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mips_ejtag_fdc_decode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mips_ejtag_fdc_decode _mips_ejtag_fdc_decode: ; @mips_ejtag_fdc_decode .cfi_startproc ; %bb.0: str w0, [x1] mov w0, #4 ret .cfi_endproc ; -- End function .no_dead_strip _mips_ejtag_fdc_decode .subsections_via_symbols
AnghaBench/linux/drivers/tty/extr_mips_ejtag_fdc.c_mips_ejtag_fdc_decode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _il4965_mac_stop ## -- Begin function il4965_mac_stop .p2align 4, 0x90 _il4965_mac_stop: ## @il4965_mac_stop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq (%rdi), %rbx leaq L_.str(%rip), %rdi callq _D_MAC80211 cmpq $0, 8(%rbx) je LBB0_1 ## %bb.2: movq $0, 8(%rbx) movq %rbx, %rdi callq _il4965_down movl (%rbx), %edi callq _flush_workqueue movq _CSR_INT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $-1, %edx callq __il_wr movq %rbx, %rdi callq _il_enable_rfkill_int leaq L_.str.1(%rip), %rdi addq $8, %rsp popq %rbx popq %rbp jmp _D_MAC80211 ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "enter\n" .comm _CSR_INT,4,2 ## @CSR_INT L_.str.1: ## @.str.1 .asciz "leave\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _il4965_mac_stop ; -- Begin function il4965_mac_stop .p2align 2 _il4965_mac_stop: ; @il4965_mac_stop .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x19, [x0] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _D_MAC80211 ldr x8, [x19, #8] cbz x8, LBB0_2 ; %bb.1: str xzr, [x19, #8] mov x0, x19 bl _il4965_down ldr w0, [x19] bl _flush_workqueue Lloh2: adrp x8, _CSR_INT@GOTPAGE Lloh3: ldr x8, [x8, _CSR_INT@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov x0, x19 mov w2, #-1 bl __il_wr mov x0, x19 bl _il_enable_rfkill_int Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _D_MAC80211 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "enter\n" .comm _CSR_INT,4,2 ; @CSR_INT l_.str.1: ; @.str.1 .asciz "leave\n" .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_4965-mac.c_il4965_mac_stop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function max17042_write_custom_regs _max17042_write_custom_regs: ## @max17042_write_custom_regs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq 8(%rdi), %r14 movq 16(%rdi), %rax movq (%rax), %rbx movq _MAX17042_RCOMP0@GOTPCREL(%rip), %rax movl (%rax), %esi movl 32(%rbx), %edx movq %r14, %rdi callq _max17042_write_verify_reg movq _MAX17042_TempCo@GOTPCREL(%rip), %rax movl (%rax), %esi movl 28(%rbx), %edx movq %r14, %rdi callq _max17042_write_verify_reg movq _MAX17042_ICHGTerm@GOTPCREL(%rip), %rax movl (%rax), %esi movl 24(%rbx), %edx movq %r14, %rdi callq _max17042_write_verify_reg movq (%r15), %rax movq _MAXIM_DEVICE_TYPE_MAX17042@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq _MAX17042_EmptyTempCo@GOTPCREL(%rip), %rax movl (%rax), %esi movl 20(%rbx), %edx movq %r14, %rdi callq _regmap_write addq $16, %rbx movq _MAX17042_K_empty0@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_2: movq _MAX17047_QRTbl00@GOTPCREL(%rip), %rax movl (%rax), %esi movl 12(%rbx), %edx movq %r14, %rdi callq _max17042_write_verify_reg movq _MAX17047_QRTbl10@GOTPCREL(%rip), %rax movl (%rax), %esi movl 8(%rbx), %edx movq %r14, %rdi callq _max17042_write_verify_reg movq _MAX17047_QRTbl20@GOTPCREL(%rip), %rax movl (%rax), %esi movl 4(%rbx), %edx movq %r14, %rdi callq _max17042_write_verify_reg movq _MAX17047_QRTbl30@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %esi movl (%rbx), %edx movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _max17042_write_verify_reg ## TAILCALL .cfi_endproc ## -- End function .comm _MAX17042_RCOMP0,4,2 ## @MAX17042_RCOMP0 .comm _MAX17042_TempCo,4,2 ## @MAX17042_TempCo .comm _MAX17042_ICHGTerm,4,2 ## @MAX17042_ICHGTerm .comm _MAXIM_DEVICE_TYPE_MAX17042,8,3 ## @MAXIM_DEVICE_TYPE_MAX17042 .comm _MAX17042_EmptyTempCo,4,2 ## @MAX17042_EmptyTempCo .comm _MAX17042_K_empty0,4,2 ## @MAX17042_K_empty0 .comm _MAX17047_QRTbl00,4,2 ## @MAX17047_QRTbl00 .comm _MAX17047_QRTbl10,4,2 ## @MAX17047_QRTbl10 .comm _MAX17047_QRTbl20,4,2 ## @MAX17047_QRTbl20 .comm _MAX17047_QRTbl30,4,2 ## @MAX17047_QRTbl30 .no_dead_strip _max17042_write_custom_regs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function max17042_write_custom_regs _max17042_write_custom_regs: ; @max17042_write_custom_regs .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 ldp x19, x8, [x0, #8] ldr x21, [x8] Lloh0: adrp x8, _MAX17042_RCOMP0@GOTPAGE Lloh1: ldr x8, [x8, _MAX17042_RCOMP0@GOTPAGEOFF] Lloh2: ldr w1, [x8] ldr w2, [x21, #32] mov x0, x19 bl _max17042_write_verify_reg Lloh3: adrp x8, _MAX17042_TempCo@GOTPAGE Lloh4: ldr x8, [x8, _MAX17042_TempCo@GOTPAGEOFF] Lloh5: ldr w1, [x8] ldr w2, [x21, #28] mov x0, x19 bl _max17042_write_verify_reg Lloh6: adrp x8, _MAX17042_ICHGTerm@GOTPAGE Lloh7: ldr x8, [x8, _MAX17042_ICHGTerm@GOTPAGEOFF] Lloh8: ldr w1, [x8] ldr w2, [x21, #24] mov x0, x19 bl _max17042_write_verify_reg ldr x8, [x20] Lloh9: adrp x9, _MAXIM_DEVICE_TYPE_MAX17042@GOTPAGE Lloh10: ldr x9, [x9, _MAXIM_DEVICE_TYPE_MAX17042@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: Lloh12: adrp x8, _MAX17042_EmptyTempCo@GOTPAGE Lloh13: ldr x8, [x8, _MAX17042_EmptyTempCo@GOTPAGEOFF] Lloh14: ldr w1, [x8] ldr w2, [x21, #20] mov x0, x19 bl _regmap_write add x21, x21, #16 Lloh15: adrp x8, _MAX17042_K_empty0@GOTPAGE Lloh16: ldr x8, [x8, _MAX17042_K_empty0@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh17: adrp x8, _MAX17047_QRTbl00@GOTPAGE Lloh18: ldr x8, [x8, _MAX17047_QRTbl00@GOTPAGEOFF] Lloh19: ldr w1, [x8] ldr w2, [x21, #12] mov x0, x19 bl _max17042_write_verify_reg Lloh20: adrp x8, _MAX17047_QRTbl10@GOTPAGE Lloh21: ldr x8, [x8, _MAX17047_QRTbl10@GOTPAGEOFF] Lloh22: ldr w1, [x8] ldr w2, [x21, #8] mov x0, x19 bl _max17042_write_verify_reg Lloh23: adrp x8, _MAX17047_QRTbl20@GOTPAGE Lloh24: ldr x8, [x8, _MAX17047_QRTbl20@GOTPAGEOFF] Lloh25: ldr w1, [x8] ldr w2, [x21, #4] mov x0, x19 bl _max17042_write_verify_reg Lloh26: adrp x8, _MAX17047_QRTbl30@GOTPAGE Lloh27: ldr x8, [x8, _MAX17047_QRTbl30@GOTPAGEOFF] LBB0_3: ldr w1, [x8] ldr w2, [x21] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _max17042_write_verify_reg .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _MAX17042_RCOMP0,4,2 ; @MAX17042_RCOMP0 .comm _MAX17042_TempCo,4,2 ; @MAX17042_TempCo .comm _MAX17042_ICHGTerm,4,2 ; @MAX17042_ICHGTerm .comm _MAXIM_DEVICE_TYPE_MAX17042,8,3 ; @MAXIM_DEVICE_TYPE_MAX17042 .comm _MAX17042_EmptyTempCo,4,2 ; @MAX17042_EmptyTempCo .comm _MAX17042_K_empty0,4,2 ; @MAX17042_K_empty0 .comm _MAX17047_QRTbl00,4,2 ; @MAX17047_QRTbl00 .comm _MAX17047_QRTbl10,4,2 ; @MAX17047_QRTbl10 .comm _MAX17047_QRTbl20,4,2 ; @MAX17047_QRTbl20 .comm _MAX17047_QRTbl30,4,2 ; @MAX17047_QRTbl30 .no_dead_strip _max17042_write_custom_regs .subsections_via_symbols
AnghaBench/linux/drivers/power/supply/extr_max17042_battery.c_max17042_write_custom_regs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f1 ## -- Begin function f1 .p2align 4, 0x90 _f1: ## @f1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _n@GOTPCREL(%rip), %rax movl (%rax), %esi testl %esi, %esi jne LBB0_2 ## %bb.1: movl $1, (%rax) xorl %eax, %eax popq %rbp retq LBB0_2: leaq L_.str(%rip), %rdi callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _n,4,2 ## @n .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bug, n == %d \n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f1 ; -- Begin function f1 .p2align 2 _f1: ; @f1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _n@GOTPAGE Lloh1: ldr x8, [x8, _n@GOTPAGEOFF] ldr w1, [x8] cbnz w1, LBB0_2 ; %bb.1: mov w9, #1 str w9, [x8] mov x0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #1 bl _exit .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _n,4,2 ; @n .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bug, n == %d \n" .subsections_via_symbols
AnghaBench/freebsd/tools/regression/tls/ttls4/extr_ttls4.c_f1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _a ## -- Begin function a .p2align 4, 0x90 _a: ## @a .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 .globl _b ## -- Begin function b .p2align 4, 0x90 _b: ## @b .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $10, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _a ; -- Begin function a .p2align 2 _a: ; @a .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _b ; -- Begin function b .p2align 2 _b: ; @b .cfi_startproc ; %bb.0: mov w0, #10 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/133762.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qla24xx_tm_iocb _qla24xx_tm_iocb: ## @qla24xx_tm_iocb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq 16(%rdi), %r12 movq 8(%r12), %rax movq 8(%rax), %rcx movq 16(%rax), %r13 movq (%rdi), %r15 movl 8(%rdi), %r14d movq _TSK_MGMT_IOCB_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 52(%rsi) movl $1, (%rsi) movl (%rcx), %edi movl 48(%rsi), %esi callq _MAKE_HANDLE movl %eax, 48(%rbx) movl (%r12), %edi callq _cpu_to_le16 movq %rax, 40(%rbx) movslq (%r13), %rax imulq $1717986919, %rax, %rdi ## imm = 0x66666667 movq %rdi, %rax shrq $63, %rax sarq $34, %rdi addl %eax, %edi addl %edi, %edi ## kill: def $edi killed $edi killed $rdi callq _cpu_to_le16 movq %rax, 32(%rbx) movq %r15, %rdi callq _cpu_to_le32 movl %eax, 24(%rbx) movl 24(%r12), %eax movq 16(%rbx), %rcx movl %eax, (%rcx) movl 20(%r12), %eax movl %eax, 4(%rcx) movl 16(%r12), %eax movl %eax, 8(%rcx) movq 8(%r12), %rax movl (%rax), %eax movl %eax, 8(%rbx) movq _TCF_LUN_RESET@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jne LBB0_1 ## %bb.2: addq $4, %rbx movl %r14d, %edi movq %rbx, %rsi callq _int_to_scsilun movq %rbx, %rdi movl $4, %esi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _host_to_fcp_swap ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TSK_MGMT_IOCB_TYPE,4,2 ## @TSK_MGMT_IOCB_TYPE .comm _TCF_LUN_RESET,8,3 ## @TCF_LUN_RESET .no_dead_strip _qla24xx_tm_iocb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qla24xx_tm_iocb _qla24xx_tm_iocb: ; @qla24xx_tm_iocb .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 ldr x22, [x0, #16] ldr x8, [x22, #8] ldp x8, x23, [x8, #8] ldr x21, [x0] ldr w20, [x0, #8] Lloh0: adrp x9, _TSK_MGMT_IOCB_TYPE@GOTPAGE Lloh1: ldr x9, [x9, _TSK_MGMT_IOCB_TYPE@GOTPAGEOFF] Lloh2: ldr w9, [x9] str w9, [x1, #52] mov w9, #1 str w9, [x1] ldr w0, [x8] ldr w1, [x1, #48] bl _MAKE_HANDLE str w0, [x19, #48] ldr w0, [x22] bl _cpu_to_le16 str x0, [x19, #40] ldrsw x8, [x23] mov w9, #26215 movk w9, #26214, lsl #16 mul x8, x8, x9 lsr x9, x8, #32 lsr x8, x8, #63 add w8, w8, w9, asr #2 lsl w0, w8, #1 bl _cpu_to_le16 str x0, [x19, #32] mov x0, x21 bl _cpu_to_le32 str w0, [x19, #24] ldr w8, [x22, #24] ldr x9, [x19, #16] str w8, [x9] ldr w8, [x22, #20] str w8, [x9, #4] ldr w8, [x22, #16] str w8, [x9, #8] ldr x8, [x22, #8] ldr w8, [x8] str w8, [x19, #8] Lloh3: adrp x8, _TCF_LUN_RESET@GOTPAGE Lloh4: ldr x8, [x8, _TCF_LUN_RESET@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x21, x8 b.ne LBB0_2 ; %bb.1: add x19, x19, #4 mov x0, x20 mov x1, x19 bl _int_to_scsilun mov x0, x19 mov w1, #4 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _host_to_fcp_swap LBB0_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TSK_MGMT_IOCB_TYPE,4,2 ; @TSK_MGMT_IOCB_TYPE .comm _TCF_LUN_RESET,8,3 ; @TCF_LUN_RESET .no_dead_strip _qla24xx_tm_iocb .subsections_via_symbols
AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_iocb.c_qla24xx_tm_iocb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s2250_remove _s2250_remove: ## @s2250_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _i2c_get_clientdata movl %eax, %edi callq _to_state movq %rax, %rbx leaq 4(%rax), %rdi callq _v4l2_device_unregister_subdev movq %rbx, %rdi callq _v4l2_ctrl_handler_free movq %rbx, %rdi callq _kfree xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s2250_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s2250_remove _s2250_remove: ; @s2250_remove .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _i2c_get_clientdata bl _to_state mov x19, x0 add x0, x0, #4 bl _v4l2_device_unregister_subdev mov x0, x19 bl _v4l2_ctrl_handler_free mov x0, x19 bl _kfree mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _s2250_remove .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/go7007/extr_s2250-board.c_s2250_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mtk_thermal_probe _mtk_thermal_probe: ## @mtk_thermal_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %r12 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $48, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %r14 movq %rbx, %rdi callq _of_device_get_match_data movq %rax, 16(%r14) leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _devm_clk_get movq %rax, 8(%r14) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_6 ## %bb.2: movq 8(%r14), %rdi jmp LBB0_10 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r15d, %r15d LBB0_4: subl (%rax), %r15d LBB0_5: movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _devm_clk_get movq %rax, (%r14) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_8 ## %bb.7: movq (%r14), %rdi jmp LBB0_10 LBB0_8: movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx callq _platform_get_resource movq %rbx, %rdi movq %rax, %rsi callq _devm_ioremap_resource movq %rax, 40(%r14) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_11 ## %bb.9: movq 40(%r14), %rdi LBB0_10: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_11: movq %rbx, %rdi movq %r14, %rsi callq _mtk_thermal_get_calibration_data movl %eax, %r15d testl %eax, %eax jne LBB0_5 ## %bb.12: movq %r14, %rdi addq $32, %rdi callq _mutex_init movq %rbx, 24(%r14) leaq L_.str.2(%rip), %rsi xorl %r15d, %r15d movq %r12, %rdi xorl %edx, %edx callq _of_parse_phandle testq %rax, %rax je LBB0_17 ## %bb.13: movq %rax, %r13 movq %rax, %rdi callq _of_get_phys_base movq %rax, %r15 movq %r13, %rdi callq _of_node_put movq _OF_BAD_ADDR@GOTPCREL(%rip), %r13 movq %r15, -48(%rbp) ## 8-byte Spill cmpq (%r13), %r15 je LBB0_16 ## %bb.14: leaq L_.str.5(%rip), %rsi xorl %r15d, %r15d movq %r12, %rdi xorl %edx, %edx callq _of_parse_phandle testq %rax, %rax je LBB0_18 ## %bb.15: movq %rax, %r12 movq %rax, %rdi callq _of_get_phys_base movq %rax, %r15 movq %r12, %rdi callq _of_node_put cmpq (%r13), %r15 jne LBB0_20 LBB0_16: leaq L_.str.4(%rip), %rsi xorl %r15d, %r15d movq %rbx, %rdi xorl %eax, %eax callq _dev_err movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_17: leaq L_.str.3(%rip), %rsi jmp LBB0_19 LBB0_18: leaq L_.str.6(%rip), %rsi LBB0_19: movq %rbx, %rdi xorl %eax, %eax callq _dev_err movq _ENODEV@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_20: movq %r15, -56(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _device_reset movl %eax, %r15d testl %eax, %eax jne LBB0_5 ## %bb.21: movq (%r14), %rdi callq _clk_prepare_enable testl %eax, %eax je LBB0_23 ## %bb.22: movl %eax, %r15d leaq L_.str.7(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _dev_err jmp LBB0_5 LBB0_23: movq 8(%r14), %rdi callq _clk_prepare_enable testl %eax, %eax je LBB0_25 ## %bb.24: movl %eax, %r15d leaq L_.str.8(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _dev_err jmp LBB0_33 LBB0_25: movq 16(%r14), %rax cmpl $0, (%rax) jle LBB0_31 ## %bb.26: xorl %r13d, %r13d movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_28 LBB0_27: ## in Loop: Header=BB0_28 Depth=1 incl %r13d cmpl (%rax), %r13d jge LBB0_31 LBB0_28: ## =>This Loop Header: Depth=1 ## Child Loop BB0_30 Depth 2 cmpl $0, 4(%rax) jle LBB0_27 ## %bb.29: ## in Loop: Header=BB0_28 Depth=1 xorl %r12d, %r12d LBB0_30: ## Parent Loop BB0_28 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r14, %rdi movl %r12d, %esi movq -56(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx movl %r13d, %r8d callq _mtk_thermal_init_bank incl %r12d movq 16(%r14), %rax cmpl 4(%rax), %r12d jl LBB0_30 jmp LBB0_27 LBB0_31: movq %rbx, %rdi movq %r14, %rsi callq _platform_set_drvdata movq _mtk_thermal_ops@GOTPCREL(%rip), %rcx xorl %r15d, %r15d movq %rbx, %rdi xorl %esi, %esi movq %r14, %rdx callq _devm_thermal_zone_of_sensor_register movq %rax, %rbx movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_5 ## %bb.32: movq %rbx, %rdi callq _PTR_ERR movl %eax, %r15d movq 8(%r14), %rdi callq _clk_disable_unprepare LBB0_33: movq (%r14), %rdi callq _clk_disable_unprepare jmp LBB0_5 .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "therm" L_.str.1: ## @.str.1 .asciz "auxadc" .comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM L_.str.2: ## @.str.2 .asciz "mediatek,auxadc" L_.str.3: ## @.str.3 .asciz "missing auxadc node\n" .comm _ENODEV,4,2 ## @ENODEV .comm _OF_BAD_ADDR,8,3 ## @OF_BAD_ADDR L_.str.4: ## @.str.4 .asciz "Can't get auxadc phys address\n" .comm _EINVAL,4,2 ## @EINVAL L_.str.5: ## @.str.5 .asciz "mediatek,apmixedsys" L_.str.6: ## @.str.6 .asciz "missing apmixedsys node\n" L_.str.7: ## @.str.7 .asciz "Can't enable auxadc clk: %d\n" L_.str.8: ## @.str.8 .asciz "Can't enable peri clk: %d\n" .comm _mtk_thermal_ops,4,2 ## @mtk_thermal_ops .no_dead_strip _mtk_thermal_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mtk_thermal_probe _mtk_thermal_probe: ; @mtk_thermal_probe .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x0 ldr x21, [x0] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov w1, #48 bl _devm_kzalloc cbz x0, LBB0_3 ; %bb.1: mov x19, x0 mov x0, x20 bl _of_device_get_match_data str x0, [x19, #16] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _devm_clk_get str x0, [x19, #8] bl _IS_ERR cbz x0, LBB0_6 ; %bb.2: ldr x0, [x19, #8] b LBB0_10 LBB0_3: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_4: ldr w8, [x8] neg w23, w8 LBB0_5: mov x0, x23 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_6: Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _devm_clk_get str x0, [x19] bl _IS_ERR cbz x0, LBB0_8 ; %bb.7: ldr x0, [x19] b LBB0_10 LBB0_8: Lloh9: adrp x8, _IORESOURCE_MEM@GOTPAGE Lloh10: ldr x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov x0, x20 mov w2, #0 bl _platform_get_resource mov x1, x0 mov x0, x20 bl _devm_ioremap_resource str x0, [x19, #40] bl _IS_ERR cbz x0, LBB0_11 ; %bb.9: ldr x0, [x19, #40] LBB0_10: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b _PTR_ERR LBB0_11: mov x0, x20 mov x1, x19 bl _mtk_thermal_get_calibration_data mov x23, x0 cbnz w0, LBB0_5 ; %bb.12: add x0, x19, #32 bl _mutex_init str x20, [x19, #24] Lloh12: adrp x1, l_.str.2@PAGE Lloh13: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 mov w2, #0 bl _of_parse_phandle cbz x0, LBB0_17 ; %bb.13: mov x23, x0 bl _of_get_phys_base mov x22, x0 mov x0, x23 bl _of_node_put Lloh14: adrp x24, _OF_BAD_ADDR@GOTPAGE Lloh15: ldr x24, [x24, _OF_BAD_ADDR@GOTPAGEOFF] ldr x8, [x24] cmp x22, x8 b.eq LBB0_16 ; %bb.14: Lloh16: adrp x1, l_.str.5@PAGE Lloh17: add x1, x1, l_.str.5@PAGEOFF mov x0, x21 mov w2, #0 bl _of_parse_phandle cbz x0, LBB0_18 ; %bb.15: mov x23, x0 bl _of_get_phys_base mov x21, x0 mov x0, x23 bl _of_node_put ldr x8, [x24] cmp x21, x8 b.ne LBB0_20 LBB0_16: Lloh18: adrp x1, l_.str.4@PAGE Lloh19: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 bl _dev_err Lloh20: adrp x8, _EINVAL@GOTPAGE Lloh21: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_4 LBB0_17: Lloh22: adrp x1, l_.str.3@PAGE Lloh23: add x1, x1, l_.str.3@PAGEOFF b LBB0_19 LBB0_18: Lloh24: adrp x1, l_.str.6@PAGE Lloh25: add x1, x1, l_.str.6@PAGEOFF LBB0_19: mov x0, x20 bl _dev_err Lloh26: adrp x8, _ENODEV@GOTPAGE Lloh27: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_4 LBB0_20: mov x0, x20 bl _device_reset mov x23, x0 cbnz w0, LBB0_5 ; %bb.21: ldr x0, [x19] bl _clk_prepare_enable cbz w0, LBB0_23 ; %bb.22: mov x23, x0 str x23, [sp] Lloh28: adrp x1, l_.str.7@PAGE Lloh29: add x1, x1, l_.str.7@PAGEOFF mov x0, x20 bl _dev_err b LBB0_5 LBB0_23: ldr x0, [x19, #8] bl _clk_prepare_enable cbz w0, LBB0_25 ; %bb.24: mov x23, x0 str x23, [sp] Lloh30: adrp x1, l_.str.8@PAGE Lloh31: add x1, x1, l_.str.8@PAGEOFF mov x0, x20 bl _dev_err ; kill: def $w23 killed $w23 killed $x23 def $x23 b LBB0_33 LBB0_25: ldr x8, [x19, #16] ldr w9, [x8] cmp w9, #1 b.lt LBB0_31 ; %bb.26: mov w23, #0 b LBB0_28 LBB0_27: ; in Loop: Header=BB0_28 Depth=1 add w23, w23, #1 ldr w9, [x8] cmp w23, w9 b.ge LBB0_31 LBB0_28: ; =>This Loop Header: Depth=1 ; Child Loop BB0_30 Depth 2 ldr w9, [x8, #4] cmp w9, #1 b.lt LBB0_27 ; %bb.29: ; in Loop: Header=BB0_28 Depth=1 mov w24, #0 LBB0_30: ; Parent Loop BB0_28 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x19 mov x1, x24 mov x2, x21 mov x3, x22 mov x4, x23 bl _mtk_thermal_init_bank add w24, w24, #1 ldr x8, [x19, #16] ldr w9, [x8, #4] cmp w24, w9 b.lt LBB0_30 b LBB0_27 LBB0_31: mov x0, x20 mov x1, x19 bl _platform_set_drvdata Lloh32: adrp x3, _mtk_thermal_ops@GOTPAGE Lloh33: ldr x3, [x3, _mtk_thermal_ops@GOTPAGEOFF] mov x0, x20 mov w1, #0 mov x2, x19 bl _devm_thermal_zone_of_sensor_register mov x20, x0 bl _IS_ERR cbz x0, LBB0_34 ; %bb.32: mov x0, x20 bl _PTR_ERR mov x23, x0 ldr x0, [x19, #8] bl _clk_disable_unprepare LBB0_33: ldr x0, [x19] bl _clk_disable_unprepare b LBB0_5 LBB0_34: mov w23, #0 b LBB0_5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGot Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "therm" l_.str.1: ; @.str.1 .asciz "auxadc" .comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM l_.str.2: ; @.str.2 .asciz "mediatek,auxadc" l_.str.3: ; @.str.3 .asciz "missing auxadc node\n" .comm _ENODEV,4,2 ; @ENODEV .comm _OF_BAD_ADDR,8,3 ; @OF_BAD_ADDR l_.str.4: ; @.str.4 .asciz "Can't get auxadc phys address\n" .comm _EINVAL,4,2 ; @EINVAL l_.str.5: ; @.str.5 .asciz "mediatek,apmixedsys" l_.str.6: ; @.str.6 .asciz "missing apmixedsys node\n" l_.str.7: ; @.str.7 .asciz "Can't enable auxadc clk: %d\n" l_.str.8: ; @.str.8 .asciz "Can't enable peri clk: %d\n" .comm _mtk_thermal_ops,4,2 ; @mtk_thermal_ops .no_dead_strip _mtk_thermal_probe .subsections_via_symbols
AnghaBench/linux/drivers/thermal/extr_mtk_thermal.c_mtk_thermal_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ram_unpoint _ram_unpoint: ## @ram_unpoint .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ram_unpoint .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ram_unpoint _ram_unpoint: ; @ram_unpoint .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _ram_unpoint .subsections_via_symbols
AnghaBench/linux/drivers/mtd/devices/extr_mtdram.c_ram_unpoint.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ovl_file_accessed _ovl_file_accessed: ## @ovl_file_accessed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _O_NOATIME@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rdi) je LBB0_1 LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_1: movq %rdi, %rbx callq _file_inode movq %rax, %r14 movq %rax, %rdi callq _ovl_inode_upper testq %rax, %rax je LBB0_6 ## %bb.2: movq %rax, %r15 movq %r14, %rdi addq $4, %rdi movq %rax, %rsi addq $4, %rsi callq _timespec64_equal testl %eax, %eax je LBB0_4 ## %bb.3: movq %r14, %rdi movq %r15, %rsi callq _timespec64_equal testl %eax, %eax jne LBB0_5 LBB0_4: movl 4(%r15), %eax movl %eax, 4(%r14) movl (%r15), %eax movl %eax, (%r14) LBB0_5: addq $4, %rbx movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _touch_atime ## TAILCALL .cfi_endproc ## -- End function .comm _O_NOATIME,4,2 ## @O_NOATIME .no_dead_strip _ovl_file_accessed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ovl_file_accessed _ovl_file_accessed: ; @ovl_file_accessed .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0] Lloh0: adrp x9, _O_NOATIME@GOTPAGE Lloh1: ldr x9, [x9, _O_NOATIME@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 LBB0_1: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_2: mov x19, x0 bl _file_inode mov x20, x0 bl _ovl_inode_upper cbz x0, LBB0_1 ; %bb.3: mov x21, x0 add x0, x20, #4 add x1, x21, #4 bl _timespec64_equal cbz w0, LBB0_5 ; %bb.4: mov x0, x20 mov x1, x21 bl _timespec64_equal cbnz w0, LBB0_6 LBB0_5: ldr d0, [x21] str d0, [x20] LBB0_6: add x0, x19, #4 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _touch_atime .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _O_NOATIME,4,2 ; @O_NOATIME .no_dead_strip _ovl_file_accessed .subsections_via_symbols
AnghaBench/linux/fs/overlayfs/extr_file.c_ovl_file_accessed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strstr ## -- Begin function strstr .p2align 4, 0x90 _strstr: ## @strstr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq _strlen testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _strlen cmpq %r15, %rax jl LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq %r14, %rsi movq %r15, %rdx callq _memcmp testq %rax, %rax je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 incq %rbx jmp LBB0_2 LBB0_5: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strstr ; -- Begin function strstr .p2align 2 _strstr: ; @strstr .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 mov x0, x1 bl _strlen cbz x0, LBB0_6 ; %bb.1: mov x21, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _strlen cmp x0, x21 b.lt LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x19 mov x1, x20 mov x2, x21 bl _memcmp cbz x0, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 add x19, x19, #1 b LBB0_2 LBB0_5: mov x19, #0 LBB0_6: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/reactos/drivers/bus/acpi/acpica/utilities/extr_utclib.c_strstr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pifs_access _pifs_access: ## @pifs_access .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq _FULL_PATH movq _full_path@GOTPCREL(%rip), %rax movl (%rax), %edi movl %ebx, %esi callq _access movq _errno@GOTPCREL(%rip), %rcx xorl %edx, %edx subl (%rcx), %edx cmpl $-1, %eax cmovel %edx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _full_path,4,2 ## @full_path .comm _errno,4,2 ## @errno .no_dead_strip _pifs_access .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pifs_access _pifs_access: ; @pifs_access .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _FULL_PATH Lloh0: adrp x8, _full_path@GOTPAGE Lloh1: ldr x8, [x8, _full_path@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 bl _access Lloh3: adrp x8, _errno@GOTPAGE Lloh4: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmn w0, #1 csneg w0, w0, w8, ne ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _full_path,4,2 ; @full_path .comm _errno,4,2 ; @errno .no_dead_strip _pifs_access .subsections_via_symbols
AnghaBench/pifs/src/extr_πfs.c_pifs_access.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cdc_ncm_free _cdc_ncm_free: ## @cdc_ncm_free .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_6 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _dev_kfree_skb_any movq $0, 8(%rbx) LBB0_3: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.4: callq _dev_kfree_skb_any movq $0, (%rbx) LBB0_5: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _kfree ## TAILCALL LBB0_6: retq .cfi_endproc ## -- End function .no_dead_strip _cdc_ncm_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cdc_ncm_free _cdc_ncm_free: ; @cdc_ncm_free .cfi_startproc ; %bb.0: cbz x0, LBB0_6 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] cbz x0, LBB0_3 ; %bb.2: bl _dev_kfree_skb_any str xzr, [x19, #8] LBB0_3: ldr x0, [x19] cbz x0, LBB0_5 ; %bb.4: bl _dev_kfree_skb_any str xzr, [x19] LBB0_5: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kfree LBB0_6: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .no_dead_strip _cdc_ncm_free .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/usb/extr_cdc_ncm.c_cdc_ncm_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InitWaitThread ## -- Begin function InitWaitThread .p2align 4, 0x90 _InitWaitThread: ## @InitWaitThread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi callq _NewList movq _WaitThreadList@GOTPCREL(%rip), %rcx movl %eax, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _WaitThreadList,4,2 ## @WaitThreadList .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InitWaitThread ; -- Begin function InitWaitThread .p2align 2 _InitWaitThread: ; @InitWaitThread .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x0, #0 bl _NewList Lloh0: adrp x8, _WaitThreadList@GOTPAGE Lloh1: ldr x8, [x8, _WaitThreadList@GOTPAGEOFF] Lloh2: str w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _WaitThreadList,4,2 ; @WaitThreadList .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_InitWaitThread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vdev_disk_ldi_physio ## -- Begin function vdev_disk_ldi_physio .p2align 4, 0x90 _vdev_disk_ldi_physio: ## @vdev_disk_ldi_physio .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB0_6 ## %bb.1: movl %r8d, %ebx movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movq _B_READ@GOTPCREL(%rip), %rax movl (%rax), %eax movl %ecx, -44(%rbp) ## 4-byte Spill movq _B_WRITE@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl %edi, %edi testl %r8d, %eax setne %dil callq _ASSERT movq _KM_SLEEP@GOTPCREL(%rip), %rax movl (%rax), %edi callq _getrbuf movq _B_BUSY@GOTPCREL(%rip), %rcx orl (%rcx), %ebx movq _B_NOCACHE@GOTPCREL(%rip), %rcx orl (%rcx), %ebx movq _B_FAILFAST@GOTPCREL(%rip), %rcx orl (%rcx), %ebx movq %rax, %r13 movl %ebx, (%rax) movq %r15, 8(%rax) movq %r12, 40(%rax) movl -44(%rbp), %edi ## 4-byte Reload callq _lbtodb movl %eax, 32(%r13) movq %r15, 16(%r13) movq %r14, %rdi movq %r13, %rsi callq _ldi_strategy xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT movq %r13, %rdi callq _biowait movl %eax, %ebx testl %eax, %eax jne LBB0_5 ## %bb.2: cmpq $0, 24(%r13) je LBB0_3 ## %bb.4: movq _EIO@GOTPCREL(%rip), %rax movl (%rax), %edi callq _SET_ERROR movl %eax, %ebx jmp LBB0_5 LBB0_6: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _SET_ERROR ## TAILCALL LBB0_3: xorl %ebx, %ebx LBB0_5: movq %r13, %rdi callq _freerbuf movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _B_READ,4,2 ## @B_READ .comm _B_WRITE,4,2 ## @B_WRITE .comm _KM_SLEEP,4,2 ## @KM_SLEEP .comm _B_BUSY,4,2 ## @B_BUSY .comm _B_NOCACHE,4,2 ## @B_NOCACHE .comm _B_FAILFAST,4,2 ## @B_FAILFAST .comm _EIO,4,2 ## @EIO .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vdev_disk_ldi_physio ; -- Begin function vdev_disk_ldi_physio .p2align 2 _vdev_disk_ldi_physio: ; @vdev_disk_ldi_physio .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 cbz x0, LBB0_4 ; %bb.1: mov x24, x4 mov x22, x3 mov x21, x2 mov x23, x1 mov x20, x0 Lloh0: adrp x8, _B_READ@GOTPAGE Lloh1: ldr x8, [x8, _B_READ@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _B_WRITE@GOTPAGE Lloh4: ldr x9, [x9, _B_WRITE@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w8, w9 tst w8, w4 cset w0, ne bl _ASSERT Lloh6: adrp x8, _KM_SLEEP@GOTPAGE Lloh7: ldr x8, [x8, _KM_SLEEP@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _getrbuf mov x19, x0 Lloh9: adrp x8, _B_BUSY@GOTPAGE Lloh10: ldr x8, [x8, _B_BUSY@GOTPAGEOFF] Lloh11: ldr w8, [x8] orr w8, w8, w24 Lloh12: adrp x9, _B_NOCACHE@GOTPAGE Lloh13: ldr x9, [x9, _B_NOCACHE@GOTPAGEOFF] Lloh14: ldr w9, [x9] Lloh15: adrp x10, _B_FAILFAST@GOTPAGE Lloh16: ldr x10, [x10, _B_FAILFAST@GOTPAGEOFF] orr w8, w8, w9 Lloh17: ldr w9, [x10] orr w8, w8, w9 str w8, [x0] str x21, [x0, #8] str x23, [x0, #40] mov x0, x22 bl _lbtodb str w0, [x19, #32] str x21, [x19, #16] mov x0, x20 mov x1, x19 bl _ldi_strategy cmp w0, #0 cset w0, eq bl _ASSERT mov x0, x19 bl _biowait mov x20, x0 cbnz w0, LBB0_6 ; %bb.2: ldr x8, [x19, #24] cbz x8, LBB0_5 ; %bb.3: Lloh18: adrp x8, _EIO@GOTPAGE Lloh19: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh20: ldr w0, [x8] bl _SET_ERROR mov x20, x0 b LBB0_6 LBB0_4: Lloh21: adrp x8, _EINVAL@GOTPAGE Lloh22: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh23: ldr w0, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _SET_ERROR LBB0_5: mov w20, #0 LBB0_6: mov x0, x19 bl _freerbuf mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _B_READ,4,2 ; @B_READ .comm _B_WRITE,4,2 ; @B_WRITE .comm _KM_SLEEP,4,2 ; @KM_SLEEP .comm _B_BUSY,4,2 ; @B_BUSY .comm _B_NOCACHE,4,2 ; @B_NOCACHE .comm _B_FAILFAST,4,2 ; @B_FAILFAST .comm _EIO,4,2 ; @EIO .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_vdev_disk.c_vdev_disk_ldi_physio.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _plus ## -- Begin function plus .p2align 4, 0x90 _plus: ## @plus .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rsi), %eax addl (%rdi), %eax movl %eax, (%rdx) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _plus ; -- Begin function plus .p2align 2 _plus: ; @plus .cfi_startproc ; %bb.0: ldr w8, [x0] ldr w9, [x1] add w8, w9, w8 str w8, [x2] ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/885906.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_str(%rip), %r14 movq %r14, %rdi callq _puts leaq L_.str.1(%rip), %rbx movq %rbx, %rdi xorl %esi, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $2, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $5, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $7, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $8, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts movq %rbx, %rdi movl $9, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %esi, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $2, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $5, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $7, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $8, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $9, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $10, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $9, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $8, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $7, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $5, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $2, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d\n" L_str: ## @str .asciz "<<<<<<" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x20, l_str@PAGE Lloh1: add x20, x20, l_str@PAGEOFF mov x0, x20 bl _puts str xzr, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _printf mov x0, x20 bl _puts mov w21, #1 str x21, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w22, #2 str x22, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w23, #3 str x23, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w24, #4 str x24, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w25, #5 str x25, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w26, #6 str x26, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w27, #7 str x27, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w28, #8 str x28, [sp] mov x0, x19 bl _printf mov x0, x20 bl _puts mov w20, #9 str x20, [sp] mov x0, x19 bl _printf str xzr, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x19 bl _printf str x22, [sp] mov x0, x19 bl _printf str x23, [sp] mov x0, x19 bl _printf str x24, [sp] mov x0, x19 bl _printf str x25, [sp] mov x0, x19 bl _printf str x26, [sp] mov x0, x19 bl _printf str x27, [sp] mov x0, x19 bl _printf str x28, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf mov w8, #10 str x8, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf str x28, [sp] mov x0, x19 bl _printf str x27, [sp] mov x0, x19 bl _printf str x26, [sp] mov x0, x19 bl _printf str x25, [sp] mov x0, x19 bl _printf str x24, [sp] mov x0, x19 bl _printf str x23, [sp] mov x0, x19 bl _printf str x22, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x19 bl _printf mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d\n" l_str: ; @str .asciz "<<<<<<" .subsections_via_symbols
the_stack_data/19317.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Unroll3BytesSkip1SwapSwapFirst _Unroll3BytesSkip1SwapSwapFirst: ## @Unroll3BytesSkip1SwapSwapFirst .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rcx, %rbx movq %rdx, %r14 movl (%rcx), %edi callq _FROM_8_TO_16 movl %eax, 8(%r14) movl 4(%rbx), %edi callq _FROM_8_TO_16 movl %eax, 4(%r14) movl 8(%rbx), %edi callq _FROM_8_TO_16 movl %eax, (%r14) addq $16, %rbx movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Unroll3BytesSkip1SwapSwapFirst .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Unroll3BytesSkip1SwapSwapFirst _Unroll3BytesSkip1SwapSwapFirst: ; @Unroll3BytesSkip1SwapSwapFirst .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x3 mov x20, x2 ldr w0, [x3] bl _FROM_8_TO_16 str w0, [x20, #8] ldr w0, [x19, #4] bl _FROM_8_TO_16 str w0, [x20, #4] ldr w0, [x19, #8] bl _FROM_8_TO_16 str w0, [x20] add x0, x19, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _Unroll3BytesSkip1SwapSwapFirst .subsections_via_symbols
AnghaBench/sumatrapdf/ext/lcms2/src/extr_cmspack.c_Unroll3BytesSkip1SwapSwapFirst.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function align_get_bits _align_get_bits: ## @align_get_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _get_bits_count negl %eax andl $7, %eax je LBB0_2 ## %bb.1: movq %rbx, %rdi movl %eax, %esi callq _skip_bits LBB0_2: movl (%rbx), %eax sarl $3, %eax cltq shlq $2, %rax addq 8(%rbx), %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _align_get_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function align_get_bits _align_get_bits: ; @align_get_bits .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _get_bits_count neg w8, w0 ands w1, w8, #0x7 b.eq LBB0_2 ; %bb.1: mov x0, x19 bl _skip_bits LBB0_2: ldr x8, [x19, #8] ldr w9, [x19] asr w9, w9, #3 add x0, x8, w9, sxtw #2 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _align_get_bits .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_get_bits.h_align_get_bits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _edma_unlink ## -- Begin function edma_unlink .p2align 4, 0x90 _edma_unlink: ## @edma_unlink .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx callq _EDMA_CTLR movl %eax, %r14d movl %ebx, %edi callq _EDMA_CHAN_SLOT movq _edma_info@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl %r14d, %edx movq (%rcx,%rdx,8), %rcx cmpl (%rcx), %eax jae LBB0_1 ## %bb.2: movq _PARM_LINK_BCNTRLD@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %r14d, %edi movl %eax, %edx movl $65535, %ecx ## imm = 0xFFFF popq %rbx popq %r14 popq %rbp jmp _edma_parm_or ## TAILCALL LBB0_1: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _edma_info,8,3 ## @edma_info .comm _PARM_LINK_BCNTRLD,4,2 ## @PARM_LINK_BCNTRLD .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _edma_unlink ; -- Begin function edma_unlink .p2align 2 _edma_unlink: ; @edma_unlink .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _EDMA_CTLR mov x19, x0 mov x0, x20 bl _EDMA_CHAN_SLOT Lloh0: adrp x8, _edma_info@GOTPAGE Lloh1: ldr x8, [x8, _edma_info@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x8, [x8, w19, uxtw #3] ldr w8, [x8] cmp w0, w8 b.hs LBB0_2 ; %bb.1: mov x2, x0 Lloh3: adrp x8, _PARM_LINK_BCNTRLD@GOTPAGE Lloh4: ldr x8, [x8, _PARM_LINK_BCNTRLD@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 mov w3, #65535 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _edma_parm_or LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _edma_info,8,3 ; @edma_info .comm _PARM_LINK_BCNTRLD,4,2 ; @PARM_LINK_BCNTRLD .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/arm/mach-davinci/extr_dma.c_edma_unlink.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_str(%rip), %rdi callq _puts movabsq $644245094430, %rax ## imm = 0x960000001E movq %rax, -16(%rbp) movabsq $4294967297000000, %rax ## imm = 0xF4240000F4240 movq %rax, -8(%rbp) movl $1, %edi movl $1024, %esi ## imm = 0x400 callq _calloc leaq L_.str.1(%rip), %rdi leaq -16(%rbp), %rdx leaq -8(%rbp), %r8 movl $11, %esi movl $8, %ecx movl $8, %r9d pushq $1024 ## imm = 0x400 pushq %rax callq _aerogel_sensor_native addq $16, %rsp leaq L_str.3(%rip), %rdi callq _puts xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "camera\timu" L_str: ## @str .asciz "======Shortage-Memory starts======" L_str.3: ## @str.3 .asciz "======Shortage-Memory ends======" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov x8, #30 movk x8, #150, lsl #32 str x8, [sp, #8] mov x8, #4222189076152335 movk x8, #16960 movk x8, #16960, lsl #32 str x8, [sp] mov w0, #1 mov w1, #1024 bl _calloc mov x6, x0 Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF add x2, sp, #8 mov x4, sp mov w1, #11 mov w3, #8 mov w5, #8 mov w7, #1024 bl _aerogel_sensor_native Lloh4: adrp x0, l_str.3@PAGE Lloh5: add x0, x0, l_str.3@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "camera\timu" l_str: ; @str .asciz "======Shortage-Memory starts======" l_str.3: ; @str.3 .asciz "======Shortage-Memory ends======" .subsections_via_symbols
the_stack_data/159516719.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _iser_dma_map_task_data ## -- Begin function iser_dma_map_task_data .p2align 4, 0x90 _iser_dma_map_task_data: ## @iser_dma_map_task_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq (%rdi), %rax movl %edx, %edx movl $1, (%rax,%rdx,4) movq 8(%rdi), %rax movq (%rax), %rax movq (%rax), %rdi movl 4(%rsi), %edx movl 8(%rsi), %esi callq _ib_dma_map_sg movl %eax, %ecx movl %eax, (%rbx) xorl %eax, %eax testl %ecx, %ecx jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _ISER_ERR movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "dma_map_sg failed" .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _iser_dma_map_task_data ; -- Begin function iser_dma_map_task_data .p2align 2 _iser_dma_map_task_data: ; @iser_dma_map_task_data .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov w8, #1 ldp x9, x10, [x0] str w8, [x9, w2, uxtw #2] ldr x8, [x10] ldr x0, [x8] ldr w1, [x1, #8] ldr w2, [x19, #4] bl _ib_dma_map_sg str w0, [x19] cbz w0, LBB0_2 ; %bb.1: mov w0, #0 b LBB0_3 LBB0_2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _ISER_ERR Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w0, [x8] LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "dma_map_sg failed" .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/freebsd/sys/dev/iser/extr_iser_memory.c_iser_dma_map_task_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq $0, -24(%rbp) xorps %xmm0, %xmm0 movaps %xmm0, -80(%rbp) movaps %xmm0, -64(%rbp) movaps %xmm0, -48(%rbp) movl $1, -72(%rbp) cmpl $2, %edi jne LBB0_1 ## %bb.2: movq 8(%rsi), %rdi jmp LBB0_3 LBB0_1: leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi LBB0_3: leaq L_.str.2(%rip), %rsi leaq -80(%rbp), %rdx leaq -24(%rbp), %rcx callq _getaddrinfo testl %eax, %eax jne LBB0_13 ## %bb.4: movq -24(%rbp), %rbx testq %rbx, %rbx je LBB0_11 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movl 4(%rbx), %edi movl 8(%rbx), %esi movl 12(%rbx), %edx callq _socket testl %eax, %eax js LBB0_7 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movl %eax, %r14d movq 32(%rbx), %rsi movl 16(%rbx), %edx movl %eax, %edi callq _connect testl %eax, %eax jns LBB0_12 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 movl %r14d, %edi callq _close movq 40(%rbx), %rbx testq %rbx, %rbx jne LBB0_6 LBB0_11: leaq L_.str.5(%rip), %rdi jmp LBB0_8 LBB0_12: movq -24(%rbp), %rdi callq _freeaddrinfo movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdi movl %r14d, %esi callq _str_cli leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $64, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_7: leaq L_.str.4(%rip), %rdi LBB0_8: xorl %eax, %eax callq _printf movl $-1, %edi callq _exit LBB0_13: movl %eax, %edi callq _gai_strerror leaq L_.str.3(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $-1, %edi callq _exit .cfi_endproc ## -- End function .globl _str_cli ## -- Begin function str_cli .p2align 4, 0x90 _str_cli: ## @str_cli .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 $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, -168(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -160(%rbp), %r15 .p2align 4, 0x90 LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_6 Depth 2 movq %r15, %rdi movl $100, %esi movq -168(%rbp), %rdx ## 8-byte Reload callq _fgets testq %rax, %rax je LBB1_17 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq %r15, %rdi callq _strlen movq %rax, %r12 testl %r12d, %r12d je LBB1_3 ## %bb.4: ## in Loop: Header=BB1_1 Depth=1 movl %r12d, %r13d xorl %r14d, %r14d jmp LBB1_6 .p2align 4, 0x90 LBB1_7: ## in Loop: Header=BB1_6 Depth=2 callq ___error cmpl $4, (%rax) jne LBB1_8 LBB1_6: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ebx, %edi movq %r15, %rsi movq %r13, %rdx callq _write testl $-2147483648, %eax ## imm = 0x80000000 jne LBB1_7 ## %bb.9: ## in Loop: Header=BB1_6 Depth=2 testl %eax, %eax je LBB1_10 ## %bb.5: ## in Loop: Header=BB1_6 Depth=2 addl %eax, %r14d movl %r12d, %r13d leaq (%r14,%rbp), %r15 addq $-160, %r15 subl %r14d, %r13d ja LBB1_6 LBB1_10: ## in Loop: Header=BB1_1 Depth=1 cmpl %r12d, %r14d je LBB1_12 LBB1_11: ## in Loop: Header=BB1_1 Depth=1 leaq L_str.11(%rip), %rdi callq _puts LBB1_12: ## in Loop: Header=BB1_1 Depth=1 movl $100, %edx movl %ebx, %edi leaq -160(%rbp), %r15 movq %r15, %rsi callq _read testl %eax, %eax jle LBB1_13 ## %bb.15: ## in Loop: Header=BB1_1 Depth=1 movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r15, %rdi callq _fputs cmpl $-1, %eax jne LBB1_1 jmp LBB1_16 .p2align 4, 0x90 LBB1_3: ## in Loop: Header=BB1_1 Depth=1 xorl %r14d, %r14d cmpl %r12d, %r14d jne LBB1_11 jmp LBB1_12 LBB1_17: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB1_19 ## %bb.18: addq $136, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_8: leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf xorl %edi, %edi callq _exit LBB1_13: leaq L_.str.9(%rip), %rdi jmp LBB1_14 LBB1_16: leaq L_.str.10(%rip), %rdi LBB1_14: xorl %eax, %eax callq _printf movl $-1, %edi callq _exit LBB1_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "localhost" L_.str.2: ## @.str.2 .asciz "echo" L_.str.3: ## @.str.3 .asciz "%s" L_.str.4: ## @.str.4 .asciz "socketfd create wrong" L_.str.5: ## @.str.5 .asciz "can not connect to the host!" L_.str.6: ## @.str.6 .asciz "The client is shut!" .section __TEXT,__const .globl _MAXLEN ## @MAXLEN .p2align 2 _MAXLEN: .long 100 ## 0x64 .section __TEXT,__cstring,cstring_literals L_.str.7: ## @.str.7 .asciz "Write to socket wrong!" L_.str.9: ## @.str.9 .asciz "Read from server failed!" L_.str.10: ## @.str.10 .asciz "fputs error!" L_str: ## @str .asciz "Use localhost!" L_str.11: ## @str.11 .asciz "This data can not send completely!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 str xzr, [sp, #8] movi.2d v0, #0000000000000000 stp q0, q0, [sp, #16] str q0, [sp, #48] mov w8, #1 str w8, [sp, #24] cmp w0, #2 b.ne LBB0_2 ; %bb.1: ldr x0, [x1, #8] b LBB0_3 LBB0_2: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF LBB0_3: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF add x2, sp, #16 add x3, sp, #8 bl _getaddrinfo cbnz w0, LBB0_12 ; %bb.4: ldr x20, [sp, #8] cbz x20, LBB0_8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp w0, w1, [x20, #4] ldr w2, [x20, #12] bl _socket tbnz w0, #31, LBB0_10 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x19, x0 ldr x1, [x20, #32] ldr w2, [x20, #16] bl _connect tbz w0, #31, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _close ldr x20, [x20, #40] cbnz x20, LBB0_5 LBB0_8: Lloh6: adrp x0, l_.str.5@PAGE Lloh7: add x0, x0, l_.str.5@PAGEOFF b LBB0_11 LBB0_9: ldr x0, [sp, #8] bl _freeaddrinfo Lloh8: adrp x8, ___stdinp@GOTPAGE Lloh9: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh10: ldr x0, [x8] mov x1, x19 bl _str_cli Lloh11: adrp x0, l_.str.6@PAGE Lloh12: add x0, x0, l_.str.6@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_10: Lloh13: adrp x0, l_.str.4@PAGE Lloh14: add x0, x0, l_.str.4@PAGEOFF LBB0_11: bl _printf mov w0, #-1 bl _exit LBB0_12: bl _gai_strerror str x0, [sp] Lloh15: adrp x0, l_.str.3@PAGE Lloh16: add x0, x0, l_.str.3@PAGEOFF b LBB0_11 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .cfi_endproc ; -- End function .globl _str_cli ; -- Begin function str_cli .p2align 2 _str_cli: ; @str_cli .cfi_startproc ; %bb.0: sub sp, sp, #208 .cfi_def_cfa_offset 208 stp x28, x27, [sp, #112] ; 16-byte Folded Spill stp x26, x25, [sp, #128] ; 16-byte Folded Spill stp x24, x23, [sp, #144] ; 16-byte Folded Spill stp x22, x21, [sp, #160] ; 16-byte Folded Spill stp x20, x19, [sp, #176] ; 16-byte Folded Spill stp x29, x30, [sp, #192] ; 16-byte Folded Spill add x29, sp, #192 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 Lloh17: adrp x8, ___stack_chk_guard@GOTPAGE Lloh18: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x8, [x8] stur x8, [x29, #-88] add x25, sp, #4 Lloh20: adrp x26, ___stdoutp@GOTPAGE Lloh21: ldr x26, [x26, ___stdoutp@GOTPAGEOFF] Lloh22: adrp x21, l_str.11@PAGE Lloh23: add x21, x21, l_str.11@PAGEOFF LBB1_1: ; =>This Loop Header: Depth=1 ; Child Loop BB1_5 Depth 2 add x0, sp, #4 mov w1, #100 mov x2, x20 bl _fgets cbz x0, LBB1_13 ; %bb.2: ; in Loop: Header=BB1_1 Depth=1 add x0, sp, #4 bl _strlen mov w27, #0 mov x22, x0 cbz w22, LBB1_8 ; %bb.3: ; in Loop: Header=BB1_1 Depth=1 add x23, sp, #4 and x24, x22, #0xffffffff b LBB1_5 LBB1_4: ; in Loop: Header=BB1_5 Depth=2 bl ___error ldr w8, [x0] cmp w8, #4 b.ne LBB1_15 LBB1_5: ; Parent Loop BB1_1 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x19 mov x1, x23 mov x2, x24 bl _write tbnz w0, #31, LBB1_4 ; %bb.6: ; in Loop: Header=BB1_5 Depth=2 cbz w0, LBB1_8 ; %bb.7: ; in Loop: Header=BB1_5 Depth=2 add w27, w27, w0 add x23, x25, x27 subs w24, w22, w27 b.hi LBB1_5 LBB1_8: ; in Loop: Header=BB1_1 Depth=1 cmp w27, w22 b.eq LBB1_10 ; %bb.9: ; in Loop: Header=BB1_1 Depth=1 mov x0, x21 bl _puts LBB1_10: ; in Loop: Header=BB1_1 Depth=1 add x1, sp, #4 mov x0, x19 mov w2, #100 bl _read cmp w0, #0 b.le LBB1_16 ; %bb.11: ; in Loop: Header=BB1_1 Depth=1 ldr x1, [x26] add x0, sp, #4 bl _fputs cmn w0, #1 b.ne LBB1_1 ; %bb.12: Lloh24: adrp x0, l_.str.10@PAGE Lloh25: add x0, x0, l_.str.10@PAGEOFF b LBB1_17 LBB1_13: ldur x8, [x29, #-88] Lloh26: adrp x9, ___stack_chk_guard@GOTPAGE Lloh27: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh28: ldr x9, [x9] cmp x9, x8 b.ne LBB1_18 ; %bb.14: ldp x29, x30, [sp, #192] ; 16-byte Folded Reload ldp x20, x19, [sp, #176] ; 16-byte Folded Reload ldp x22, x21, [sp, #160] ; 16-byte Folded Reload ldp x24, x23, [sp, #144] ; 16-byte Folded Reload ldp x26, x25, [sp, #128] ; 16-byte Folded Reload ldp x28, x27, [sp, #112] ; 16-byte Folded Reload add sp, sp, #208 ret LBB1_15: Lloh29: adrp x0, l_.str.7@PAGE Lloh30: add x0, x0, l_.str.7@PAGEOFF bl _printf mov w0, #0 bl _exit LBB1_16: Lloh31: adrp x0, l_.str.9@PAGE Lloh32: add x0, x0, l_.str.9@PAGEOFF LBB1_17: bl _printf mov w0, #-1 bl _exit LBB1_18: bl ___stack_chk_fail .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "localhost" l_.str.2: ; @.str.2 .asciz "echo" l_.str.3: ; @.str.3 .asciz "%s" l_.str.4: ; @.str.4 .asciz "socketfd create wrong" l_.str.5: ; @.str.5 .asciz "can not connect to the host!" l_.str.6: ; @.str.6 .asciz "The client is shut!" .section __TEXT,__const .globl _MAXLEN ; @MAXLEN .p2align 2 _MAXLEN: .long 100 ; 0x64 .section __TEXT,__cstring,cstring_literals l_.str.7: ; @.str.7 .asciz "Write to socket wrong!" l_.str.9: ; @.str.9 .asciz "Read from server failed!" l_.str.10: ; @.str.10 .asciz "fputs error!" l_str: ; @str .asciz "Use localhost!" l_str.11: ; @str.11 .asciz "This data can not send completely!" .subsections_via_symbols
the_stack_data/92323960.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTD_createDDict ## -- Begin function ZSTD_createDDict .p2align 4, 0x90 _ZSTD_createDDict: ## @ZSTD_createDDict .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 xorps %xmm0, %xmm0 movaps %xmm0, -32(%rbp) movq $0, -16(%rbp) movq _ZSTD_dlm_byCopy@GOTPCREL(%rip), %rax movl (%rax), %edx movq _ZSTD_dct_auto@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -16(%rbp), %rax movq %rax, 16(%rsp) movaps -32(%rbp), %xmm0 movups %xmm0, (%rsp) callq _ZSTD_createDDict_advanced addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ZSTD_dlm_byCopy,4,2 ## @ZSTD_dlm_byCopy .comm _ZSTD_dct_auto,4,2 ## @ZSTD_dct_auto .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTD_createDDict ; -- Begin function ZSTD_createDDict .p2align 2 _ZSTD_createDDict: ; @ZSTD_createDDict .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 Lloh0: adrp x8, _ZSTD_dlm_byCopy@GOTPAGE Lloh1: ldr x8, [x8, _ZSTD_dlm_byCopy@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, _ZSTD_dct_auto@GOTPAGE Lloh4: ldr x8, [x8, _ZSTD_dct_auto@GOTPAGEOFF] Lloh5: ldr w3, [x8] stp xzr, xzr, [sp, #8] str xzr, [sp, #24] add x4, sp, #8 bl _ZSTD_createDDict_advanced ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ZSTD_dlm_byCopy,4,2 ; @ZSTD_dlm_byCopy .comm _ZSTD_dct_auto,4,2 ; @ZSTD_dct_auto .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/zstd/lib/decompress/extr_zstd_ddict.c_ZSTD_createDDict.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pvr2_ctrl_is_writable ## -- Begin function pvr2_ctrl_is_writable .p2align 4, 0x90 _pvr2_ctrl_is_writable: ## @pvr2_ctrl_is_writable .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rcx xorl %eax, %eax cmpq $0, (%rcx) setne %al popq %rbp retq LBB0_1: xorl %eax, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pvr2_ctrl_is_writable ; -- Begin function pvr2_ctrl_is_writable .p2align 2 _pvr2_ctrl_is_writable: ; @pvr2_ctrl_is_writable .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: ldr x8, [x0] ldr x8, [x8] cmp x8, #0 cset w0, ne LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-ctrl.c_pvr2_ctrl_is_writable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fujitsu_ack _fujitsu_ack: ## @fujitsu_ack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _fujitsu@GOTPCREL(%rip), %rax movq (%rax), %rdi addq $2, %rdi popq %rbp jmp _inb ## TAILCALL .cfi_endproc ## -- End function .comm _fujitsu,8,3 ## @fujitsu .no_dead_strip _fujitsu_ack .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fujitsu_ack _fujitsu_ack: ; @fujitsu_ack .cfi_startproc ; %bb.0: Lloh0: adrp x8, _fujitsu@GOTPAGE Lloh1: ldr x8, [x8, _fujitsu@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x0, x8, #2 b _inb .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _fujitsu,8,3 ; @fujitsu .no_dead_strip _fujitsu_ack .subsections_via_symbols
AnghaBench/linux/drivers/platform/x86/extr_fujitsu-tablet.c_fujitsu_ack.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/91191.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nfc_genl_send_target _nfc_genl_send_target: ## @nfc_genl_send_target .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r12 movl 8(%rdx), %edi callq _NETLINK_CB movq (%rbx), %rcx movl (%rcx), %edx movq _NFC_CMD_GET_TARGET@GOTPCREL(%rip), %rcx movl (%rcx), %r9d movq _nfc_genl_family@GOTPCREL(%rip), %rcx movq %r12, %rdi movl %eax, %esi movl %r15d, %r8d callq _genlmsg_put testq %rax, %rax je LBB0_16 ## %bb.1: movq %rax, %r15 movq %rbx, %rdi movq %rax, %rsi callq _genl_dump_check_consistent movq _NFC_ATTR_TARGET_INDEX@GOTPCREL(%rip), %rax movl (%rax), %esi movl 64(%r14), %edx movq %r12, %rdi callq _nla_put_u32 testq %rax, %rax jne LBB0_15 ## %bb.2: movq _NFC_ATTR_PROTOCOLS@GOTPCREL(%rip), %rax movl (%rax), %esi movl 60(%r14), %edx movq %r12, %rdi callq _nla_put_u32 testq %rax, %rax jne LBB0_15 ## %bb.3: movq _NFC_ATTR_TARGET_SENS_RES@GOTPCREL(%rip), %rax movl (%rax), %esi movl 56(%r14), %edx movq %r12, %rdi callq _nla_put_u16 testq %rax, %rax jne LBB0_15 ## %bb.4: movq _NFC_ATTR_TARGET_SEL_RES@GOTPCREL(%rip), %rax movl (%rax), %esi movl 52(%r14), %edx movq %r12, %rdi callq _nla_put_u8 testq %rax, %rax je LBB0_5 LBB0_15: movq %r12, %rdi movq %r15, %rsi callq _genlmsg_cancel LBB0_16: movq _EMSGSIZE@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_17: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq (%r14), %rdx testq %rdx, %rdx jle LBB0_7 ## %bb.6: movq _NFC_ATTR_TARGET_NFCID1@GOTPCREL(%rip), %rax movl (%rax), %esi movl 48(%r14), %ecx movq %r12, %rdi ## kill: def $edx killed $edx killed $rdx callq _nla_put testq %rax, %rax jne LBB0_15 LBB0_7: movq 8(%r14), %rdx testq %rdx, %rdx jle LBB0_9 ## %bb.8: movq _NFC_ATTR_TARGET_SENSB_RES@GOTPCREL(%rip), %rax movl (%rax), %esi movl 44(%r14), %ecx movq %r12, %rdi ## kill: def $edx killed $edx killed $rdx callq _nla_put testq %rax, %rax jne LBB0_15 LBB0_9: movq 16(%r14), %rdx testq %rdx, %rdx jle LBB0_11 ## %bb.10: movq _NFC_ATTR_TARGET_SENSF_RES@GOTPCREL(%rip), %rax movl (%rax), %esi movl 40(%r14), %ecx movq %r12, %rdi ## kill: def $edx killed $edx killed $rdx callq _nla_put testq %rax, %rax jne LBB0_15 LBB0_11: cmpq $0, 32(%r14) je LBB0_14 ## %bb.12: movq _NFC_ATTR_TARGET_ISO15693_DSFID@GOTPCREL(%rip), %rax movl (%rax), %esi movl 28(%r14), %edx movq %r12, %rdi callq _nla_put_u8 testq %rax, %rax jne LBB0_15 ## %bb.13: movq _NFC_ATTR_TARGET_ISO15693_UID@GOTPCREL(%rip), %rax movl (%rax), %esi movl 24(%r14), %ecx movq %r12, %rdi movl $4, %edx callq _nla_put testq %rax, %rax jne LBB0_15 LBB0_14: movq %r12, %rdi movq %r15, %rsi callq _genlmsg_end xorl %eax, %eax jmp LBB0_17 .cfi_endproc ## -- End function .comm _nfc_genl_family,4,2 ## @nfc_genl_family .comm _NFC_CMD_GET_TARGET,4,2 ## @NFC_CMD_GET_TARGET .comm _EMSGSIZE,4,2 ## @EMSGSIZE .comm _NFC_ATTR_TARGET_INDEX,4,2 ## @NFC_ATTR_TARGET_INDEX .comm _NFC_ATTR_PROTOCOLS,4,2 ## @NFC_ATTR_PROTOCOLS .comm _NFC_ATTR_TARGET_SENS_RES,4,2 ## @NFC_ATTR_TARGET_SENS_RES .comm _NFC_ATTR_TARGET_SEL_RES,4,2 ## @NFC_ATTR_TARGET_SEL_RES .comm _NFC_ATTR_TARGET_NFCID1,4,2 ## @NFC_ATTR_TARGET_NFCID1 .comm _NFC_ATTR_TARGET_SENSB_RES,4,2 ## @NFC_ATTR_TARGET_SENSB_RES .comm _NFC_ATTR_TARGET_SENSF_RES,4,2 ## @NFC_ATTR_TARGET_SENSF_RES .comm _NFC_ATTR_TARGET_ISO15693_DSFID,4,2 ## @NFC_ATTR_TARGET_ISO15693_DSFID .comm _NFC_ATTR_TARGET_ISO15693_UID,4,2 ## @NFC_ATTR_TARGET_ISO15693_UID .no_dead_strip _nfc_genl_send_target .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nfc_genl_send_target _nfc_genl_send_target: ; @nfc_genl_send_target .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x3 mov x22, x2 mov x20, x1 mov x19, x0 ldr w0, [x2, #8] bl _NETLINK_CB mov x1, x0 ldr x8, [x22] ldr w2, [x8] Lloh0: adrp x8, _NFC_CMD_GET_TARGET@GOTPAGE Lloh1: ldr x8, [x8, _NFC_CMD_GET_TARGET@GOTPAGEOFF] Lloh2: ldr w5, [x8] Lloh3: adrp x3, _nfc_genl_family@GOTPAGE Lloh4: ldr x3, [x3, _nfc_genl_family@GOTPAGEOFF] mov x0, x19 mov x4, x21 bl _genlmsg_put cbz x0, LBB0_6 ; %bb.1: mov x21, x0 mov x0, x22 mov x1, x21 bl _genl_dump_check_consistent Lloh5: adrp x8, _NFC_ATTR_TARGET_INDEX@GOTPAGE Lloh6: ldr x8, [x8, _NFC_ATTR_TARGET_INDEX@GOTPAGEOFF] Lloh7: ldr w1, [x8] ldr w2, [x20, #64] mov x0, x19 bl _nla_put_u32 cbnz x0, LBB0_5 ; %bb.2: Lloh8: adrp x8, _NFC_ATTR_PROTOCOLS@GOTPAGE Lloh9: ldr x8, [x8, _NFC_ATTR_PROTOCOLS@GOTPAGEOFF] Lloh10: ldr w1, [x8] ldr w2, [x20, #60] mov x0, x19 bl _nla_put_u32 cbnz x0, LBB0_5 ; %bb.3: Lloh11: adrp x8, _NFC_ATTR_TARGET_SENS_RES@GOTPAGE Lloh12: ldr x8, [x8, _NFC_ATTR_TARGET_SENS_RES@GOTPAGEOFF] Lloh13: ldr w1, [x8] ldr w2, [x20, #56] mov x0, x19 bl _nla_put_u16 cbnz x0, LBB0_5 ; %bb.4: Lloh14: adrp x8, _NFC_ATTR_TARGET_SEL_RES@GOTPAGE Lloh15: ldr x8, [x8, _NFC_ATTR_TARGET_SEL_RES@GOTPAGEOFF] Lloh16: ldr w1, [x8] ldr w2, [x20, #52] mov x0, x19 bl _nla_put_u8 cbz x0, LBB0_8 LBB0_5: mov x0, x19 mov x1, x21 bl _genlmsg_cancel LBB0_6: Lloh17: adrp x8, _EMSGSIZE@GOTPAGE Lloh18: ldr x8, [x8, _EMSGSIZE@GOTPAGEOFF] Lloh19: ldr w8, [x8] neg w0, w8 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_8: ldr x2, [x20] cmp x2, #1 b.lt LBB0_10 ; %bb.9: Lloh20: adrp x8, _NFC_ATTR_TARGET_NFCID1@GOTPAGE Lloh21: ldr x8, [x8, _NFC_ATTR_TARGET_NFCID1@GOTPAGEOFF] Lloh22: ldr w1, [x8] ldr w3, [x20, #48] mov x0, x19 ; kill: def $w2 killed $w2 killed $x2 bl _nla_put cbnz x0, LBB0_5 LBB0_10: ldr x2, [x20, #8] cmp x2, #1 b.lt LBB0_12 ; %bb.11: Lloh23: adrp x8, _NFC_ATTR_TARGET_SENSB_RES@GOTPAGE Lloh24: ldr x8, [x8, _NFC_ATTR_TARGET_SENSB_RES@GOTPAGEOFF] Lloh25: ldr w1, [x8] ldr w3, [x20, #44] mov x0, x19 ; kill: def $w2 killed $w2 killed $x2 bl _nla_put cbnz x0, LBB0_5 LBB0_12: ldr x2, [x20, #16] cmp x2, #1 b.lt LBB0_14 ; %bb.13: Lloh26: adrp x8, _NFC_ATTR_TARGET_SENSF_RES@GOTPAGE Lloh27: ldr x8, [x8, _NFC_ATTR_TARGET_SENSF_RES@GOTPAGEOFF] Lloh28: ldr w1, [x8] ldr w3, [x20, #40] mov x0, x19 ; kill: def $w2 killed $w2 killed $x2 bl _nla_put cbnz x0, LBB0_5 LBB0_14: ldr x8, [x20, #32] cbz x8, LBB0_17 ; %bb.15: Lloh29: adrp x8, _NFC_ATTR_TARGET_ISO15693_DSFID@GOTPAGE Lloh30: ldr x8, [x8, _NFC_ATTR_TARGET_ISO15693_DSFID@GOTPAGEOFF] Lloh31: ldr w1, [x8] ldr w2, [x20, #28] mov x0, x19 bl _nla_put_u8 cbnz x0, LBB0_5 ; %bb.16: Lloh32: adrp x8, _NFC_ATTR_TARGET_ISO15693_UID@GOTPAGE Lloh33: ldr x8, [x8, _NFC_ATTR_TARGET_ISO15693_UID@GOTPAGEOFF] Lloh34: ldr w1, [x8] ldr w3, [x20, #24] mov x0, x19 mov w2, #4 bl _nla_put cbnz x0, LBB0_5 LBB0_17: mov x0, x19 mov x1, x21 bl _genlmsg_end mov w0, #0 b LBB0_7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _nfc_genl_family,4,2 ; @nfc_genl_family .comm _NFC_CMD_GET_TARGET,4,2 ; @NFC_CMD_GET_TARGET .comm _EMSGSIZE,4,2 ; @EMSGSIZE .comm _NFC_ATTR_TARGET_INDEX,4,2 ; @NFC_ATTR_TARGET_INDEX .comm _NFC_ATTR_PROTOCOLS,4,2 ; @NFC_ATTR_PROTOCOLS .comm _NFC_ATTR_TARGET_SENS_RES,4,2 ; @NFC_ATTR_TARGET_SENS_RES .comm _NFC_ATTR_TARGET_SEL_RES,4,2 ; @NFC_ATTR_TARGET_SEL_RES .comm _NFC_ATTR_TARGET_NFCID1,4,2 ; @NFC_ATTR_TARGET_NFCID1 .comm _NFC_ATTR_TARGET_SENSB_RES,4,2 ; @NFC_ATTR_TARGET_SENSB_RES .comm _NFC_ATTR_TARGET_SENSF_RES,4,2 ; @NFC_ATTR_TARGET_SENSF_RES .comm _NFC_ATTR_TARGET_ISO15693_DSFID,4,2 ; @NFC_ATTR_TARGET_ISO15693_DSFID .comm _NFC_ATTR_TARGET_ISO15693_UID,4,2 ; @NFC_ATTR_TARGET_ISO15693_UID .no_dead_strip _nfc_genl_send_target .subsections_via_symbols
AnghaBench/linux/net/nfc/extr_netlink.c_nfc_genl_send_target.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tl_fetch_raw_data _tl_fetch_raw_data: ## @tl_fetch_raw_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx movq _TL_IN_METHODS@GOTPCREL(%rip), %rax movq (%rax), %rax callq *(%rax) movq _TL_IN_POS@GOTPCREL(%rip), %rax addl %ebx, (%rax) movq _TL_IN_REMAINING@GOTPCREL(%rip), %rax subl %ebx, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _TL_IN_METHODS,8,3 ## @TL_IN_METHODS .comm _TL_IN_POS,4,2 ## @TL_IN_POS .comm _TL_IN_REMAINING,4,2 ## @TL_IN_REMAINING .no_dead_strip _tl_fetch_raw_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tl_fetch_raw_data _tl_fetch_raw_data: ; @tl_fetch_raw_data .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x8, _TL_IN_METHODS@GOTPAGE Lloh1: ldr x8, [x8, _TL_IN_METHODS@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x8, [x8] blr x8 Lloh3: adrp x8, _TL_IN_POS@GOTPAGE Lloh4: ldr x8, [x8, _TL_IN_POS@GOTPAGEOFF] ldr w9, [x8] add w9, w9, w19 str w9, [x8] Lloh5: adrp x8, _TL_IN_REMAINING@GOTPAGE Lloh6: ldr x8, [x8, _TL_IN_REMAINING@GOTPAGEOFF] ldr w9, [x8] sub w9, w9, w19 str w9, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TL_IN_METHODS,8,3 ; @TL_IN_METHODS .comm _TL_IN_POS,4,2 ; @TL_IN_POS .comm _TL_IN_REMAINING,4,2 ; @TL_IN_REMAINING .no_dead_strip _tl_fetch_raw_data .subsections_via_symbols
AnghaBench/kphp-kdb/vv/extr_vv-tl-parse.h_tl_fetch_raw_data.c
anghabench