x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/2043.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _iwl_mvm_tx_skb_non_sta ## -- Begin function iwl_mvm_tx_skb_non_sta .p2align 4, 0x90 _iwl_mvm_tx_skb_non_sta: ## @iwl_mvm_tx_skb_non_sta .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 %rsi, %r12 movq %rdi, %r14 movq (%rsi), %rbx movq %rsi, %rdi callq _IEEE80211_SKB_CB movq %rax, %r13 movq _IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rax movl (%rax), %edi andl (%r13), %edi callq _WARN_ON_ONCE testq %rax, %rax jne LBB0_15 ## %bb.1: movq _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r13) je LBB0_2 ## %bb.3: movq 16(%r13), %rax testq %rax, %rax je LBB0_4 ## %bb.5: movq 8(%r13), %rcx xorl %edi, %edi cmpq (%rax), %rcx setne %dil jmp LBB0_6 LBB0_2: xorl %edi, %edi jmp LBB0_6 LBB0_4: movl $1, %edi LBB0_6: callq _WARN_ON_ONCE testq %rax, %rax je LBB0_7 LBB0_15: movl $-1, %ebx LBB0_16: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq 16(%r13), %rdi testq %rdi, %rdi movq %rbx, -64(%rbp) ## 8-byte Spill je LBB0_11 ## %bb.8: movq 8(%rdi), %rax movq _NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_10 ## %bb.9: movq _NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_10 LBB0_11: leaq 4(%r14), %rax jmp LBB0_12 LBB0_10: callq _iwl_mvm_vif_from_mac80211 LBB0_12: movl (%rax), %r15d movq 8(%r13), %rcx leaq L_.str(%rip), %rsi movq %r14, %rdi movl %r15d, %edx callq _IWL_DEBUG_TX xorl %ebx, %ebx movq %r14, %rdi movq %r12, %rsi xorl %edx, %edx movl %r15d, %ecx callq _iwl_mvm_set_tx_params testq %rax, %rax je LBB0_15 ## %bb.13: movq (%rax), %rcx movl (%rcx), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movq %rax, -56(%rbp) ## 8-byte Spill movq -64(%rbp), %r15 ## 8-byte Reload movl (%r15), %edi callq _ieee80211_hdrlen movl -44(%rbp), %edi ## 4-byte Reload movq %r15, %rsi movq -56(%rbp), %r15 ## 8-byte Reload movl %eax, %edx callq _memcpy movl (%r14), %edi movq 8(%r13), %rcx movq %r12, %rsi movq %r15, %rdx callq _iwl_trans_tx testq %rax, %rax je LBB0_16 ## %bb.14: movl (%r14), %edi movq %r15, %rsi callq _iwl_trans_free_tx_cmd jmp LBB0_15 .cfi_endproc ## -- End function .comm _IEEE80211_TX_CTL_AMPDU,4,2 ## @IEEE80211_TX_CTL_AMPDU .comm _IEEE80211_TX_CTL_SEND_AFTER_DTIM,4,2 ## @IEEE80211_TX_CTL_SEND_AFTER_DTIM .comm _NL80211_IFTYPE_P2P_DEVICE,8,3 ## @NL80211_IFTYPE_P2P_DEVICE .comm _NL80211_IFTYPE_AP,8,3 ## @NL80211_IFTYPE_AP .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "station Id %d, queue=%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _iwl_mvm_tx_skb_non_sta ; -- Begin function iwl_mvm_tx_skb_non_sta .p2align 2 _iwl_mvm_tx_skb_non_sta: ; @iwl_mvm_tx_skb_non_sta .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 ldr x22, [x1] mov x0, x1 bl _IEEE80211_SKB_CB mov x21, x0 ldr w8, [x0] Lloh0: adrp x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE Lloh1: ldr x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF] Lloh2: ldr w9, [x9] and w0, w9, w8 bl _WARN_ON_ONCE cbnz x0, LBB0_13 ; %bb.1: ldr w8, [x21] Lloh3: adrp x9, _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPAGE Lloh4: ldr x9, [x9, _IEEE80211_TX_CTL_SEND_AFTER_DTIM@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w8 b.eq LBB0_4 ; %bb.2: ldr x8, [x21, #16] cbz x8, LBB0_5 ; %bb.3: ldr x9, [x21, #8] ldr x8, [x8] cmp x9, x8 cset w0, ne bl _WARN_ON_ONCE cbnz x0, LBB0_13 b LBB0_6 LBB0_4: mov w0, #0 bl _WARN_ON_ONCE cbnz x0, LBB0_13 b LBB0_6 LBB0_5: mov w0, #1 bl _WARN_ON_ONCE cbnz x0, LBB0_13 LBB0_6: ldr x0, [x21, #16] cbz x0, LBB0_9 ; %bb.7: ldr x8, [x0, #8] Lloh6: adrp x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE Lloh7: ldr x9, [x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF] Lloh8: ldr x9, [x9] Lloh9: adrp x10, _NL80211_IFTYPE_AP@GOTPAGE Lloh10: ldr x10, [x10, _NL80211_IFTYPE_AP@GOTPAGEOFF] Lloh11: ldr x10, [x10] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_9 ; %bb.8: bl _iwl_mvm_vif_from_mac80211 b LBB0_10 LBB0_9: add x0, x19, #4 LBB0_10: ldr w23, [x0] ldr x3, [x21, #8] Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF mov x0, x19 mov x2, x23 bl _IWL_DEBUG_TX mov x0, x19 mov x1, x20 mov x2, #0 mov x3, x23 bl _iwl_mvm_set_tx_params cbz x0, LBB0_13 ; %bb.11: mov x23, x0 ldr x8, [x0] ldr w24, [x8] ldr w0, [x22] bl _ieee80211_hdrlen mov x2, x0 mov x0, x24 mov x1, x22 bl _memcpy ldr w0, [x19] ldr x3, [x21, #8] mov x1, x20 mov x2, x23 bl _iwl_trans_tx cbz x0, LBB0_14 ; %bb.12: ldr w0, [x19] mov x1, x23 bl _iwl_trans_free_tx_cmd LBB0_13: mov w0, #-1 LBB0_14: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _IEEE80211_TX_CTL_AMPDU,4,2 ; @IEEE80211_TX_CTL_AMPDU .comm _IEEE80211_TX_CTL_SEND_AFTER_DTIM,4,2 ; @IEEE80211_TX_CTL_SEND_AFTER_DTIM .comm _NL80211_IFTYPE_P2P_DEVICE,8,3 ; @NL80211_IFTYPE_P2P_DEVICE .comm _NL80211_IFTYPE_AP,8,3 ; @NL80211_IFTYPE_AP .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "station Id %d, queue=%d\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/mvm/extr_tx.c_iwl_mvm_tx_skb_non_sta.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _passwd_val ## -- Begin function passwd_val .p2align 4, 0x90 _passwd_val: ## @passwd_val .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 callq _unquote testq %rax, %rax je LBB0_1 LBB0_16: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_1: movq _booltrue@GOTPCREL(%rip), %r14 movq (%r14), %rax movq (%rax), %rsi testq %rsi, %rsi je LBB0_5 ## %bb.2: movq $-8, %r15 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi callq _strcmp testq %rax, %rax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq (%r14), %rax movq (%rax,%r15), %rsi addq $-8, %r15 testq %rsi, %rsi jne LBB0_3 LBB0_5: movq _boolfalse@GOTPCREL(%rip), %r14 movq (%r14), %rax movq (%rax), %rsi testq %rsi, %rsi je LBB0_11 ## %bb.6: movl $8, %r15d .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi callq _strcmp testq %rax, %rax je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_9 Depth=1 movq (%r14), %rax movq (%rax,%r15), %rsi addq $8, %r15 testq %rsi, %rsi jne LBB0_9 LBB0_11: leaq L_.str(%rip), %rsi xorl %edi, %edi callq _strcmp testq %rax, %rax je LBB0_12 ## %bb.13: leaq L_.str.1(%rip), %rsi xorl %edi, %edi callq _strcmp testq %rax, %rax je LBB0_14 ## %bb.15: leaq L_.str.2(%rip), %rsi movl $1, %edi callq _errx jmp LBB0_16 LBB0_7: movq _P_YES@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_16 LBB0_10: movq _P_NO@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_16 LBB0_12: movq _P_RANDOM@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_16 LBB0_14: movq _P_NONE@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_16 .cfi_endproc ## -- End function .comm _booltrue,8,3 ## @booltrue .comm _P_YES,4,2 ## @P_YES .comm _boolfalse,8,3 ## @boolfalse .comm _P_NO,4,2 ## @P_NO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "random" .comm _P_RANDOM,4,2 ## @P_RANDOM L_.str.1: ## @.str.1 .asciz "none" .comm _P_NONE,4,2 ## @P_NONE L_.str.2: ## @.str.2 .asciz "Invalid value for default password" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _passwd_val ; -- Begin function passwd_val .p2align 2 _passwd_val: ; @passwd_val .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 bl _unquote cbz x0, LBB0_2 LBB0_1: 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 LBB0_2: Lloh0: adrp x20, _booltrue@GOTPAGE Lloh1: ldr x20, [x20, _booltrue@GOTPAGEOFF] ldr x8, [x20] ldr x1, [x8] cbz x1, LBB0_6 ; %bb.3: mov x21, #-8 ; =0xfffffffffffffff8 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, #0 ; =0x0 bl _strcmp cbz x0, LBB0_13 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20] ldr x1, [x8, x21] sub x21, x21, #8 cbnz x1, LBB0_4 LBB0_6: Lloh2: adrp x20, _boolfalse@GOTPAGE Lloh3: ldr x20, [x20, _boolfalse@GOTPAGEOFF] ldr x8, [x20] ldr x1, [x8] cbz x1, LBB0_10 ; %bb.7: mov w21, #8 ; =0x8 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x0, #0 ; =0x0 bl _strcmp cbz x0, LBB0_14 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [x20] ldr x1, [x8, x21] add x21, x21, #8 cbnz x1, LBB0_8 LBB0_10: Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF mov x0, #0 ; =0x0 bl _strcmp cbz x0, LBB0_15 ; %bb.11: Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF mov x0, #0 ; =0x0 bl _strcmp cbz x0, LBB0_16 ; %bb.12: Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov w0, #1 ; =0x1 bl _errx b LBB0_1 LBB0_13: Lloh10: adrp x8, _P_YES@GOTPAGE Lloh11: ldr x8, [x8, _P_YES@GOTPAGEOFF] Lloh12: ldr w19, [x8] b LBB0_1 LBB0_14: Lloh13: adrp x8, _P_NO@GOTPAGE Lloh14: ldr x8, [x8, _P_NO@GOTPAGEOFF] Lloh15: ldr w19, [x8] b LBB0_1 LBB0_15: Lloh16: adrp x8, _P_RANDOM@GOTPAGE Lloh17: ldr x8, [x8, _P_RANDOM@GOTPAGEOFF] Lloh18: ldr w19, [x8] b LBB0_1 LBB0_16: Lloh19: adrp x8, _P_NONE@GOTPAGE Lloh20: ldr x8, [x8, _P_NONE@GOTPAGEOFF] Lloh21: ldr w19, [x8] b LBB0_1 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _booltrue,8,3 ; @booltrue .comm _P_YES,4,2 ; @P_YES .comm _boolfalse,8,3 ; @boolfalse .comm _P_NO,4,2 ; @P_NO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "random" .comm _P_RANDOM,4,2 ; @P_RANDOM l_.str.1: ; @.str.1 .asciz "none" .comm _P_NONE,4,2 ; @P_NONE l_.str.2: ; @.str.2 .asciz "Invalid value for default password" .subsections_via_symbols
assembly_file_46905.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function w1_ds2781_add_slave _w1_ds2781_add_slave: ## @w1_ds2781_add_slave .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, %r14 movq _PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _platform_device_alloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %r14, (%rax) movq %rax, %rdi callq _platform_device_add testl %eax, %eax je LBB0_3 ## %bb.4: movl %eax, %r15d movq %rbx, %rdi callq _platform_device_put jmp LBB0_5 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d jmp LBB0_5 LBB0_3: movq %r14, %rdi movq %rbx, %rsi callq _dev_set_drvdata xorl %r15d, %r15d LBB0_5: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ds2781-battery" .comm _PLATFORM_DEVID_AUTO,4,2 ## @PLATFORM_DEVID_AUTO .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _w1_ds2781_add_slave .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function w1_ds2781_add_slave _w1_ds2781_add_slave: ; @w1_ds2781_add_slave .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, _PLATFORM_DEVID_AUTO@GOTPAGE Lloh1: ldr x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _platform_device_alloc cbz x0, LBB0_3 ; %bb.1: mov x20, x0 str x19, [x0] bl _platform_device_add mov x21, x0 cbz w0, LBB0_4 ; %bb.2: mov x0, x20 bl _platform_device_put b LBB0_5 LBB0_3: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w21, w8 b LBB0_5 LBB0_4: mov x0, x19 mov x1, x20 bl _dev_set_drvdata LBB0_5: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ds2781-battery" .comm _PLATFORM_DEVID_AUTO,4,2 ; @PLATFORM_DEVID_AUTO .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _w1_ds2781_add_slave .subsections_via_symbols
AnghaBench/linux/drivers/w1/slaves/extr_w1_ds2781.c_w1_ds2781_add_slave.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pvr2_hdw_cmd_onair_digital_path_ctrl _pvr2_hdw_cmd_onair_digital_path_ctrl: ## @pvr2_hdw_cmd_onair_digital_path_ctrl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %esi, %esi jne LBB0_1 ## %bb.2: movq _FX2CMD_ONAIR_DTV_STREAMING_OFF@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _FX2CMD_ONAIR_DTV_STREAMING_ON@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %esi popq %rbp jmp _pvr2_issue_simple_cmd ## TAILCALL .cfi_endproc ## -- End function .comm _FX2CMD_ONAIR_DTV_STREAMING_ON,4,2 ## @FX2CMD_ONAIR_DTV_STREAMING_ON .comm _FX2CMD_ONAIR_DTV_STREAMING_OFF,4,2 ## @FX2CMD_ONAIR_DTV_STREAMING_OFF .no_dead_strip _pvr2_hdw_cmd_onair_digital_path_ctrl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pvr2_hdw_cmd_onair_digital_path_ctrl _pvr2_hdw_cmd_onair_digital_path_ctrl: ; @pvr2_hdw_cmd_onair_digital_path_ctrl .cfi_startproc ; %bb.0: Lloh0: adrp x8, _FX2CMD_ONAIR_DTV_STREAMING_ON@GOTPAGE Lloh1: ldr x8, [x8, _FX2CMD_ONAIR_DTV_STREAMING_ON@GOTPAGEOFF] Lloh2: adrp x9, _FX2CMD_ONAIR_DTV_STREAMING_OFF@GOTPAGE Lloh3: ldr x9, [x9, _FX2CMD_ONAIR_DTV_STREAMING_OFF@GOTPAGEOFF] cmp w1, #0 csel x8, x9, x8, eq ldr w1, [x8] b _pvr2_issue_simple_cmd .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _FX2CMD_ONAIR_DTV_STREAMING_ON,4,2 ; @FX2CMD_ONAIR_DTV_STREAMING_ON .comm _FX2CMD_ONAIR_DTV_STREAMING_OFF,4,2 ; @FX2CMD_ONAIR_DTV_STREAMING_OFF .no_dead_strip _pvr2_hdw_cmd_onair_digital_path_ctrl .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/pvrusb2/extr_pvrusb2-hdw.c_pvr2_hdw_cmd_onair_digital_path_ctrl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _llc_conn_remove_acked_pdus ## -- Begin function llc_conn_remove_acked_pdus .p2align 4, 0x90 _llc_conn_remove_acked_pdus: ## @llc_conn_remove_acked_pdus .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, %r13 callq _llc_sk movq %rax, %r15 movq %rax, %rdi callq _skb_queue_len movq %rax, %r12 xorl %ebx, %ebx testl %r12d, %r12d je LBB0_7 ## %bb.1: movq %r14, -48(%rbp) ## 8-byte Spill movq %r15, %rdi callq _skb_peek movq %rax, %rdi callq _llc_pdu_sn_hdr movq _LLC_2_SEQ_NBR_MODULO@GOTPCREL(%rip), %r14 addl (%r14), %r13d movq %rax, %rdi callq _LLC_I_GET_NS subl %eax, %r13d movl %r13d, %eax cltd idivl (%r14) testl %edx, %edx jle LBB0_2 ## %bb.3: testl %r12d, %r12d movq -48(%rbp), %r14 ## 8-byte Reload jle LBB0_7 ## %bb.4: movl %edx, %r13d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _skb_dequeue movq %rax, %rdi callq _kfree_skb incl %ebx cmpl %r13d, %ebx jge LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 cmpl %r12d, %ebx jl LBB0_5 jmp LBB0_7 LBB0_2: movq -48(%rbp), %r14 ## 8-byte Reload LBB0_7: movq %r15, %rdi callq _skb_queue_len movq %rax, (%r14) movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LLC_2_SEQ_NBR_MODULO,4,2 ## @LLC_2_SEQ_NBR_MODULO .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _llc_conn_remove_acked_pdus ; -- Begin function llc_conn_remove_acked_pdus .p2align 2 _llc_conn_remove_acked_pdus: ; @llc_conn_remove_acked_pdus .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 x22, x1 bl _llc_sk mov x20, x0 bl _skb_queue_len mov x21, x0 cbz w21, LBB0_4 ; %bb.1: mov x0, x20 bl _skb_peek bl _llc_pdu_sn_hdr Lloh0: adrp x23, _LLC_2_SEQ_NBR_MODULO@GOTPAGE Lloh1: ldr x23, [x23, _LLC_2_SEQ_NBR_MODULO@GOTPAGEOFF] ldr w8, [x23] add w22, w8, w22 bl _LLC_I_GET_NS sub w8, w22, w0 ldr w9, [x23] sdiv w10, w8, w9 msub w23, w10, w9, w8 cmp w23, #1 mov w22, #0 ccmp w21, #1, #8, ge b.lt LBB0_5 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _skb_dequeue bl _kfree_skb add w22, w22, #1 cmp w22, w23 b.ge LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cmp w22, w21 b.lt LBB0_2 b LBB0_5 LBB0_4: mov w22, #0 LBB0_5: mov x0, x20 bl _skb_queue_len str x0, [x19] mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _LLC_2_SEQ_NBR_MODULO,4,2 ; @LLC_2_SEQ_NBR_MODULO .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/llc/extr_llc_conn.c_llc_conn_remove_acked_pdus.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function baycom_int_freq _baycom_int_freq: ## @baycom_int_freq .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 .comm _HZ,8,3 ## @HZ .comm _jiffies,8,3 ## @jiffies .no_dead_strip _baycom_int_freq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function baycom_int_freq _baycom_int_freq: ; @baycom_int_freq .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _HZ,8,3 ; @HZ .comm _jiffies,8,3 ; @jiffies .no_dead_strip _baycom_int_freq .subsections_via_symbols
AnghaBench/linux/drivers/net/hamradio/extr_baycom_ser_fdx.c_baycom_int_freq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BG_PlayerTouchesItem ## -- Begin function BG_PlayerTouchesItem .p2align 4, 0x90 _BG_PlayerTouchesItem: ## @BG_PlayerTouchesItem .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, %rdi movl %edx, %esi callq _BG_EvaluateTrajectory movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _qfalse,4,2 ## @qfalse .comm _qtrue,4,2 ## @qtrue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BG_PlayerTouchesItem ; -- Begin function BG_PlayerTouchesItem .p2align 2 _BG_PlayerTouchesItem: ; @BG_PlayerTouchesItem .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, x1 mov x1, x2 bl _BG_EvaluateTrajectory Lloh0: adrp x8, _qtrue@GOTPAGE Lloh1: ldr x8, [x8, _qtrue@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _qfalse,4,2 ; @qfalse .comm _qtrue,4,2 ; @qtrue .subsections_via_symbols
AnghaBench/lab/engine/code/game/extr_bg_misc.c_BG_PlayerTouchesItem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init_md_reader_args ## -- Begin function init_md_reader_args .p2align 4, 0x90 _init_md_reader_args: ## @init_md_reader_args .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edx, %edx popq %rbp jmp _init_md_reader_args_cb ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init_md_reader_args ; -- Begin function init_md_reader_args .p2align 2 _init_md_reader_args: ; @init_md_reader_args .cfi_startproc ; %bb.0: mov w2, #0 b _init_md_reader_args_cb .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_gensupport.c_init_md_reader_args.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kvm_apic_broadcast _kvm_apic_broadcast: ## @kvm_apic_broadcast .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 callq _apic_x2apic_mode testq %rax, %rax jne LBB0_1 ## %bb.2: movq _APIC_BROADCAST@GOTPCREL(%rip), %rcx jmp LBB0_3 LBB0_1: movq _X2APIC_BROADCAST@GOTPCREL(%rip), %rcx LBB0_3: xorl %eax, %eax cmpq %rbx, (%rcx) sete %al addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _X2APIC_BROADCAST,8,3 ## @X2APIC_BROADCAST .comm _APIC_BROADCAST,8,3 ## @APIC_BROADCAST .no_dead_strip _kvm_apic_broadcast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kvm_apic_broadcast _kvm_apic_broadcast: ; @kvm_apic_broadcast .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 _apic_x2apic_mode Lloh0: adrp x8, _X2APIC_BROADCAST@GOTPAGE Lloh1: ldr x8, [x8, _X2APIC_BROADCAST@GOTPAGEOFF] Lloh2: adrp x9, _APIC_BROADCAST@GOTPAGE Lloh3: ldr x9, [x9, _APIC_BROADCAST@GOTPAGEOFF] cmp x0, #0 csel x8, x9, x8, eq ldr x8, [x8] cmp x8, x19 cset w0, eq ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _X2APIC_BROADCAST,8,3 ; @X2APIC_BROADCAST .comm _APIC_BROADCAST,8,3 ; @APIC_BROADCAST .no_dead_strip _kvm_apic_broadcast .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/extr_lapic.c_kvm_apic_broadcast.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function qedi_conn_get_stats _qedi_conn_get_stats: ## @qedi_conn_get_stats .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq (%rdi), %r14 callq _iscsi_conn_to_session movl %eax, %edi callq _iscsi_session_to_shost movq %rax, %rdi callq _iscsi_host_priv movq _qedi_ops@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax), %edi leaq -48(%rbp), %rsi callq *(%rcx) movl -20(%rbp), %eax movl %eax, 56(%r14) movl -24(%rbp), %ecx movl %ecx, 52(%r14) movq -32(%rbp), %rdx movq %rdx, 40(%r14) movq -40(%rbp), %rsi movq %rsi, 24(%r14) movq -48(%rbp), %rdi movq %rdi, 16(%r14) movl %eax, 80(%rbx) movl %ecx, 76(%rbx) movl 48(%r14), %eax movl %eax, 72(%rbx) movq %rdx, 64(%rbx) movl 32(%r14), %eax movl %eax, 56(%rbx) movq %rsi, 48(%rbx) movq %rdi, 40(%rbx) movq 4(%r14), %rax movq %rax, 32(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 16(%rbx) movq 8(%rbx), %rax movl 4(%rax), %edi leaq L_.str(%rip), %rsi callq _strcpy movl (%r14), %eax movq 8(%rbx), %rcx movl %eax, (%rcx) movl $1, (%rbx) addq $32, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _qedi_ops,8,3 ## @qedi_ops .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "eh_abort_cnt" .no_dead_strip _qedi_conn_get_stats .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function qedi_conn_get_stats _qedi_conn_get_stats: ; @qedi_conn_get_stats .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr x20, [x0] bl _iscsi_conn_to_session bl _iscsi_session_to_shost bl _iscsi_host_priv Lloh0: adrp x8, _qedi_ops@GOTPAGE Lloh1: ldr x8, [x8, _qedi_ops@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x8, [x8] ldr w0, [x0] mov x1, sp blr x8 ldp w9, w8, [sp, #24] stp w9, w8, [x20, #52] ldp x11, x10, [sp, #8] str x10, [x20, #40] ldr x12, [sp] stp x12, x11, [x20, #16] str w8, [x19, #80] ldr w8, [x20, #48] stp w8, w9, [x19, #72] str x10, [x19, #64] ldr w8, [x20, #32] str w8, [x19, #56] stp x12, x11, [x19, #40] ldur d0, [x20, #4] str d0, [x19, #32] stp xzr, xzr, [x19, #16] ldr x8, [x19, #8] ldr w0, [x8, #4] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _strcpy ldr w8, [x20] ldr x9, [x19, #8] str w8, [x9] mov w8, #1 ; =0x1 str w8, [x19] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _qedi_ops,8,3 ; @qedi_ops .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "eh_abort_cnt" .no_dead_strip _qedi_conn_get_stats .subsections_via_symbols
assembly_file_37862.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___kasan_runtests ## -- Begin function __kasan_runtests .p2align 4, 0x90 ___kasan_runtests: ## @__kasan_runtests .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 testl %esi, %esi jle LBB0_3 ## %bb.1: movl %esi, %r15d movq %rdi, %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi xorl %edx, %edx callq _kasan_run_test incl %ebx cmpl %ebx, %r15d jne LBB0_2 LBB0_3: 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 ___kasan_runtests ; -- Begin function __kasan_runtests .p2align 2 ___kasan_runtests: ; @__kasan_runtests .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 cmp w1, #1 b.lt LBB0_3 ; %bb.1: mov x19, x1 mov x20, x0 mov w21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 mov w2, #0 bl _kasan_run_test add w21, w21, #1 cmp w19, w21 b.ne 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/darwin-xnu/san/extr_kasan-test.c___kasan_runtests.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 $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rbx leaq -24(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf leaq -20(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -24(%rbp), %r14d movl %r14d, %eax imull %r14d, %eax movl -20(%rbp), %ebx imull %ebx, %r14d imull %ebx, %ebx movl %eax, %esi subl %ebx, %esi addl %r14d, %r14d addl %eax, %ebx leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.5(%rip), %rdi movl %r14d, %esi xorl %eax, %eax callq _printf leaq L_.str.6(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf leaq L_str.8(%rip), %rdi callq _puts callq _getchar callq _getchar xorl %eax, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "\nDigite o valor de M: " L_.str.2: ## @.str.2 .asciz "%i" L_.str.3: ## @.str.3 .asciz "Digite o valor de N (M>N): " L_.str.4: ## @.str.4 .asciz "\nO valor do lado 1 e: %i.\n" L_.str.5: ## @.str.5 .asciz "O valor do lado 2 e: %i.\n" L_.str.6: ## @.str.6 .asciz "O valor da hipotenusa e: %i.\n" L_str: ## @str .asciz "\n ** CALCULO DOS LADOS E DA HIPOTENUSA ** " L_str.8: ## @str.8 .asciz "\n\n<< Marco_Tulio >>" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp 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 add x8, sp, #12 str x8, [sp] Lloh4: adrp x19, l_.str.2@PAGE Lloh5: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldp w10, w8, [sp, #8] mul w9, w8, w8 mul w11, w10, w10 sub w12, w9, w11 mul w8, w8, w10 lsl w19, w8, #1 add w20, w11, w9 str x12, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _printf str x19, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf str x20, [sp] Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _printf Lloh14: adrp x0, l_str.8@PAGE Lloh15: add x0, x0, l_str.8@PAGEOFF bl _puts bl _getchar bl _getchar mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .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 "\nDigite o valor de M: " l_.str.2: ; @.str.2 .asciz "%i" l_.str.3: ; @.str.3 .asciz "Digite o valor de N (M>N): " l_.str.4: ; @.str.4 .asciz "\nO valor do lado 1 e: %i.\n" l_.str.5: ; @.str.5 .asciz "O valor do lado 2 e: %i.\n" l_.str.6: ; @.str.6 .asciz "O valor da hipotenusa e: %i.\n" l_str: ; @str .asciz "\n ** CALCULO DOS LADOS E DA HIPOTENUSA ** " l_str.8: ; @str.8 .asciz "\n\n<< Marco_Tulio >>" .subsections_via_symbols
the_stack_data/1143425.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print_man_foot _print_man_foot: ## @print_man_foot .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, %rbx movq (%rsi), %rdi callq _assert movq 8(%r14), %rdi callq _assert movq 16(%r14), %rdi callq _assert movq _TERMFONT_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _term_fontrepl cmpq $0, 32(%r14) je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _term_vspace LBB0_2: cmpl $0, 24(%rbx) je LBB0_3 ## %bb.6: movq 24(%r14), %rdi testq %rdi, %rdi jne LBB0_8 ## %bb.7: leaq L_.str.1(%rip), %rdi LBB0_8: callq _mandoc_strdup movq %rax, -48(%rbp) jmp LBB0_9 LBB0_3: cmpq $0, 32(%r14) je LBB0_5 ## %bb.4: movq %rbx, %rdi callq _term_vspace movq %rbx, %rdi callq _term_vspace LBB0_5: movq (%r14), %rdx movq 8(%r14), %rcx leaq L_.str(%rip), %rsi leaq -48(%rbp), %rdi callq _mandoc_asprintf LBB0_9: movq 16(%r14), %rsi movq %rbx, %rdi callq _term_strlen movq _TERMP_NOSPACE@GOTPCREL(%rip), %r15 movq _TERMP_NOBREAK@GOTPCREL(%rip), %r12 movl (%r12), %ecx orl (%r15), %ecx orl %ecx, (%rbx) movl $1, 4(%rbx) movq 16(%rbx), %rcx movq $0, (%rcx) movq 8(%rbx), %r13 subq %rax, %r13 jbe LBB0_10 ## %bb.11: movq %rbx, %rdi movl $1, %esi callq _term_len addq %rax, %r13 shrq %r13 movq 16(%rbx), %rcx jmp LBB0_12 LBB0_10: xorl %r13d, %r13d LBB0_12: movq %r13, 8(%rcx) movq 24(%r14), %rsi testq %rsi, %rsi je LBB0_14 ## %bb.13: movq %rbx, %rdi callq _term_word LBB0_14: movq %rbx, %rdi callq _term_flushln movq 16(%rbx), %rax movq 8(%rax), %rcx movq %rcx, (%rax) movq -48(%rbp), %rsi movq %rbx, %rdi callq _term_strlen movq 8(%rbx), %rcx movq 16(%rbx), %rdx xorl %esi, %esi subq %rax, %rcx cmovaeq %rcx, %rsi movq %rsi, 8(%rdx) movl (%r15), %eax orl %eax, (%rbx) movq 16(%r14), %rsi movq %rbx, %rdi callq _term_word movq %rbx, %rdi callq _term_flushln movl (%r12), %eax notl %eax andl (%rbx), %eax movl %eax, (%rbx) orl (%r15), %eax movl %eax, (%rbx) movl $0, 4(%rbx) movq 16(%rbx), %rax movq 8(%rax), %rcx movq %rcx, (%rax) movq 8(%rbx), %rcx movq %rcx, 8(%rax) movq -48(%rbp), %rsi movq %rbx, %rdi callq _term_word movq %rbx, %rdi callq _term_flushln movq 16(%rbx), %rax movq $0, (%rax) movl $0, (%rbx) movq -48(%rbp), %rdi callq _free addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TERMFONT_NONE,4,2 ## @TERMFONT_NONE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s(%s)" L_.str.1: ## @.str.1 .space 1 .comm _TERMP_NOSPACE,4,2 ## @TERMP_NOSPACE .comm _TERMP_NOBREAK,4,2 ## @TERMP_NOBREAK .no_dead_strip _print_man_foot .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print_man_foot _print_man_foot: ; @print_man_foot .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, x1 mov x19, x0 ldr x0, [x1] bl _assert ldr x0, [x20, #8] bl _assert ldr x0, [x20, #16] bl _assert Lloh0: adrp x8, _TERMFONT_NONE@GOTPAGE Lloh1: ldr x8, [x8, _TERMFONT_NONE@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 bl _term_fontrepl ldr x8, [x20, #32] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 bl _term_vspace LBB0_2: ldr w8, [x19, #24] cbz w8, LBB0_6 ; %bb.3: ldr x0, [x20, #24] cbnz x0, LBB0_5 ; %bb.4: Lloh3: adrp x0, l_.str.1@PAGE Lloh4: add x0, x0, l_.str.1@PAGEOFF LBB0_5: bl _mandoc_strdup str x0, [sp, #8] b LBB0_9 LBB0_6: ldr x8, [x20, #32] cbz x8, LBB0_8 ; %bb.7: mov x0, x19 bl _term_vspace mov x0, x19 bl _term_vspace LBB0_8: ldp x2, x3, [x20] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF add x0, sp, #8 bl _mandoc_asprintf LBB0_9: ldr x1, [x20, #16] mov x0, x19 bl _term_strlen Lloh7: adrp x21, _TERMP_NOSPACE@GOTPAGE Lloh8: ldr x21, [x21, _TERMP_NOSPACE@GOTPAGEOFF] Lloh9: adrp x22, _TERMP_NOBREAK@GOTPAGE Lloh10: ldr x22, [x22, _TERMP_NOBREAK@GOTPAGEOFF] ldr w8, [x21] ldr w9, [x22] orr w8, w9, w8 ldr w9, [x19] orr w8, w8, w9 mov w9, #1 stp w8, w9, [x19] ldp x9, x8, [x19, #8] str xzr, [x8] subs x23, x9, x0 b.ls LBB0_11 ; %bb.10: mov x0, x19 mov w1, #1 bl _term_len add x8, x23, x0 lsr x9, x8, #1 ldr x8, [x19, #16] b LBB0_12 LBB0_11: mov x9, #0 LBB0_12: str x9, [x8, #8] ldr x1, [x20, #24] cbz x1, LBB0_14 ; %bb.13: mov x0, x19 bl _term_word LBB0_14: mov x0, x19 bl _term_flushln ldr x8, [x19, #16] ldr x9, [x8, #8] str x9, [x8] ldr x1, [sp, #8] mov x0, x19 bl _term_strlen ldp x8, x9, [x19, #8] subs x8, x8, x0 csel x8, xzr, x8, lo str x8, [x9, #8] ldr w8, [x21] ldr w9, [x19] orr w8, w9, w8 str w8, [x19] ldr x1, [x20, #16] mov x0, x19 bl _term_word mov x0, x19 bl _term_flushln ldr w8, [x22] ldr w9, [x19] bic w8, w9, w8 stp w8, wzr, [x19] ldr w9, [x21] orr w8, w9, w8 str w8, [x19] ldp x9, x8, [x19, #8] ldr x10, [x8, #8] stp x10, x9, [x8] ldr x1, [sp, #8] mov x0, x19 bl _term_word mov x0, x19 bl _term_flushln ldr x8, [x19, #16] str xzr, [x8] str wzr, [x19] ldr x0, [sp, #8] bl _free 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _TERMFONT_NONE,4,2 ; @TERMFONT_NONE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s(%s)" l_.str.1: ; @.str.1 .space 1 .comm _TERMP_NOSPACE,4,2 ; @TERMP_NOSPACE .comm _TERMP_NOBREAK,4,2 ; @TERMP_NOBREAK .no_dead_strip _print_man_foot .subsections_via_symbols
AnghaBench/freebsd/contrib/mandoc/extr_man_term.c_print_man_foot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ucb1400_core_probe _ucb1400_core_probe: ## @ucb1400_core_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 %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq -48(%rbp), %rdi xorl %r12d, %r12d xorl %esi, %esi movl $16, %edx callq _memset leaq -64(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _memset movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $16, %edi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r14 movq %rbx, %rdi movq %rax, %rsi callq _dev_set_drvdata movq %rbx, %rdi callq _to_ac97_t movq %rax, %r15 movq _UCB_ID@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _ucb1400_reg_read movq %rax, -48(%rbp) movq _UCB_ID_1400@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.5: movq %r15, -56(%rbp) leaq L_.str(%rip), %rdi movl $-1, %esi callq _platform_device_alloc movq %rax, (%r14) testq %rax, %rax je LBB0_6 ## %bb.7: leaq -64(%rbp), %rsi movq %rax, %rdi movl $16, %edx callq _platform_device_add_data movl %eax, %r12d testl %eax, %eax jne LBB0_16 ## %bb.8: movq (%r14), %rdi callq _platform_device_add movl %eax, %r12d testl %eax, %eax jne LBB0_16 ## %bb.9: movq %r15, -40(%rbp) leaq L_.str.1(%rip), %rdi movl $-1, %esi callq _platform_device_alloc movq %rax, 8(%r14) testq %rax, %rax je LBB0_10 ## %bb.11: leaq -48(%rbp), %rsi movq %rax, %rdi movl $16, %edx callq _platform_device_add_data movl %eax, %r12d testl %eax, %eax jne LBB0_14 ## %bb.12: movq 8(%r14), %rdi callq _platform_device_add movl %eax, %r12d testl %eax, %eax je LBB0_13 LBB0_14: movq 8(%r14), %rdi callq _platform_device_put jmp LBB0_15 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax subl (%rax), %r12d jmp LBB0_18 LBB0_3: movq _ENODEV@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_6: movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_4: xorl %r12d, %r12d subl (%rax), %r12d jmp LBB0_17 LBB0_10: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d LBB0_15: movq (%r14), %rdi callq _platform_device_unregister LBB0_16: movq (%r14), %rdi callq _platform_device_put LBB0_17: movq %r14, %rdi callq _kfree LBB0_18: movl %r12d, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_13: xorl %r12d, %r12d jmp LBB0_18 .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _UCB_ID,4,2 ## @UCB_ID .comm _UCB_ID_1400,8,3 ## @UCB_ID_1400 .comm _ENODEV,4,2 ## @ENODEV .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ucb1400_gpio" L_.str.1: ## @.str.1 .asciz "ucb1400_ts" .no_dead_strip _ucb1400_core_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ucb1400_core_probe _ucb1400_core_probe: ; @ucb1400_core_probe .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 add x0, sp, #16 mov w1, #0 mov w2, #16 bl _memset mov x0, sp mov w1, #0 mov w2, #16 bl _memset Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #16 bl _kzalloc cbz x0, LBB0_9 ; %bb.1: mov x19, x0 mov x0, x20 mov x1, x19 bl _dev_set_drvdata mov x0, x20 bl _to_ac97_t mov x21, x0 Lloh3: adrp x8, _UCB_ID@GOTPAGE Lloh4: ldr x8, [x8, _UCB_ID@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _ucb1400_reg_read str x0, [sp, #16] Lloh6: adrp x8, _UCB_ID_1400@GOTPAGE Lloh7: ldr x8, [x8, _UCB_ID_1400@GOTPAGEOFF] Lloh8: ldr x8, [x8] cmp x0, x8 b.ne LBB0_10 ; %bb.2: str x21, [sp, #8] Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF mov w1, #-1 bl _platform_device_alloc str x0, [x19] cbz x0, LBB0_11 ; %bb.3: mov x1, sp mov w2, #16 bl _platform_device_add_data mov x20, x0 cbnz w0, LBB0_15 ; %bb.4: ldr x0, [x19] bl _platform_device_add mov x20, x0 cbnz w0, LBB0_15 ; %bb.5: str x21, [sp, #24] Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF mov w1, #-1 bl _platform_device_alloc str x0, [x19, #8] cbz x0, LBB0_13 ; %bb.6: add x1, sp, #16 mov w2, #16 bl _platform_device_add_data mov x20, x0 cbnz w0, LBB0_8 ; %bb.7: ldr x0, [x19, #8] bl _platform_device_add mov x20, x0 cbz w0, LBB0_17 LBB0_8: ldr x0, [x19, #8] bl _platform_device_put b LBB0_14 LBB0_9: Lloh13: adrp x8, _ENOMEM@GOTPAGE Lloh14: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh15: ldr w8, [x8] neg w20, w8 b LBB0_17 LBB0_10: Lloh16: adrp x8, _ENODEV@GOTPAGE Lloh17: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_12 LBB0_11: Lloh18: adrp x8, _ENOMEM@GOTPAGE Lloh19: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_12: ldr w8, [x8] neg w20, w8 b LBB0_16 LBB0_13: Lloh20: adrp x8, _ENOMEM@GOTPAGE Lloh21: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh22: ldr w8, [x8] neg w20, w8 LBB0_14: ldr x0, [x19] bl _platform_device_unregister LBB0_15: ldr x0, [x19] bl _platform_device_put LBB0_16: mov x0, x19 bl _kfree LBB0_17: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _UCB_ID,4,2 ; @UCB_ID .comm _UCB_ID_1400,8,3 ; @UCB_ID_1400 .comm _ENODEV,4,2 ; @ENODEV .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ucb1400_gpio" l_.str.1: ; @.str.1 .asciz "ucb1400_ts" .no_dead_strip _ucb1400_core_probe .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/mfd/extr_ucb1400_core.c_ucb1400_core_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ip_address_access_free_all ## -- Begin function ip_address_access_free_all .p2align 4, 0x90 _ip_address_access_free_all: ## @ip_address_access_free_all .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 testq %rdi, %rdi je LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%rdi), %rbx callq _free movq %rbx, %rdi testq %rbx, %rbx jne LBB0_1 LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ip_address_access_free_all ; -- Begin function ip_address_access_free_all .p2align 2 _ip_address_access_free_all: ; @ip_address_access_free_all .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x19, [x0] bl _free mov x0, x19 cbnz x19, LBB0_1 LBB0_2: mov x0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/systemd/src/core/extr_ip-address-access.c_ip_address_access_free_all.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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $2, %edi jg LBB0_2 ## %bb.1: leaq L_str(%rip), %rdi callq _puts jmp LBB0_12 LBB0_2: movq %rsi, %r14 movq 8(%rsi), %rdi leaq L_.str.1(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %rbx movq 16(%r14), %rsi leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq ___stdoutp@GOTPCREL(%rip), %r12 leaq L_.str.4(%rip), %r14 leaq L_.str.5(%rip), %r15 jmp LBB0_5 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movq (%r12), %rsi movq %r15, %rdi callq _fputs LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _fgetc cmpl $10, %eax je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 cmpl $92, %eax je LBB0_10 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 cmpl $-1, %eax je LBB0_11 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movl %eax, %edi callq _putchar jmp LBB0_5 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 movq (%r12), %rsi movq %r14, %rdi callq _fputs jmp LBB0_5 LBB0_11: leaq L_.str.6(%rip), %rdi callq _puts movq %rbx, %rdi callq _fclose LBB0_12: xorl %eax, %eax jmp LBB0_13 LBB0_3: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.2(%rip), %rdi movl $30, %esi movl $1, %edx callq _fwrite movl $1, %eax LBB0_13: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "Unable to open specified file\n" L_.str.3: ## @.str.3 .asciz "static const char* %s = \n\"" L_.str.4: ## @.str.4 .asciz "\\n\"\n\"" L_.str.5: ## @.str.5 .asciz "\\\\" L_.str.6: ## @.str.6 .asciz "\";\n" L_str: ## @str .asciz "Usage: ./string_var <path to text file> <variable name>" .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, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w0, #2 b.gt LBB0_2 ; %bb.1: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts b LBB0_11 LBB0_2: mov x20, x1 ldr x0, [x1, #8] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _fopen cbz x0, LBB0_12 ; %bb.3: mov x19, x0 ldr x8, [x20, #16] str x8, [sp] Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@PAGEOFF bl _printf Lloh6: adrp x22, ___stdoutp@GOTPAGE Lloh7: ldr x22, [x22, ___stdoutp@GOTPAGEOFF] Lloh8: adrp x20, l_.str.4@PAGE Lloh9: add x20, x20, l_.str.4@PAGEOFF Lloh10: adrp x21, l_.str.5@PAGE Lloh11: add x21, x21, l_.str.5@PAGEOFF b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr x1, [x22] mov x0, x21 bl _fputs LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _fgetc cmp w0, #10 b.eq LBB0_9 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #92 b.eq LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 cmn w0, #1 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 bl _putchar b LBB0_5 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldr x1, [x22] mov x0, x20 bl _fputs b LBB0_5 LBB0_10: Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _puts mov x0, x19 bl _fclose LBB0_11: mov w19, #0 b LBB0_13 LBB0_12: Lloh14: adrp x8, ___stderrp@GOTPAGE Lloh15: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh16: ldr x3, [x8] Lloh17: adrp x0, l_.str.2@PAGE Lloh18: add x0, x0, l_.str.2@PAGEOFF mov w19, #1 mov w1, #30 mov w2, #1 bl _fwrite LBB0_13: 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 add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "Unable to open specified file\n" l_.str.3: ; @.str.3 .asciz "static const char* %s = \n\"" l_.str.4: ; @.str.4 .asciz "\\n\"\n\"" l_.str.5: ; @.str.5 .asciz "\\\\" l_.str.6: ; @.str.6 .asciz "\";\n" l_str: ; @str .asciz "Usage: ./string_var <path to text file> <variable name>" .subsections_via_symbols
the_stack_data/44472.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function snapper_info_capture_source _snapper_info_capture_source: ## @snapper_info_capture_source .cfi_startproc ## %bb.0: movq _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rsi) movabsq $8589934593, %rax ## imm = 0x200000001 movq %rax, (%rsi) movl 8(%rsi), %eax cmpl $2, %eax jl LBB0_2 ## %bb.1: movl $1, 8(%rsi) movl $1, %eax LBB0_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 12(%rsi), %edi cltq leaq _snapper_info_capture_source.texts.rel(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi callq _strcpy xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2, 0x0 ## @snapper_info_capture_source.texts.rel _snapper_info_capture_source.texts.rel: .long L_.str-_snapper_info_capture_source.texts.rel .long L_.str.1-_snapper_info_capture_source.texts.rel .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Line" L_.str.1: ## @.str.1 .asciz "Mic" .comm _SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED .no_dead_strip _snapper_info_capture_source .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ; -- Begin function snapper_info_capture_source lCPI0_0: .long 1 ; 0x1 .long 2 ; 0x2 .section __TEXT,__text,regular,pure_instructions .p2align 2 _snapper_info_capture_source: ; @snapper_info_capture_source .cfi_startproc ; %bb.0: Lloh0: adrp x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE Lloh1: ldr x8, [x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x1, #16] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr d0, [x8, lCPI0_0@PAGEOFF] str d0, [x1] ldr w8, [x1, #8] cmp w8, #2 b.lt LBB0_2 ; %bb.1: mov w8, #1 ; =0x1 str w8, [x1, #8] LBB0_2: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w0, [x1, #12] Lloh5: adrp x9, _snapper_info_capture_source.texts@PAGE Lloh6: add x9, x9, _snapper_info_capture_source.texts@PAGEOFF ldr x1, [x9, w8, sxtw #3] bl _strcpy mov w0, #0 ; =0x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __DATA,__const .p2align 3, 0x0 ; @snapper_info_capture_source.texts _snapper_info_capture_source.texts: .quad l_.str .quad l_.str.1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Line" l_.str.1: ; @.str.1 .asciz "Mic" .comm _SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED .no_dead_strip _snapper_info_capture_source .subsections_via_symbols
assembly_file_183981.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function synic_set_sint _synic_set_sint: ## @synic_set_sint .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 %edx, %r15d movl %esi, %r12d movq %rdi, %r14 movq _HV_SYNIC_SINT_VECTOR_MASK@GOTPCREL(%rip), %rax movl (%rax), %ebx andl %edx, %ebx testl %ecx, %ecx jne LBB0_3 ## %bb.1: movq _HV_SYNIC_FIRST_VALID_VECTOR@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jge LBB0_3 ## %bb.2: movq _HV_SYNIC_SINT_MASKED@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $1, %eax andl %r15d, %ecx je LBB0_4 LBB0_3: movq %r14, %rdi movl %r12d, %esi callq _synic_read_sint movl %eax, %r13d movq _HV_SYNIC_SINT_VECTOR_MASK@GOTPCREL(%rip), %rax andl (%rax), %r13d movslq %r12d, %rdi shlq $2, %rdi addq (%r14), %rdi movl %r15d, %esi callq _atomic64_set movq %r14, %rdi movl %r13d, %esi callq _synic_update_vector movq %r14, %rdi movl %ebx, %esi callq _synic_update_vector movq _KVM_REQ_SCAN_IOAPIC@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %r14, %rdi callq _synic_to_vcpu movl %ebx, %edi movl %eax, %esi callq _kvm_make_request xorl %eax, %eax LBB0_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HV_SYNIC_SINT_VECTOR_MASK,4,2 ## @HV_SYNIC_SINT_VECTOR_MASK .comm _HV_SYNIC_SINT_MASKED,4,2 ## @HV_SYNIC_SINT_MASKED .comm _HV_SYNIC_FIRST_VALID_VECTOR,4,2 ## @HV_SYNIC_FIRST_VALID_VECTOR .comm _KVM_REQ_SCAN_IOAPIC,4,2 ## @KVM_REQ_SCAN_IOAPIC .no_dead_strip _synic_set_sint .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function synic_set_sint _synic_set_sint: ; @synic_set_sint .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 x22, x1 mov x19, x0 Lloh0: adrp x23, _HV_SYNIC_SINT_VECTOR_MASK@GOTPAGE Lloh1: ldr x23, [x23, _HV_SYNIC_SINT_VECTOR_MASK@GOTPAGEOFF] ldr w8, [x23] and w20, w8, w2 cbnz w3, LBB0_3 ; %bb.1: Lloh2: adrp x8, _HV_SYNIC_SINT_MASKED@GOTPAGE Lloh3: ldr x8, [x8, _HV_SYNIC_SINT_MASKED@GOTPAGEOFF] Lloh4: ldr w8, [x8] and w8, w8, w21 Lloh5: adrp x9, _HV_SYNIC_FIRST_VALID_VECTOR@GOTPAGE Lloh6: ldr x9, [x9, _HV_SYNIC_FIRST_VALID_VECTOR@GOTPAGEOFF] Lloh7: ldr w9, [x9] cmp w20, w9 ccmp w8, #0, #0, lt b.ne LBB0_3 ; %bb.2: mov w0, #1 b LBB0_4 LBB0_3: mov x0, x19 mov x1, x22 bl _synic_read_sint ldr w8, [x23] and w23, w8, w0 ldr x8, [x19] add x0, x8, w22, sxtw #2 mov x1, x21 bl _atomic64_set mov x0, x19 mov x1, x23 bl _synic_update_vector mov x0, x19 mov x1, x20 bl _synic_update_vector Lloh8: adrp x8, _KVM_REQ_SCAN_IOAPIC@GOTPAGE Lloh9: ldr x8, [x8, _KVM_REQ_SCAN_IOAPIC@GOTPAGEOFF] Lloh10: ldr w20, [x8] mov x0, x19 bl _synic_to_vcpu mov x1, x0 mov x0, x20 bl _kvm_make_request mov w0, #0 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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _HV_SYNIC_SINT_VECTOR_MASK,4,2 ; @HV_SYNIC_SINT_VECTOR_MASK .comm _HV_SYNIC_SINT_MASKED,4,2 ; @HV_SYNIC_SINT_MASKED .comm _HV_SYNIC_FIRST_VALID_VECTOR,4,2 ; @HV_SYNIC_FIRST_VALID_VECTOR .comm _KVM_REQ_SCAN_IOAPIC,4,2 ; @KVM_REQ_SCAN_IOAPIC .no_dead_strip _synic_set_sint .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/extr_hyperv.c_synic_set_sint.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _send_steno_chord_user ## -- Begin function send_steno_chord_user .weak_definition _send_steno_chord_user .p2align 4, 0x90 _send_steno_chord_user: ## @send_steno_chord_user .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _send_steno_chord_user ; -- Begin function send_steno_chord_user .weak_definition _send_steno_chord_user .p2align 2 _send_steno_chord_user: ; @send_steno_chord_user .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/quantum/process_keycode/extr_process_steno.c_send_steno_chord_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cc_port_destroy ## -- Begin function cc_port_destroy .p2align 4, 0x90 _cc_port_destroy: ## @cc_port_destroy .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, %r14d movq %rdi, %r15 movq 16(%rdi), %rdi movq _node_link@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r15, %rsi callq _TAILQ_REMOVE leaq 8(%r15), %r12 movq %r12, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx movq _link@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r13), %edx movq %r12, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movq %rbx, %rdi callq _CCFREE movq %r12, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_2 LBB0_3: leaq 4(%r15), %rbx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _LIST_EMPTY testl %eax, %eax jne LBB0_5 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _LIST_FIRST movl %eax, %edi movl %r14d, %esi callq _cc_conn_abort jmp LBB0_4 LBB0_5: movq %r15, %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_8 ## %bb.6: movq %rax, %rbx movq _port_link@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl (%r14), %edx movq %r15, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movq %rbx, %rdi callq _CCFREE movq %r15, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_7 LBB0_8: movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _CCFREE ## TAILCALL .cfi_endproc ## -- End function .comm _node_link,4,2 ## @node_link .comm _link,4,2 ## @link .comm _port_link,4,2 ## @port_link .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cc_port_destroy ; -- Begin function cc_port_destroy .p2align 2 _cc_port_destroy: ; @cc_port_destroy .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 ldr x0, [x0, #16] Lloh0: adrp x8, _node_link@GOTPAGE Lloh1: ldr x8, [x8, _node_link@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x1, x19 bl _TAILQ_REMOVE add x21, x19, #8 mov x0, x21 bl _TAILQ_FIRST cbz x0, LBB0_3 ; %bb.1: mov x22, x0 Lloh3: adrp x23, _link@GOTPAGE Lloh4: ldr x23, [x23, _link@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w2, [x23] mov x0, x21 mov x1, x22 bl _TAILQ_REMOVE mov x0, x22 bl _CCFREE mov x0, x21 bl _TAILQ_FIRST mov x22, x0 cbnz x0, LBB0_2 LBB0_3: add x21, x19, #4 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _LIST_EMPTY cbnz w0, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _LIST_FIRST mov x1, x20 bl _cc_conn_abort b LBB0_4 LBB0_6: mov x0, x19 bl _TAILQ_FIRST cbz x0, LBB0_9 ; %bb.7: mov x20, x0 Lloh5: adrp x21, _port_link@GOTPAGE Lloh6: ldr x21, [x21, _port_link@GOTPAGEOFF] LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w2, [x21] mov x0, x19 mov x1, x20 bl _TAILQ_REMOVE mov x0, x20 bl _CCFREE mov x0, x19 bl _TAILQ_FIRST mov x20, x0 cbnz x0, LBB0_8 LBB0_9: 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 _CCFREE .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _node_link,4,2 ; @node_link .comm _link,4,2 ; @link .comm _port_link,4,2 ; @port_link .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/ngatm/netnatm/api/extr_cc_port.c_cc_port_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZBUFFv04_decompressInit ## -- Begin function ZBUFFv04_decompressInit .p2align 4, 0x90 _ZBUFFv04_decompressInit: ## @ZBUFFv04_decompressInit .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 _ZBUFF_decompressInit ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZBUFFv04_decompressInit ; -- Begin function ZBUFFv04_decompressInit .p2align 2 _ZBUFFv04_decompressInit: ; @ZBUFFv04_decompressInit .cfi_startproc ; %bb.0: b _ZBUFF_decompressInit .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v04.c_ZBUFFv04_decompressInit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function gdi_prune _gdi_prune: ## @gdi_prune .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 %rdi, %r14 movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rax movq (%rax), %rdi decq %rdi callq _malloc movq %rax, %r15 movq _RETRO_VFS_FILE_ACCESS_READ@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RETRO_VFS_FILE_ACCESS_HINT_NONE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _intfstream_open_file movq %rax, %r12 testq %rax, %rax je LBB0_11 ## %bb.1: movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %r12, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movq %r15, %rdx callq _gdi_next_file testq %rax, %rax je LBB0_11 ## %bb.2: leaq L_.str(%rip), %r13 jmp LBB0_4 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_4 Depth=1 movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %r12, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movq %r15, %rdx callq _gdi_next_file testq %rax, %rax je LBB0_11 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 movq (%r14), %rbx movq 8(%r14), %rax jmp LBB0_10 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_10 Depth=2 movq %r13, %rdi movq %r15, %rsi callq _RARCH_LOG movq 8(%r14), %rax movq 8(%rax), %rax movq (%rax,%rbx,8), %rdi callq _free movq 8(%r14), %rax movq 8(%rax), %rcx movq $0, (%rcx,%rbx,8) LBB0_9: ## in Loop: Header=BB0_10 Depth=2 incq %rbx LBB0_10: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq (%rax), %rbx ja LBB0_3 ## %bb.5: ## in Loop: Header=BB0_10 Depth=2 movq 8(%rax), %rax cmpq $0, (%rax,%rbx,8) jne LBB0_8 ## %bb.6: ## in Loop: Header=BB0_10 Depth=2 movq %r15, %rdi xorl %esi, %esi callq _string_is_equal testq %rax, %rax jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_10 Depth=2 movq 8(%r14), %rax jmp LBB0_9 LBB0_11: movq %r12, %rdi callq _free movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .comm _PATH_MAX_LENGTH,8,3 ## @PATH_MAX_LENGTH .comm _RETRO_VFS_FILE_ACCESS_READ,4,2 ## @RETRO_VFS_FILE_ACCESS_READ .comm _RETRO_VFS_FILE_ACCESS_HINT_NONE,4,2 ## @RETRO_VFS_FILE_ACCESS_HINT_NONE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Pruning file referenced by gdi: %s\n" .no_dead_strip _gdi_prune .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function gdi_prune _gdi_prune: ; @gdi_prune .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh0: adrp x24, _PATH_MAX_LENGTH@GOTPAGE Lloh1: ldr x24, [x24, _PATH_MAX_LENGTH@GOTPAGEOFF] ldr x8, [x24] sub x0, x8, #1 bl _malloc mov x21, x0 Lloh2: adrp x8, _RETRO_VFS_FILE_ACCESS_READ@GOTPAGE Lloh3: ldr x8, [x8, _RETRO_VFS_FILE_ACCESS_READ@GOTPAGEOFF] Lloh4: ldr w1, [x8] Lloh5: adrp x8, _RETRO_VFS_FILE_ACCESS_HINT_NONE@GOTPAGE Lloh6: ldr x8, [x8, _RETRO_VFS_FILE_ACCESS_HINT_NONE@GOTPAGEOFF] Lloh7: ldr w2, [x8] mov x0, x19 bl _intfstream_open_file mov x22, x0 cbz x0, LBB0_11 ; %bb.1: ldr x3, [x24] mov x0, x22 mov x1, x19 mov x2, x21 bl _gdi_next_file cbz x0, LBB0_11 ; %bb.2: Lloh8: adrp x23, l_.str@PAGE Lloh9: add x23, x23, l_.str@PAGEOFF b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x3, [x24] mov x0, x22 mov x1, x19 mov x2, x21 bl _gdi_next_file cbz x0, LBB0_11 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldp x25, x8, [x20] b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=2 mov x0, x23 mov x1, x21 bl _RARCH_LOG ldr x8, [x20, #8] ldr x8, [x8, #8] ldr x0, [x8, x25, lsl #3] bl _free ldr x8, [x20, #8] ldr x9, [x8, #8] str xzr, [x9, x25, lsl #3] LBB0_6: ; in Loop: Header=BB0_7 Depth=2 add x25, x25, #1 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [x8] cmp x25, x9 b.hi LBB0_3 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 ldr x8, [x8, #8] ldr x8, [x8, x25, lsl #3] cbnz x8, LBB0_5 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 mov x0, x21 mov x1, #0 ; =0x0 bl _string_is_equal cbnz x0, LBB0_5 ; %bb.10: ; in Loop: Header=BB0_7 Depth=2 ldr x8, [x20, #8] b LBB0_6 LBB0_11: mov x0, x22 bl _free mov x0, x21 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 b _free .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _PATH_MAX_LENGTH,8,3 ; @PATH_MAX_LENGTH .comm _RETRO_VFS_FILE_ACCESS_READ,4,2 ; @RETRO_VFS_FILE_ACCESS_READ .comm _RETRO_VFS_FILE_ACCESS_HINT_NONE,4,2 ; @RETRO_VFS_FILE_ACCESS_HINT_NONE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Pruning file referenced by gdi: %s\n" .no_dead_strip _gdi_prune .subsections_via_symbols
assembly_file_20334.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function skge_board_name _skge_board_name: ## @skge_board_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq _skge_chips@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_5 ## %bb.1: movl $8, %r12d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rdi movl -8(%rdi,%r12), %eax cmpl (%r15), %eax je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 incq %rbx callq _ARRAY_SIZE cltq addq $16, %r12 cmpq %rax, %rbx jl LBB0_2 LBB0_5: movl (%r15), %ecx leaq _skge_board_name.buf(%rip), %rbx leaq L_.str(%rip), %rdx movq %rbx, %rdi movl $16, %esi callq _snprintf jmp LBB0_6 LBB0_3: movq (%rdi,%r12), %rbx LBB0_6: movq %rbx, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_skge_board_name.buf,16,4 ## @skge_board_name.buf .comm _skge_chips,8,3 ## @skge_chips .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "chipid 0x%x" .no_dead_strip _skge_board_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function skge_board_name _skge_board_name: ; @skge_board_name .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x20, _skge_chips@GOTPAGE Lloh1: ldr x20, [x20, _skge_chips@GOTPAGEOFF] ldr x0, [x20] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_4 ; %bb.1: mov x21, #0 mov x22, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20] ldr w8, [x0, x21] ldr w9, [x19] cmp w8, w9 b.eq LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #1 bl _ARRAY_SIZE add x21, x21, #16 cmp x22, w0, sxtw b.lt LBB0_2 LBB0_4: ldr w3, [x19] Lloh2: adrp x19, _skge_board_name.buf@PAGE Lloh3: add x19, x19, _skge_board_name.buf@PAGEOFF Lloh4: adrp x2, l_.str@PAGE Lloh5: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov w1, #16 bl _snprintf b LBB0_6 LBB0_5: add x8, x0, x21 ldr x19, [x8, #8] 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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_skge_board_name.buf,16,0 ; @skge_board_name.buf .comm _skge_chips,8,3 ; @skge_chips .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "chipid 0x%x" .no_dead_strip _skge_board_name .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/marvell/extr_skge.c_skge_board_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ary_var_stdev _ary_var_stdev: ## @ary_var_stdev .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 movl %r8d, %r14d movq %rcx, %r13 movl %esi, %r12d movq %rdi, %r15 leaq -48(%rbp), %rax movq %rax, (%rsp) leaq L_.str(%rip), %rcx leaq -56(%rbp), %r8 leaq -44(%rbp), %r9 callq _strm_get_args movl -44(%rbp), %eax testl %r12d, %r12d je LBB0_3 ## %bb.1: testl %eax, %eax jle LBB0_2 ## %bb.7: movq %r13, -88(%rbp) ## 8-byte Spill xorpd %xmm3, %xmm3 xorl %ebx, %ebx movq _STRM_NG@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movapd %xmm3, -80(%rbp) ## 16-byte Spill movq -56(%rbp), %rax movl (%rax,%rbx,4), %esi movl -48(%rbp), %edx movq %r15, %rdi callq _convert_number movl %eax, %r12d movl %eax, %edi callq _strm_number_p testl %eax, %eax je LBB0_14 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl %r12d, %edi callq _strm_value_float movapd -80(%rbp), %xmm3 ## 16-byte Reload movapd %xmm3, %xmm1 unpckhpd %xmm3, %xmm1 ## xmm1 = xmm1[1],xmm3[1] leaq 1(%rbx), %rax xorps %xmm2, %xmm2 cvtsi2sd %eax, %xmm2 subsd %xmm1, %xmm0 xorps %xmm1, %xmm1 cvtsi2sd %ebx, %xmm1 mulsd %xmm0, %xmm1 mulsd %xmm0, %xmm1 unpcklpd %xmm0, %xmm1 ## xmm1 = xmm1[0],xmm0[0] movddup %xmm2, %xmm0 ## xmm0 = xmm2[0,0] divpd %xmm0, %xmm1 addpd %xmm1, %xmm3 movslq -44(%rbp), %rcx movq %rax, %rbx cmpq %rcx, %rax jl LBB0_8 ## %bb.10: decl %eax movq -88(%rbp), %r13 ## 8-byte Reload jmp LBB0_11 LBB0_3: testl %eax, %eax jle LBB0_2 ## %bb.4: xorpd %xmm3, %xmm3 xorl %eax, %eax .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movapd %xmm3, -80(%rbp) ## 16-byte Spill movq %rax, %rbx movq -56(%rbp), %rax movl (%rax,%rbx,4), %edi callq _strm_value_float movapd -80(%rbp), %xmm2 ## 16-byte Reload movapd %xmm2, %xmm1 unpckhpd %xmm2, %xmm1 ## xmm1 = xmm1[1],xmm2[1] subsd %xmm1, %xmm0 leaq 1(%rbx), %rax xorps %xmm1, %xmm1 cvtsi2sd %eax, %xmm1 xorps %xmm3, %xmm3 cvtsi2sd %ebx, %xmm3 mulsd %xmm0, %xmm3 mulsd %xmm0, %xmm3 unpcklpd %xmm0, %xmm3 ## xmm3 = xmm3[0],xmm0[0] movddup %xmm1, %xmm0 ## xmm0 = xmm1[0,0] divpd %xmm0, %xmm3 addpd %xmm2, %xmm3 movslq -44(%rbp), %rcx cmpq %rcx, %rax jl LBB0_5 ## %bb.6: decl %eax jmp LBB0_11 LBB0_2: movl $-1, %eax xorpd %xmm3, %xmm3 LBB0_11: xorps %xmm0, %xmm0 cvtsi2sd %eax, %xmm0 divsd %xmm0, %xmm3 testl %r14d, %r14d je LBB0_13 ## %bb.12: sqrtsd %xmm3, %xmm3 LBB0_13: movapd %xmm3, %xmm0 callq _strm_float_value movl %eax, (%r13) movq _STRM_OK@GOTPCREL(%rip), %r13 LBB0_14: movl (%r13), %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "a|v" .comm _STRM_NG,4,2 ## @STRM_NG .comm _STRM_OK,4,2 ## @STRM_OK .no_dead_strip _ary_var_stdev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ary_var_stdev _ary_var_stdev: ; @ary_var_stdev .cfi_startproc ; %bb.0: sub sp, sp, #112 stp d9, d8, [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 b8, -72 .cfi_offset b9, -80 mov x20, x4 mov x19, x3 mov x22, x1 mov x21, x0 Lloh0: adrp x3, l_.str@PAGE Lloh1: add x3, x3, l_.str@PAGEOFF add x4, sp, #16 add x5, sp, #12 add x6, sp, #28 bl _strm_get_args ldr w8, [sp, #12] cmp w8, #1 cbz w22, LBB0_5 ; %bb.1: b.lt LBB0_9 ; %bb.2: mov x24, #0 ; =0x0 movi d9, #0000000000000000 Lloh2: adrp x23, _STRM_NG@GOTPAGE Lloh3: ldr x23, [x23, _STRM_NG@GOTPAGEOFF] movi d8, #0000000000000000 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldr w1, [x8, x24, lsl #2] ldr w2, [sp, #28] mov x0, x21 bl _convert_number mov x22, x0 bl _strm_number_p cbz w0, LBB0_11 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x22 bl _strm_value_float add x8, x24, #1 ucvtf d1, w8 fsub d0, d0, d9 fdiv d2, d0, d1 fadd d9, d9, d2 ucvtf d2, w24 fmul d2, d0, d2 fmul d0, d0, d2 fdiv d0, d0, d1 fadd d8, d8, d0 ldrsw x9, [sp, #12] mov x24, x8 cmp x8, x9 b.lt LBB0_3 b LBB0_8 LBB0_5: b.lt LBB0_9 ; %bb.6: mov x8, #0 ; =0x0 movi d9, #0000000000000000 movi d8, #0000000000000000 LBB0_7: ; =>This Inner Loop Header: Depth=1 mov x21, x8 ldr x8, [sp, #16] ldr w0, [x8, x21, lsl #2] bl _strm_value_float fsub d0, d0, d9 add x8, x21, #1 ucvtf d1, w8 fdiv d2, d0, d1 fadd d9, d9, d2 ucvtf d2, w21 fmul d2, d0, d2 fmul d0, d0, d2 fdiv d0, d0, d1 fadd d8, d8, d0 ldrsw x9, [sp, #12] cmp x8, x9 b.lt LBB0_7 LBB0_8: sub w8, w8, #1 b LBB0_10 LBB0_9: mov w8, #-1 ; =0xffffffff movi d8, #0000000000000000 LBB0_10: scvtf d0, w8 fdiv d0, d8, d0 fsqrt d1, d0 cmp w20, #0 fcsel d0, d0, d1, eq bl _strm_float_value str w0, [x19] Lloh4: adrp x23, _STRM_OK@GOTPAGE Lloh5: ldr x23, [x23, _STRM_OK@GOTPAGEOFF] LBB0_11: ldr w0, [x23] 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 d9, d8, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "a|v" .comm _STRM_NG,4,2 ; @STRM_NG .comm _STRM_OK,4,2 ; @STRM_OK .no_dead_strip _ary_var_stdev .subsections_via_symbols
assembly_file_20467.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _amin ## -- Begin function amin .p2align 4, 0x90 _amin: ## @amin .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp minss %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _amin ; -- Begin function amin .p2align 2 _amin: ; @amin .cfi_startproc ; %bb.0: fcmp s0, s1 fcsel s0, s0, s1, mi ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/92327763.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dn_nsp_retrans_conninit _dn_nsp_retrans_conninit: ## @dn_nsp_retrans_conninit .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 _DN_SK movq (%rax), %rax movq _DN_CI@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq _NSP_RCI@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _dn_nsp_send_conninit LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _DN_CI,8,3 ## @DN_CI .comm _NSP_RCI,4,2 ## @NSP_RCI .no_dead_strip _dn_nsp_retrans_conninit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dn_nsp_retrans_conninit _dn_nsp_retrans_conninit: ; @dn_nsp_retrans_conninit .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 _DN_SK ldr x8, [x0] Lloh0: adrp x9, _DN_CI@GOTPAGE Lloh1: ldr x9, [x9, _DN_CI@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: Lloh3: adrp x8, _NSP_RCI@GOTPAGE Lloh4: ldr x8, [x8, _NSP_RCI@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _dn_nsp_send_conninit LBB0_2: mov w0, #0 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 _DN_CI,8,3 ; @DN_CI .comm _NSP_RCI,4,2 ; @NSP_RCI .no_dead_strip _dn_nsp_retrans_conninit .subsections_via_symbols
AnghaBench/linux/net/decnet/extr_dn_nsp_out.c_dn_nsp_retrans_conninit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipc_marshal_workspace_event ## -- Begin function ipc_marshal_workspace_event .p2align 4, 0x90 _ipc_marshal_workspace_event: ## @ipc_marshal_workspace_event .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, %rbx movq %rdi, %r12 movq _LC_NUMERIC@GOTPCREL(%rip), %r13 movl (%r13), %edi leaq L_.str(%rip), %rsi callq _setlocale xorl %eax, %eax callq _ygenalloc movl %eax, %r15d movq _map_open@GOTPCREL(%rip), %rax movl (%rax), %edi callq _y leaq L_.str.1(%rip), %rdi callq _ystr movq %r12, %rdi callq _ystr leaq L_.str.2(%rip), %rdi callq _ystr testq %rbx, %rbx je LBB0_1 ## %bb.2: movl %r15d, %edi movq %rbx, %rsi xorl %edx, %edx callq _dump_node jmp LBB0_3 LBB0_1: movq _null@GOTPCREL(%rip), %rax movl (%rax), %edi callq _y LBB0_3: leaq L_.str.3(%rip), %rdi callq _ystr testq %r14, %r14 je LBB0_4 ## %bb.5: movl %r15d, %edi movq %r14, %rsi xorl %edx, %edx callq _dump_node jmp LBB0_6 LBB0_4: movq _null@GOTPCREL(%rip), %rax movl (%rax), %edi callq _y LBB0_6: movq _map_close@GOTPCREL(%rip), %rax movl (%rax), %edi callq _y movl (%r13), %edi leaq L_.str.4(%rip), %rsi callq _setlocale movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LC_NUMERIC,4,2 ## @LC_NUMERIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "C" .comm _map_open,4,2 ## @map_open L_.str.1: ## @.str.1 .asciz "change" L_.str.2: ## @.str.2 .asciz "current" .comm _null,4,2 ## @null L_.str.3: ## @.str.3 .asciz "old" .comm _map_close,4,2 ## @map_close L_.str.4: ## @.str.4 .space 1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipc_marshal_workspace_event ; -- Begin function ipc_marshal_workspace_event .p2align 2 _ipc_marshal_workspace_event: ; @ipc_marshal_workspace_event .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 x22, x0 Lloh0: adrp x23, _LC_NUMERIC@GOTPAGE Lloh1: ldr x23, [x23, _LC_NUMERIC@GOTPAGEOFF] ldr w0, [x23] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _setlocale bl _ygenalloc mov x19, x0 Lloh4: adrp x8, _map_open@GOTPAGE Lloh5: ldr x8, [x8, _map_open@GOTPAGEOFF] Lloh6: ldr w0, [x8] bl _y Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF bl _ystr mov x0, x22 bl _ystr Lloh9: adrp x0, l_.str.2@PAGE Lloh10: add x0, x0, l_.str.2@PAGEOFF bl _ystr cbz x21, LBB0_2 ; %bb.1: mov x0, x19 mov x1, x21 mov w2, #0 bl _dump_node b LBB0_3 LBB0_2: Lloh11: adrp x8, _null@GOTPAGE Lloh12: ldr x8, [x8, _null@GOTPAGEOFF] Lloh13: ldr w0, [x8] bl _y LBB0_3: Lloh14: adrp x0, l_.str.3@PAGE Lloh15: add x0, x0, l_.str.3@PAGEOFF bl _ystr cbz x20, LBB0_5 ; %bb.4: mov x0, x19 mov x1, x20 mov w2, #0 bl _dump_node b LBB0_6 LBB0_5: Lloh16: adrp x8, _null@GOTPAGE Lloh17: ldr x8, [x8, _null@GOTPAGEOFF] Lloh18: ldr w0, [x8] bl _y LBB0_6: Lloh19: adrp x8, _map_close@GOTPAGE Lloh20: ldr x8, [x8, _map_close@GOTPAGEOFF] Lloh21: ldr w0, [x8] bl _y ldr w0, [x23] Lloh22: adrp x1, l_.str.4@PAGE Lloh23: add x1, x1, l_.str.4@PAGEOFF bl _setlocale 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 ret .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _LC_NUMERIC,4,2 ; @LC_NUMERIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "C" .comm _map_open,4,2 ; @map_open l_.str.1: ; @.str.1 .asciz "change" l_.str.2: ; @.str.2 .asciz "current" .comm _null,4,2 ; @null l_.str.3: ; @.str.3 .asciz "old" .comm _map_close,4,2 ; @map_close l_.str.4: ; @.str.4 .space 1 .subsections_via_symbols
AnghaBench/i3/src/extr_ipc.c_ipc_marshal_workspace_event.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DistNodeRelationId ## -- Begin function DistNodeRelationId .p2align 4, 0x90 _DistNodeRelationId: ## @DistNodeRelationId .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 movq _MetadataCache@GOTPCREL(%rip), %rbx movq %rbx, %rsi callq _CachedRelationLookup movl (%rbx), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pg_dist_node" .comm _MetadataCache,4,2 ## @MetadataCache .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _DistNodeRelationId ; -- Begin function DistNodeRelationId .p2align 2 _DistNodeRelationId: ; @DistNodeRelationId .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x19, _MetadataCache@GOTPAGE Lloh3: ldr x19, [x19, _MetadataCache@GOTPAGEOFF] mov x1, x19 bl _CachedRelationLookup ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pg_dist_node" .comm _MetadataCache,4,2 ; @MetadataCache .subsections_via_symbols
AnghaBench/citus/src/backend/distributed/utils/extr_metadata_cache.c_DistNodeRelationId.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function see_initialize_data_structures _see_initialize_data_structures: ## @see_initialize_data_structures .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 _DF_HARD_REGS@GOTPCREL(%rip), %rax movq _DF_EQUIV_NOTES@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl (%rax), %edi movq _DF_SUBREGS@GOTPCREL(%rip), %rax orl (%rax), %edi callq _df_init movq _df@GOTPCREL(%rip), %rbx movl %eax, (%rbx) movl %eax, %edi xorl %esi, %esi callq _df_rd_add_problem movl (%rbx), %edi movq _DF_DU_CHAIN@GOTPCREL(%rip), %rax movq _DF_UD_CHAIN@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl (%rax), %esi callq _df_chain_add_problem movl (%rbx), %edi callq _df_analyze movq _dump_file@GOTPCREL(%rip), %rax movq (%rax), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movl (%rbx), %edi callq _df_dump LBB0_2: movq _last_basic_block@GOTPCREL(%rip), %rax movl (%rax), %eax movq _last_bb@GOTPCREL(%rip), %r14 movl %eax, (%r14) movl (%rbx), %edi callq _DF_USES_SIZE movq _uses_num@GOTPCREL(%rip), %r15 movl %eax, (%r15) movl (%rbx), %edi callq _DF_DEFS_SIZE movq _defs_num@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl %eax, %edi movl $4, %esi callq _xcalloc movq _def_entry@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl (%r15), %edi movl $4, %esi callq _xcalloc movq _use_entry@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl (%r14), %edi movl $4, %esi callq _xcalloc movq _see_bb_splay_ar@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl (%r14), %edi movl $4, %esi callq _xcalloc movq _see_bb_hash_ar@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _hash_descriptor_pre_extension@GOTPCREL(%rip), %rax movl (%rax), %esi movq _eq_descriptor_pre_extension@GOTPCREL(%rip), %rax movl (%rax), %edx movq _hash_del_pre_extension@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $10, %edi callq _htab_create movq _see_pre_extension_hash@GOTPCREL(%rip), %rcx movl %eax, (%rcx) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DF_HARD_REGS,4,2 ## @DF_HARD_REGS .comm _DF_EQUIV_NOTES,4,2 ## @DF_EQUIV_NOTES .comm _DF_SUBREGS,4,2 ## @DF_SUBREGS .comm _df,4,2 ## @df .comm _DF_DU_CHAIN,4,2 ## @DF_DU_CHAIN .comm _DF_UD_CHAIN,4,2 ## @DF_UD_CHAIN .comm _dump_file,8,3 ## @dump_file .comm _last_basic_block,4,2 ## @last_basic_block .comm _last_bb,4,2 ## @last_bb .comm _uses_num,4,2 ## @uses_num .comm _defs_num,4,2 ## @defs_num .comm _def_entry,8,3 ## @def_entry .comm _use_entry,8,3 ## @use_entry .comm _see_bb_splay_ar,8,3 ## @see_bb_splay_ar .comm _see_bb_hash_ar,8,3 ## @see_bb_hash_ar .comm _hash_descriptor_pre_extension,4,2 ## @hash_descriptor_pre_extension .comm _eq_descriptor_pre_extension,4,2 ## @eq_descriptor_pre_extension .comm _hash_del_pre_extension,4,2 ## @hash_del_pre_extension .comm _see_pre_extension_hash,4,2 ## @see_pre_extension_hash .no_dead_strip _see_initialize_data_structures .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function see_initialize_data_structures _see_initialize_data_structures: ; @see_initialize_data_structures .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, _DF_HARD_REGS@GOTPAGE Lloh1: ldr x8, [x8, _DF_HARD_REGS@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _DF_EQUIV_NOTES@GOTPAGE Lloh4: ldr x9, [x9, _DF_EQUIV_NOTES@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, _DF_SUBREGS@GOTPAGE Lloh7: ldr x9, [x9, _DF_SUBREGS@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w0, w8, w9 bl _df_init Lloh9: adrp x19, _df@GOTPAGE Lloh10: ldr x19, [x19, _df@GOTPAGEOFF] str w0, [x19] mov w1, #0 bl _df_rd_add_problem Lloh11: adrp x8, _DF_DU_CHAIN@GOTPAGE Lloh12: ldr x8, [x8, _DF_DU_CHAIN@GOTPAGEOFF] ldr w0, [x19] Lloh13: ldr w8, [x8] Lloh14: adrp x9, _DF_UD_CHAIN@GOTPAGE Lloh15: ldr x9, [x9, _DF_UD_CHAIN@GOTPAGEOFF] Lloh16: ldr w9, [x9] orr w1, w9, w8 bl _df_chain_add_problem ldr w0, [x19] bl _df_analyze Lloh17: adrp x8, _dump_file@GOTPAGE Lloh18: ldr x8, [x8, _dump_file@GOTPAGEOFF] Lloh19: ldr x1, [x8] cbz x1, LBB0_2 ; %bb.1: ldr w0, [x19] bl _df_dump LBB0_2: Lloh20: adrp x8, _last_basic_block@GOTPAGE Lloh21: ldr x8, [x8, _last_basic_block@GOTPAGEOFF] Lloh22: ldr w8, [x8] Lloh23: adrp x20, _last_bb@GOTPAGE Lloh24: ldr x20, [x20, _last_bb@GOTPAGEOFF] str w8, [x20] ldr w0, [x19] bl _DF_USES_SIZE Lloh25: adrp x21, _uses_num@GOTPAGE Lloh26: ldr x21, [x21, _uses_num@GOTPAGEOFF] str w0, [x21] ldr w0, [x19] bl _DF_DEFS_SIZE Lloh27: adrp x8, _defs_num@GOTPAGE Lloh28: ldr x8, [x8, _defs_num@GOTPAGEOFF] Lloh29: str w0, [x8] mov w1, #4 bl _xcalloc Lloh30: adrp x8, _def_entry@GOTPAGE Lloh31: ldr x8, [x8, _def_entry@GOTPAGEOFF] Lloh32: str x0, [x8] ldr w0, [x21] mov w1, #4 bl _xcalloc Lloh33: adrp x8, _use_entry@GOTPAGE Lloh34: ldr x8, [x8, _use_entry@GOTPAGEOFF] Lloh35: str x0, [x8] ldr w0, [x20] mov w1, #4 bl _xcalloc Lloh36: adrp x8, _see_bb_splay_ar@GOTPAGE Lloh37: ldr x8, [x8, _see_bb_splay_ar@GOTPAGEOFF] Lloh38: str x0, [x8] ldr w0, [x20] mov w1, #4 bl _xcalloc Lloh39: adrp x8, _see_bb_hash_ar@GOTPAGE Lloh40: ldr x8, [x8, _see_bb_hash_ar@GOTPAGEOFF] Lloh41: str x0, [x8] Lloh42: adrp x8, _hash_descriptor_pre_extension@GOTPAGE Lloh43: ldr x8, [x8, _hash_descriptor_pre_extension@GOTPAGEOFF] Lloh44: ldr w1, [x8] Lloh45: adrp x8, _eq_descriptor_pre_extension@GOTPAGE Lloh46: ldr x8, [x8, _eq_descriptor_pre_extension@GOTPAGEOFF] Lloh47: ldr w2, [x8] Lloh48: adrp x8, _hash_del_pre_extension@GOTPAGE Lloh49: ldr x8, [x8, _hash_del_pre_extension@GOTPAGEOFF] Lloh50: ldr w3, [x8] mov w0, #10 bl _htab_create Lloh51: adrp x8, _see_pre_extension_hash@GOTPAGE Lloh52: ldr x8, [x8, _see_pre_extension_hash@GOTPAGEOFF] Lloh53: str w0, [x8] 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 Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotStr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _DF_HARD_REGS,4,2 ; @DF_HARD_REGS .comm _DF_EQUIV_NOTES,4,2 ; @DF_EQUIV_NOTES .comm _DF_SUBREGS,4,2 ; @DF_SUBREGS .comm _df,4,2 ; @df .comm _DF_DU_CHAIN,4,2 ; @DF_DU_CHAIN .comm _DF_UD_CHAIN,4,2 ; @DF_UD_CHAIN .comm _dump_file,8,3 ; @dump_file .comm _last_basic_block,4,2 ; @last_basic_block .comm _last_bb,4,2 ; @last_bb .comm _uses_num,4,2 ; @uses_num .comm _defs_num,4,2 ; @defs_num .comm _def_entry,8,3 ; @def_entry .comm _use_entry,8,3 ; @use_entry .comm _see_bb_splay_ar,8,3 ; @see_bb_splay_ar .comm _see_bb_hash_ar,8,3 ; @see_bb_hash_ar .comm _hash_descriptor_pre_extension,4,2 ; @hash_descriptor_pre_extension .comm _eq_descriptor_pre_extension,4,2 ; @eq_descriptor_pre_extension .comm _hash_del_pre_extension,4,2 ; @hash_del_pre_extension .comm _see_pre_extension_hash,4,2 ; @see_pre_extension_hash .no_dead_strip _see_initialize_data_structures .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_see.c_see_initialize_data_structures.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tc3589x_irq_map _tc3589x_irq_map: ## @tc3589x_irq_map .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 (%rdi), %rsi movl %ebx, %edi callq _irq_set_chip_data movq _handle_edge_irq@GOTPCREL(%rip), %rax movl (%rax), %edx movq _dummy_irq_chip@GOTPCREL(%rip), %rsi movl %ebx, %edi callq _irq_set_chip_and_handler movl %ebx, %edi movl $1, %esi callq _irq_set_nested_thread movl %ebx, %edi callq _irq_set_noprobe xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _dummy_irq_chip,4,2 ## @dummy_irq_chip .comm _handle_edge_irq,4,2 ## @handle_edge_irq .no_dead_strip _tc3589x_irq_map .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tc3589x_irq_map _tc3589x_irq_map: ; @tc3589x_irq_map .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 ldr x1, [x0] mov x0, x19 bl _irq_set_chip_data Lloh0: adrp x8, _handle_edge_irq@GOTPAGE Lloh1: ldr x8, [x8, _handle_edge_irq@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x1, _dummy_irq_chip@GOTPAGE Lloh4: ldr x1, [x1, _dummy_irq_chip@GOTPAGEOFF] mov x0, x19 bl _irq_set_chip_and_handler mov x0, x19 mov w1, #1 bl _irq_set_nested_thread mov x0, x19 bl _irq_set_noprobe mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _dummy_irq_chip,4,2 ; @dummy_irq_chip .comm _handle_edge_irq,4,2 ; @handle_edge_irq .no_dead_strip _tc3589x_irq_map .subsections_via_symbols
AnghaBench/linux/drivers/mfd/extr_tc3589x.c_tc3589x_irq_map.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function geni_i2c_abort_xfer _geni_i2c_abort_xfer: ## @geni_i2c_abort_xfer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _ABORT_TIMEOUT@GOTPCREL(%rip), %rax movq (%rax), %rbx leaq 20(%rdi), %r15 movq %r15, %rdi callq _spin_lock_irqsave movq _GENI_TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _geni_i2c_err movq $0, 24(%r14) movq %r14, %rdi callq _geni_se_abort_m_cmd movq %r15, %rdi callq _spin_unlock_irqrestore leaq 16(%r14), %r15 movq _SE_GENI_M_IRQ_STATUS@GOTPCREL(%rip), %r12 movq _M_CMD_ABORT_EN@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _wait_for_completion_timeout movq %rax, %rbx movq (%r12), %rdi addq 8(%r14), %rdi callq _readl_relaxed andl (%r13), %eax jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 testq %rbx, %rbx jne LBB0_1 LBB0_3: testl %eax, %eax je LBB0_5 ## %bb.4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movl (%r14), %edi leaq L_.str(%rip), %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _dev_err ## TAILCALL .cfi_endproc ## -- End function .comm _ABORT_TIMEOUT,8,3 ## @ABORT_TIMEOUT .comm _GENI_TIMEOUT,4,2 ## @GENI_TIMEOUT .comm _SE_GENI_M_IRQ_STATUS,8,3 ## @SE_GENI_M_IRQ_STATUS .comm _M_CMD_ABORT_EN,4,2 ## @M_CMD_ABORT_EN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Timeout abort_m_cmd\n" .no_dead_strip _geni_i2c_abort_xfer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function geni_i2c_abort_xfer _geni_i2c_abort_xfer: ; @geni_i2c_abort_xfer .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 Lloh0: adrp x8, _ABORT_TIMEOUT@GOTPAGE Lloh1: ldr x8, [x8, _ABORT_TIMEOUT@GOTPAGEOFF] Lloh2: ldr x20, [x8] add x21, x0, #20 mov x0, x21 bl _spin_lock_irqsave Lloh3: adrp x8, _GENI_TIMEOUT@GOTPAGE Lloh4: ldr x8, [x8, _GENI_TIMEOUT@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _geni_i2c_err str xzr, [x19, #24] mov x0, x19 bl _geni_se_abort_m_cmd mov x0, x21 bl _spin_unlock_irqrestore add x21, x19, #16 Lloh6: adrp x22, _SE_GENI_M_IRQ_STATUS@GOTPAGE Lloh7: ldr x22, [x22, _SE_GENI_M_IRQ_STATUS@GOTPAGEOFF] Lloh8: adrp x23, _M_CMD_ABORT_EN@GOTPAGE Lloh9: ldr x23, [x23, _M_CMD_ABORT_EN@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x20 bl _wait_for_completion_timeout mov x20, x0 ldr x8, [x19, #8] ldr x9, [x22] add x0, x9, x8 bl _readl_relaxed ldr w8, [x23] and w8, w8, w0 cmp w8, #0 ccmp x20, #0, #4, eq b.ne LBB0_1 ; %bb.2: cbz w8, LBB0_4 ; %bb.3: 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_4: ldr w0, [x19] Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF 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 _dev_err .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _ABORT_TIMEOUT,8,3 ; @ABORT_TIMEOUT .comm _GENI_TIMEOUT,4,2 ; @GENI_TIMEOUT .comm _SE_GENI_M_IRQ_STATUS,8,3 ; @SE_GENI_M_IRQ_STATUS .comm _M_CMD_ABORT_EN,4,2 ; @M_CMD_ABORT_EN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Timeout abort_m_cmd\n" .no_dead_strip _geni_i2c_abort_xfer .subsections_via_symbols
AnghaBench/linux/drivers/i2c/busses/extr_i2c-qcom-geni.c_geni_i2c_abort_xfer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Opcode_iitlb_Slot_inst_encode _Opcode_iitlb_Slot_inst_encode: ## @Opcode_iitlb_Slot_inst_encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $5259264, (%rdi) ## imm = 0x504000 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Opcode_iitlb_Slot_inst_encode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Opcode_iitlb_Slot_inst_encode _Opcode_iitlb_Slot_inst_encode: ; @Opcode_iitlb_Slot_inst_encode .cfi_startproc ; %bb.0: mov w8, #16384 movk w8, #80, lsl #16 str w8, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _Opcode_iitlb_Slot_inst_encode .subsections_via_symbols
AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_iitlb_Slot_inst_encode.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 pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $1, %edi jg LBB0_2 ## %bb.1: leaq L_str(%rip), %rdi callq _puts jmp LBB0_8 LBB0_2: movq %rsi, %r14 movl %edi, %r15d movq 8(%rsi), %rdi movl $1537, %esi ## imm = 0x601 movl $420, %edx ## imm = 0x1A4 xorl %eax, %eax callq _open cmpl $-1, %eax je LBB0_7 ## %bb.3: movl %eax, %r12d cmpl $3, %r15d jb LBB0_6 ## %bb.4: movl %r15d, %r13d movl $2, %r15d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%r14,%r15,8), %rbx movq %rbx, %rdi callq _strlen movl %r12d, %edi movq %rbx, %rsi movq %rax, %rdx callq _write movl $1, %edx movl %r12d, %edi leaq L_.str.2(%rip), %rsi callq _write incq %r15 cmpq %r15, %r13 jne LBB0_5 LBB0_6: movl %r12d, %edi callq _close xorl %eax, %eax jmp LBB0_9 LBB0_7: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf LBB0_8: movl $-1, %eax LBB0_9: 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.1: ## @.str.1 .asciz "Error! File name supplied could not be opened for writing." L_.str.2: ## @.str.2 .asciz " " L_str: ## @str .asciz "File name parameter is missing in arguments. Usage : newfile <fileName> [content]" .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, #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 cmp w0, #1 b.gt LBB0_2 ; %bb.1: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts b LBB0_8 LBB0_2: mov x20, x1 mov x21, x0 ldr x0, [x1, #8] mov w8, #420 str x8, [sp] mov w1, #1537 bl _open cmn w0, #1 b.eq LBB0_7 ; %bb.3: mov x19, x0 cmp w21, #3 b.lo LBB0_6 ; %bb.4: mov w8, w21 add x22, x20, #16 sub x23, x8, #2 Lloh2: adrp x20, l_.str.2@PAGE Lloh3: add x20, x20, l_.str.2@PAGEOFF LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x21, [x22], #8 mov x0, x21 bl _strlen mov x2, x0 mov x0, x19 mov x1, x21 bl _write mov x0, x19 mov x1, x20 mov w2, #1 bl _write subs x23, x23, #1 b.ne LBB0_5 LBB0_6: mov x0, x19 bl _close mov w0, #0 b LBB0_9 LBB0_7: Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_8: mov w0, #-1 LBB0_9: 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 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Error! File name supplied could not be opened for writing." l_.str.2: ; @.str.2 .asciz " " l_str: ; @str .asciz "File name parameter is missing in arguments. Usage : newfile <fileName> [content]" .subsections_via_symbols
the_stack_data/977378.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _LZ4_uncompress_unknownOutputSize ## -- Begin function LZ4_uncompress_unknownOutputSize .p2align 4, 0x90 _LZ4_uncompress_unknownOutputSize: ## @LZ4_uncompress_unknownOutputSize .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 _LZ4_decompress_safe ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _LZ4_uncompress_unknownOutputSize ; -- Begin function LZ4_uncompress_unknownOutputSize .p2align 2 _LZ4_uncompress_unknownOutputSize: ; @LZ4_uncompress_unknownOutputSize .cfi_startproc ; %bb.0: b _LZ4_decompress_safe .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/lz4/lib/extr_lz4.c_LZ4_uncompress_unknownOutputSize.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strchr ## -- Begin function strchr .p2align 4, 0x90 _strchr: ## @strchr .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 movsbl %sil, %ecx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movsbl (%rax), %edx cmpl %edx, %ecx je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 incq %rax testb %dl, %dl jne LBB0_1 ## %bb.3: xorl %eax, %eax LBB0_4: 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 _strchr ; -- Begin function strchr .p2align 2 _strchr: ; @strchr .cfi_startproc ; %bb.0: sxtb w8, w1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrsb w9, [x0] cmp w8, w9 b.eq LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 add x0, x0, #1 and w9, w9, #0xff cbnz w9, LBB0_1 ; %bb.3: mov x0, #0 LBB0_4: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/57949000.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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _secondkey@GOTPCREL(%rip), %r14 movq (%r14), %rdi movq _nonceprefix@GOTPCREL(%rip), %rax movl (%rax), %esi movq _firstkey@GOTPCREL(%rip), %rax movl (%rax), %edx movq _c@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _crypto_core_hsalsa20 movl $32, %edi callq _putchar movq (%r14), %rax movl (%rax), %esi leaq L_.str.2(%rip), %r15 movq %r15, %rdi xorl %eax, %eax callq _printf movl $1, %ebx jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 incq %rbx cmpq $32, %rbx je LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $44, %edi callq _putchar movq (%r14), %rax movl (%rax,%rbx,8), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movl %ebx, %eax notl %eax testb $7, %al jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $10, %edi callq _putchar jmp LBB0_3 LBB0_4: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _secondkey,8,3 ## @secondkey .comm _nonceprefix,4,2 ## @nonceprefix .comm _firstkey,4,2 ## @firstkey .comm _c,4,2 ## @c .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "0x%02x" .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, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _secondkey@GOTPAGE Lloh1: ldr x20, [x20, _secondkey@GOTPAGEOFF] ldr x0, [x20] Lloh2: adrp x8, _nonceprefix@GOTPAGE Lloh3: ldr x8, [x8, _nonceprefix@GOTPAGEOFF] Lloh4: ldr w1, [x8] Lloh5: adrp x8, _firstkey@GOTPAGE Lloh6: ldr x8, [x8, _firstkey@GOTPAGEOFF] Lloh7: ldr w2, [x8] Lloh8: adrp x8, _c@GOTPAGE Lloh9: ldr x8, [x8, _c@GOTPAGEOFF] Lloh10: ldr w3, [x8] bl _crypto_core_hsalsa20 mov w0, #32 bl _putchar ldr x8, [x20] ldr x8, [x8] str x8, [sp] Lloh11: adrp x19, l_.str.2@PAGE Lloh12: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _printf mov w21, #1 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x21, x21, #1 cmp x21, #32 b.eq LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov w0, #44 bl _putchar ldr x8, [x20] mvn w22, w21 ldr x8, [x8, x21, lsl #3] str x8, [sp] mov x0, x19 bl _printf tst x22, #0x7 b.ne LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov w0, #10 bl _putchar b LBB0_1 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 add sp, sp, #64 ret .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _secondkey,8,3 ; @secondkey .comm _nonceprefix,4,2 ; @nonceprefix .comm _firstkey,4,2 ; @firstkey .comm _c,4,2 ; @c .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "0x%02x" .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/libsodium/test/default/extr_core2.c_xmain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _word_wrap ## -- Begin function word_wrap .p2align 4, 0x90 _word_wrap: ## @word_wrap .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 movl %r8d, %r14d movl %ecx, -76(%rbp) ## 4-byte Spill movl %edx, -44(%rbp) ## 4-byte Spill movq %rsi, %r13 movq %rdi, %rbx movq %rsi, %rdi callq _strlen xorl %ecx, %ecx movq %rax, -56(%rbp) ## 8-byte Spill testl %eax, %eax je LBB0_34 ## %bb.1: decl %r14d movq %rbx, %rax subq %r13, %rax movq %rax, -88(%rbp) ## 8-byte Spill movl $1, %r11d xorl %eax, %eax movl %r14d, -68(%rbp) ## 4-byte Spill LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_17 Depth 3 ## Child Loop BB0_20 Depth 3 ## Child Loop BB0_26 Depth 2 cmpl $0, -44(%rbp) ## 4-byte Folded Reload movl %eax, -72(%rbp) ## 4-byte Spill je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl $1, %r14d movl %eax, %r12d jmp LBB0_5 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_5 Depth=2 decl %ecx cmpl $0, -76(%rbp) ## 4-byte Folded Reload cmovnel %r10d, %ecx xorl %edx, %edx cmpb $10, (%rbx,%r15) leal 1(%r14,%rcx), %r14d movl $2, %ecx cmovel %ecx, %r14d sete %dl addl %edx, %r11d movl %eax, %r12d cmpl -44(%rbp), %r14d ## 4-byte Folded Reload ja LBB0_22 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_17 Depth 3 ## Child Loop BB0_20 Depth 3 cmpl -56(%rbp), %r12d ## 4-byte Folded Reload je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 movl %r11d, -48(%rbp) ## 4-byte Spill movl %r12d, %eax movq %rax, -64(%rbp) ## 8-byte Spill leaq (%rax,%r13), %r15 movq %r15, %rdi movl $1, %esi callq _utf8skip movl %eax, %ecx subl %r15d, %ecx cmpl $32, %ecx jae LBB0_9 ## %bb.8: ## in Loop: Header=BB0_5 Depth=2 movl %r12d, %eax movl %ecx, %edx xorl %r10d, %r10d movl -48(%rbp), %r11d ## 4-byte Reload movq -64(%rbp), %r15 ## 8-byte Reload jmp LBB0_14 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_5 Depth=2 cmpq $32, -88(%rbp) ## 8-byte Folded Reload setb %dl leal (%r12,%r13), %esi subl %eax, %esi cmpl %r12d, %esi setb %al orb %dl, %al movl $0, %r10d movl -48(%rbp), %r11d ## 4-byte Reload je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_5 Depth=2 movl %r12d, %eax movl %ecx, %edx movq -64(%rbp), %r15 ## 8-byte Reload jmp LBB0_14 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_5 Depth=2 movl %ecx, %esi andl $-32, %esi leal (%r12,%rsi), %eax movl %ecx, %edx andl $31, %edx movl %esi, %edi movq -64(%rbp), %r15 ## 8-byte Reload .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Inner Loop Header: Depth=3 movl %r12d, %r8d movups (%r13,%r8), %xmm0 movups 16(%r13,%r8), %xmm1 movups %xmm0, (%rbx,%r8) movups %xmm1, 16(%rbx,%r8) addl $32, %r12d addl $-32, %edi jne LBB0_12 ## %bb.13: ## in Loop: Header=BB0_5 Depth=2 cmpl %ecx, %esi je LBB0_21 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_5 Depth=2 movl %edx, %esi andl $3, %esi je LBB0_15 ## %bb.16: ## in Loop: Header=BB0_5 Depth=2 xorl %edi, %edi .p2align 4, 0x90 LBB0_17: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Inner Loop Header: Depth=3 leal (%rax,%rdi), %r8d movzbl (%r13,%r8), %r9d movb %r9b, (%rbx,%r8) incl %edi cmpl %edi, %esi jne LBB0_17 ## %bb.18: ## in Loop: Header=BB0_5 Depth=2 addl %edi, %eax movl %edx, %esi subl %edi, %esi jmp LBB0_19 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_5 Depth=2 movl %edx, %esi LBB0_19: ## in Loop: Header=BB0_5 Depth=2 decl %edx cmpl $3, %edx jb LBB0_21 .p2align 4, 0x90 LBB0_20: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_5 Depth=2 ## => This Inner Loop Header: Depth=3 movl %eax, %edx movzbl (%r13,%rdx), %edi movb %dil, (%rbx,%rdx) leal 1(%rax), %edx movzbl (%r13,%rdx), %edi movb %dil, (%rbx,%rdx) leal 2(%rax), %edx movzbl (%r13,%rdx), %edi movb %dil, (%rbx,%rdx) leal 3(%rax), %edx movzbl (%r13,%rdx), %edi movb %dil, (%rbx,%rdx) addl $4, %eax addl $-4, %esi jne LBB0_20 jmp LBB0_21 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 ## kill: def $eax killed $eax def $rax LBB0_22: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %edx cmpb $32, (%r13,%rdx) jne LBB0_24 ## %bb.23: ## in Loop: Header=BB0_2 Depth=1 ## kill: def $eax killed $eax killed $rax jmp LBB0_32 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_2 Depth=1 testl %eax, %eax movl -68(%rbp), %r14d ## 4-byte Reload jle LBB0_30 ## %bb.25: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %ecx leal 1(%rax), %esi jmp LBB0_26 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_26 Depth=2 decq %rcx cmpl $1, %esi jle LBB0_30 LBB0_26: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 decl %esi cmpl %r11d, %r14d jb LBB0_29 ## %bb.27: ## in Loop: Header=BB0_26 Depth=2 cmpb $32, (%r13,%rsi) jne LBB0_29 ## %bb.28: ## in Loop: Header=BB0_2 Depth=1 movb $10, (%rbx,%rsi) incl %r11d movl %ecx, %eax jmp LBB0_31 .p2align 4, 0x90 LBB0_30: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %rcx LBB0_31: ## in Loop: Header=BB0_2 Depth=1 movslq -72(%rbp), %rdx ## 4-byte Folded Reload ## kill: def $eax killed $eax killed $rax cmpq %rdx, %rcx je LBB0_35 LBB0_32: ## in Loop: Header=BB0_2 Depth=1 cmpl -56(%rbp), %eax ## 4-byte Folded Reload jb LBB0_2 ## %bb.33: movl %eax, %ecx jmp LBB0_34 LBB0_6: movl -56(%rbp), %ecx ## 4-byte Reload LBB0_34: movb $0, (%rbx,%rcx) LBB0_35: movq %rbx, %rax addq $56, %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, 15, 0 sdk_version 15, 5 .globl _word_wrap ; -- Begin function word_wrap .p2align 2 _word_wrap: ; @word_wrap .cfi_startproc ; %bb.0: sub sp, sp, #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 x24, x4 mov x20, x3 mov x21, x2 mov x22, x1 mov x19, x0 mov x0, x1 bl _strlen mov x23, x0 cbz w23, LBB0_2 ; %bb.1: mov w8, #0 ; =0x0 sub w13, w24, #1 sub x9, x19, x22 str x9, [sp, #8] ; 8-byte Folded Spill mov w28, #1 ; =0x1 str w13, [sp] ; 4-byte Folded Spill b LBB0_6 LBB0_2: mov x8, #0 ; =0x0 b LBB0_27 LBB0_3: ; in Loop: Header=BB0_6 Depth=1 mov x9, x10 ldr w14, [sp, #4] ; 4-byte Folded Reload LBB0_4: ; in Loop: Header=BB0_6 Depth=1 cmp x9, w14, sxtw b.eq LBB0_28 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 cmp w8, w23 b.hs LBB0_29 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_16 Depth 3 ; Child Loop BB0_11 Depth 3 ; Child Loop BB0_22 Depth 2 str w8, [sp, #4] ; 4-byte Folded Spill cbz w21, LBB0_18 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 mov w25, #1 ; =0x1 mov x26, x8 LBB0_8: ; Parent Loop BB0_6 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_16 Depth 3 ; Child Loop BB0_11 Depth 3 cmp w26, w23 b.eq LBB0_26 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 mov w27, w26 add x24, x22, x27 mov x0, x24 mov w1, #1 ; =0x1 bl _utf8skip sub w9, w0, w24 cmp w9, #64 b.hs LBB0_13 LBB0_10: ; in Loop: Header=BB0_8 Depth=2 mov x8, x26 mov x10, x9 LBB0_11: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w11, [x22, w8, uxtw] strb w11, [x19, w8, uxtw] add w8, w8, #1 subs w10, w10, #1 b.ne LBB0_11 LBB0_12: ; in Loop: Header=BB0_8 Depth=2 sub w9, w9, #1 cmp w20, #0 csel w9, w9, wzr, eq ldrb w10, [x19, x27] and w10, w10, #0xff cmp w10, #10 cinc w28, w28, eq add w9, w25, w9 mov w10, #2 ; =0x2 csinc w25, w10, w9, eq mov x26, x8 cmp w25, w21 b.ls LBB0_8 b LBB0_18 LBB0_13: ; in Loop: Header=BB0_8 Depth=2 add w8, w26, w22 sub w8, w8, w0 cmp w8, w26 b.lo LBB0_10 ; %bb.14: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [sp, #8] ; 8-byte Folded Reload cmp x8, #64 b.lo LBB0_10 ; %bb.15: ; in Loop: Header=BB0_8 Depth=2 and w11, w9, #0xffffffc0 add w8, w26, w11 and w10, w9, #0x3f mov x12, x11 LBB0_16: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Inner Loop Header: Depth=3 mov w13, w26 add x14, x22, x13 ldp q0, q1, [x14] ldp q2, q3, [x14, #32] add x13, x19, x13 stp q0, q1, [x13] stp q2, q3, [x13, #32] add w26, w26, #64 subs w12, w12, #64 b.ne LBB0_16 ; %bb.17: ; in Loop: Header=BB0_8 Depth=2 cmp w11, w9 b.ne LBB0_11 b LBB0_12 LBB0_18: ; in Loop: Header=BB0_6 Depth=1 mov w10, w8 ldrb w9, [x22, x10] cmp w9, #32 b.eq LBB0_5 ; %bb.19: ; in Loop: Header=BB0_6 Depth=1 subs w9, w8, #1 ldr w13, [sp] ; 4-byte Folded Reload b.lt LBB0_3 ; %bb.20: ; in Loop: Header=BB0_6 Depth=1 add w11, w8, #1 ldr w14, [sp, #4] ; 4-byte Folded Reload b LBB0_22 LBB0_21: ; in Loop: Header=BB0_22 Depth=2 sub x9, x9, #1 cmp w11, #1 b.le LBB0_25 LBB0_22: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 sub w11, w11, #1 cmp w13, w28 b.lo LBB0_21 ; %bb.23: ; in Loop: Header=BB0_22 Depth=2 ldrb w12, [x22, w11, uxtw] cmp w12, #32 b.ne LBB0_21 ; %bb.24: ; in Loop: Header=BB0_6 Depth=1 mov w8, #10 ; =0xa strb w8, [x19, w11, uxtw] add w28, w28, #1 mov x8, x9 b LBB0_4 LBB0_25: ; in Loop: Header=BB0_6 Depth=1 mov x9, x10 b LBB0_4 LBB0_26: mov w8, w23 LBB0_27: strb wzr, [x19, x8] LBB0_28: mov x0, x19 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 LBB0_29: mov w8, w8 b LBB0_27 .cfi_endproc ; -- End function .subsections_via_symbols
assembly_file_69161.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FreeIpCombine ## -- Begin function FreeIpCombine .p2align 4, 0x90 _FreeIpCombine: ## @FreeIpCombine .cfi_startproc ## %bb.0: testq %rsi, %rsi je LBB0_5 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movl 24(%rsi), %eax subl %eax, (%rdi) movq 16(%rsi), %rdi callq _Free movl (%r14), %edi callq _LIST_NUM testq %rax, %rax jle LBB0_4 ## %bb.2: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r14), %edi movq %rbx, %rsi callq _LIST_DATA movq %rax, %rdi callq _Free incq %rbx movl (%r14), %edi callq _LIST_NUM cmpq %rax, %rbx jl LBB0_3 LBB0_4: movq 8(%r14), %rdi callq _Free movl (%r14), %edi callq _ReleaseList movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _Free ## TAILCALL LBB0_5: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _FreeIpCombine ; -- Begin function FreeIpCombine .p2align 2 _FreeIpCombine: ; @FreeIpCombine .cfi_startproc ; %bb.0: cbz x1, LBB0_5 ; %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, x1 ldr w8, [x1, #24] ldr w9, [x0] sub w8, w9, w8 str w8, [x0] ldr x0, [x1, #16] bl _Free ldr w0, [x19] bl _LIST_NUM cmp x0, #1 b.lt LBB0_4 ; %bb.2: mov x20, #0 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [x19] mov x1, x20 bl _LIST_DATA bl _Free add x20, x20, #1 ldr w0, [x19] bl _LIST_NUM cmp x20, x0 b.lt LBB0_3 LBB0_4: ldr x0, [x19, #8] bl _Free ldr w0, [x19] bl _ReleaseList mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _Free LBB0_5: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_Virtual.c_FreeIpCombine.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cfpkt_extr_head ## -- Begin function cfpkt_extr_head .p2align 4, 0x90 _cfpkt_extr_head: ## @cfpkt_extr_head .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 %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx callq _pkt_to_skb movq %rax, %r12 movq %rbx, %rdi callq _is_erronous movl %eax, %edi callq _unlikely testq %rax, %rax jne LBB0_1 ## %bb.2: xorl %edi, %edi cmpq %r15, (%r12) setl %dil callq _unlikely testq %rax, %rax je LBB0_5 ## %bb.3: leaq L_.str(%rip), %rsi LBB0_4: movq %rbx, %rdi callq _PKT_ERROR LBB0_1: movq _EPROTO@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_10: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq %r12, %rdi callq _skb_headlen xorl %edi, %edi cmpq %r15, %rax setl %dil callq _unlikely testq %rax, %rax je LBB0_8 ## %bb.6: movq %r12, %rdi callq _skb_linearize xorl %edi, %edi testq %rax, %rax setne %dil callq _unlikely testq %rax, %rax je LBB0_8 ## %bb.7: leaq L_.str.1(%rip), %rsi jmp LBB0_4 LBB0_8: movq %r12, %rdi movq %r15, %rsi callq _skb_pull xorl %ebx, %ebx testq %r14, %r14 je LBB0_10 ## %bb.9: leaq (,%r15,4), %rcx subq %rcx, %rax movq %r14, %rdi movq %rax, %rsi movq %r15, %rdx callq _memcpy jmp LBB0_10 .cfi_endproc ## -- End function .comm _EPROTO,4,2 ## @EPROTO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "read beyond end of packet\n" L_.str.1: ## @.str.1 .asciz "linearize failed\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cfpkt_extr_head ; -- Begin function cfpkt_extr_head .p2align 2 _cfpkt_extr_head: ; @cfpkt_extr_head .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 _pkt_to_skb mov x22, x0 mov x0, x21 bl _is_erronous bl _unlikely cbnz x0, LBB0_4 ; %bb.1: ldr x8, [x22] cmp x8, x19 cset w0, lt bl _unlikely cbz x0, LBB0_6 ; %bb.2: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF LBB0_3: mov x0, x21 bl _PKT_ERROR LBB0_4: Lloh2: adrp x8, _EPROTO@GOTPAGE Lloh3: ldr x8, [x8, _EPROTO@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 LBB0_5: 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_6: mov x0, x22 bl _skb_headlen cmp x0, x19 cset w0, lt bl _unlikely cbz x0, LBB0_9 ; %bb.7: mov x0, x22 bl _skb_linearize cmp x0, #0 cset w0, ne bl _unlikely cbz x0, LBB0_9 ; %bb.8: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF b LBB0_3 LBB0_9: mov x0, x22 mov x1, x19 bl _skb_pull cbz x20, LBB0_11 ; %bb.10: sub x1, x0, x19, lsl #2 mov x0, x20 mov x2, x19 bl _memcpy LBB0_11: mov w0, #0 b LBB0_5 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _EPROTO,4,2 ; @EPROTO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "read beyond end of packet\n" l_.str.1: ; @.str.1 .asciz "linearize failed\n" .subsections_via_symbols
AnghaBench/linux/net/caif/extr_cfpkt_skbuff.c_cfpkt_extr_head.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function register_snoop_agent _register_snoop_agent: ## @register_snoop_agent .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, %r12 movq %rdi, %r15 leaq 4(%rdi), %r14 movq %r14, %rdi callq _spin_lock_irqsave movl (%r15), %eax testl %eax, %eax jle LBB0_1 ## %bb.4: movq 16(%r15), %rcx xorl %ebx, %ebx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpq $0, (%rcx,%rbx,8) je LBB0_2 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 incq %rbx cmpq %rbx, %rax jne LBB0_5 ## %bb.7: movl %eax, %ebx jmp LBB0_8 LBB0_1: xorl %ebx, %ebx LBB0_2: cmpl %eax, %ebx jne LBB0_3 LBB0_8: movq 16(%r15), %rdi leal 8(,%rax,8), %esi movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %edx callq _krealloc testq %rax, %rax je LBB0_9 ## %bb.10: movq %rax, 16(%r15) incl (%r15) jmp LBB0_11 LBB0_3: movq 16(%r15), %rax LBB0_11: movl %ebx, %ecx movq %r12, (%rax,%rcx,8) addq $8, %r15 movq %r15, %rdi callq _atomic_inc jmp LBB0_12 LBB0_9: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_12: movq %r14, %rdi callq _spin_unlock_irqrestore movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _register_snoop_agent .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function register_snoop_agent _register_snoop_agent: ; @register_snoop_agent .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 x20, x0 add x19, x0, #4 mov x0, x19 bl _spin_lock_irqsave ldr w8, [x20] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x22, #0 ldr x9, [x20, #16] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9, x22, lsl #3] cbz x10, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #1 cmp x8, x22 b.ne LBB0_2 ; %bb.4: mov x22, x8 b LBB0_7 LBB0_5: mov w22, #0 LBB0_6: cmp w22, w8 b.ne LBB0_9 LBB0_7: ldr x0, [x20, #16] lsl w8, w8, #3 add w1, w8, #8 Lloh0: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh1: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh2: ldr w2, [x8] bl _krealloc cbz x0, LBB0_11 ; %bb.8: str x0, [x20, #16] ldr w8, [x20] add w8, w8, #1 str w8, [x20] b LBB0_10 LBB0_9: ldr x0, [x20, #16] LBB0_10: str x21, [x0, w22, uxtw #3] add x0, x20, #8 bl _atomic_inc b LBB0_12 LBB0_11: Lloh3: adrp x8, _ENOMEM@GOTPAGE Lloh4: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w22, w8 LBB0_12: mov x0, x19 bl _spin_unlock_irqrestore mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _register_snoop_agent .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_mad.c_register_snoop_agent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function basic_block_filtering LCPI0_0: .long 0x3fb504f3 ## float 1.41421354 .long 0x40000000 ## float 2 .space 4 .space 4 LCPI0_2: .long 0x80000000 ## float -0 .long 0x80000000 ## float -0 .long 0x80000000 ## float -0 .long 0x80000000 ## float -0 .section __TEXT,__literal4,4byte_literals .p2align 2, 0x0 LCPI0_1: .long 0x403504f3 ## float 2.82842708 LCPI0_3: .long 0x3f800000 ## float 1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _basic_block_filtering: ## @basic_block_filtering .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 $280, %rsp ## imm = 0x118 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -216(%rbp) ## 4-byte Spill movl %edx, -112(%rbp) ## 4-byte Spill movq %rsi, -240(%rbp) ## 8-byte Spill movslq 24(%rbp), %rax movslq 32(%rbp), %rcx movq ___stack_chk_guard@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq %rdx, -48(%rbp) movq 40(%rdi), %rdx leaq (%rcx,%rcx,4), %rcx shlq $4, %rcx leaq (%rdx,%rcx), %rsi movq %rsi, -72(%rbp) ## 8-byte Spill movl (%rdi), %r10d movl (%rdx,%rcx), %r11d movq 8(%rdi), %rsi movslq (%rsi,%rax,4), %rax movq %rax, -280(%rbp) ## 8-byte Spill movq 8(%rdx,%rcx), %rax movq %rax, -176(%rbp) ## 8-byte Spill movq 16(%rdx,%rcx), %rax movq %rax, -160(%rbp) ## 8-byte Spill movq 24(%rdx,%rcx), %rax movq %rax, -120(%rbp) ## 8-byte Spill movq 32(%rdx,%rcx), %r12 movl %r10d, %eax imull %eax, %eax movslq 16(%rdi), %rcx movq %rcx, -96(%rbp) ## 8-byte Spill movq %rdi, -144(%rbp) ## 8-byte Spill movl 20(%rdi), %ecx movl %ecx, -152(%rbp) ## 4-byte Spill movq %rax, -136(%rbp) ## 8-byte Spill movl %eax, %eax movq %rax, -248(%rbp) ## 8-byte Spill testl %r11d, %r11d movq %r10, -88(%rbp) ## 8-byte Spill movq %r11, -184(%rbp) ## 8-byte Spill js LBB0_8 ## %bb.1: leal (,%r10,4), %ecx movl %r10d, %eax andl $3, %eax movq %rax, -232(%rbp) ## 8-byte Spill movl %r10d, %eax andl $2147483644, %eax ## imm = 0x7FFFFFFC movq %rax, -272(%rbp) ## 8-byte Spill leaq (,%r10,4), %r15 leaq (%r15,%r15,2), %rax movq %rax, -304(%rbp) ## 8-byte Spill movq %r10, %rax shlq $4, %rax movq %rax, -264(%rbp) ## 8-byte Spill movq -120(%rbp), %rax ## 8-byte Reload addq $12, %rax movq %rax, -224(%rbp) ## 8-byte Spill movq -248(%rbp), %rax ## 8-byte Reload leaq (,%rax,4), %rax negq %rax movq %rax, -256(%rbp) ## 8-byte Spill movq $0, -104(%rbp) ## 8-byte Folded Spill movq -176(%rbp), %rax ## 8-byte Reload movq %rax, -168(%rbp) ## 8-byte Spill movl %ecx, -128(%rbp) ## 4-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_2 Depth=1 movq -104(%rbp), %rdx ## 8-byte Reload decq %rdx movq -168(%rbp), %rax ## 8-byte Reload addq -256(%rbp), %rax ## 8-byte Folded Reload movq %rax, -168(%rbp) ## 8-byte Spill movq -184(%rbp), %r11 ## 8-byte Reload movq %rdx, -104(%rbp) ## 8-byte Spill cmpq %r11, %rdx movq -88(%rbp), %r10 ## 8-byte Reload jg LBB0_8 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_15 Depth 3 ## Child Loop BB0_18 Depth 3 ## Child Loop BB0_21 Depth 2 testl %r10d, %r10d jle LBB0_22 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -72(%rbp), %rax ## 8-byte Reload movq 72(%rax), %rax movq -104(%rbp), %rcx ## 8-byte Reload movl 4(%rax,%rcx,8), %edx movl %edx, -80(%rbp) ## 4-byte Spill movl (%rax,%rcx,8), %eax movq %rax, -208(%rbp) ## 8-byte Spill movq -160(%rbp), %r14 ## 8-byte Reload xorl %r13d, %r13d movq -88(%rbp), %r8 ## 8-byte Reload movq -240(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq -208(%rbp), %rax ## 8-byte Reload leal (%rax,%r13), %edx movq %rbx, %rdi movl -112(%rbp), %esi ## 4-byte Reload movl -80(%rbp), %ecx ## 4-byte Reload ## kill: def $r8d killed $r8d killed $r8 movq %r14, %r9 movq -144(%rbp), %rax ## 8-byte Reload callq *32(%rax) movq -72(%rbp), %rax ## 8-byte Reload movl 68(%rax), %edi movq %r14, %rsi callq _av_dct_calc movq -88(%rbp), %r8 ## 8-byte Reload incq %r13 addq %r15, %r14 cmpq %r13, %r8 jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq -120(%rbp), %r10 ## 8-byte Reload movq -224(%rbp), %r13 ## 8-byte Reload movq -160(%rbp), %r11 ## 8-byte Reload xorl %r14d, %r14d movq -232(%rbp), %rbx ## 8-byte Reload jmp LBB0_6 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_6 Depth=2 movq %r14, %rax imulq %r8, %rax movq -120(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rsi movl 68(%r9), %edi movq %r14, -208(%rbp) ## 8-byte Spill movq %r10, %r14 movq %r11, -80(%rbp) ## 8-byte Spill callq _av_dct_calc movq -80(%rbp), %r11 ## 8-byte Reload movq %r14, %r10 movq -208(%rbp), %r14 ## 8-byte Reload movq -88(%rbp), %r8 ## 8-byte Reload incq %r14 addq $4, %r11 addq %r15, %r13 addq %r15, %r10 cmpq %r8, %r14 je LBB0_20 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_15 Depth 3 ## Child Loop BB0_18 Depth 3 cmpl $4, %r8d movq -272(%rbp), %rdx ## 8-byte Reload movq -304(%rbp), %rsi ## 8-byte Reload movq -264(%rbp), %rdi ## 8-byte Reload jae LBB0_14 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 xorl %eax, %eax movq -72(%rbp), %r9 ## 8-byte Reload jmp LBB0_16 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_6 Depth=2 movq %r11, %rcx xorl %eax, %eax movq -72(%rbp), %r9 ## 8-byte Reload .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_6 Depth=2 ## => This Inner Loop Header: Depth=3 movss (%rcx), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -12(%r13,%rax,4) movss (%rcx,%r8,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -8(%r13,%rax,4) movss (%rcx,%r8,8), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -4(%r13,%rax,4) movss (%rcx,%rsi), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%r13,%rax,4) addq $4, %rax addq %rdi, %rcx cmpq %rax, %rdx jne LBB0_15 LBB0_16: ## in Loop: Header=BB0_6 Depth=2 testq %rbx, %rbx je LBB0_19 ## %bb.17: ## in Loop: Header=BB0_6 Depth=2 leaq (%r10,%rax,4), %rcx imulq %r15, %rax addq %r11, %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_6 Depth=2 ## => This Inner Loop Header: Depth=3 movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rcx,%rdx,4) incq %rdx addq %r15, %rax cmpq %rdx, %rbx jne LBB0_18 jmp LBB0_19 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_2 Depth=1 movq %r8, %rbx movq -168(%rbp), %r14 ## 8-byte Reload movq -120(%rbp), %r13 ## 8-byte Reload .p2align 4, 0x90 LBB0_21: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r14, %rdi movq %r13, %rsi movl -128(%rbp), %edx ## 4-byte Reload callq _memcpy addq %r15, %r13 addq %r15, %r14 decq %rbx jne LBB0_21 jmp LBB0_22 LBB0_8: testl %r10d, %r10d movq -136(%rbp), %rsi ## 8-byte Reload movq -144(%rbp), %rdi ## 8-byte Reload movq -176(%rbp), %r8 ## 8-byte Reload jle LBB0_31 ## %bb.9: movl %r11d, %ebx andl $2147483646, %ebx ## imm = 0x7FFFFFFE movl %r10d, %r14d imull %r10d, %r14d addl %r14d, %r14d movq -96(%rbp), %rax ## 8-byte Reload leaq (,%rax,4), %r9 xorl %eax, %eax xorl %ecx, %ecx movq %r9, -80(%rbp) ## 8-byte Spill jmp LBB0_10 .p2align 4, 0x90 LBB0_30: ## in Loop: Header=BB0_10 Depth=1 movl -128(%rbp), %ecx ## 4-byte Reload incl %ecx movq -112(%rbp), %rax ## 8-byte Reload addl %r10d, %eax cmpl %r10d, %ecx je LBB0_31 LBB0_10: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 ## Child Loop BB0_24 Depth 3 movl %ecx, -128(%rbp) ## 4-byte Spill ## kill: def $ecx killed $ecx def $rcx imull %r10d, %ecx movq %rcx, -208(%rbp) ## 8-byte Spill movq %rax, -112(%rbp) ## 8-byte Spill movl %eax, %r13d xorl %r15d, %r15d jmp LBB0_11 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_11 Depth=2 addq %r9, %r12 incl %r15d incl %r13d cmpl %r10d, %r15d je LBB0_30 LBB0_11: ## Parent Loop BB0_10 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_24 Depth 3 testl %r11d, %r11d jle LBB0_27 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 cmpl $1, %r11d jne LBB0_23 ## %bb.13: ## in Loop: Header=BB0_11 Depth=2 xorl %eax, %eax jmp LBB0_25 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_11 Depth=2 movl %r13d, %ecx xorl %eax, %eax .p2align 4, 0x90 LBB0_24: ## Parent Loop BB0_10 Depth=1 ## Parent Loop BB0_11 Depth=2 ## => This Inner Loop Header: Depth=3 movslq %ecx, %rcx movss (%r8,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%r12,%rax,4) leal (%rsi,%rcx), %edx movslq %edx, %rdx movss (%r8,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, 4(%r12,%rax,4) addq $2, %rax addl %r14d, %ecx cmpq %rax, %rbx jne LBB0_24 LBB0_25: ## in Loop: Header=BB0_11 Depth=2 testb $1, %r11b je LBB0_27 ## %bb.26: ## in Loop: Header=BB0_11 Depth=2 movq -208(%rbp), %rcx ## 8-byte Reload addl %r15d, %ecx movl %esi, %edx imull %eax, %edx addl %ecx, %edx movslq %edx, %rcx movss (%r8,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%r12,%rax,4) LBB0_27: ## in Loop: Header=BB0_11 Depth=2 cmpl $2, -152(%rbp) ## 4-byte Folded Reload jl LBB0_29 ## %bb.28: ## in Loop: Header=BB0_11 Depth=2 movq -72(%rbp), %rax ## 8-byte Reload movl 64(%rax), %edi movq %r12, %rsi callq _av_dct_calc movq -80(%rbp), %r9 ## 8-byte Reload movq -176(%rbp), %r8 ## 8-byte Reload movq -144(%rbp), %rdi ## 8-byte Reload movq -136(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %r11 ## 8-byte Reload movq -88(%rbp), %r10 ## 8-byte Reload jmp LBB0_29 LBB0_31: movss 24(%rdi), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss 28(%rdi), %xmm0 movss %xmm0, -64(%rbp) movsldup %xmm0, %xmm1 ## xmm1 = xmm0[0,0,2,2] mulps LCPI0_0(%rip), %xmm1 movlps %xmm1, -60(%rbp) mulss LCPI0_1(%rip), %xmm0 movss %xmm0, -52(%rbp) testl %r10d, %r10d movq -72(%rbp), %rax ## 8-byte Reload jle LBB0_32 ## %bb.34: movq 32(%rax), %r14 shlq $2, -96(%rbp) ## 8-byte Folded Spill xorl %ebx, %ebx movaps LCPI0_2(%rip), %xmm0 ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0] movq %r14, %rax xorl %ecx, %ecx jmp LBB0_35 .p2align 4, 0x90 LBB0_44: ## in Loop: Header=BB0_35 Depth=1 incl %ecx cmpl %r10d, %ecx je LBB0_45 LBB0_35: ## =>This Loop Header: Depth=1 ## Child Loop BB0_36 Depth 2 ## Child Loop BB0_38 Depth 3 xorl %edx, %edx testl %ecx, %ecx sete %dl xorl %esi, %esi jmp LBB0_36 .p2align 4, 0x90 LBB0_43: ## in Loop: Header=BB0_36 Depth=2 addq -96(%rbp), %rax ## 8-byte Folded Reload incl %esi cmpl %r10d, %esi je LBB0_44 LBB0_36: ## Parent Loop BB0_35 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_38 Depth 3 testl %r11d, %r11d jle LBB0_43 ## %bb.37: ## in Loop: Header=BB0_36 Depth=2 cmpl $1, %esi movq %rdx, %rdi adcq $0, %rdi xorl %r8d, %r8d jmp LBB0_38 .p2align 4, 0x90 LBB0_40: ## in Loop: Header=BB0_38 Depth=3 incl %ebx LBB0_42: ## in Loop: Header=BB0_38 Depth=3 incq %r8 cmpq %r8, %r11 je LBB0_43 LBB0_38: ## Parent Loop BB0_35 Depth=1 ## Parent Loop BB0_36 Depth=2 ## => This Inner Loop Header: Depth=3 cmpq $1, %r8 movq %rdi, %r9 adcq $0, %r9 movss -64(%rbp,%r9,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss (%rax,%r8,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm2 ja LBB0_40 ## %bb.39: ## in Loop: Header=BB0_38 Depth=3 xorps %xmm0, %xmm1 ucomiss %xmm2, %xmm1 ja LBB0_40 ## %bb.41: ## in Loop: Header=BB0_38 Depth=3 movl $0, (%rax,%r8,4) jmp LBB0_42 LBB0_45: movq -72(%rbp), %rax ## 8-byte Reload movq 8(%rax), %r15 movl %r11d, %r12d andl $2147483646, %r12d ## imm = 0x7FFFFFFE movl %r10d, %r13d imull %r10d, %r13d addl %r13d, %r13d xorl %eax, %eax xorl %edi, %edi movq -136(%rbp), %rsi ## 8-byte Reload jmp LBB0_46 .p2align 4, 0x90 LBB0_57: ## in Loop: Header=BB0_46 Depth=1 incl %edi movq -128(%rbp), %rax ## 8-byte Reload addl %r10d, %eax cmpl %r10d, %edi je LBB0_58 LBB0_46: ## =>This Loop Header: Depth=1 ## Child Loop BB0_47 Depth 2 ## Child Loop BB0_53 Depth 3 movl %edi, %ecx imull %r10d, %ecx movq %rcx, -112(%rbp) ## 8-byte Spill movq %rax, -128(%rbp) ## 8-byte Spill movl %eax, %r8d xorl %r9d, %r9d movl %edi, -144(%rbp) ## 4-byte Spill jmp LBB0_47 .p2align 4, 0x90 LBB0_56: ## in Loop: Header=BB0_47 Depth=2 addq -96(%rbp), %r14 ## 8-byte Folded Reload incl %r9d incl %r8d cmpl %r10d, %r9d je LBB0_57 LBB0_47: ## Parent Loop BB0_46 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_53 Depth 3 cmpl $2, -152(%rbp) ## 4-byte Folded Reload jl LBB0_49 ## %bb.48: ## in Loop: Header=BB0_47 Depth=2 movq -72(%rbp), %rax ## 8-byte Reload movl 60(%rax), %edi movq %r14, %rsi movl %r8d, -80(%rbp) ## 4-byte Spill movq %r9, -208(%rbp) ## 8-byte Spill callq _av_dct_calc movq -208(%rbp), %r9 ## 8-byte Reload movl -80(%rbp), %r8d ## 4-byte Reload movl -144(%rbp), %edi ## 4-byte Reload movq -136(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %r11 ## 8-byte Reload movq -88(%rbp), %r10 ## 8-byte Reload LBB0_49: ## in Loop: Header=BB0_47 Depth=2 testl %r11d, %r11d jle LBB0_56 ## %bb.50: ## in Loop: Header=BB0_47 Depth=2 cmpl $1, %r11d jne LBB0_52 ## %bb.51: ## in Loop: Header=BB0_47 Depth=2 xorl %eax, %eax jmp LBB0_54 .p2align 4, 0x90 LBB0_52: ## in Loop: Header=BB0_47 Depth=2 movl %r8d, %ecx xorl %eax, %eax .p2align 4, 0x90 LBB0_53: ## Parent Loop BB0_46 Depth=1 ## Parent Loop BB0_47 Depth=2 ## => This Inner Loop Header: Depth=3 movss (%r14,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq %ecx, %rcx movss %xmm0, (%r15,%rcx,4) movss 4(%r14,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero leal (%rsi,%rcx), %edx movslq %edx, %rdx movss %xmm0, (%r15,%rdx,4) addq $2, %rax addl %r13d, %ecx cmpq %rax, %r12 jne LBB0_53 LBB0_54: ## in Loop: Header=BB0_47 Depth=2 testb $1, %r11b je LBB0_56 ## %bb.55: ## in Loop: Header=BB0_47 Depth=2 movq -112(%rbp), %rcx ## 8-byte Reload addl %r9d, %ecx movss (%r14,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero imull %esi, %eax addl %ecx, %eax cltq movss %xmm0, (%r15,%rax,4) jmp LBB0_56 LBB0_58: movq -72(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax movq %rax, -104(%rbp) ## 8-byte Spill testl %ebx, %ebx jle LBB0_33 ## %bb.59: xorps %xmm0, %xmm0 cvtsi2ss %ebx, %xmm0 movss LCPI0_3(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0] divss %xmm0, %xmm1 testl %r11d, %r11d jg LBB0_61 jmp LBB0_86 LBB0_32: movq 8(%rax), %rax movq %rax, -104(%rbp) ## 8-byte Spill LBB0_33: movss LCPI0_3(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0] testl %r11d, %r11d jle LBB0_86 LBB0_61: movq -280(%rbp), %rcx ## 8-byte Reload movl -216(%rbp), %eax ## 4-byte Reload imull %ecx, %eax cltq movslq 16(%rbp), %rdx leal (,%r10,4), %esi leaq -1(%r10), %rdi movq %rdi, -272(%rbp) ## 8-byte Spill imulq %rcx, %rdi movq %rdx, -232(%rbp) ## 8-byte Spill addq %rdx, %rdi movq %rax, -240(%rbp) ## 8-byte Spill addq %r10, %rax addq %rax, %rdi shlq $2, %rdi movq %rdi, -224(%rbp) ## 8-byte Spill movq %r10, %rax imulq %r10, %rax movq -160(%rbp), %rdx ## 8-byte Reload leaq (%rdx,%rax,4), %rax movq %rax, -216(%rbp) ## 8-byte Spill movl %r10d, %eax andl $3, %eax movq %rax, -136(%rbp) ## 8-byte Spill movl %r10d, %eax andl $2147483644, %eax ## imm = 0x7FFFFFFC movq %rax, -112(%rbp) ## 8-byte Spill movaps %xmm1, %xmm2 shufps $0, %xmm1, %xmm2 ## xmm2 = xmm2[0,0],xmm1[0,0] shlq $2, -248(%rbp) ## 8-byte Folded Spill leaq (,%r10,4), %rdi movq -120(%rbp), %rax ## 8-byte Reload addq $12, %rax movq %rax, -312(%rbp) ## 8-byte Spill leaq (%rdi,%rdi,2), %rax movq %rax, -264(%rbp) ## 8-byte Spill movq %r10, %rax shlq $4, %rax movq %rax, -176(%rbp) ## 8-byte Spill shlq $2, %rcx movq %rcx, -128(%rbp) ## 8-byte Spill xorl %ecx, %ecx movaps %xmm1, -208(%rbp) ## 16-byte Spill movl %esi, -144(%rbp) ## 4-byte Spill movaps %xmm2, -304(%rbp) ## 16-byte Spill movq %rdi, -96(%rbp) ## 8-byte Spill jmp LBB0_62 .p2align 4, 0x90 LBB0_85: ## in Loop: Header=BB0_62 Depth=1 movq -168(%rbp), %rcx ## 8-byte Reload incq %rcx movq -104(%rbp), %rax ## 8-byte Reload addq -248(%rbp), %rax ## 8-byte Folded Reload movq %rax, -104(%rbp) ## 8-byte Spill cmpq %r11, %rcx je LBB0_86 LBB0_62: ## =>This Loop Header: Depth=1 ## Child Loop BB0_64 Depth 2 ## Child Loop BB0_66 Depth 2 ## Child Loop BB0_69 Depth 3 ## Child Loop BB0_72 Depth 3 ## Child Loop BB0_75 Depth 2 ## Child Loop BB0_78 Depth 3 ## Child Loop BB0_83 Depth 3 movq %rcx, -168(%rbp) ## 8-byte Spill testl %r10d, %r10d jle LBB0_85 ## %bb.63: ## in Loop: Header=BB0_62 Depth=1 movq -72(%rbp), %rax ## 8-byte Reload movq 40(%rax), %rdx movq 48(%rax), %r8 movq -240(%rbp), %rcx ## 8-byte Reload movq %rdx, -256(%rbp) ## 8-byte Spill leaq (%rdx,%rcx,4), %rax movq -232(%rbp), %rdx ## 8-byte Reload leaq (%rax,%rdx,4), %r13 movq %r8, -80(%rbp) ## 8-byte Spill leaq (%r8,%rcx,4), %rax leaq (%rax,%rdx,4), %r14 movq %r10, %rbx movq -120(%rbp), %r15 ## 8-byte Reload movq -104(%rbp), %r12 ## 8-byte Reload .p2align 4, 0x90 LBB0_64: ## Parent Loop BB0_62 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movq %r12, %rsi movl -144(%rbp), %edx ## 4-byte Reload callq _memcpy movq -96(%rbp), %rdi ## 8-byte Reload addq %rdi, %r12 addq %rdi, %r15 decq %rbx jne LBB0_64 ## %bb.65: ## in Loop: Header=BB0_62 Depth=1 movq -120(%rbp), %rbx ## 8-byte Reload movq -160(%rbp), %r9 ## 8-byte Reload movq -312(%rbp), %r15 ## 8-byte Reload xorl %r12d, %r12d movq -88(%rbp), %r10 ## 8-byte Reload jmp LBB0_66 .p2align 4, 0x90 LBB0_73: ## in Loop: Header=BB0_66 Depth=2 incq %r12 addq %rdi, %r15 addq $4, %r9 addq %rdi, %rbx cmpq %r10, %r12 je LBB0_74 LBB0_66: ## Parent Loop BB0_62 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_69 Depth 3 ## Child Loop BB0_72 Depth 3 movq %r9, -152(%rbp) ## 8-byte Spill movq -72(%rbp), %rax ## 8-byte Reload movl 56(%rax), %edi movq %r12, %rax imulq %r10, %rax movq -120(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rsi callq _av_dct_calc movq -88(%rbp), %r10 ## 8-byte Reload cmpl $4, %r10d jae LBB0_68 ## %bb.67: ## in Loop: Header=BB0_66 Depth=2 xorl %eax, %eax movq -136(%rbp), %rsi ## 8-byte Reload movq -152(%rbp), %r9 ## 8-byte Reload jmp LBB0_70 .p2align 4, 0x90 LBB0_68: ## in Loop: Header=BB0_66 Depth=2 movq -152(%rbp), %r9 ## 8-byte Reload movq %r9, %rcx xorl %eax, %eax movq -136(%rbp), %rsi ## 8-byte Reload movq -112(%rbp), %rdx ## 8-byte Reload movq -264(%rbp), %rdi ## 8-byte Reload movq -176(%rbp), %r8 ## 8-byte Reload .p2align 4, 0x90 LBB0_69: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_66 Depth=2 ## => This Inner Loop Header: Depth=3 movss -12(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rcx) movss -8(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rcx,%r10,4) movss -4(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rcx,%r10,8) movss (%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rcx,%rdi) addq $4, %rax addq %r8, %rcx cmpq %rax, %rdx jne LBB0_69 LBB0_70: ## in Loop: Header=BB0_66 Depth=2 testq %rsi, %rsi movq -96(%rbp), %rdi ## 8-byte Reload je LBB0_73 ## %bb.71: ## in Loop: Header=BB0_66 Depth=2 movq %rdi, %rcx imulq %rax, %rcx addq %r9, %rcx leaq (%rbx,%rax,4), %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_72: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_66 Depth=2 ## => This Inner Loop Header: Depth=3 movss (%rax,%rdx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, (%rcx) incq %rdx addq %rdi, %rcx cmpq %rdx, %rsi jne LBB0_72 jmp LBB0_73 .p2align 4, 0x90 LBB0_74: ## in Loop: Header=BB0_62 Depth=1 cmpl $0, -280(%rbp) ## 4-byte Folded Reload sets %al movq -224(%rbp), %rcx ## 8-byte Reload movq -256(%rbp), %rsi ## 8-byte Reload addq %rcx, %rsi movq -80(%rbp), %r8 ## 8-byte Reload addq %rcx, %r8 cmpq %r8, %r13 setb %cl cmpq %rsi, %r14 setb %dl andb %cl, %dl movq -216(%rbp), %rdi ## 8-byte Reload cmpq %rdi, %r13 setb %cl movq -160(%rbp), %r12 ## 8-byte Reload cmpq %rsi, %r12 setb %sil andb %cl, %sil orb %al, %sil cmpq %rdi, %r14 setb %al cmpq %r8, %r12 setb %cl andb %al, %cl orb %dl, %cl orb %sil, %cl movb %cl, -80(%rbp) ## 1-byte Spill xorl %r15d, %r15d jmp LBB0_75 .p2align 4, 0x90 LBB0_84: ## in Loop: Header=BB0_75 Depth=2 movq -128(%rbp), %rax ## 8-byte Reload addq %rax, %r13 addq %rax, %r14 incq %r15 addq %rdi, %r12 cmpq %r10, %r15 je LBB0_85 LBB0_75: ## Parent Loop BB0_62 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_78 Depth 3 ## Child Loop BB0_83 Depth 3 cmpl $8, %r10d setb %bl movq -72(%rbp), %rax ## 8-byte Reload movl 56(%rax), %edi movq %r15, %rax imulq %r10, %rax movq -160(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rsi movq %rsi, -152(%rbp) ## 8-byte Spill callq _av_dct_calc orb -80(%rbp), %bl ## 1-byte Folded Reload testb $1, %bl je LBB0_77 ## %bb.76: ## in Loop: Header=BB0_75 Depth=2 xorl %ecx, %ecx movq -88(%rbp), %r10 ## 8-byte Reload movq -184(%rbp), %r11 ## 8-byte Reload movaps -208(%rbp), %xmm1 ## 16-byte Reload movq -96(%rbp), %rdi ## 8-byte Reload jmp LBB0_80 .p2align 4, 0x90 LBB0_77: ## in Loop: Header=BB0_75 Depth=2 xorl %eax, %eax movq -112(%rbp), %rdx ## 8-byte Reload movaps -304(%rbp), %xmm2 ## 16-byte Reload .p2align 4, 0x90 LBB0_78: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_75 Depth=2 ## => This Inner Loop Header: Depth=3 movups (%r12,%rax,4), %xmm0 movups (%r13,%rax,4), %xmm1 mulps %xmm2, %xmm0 addps %xmm1, %xmm0 movups %xmm0, (%r13,%rax,4) movups (%r14,%rax,4), %xmm0 addps %xmm2, %xmm0 movups %xmm0, (%r14,%rax,4) addq $4, %rax cmpq %rax, %rdx jne LBB0_78 ## %bb.79: ## in Loop: Header=BB0_75 Depth=2 movq %rdx, %rcx movq -88(%rbp), %r10 ## 8-byte Reload cmpl %r10d, %edx movq -184(%rbp), %r11 ## 8-byte Reload movaps -208(%rbp), %xmm1 ## 16-byte Reload movq -96(%rbp), %rdi ## 8-byte Reload je LBB0_84 LBB0_80: ## in Loop: Header=BB0_75 Depth=2 movq %rcx, %rax testb $1, %r10b je LBB0_82 ## %bb.81: ## in Loop: Header=BB0_75 Depth=2 movq -152(%rbp), %rax ## 8-byte Reload movss (%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss %xmm1, %xmm0 addss (%r13,%rcx,4), %xmm0 movss %xmm0, (%r13,%rcx,4) movss (%r14,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm1, %xmm0 movss %xmm0, (%r14,%rcx,4) movq %rcx, %rax orq $1, %rax LBB0_82: ## in Loop: Header=BB0_75 Depth=2 cmpq -272(%rbp), %rcx ## 8-byte Folded Reload je LBB0_84 .p2align 4, 0x90 LBB0_83: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_75 Depth=2 ## => This Inner Loop Header: Depth=3 movss (%r12,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss %xmm1, %xmm0 addss (%r13,%rax,4), %xmm0 movss %xmm0, (%r13,%rax,4) movss (%r14,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm1, %xmm0 movss %xmm0, (%r14,%rax,4) movss 4(%r12,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss %xmm1, %xmm0 addss 4(%r13,%rax,4), %xmm0 movss %xmm0, 4(%r13,%rax,4) movss 4(%r14,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm1, %xmm0 movss %xmm0, 4(%r14,%rax,4) addq $2, %rax cmpq %rax, %r10 jne LBB0_83 jmp LBB0_84 LBB0_86: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_88 ## %bb.87: addq $280, %rsp ## imm = 0x118 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_88: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_8567 ## @g_aug_volatile_8567 .p2align 2, 0x0 _g_aug_volatile_8567: .long 3 ## 0x3 .no_dead_strip _basic_block_filtering .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ; -- Begin function basic_block_filtering lCPI0_0: .long 0x3fb504f3 ; float 1.41421354 .long 0x40000000 ; float 2 .section __TEXT,__text,regular,pure_instructions .p2align 2 _basic_block_filtering: ; @basic_block_filtering .cfi_startproc ; %bb.0: sub sp, sp, #304 stp x28, x27, [sp, #208] ; 16-byte Folded Spill stp x26, x25, [sp, #224] ; 16-byte Folded Spill stp x24, x23, [sp, #240] ; 16-byte Folded Spill stp x22, x21, [sp, #256] ; 16-byte Folded Spill stp x20, x19, [sp, #272] ; 16-byte Folded Spill stp x29, x30, [sp, #288] ; 16-byte Folded Spill add x29, sp, #288 .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 ; kill: def $w6 killed $w6 def $x6 str x6, [sp, #24] ; 8-byte Folded Spill str w5, [sp, #16] ; 4-byte Folded Spill str w2, [sp, #56] ; 4-byte Folded Spill str x1, [sp, #48] ; 8-byte Folded Spill ldrsw x8, [x29, #16] Lloh0: adrp x9, ___stack_chk_guard@GOTPAGE Lloh1: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x9, [x9] stur x9, [x29, #-96] ldr x9, [x0, #40] mov w10, #80 ; =0x50 smaddl x24, w8, w10, x9 ldr w19, [x0] mul w21, w19, w19 ldr w26, [x24] ldr x8, [x0, #8] ldrsw x9, [x8, w7, sxtw #2] ldp w11, w8, [x0, #16] ; kill: def $w11 killed $w11 def $x11 sxtw x11, w11 stp x11, x9, [sp, #32] ; 16-byte Folded Spill stur w8, [x29, #-120] ; 4-byte Folded Spill ldp x22, x8, [x24, #8] str x8, [sp, #144] ; 8-byte Folded Spill ldp x8, x23, [x24, #24] stp x26, x8, [x29, #-136] ; 16-byte Folded Spill str x0, [sp, #104] ; 8-byte Folded Spill tbnz w26, #31, LBB0_12 ; %bb.1: mov x8, #0 ; =0x0 lsl w9, w19, #2 lsl x25, x19, #2 stp x22, xzr, [sp, #72] ; 16-byte Folded Spill sub x8, x8, w21, uxtw #2 str x8, [sp, #64] ; 8-byte Folded Spill str w9, [sp, #96] ; 4-byte Folded Spill str x24, [sp, #136] ; 8-byte Folded Spill b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldp x11, x8, [sp, #72] ; 16-byte Folded Reload sub x8, x8, #1 ldr x10, [sp, #64] ; 8-byte Folded Reload add x11, x11, x10 str x11, [sp, #72] ; 8-byte Folded Spill ldur x26, [x29, #-136] ; 8-byte Folded Reload str x8, [sp, #80] ; 8-byte Folded Spill cmp x8, x26 b.gt LBB0_12 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_8 Depth 3 ; Child Loop BB0_11 Depth 2 cmp w19, #1 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x24, #72] ldr x9, [sp, #80] ; 8-byte Folded Reload add x8, x8, x9, lsl #3 ldp w28, w9, [x8] str w9, [sp, #112] ; 4-byte Folded Spill mov x26, x19 ldr x20, [sp, #144] ; 8-byte Folded Reload ldr w24, [sp, #56] ; 4-byte Folded Reload ldr x27, [sp, #48] ; 8-byte Folded Reload LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #104] ; 8-byte Folded Reload ldr x8, [x8, #32] mov x0, x27 mov x1, x24 mov x2, x28 ldr w3, [sp, #112] ; 4-byte Folded Reload mov x4, x19 mov x5, x20 blr x8 ldr x8, [sp, #136] ; 8-byte Folded Reload ldr w0, [x8, #68] mov x1, x20 bl _av_dct_calc add w28, w28, #1 add x20, x20, x25 subs x26, x26, #1 b.ne LBB0_5 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x20, #0 ; =0x0 ldp x24, x26, [sp, #136] ; 16-byte Folded Reload ldur x27, [x29, #-128] ; 8-byte Folded Reload LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_8 Depth 3 mul x8, x20, x19 ldur x9, [x29, #-128] ; 8-byte Folded Reload add x1, x9, x8, lsl #2 mov x8, x19 mov x9, x26 mov x10, x27 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldr s0, [x9] str s0, [x10], #4 add x9, x9, x25 subs x8, x8, #1 b.ne LBB0_8 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 ldr w0, [x24, #68] bl _av_dct_calc add x20, x20, #1 add x27, x27, x25 add x26, x26, #4 cmp x20, x19 b.ne LBB0_7 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 mov x26, x19 ldr x20, [sp, #72] ; 8-byte Folded Reload ldur x27, [x29, #-128] ; 8-byte Folded Reload LBB0_11: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x20 mov x1, x27 ldr w2, [sp, #96] ; 4-byte Folded Reload bl _memcpy add x27, x27, x25 add x20, x20, x25 subs x26, x26, #1 b.ne LBB0_11 b LBB0_2 LBB0_12: ldr x8, [sp, #32] ; 8-byte Folded Reload lsl x20, x8, #2 cmp w19, #1 b.lt LBB0_22 ; %bb.13: mov w25, #0 ; =0x0 mov w8, #0 ; =0x0 lsl x28, x26, #2 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 ldr w8, [sp, #96] ; 4-byte Folded Reload add w8, w8, #1 ldr w25, [sp, #112] ; 4-byte Folded Reload add w25, w25, w19 cmp w8, w19 b.eq LBB0_22 LBB0_15: ; =>This Loop Header: Depth=1 ; Child Loop BB0_17 Depth 2 ; Child Loop BB0_19 Depth 3 str w8, [sp, #96] ; 4-byte Folded Spill mov w27, #0 ; =0x0 str w25, [sp, #112] ; 4-byte Folded Spill b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=2 add x23, x23, x20 add w27, w27, #1 add w25, w25, #1 cmp w27, w19 b.eq LBB0_14 LBB0_17: ; Parent Loop BB0_15 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_19 Depth 3 cmp w26, #1 b.lt LBB0_20 ; %bb.18: ; in Loop: Header=BB0_17 Depth=2 mov x8, #0 ; =0x0 mov x9, x25 LBB0_19: ; Parent Loop BB0_15 Depth=1 ; Parent Loop BB0_17 Depth=2 ; => This Inner Loop Header: Depth=3 ldr s0, [x22, w9, sxtw #2] str s0, [x23, x8] add w9, w9, w21 add x8, x8, #4 cmp x28, x8 b.ne LBB0_19 LBB0_20: ; in Loop: Header=BB0_17 Depth=2 ldur w8, [x29, #-120] ; 4-byte Folded Reload cmp w8, #1 b.le LBB0_16 ; %bb.21: ; in Loop: Header=BB0_17 Depth=2 ldr w0, [x24, #64] mov x1, x23 bl _av_dct_calc b LBB0_16 LBB0_22: ldr x8, [sp, #104] ; 8-byte Folded Reload ldp s0, s1, [x8, #24] fmul s0, s0, s1 stur s0, [x29, #-112] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr d1, [x8, lCPI0_0@PAGEOFF] fmul.2s v1, v1, v0[0] stur d1, [x29, #-108] mov w8, #1267 ; =0x4f3 movk w8, #16437, lsl #16 fmov s1, w8 fmul s0, s0, s1 stur s0, [x29, #-100] fmov s3, #1.00000000 cmp w19, #1 b.lt LBB0_44 ; %bb.23: mov w23, #0 ; =0x0 mov w8, #0 ; =0x0 ldr x22, [x24, #32] lsl x27, x26, #2 sub x9, x29, #112 mov x10, x22 b LBB0_25 LBB0_24: ; in Loop: Header=BB0_25 Depth=1 add w8, w8, #1 cmp w8, w19 b.eq LBB0_33 LBB0_25: ; =>This Loop Header: Depth=1 ; Child Loop BB0_27 Depth 2 ; Child Loop BB0_31 Depth 3 mov w11, #0 ; =0x0 cmp w8, #0 cset w12, eq b LBB0_27 LBB0_26: ; in Loop: Header=BB0_27 Depth=2 add x10, x10, x20 add w11, w11, #1 cmp w11, w19 b.eq LBB0_24 LBB0_27: ; Parent Loop BB0_25 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_31 Depth 3 cmp w26, #1 b.lt LBB0_26 ; %bb.28: ; in Loop: Header=BB0_27 Depth=2 mov x13, #0 ; =0x0 cmp w11, #0 cinc x14, x12, eq b LBB0_31 LBB0_29: ; in Loop: Header=BB0_31 Depth=3 str wzr, [x10, x13] LBB0_30: ; in Loop: Header=BB0_31 Depth=3 add x13, x13, #4 cmp x27, x13 b.eq LBB0_26 LBB0_31: ; Parent Loop BB0_25 Depth=1 ; Parent Loop BB0_27 Depth=2 ; => This Inner Loop Header: Depth=3 cmp x13, #0 cinc x15, x14, eq ldr s0, [x9, x15, lsl #2] ldr s1, [x10, x13] fneg s2, s0 fcmp s1, s0 fccmp s1, s2, #8, le b.pl LBB0_29 ; %bb.32: ; in Loop: Header=BB0_31 Depth=3 add w23, w23, #1 b LBB0_30 LBB0_33: mov w26, #0 ; =0x0 mov w9, #0 ; =0x0 ldr x28, [x24, #8] ldr x8, [sp, #32] ; 8-byte Folded Reload lsl x25, x8, #2 b LBB0_35 LBB0_34: ; in Loop: Header=BB0_35 Depth=1 ldr w9, [sp, #104] ; 4-byte Folded Reload add w9, w9, #1 ldr w26, [sp, #112] ; 4-byte Folded Reload add w26, w26, w19 cmp w9, w19 b.eq LBB0_42 LBB0_35: ; =>This Loop Header: Depth=1 ; Child Loop BB0_37 Depth 2 ; Child Loop BB0_41 Depth 3 str w9, [sp, #104] ; 4-byte Folded Spill mov w20, #0 ; =0x0 str w26, [sp, #112] ; 4-byte Folded Spill b LBB0_37 LBB0_36: ; in Loop: Header=BB0_37 Depth=2 add x22, x22, x25 add w20, w20, #1 add w26, w26, #1 cmp w20, w19 b.eq LBB0_34 LBB0_37: ; Parent Loop BB0_35 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_41 Depth 3 ldur w8, [x29, #-120] ; 4-byte Folded Reload cmp w8, #1 b.le LBB0_39 ; %bb.38: ; in Loop: Header=BB0_37 Depth=2 ldr w0, [x24, #60] mov x1, x22 bl _av_dct_calc fmov s3, #1.00000000 LBB0_39: ; in Loop: Header=BB0_37 Depth=2 ldur x8, [x29, #-136] ; 8-byte Folded Reload cmp w8, #1 b.lt LBB0_36 ; %bb.40: ; in Loop: Header=BB0_37 Depth=2 mov x8, #0 ; =0x0 mov x9, x26 LBB0_41: ; Parent Loop BB0_35 Depth=1 ; Parent Loop BB0_37 Depth=2 ; => This Inner Loop Header: Depth=3 ldr s0, [x22, x8] str s0, [x28, w9, sxtw #2] add w9, w9, w21 add x8, x8, #4 cmp x27, x8 b.ne LBB0_41 b LBB0_36 LBB0_42: cmp w23, #1 ldur x26, [x29, #-136] ; 8-byte Folded Reload b.lt LBB0_44 ; %bb.43: ucvtf s0, w23 fmov s1, #1.00000000 fdiv s3, s1, s0 LBB0_44: cmp w26, #1 b.lt LBB0_62 ; %bb.45: mov x13, #0 ; =0x0 ldr x8, [x24, #8] str x8, [sp, #72] ; 8-byte Folded Spill ldr x12, [sp, #40] ; 8-byte Folded Reload ldr w8, [sp, #16] ; 4-byte Folded Reload mul w8, w12, w8 sxtw x8, w8 ldr x9, [sp, #24] ; 8-byte Folded Reload sxtw x9, w9 lsl w14, w19, #2 sub x10, x19, #1 madd x10, x10, x12, x9 add x11, x8, x19 add x10, x10, x11 lsl x10, x10, #2 str x10, [sp, #32] ; 8-byte Folded Spill umull x10, w19, w19 ldr x11, [sp, #144] ; 8-byte Folded Reload add x10, x11, x10, lsl #2 str x10, [sp, #24] ; 8-byte Folded Spill and x10, x19, #0x7ffffff8 str x10, [sp, #96] ; 8-byte Folded Spill ubfiz x10, x21, #2, #32 str x10, [sp, #48] ; 8-byte Folded Spill lsl x28, x19, #2 dup.4s v4, v3[0] lsl x26, x12, #2 add x10, x11, #16 lsl x8, x8, #2 stp x8, x10, [sp, #8] ; 16-byte Folded Spill lsl x8, x9, #2 str x8, [sp] ; 8-byte Folded Spill str q3, [sp, #112] ; 16-byte Folded Spill str w14, [sp, #104] ; 4-byte Folded Spill str q4, [sp, #80] ; 16-byte Folded Spill b LBB0_47 LBB0_46: ; in Loop: Header=BB0_47 Depth=1 ldp x13, x8, [sp, #64] ; 16-byte Folded Reload add x13, x13, #1 ldr x9, [sp, #48] ; 8-byte Folded Reload add x8, x8, x9 str x8, [sp, #72] ; 8-byte Folded Spill ldur x8, [x29, #-136] ; 8-byte Folded Reload cmp x13, x8 b.eq LBB0_62 LBB0_47: ; =>This Loop Header: Depth=1 ; Child Loop BB0_49 Depth 2 ; Child Loop BB0_51 Depth 2 ; Child Loop BB0_52 Depth 3 ; Child Loop BB0_56 Depth 2 ; Child Loop BB0_59 Depth 3 ; Child Loop BB0_61 Depth 3 str x13, [sp, #64] ; 8-byte Folded Spill cmp w19, #1 b.lt LBB0_46 ; %bb.48: ; in Loop: Header=BB0_47 Depth=1 ldp x10, x11, [x24, #40] ldp x9, x8, [sp] ; 16-byte Folded Reload add x8, x8, x9 stur x10, [x29, #-120] ; 8-byte Folded Spill add x23, x10, x8 str x11, [sp, #56] ; 8-byte Folded Spill add x20, x11, x8 mov x25, x19 ldur x21, [x29, #-128] ; 8-byte Folded Reload ldr x22, [sp, #72] ; 8-byte Folded Reload mov x27, x14 LBB0_49: ; Parent Loop BB0_47 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x21 mov x1, x22 mov x2, x27 bl _memcpy add x22, x22, x28 add x21, x21, x28 subs x25, x25, #1 b.ne LBB0_49 ; %bb.50: ; in Loop: Header=BB0_47 Depth=1 mov x21, #0 ; =0x0 ldr x22, [sp, #144] ; 8-byte Folded Reload ldur x25, [x29, #-128] ; 8-byte Folded Reload LBB0_51: ; Parent Loop BB0_47 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_52 Depth 3 ldr w0, [x24, #56] mul x8, x21, x19 ldur x9, [x29, #-128] ; 8-byte Folded Reload add x1, x9, x8, lsl #2 bl _av_dct_calc mov x8, x19 mov x9, x22 mov x10, x25 LBB0_52: ; Parent Loop BB0_47 Depth=1 ; Parent Loop BB0_51 Depth=2 ; => This Inner Loop Header: Depth=3 ldr s0, [x10], #4 str s0, [x9] add x9, x9, x28 subs x8, x8, #1 b.ne LBB0_52 ; %bb.53: ; in Loop: Header=BB0_51 Depth=2 add x21, x21, #1 add x25, x25, x28 add x22, x22, #4 cmp x21, x19 b.ne LBB0_51 ; %bb.54: ; in Loop: Header=BB0_47 Depth=1 mov x21, #0 ; =0x0 ldp x11, x9, [sp, #24] ; 16-byte Folded Reload ldur x8, [x29, #-120] ; 8-byte Folded Reload add x8, x8, x9 ldr x10, [sp, #56] ; 8-byte Folded Reload add x9, x10, x9 cmp x23, x9 ccmp x20, x8, #2, lo cset w10, lo cmp x23, x11 ldr x25, [sp, #144] ; 8-byte Folded Reload ccmp x25, x8, #2, lo ldr x8, [sp, #40] ; 8-byte Folded Reload ccmp w8, #0, #8, hs csinc w8, w10, wzr, ge cmp x20, x11 ccmp x25, x9, #2, lo csinc w8, w8, wzr, hs stur w8, [x29, #-120] ; 4-byte Folded Spill ldr x27, [sp, #16] ; 8-byte Folded Reload b LBB0_56 LBB0_55: ; in Loop: Header=BB0_56 Depth=2 add x21, x21, #1 add x27, x27, x28 add x20, x20, x26 add x23, x23, x26 add x25, x25, x28 cmp x21, x19 b.eq LBB0_46 LBB0_56: ; Parent Loop BB0_47 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_59 Depth 3 ; Child Loop BB0_61 Depth 3 cmp w19, #8 cset w22, lo ldr w0, [x24, #56] mul x8, x21, x19 ldr x9, [sp, #144] ; 8-byte Folded Reload add x1, x9, x8, lsl #2 bl _av_dct_calc ldur w8, [x29, #-120] ; 4-byte Folded Reload orr w8, w22, w8 tbz w8, #0, LBB0_58 ; %bb.57: ; in Loop: Header=BB0_56 Depth=2 mov x8, #0 ; =0x0 ldr q3, [sp, #112] ; 16-byte Folded Reload ldr w14, [sp, #104] ; 4-byte Folded Reload b LBB0_61 LBB0_58: ; in Loop: Header=BB0_56 Depth=2 mov x8, #0 ; =0x0 mov x9, x27 ldr x10, [sp, #96] ; 8-byte Folded Reload ldr q4, [sp, #80] ; 16-byte Folded Reload LBB0_59: ; Parent Loop BB0_47 Depth=1 ; Parent Loop BB0_56 Depth=2 ; => This Inner Loop Header: Depth=3 ldp q0, q1, [x9, #-16] add x11, x23, x8 ldp q2, q3, [x11] fmla.4s v2, v4, v0 fmla.4s v3, v4, v1 stp q2, q3, [x11] add x11, x20, x8 ldp q0, q1, [x11] fadd.4s v0, v4, v0 fadd.4s v1, v4, v1 stp q0, q1, [x11] add x9, x9, #32 add x8, x8, #32 subs x10, x10, #8 b.ne LBB0_59 ; %bb.60: ; in Loop: Header=BB0_56 Depth=2 ldr x9, [sp, #96] ; 8-byte Folded Reload mov x8, x9 cmp x9, x19 ldr q3, [sp, #112] ; 16-byte Folded Reload ldr w14, [sp, #104] ; 4-byte Folded Reload b.eq LBB0_55 LBB0_61: ; Parent Loop BB0_47 Depth=1 ; Parent Loop BB0_56 Depth=2 ; => This Inner Loop Header: Depth=3 ldr s0, [x25, x8, lsl #2] ldr s1, [x23, x8, lsl #2] fmadd s0, s0, s3, s1 str s0, [x23, x8, lsl #2] ldr s0, [x20, x8, lsl #2] fadd s0, s3, s0 str s0, [x20, x8, lsl #2] add x8, x8, #1 cmp x19, x8 b.ne LBB0_61 b LBB0_55 LBB0_62: ldur x8, [x29, #-96] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_64 ; %bb.63: ldp x29, x30, [sp, #288] ; 16-byte Folded Reload ldp x20, x19, [sp, #272] ; 16-byte Folded Reload ldp x22, x21, [sp, #256] ; 16-byte Folded Reload ldp x24, x23, [sp, #240] ; 16-byte Folded Reload ldp x26, x25, [sp, #224] ; 16-byte Folded Reload ldp x28, x27, [sp, #208] ; 16-byte Folded Reload add sp, sp, #304 ret LBB0_64: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_8567 ; @g_aug_volatile_8567 .p2align 2, 0x0 _g_aug_volatile_8567: .long 3 ; 0x3 .no_dead_strip _basic_block_filtering .subsections_via_symbols
assembly_file_38047.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rgui_init _rgui_init: ## @rgui_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 xorl %ebx, %ebx xorl %eax, %eax callq _config_get_ptr movq %rax, %r15 movl $1, %edi movl $1, %esi callq _calloc testq %rax, %rax je LBB0_8 ## %bb.1: movq %rax, %r14 movl $1, %edi movl $144, %esi callq _calloc testq %rax, %rax je LBB0_7 ## %bb.2: movq %rax, %rbx movq %rax, (%r12) movq (%rax), %rax movb $0, (%rax) movq 8(%rbx), %rax movb $0, (%rax) xorl %eax, %eax callq _rgui_set_pixel_format_function leaq 132(%rbx), %rdi callq _rgui_get_video_config movl 32(%r15), %eax movl %eax, 128(%rbx) movl $0, 16(%rbx) movq %rbx, %rdi xorl %esi, %esi callq _rgui_set_aspect_ratio testl %eax, %eax je LBB0_7 ## %bb.3: movq _FONT_HEIGHT_STRIDE@GOTPCREL(%rip), %rax movl (%rax), %edi addl %edi, %edi callq _menu_display_set_header_height movq 24(%rbx), %rax movb $0, (%rax) movq %rbx, %rdi movq %r15, %rsi callq _prepare_rgui_colors movq $0, -48(%rbp) movq _MENU_ENTRIES_CTL_SET_START@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -48(%rbp), %rsi callq _menu_entries_ctl movq $0, 120(%rbx) xorl %eax, %eax callq _rgui_init_font_lut movups 4(%r15), %xmm0 movups %xmm0, 104(%rbx) movq 24(%r15), %rax movq %rax, 32(%rbx) movl (%r15), %eax movl %eax, 100(%rbx) movq _rgui_frame_buf@GOTPCREL(%rip), %rax movl 4(%rax), %ecx movl %ecx, 96(%rbx) movl (%rax), %eax movl %eax, 92(%rbx) leaq -40(%rbp), %rdi callq _video_driver_get_viewport_info movl -36(%rbp), %eax movl %eax, 88(%rbx) movl -40(%rbp), %eax movl %eax, 84(%rbx) movl $0, 40(%rbx) movq 32(%rbx), %rax movq _RGUI_PARTICLE_EFFECT_NONE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_5 ## %bb.4: movq %rbx, %rdi callq _rgui_init_particle_effect LBB0_5: movl (%r15), %esi movl 4(%r15), %edi callq _rgui_set_blit_functions xorl %eax, %eax callq _menu_thumbnail_path_init movl %eax, 80(%rbx) testl %eax, %eax je LBB0_7 ## %bb.6: movq $0, 44(%rbx) movq %rbx, %rdi addq $52, %rdi xorps %xmm0, %xmm0 movups %xmm0, 56(%rbx) movq $0, 72(%rbx) xorl %esi, %esi movl $4, %edx callq _memset movq %r14, %rbx jmp LBB0_8 LBB0_7: xorl %ebx, %ebx xorl %eax, %eax callq _rgui_framebuffer_free xorl %eax, %eax callq _rgui_background_free movq _fs_thumbnail@GOTPCREL(%rip), %rdi callq _rgui_thumbnail_free movq _mini_thumbnail@GOTPCREL(%rip), %rdi callq _rgui_thumbnail_free movq _mini_left_thumbnail@GOTPCREL(%rip), %rdi callq _rgui_thumbnail_free movq %r14, %rdi callq _free LBB0_8: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FONT_HEIGHT_STRIDE,4,2 ## @FONT_HEIGHT_STRIDE .comm _MENU_ENTRIES_CTL_SET_START,4,2 ## @MENU_ENTRIES_CTL_SET_START .comm _rgui_frame_buf,8,2 ## @rgui_frame_buf .comm _RGUI_PARTICLE_EFFECT_NONE,8,3 ## @RGUI_PARTICLE_EFFECT_NONE .comm _fs_thumbnail,4,2 ## @fs_thumbnail .comm _mini_thumbnail,4,2 ## @mini_thumbnail .comm _mini_left_thumbnail,4,2 ## @mini_left_thumbnail .no_dead_strip _rgui_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rgui_init _rgui_init: ; @rgui_init .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x22, x0 bl _config_get_ptr mov x21, x0 mov w0, #1 mov w1, #1 bl _calloc mov x19, x0 cbz x0, LBB0_8 ; %bb.1: mov w0, #1 mov w1, #144 bl _calloc cbz x0, LBB0_7 ; %bb.2: mov x20, x0 str x0, [x22] ldr x8, [x0] strb wzr, [x8] ldr x8, [x0, #8] strb wzr, [x8] bl _rgui_set_pixel_format_function add x0, x20, #132 bl _rgui_get_video_config ldr w8, [x21, #32] str w8, [x20, #128] str wzr, [x20, #16] mov x0, x20 mov w1, #0 bl _rgui_set_aspect_ratio cbz w0, LBB0_7 ; %bb.3: Lloh0: adrp x8, _FONT_HEIGHT_STRIDE@GOTPAGE Lloh1: ldr x8, [x8, _FONT_HEIGHT_STRIDE@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w0, w8, #1 bl _menu_display_set_header_height ldr x8, [x20, #24] strb wzr, [x8] mov x0, x20 mov x1, x21 bl _prepare_rgui_colors str xzr, [sp, #8] Lloh3: adrp x8, _MENU_ENTRIES_CTL_SET_START@GOTPAGE Lloh4: ldr x8, [x8, _MENU_ENTRIES_CTL_SET_START@GOTPAGEOFF] Lloh5: ldr w0, [x8] add x1, sp, #8 bl _menu_entries_ctl str xzr, [x20, #120] bl _rgui_init_font_lut ldur q0, [x21, #4] stur q0, [x20, #104] ldr x8, [x21, #24] str x8, [x20, #32] ldr w8, [x21] str w8, [x20, #100] Lloh6: adrp x8, _rgui_frame_buf@GOTPAGE Lloh7: ldr x8, [x8, _rgui_frame_buf@GOTPAGEOFF] Lloh8: ldr d0, [x8] stur d0, [x20, #92] mov x0, sp bl _video_driver_get_viewport_info ldr d0, [sp] stur d0, [x20, #84] str wzr, [x20, #40] ldr x8, [x20, #32] Lloh9: adrp x9, _RGUI_PARTICLE_EFFECT_NONE@GOTPAGE Lloh10: ldr x9, [x9, _RGUI_PARTICLE_EFFECT_NONE@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x8, x9 b.eq LBB0_5 ; %bb.4: mov x0, x20 bl _rgui_init_particle_effect LBB0_5: ldp w1, w0, [x21] bl _rgui_set_blit_functions bl _menu_thumbnail_path_init str w0, [x20, #80] cbz w0, LBB0_7 ; %bb.6: stp wzr, wzr, [x20, #44] add x0, x20, #52 stp xzr, xzr, [x20, #64] str xzr, [x20, #56] mov w1, #0 mov w2, #4 bl _memset b LBB0_8 LBB0_7: bl _rgui_framebuffer_free bl _rgui_background_free Lloh12: adrp x0, _fs_thumbnail@GOTPAGE Lloh13: ldr x0, [x0, _fs_thumbnail@GOTPAGEOFF] bl _rgui_thumbnail_free Lloh14: adrp x0, _mini_thumbnail@GOTPAGE Lloh15: ldr x0, [x0, _mini_thumbnail@GOTPAGEOFF] bl _rgui_thumbnail_free Lloh16: adrp x0, _mini_left_thumbnail@GOTPAGE Lloh17: ldr x0, [x0, _mini_left_thumbnail@GOTPAGEOFF] bl _rgui_thumbnail_free mov x0, x19 bl _free mov x19, #0 LBB0_8: 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 add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _FONT_HEIGHT_STRIDE,4,2 ; @FONT_HEIGHT_STRIDE .comm _MENU_ENTRIES_CTL_SET_START,4,2 ; @MENU_ENTRIES_CTL_SET_START .comm _rgui_frame_buf,8,2 ; @rgui_frame_buf .comm _RGUI_PARTICLE_EFFECT_NONE,8,3 ; @RGUI_PARTICLE_EFFECT_NONE .comm _fs_thumbnail,4,2 ; @fs_thumbnail .comm _mini_thumbnail,4,2 ; @mini_thumbnail .comm _mini_left_thumbnail,4,2 ; @mini_left_thumbnail .no_dead_strip _rgui_init .subsections_via_symbols
AnghaBench/RetroArch/menu/drivers/extr_rgui.c_rgui_init.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 leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %eax testb $3, %al je LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi jmp LBB0_5 LBB0_2: imull $-1030792151, %eax, %eax ## imm = 0xC28F5C29 addl $85899344, %eax ## imm = 0x51EB850 movl %eax, %ecx rorl $2, %ecx cmpl $42949672, %ecx ## imm = 0x28F5C28 jbe LBB0_4 ## %bb.3: leaq L_.str.2(%rip), %rdi jmp LBB0_5 LBB0_4: rorl $4, %eax cmpl $10737419, %eax ## imm = 0xA3D70B leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rdi cmovbq %rax, %rdi LBB0_5: xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "Not Leap Year" L_.str.2: ## @.str.2 .asciz "Leap Year" .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 sub x8, x29, #4 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldur w9, [x29, #-4] Lloh2: adrp x8, l_.str.1@PAGE Lloh3: add x8, x8, l_.str.1@PAGEOFF mov x0, x8 tst w9, #0x3 b.ne LBB0_3 ; %bb.1: Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF mov w10, #23593 movk w10, #49807, lsl #16 mov w11, #47184 movk w11, #1310, lsl #16 madd w9, w9, w10, w11 ror w10, w9, #2 mov w11, #23592 movk w11, #655, lsl #16 cmp w10, w11 b.hi LBB0_3 ; %bb.2: ror w9, w9, #4 mov w10, #55051 movk w10, #163, lsl #16 cmp w9, w10 csel x0, x0, x8, lo LBB0_3: bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "Not Leap Year" l_.str.2: ; @.str.2 .asciz "Leap Year" .subsections_via_symbols
the_stack_data/25370.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 $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpl $3, %edi jne LBB0_4 ## %bb.1: movq 8(%rbx), %rdi leaq L_.str.1(%rip), %rsi leaq -84(%rbp), %rdx xorl %eax, %eax callq _sscanf cmpl $1, %eax jne LBB0_3 ## %bb.2: movl $-10000, %eax ## imm = 0xD8F0 addl -84(%rbp), %eax cmpl $-9999, %eax ## imm = 0xD8F1 jae LBB0_5 LBB0_3: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rsi movl $9999, %edx ## imm = 0x270F jmp LBB0_8 LBB0_4: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq (%rbx), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax callq _fprintf jmp LBB0_9 LBB0_5: movq 16(%rbx), %rdi leaq L_.str.3(%rip), %rsi leaq -96(%rbp), %rdx xorl %eax, %eax callq _sscanf cmpl $1, %eax jne LBB0_7 ## %bb.6: movq -96(%rbp), %rdx leaq -102401(%rdx), %rax cmpq $-102400, %rax ## imm = 0xFFFE7000 jae LBB0_12 LBB0_7: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.4(%rip), %rsi movl $102400, %edx ## imm = 0x19000 LBB0_8: xorl %eax, %eax callq _fprintf LBB0_9: movl $1, %r14d LBB0_10: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_26 ## %bb.11: movl %r14d, %eax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movl -84(%rbp), %esi leaq L_.str.5(%rip), %rdi xorl %r14d, %r14d xorl %eax, %eax callq _printf movq -96(%rbp), %rsi shlq $20, %rsi movq %rsi, -96(%rbp) leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf leaq -120(%rbp), %rdi xorl %esi, %esi callq _gettimeofday movl -112(%rbp), %edi callq _srandom movl -84(%rbp), %r8d testl %r8d, %r8d jne LBB0_14 jmp LBB0_10 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_14 Depth=1 movl $10, %edi movq %r14, %rsi callq _fputc movq %r14, %rdi callq _fclose movl -84(%rbp), %r8d xorl %r14d, %r14d decl %r8d movl %r8d, -84(%rbp) je LBB0_10 LBB0_14: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 ## Child Loop BB0_20 Depth 3 ## Child Loop BB0_24 Depth 2 movl $30, %edx leaq -80(%rbp), %rbx movq %rbx, %rdi xorl %esi, %esi leaq L_.str.7(%rip), %rcx xorl %eax, %eax callq ___sprintf_chk movq %rbx, %rdi leaq L_.str.8(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_25 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq %rax, %r14 cmpq $101, -96(%rbp) jl LBB0_21 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 xorl %ecx, %ecx xorl %ebx, %ebx jmp LBB0_18 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_18 Depth=2 movl $10, %edi movq %r14, %rsi callq _fputc leal 5(,%r12,4), %eax cltq addq %rax, %r13 movq -104(%rbp), %rcx ## 8-byte Reload incq %rcx movq -96(%rbp), %rax addq $-100, %rax movq %r13, %rbx cmpq %rax, %r13 jge LBB0_22 LBB0_18: ## Parent Loop BB0_14 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_20 Depth 3 movl -84(%rbp), %edx movq %r14, %rdi leaq L_.str.9(%rip), %rsi movq %rcx, -104(%rbp) ## 8-byte Spill xorl %eax, %eax callq _fprintf movslq %eax, %r13 addq %rbx, %r13 callq _random movq %rax, %r12 addl $15, %eax testq %r12, %r12 cmovnsl %r12d, %eax andl $-16, %eax subl %eax, %r12d leaq L_.str.10(%rip), %r15 js LBB0_17 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 leal 1(%r12), %ebx .p2align 4, 0x90 LBB0_20: ## Parent Loop BB0_14 Depth=1 ## Parent Loop BB0_18 Depth=2 ## => This Inner Loop Header: Depth=3 movl -84(%rbp), %edx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _fprintf decl %ebx jne LBB0_20 jmp LBB0_17 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_14 Depth=1 xorl %r13d, %r13d xorl %ecx, %ecx LBB0_22: ## in Loop: Header=BB0_14 Depth=1 movl -84(%rbp), %edx movq %r14, %rdi leaq L_.str.9(%rip), %rsi xorl %eax, %eax callq _fprintf movslq %eax, %r15 addq %r13, %r15 notq %r15 movq -96(%rbp), %rax addq %r15, %rax testq %rax, %rax jle LBB0_13 ## %bb.23: ## in Loop: Header=BB0_14 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_24: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movl $45, %edi movq %r14, %rsi callq _fputc incq %rbx movq -96(%rbp), %rax addq %r15, %rax cmpq %rbx, %rax jg LBB0_24 jmp LBB0_13 LBB0_25: leaq -80(%rbp), %rdi callq _perror jmp LBB0_9 LBB0_26: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usage: %s num_of_file file_size(MB)\n" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Number of file should be >= 0, <= %d\n" L_.str.3: ## @.str.3 .asciz "%ld" L_.str.4: ## @.str.4 .asciz "File size should be >= 0, <= %d\n" L_.str.5: ## @.str.5 .asciz "Generate %d files (%ldMB - " L_.str.6: ## @.str.6 .asciz "%ld Bytes)\n" L_.str.7: ## @.str.7 .asciz "file_%d" L_.str.8: ## @.str.8 .asciz "wt" L_.str.9: ## @.str.9 .asciz "%04d-%08lX: " L_.str.10: ## @.str.10 .asciz "%04d" .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, #192 .cfi_def_cfa_offset 192 stp x28, x27, [sp, #96] ; 16-byte Folded Spill stp x26, x25, [sp, #112] ; 16-byte Folded Spill stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #88] cmp w0, #3 b.ne LBB0_4 ; %bb.1: ldr x0, [x19, #8] add x8, sp, #52 str x8, [sp] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF bl _sscanf cmp w0, #1 b.ne LBB0_3 ; %bb.2: ldr w8, [sp, #52] mov w9, #-10000 mov w10, #-9999 add w8, w8, w9 cmp w8, w10 b.hs LBB0_9 LBB0_3: Lloh5: adrp x8, ___stderrp@GOTPAGE Lloh6: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh7: ldr x0, [x8] mov w8, #9999 str x8, [sp] Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF b LBB0_5 LBB0_4: Lloh10: adrp x8, ___stderrp@GOTPAGE Lloh11: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh12: ldr x0, [x8] ldr x8, [x19] str x8, [sp] Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF LBB0_5: bl _fprintf LBB0_6: mov w0, #1 LBB0_7: ldr x8, [sp, #88] Lloh15: adrp x9, ___stack_chk_guard@GOTPAGE Lloh16: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh17: ldr x9, [x9] cmp x9, x8 b.ne LBB0_28 ; %bb.8: ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload ldp x26, x25, [sp, #112] ; 16-byte Folded Reload ldp x28, x27, [sp, #96] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_9: ldr x0, [x19, #16] add x8, sp, #40 str x8, [sp] Lloh18: adrp x1, l_.str.3@PAGE Lloh19: add x1, x1, l_.str.3@PAGEOFF bl _sscanf cmp w0, #1 b.ne LBB0_11 ; %bb.10: ldr x8, [sp, #40] mov x9, #-36865 movk x9, #65534, lsl #16 add x10, x9, #1 add x9, x8, x9 cmp x9, x10 b.hs LBB0_12 LBB0_11: Lloh20: adrp x8, ___stderrp@GOTPAGE Lloh21: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh22: ldr x0, [x8] mov w8, #36864 movk w8, #1, lsl #16 str x8, [sp] Lloh23: adrp x1, l_.str.4@PAGE Lloh24: add x1, x1, l_.str.4@PAGEOFF b LBB0_5 LBB0_12: ldr w9, [sp, #52] stp x9, x8, [sp] Lloh25: adrp x0, l_.str.5@PAGE Lloh26: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x8, [sp, #40] lsl x8, x8, #20 str x8, [sp, #40] str x8, [sp] Lloh27: adrp x0, l_.str.6@PAGE Lloh28: add x0, x0, l_.str.6@PAGEOFF bl _printf add x0, sp, #24 mov x1, #0 bl _gettimeofday ldr w0, [sp, #32] bl _srandom ldr w8, [sp, #52] cbz w8, LBB0_26 ; %bb.13: Lloh29: adrp x19, l_.str.7@PAGE Lloh30: add x19, x19, l_.str.7@PAGEOFF Lloh31: adrp x20, l_.str.8@PAGE Lloh32: add x20, x20, l_.str.8@PAGEOFF Lloh33: adrp x21, l_.str.9@PAGE Lloh34: add x21, x21, l_.str.9@PAGEOFF Lloh35: adrp x22, l_.str.10@PAGE Lloh36: add x22, x22, l_.str.10@PAGEOFF b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 mov w0, #10 mov x1, x23 bl _fputc mov x0, x23 bl _fclose mov w0, #0 ldr w8, [sp, #52] subs w8, w8, #1 str w8, [sp, #52] b.eq LBB0_7 LBB0_15: ; =>This Loop Header: Depth=1 ; Child Loop BB0_19 Depth 2 ; Child Loop BB0_21 Depth 3 ; Child Loop BB0_25 Depth 2 str x8, [sp] add x0, sp, #58 mov w1, #0 mov w2, #30 mov x3, x19 bl ___sprintf_chk add x0, sp, #58 mov x1, x20 bl _fopen cbz x0, LBB0_27 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 mov x23, x0 ldr x8, [sp, #40] cmp x8, #101 b.lt LBB0_22 ; %bb.17: ; in Loop: Header=BB0_15 Depth=1 mov x25, #0 mov x26, #0 b LBB0_19 LBB0_18: ; in Loop: Header=BB0_19 Depth=2 add x24, x26, w24, sxtw mov w0, #10 mov x1, x23 bl _fputc lsl w8, w27, #2 add w8, w8, #5 add x26, x24, w8, sxtw add x25, x25, #1 ldr x8, [sp, #40] sub x8, x8, #100 cmp x26, x8 b.ge LBB0_23 LBB0_19: ; Parent Loop BB0_15 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_21 Depth 3 ldr w8, [sp, #52] stp x8, x25, [sp] mov x0, x23 mov x1, x21 bl _fprintf mov x24, x0 bl _random negs x8, x0 and x8, x8, #0xf and x9, x0, #0xf csneg x27, x9, x8, mi tbnz w27, #31, LBB0_18 ; %bb.20: ; in Loop: Header=BB0_19 Depth=2 add w28, w27, #1 LBB0_21: ; Parent Loop BB0_15 Depth=1 ; Parent Loop BB0_19 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [sp, #52] str x8, [sp] mov x0, x23 mov x1, x22 bl _fprintf subs w28, w28, #1 b.ne LBB0_21 b LBB0_18 LBB0_22: ; in Loop: Header=BB0_15 Depth=1 mov x26, #0 mov x25, #0 LBB0_23: ; in Loop: Header=BB0_15 Depth=1 ldr w8, [sp, #52] stp x8, x25, [sp] mov x0, x23 mov x1, x21 bl _fprintf add x8, x26, w0, sxtw mvn x24, x8 ldr x8, [sp, #40] add x8, x8, x24 cmp x8, #1 b.lt LBB0_14 ; %bb.24: ; in Loop: Header=BB0_15 Depth=1 mov x25, #0 LBB0_25: ; Parent Loop BB0_15 Depth=1 ; => This Inner Loop Header: Depth=2 mov w0, #45 mov x1, x23 bl _fputc add x25, x25, #1 ldr x8, [sp, #40] add x8, x8, x24 cmp x8, x25 b.gt LBB0_25 b LBB0_14 LBB0_26: mov w0, #0 b LBB0_7 LBB0_27: add x0, sp, #58 bl _perror b LBB0_6 LBB0_28: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh29, Lloh30 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "usage: %s num_of_file file_size(MB)\n" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Number of file should be >= 0, <= %d\n" l_.str.3: ; @.str.3 .asciz "%ld" l_.str.4: ; @.str.4 .asciz "File size should be >= 0, <= %d\n" l_.str.5: ; @.str.5 .asciz "Generate %d files (%ldMB - " l_.str.6: ; @.str.6 .asciz "%ld Bytes)\n" l_.str.7: ; @.str.7 .asciz "file_%d" l_.str.8: ; @.str.8 .asciz "wt" l_.str.9: ; @.str.9 .asciz "%04d-%08lX: " l_.str.10: ; @.str.10 .asciz "%04d" .subsections_via_symbols
the_stack_data/12638817.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ## -- Begin function f .p2align 4, 0x90 _f: ## @f .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorps %xmm0, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ; -- Begin function f .p2align 2 _f: ; @f .cfi_startproc ; %bb.0: movi d0, #0000000000000000 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1093845.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function perf_time__parse_strs _perf_time__parse_strs: ## @perf_time__parse_strs .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 movzbl (%rsi), %ecx testb %cl, %cl je LBB0_12 ## %bb.1: movq %rsi, %r15 movq %rdi, %r14 leaq -1(%rsi), %rax xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 xorl %esi, %esi cmpb $44, %cl sete %sil addl %esi, %ebx movzbl (%rax), %ecx decq %rax testb %cl, %cl jne LBB0_2 ## %bb.3: testl %ebx, %ebx je LBB0_12 ## %bb.4: xorl %edi, %edi cmpl %edx, %ebx setg %dil callq _BUG_ON movq %r15, %rdi callq _strdup testq %rax, %rax je LBB0_14 ## %bb.5: leal -1(%rbx), %r15d cmpl $1, %ebx movq %rax, -72(%rbp) ## 8-byte Spill jne LBB0_15 ## %bb.6: xorl %edi, %edi movq %rax, %r13 LBB0_7: shlq $4, %rdi addq %r14, %rdi movq %r13, %rsi callq _perf_time__parse_str testl %eax, %eax js LBB0_24 ## %bb.8: xorl %eax, %eax testl %r15d, %r15d cmovlel %eax, %r15d shlq $4, %r15 addq $16, %r15 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 leaq 16(%rax), %rcx cmpq %rcx, %r15 je LBB0_25 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq (%r14,%rax), %rdx cmpq 24(%r14,%rax), %rdx movq %rcx, %rax jl LBB0_9 LBB0_11: movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_25 LBB0_12: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_13: xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_26 LBB0_14: movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_15: movl %r15d, %edi xorl %r12d, %r12d movq %rdi, -64(%rbp) ## 8-byte Spill LBB0_16: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 movq %r12, -56(%rbp) ## 8-byte Spill movq %rax, -48(%rbp) ## 8-byte Spill movq %rax, %rdi movl $44, %esi callq _strchr leaq -1(%rax), %rdi callq _skip_spaces movq %rax, %r13 jmp LBB0_18 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_18 Depth=2 incq %r13 cmpb $44, %cl je LBB0_11 LBB0_18: ## Parent Loop BB0_16 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r13), %ecx testb %cl, %cl jne LBB0_17 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 xorl %edi, %edi callq _isspace movzbl (%r13), %ecx testl %eax, %eax je LBB0_17 ## %bb.20: ## in Loop: Header=BB0_16 Depth=1 testb %cl, %cl je LBB0_22 ## %bb.21: ## in Loop: Header=BB0_16 Depth=1 movb $0, (%r13) incq %r13 LBB0_22: ## in Loop: Header=BB0_16 Depth=1 movq -56(%rbp), %r12 ## 8-byte Reload movq -48(%rbp), %rsi ## 8-byte Reload movq %r12, %rdi shlq $4, %rdi addq %r14, %rdi callq _perf_time__parse_str testl %eax, %eax js LBB0_24 ## %bb.23: ## in Loop: Header=BB0_16 Depth=1 incq %r12 movq %r13, %rax movq -64(%rbp), %rdi ## 8-byte Reload cmpq %rdi, %r12 jne LBB0_16 jmp LBB0_7 LBB0_24: movl %eax, %ebx LBB0_25: movq -72(%rbp), %rdi ## 8-byte Reload callq _free LBB0_26: movl %ebx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _perf_time__parse_strs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function perf_time__parse_strs _perf_time__parse_strs: ; @perf_time__parse_strs .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 ldrb w8, [x1] cbz w8, LBB0_12 ; %bb.1: mov x21, x1 mov x20, x0 mov w19, #0 ; =0x0 mov x9, #-1 ; =0xffffffffffffffff LBB0_2: ; =>This Inner Loop Header: Depth=1 cmp w8, #44 cinc w19, w19, eq ldrb w8, [x21, x9] sub x9, x9, #1 cbnz w8, LBB0_2 ; %bb.3: cbz w19, LBB0_12 ; %bb.4: cmp w19, w2 cset w0, gt bl _BUG_ON mov x0, x21 bl _strdup cbz x0, LBB0_14 ; %bb.5: mov x21, x0 subs w24, w19, #1 b.ne LBB0_15 ; %bb.6: mov x8, #0 ; =0x0 mov x22, x21 LBB0_7: add x0, x20, x8, lsl #4 mov x1, x22 bl _perf_time__parse_str tbnz w0, #31, LBB0_25 ; %bb.8: bic w8, w24, w24, asr #31 add x8, x8, #1 LBB0_9: ; =>This Inner Loop Header: Depth=1 subs x8, x8, #1 b.eq LBB0_26 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x9, [x20] ldr x10, [x20, #24] add x20, x20, #16 cmp x9, x10 b.lt LBB0_9 LBB0_11: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w19, w8 b LBB0_26 LBB0_12: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_13: ldr w8, [x8] neg w19, w8 b LBB0_27 LBB0_14: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_13 LBB0_15: mov x25, #0 ; =0x0 mov x23, x21 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_18 Depth 2 mov x0, x23 mov w1, #44 ; =0x2c bl _strchr sub x0, x0, #1 bl _skip_spaces mov x22, x0 b LBB0_18 LBB0_17: ; in Loop: Header=BB0_18 Depth=2 add x22, x22, #1 cmp w8, #44 b.eq LBB0_11 LBB0_18: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x22] cbnz w8, LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=2 mov w0, #0 ; =0x0 bl _isspace ldrb w8, [x22] cbz w0, LBB0_17 ; %bb.20: ; in Loop: Header=BB0_16 Depth=1 cbz w8, LBB0_22 ; %bb.21: ; in Loop: Header=BB0_16 Depth=1 strb wzr, [x22], #1 LBB0_22: ; in Loop: Header=BB0_16 Depth=1 add x0, x20, x25, lsl #4 mov x1, x23 bl _perf_time__parse_str tbnz w0, #31, LBB0_25 ; %bb.23: ; in Loop: Header=BB0_16 Depth=1 add x25, x25, #1 mov x23, x22 cmp x25, x24 b.ne LBB0_16 ; %bb.24: mov x8, x24 b LBB0_7 LBB0_25: mov x19, x0 LBB0_26: mov x0, x21 bl _free LBB0_27: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _perf_time__parse_strs .subsections_via_symbols
assembly_file_99681.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function das6402_ai_cmdtest _das6402_ai_cmdtest: ## @das6402_ai_cmdtest .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 %rdx, %r13 movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movq _TRIG_NOW@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rdx, %rdi callq _comedi_check_trigger_src movl %eax, %r12d leaq 4(%r13), %rdi movq _TRIG_FOLLOW@GOTPCREL(%rip), %rax movl (%rax), %esi callq _comedi_check_trigger_src movl %eax, %ebx orl %r12d, %ebx leaq 8(%r13), %rdi movq _TRIG_TIMER@GOTPCREL(%rip), %rax movl (%rax), %esi callq _comedi_check_trigger_src movl %eax, %r12d leaq 12(%r13), %rdi movq _TRIG_COUNT@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _comedi_check_trigger_src movl %eax, %r14d orl %r12d, %r14d orl %ebx, %r14d leaq 16(%r13), %rbx movq _TRIG_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi orl (%r15), %esi movq %rbx, %rdi callq _comedi_check_trigger_src movl %eax, %ecx movl $1, %eax orl %r14d, %ecx jne LBB0_11 ## %bb.1: movl (%rbx), %edi callq _comedi_check_trigger_is_unique movl %eax, %ecx movl $2, %eax testl %ecx, %ecx jne LBB0_11 ## %bb.2: leaq 20(%r13), %rdi xorl %esi, %esi callq _comedi_check_trigger_arg_is movl %eax, %r14d leaq 24(%r13), %rdi xorl %esi, %esi callq _comedi_check_trigger_arg_is movl %eax, %ebx orl %r14d, %ebx leaq 28(%r13), %rdi movq %rdi, -72(%rbp) ## 8-byte Spill movl $10000, %esi ## imm = 0x2710 callq _comedi_check_trigger_arg_min movl %eax, %r12d leaq 32(%r13), %rdi movq %rdi, -64(%rbp) ## 8-byte Spill movl $1, %esi callq _comedi_check_trigger_arg_min movl %eax, %r14d orl %r12d, %r14d orl %ebx, %r14d leaq 36(%r13), %rdi movl 32(%r13), %esi callq _comedi_check_trigger_arg_is movl %eax, %r12d orl %r14d, %r12d movl 16(%r13), %eax leaq 40(%r13), %rdi cmpl (%r15), %eax jne LBB0_4 ## %bb.3: movl $1, %esi callq _comedi_check_trigger_arg_min jmp LBB0_5 LBB0_4: xorl %esi, %esi callq _comedi_check_trigger_arg_is LBB0_5: movl %eax, %ecx movl $3, %eax orl %ecx, %r12d jne LBB0_11 ## %bb.6: movl 28(%r13), %eax movl %eax, -44(%rbp) movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %edi movl 56(%r13), %edx leaq -44(%rbp), %rsi callq _comedi_8254_cascade_ns_to_timer movl -44(%rbp), %esi movq -72(%rbp), %rdi ## 8-byte Reload callq _comedi_check_trigger_arg_is movl %eax, %ecx movl $4, %eax testl %ecx, %ecx jne LBB0_11 ## %bb.7: cmpq $0, 48(%r13) je LBB0_10 ## %bb.8: movq -64(%rbp), %rax ## 8-byte Reload cmpl $0, (%rax) je LBB0_10 ## %bb.9: movq -56(%rbp), %rdi ## 8-byte Reload movq -80(%rbp), %rsi ## 8-byte Reload movq %r13, %rdx callq _das6402_ai_check_chanlist movl %eax, %ecx movl $5, %eax testl %ecx, %ecx jne LBB0_11 LBB0_10: xorl %eax, %eax LBB0_11: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TRIG_NOW,4,2 ## @TRIG_NOW .comm _TRIG_FOLLOW,4,2 ## @TRIG_FOLLOW .comm _TRIG_TIMER,4,2 ## @TRIG_TIMER .comm _TRIG_COUNT,4,2 ## @TRIG_COUNT .comm _TRIG_NONE,4,2 ## @TRIG_NONE .no_dead_strip _das6402_ai_cmdtest .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function das6402_ai_cmdtest _das6402_ai_cmdtest: ; @das6402_ai_cmdtest .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, _TRIG_NOW@GOTPAGE Lloh1: ldr x8, [x8, _TRIG_NOW@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x2 bl _comedi_check_trigger_src mov x22, x0 add x0, x19, #4 Lloh3: adrp x8, _TRIG_FOLLOW@GOTPAGE Lloh4: ldr x8, [x8, _TRIG_FOLLOW@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _comedi_check_trigger_src orr w22, w0, w22 add x0, x19, #8 Lloh6: adrp x8, _TRIG_TIMER@GOTPAGE Lloh7: ldr x8, [x8, _TRIG_TIMER@GOTPAGEOFF] Lloh8: ldr w1, [x8] bl _comedi_check_trigger_src orr w22, w22, w0 add x0, x19, #12 Lloh9: adrp x24, _TRIG_COUNT@GOTPAGE Lloh10: ldr x24, [x24, _TRIG_COUNT@GOTPAGEOFF] ldr w1, [x24] bl _comedi_check_trigger_src orr w23, w22, w0 add x22, x19, #16 ldr w8, [x24] Lloh11: adrp x9, _TRIG_NONE@GOTPAGE Lloh12: ldr x9, [x9, _TRIG_NONE@GOTPAGEOFF] Lloh13: ldr w9, [x9] orr w1, w9, w8 mov x0, x22 bl _comedi_check_trigger_src orr w8, w23, w0 cbz w8, LBB0_2 ; %bb.1: mov w0, #1 b LBB0_15 LBB0_2: ldr w0, [x22] bl _comedi_check_trigger_is_unique cbz w0, LBB0_4 ; %bb.3: mov w0, #2 b LBB0_15 LBB0_4: add x0, x19, #20 mov w1, #0 bl _comedi_check_trigger_arg_is mov x22, x0 add x0, x19, #24 mov w1, #0 bl _comedi_check_trigger_arg_is orr w22, w0, w22 add x23, x19, #28 mov x0, x23 mov w1, #10000 bl _comedi_check_trigger_arg_min orr w25, w22, w0 add x22, x19, #32 mov x0, x22 mov w1, #1 bl _comedi_check_trigger_arg_min orr w25, w25, w0 add x0, x19, #36 ldr w1, [x19, #32] bl _comedi_check_trigger_arg_is orr w25, w25, w0 ldr w8, [x19, #16] ldr w9, [x24] add x0, x19, #40 cmp w8, w9 b.ne LBB0_7 ; %bb.5: mov w1, #1 bl _comedi_check_trigger_arg_min orr w8, w25, w0 cbz w8, LBB0_8 LBB0_6: mov w0, #3 b LBB0_15 LBB0_7: mov w1, #0 bl _comedi_check_trigger_arg_is orr w8, w25, w0 cbnz w8, LBB0_6 LBB0_8: ldr w8, [x19, #28] str w8, [sp, #12] ldr w0, [x21] ldr w2, [x19, #56] add x1, sp, #12 bl _comedi_8254_cascade_ns_to_timer ldr w1, [sp, #12] mov x0, x23 bl _comedi_check_trigger_arg_is cbz w0, LBB0_10 ; %bb.9: mov w0, #4 b LBB0_15 LBB0_10: ldr x8, [x19, #48] cbz x8, LBB0_14 ; %bb.11: ldr w8, [x22] cbz w8, LBB0_14 ; %bb.12: mov x0, x21 mov x1, x20 mov x2, x19 bl _das6402_ai_check_chanlist cbz w0, LBB0_14 ; %bb.13: mov w0, #5 b LBB0_15 LBB0_14: mov w0, #0 LBB0_15: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRIG_NOW,4,2 ; @TRIG_NOW .comm _TRIG_FOLLOW,4,2 ; @TRIG_FOLLOW .comm _TRIG_TIMER,4,2 ; @TRIG_TIMER .comm _TRIG_COUNT,4,2 ; @TRIG_COUNT .comm _TRIG_NONE,4,2 ; @TRIG_NONE .no_dead_strip _das6402_ai_cmdtest .subsections_via_symbols
AnghaBench/linux/drivers/staging/comedi/drivers/extr_das6402.c_das6402_ai_cmdtest.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function DAC_CHAN_EN _DAC_CHAN_EN: ## @DAC_CHAN_EN .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, %ecx andb $1, %cl movl $32, %eax ## kill: def $cl killed $cl killed $ecx shll %cl, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _DAC_CHAN_EN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function DAC_CHAN_EN _DAC_CHAN_EN: ; @DAC_CHAN_EN .cfi_startproc ; %bb.0: and w8, w0, #0x1 mov w9, #32 lsl w0, w9, w8 ret .cfi_endproc ; -- End function .no_dead_strip _DAC_CHAN_EN .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidas.c_DAC_CHAN_EN.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pnv_set_msi_irq_chip ## -- Begin function pnv_set_msi_irq_chip .p2align 4, 0x90 _pnv_set_msi_irq_chip: ## @pnv_set_msi_irq_chip .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 _PNV_PHB_MODEL_PHB3@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.1: movl %esi, %r14d movq %rdi, %rbx cmpl $0, 8(%rdi) jne LBB0_3 ## %bb.2: movl %r14d, %edi callq _irq_get_irq_data movq %rax, %rdi callq _irq_data_get_irq_chip movl $1, 8(%rbx) movq _pnv_ioda2_msi_eoi@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rbx) LBB0_3: addq $12, %rbx movl %r14d, %edi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _irq_set_chip ## TAILCALL LBB0_4: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PNV_PHB_MODEL_PHB3,8,3 ## @PNV_PHB_MODEL_PHB3 .comm _pnv_ioda2_msi_eoi,4,2 ## @pnv_ioda2_msi_eoi .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pnv_set_msi_irq_chip ; -- Begin function pnv_set_msi_irq_chip .p2align 2 _pnv_set_msi_irq_chip: ; @pnv_set_msi_irq_chip .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] Lloh0: adrp x9, _PNV_PHB_MODEL_PHB3@GOTPAGE Lloh1: ldr x9, [x9, _PNV_PHB_MODEL_PHB3@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.1: mov x19, x1 mov x20, x0 ldr w8, [x0, #8] cbnz w8, LBB0_3 ; %bb.2: mov x0, x19 bl _irq_get_irq_data bl _irq_data_get_irq_chip mov w8, #1 Lloh3: adrp x9, _pnv_ioda2_msi_eoi@GOTPAGE Lloh4: ldr x9, [x9, _pnv_ioda2_msi_eoi@GOTPAGEOFF] Lloh5: ldr w9, [x9] stp w8, w9, [x20, #8] LBB0_3: add x1, x20, #12 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _irq_set_chip LBB0_4: 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 _PNV_PHB_MODEL_PHB3,8,3 ; @PNV_PHB_MODEL_PHB3 .comm _pnv_ioda2_msi_eoi,4,2 ; @pnv_ioda2_msi_eoi .subsections_via_symbols
AnghaBench/linux/arch/powerpc/platforms/powernv/extr_pci-ioda.c_pnv_set_msi_irq_chip.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/1164348.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function netdev_set_msglevel _netdev_set_msglevel: ## @netdev_set_msglevel .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 _netdev_priv movl %ebx, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _netdev_set_msglevel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function netdev_set_msglevel _netdev_set_msglevel: ; @netdev_set_msglevel .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 _netdev_priv str w19, [x0] 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 _netdev_set_msglevel .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/via/extr_via-rhine.c_netdev_set_msglevel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function report_helper _report_helper: ## @report_helper .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, %r12d movq _PACKDIR_FILE_PACK@GOTPCREL(%rip), %rax movq _PACKDIR_FILE_IDX@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx cmpl %esi, %ecx je LBB0_4 ## %bb.1: cmpl %r12d, %edx jge LBB0_4 ## %bb.2: movl %esi, %r14d movq %rdi, %r15 movslq %edx, %rbx subl %edx, %r12d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rax movl (%rax,%rbx,4), %esi movl %r14d, %edi callq _report_garbage incq %rbx decl %r12d jne LBB0_3 LBB0_4: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PACKDIR_FILE_PACK,4,2 ## @PACKDIR_FILE_PACK .comm _PACKDIR_FILE_IDX,4,2 ## @PACKDIR_FILE_IDX .no_dead_strip _report_helper .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function report_helper _report_helper: ; @report_helper .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 ; kill: def $w2 killed $w2 def $x2 Lloh0: adrp x8, _PACKDIR_FILE_PACK@GOTPAGE Lloh1: ldr x8, [x8, _PACKDIR_FILE_PACK@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _PACKDIR_FILE_IDX@GOTPAGE Lloh4: ldr x9, [x9, _PACKDIR_FILE_IDX@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 cmp w8, w1 ccmp w2, w3, #0, ne b.ge LBB0_3 ; %bb.1: mov x19, x1 mov x20, x0 sbfiz x21, x2, #2, #32 sub w22, w3, w2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20] ldr w1, [x8, x21] mov x0, x19 bl _report_garbage add x21, x21, #4 subs w22, w22, #1 b.ne 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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PACKDIR_FILE_PACK,4,2 ; @PACKDIR_FILE_PACK .comm _PACKDIR_FILE_IDX,4,2 ; @PACKDIR_FILE_IDX .no_dead_strip _report_helper .subsections_via_symbols
AnghaBench/git/extr_packfile.c_report_helper.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rt2800_register_multiread _rt2800_register_multiread: ## @rt2800_register_multiread .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 (%rax), %rax movq (%rax), %rax popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _rt2800_register_multiread .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rt2800_register_multiread _rt2800_register_multiread: ; @rt2800_register_multiread .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x8, [x8] ldr x4, [x8] br x4 .cfi_endproc ; -- End function .no_dead_strip _rt2800_register_multiread .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.h_rt2800_register_multiread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sas_ata_hard_reset _sas_ata_hard_reset: ## @sas_ata_hard_reset .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 %rdx, -64(%rbp) ## 8-byte Spill movq %rsi, %r15 movq %rdi, %r14 movq (%rdi), %r12 movq 8(%r12), %r13 movq %r13, %rdi callq _dev_to_sas_internal movq (%rax), %rax movq %r13, %rdi callq *(%rax) movl %eax, %ebx movq _ENODEV@GOTPCREL(%rip), %rax movl %ebx, %ecx addl (%rax), %ecx je LBB0_10 ## %bb.1: movq %r12, -48(%rbp) ## 8-byte Spill movq _TMF_RESP_FUNC_COMPLETE@GOTPCREL(%rip), %rax cmpl (%rax), %ebx je LBB0_3 ## %bb.2: movq _KERN_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rdx movq %r13, %rsi xorl %eax, %eax callq _sas_ata_printk LBB0_3: movq %r13, %rdi callq _sas_get_local_phy movq %rax, %rbx movq %rax, %rdi callq _scsi_is_sas_phy_local testq %rax, %rax movq %r14, %r12 movq %r15, -56(%rbp) ## 8-byte Spill jne LBB0_4 ## %bb.5: movq _smp_ata_check_ready@GOTPCREL(%rip), %r14 jmp LBB0_6 LBB0_4: movq _local_ata_check_ready@GOTPCREL(%rip), %r14 LBB0_6: movq -48(%rbp), %r15 ## 8-byte Reload movq %rbx, %rdi callq _sas_put_local_phy movq %r12, %rdi movq -64(%rbp), %rsi ## 8-byte Reload movq %r14, %rdx callq _ata_wait_after_reset movl %eax, %ebx testl %eax, %eax je LBB0_9 ## %bb.7: movq _EAGAIN@GOTPCREL(%rip), %rax movl (%rax), %eax addl %ebx, %eax je LBB0_9 ## %bb.8: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rdx movq %r13, %rsi movl %ebx, %ecx xorl %eax, %eax callq _sas_ata_printk LBB0_9: movl (%r13), %eax movq -56(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) movq _ATA_CBL_SATA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) LBB0_10: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENODEV,4,2 ## @ENODEV .comm _TMF_RESP_FUNC_COMPLETE,4,2 ## @TMF_RESP_FUNC_COMPLETE .comm _KERN_DEBUG,4,2 ## @KERN_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to reset ata device?\n" .comm _EAGAIN,4,2 ## @EAGAIN .comm _KERN_ERR,4,2 ## @KERN_ERR L_.str.1: ## @.str.1 .asciz "reset failed (errno=%d)\n" .comm _ATA_CBL_SATA,4,2 ## @ATA_CBL_SATA .no_dead_strip _sas_ata_hard_reset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sas_ata_hard_reset _sas_ata_hard_reset: ; @sas_ata_hard_reset .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x2 mov x19, x1 mov x22, x0 ldr x25, [x0] ldr x20, [x25, #8] mov x0, x20 bl _dev_to_sas_internal ldr x8, [x0] ldr x8, [x8] mov x0, x20 blr x8 mov x23, x0 Lloh0: adrp x8, _ENODEV@GOTPAGE Lloh1: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmn w0, w8 b.eq LBB0_7 ; %bb.1: Lloh3: adrp x8, _TMF_RESP_FUNC_COMPLETE@GOTPAGE Lloh4: ldr x8, [x8, _TMF_RESP_FUNC_COMPLETE@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w23, w8 b.eq LBB0_3 ; %bb.2: Lloh6: adrp x8, _KERN_DEBUG@GOTPAGE Lloh7: ldr x8, [x8, _KERN_DEBUG@GOTPAGEOFF] Lloh8: ldr w0, [x8] Lloh9: adrp x2, l_.str@PAGE Lloh10: add x2, x2, l_.str@PAGEOFF mov x1, x20 bl _sas_ata_printk LBB0_3: mov x0, x20 bl _sas_get_local_phy mov x23, x0 bl _scsi_is_sas_phy_local Lloh11: adrp x8, _local_ata_check_ready@GOTPAGE Lloh12: ldr x8, [x8, _local_ata_check_ready@GOTPAGEOFF] Lloh13: adrp x9, _smp_ata_check_ready@GOTPAGE Lloh14: ldr x9, [x9, _smp_ata_check_ready@GOTPAGEOFF] cmp x0, #0 csel x24, x9, x8, eq mov x0, x23 bl _sas_put_local_phy mov x0, x22 mov x1, x21 mov x2, x24 bl _ata_wait_after_reset mov x23, x0 cbz w0, LBB0_6 ; %bb.4: Lloh15: adrp x8, _EAGAIN@GOTPAGE Lloh16: ldr x8, [x8, _EAGAIN@GOTPAGEOFF] Lloh17: ldr w8, [x8] cmn w23, w8 b.eq LBB0_6 ; %bb.5: Lloh18: adrp x8, _KERN_ERR@GOTPAGE Lloh19: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh20: ldr w0, [x8] str x23, [sp] Lloh21: adrp x2, l_.str.1@PAGE Lloh22: add x2, x2, l_.str.1@PAGEOFF mov x1, x20 bl _sas_ata_printk LBB0_6: ldr w8, [x20] str w8, [x19] Lloh23: adrp x8, _ATA_CBL_SATA@GOTPAGE Lloh24: ldr x8, [x8, _ATA_CBL_SATA@GOTPAGEOFF] Lloh25: ldr w8, [x8] str w8, [x25] LBB0_7: mov x0, x23 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _ENODEV,4,2 ; @ENODEV .comm _TMF_RESP_FUNC_COMPLETE,4,2 ; @TMF_RESP_FUNC_COMPLETE .comm _KERN_DEBUG,4,2 ; @KERN_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to reset ata device?\n" .comm _EAGAIN,4,2 ; @EAGAIN .comm _KERN_ERR,4,2 ; @KERN_ERR l_.str.1: ; @.str.1 .asciz "reset failed (errno=%d)\n" .comm _ATA_CBL_SATA,4,2 ; @ATA_CBL_SATA .no_dead_strip _sas_ata_hard_reset .subsections_via_symbols
AnghaBench/linux/drivers/scsi/libsas/extr_sas_ata.c_sas_ata_hard_reset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function npcm7xx_pwm_is_visible _npcm7xx_pwm_is_visible: ## @npcm7xx_pwm_is_visible .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %ecx, %ecx cmpl $128, %esi movl $420, %eax ## imm = 0x1A4 cmovnel %ecx, %eax movq (%rdi), %rcx movslq %edx, %rdx movl (%rcx,%rdx,4), %ecx testl %ecx, %ecx cmovel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _npcm7xx_pwm_is_visible .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function npcm7xx_pwm_is_visible _npcm7xx_pwm_is_visible: ; @npcm7xx_pwm_is_visible .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w8, [x8, w2, sxtw #2] mov w9, #420 cmp w1, #128 csel w9, w9, wzr, eq cmp w8, #0 csel w0, wzr, w9, eq ret .cfi_endproc ; -- End function .no_dead_strip _npcm7xx_pwm_is_visible .subsections_via_symbols
AnghaBench/linux/drivers/hwmon/extr_npcm750-pwm-fan.c_npcm7xx_pwm_is_visible.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function demangle_prefix _demangle_prefix: ## @demangle_prefix .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, %rbx movq %rdi, %r15 movq (%rsi), %rdi callq _strlen cmpl $7, %eax jl LBB0_3 ## %bb.1: movq (%rbx), %rdi leaq L_.str(%rip), %rsi movl $6, %edx callq _strncmp testq %rax, %rax je LBB0_9 ## %bb.2: movq (%rbx), %rdi leaq L_.str.1(%rip), %rsi movl $6, %edx callq _strncmp testq %rax, %rax je LBB0_9 LBB0_3: movq (%rbx), %rdi callq _strlen cmpl $11, %eax jl LBB0_5 ## %bb.4: movq (%rbx), %rdi leaq L_.str.2(%rip), %rsi movl $8, %edx callq _strncmp testq %rax, %rax je LBB0_16 LBB0_5: movq _ARM_DEMANGLING@GOTPCREL(%rip), %r12 cmpq $0, (%r12) movq _HP_DEMANGLING@GOTPCREL(%rip), %r13 movq _EDG_DEMANGLING@GOTPCREL(%rip), %rax jne LBB0_10 ## %bb.6: cmpq $0, (%r13) jne LBB0_10 ## %bb.7: cmpq $0, (%rax) jne LBB0_10 ## %bb.8: xorl %eax, %eax xorl %ecx, %ecx xorl %edx, %edx testq %rdx, %rdx je LBB0_12 jmp LBB0_14 LBB0_9: addq $6, (%rbx) movl $1, (%r15) jmp LBB0_22 LBB0_10: movq (%rbx), %rdi leaq L_.str.3(%rip), %rsi movl $7, %edx callq _strncmp testq %rax, %rax je LBB0_21 ## %bb.11: movq (%r12), %rdx movq (%r13), %rcx movq _EDG_DEMANGLING@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rdx, %rdx jne LBB0_14 LBB0_12: testq %rcx, %rcx jne LBB0_14 ## %bb.13: testq %rax, %rax je LBB0_22 LBB0_14: movq (%rbx), %rdi leaq L_.str.4(%rip), %rsi movl $7, %edx callq _strncmp testq %rax, %rax jne LBB0_22 ## %bb.15: addq $7, (%rbx) movl $2, 8(%r15) jmp LBB0_22 LBB0_16: movq _cplus_markers@GOTPCREL(%rip), %rax movq (%rax), %rdi movq (%rbx), %rax movsbl 8(%rax), %esi callq _strchr testq %rax, %rax je LBB0_22 ## %bb.17: movzbl (%rax), %ecx movq (%rbx), %rax cmpb 10(%rax), %cl jne LBB0_22 ## %bb.18: movzbl 9(%rax), %ecx cmpl $73, %ecx je LBB0_54 ## %bb.19: cmpl $68, %ecx jne LBB0_22 ## %bb.20: addq $11, %rax movq %rax, (%rbx) movl $2, 4(%r15) jmp LBB0_55 LBB0_21: addq $7, (%rbx) movl $2, 4(%r15) LBB0_22: movq (%rbx), %rdi .p2align 4, 0x90 LBB0_23: ## =>This Inner Loop Header: Depth=1 movl $95, %esi callq _strchr testq %rax, %rax je LBB0_29 ## %bb.24: ## in Loop: Header=BB0_23 Depth=1 movq %rax, %rdi incq %rdi cmpb $95, 1(%rax) jne LBB0_23 ## %bb.25: leaq L_.str.5(%rip), %rsi movq %rax, %rdi callq _strspn LBB0_26: cmpl $2, 8(%r15) je LBB0_28 ## %bb.27: xorl %eax, %eax cmpl $2, 4(%r15) jne LBB0_61 LBB0_28: movq (%rbx), %rsi movq %r14, %rdi callq _string_append movq (%rbx), %rdi callq _strlen cltq addq %rax, (%rbx) LBB0_60: movl $1, %eax jmp LBB0_61 LBB0_29: cmpq $0, 16(%r15) je LBB0_31 ## %bb.30: xorl %edi, %edi callq _ISDIGIT movq %rax, %rcx movl $1, %eax testq %rcx, %rcx je LBB0_26 LBB0_61: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_31: cmpq $0, (%rbx) movzbl 2, %ecx je LBB0_39 LBB0_32: movq _ARM_DEMANGLING@GOTPCREL(%rip), %r12 cmpq $0, (%r12) setne %al cmpb $112, %cl sete %dl andb %al, %dl cmpb $1, %dl jne LBB0_34 ## %bb.33: cmpb $116, 3 je LBB0_38 LBB0_34: movq _EDG_DEMANGLING@GOTPCREL(%rip), %r13 cmpq $0, (%r13) je LBB0_49 ## %bb.35: cmpb $112, %cl je LBB0_48 ## %bb.36: movzbl %cl, %eax cmpl $116, %eax jne LBB0_49 ## %bb.37: cmpb $109, 3 jne LBB0_49 LBB0_38: movq (%rbx), %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx movq %r14, %rcx callq _demangle_arm_hp_template jmp LBB0_60 LBB0_39: movzbl %cl, %edi callq _ISDIGIT testq %rax, %rax jne LBB0_42 ## %bb.40: movzbl 2, %ecx movl %ecx, %eax addl $-72, %eax cmpl $44, %eax ja LBB0_32 ## %bb.41: movabsq $17592186044937, %rdx ## imm = 0x100000000209 btq %rax, %rdx jae LBB0_32 LBB0_42: movq _LUCID_DEMANGLING@GOTPCREL(%rip), %r12 cmpq $0, (%r12) movq _ARM_DEMANGLING@GOTPCREL(%rip), %r13 movq _HP_DEMANGLING@GOTPCREL(%rip), %rax jne LBB0_46 ## %bb.43: cmpq $0, (%r13) jne LBB0_46 ## %bb.44: cmpq $0, (%rax) jne LBB0_46 ## %bb.45: xorl %eax, %eax testb %al, %al je LBB0_57 jmp LBB0_59 LBB0_46: movzbl 2, %edi callq _ISDIGIT testq %rax, %rax je LBB0_56 ## %bb.47: movq $-2, (%rbx) movq %rbx, %rdi callq _consume_count jmp LBB0_28 LBB0_48: movzbl 3, %eax addb $-115, %al cmpb $1, %al jbe LBB0_38 LBB0_49: cmpq $0, (%rbx) jne LBB0_51 ## %bb.50: movzbl %cl, %edi callq _ISDIGIT movzbl 2, %ecx testq %rax, %rax je LBB0_62 LBB0_51: testb %cl, %cl je LBB0_26 LBB0_52: movq %r15, %rdi movq %rbx, %rsi movq %r14, %rdx xorl %ecx, %ecx LBB0_53: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _iterate_demangle_function ## TAILCALL LBB0_54: addq $11, %rax movq %rax, (%rbx) movl $2, 8(%r15) LBB0_55: movq %r15, %rdi movq %rbx, %rsi movq %r14, %rdx callq _gnu_special movq %rax, %rcx movl $1, %eax testq %rcx, %rcx jne LBB0_61 jmp LBB0_22 LBB0_56: movq (%r13), %rax orq (%r12), %rax movq _HP_DEMANGLING@GOTPCREL(%rip), %rcx orq (%rcx), %rax setne %al testb %al, %al jne LBB0_59 LBB0_57: movq _EDG_DEMANGLING@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_59 ## %bb.58: incl 8(%r15) LBB0_59: movq $2, (%rbx) jmp LBB0_60 LBB0_62: cmpb $116, %cl je LBB0_52 ## %bb.63: cmpq $0, (%r12) jne LBB0_67 ## %bb.64: movq _LUCID_DEMANGLING@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_67 ## %bb.65: movq _HP_DEMANGLING@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_67 ## %bb.66: cmpq $0, (%r13) je LBB0_68 LBB0_67: movq %rbx, %rdi movq %r14, %rsi callq _arm_special movq %rax, %rcx movl $1, %eax testq %rcx, %rcx jne LBB0_61 LBB0_68: movq $-1, %rdi LBB0_69: ## =>This Inner Loop Header: Depth=1 cmpb $95, 1(%rdi) leaq 1(%rdi), %rdi je LBB0_69 ## %bb.70: leaq L_.str.6(%rip), %rsi callq _strstr testq %rax, %rax je LBB0_26 ## %bb.71: cmpb $0, 2(%rax) je LBB0_26 ## %bb.72: movq %r15, %rdi movq %rbx, %rsi movq %r14, %rdx movq %rax, %rcx jmp LBB0_53 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "_imp__" L_.str.1: ## @.str.1 .asciz "__imp_" L_.str.2: ## @.str.2 .asciz "_GLOBAL_" .comm _cplus_markers,8,3 ## @cplus_markers .comm _ARM_DEMANGLING,8,3 ## @ARM_DEMANGLING .comm _HP_DEMANGLING,8,3 ## @HP_DEMANGLING .comm _EDG_DEMANGLING,8,3 ## @EDG_DEMANGLING L_.str.3: ## @.str.3 .asciz "__std__" L_.str.4: ## @.str.4 .asciz "__sti__" L_.str.5: ## @.str.5 .asciz "_" .comm _LUCID_DEMANGLING,8,3 ## @LUCID_DEMANGLING L_.str.6: ## @.str.6 .asciz "__" .no_dead_strip _demangle_prefix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function demangle_prefix _demangle_prefix: ; @demangle_prefix .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill 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 x19, x1 mov x20, x0 ldr x0, [x1] bl _strlen cmp w0, #7 b.lt LBB0_3 ; %bb.1: ldr x0, [x19] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w2, #6 ; =0x6 bl _strncmp cbz x0, LBB0_8 ; %bb.2: ldr x0, [x19] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov w2, #6 ; =0x6 bl _strncmp cbz x0, LBB0_8 LBB0_3: ldr x0, [x19] bl _strlen cmp w0, #11 b.lt LBB0_5 ; %bb.4: ldr x0, [x19] Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov w2, #8 ; =0x8 bl _strncmp cbz x0, LBB0_14 LBB0_5: Lloh6: adrp x22, _ARM_DEMANGLING@GOTPAGE Lloh7: ldr x22, [x22, _ARM_DEMANGLING@GOTPAGEOFF] ldr x8, [x22] Lloh8: adrp x23, _HP_DEMANGLING@GOTPAGE Lloh9: ldr x23, [x23, _HP_DEMANGLING@GOTPAGEOFF] ldr x9, [x23] Lloh10: adrp x24, _EDG_DEMANGLING@GOTPAGE Lloh11: ldr x24, [x24, _EDG_DEMANGLING@GOTPAGEOFF] ldr x10, [x24] cmp x8, #0 ccmp x9, #0, #0, eq ccmp x10, #0, #0, eq b.eq LBB0_9 ; %bb.6: ldr x0, [x19] Lloh12: adrp x1, l_.str.3@PAGE Lloh13: add x1, x1, l_.str.3@PAGEOFF mov w2, #7 ; =0x7 bl _strncmp cbz x0, LBB0_19 ; %bb.7: ldr x10, [x22] ldr x9, [x23] ldr x8, [x24] cbz x10, LBB0_10 b LBB0_12 LBB0_8: ldr x8, [x19] add x8, x8, #6 str x8, [x19] mov w8, #1 ; =0x1 str w8, [x20] b LBB0_20 LBB0_9: mov x8, #0 ; =0x0 mov x9, #0 ; =0x0 mov x10, #0 ; =0x0 cbnz x10, LBB0_12 LBB0_10: cbnz x9, LBB0_12 ; %bb.11: cbz x8, LBB0_20 LBB0_12: ldr x0, [x19] Lloh14: adrp x1, l_.str.4@PAGE Lloh15: add x1, x1, l_.str.4@PAGEOFF mov w2, #7 ; =0x7 bl _strncmp cbnz x0, LBB0_20 ; %bb.13: ldr x8, [x19] add x8, x8, #7 str x8, [x19] mov w8, #2 ; =0x2 str w8, [x20, #8] b LBB0_20 LBB0_14: Lloh16: adrp x8, _cplus_markers@GOTPAGE Lloh17: ldr x8, [x8, _cplus_markers@GOTPAGEOFF] Lloh18: ldr x0, [x8] ldr x8, [x19] ldrsb w1, [x8, #8] bl _strchr cbz x0, LBB0_20 ; %bb.15: ldrb w9, [x0] ldr x8, [x19] ldrb w10, [x8, #10] cmp w9, w10 b.ne LBB0_20 ; %bb.16: ldrb w9, [x8, #9] cmp w9, #73 b.eq LBB0_52 ; %bb.17: cmp w9, #68 b.ne LBB0_20 ; %bb.18: add x8, x8, #11 str x8, [x19] mov w8, #2 ; =0x2 str w8, [x20, #4] b LBB0_53 LBB0_19: ldr x8, [x19] add x8, x8, #7 str x8, [x19] mov w8, #2 ; =0x2 str w8, [x20, #4] LBB0_20: ldr x8, [x19] LBB0_21: ; =>This Inner Loop Header: Depth=1 mov x0, x8 mov w1, #95 ; =0x5f bl _strchr cbz x0, LBB0_28 ; %bb.22: ; in Loop: Header=BB0_21 Depth=1 mov x8, x0 ldrb w9, [x8, #1]! cmp w9, #95 b.ne LBB0_21 ; %bb.23: Lloh19: adrp x1, l_.str.5@PAGE Lloh20: add x1, x1, l_.str.5@PAGEOFF bl _strspn LBB0_24: ldr w8, [x20, #8] cmp w8, #2 b.eq LBB0_26 ; %bb.25: ldr w8, [x20, #4] cmp w8, #2 b.ne LBB0_39 LBB0_26: ldr x1, [x19] mov x0, x21 bl _string_append ldr x0, [x19] bl _strlen ldr x8, [x19] add x8, x8, w0, sxtw LBB0_27: str x8, [x19] b LBB0_54 LBB0_28: ldr x8, [x20, #16] cbz x8, LBB0_30 ; %bb.29: mov w0, #0 ; =0x0 bl _ISDIGIT cbnz x0, LBB0_54 b LBB0_24 LBB0_30: ldr x8, [x19] mov w9, #2 ; =0x2 ldrb w0, [x9] cbz x8, LBB0_40 LBB0_31: Lloh21: adrp x22, _ARM_DEMANGLING@GOTPAGE Lloh22: ldr x22, [x22, _ARM_DEMANGLING@GOTPAGEOFF] ldr x8, [x22] cbz x8, LBB0_34 ; %bb.32: cmp w0, #112 b.ne LBB0_34 ; %bb.33: mov w8, #3 ; =0x3 ldrb w8, [x8] cmp w8, #116 b.eq LBB0_38 LBB0_34: Lloh23: adrp x23, _EDG_DEMANGLING@GOTPAGE Lloh24: ldr x23, [x23, _EDG_DEMANGLING@GOTPAGEOFF] ldr x8, [x23] cbz x8, LBB0_47 ; %bb.35: cmp w0, #112 b.eq LBB0_46 ; %bb.36: cmp w0, #116 b.ne LBB0_47 ; %bb.37: mov w8, #3 ; =0x3 ldrb w8, [x8] cmp w8, #109 b.ne LBB0_47 LBB0_38: ldr x0, [x19] bl _strlen mov x2, x0 mov x0, x20 mov x1, x19 mov x3, x21 bl _demangle_arm_hp_template b LBB0_54 LBB0_39: mov w0, #0 ; =0x0 b LBB0_55 LBB0_40: bl _ISDIGIT cbnz x0, LBB0_42 ; %bb.41: mov w8, #2 ; =0x2 ldrb w0, [x8] sub w8, w0, #72 cmp w8, #44 mov w9, #1 ; =0x1 lsl x8, x9, x8 mov x9, #521 ; =0x209 movk x9, #4096, lsl #32 and x8, x8, x9 ccmp x8, #0, #4, ls b.eq LBB0_31 LBB0_42: Lloh25: adrp x22, _LUCID_DEMANGLING@GOTPAGE Lloh26: ldr x22, [x22, _LUCID_DEMANGLING@GOTPAGEOFF] ldr x8, [x22] Lloh27: adrp x23, _ARM_DEMANGLING@GOTPAGE Lloh28: ldr x23, [x23, _ARM_DEMANGLING@GOTPAGEOFF] ldr x9, [x23] Lloh29: adrp x24, _HP_DEMANGLING@GOTPAGE Lloh30: ldr x24, [x24, _HP_DEMANGLING@GOTPAGEOFF] ldr x10, [x24] cmp x8, #0 ccmp x9, #0, #0, eq ccmp x10, #0, #0, eq b.eq LBB0_45 ; %bb.43: mov w8, #2 ; =0x2 ldrb w0, [x8] bl _ISDIGIT cbz x0, LBB0_56 ; %bb.44: mov x8, #-2 ; =0xfffffffffffffffe str x8, [x19] mov x0, x19 bl _consume_count b LBB0_26 LBB0_45: mov w8, #0 ; =0x0 tbz w8, #0, LBB0_57 b LBB0_59 LBB0_46: mov w8, #3 ; =0x3 ldrb w8, [x8] sub w8, w8, #115 cmp w8, #1 b.ls LBB0_38 LBB0_47: ldr x8, [x19] cbnz x8, LBB0_49 ; %bb.48: bl _ISDIGIT mov x8, x0 mov w9, #2 ; =0x2 ldrb w0, [x9] cbz x8, LBB0_60 LBB0_49: cbz w0, LBB0_24 LBB0_50: mov x0, x20 mov x1, x19 mov x2, x21 mov x3, #0 ; =0x0 LBB0_51: 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 _iterate_demangle_function LBB0_52: add x8, x8, #11 str x8, [x19] mov w8, #2 ; =0x2 str w8, [x20, #8] LBB0_53: mov x0, x20 mov x1, x19 mov x2, x21 bl _gnu_special cbz x0, LBB0_20 LBB0_54: mov w0, #1 ; =0x1 LBB0_55: 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_56: ldr x8, [x22] ldr x9, [x23] ldr x10, [x24] orr x8, x8, x9 orr x8, x8, x10 cmp x8, #0 cset w8, ne tbnz w8, #0, LBB0_59 LBB0_57: Lloh31: adrp x8, _EDG_DEMANGLING@GOTPAGE Lloh32: ldr x8, [x8, _EDG_DEMANGLING@GOTPAGEOFF] Lloh33: ldr x8, [x8] cbnz x8, LBB0_59 ; %bb.58: ldr w8, [x20, #8] add w8, w8, #1 str w8, [x20, #8] LBB0_59: mov w8, #2 ; =0x2 b LBB0_27 LBB0_60: cmp w0, #116 b.eq LBB0_50 ; %bb.61: ldr x8, [x22] cbnz x8, LBB0_65 ; %bb.62: Lloh34: adrp x8, _LUCID_DEMANGLING@GOTPAGE Lloh35: ldr x8, [x8, _LUCID_DEMANGLING@GOTPAGEOFF] Lloh36: ldr x8, [x8] cbnz x8, LBB0_65 ; %bb.63: Lloh37: adrp x8, _HP_DEMANGLING@GOTPAGE Lloh38: ldr x8, [x8, _HP_DEMANGLING@GOTPAGEOFF] Lloh39: ldr x8, [x8] cbnz x8, LBB0_65 ; %bb.64: ldr x8, [x23] cbz x8, LBB0_66 LBB0_65: mov x0, x19 mov x1, x21 bl _arm_special cbnz x0, LBB0_54 LBB0_66: mov x0, #-1 ; =0xffffffffffffffff LBB0_67: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x0, #1]! cmp w8, #95 b.eq LBB0_67 ; %bb.68: Lloh40: adrp x1, l_.str.6@PAGE Lloh41: add x1, x1, l_.str.6@PAGEOFF bl _strstr cbz x0, LBB0_24 ; %bb.69: mov x3, x0 ldrb w8, [x0, #2] cbz w8, LBB0_24 ; %bb.70: mov x0, x20 mov x1, x19 mov x2, x21 b LBB0_51 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "_imp__" l_.str.1: ; @.str.1 .asciz "__imp_" l_.str.2: ; @.str.2 .asciz "_GLOBAL_" .comm _cplus_markers,8,3 ; @cplus_markers .comm _ARM_DEMANGLING,8,3 ; @ARM_DEMANGLING .comm _HP_DEMANGLING,8,3 ; @HP_DEMANGLING .comm _EDG_DEMANGLING,8,3 ; @EDG_DEMANGLING l_.str.3: ; @.str.3 .asciz "__std__" l_.str.4: ; @.str.4 .asciz "__sti__" l_.str.5: ; @.str.5 .asciz "_" .comm _LUCID_DEMANGLING,8,3 ; @LUCID_DEMANGLING l_.str.6: ; @.str.6 .asciz "__" .no_dead_strip _demangle_prefix .subsections_via_symbols
assembly_file_101610.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _yyparse ## -- Begin function yyparse .p2align 4, 0x90 _yyparse: ## @yyparse .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 $1048, %rsp ## imm = 0x418 .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 -256(%rbp), %r15 leaq -1056(%rbp), %r8 movq _yynerrs@GOTPCREL(%rip), %rax movl $0, (%rax) movq _yychar@GOTPCREL(%rip), %rax movl $-2, (%rax) movl $200, %edi movq %r8, -1088(%rbp) ## 8-byte Spill movq %r15, %r13 xorl %ecx, %ecx jmp LBB0_3 .p2align 4, 0x90 LBB0_1: ## in Loop: Header=BB0_3 Depth=1 addq $-5, %rax leaq _yydefgoto(%rip), %rcx addq %rcx, %rax movsbl (%rax), %ecx LBB0_2: ## in Loop: Header=BB0_3 Depth=1 movq -1064(%rbp), %r15 ## 8-byte Reload incq %r12 movq %r12, %r13 LBB0_3: ## =>This Inner Loop Header: Depth=1 movb %cl, (%r13) leaq (%r15,%rdi), %rax decq %rax cmpq %r13, %rax jbe LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %r12 cmpl $2, %ecx jne LBB0_11 jmp LBB0_29 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movl $2, %r14d cmpq $9999, %rdi ## imm = 0x270F jg LBB0_32 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl %ecx, -1064(%rbp) ## 4-byte Spill addq %rdi, %rdi cmpq $10000, %rdi ## imm = 0x2710 movl $10000, %eax ## imm = 0x2710 cmovgeq %rax, %rdi movq %rdi, %rbx leaq (%rdi,%rdi,4), %rdi addq $3, %rdi callq _malloc testq %rax, %rax je LBB0_32 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %r12 subq %r15, %r13 leaq 1(%r13), %r14 movq %rax, %rdi movq %r12, -1080(%rbp) ## 8-byte Spill movq %r15, %rsi movq %r14, %rdx callq _memcpy leaq 3(%rbx), %rax movq %rbx, -1072(%rbp) ## 8-byte Spill addq $6, %rbx testq %rax, %rax cmovnsq %rax, %rbx andq $-4, %rbx addq %r12, %rbx shlq $2, %r14 movq %rbx, %rdi movq -1088(%rbp), %rsi ## 8-byte Reload movq %r14, %rdx callq _memcpy leaq -256(%rbp), %rax cmpq %rax, %r15 je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi callq _free LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq -1072(%rbp), %rdi ## 8-byte Reload leaq (%r12,%rdi), %rax decq %rax addq %r13, %r12 cmpq %r12, %rax jbe LBB0_35 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 leaq (%rbx,%r13,4), %r8 movq %rbx, -1088(%rbp) ## 8-byte Spill movq -1080(%rbp), %r15 ## 8-byte Reload movl -1064(%rbp), %ecx ## 4-byte Reload cmpl $2, %ecx je LBB0_29 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 movq %r15, -1064(%rbp) ## 8-byte Spill movslq %ecx, %rbx andl $-3, %ecx cmpl $1, %ecx jne LBB0_17 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 movq _yychar@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl $-2, %eax jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 xorl %eax, %eax movq %rdi, %r14 movq %r8, %r15 callq _yylex movq %r15, %r8 movq %r14, %rdi movq _yychar@GOTPCREL(%rip), %rcx movl %eax, (%rcx) LBB0_14: ## in Loop: Header=BB0_3 Depth=1 testl %eax, %eax jle LBB0_18 ## %bb.15: ## in Loop: Header=BB0_3 Depth=1 movl $2, %ecx cmpl $259, %eax ## imm = 0x103 ja LBB0_19 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %eax leaq _yytranslate(%rip), %rcx movsbl (%rax,%rcx), %ecx jmp LBB0_19 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_3 Depth=1 leaq _yydefact(%rip), %rax movsbl (%rbx,%rax), %ecx jmp LBB0_23 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movq _yychar@GOTPCREL(%rip), %rax movl $0, (%rax) xorl %ecx, %ecx LBB0_19: ## in Loop: Header=BB0_3 Depth=1 leaq _yypact(%rip), %rax movsbl (%rbx,%rax), %eax addl %ecx, %eax cmpl $3, %eax ja LBB0_30 ## %bb.20: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %edx leaq _yycheck(%rip), %rsi movsbl (%rdx,%rsi), %esi cmpl %esi, %ecx jne LBB0_30 ## %bb.21: ## in Loop: Header=BB0_3 Depth=1 leaq _yytable(%rip), %rcx movsbl (%rdx,%rcx), %ecx cmpl $2, %eax jne LBB0_28 ## %bb.22: ## in Loop: Header=BB0_3 Depth=1 negl %ecx LBB0_23: ## in Loop: Header=BB0_3 Depth=1 movslq %ecx, %r15 leaq _yyr2(%rip), %rax movsbq (%r15,%rax), %rbx movl $1, %eax subq %rbx, %rax movl (%r8,%rax,4), %r13d cmpl $3, %r15d jne LBB0_25 ## %bb.24: ## in Loop: Header=BB0_3 Depth=1 movq %rdi, -1072(%rbp) ## 8-byte Spill leaq L_str(%rip), %rdi movq %r8, %r14 callq _puts movq %r14, %r8 movq -1072(%rbp), %rdi ## 8-byte Reload LBB0_25: ## in Loop: Header=BB0_3 Depth=1 leaq (,%rbx,4), %rax subq %rax, %r8 subq %rbx, %r12 movl %r13d, 4(%r8) addq $4, %r8 leaq _yyr1(%rip), %rax movsbq (%r15,%rax), %rax leaq _yypgoto(%rip), %rcx movsbl -5(%rax,%rcx), %edx movsbl (%r12), %ecx addl %ecx, %edx cmpl $3, %edx ja LBB0_1 ## %bb.26: ## in Loop: Header=BB0_3 Depth=1 movl %edx, %edx leaq _yycheck(%rip), %rsi cmpb %cl, (%rdx,%rsi) jne LBB0_1 ## %bb.27: ## in Loop: Header=BB0_3 Depth=1 leaq _yytable(%rip), %rax addq %rax, %rdx movsbl (%rdx), %ecx jmp LBB0_2 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_3 Depth=1 movq _yylval@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r8) addq $4, %r8 movq _yychar@GOTPCREL(%rip), %rax movl $-2, (%rax) jmp LBB0_2 LBB0_32: leaq L_.str.4(%rip), %rsi jmp LBB0_33 LBB0_29: xorl %r14d, %r14d jmp LBB0_34 LBB0_30: movq _yynerrs@GOTPCREL(%rip), %rax incl (%rax) movl $1, %r14d leaq L_.str.1(%rip), %rsi movq -1064(%rbp), %r15 ## 8-byte Reload LBB0_33: leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf LBB0_34: leaq -256(%rbp), %rax movq %r15, %rdi cmpq %rax, %r15 jne LBB0_36 jmp LBB0_37 LBB0_35: movl $1, %r14d movq -1080(%rbp), %rdi ## 8-byte Reload LBB0_36: callq _free LBB0_37: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_39 ## %bb.38: movl %r14d, %eax addq $1048, %rsp ## imm = 0x418 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_39: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _yyerror ## -- Begin function yyerror .p2align 4, 0x90 _yyerror: ## @yyerror .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, %rsi leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf movl $1, %eax popq %rbp retq .cfi_endproc ## -- 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.10(%rip), %rdi callq _puts callq _yyparse xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _yynerrs,4,2 ## @yynerrs .comm _yychar,4,2 ## @yychar .section __TEXT,__const _yypact: ## @yypact .ascii "\374\000\374\375\374" .p2align 4 ## @yytranslate _yytranslate: .ascii "\000\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\001\002\003\004" _yycheck: ## @yycheck .ascii "\000\004\377\003" _yytable: ## @yytable .ascii "\002\004\000\003" .comm _yylval,4,2 ## @yylval _yydefact: ## @yydefact .ascii "\002\000\001\000\003" _yyr2: ## @yyr2 .ascii "\000\002\000\003" _yyr1: ## @yyr1 .ascii "\000\005\006\006" _yypgoto: ## @yypgoto .space 2,252 _yydefgoto: ## @yydefgoto .ascii "\377\001" .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "syntax error" L_.str.4: ## @.str.4 .asciz "memory exhausted" L_.str.7: ## @.str.7 .asciz "Cadena invalida %s\n" L_str: ## @str .asciz "Se imprime un texto " L_str.10: ## @str.10 .asciz "Ingrese la cadena" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _yyparse ; -- Begin function yyparse .p2align 2 _yyparse: ; @yyparse .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, #1024 mov w28, #0 add x24, sp, #8 Lloh0: adrp x9, _yynerrs@GOTPAGE Lloh1: ldr x9, [x9, _yynerrs@GOTPAGEOFF] Lloh2: adrp x27, _yychar@GOTPAGE Lloh3: ldr x27, [x27, _yychar@GOTPAGEOFF] Lloh4: adrp x8, ___stack_chk_guard@GOTPAGE Lloh5: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh6: ldr x8, [x8] stur x8, [x29, #-96] mov w8, #-2 Lloh7: str wzr, [x9] mov w26, #200 str w8, [x27] add x21, sp, #8 add x20, sp, #808 add x19, sp, #808 b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 Lloh8: adrp x8, _yylval@GOTPAGE Lloh9: ldr x8, [x8, _yylval@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x24, #4]! mov w8, #-2 str w8, [x27] LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x20, x20, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 strb w28, [x20] add x8, x19, x26 sub x8, x8, #1 cmp x8, x20 b.hi LBB0_10 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w8, #9999 cmp x26, x8 b.gt LBB0_31 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 lsl x8, x26, #1 mov w9, #10000 cmp x8, x9 csel x26, x8, x9, lt add x8, x26, x26, lsl #2 add x0, x8, #3 bl _malloc cbz x0, LBB0_31 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x22, x0 sub x25, x20, x19 add x24, x25, #1 mov x1, x19 mov x2, x24 bl _memcpy add x8, x26, #3 add x9, x26, #6 cmp x8, #0 csel x8, x9, x8, lt and x8, x8, #0xfffffffffffffffc add x23, x22, x8 lsl x2, x24, #2 mov x0, x23 mov x1, x21 bl _memcpy add x8, sp, #808 cmp x19, x8 b.eq LBB0_8 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 bl _free LBB0_8: ; in Loop: Header=BB0_3 Depth=1 add x8, x22, x26 sub x8, x8, #1 add x20, x22, x25 cmp x8, x20 b.ls LBB0_36 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 add x24, x23, x25, lsl #2 mov x21, x23 mov x19, x22 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 cmp w28, #2 b.eq LBB0_32 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 sxtw x22, w28 and w8, w28, #0xfffffffd cmp w8, #1 b.ne LBB0_17 ; %bb.12: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x27] cmn w0, #2 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_3 Depth=1 bl _yylex str w0, [x27] LBB0_14: ; in Loop: Header=BB0_3 Depth=1 cmp w0, #0 b.le LBB0_18 ; %bb.15: ; in Loop: Header=BB0_3 Depth=1 cmp w0, #259 b.hi LBB0_19 ; %bb.16: ; in Loop: Header=BB0_3 Depth=1 Lloh11: adrp x8, _yytranslate@PAGE Lloh12: add x8, x8, _yytranslate@PAGEOFF ldrsb w8, [x8, w0, uxtw] b LBB0_20 LBB0_17: ; in Loop: Header=BB0_3 Depth=1 Lloh13: adrp x8, _yydefact@PAGE Lloh14: add x8, x8, _yydefact@PAGEOFF ldrsb w8, [x8, x22] b LBB0_24 LBB0_18: ; in Loop: Header=BB0_3 Depth=1 mov w8, #0 str wzr, [x27] b LBB0_20 LBB0_19: ; in Loop: Header=BB0_3 Depth=1 mov w8, #2 LBB0_20: ; in Loop: Header=BB0_3 Depth=1 Lloh15: adrp x9, _yypact@PAGE Lloh16: add x9, x9, _yypact@PAGEOFF ldrsb w9, [x9, x22] add w9, w8, w9 cmp w9, #3 b.hi LBB0_33 ; %bb.21: ; in Loop: Header=BB0_3 Depth=1 Lloh17: adrp x10, _yycheck@PAGE Lloh18: add x10, x10, _yycheck@PAGEOFF ldrsb w10, [x10, x9] cmp w8, w10 b.ne LBB0_33 ; %bb.22: ; in Loop: Header=BB0_3 Depth=1 Lloh19: adrp x8, _yytable@PAGE Lloh20: add x8, x8, _yytable@PAGEOFF ldrsb w28, [x8, x9] cmp w9, #2 b.ne LBB0_1 ; %bb.23: ; in Loop: Header=BB0_3 Depth=1 neg w8, w28 LBB0_24: ; in Loop: Header=BB0_3 Depth=1 sxtw x22, w8 Lloh21: adrp x9, _yyr2@PAGE Lloh22: add x9, x9, _yyr2@PAGEOFF ldrsb x23, [x9, x22] mov w9, #1 sub x9, x9, x23 ldr w25, [x24, x9, lsl #2] cmp w8, #3 b.ne LBB0_26 ; %bb.25: ; in Loop: Header=BB0_3 Depth=1 Lloh23: adrp x0, l_str@PAGE Lloh24: add x0, x0, l_str@PAGEOFF bl _puts LBB0_26: ; in Loop: Header=BB0_3 Depth=1 sub x24, x24, x23, lsl #2 sub x20, x20, x23 str w25, [x24, #4]! Lloh25: adrp x8, _yyr1@PAGE Lloh26: add x8, x8, _yyr1@PAGEOFF ldrsb x8, [x8, x22] sub x8, x8, #5 Lloh27: adrp x9, _yypgoto@PAGE Lloh28: add x9, x9, _yypgoto@PAGEOFF ldrsb w9, [x9, x8] ldrsb w10, [x20] add w9, w10, w9 cmp w9, #3 b.hi LBB0_29 ; %bb.27: ; in Loop: Header=BB0_3 Depth=1 and w10, w10, #0xff Lloh29: adrp x11, _yycheck@PAGE Lloh30: add x11, x11, _yycheck@PAGEOFF ldrb w11, [x11, x9] cmp w11, w10 b.ne LBB0_29 ; %bb.28: ; in Loop: Header=BB0_3 Depth=1 Lloh31: adrp x8, _yytable@PAGE Lloh32: add x8, x8, _yytable@PAGEOFF add x8, x8, x9 b LBB0_30 LBB0_29: ; in Loop: Header=BB0_3 Depth=1 Lloh33: adrp x9, _yydefgoto@PAGE Lloh34: add x9, x9, _yydefgoto@PAGEOFF add x8, x9, x8 LBB0_30: ; in Loop: Header=BB0_3 Depth=1 ldrsb w28, [x8] b LBB0_2 LBB0_31: mov w20, #2 Lloh35: adrp x8, l_.str.4@PAGE Lloh36: add x8, x8, l_.str.4@PAGEOFF b LBB0_34 LBB0_32: mov w20, #0 b LBB0_35 LBB0_33: Lloh37: adrp x9, _yynerrs@GOTPAGE Lloh38: ldr x9, [x9, _yynerrs@GOTPAGEOFF] ldr w8, [x9] add w8, w8, #1 str w8, [x9] mov w20, #1 Lloh39: adrp x8, l_.str.1@PAGE Lloh40: add x8, x8, l_.str.1@PAGEOFF LBB0_34: str x8, [sp] Lloh41: adrp x0, l_.str.7@PAGE Lloh42: add x0, x0, l_.str.7@PAGEOFF bl _printf LBB0_35: add x8, sp, #808 mov x22, x19 cmp x19, x8 b.ne LBB0_37 b LBB0_38 LBB0_36: mov w20, #1 LBB0_37: mov x0, x22 bl _free LBB0_38: ldur x8, [x29, #-96] Lloh43: adrp x9, ___stack_chk_guard@GOTPAGE Lloh44: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh45: ldr x9, [x9] cmp x9, x8 b.ne LBB0_40 ; %bb.39: mov x0, x20 add sp, sp, #1024 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_40: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .cfi_endproc ; -- End function .globl _yyerror ; -- Begin function yyerror .p2align 2 _yyerror: ; @yyerror .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp] Lloh46: adrp x0, l_.str.7@PAGE Lloh47: add x0, x0, l_.str.7@PAGEOFF bl _printf mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh46, Lloh47 .cfi_endproc ; -- End function .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 Lloh48: adrp x0, l_str.10@PAGE Lloh49: add x0, x0, l_str.10@PAGEOFF bl _puts bl _yyparse mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh48, Lloh49 .cfi_endproc ; -- End function .comm _yynerrs,4,2 ; @yynerrs .comm _yychar,4,2 ; @yychar .section __TEXT,__const _yypact: ; @yypact .ascii "\374\000\374\375\374" _yytranslate: ; @yytranslate .ascii "\000\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\001\002\003\004" _yycheck: ; @yycheck .ascii "\000\004\377\003" _yytable: ; @yytable .ascii "\002\004\000\003" .comm _yylval,4,2 ; @yylval _yydefact: ; @yydefact .ascii "\002\000\001\000\003" _yyr2: ; @yyr2 .ascii "\000\002\000\003" _yyr1: ; @yyr1 .ascii "\000\005\006\006" _yypgoto: ; @yypgoto .space 2,252 _yydefgoto: ; @yydefgoto .ascii "\377\001" .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "syntax error" l_.str.4: ; @.str.4 .asciz "memory exhausted" l_.str.7: ; @.str.7 .asciz "Cadena invalida %s\n" l_str: ; @str .asciz "Se imprime un texto " l_str.10: ; @str.10 .asciz "Ingrese la cadena" .subsections_via_symbols
the_stack_data/192329966.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cmpv ## -- Begin function cmpv .p2align 4, 0x90 _cmpv: ## @cmpv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 4(%rdi), %ecx addl (%rdi), %ecx movl 4(%rsi), %edx addl (%rsi), %edx xorl %eax, %eax xorl %esi, %esi cmpl %edx, %ecx setg %al setl %sil subl %esi, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function allCellsDistOrder LCPI1_0: .long 0 ## 0x0 .long 1 ## 0x1 .space 4 .space 4 LCPI1_1: .long 2 ## 0x2 .long 2 ## 0x2 .space 4 .space 4 LCPI1_2: .long 4 ## 0x4 .long 4 ## 0x4 .space 4 .space 4 LCPI1_3: .long 6 ## 0x6 .long 6 ## 0x6 .space 4 .space 4 LCPI1_4: .long 8 ## 0x8 .long 8 ## 0x8 .space 4 .space 4 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI1_5: .quad 0x3ff8000000000000 ## double 1.5 .section __TEXT,__text,regular,pure_instructions .globl _allCellsDistOrder .p2align 4, 0x90 _allCellsDistOrder: ## @allCellsDistOrder .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 $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -120(%rbp) ## 8-byte Spill movq %r8, -128(%rbp) ## 8-byte Spill ## kill: def $ecx killed $ecx def $rcx movl %edi, -108(%rbp) ## 4-byte Spill movl %edi, %r14d subl %edx, %r14d cmpl %edx, %r14d movl %edx, -52(%rbp) ## 4-byte Spill cmovlel %edx, %r14d movl %esi, -92(%rbp) ## 4-byte Spill movl %esi, %r12d subl %ecx, %r12d cmpl %ecx, %r12d movq %rcx, -72(%rbp) ## 8-byte Spill cmovlel %ecx, %r12d leal 1(%r14), %edi leal 1(%r12), %r13d imull %r13d, %edi shlq $3, %rdi callq _malloc movq %rax, %r15 testl %r14d, %r14d js LBB1_1 ## %bb.4: movl %r12d, %r11d incq %r11 movq %r11, %rcx andq $-4, %rcx leaq -4(%rcx), %r10 movq %r10, %rsi shrq $2, %rsi incq %rsi movq %rsi, %rax andq $-2, %rax movq %rax, -48(%rbp) ## 8-byte Spill movq %r15, %r9 addq $48, %r9 xorl %ebx, %ebx movdqa LCPI1_0(%rip), %xmm8 ## xmm8 = <0,1,u,u> movdqa LCPI1_1(%rip), %xmm1 ## xmm1 = <2,2,u,u> movdqa LCPI1_2(%rip), %xmm9 ## xmm9 = <4,4,u,u> movdqa LCPI1_3(%rip), %xmm3 ## xmm3 = <6,6,u,u> movdqa LCPI1_4(%rip), %xmm4 ## xmm4 = <8,8,u,u> xorl %edi, %edi jmp LBB1_5 .p2align 4, 0x90 LBB1_14: ## in Loop: Header=BB1_5 Depth=1 leal 1(%rdi), %eax cmpl %r14d, %edi movl %eax, %edi je LBB1_2 LBB1_5: ## =>This Loop Header: Depth=1 ## Child Loop BB1_10 Depth 2 ## Child Loop BB1_15 Depth 2 testl %r12d, %r12d js LBB1_14 ## %bb.6: ## in Loop: Header=BB1_5 Depth=1 xorl %eax, %eax movslq %ebx, %rbx cmpl $3, %r12d jb LBB1_15 ## %bb.7: ## in Loop: Header=BB1_5 Depth=1 movd %edi, %xmm5 pshufd $80, %xmm5, %xmm2 ## xmm2 = xmm5[0,0,1,1] testq %r10, %r10 je LBB1_8 ## %bb.9: ## in Loop: Header=BB1_5 Depth=1 leaq (%r9,%rbx,8), %rax movq -48(%rbp), %r8 ## 8-byte Reload xorl %edx, %edx movdqa %xmm8, %xmm6 .p2align 4, 0x90 LBB1_10: ## Parent Loop BB1_5 Depth=1 ## => This Inner Loop Header: Depth=2 movdqa %xmm6, %xmm7 paddd %xmm1, %xmm7 movdqa %xmm2, %xmm5 punpckldq %xmm6, %xmm5 ## xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1] movdqu %xmm5, -48(%rax,%rdx,8) movdqa %xmm2, %xmm5 punpckldq %xmm7, %xmm5 ## xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1] movdqu %xmm5, -32(%rax,%rdx,8) movdqa %xmm6, %xmm5 paddd %xmm9, %xmm5 movdqa %xmm6, %xmm7 paddd %xmm3, %xmm7 movdqa %xmm2, %xmm0 punpckldq %xmm5, %xmm0 ## xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1] movdqu %xmm0, -16(%rax,%rdx,8) movdqa %xmm2, %xmm0 punpckldq %xmm7, %xmm0 ## xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1] movdqu %xmm0, (%rax,%rdx,8) addq $8, %rdx paddd %xmm4, %xmm6 addq $-2, %r8 jne LBB1_10 ## %bb.11: ## in Loop: Header=BB1_5 Depth=1 testb $1, %sil je LBB1_13 LBB1_12: ## in Loop: Header=BB1_5 Depth=1 addq %rbx, %rdx movdqa %xmm2, %xmm0 punpckldq %xmm6, %xmm0 ## xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1] paddd %xmm1, %xmm6 movdqu %xmm0, (%r15,%rdx,8) punpckldq %xmm6, %xmm2 ## xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1] movdqu %xmm2, 16(%r15,%rdx,8) LBB1_13: ## in Loop: Header=BB1_5 Depth=1 addq %rcx, %rbx movl %ecx, %eax cmpq %rcx, %r11 je LBB1_14 .p2align 4, 0x90 LBB1_15: ## Parent Loop BB1_5 Depth=1 ## => This Inner Loop Header: Depth=2 movl %edi, (%r15,%rbx,8) movl %eax, 4(%r15,%rbx,8) incq %rbx incl %eax cmpl %eax, %r13d jne LBB1_15 jmp LBB1_14 LBB1_8: ## in Loop: Header=BB1_5 Depth=1 xorl %edx, %edx movdqa %xmm8, %xmm6 testb $1, %sil jne LBB1_12 jmp LBB1_13 LBB1_1: xorl %ebx, %ebx LBB1_2: movslq %ebx, %r14 movq %r14, -48(%rbp) ## 8-byte Spill leaq _cmpv(%rip), %rcx movl $8, %edx movq %r15, %rdi movq %r14, %rsi callq _qsort xorps %xmm0, %xmm0 cvtsi2sd %r14d, %xmm0 mulsd LCPI1_5(%rip), %xmm0 cvttsd2si %xmm0, %r13d movslq %r13d, %r14 leaq (,%r14,4), %rdi callq _malloc movq %rax, %r12 shlq $3, %r14 movq %r14, %rdi callq _malloc movq %rax, %r14 movq %r12, -88(%rbp) ## 8-byte Spill movl $2, (%r12) movl $8, %edi callq _malloc movq %r14, -80(%rbp) ## 8-byte Spill movq %rax, (%r14) movl -52(%rbp), %r14d ## 4-byte Reload movl %r14d, (%rax) movq -72(%rbp), %rcx ## 8-byte Reload movl %ecx, 4(%rax) cmpl $2, -48(%rbp) ## 4-byte Folded Reload jl LBB1_3 ## %bb.16: movl %r13d, -96(%rbp) ## 4-byte Spill movl %ebx, %eax decq %rax movq %rax, -136(%rbp) ## 8-byte Spill movl $1, %eax movq %rax, -48(%rbp) ## 8-byte Spill xorl %r13d, %r13d movq %rcx, %rbx jmp LBB1_17 .p2align 4, 0x90 LBB1_33: ## in Loop: Header=BB1_17 Depth=1 incq %r13 cmpq %r13, -136(%rbp) ## 8-byte Folded Reload je LBB1_34 LBB1_17: ## =>This Inner Loop Header: Depth=1 movl 8(%r15,%r13,8), %edx movl 12(%r15,%r13,8), %esi subl %edx, %r14d movq -48(%rbp), %rax ## 8-byte Reload addl $4, %eax movl -96(%rbp), %ecx ## 4-byte Reload cmpl %ecx, %eax jl LBB1_19 ## %bb.18: ## in Loop: Header=BB1_17 Depth=1 xorps %xmm0, %xmm0 cvtsi2sd %ecx, %xmm0 mulsd LCPI1_5(%rip), %xmm0 cvttsd2si %xmm0, %eax movl %eax, -96(%rbp) ## 4-byte Spill movslq %eax, %rbx movq %rsi, -104(%rbp) ## 8-byte Spill leaq (,%rbx,4), %rsi movq -88(%rbp), %rdi ## 8-byte Reload movl %edx, %r12d callq _realloc movq %rax, -88(%rbp) ## 8-byte Spill shlq $3, %rbx movq -80(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi movq -72(%rbp), %rbx ## 8-byte Reload callq _realloc movq -104(%rbp), %rsi ## 8-byte Reload movl %r12d, %edx movq %rax, -80(%rbp) ## 8-byte Spill LBB1_19: ## in Loop: Header=BB1_17 Depth=1 leal (%rsi,%rbx), %ecx movl %ebx, %eax subl %esi, %eax testl %r14d, %r14d movl %eax, -56(%rbp) ## 4-byte Spill js LBB1_26 ## %bb.20: ## in Loop: Header=BB1_17 Depth=1 testl %eax, %eax movl %edx, -64(%rbp) ## 4-byte Spill movl %ecx, -60(%rbp) ## 4-byte Spill js LBB1_22 ## %bb.21: ## in Loop: Header=BB1_17 Depth=1 movq -48(%rbp), %r12 ## 8-byte Reload movslq %r12d, %rbx movq -88(%rbp), %rax ## 8-byte Reload movl $2, (%rax,%rbx,4) movl $8, %edi movq %rsi, -104(%rbp) ## 8-byte Spill callq _malloc movq -104(%rbp), %rsi ## 8-byte Reload movl -64(%rbp), %edx ## 4-byte Reload movq -80(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx,%rbx,8) movl %r14d, (%rax) incl %r12d movq %r12, -48(%rbp) ## 8-byte Spill movl -56(%rbp), %ecx ## 4-byte Reload movl %ecx, 4(%rax) movl -60(%rbp), %ecx ## 4-byte Reload movl -56(%rbp), %eax ## 4-byte Reload LBB1_22: ## in Loop: Header=BB1_17 Depth=1 testl %esi, %esi jle LBB1_25 ## %bb.23: ## in Loop: Header=BB1_17 Depth=1 cmpl -92(%rbp), %ecx ## 4-byte Folded Reload jge LBB1_25 ## %bb.24: ## in Loop: Header=BB1_17 Depth=1 movq -48(%rbp), %rbx ## 8-byte Reload movslq %ebx, %rbx movq -88(%rbp), %rax ## 8-byte Reload movl $2, (%rax,%rbx,4) movl $8, %edi movq %rsi, %r12 callq _malloc movq %r12, %rsi movl -64(%rbp), %edx ## 4-byte Reload movq -80(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx,%rbx,8) movl -60(%rbp), %ecx ## 4-byte Reload movl %r14d, (%rax) incl %ebx movq %rbx, -48(%rbp) ## 8-byte Spill movl %ecx, 4(%rax) movl -56(%rbp), %eax ## 4-byte Reload LBB1_25: ## in Loop: Header=BB1_17 Depth=1 movq -72(%rbp), %rbx ## 8-byte Reload LBB1_26: ## in Loop: Header=BB1_17 Depth=1 movl -52(%rbp), %r14d ## 4-byte Reload testl %edx, %edx jle LBB1_33 ## %bb.27: ## in Loop: Header=BB1_17 Depth=1 addl %r14d, %edx cmpl -108(%rbp), %edx ## 4-byte Folded Reload jge LBB1_33 ## %bb.28: ## in Loop: Header=BB1_17 Depth=1 cmpl -92(%rbp), %ecx ## 4-byte Folded Reload jge LBB1_30 ## %bb.29: ## in Loop: Header=BB1_17 Depth=1 movq -48(%rbp), %rbx ## 8-byte Reload movslq %ebx, %rbx movq -88(%rbp), %rax ## 8-byte Reload movl $2, (%rax,%rbx,4) movl $8, %edi movl %edx, -64(%rbp) ## 4-byte Spill movq %rsi, %r12 movl %ecx, -60(%rbp) ## 4-byte Spill callq _malloc movq %r12, %rsi movl -64(%rbp), %edx ## 4-byte Reload movq -80(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx,%rbx,8) movl %edx, (%rax) incl %ebx movq %rbx, -48(%rbp) ## 8-byte Spill movq -72(%rbp), %rbx ## 8-byte Reload movl -60(%rbp), %ecx ## 4-byte Reload movl %ecx, 4(%rax) movl -56(%rbp), %eax ## 4-byte Reload LBB1_30: ## in Loop: Header=BB1_17 Depth=1 testl %esi, %esi jle LBB1_33 ## %bb.31: ## in Loop: Header=BB1_17 Depth=1 testl %eax, %eax js LBB1_33 ## %bb.32: ## in Loop: Header=BB1_17 Depth=1 movq -48(%rbp), %rbx ## 8-byte Reload movslq %ebx, %rbx movq -88(%rbp), %rax ## 8-byte Reload movl $2, (%rax,%rbx,4) movl $8, %edi movl %edx, %r12d callq _malloc movq -80(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx,%rbx,8) movl %r12d, (%rax) incl %ebx movq %rbx, -48(%rbp) ## 8-byte Spill movq -72(%rbp), %rbx ## 8-byte Reload movl -56(%rbp), %ecx ## 4-byte Reload movl %ecx, 4(%rax) jmp LBB1_33 LBB1_3: movl $1, %eax movq %rax, -48(%rbp) ## 8-byte Spill LBB1_34: movq %r15, %rdi callq _free movq -120(%rbp), %rax ## 8-byte Reload movq -88(%rbp), %rcx ## 8-byte Reload movq %rcx, (%rax) movq -128(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movl %ecx, (%rax) movq -80(%rbp), %rax ## 8-byte Reload addq $104, %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 _cmpv ; -- Begin function cmpv .p2align 2 _cmpv: ; @cmpv .cfi_startproc ; %bb.0: ldp w8, w9, [x0] add w8, w9, w8 ldp w9, w10, [x1] add w9, w10, w9 cmp w8, w9 cset w8, gt cset w9, lt sub w0, w8, w9 ret .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function allCellsDistOrder lCPI1_0: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .globl _allCellsDistOrder .p2align 2 _allCellsDistOrder: ; @allCellsDistOrder .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp d9, d8, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset b8, -104 .cfi_offset b9, -112 mov x23, x5 mov x22, x4 mov x25, x3 stp w0, w1, [sp, #28] ; 8-byte Folded Spill sub w8, w0, w2 cmp w8, w2 str w2, [sp, #36] ; 4-byte Folded Spill csel w19, w8, w2, gt add w8, w19, #1 sub w9, w1, w3 cmp w9, w3 csel w20, w9, w3, gt madd w8, w8, w20, w8 lsl x0, x8, #3 bl _malloc mov x26, x0 mov w24, #0 tbnz w19, #31, LBB1_12 ; %bb.1: mov w8, #0 add x9, x20, #1 and x10, x9, #0x1fffffff0 add x11, x26, #64 add x12, x26, #4 add w13, w20, #1 Lloh0: adrp x14, lCPI1_0@PAGE Lloh1: ldr q0, [x14, lCPI1_0@PAGEOFF] movi.4s v1, #4 movi.4s v2, #8 movi.4s v3, #12 movi.4s v4, #16 b LBB1_4 LBB1_2: ; in Loop: Header=BB1_4 Depth=1 ; kill: def $w24 killed $w24 killed $x24 def $x24 LBB1_3: ; in Loop: Header=BB1_4 Depth=1 add w14, w8, #1 cmp w8, w19 mov x8, x14 b.eq LBB1_12 LBB1_4: ; =>This Loop Header: Depth=1 ; Child Loop BB1_8 Depth 2 ; Child Loop BB1_11 Depth 2 tbnz w20, #31, LBB1_3 ; %bb.5: ; in Loop: Header=BB1_4 Depth=1 sxtw x15, w24 cmp w20, #15 b.hs LBB1_7 ; %bb.6: ; in Loop: Header=BB1_4 Depth=1 mov w14, #0 mov x24, x15 b LBB1_10 LBB1_7: ; in Loop: Header=BB1_4 Depth=1 add x24, x10, x15 dup.4s v5, w8 mov x14, x10 mov.16b v7, v0 add x15, x11, x15, lsl #3 LBB1_8: ; Parent Loop BB1_4 Depth=1 ; => This Inner Loop Header: Depth=2 add.4s v17, v7, v1 add.4s v19, v7, v2 sub x16, x15, #64 sub x17, x15, #32 mov.16b v6, v7 st2.4s { v5, v6 }, [x16] mov.16b v16, v5 st2.4s { v16, v17 }, [x17] mov.16b v18, v5 add x16, x15, #128 st2.4s { v18, v19 }, [x15], #32 add.4s v17, v7, v3 mov.16b v16, v5 st2.4s { v16, v17 }, [x15] add.4s v7, v7, v4 mov x15, x16 subs x14, x14, #16 b.ne LBB1_8 ; %bb.9: ; in Loop: Header=BB1_4 Depth=1 mov x14, x10 cmp x9, x10 b.eq LBB1_2 LBB1_10: ; in Loop: Header=BB1_4 Depth=1 add x15, x12, x24, lsl #3 LBB1_11: ; Parent Loop BB1_4 Depth=1 ; => This Inner Loop Header: Depth=2 stp w8, w14, [x15, #-4] add x24, x24, #1 add w14, w14, #1 add x15, x15, #8 cmp w13, w14 b.ne LBB1_11 b LBB1_2 LBB1_12: mov x8, x24 sxtw x1, w8 Lloh2: adrp x3, _cmpv@PAGE Lloh3: add x3, x3, _cmpv@PAGEOFF mov x0, x26 mov w2, #8 bl _qsort scvtf d0, w24 fmov d8, #1.50000000 fmul d0, d0, d8 fcvtzs w21, d0 sbfiz x0, x21, #2, #32 bl _malloc mov x19, x0 sbfiz x0, x21, #3, #32 bl _malloc mov x27, x0 mov w8, #2 str x19, [sp, #40] ; 8-byte Folded Spill str w8, [x19] mov w0, #8 bl _malloc str x0, [x27] ldr w8, [sp, #36] ; 4-byte Folded Reload stp w8, w25, [x0] cmp w24, #2 stp x23, x22, [sp, #8] ; 16-byte Folded Spill str x26, [sp] ; 8-byte Folded Spill b.lt LBB1_28 ; %bb.13: str w25, [sp, #24] ; 4-byte Folded Spill mov w8, w24 add x20, x26, #12 sub x25, x8, #1 ldr w8, [sp, #36] ; 4-byte Folded Reload mov w19, #1 mov x24, x21 b LBB1_15 LBB1_14: ; in Loop: Header=BB1_15 Depth=1 add x20, x20, #8 subs x25, x25, #1 b.eq LBB1_29 LBB1_15: ; =>This Inner Loop Header: Depth=1 ldp w23, w28, [x20, #-4] sub w22, w8, w23 add w8, w19, #4 cmp w8, w24 b.lt LBB1_17 ; %bb.16: ; in Loop: Header=BB1_15 Depth=1 scvtf d0, w24 fmul d0, d0, d8 fcvtzs w24, d0 sbfiz x1, x24, #2, #32 ldr x0, [sp, #40] ; 8-byte Folded Reload bl _realloc str x0, [sp, #40] ; 8-byte Folded Spill sbfiz x1, x24, #3, #32 mov x0, x27 bl _realloc mov x27, x0 LBB1_17: ; in Loop: Header=BB1_15 Depth=1 ldr w8, [sp, #24] ; 4-byte Folded Reload add w26, w28, w8 sub w21, w8, w28 tbnz w22, #31, LBB1_22 ; %bb.18: ; in Loop: Header=BB1_15 Depth=1 tbnz w21, #31, LBB1_20 ; %bb.19: ; in Loop: Header=BB1_15 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload mov w9, #2 str w9, [x8, w19, sxtw #2] mov w0, #8 bl _malloc str x0, [x27, w19, sxtw #3] add w19, w19, #1 stp w22, w21, [x0] LBB1_20: ; in Loop: Header=BB1_15 Depth=1 cmp w28, #1 ldr w8, [sp, #32] ; 4-byte Folded Reload ccmp w26, w8, #0, ge b.ge LBB1_22 ; %bb.21: ; in Loop: Header=BB1_15 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload mov w9, #2 str w9, [x8, w19, sxtw #2] mov w0, #8 bl _malloc str x0, [x27, w19, sxtw #3] add w19, w19, #1 stp w22, w26, [x0] LBB1_22: ; in Loop: Header=BB1_15 Depth=1 ldr w8, [sp, #36] ; 4-byte Folded Reload add w22, w23, w8 cmp w23, #1 ldr w9, [sp, #28] ; 4-byte Folded Reload ccmp w22, w9, #0, ge b.ge LBB1_14 ; %bb.23: ; in Loop: Header=BB1_15 Depth=1 ldr w9, [sp, #32] ; 4-byte Folded Reload cmp w26, w9 b.ge LBB1_25 ; %bb.24: ; in Loop: Header=BB1_15 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload mov w9, #2 str w9, [x8, w19, sxtw #2] mov w0, #8 bl _malloc ldr w8, [sp, #36] ; 4-byte Folded Reload str x0, [x27, w19, sxtw #3] add w19, w19, #1 stp w22, w26, [x0] LBB1_25: ; in Loop: Header=BB1_15 Depth=1 cmp w28, #1 b.lt LBB1_14 ; %bb.26: ; in Loop: Header=BB1_15 Depth=1 tbnz w21, #31, LBB1_14 ; %bb.27: ; in Loop: Header=BB1_15 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload mov w9, #2 str w9, [x8, w19, sxtw #2] mov w0, #8 bl _malloc ldr w8, [sp, #36] ; 4-byte Folded Reload str x0, [x27, w19, sxtw #3] add w19, w19, #1 stp w22, w21, [x0] b LBB1_14 LBB1_28: mov w19, #1 LBB1_29: ldr x0, [sp] ; 8-byte Folded Reload bl _free ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x9, [sp, #40] ; 8-byte Folded Reload str x9, [x8] ldr x8, [sp, #16] ; 8-byte Folded Reload str w19, [x8] mov x0, x27 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 ldp d9, d8, [sp, #48] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpLdr Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/122015560.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Rescale _Rescale: ## @Rescale .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq 8(%rdi), %rdi callq _STATS movq %rax, %rbx movq 16(%r14), %rdx movl (%rdx), %ecx cmpq %rax, %rdx je LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -4(%rdx), %esi movl %esi, (%rdx) leaq -4(%rdx), %rsi movq %rsi, %rdx cmpq %rax, %rsi jne LBB0_1 LBB0_2: movl %ecx, (%rbx) movq 8(%r14), %rsi movl (%rsi), %edx subl %ecx, %edx xorl %r8d, %r8d cmpq $0, (%r14) setne %r8b addl %r8d, %ecx addl $4, %ecx shrl %ecx movl %ecx, (%rbx) movl 4(%rsi), %r11d decl %r11d addq $4, %rax xorl %edi, %edi movq %rbx, %r10 movl %ecx, %r12d jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %rcx LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movl %esi, (%rcx) LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movl %r15d, %edx subl %r9d, %edx addl %esi, %r12d addq $4, %rdi movl (%r10), %ecx decl %r11d je LBB0_11 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movl %edx, %r15d movl 4(%r10), %r9d leal (%r9,%r8), %esi shrl %esi movl %esi, 4(%r10) addq $4, %r10 cmpl %ecx, %esi jle LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %rdi, %rdx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx,%rdx), %ecx movl %ecx, 4(%rbx,%rdx) testq %rdx, %rdx je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 leaq -4(%rdx), %rcx cmpl -8(%rax,%rdx), %esi movq %rcx, %rdx jg LBB0_5 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 addq %rax, %rcx jmp LBB0_9 LBB0_11: testl %ecx, %ecx jne LBB0_21 ## %bb.12: movq 8(%r14), %rcx movl 4(%rcx), %edi xorl %eax, %eax .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 cmpl $0, -4(%r10,%rax,4) leaq -1(%rax), %rax je LBB0_13 ## %bb.14: subl %r9d, %r15d subq %rax, %r15 movl $1, %edx subl %edi, %edx leal (%rdi,%rax), %esi movl %esi, 4(%rcx) cmpl %eax, %edx jne LBB0_18 ## %bb.15: movl (%rbx), %r12d movl %r15d, %eax .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movl %r12d, %ecx sarl %ecx subl %ecx, %r12d shrl %eax cmpl $3, %r15d movl %eax, %r15d ja LBB0_16 ## %bb.17: incl %edi shrl %edi ## kill: def $edi killed $edi killed $rdi callq _U2I movq %r14, %rdi movq %rbx, %rsi movl %eax, %edx callq _InsertNode movq 8(%r14), %rdi callq _ONE_STATE movq %rax, 16(%r14) movl %r12d, (%rax) jmp LBB0_22 LBB0_18: leal 1(%rdi), %edx shrl %edx leal (%rdi,%rax), %ecx incl %ecx sarl %ecx cmpl %ecx, %edx je LBB0_20 ## %bb.19: movq %r14, %rdi movq %rbx, %rsi callq _ShrinkUnits movl %eax, %edi callq _STATS_REF movq 8(%r14), %rcx movl %eax, 8(%rcx) LBB0_20: movl %r15d, %edx LBB0_21: addl %edx, %r12d shrl %edx subl %edx, %r12d movq 8(%r14), %rdi movl %r12d, (%rdi) callq _STATS movq %rax, 16(%r14) LBB0_22: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Rescale .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Rescale _Rescale: ; @Rescale .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 ldr x0, [x0, #8] bl _STATS mov x20, x0 ldr x8, [x19, #16] ldr w10, [x8] cmp x8, x0 b.eq LBB0_3 ; %bb.1: mov x9, x8 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w11, [x9, #-4]! str w11, [x8] mov x8, x9 cmp x9, x20 b.ne LBB0_2 LBB0_3: mov x9, #0 str w10, [x20] ldp x11, x8, [x19] ldp w12, w13, [x8] sub w8, w12, w10 cmp x11, #0 cinc w10, w10, ne cset w11, ne add w10, w10, #4 lsr w15, w10, #1 mov x12, x20 str w15, [x12], #4 sub w13, w13, #1 mov x10, x20 mov x21, x15 b LBB0_7 LBB0_4: ; in Loop: Header=BB0_7 Depth=1 mov x15, x20 LBB0_5: ; in Loop: Header=BB0_7 Depth=1 str w14, [x15] LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add w21, w14, w21 ldr w15, [x10] add x9, x9, #4 subs w13, w13, #1 b.eq LBB0_12 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ldr w14, [x10, #4]! sub w8, w8, w14 add w14, w14, w11 lsr w14, w14, #1 str w14, [x10] cmp w14, w15 b.le LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov x15, x9 LBB0_9: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w16, [x20, x15] str w16, [x12, x15] cbz x15, LBB0_4 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 add x16, x12, x15 ldur w16, [x16, #-8] sub x15, x15, #4 cmp w14, w16 b.gt LBB0_9 ; %bb.11: ; in Loop: Header=BB0_7 Depth=1 add x15, x12, x15 b LBB0_5 LBB0_12: cbnz w15, LBB0_19 ; %bb.13: mov x11, #0 ldr x12, [x19, #8] ldr w9, [x12, #4] LBB0_14: ; =>This Inner Loop Header: Depth=1 add x13, x10, x11, lsl #2 ldur w13, [x13, #-4] sub x11, x11, #1 cbz w13, LBB0_14 ; %bb.15: sub x22, x8, x11 add w8, w9, w11 add w10, w9, w11 str w8, [x12, #4] cmp w10, #1 b.eq LBB0_21 ; %bb.16: add w8, w9, #1 lsr w2, w8, #1 add w8, w9, w11 add w8, w8, #1 asr w3, w8, #1 cmp w2, w3 b.eq LBB0_18 ; %bb.17: mov x0, x19 mov x1, x20 bl _ShrinkUnits bl _STATS_REF ldr x8, [x19, #8] str w0, [x8, #8] LBB0_18: mov x8, x22 LBB0_19: add w9, w8, w21 sub w8, w9, w8, lsr #1 ldr x0, [x19, #8] str w8, [x0] bl _STATS str x0, [x19, #16] LBB0_20: 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_21: ldr w21, [x20] LBB0_22: ; =>This Inner Loop Header: Depth=1 sub w21, w21, w21, asr #1 lsr w8, w22, #1 cmp w22, #3 mov x22, x8 b.hi LBB0_22 ; %bb.23: add w8, w9, #1 lsr w0, w8, #1 bl _U2I mov x2, x0 mov x0, x19 mov x1, x20 bl _InsertNode ldr x0, [x19, #8] bl _ONE_STATE str x0, [x19, #16] str w21, [x0] b LBB0_20 .cfi_endproc ; -- End function .no_dead_strip _Rescale .subsections_via_symbols
AnghaBench/poco/SevenZip/src/extr_Ppmd7.c_Rescale.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _ascii_get_suffix_buf __ascii_get_suffix_buf: ## @_ascii_get_suffix_buf .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, %r15d movq %rdi, %rbx movl (%rdi), %esi cmpl %r15d, %esi jg LBB0_4 ## %bb.1: movq 8(%rbx), %rdi shll $4, %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: shll (%rbx) movq %rax, 8(%rbx) LBB0_4: movq 16(%rbx), %rax movl (%rax), %edi callq _do_cache_alloc testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, %r14 movq 8(%rbx), %rax movslq %r15d, %rcx movq %r14, (%rax,%rcx,8) jmp LBB0_7 LBB0_5: xorl %r14d, %r14d xorl %eax, %eax callq _STATS_LOCK movq _stats@GOTPCREL(%rip), %rax incl (%rax) xorl %eax, %eax callq _STATS_UNLOCK leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _out_of_memory jmp LBB0_7 LBB0_2: xorl %r14d, %r14d xorl %eax, %eax callq _STATS_LOCK movq _stats@GOTPCREL(%rip), %rax incl (%rax) xorl %eax, %eax callq _STATS_UNLOCK LBB0_7: movq %r14, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _stats,4,2 ## @stats .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SERVER_ERROR out of memory making CAS suffix" .no_dead_strip __ascii_get_suffix_buf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _ascii_get_suffix_buf __ascii_get_suffix_buf: ; @_ascii_get_suffix_buf .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, x1 mov x19, x0 ldr w8, [x0] cmp w8, w1 b.gt LBB0_3 ; %bb.1: ldr x0, [x19, #8] lsl w1, w8, #4 bl _realloc cbz x0, LBB0_6 ; %bb.2: ldr w8, [x19] lsl w8, w8, #1 str w8, [x19] str x0, [x19, #8] LBB0_3: ldr x8, [x19, #16] ldr w0, [x8] bl _do_cache_alloc cbz x0, LBB0_5 ; %bb.4: ldr x8, [x19, #8] str x0, [x8, w20, sxtw #3] b LBB0_8 LBB0_5: bl _STATS_LOCK Lloh0: adrp x8, _stats@GOTPAGE Lloh1: ldr x8, [x8, _stats@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] bl _STATS_UNLOCK Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _out_of_memory b LBB0_7 LBB0_6: bl _STATS_LOCK Lloh4: adrp x8, _stats@GOTPAGE Lloh5: ldr x8, [x8, _stats@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] bl _STATS_UNLOCK LBB0_7: mov x0, #0 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _stats,4,2 ; @stats .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SERVER_ERROR out of memory making CAS suffix" .no_dead_strip __ascii_get_suffix_buf .subsections_via_symbols
AnghaBench/memcached/extr_memcached.c__ascii_get_suffix_buf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wildfire_cpuid_to_nid ## -- Begin function wildfire_cpuid_to_nid .p2align 4, 0x90 _wildfire_cpuid_to_nid: ## @wildfire_cpuid_to_nid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax sarl $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 _wildfire_cpuid_to_nid ; -- Begin function wildfire_cpuid_to_nid .p2align 2 _wildfire_cpuid_to_nid: ; @wildfire_cpuid_to_nid .cfi_startproc ; %bb.0: asr w0, w0, #2 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/alpha/kernel/extr_core_wildfire.c_wildfire_cpuid_to_nid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pres_frc _pres_frc: ## @pres_frc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero roundsd $9, %xmm0, %xmm1 subsd %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_2723 ## @g_aug_volatile_2723 .p2align 2, 0x0 _g_aug_volatile_2723: .long 9 ## 0x9 .no_dead_strip _pres_frc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pres_frc _pres_frc: ; @pres_frc .cfi_startproc ; %bb.0: ldr d0, [x0] frintm d1, d0 fsub d0, d0, d1 ret .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_2723 ; @g_aug_volatile_2723 .p2align 2, 0x0 _g_aug_volatile_2723: .long 9 ; 0x9 .no_dead_strip _pres_frc .subsections_via_symbols
assembly_file_91995.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function ff_mjpeg_decode_sos LCPI0_0: .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .section __TEXT,__literal4,4byte_literals LCPI0_1: .space 4,4 .section __TEXT,__text,regular,pure_instructions .globl _ff_mjpeg_decode_sos .p2align 4, 0x90 _ff_mjpeg_decode_sos: ## @ff_mjpeg_decode_sos .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $120, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx cmpl $0, 256(%rdi) je LBB0_10 ## %bb.1: movq 200(%rbx), %r15 testq %rcx, %rcx je LBB0_5 ## %bb.2: movq (%rcx), %rdi movq 160(%rbx), %rax cmpq (%rax), %rdi jne LBB0_11 ## %bb.3: movq 8(%rcx), %rdi cmpq 8(%rax), %rdi jne LBB0_11 ## %bb.4: movq 16(%rcx), %rdi cmpq 16(%rax), %rdi jne LBB0_11 LBB0_5: movq %rsi, -152(%rbp) ## 8-byte Spill movl %edx, -108(%rbp) ## 4-byte Spill movq %rcx, -144(%rbp) ## 8-byte Spill leaq 136(%rbx), %r12 movq %r12, %rdi movl $16, %esi callq _get_bits movl %eax, %r14d movq %r12, %rdi movl $8, %esi callq _get_bits movl %eax, %edx testl %eax, %eax je LBB0_14 ## %bb.6: movq _MAX_COMPONENTS@GOTPCREL(%rip), %rax cmpl (%rax), %edx jg LBB0_14 ## %bb.7: movl $6, %ecx subl %edx, %ecx subl %edx, %ecx cmpl %ecx, %r14d jne LBB0_33 ## %bb.8: movq %r15, -88(%rbp) ## 8-byte Spill movq %rdx, -96(%rbp) ## 8-byte Spill testl %edx, %edx js LBB0_35 ## %bb.9: movq -96(%rbp), %rax ## 8-byte Reload leal 1(%rax), %ecx movq %rcx, -64(%rbp) ## 8-byte Spill movl $3, -72(%rbp) ## 4-byte Folded Spill ## kill: def $eax killed $eax killed $rax orl $2, %eax movl %eax, -48(%rbp) ## 4-byte Spill xorl %r15d, %r15d jmp LBB0_19 LBB0_10: movq 128(%rbx), %rdi movq _AV_LOG_WARNING@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx xorl %eax, %eax callq _av_log movl $-1, %r15d jmp LBB0_16 LBB0_11: movq 128(%rbx), %rdi movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdx LBB0_12: xorl %eax, %eax callq _av_log LBB0_13: movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax jmp LBB0_15 LBB0_14: movq 128(%rbx), %rdi leaq L_.str.2(%rip), %rsi ## kill: def $edx killed $edx killed $rdx callq _avpriv_report_missing_feature movq _AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax LBB0_15: movl (%rax), %r15d LBB0_16: movl %r15d, %eax addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_17: ## in Loop: Header=BB0_19 Depth=1 movq 8(%rsi), %rcx movl %eax, %eax cmpl $0, (%rcx,%rax,4) je LBB0_32 LBB0_18: ## in Loop: Header=BB0_19 Depth=1 incq %r15 decl -72(%rbp) ## 4-byte Folded Spill cmpq %r15, -64(%rbp) ## 8-byte Folded Reload je LBB0_35 LBB0_19: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl $8, %esi callq _get_bits ## kill: def $eax killed $eax def $rax leal -1(%rax), %ecx movq 128(%rbx), %rdi movq _AV_LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.4(%rip), %rdx xorl %eax, %eax callq _av_log movl (%rbx), %ecx movl $0, %r13d movq 128(%rbx), %rdi testl %ecx, %ecx cmovgl %ecx, %r13d jns LBB0_44 ## %bb.20: ## in Loop: Header=BB0_19 Depth=1 movq %r12, %r14 movq (%rdi), %r12 movl $77, %edi movl $84, %esi movl $83, %edx movl $74, %ecx callq _MKTAG cmpl $3, -96(%rbp) ## 4-byte Folded Reload jne LBB0_23 ## %bb.21: ## in Loop: Header=BB0_19 Depth=1 cmpq %rax, %r12 jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_19 Depth=1 cmpl $3, (%rbx) movl %r13d, %eax cmovel -72(%rbp), %eax ## 4-byte Folded Reload testq %r15, %r15 cmovnel %eax, %r13d LBB0_23: ## in Loop: Header=BB0_19 Depth=1 movq %r14, %r12 movslq %r13d, %rax movq 240(%rbx), %rcx movq 248(%rbx), %rdx movl (%rcx,%rax,4), %ecx movl %ecx, (%rdx,%r15,4) movq 16(%rbx), %rcx movq 24(%rbx), %rdx movq 32(%rbx), %rsi movl (%rsi,%rax,4), %edi imull (%rdx,%rax,4), %edi movl %edi, (%rcx,%r15,4) movl (%rdx,%rax,4), %ecx movq 40(%rbx), %rdx movl %ecx, (%rdx,%r15,4) movl (%rsi,%rax,4), %eax movq 48(%rbx), %rcx movl %eax, (%rcx,%r15,4) cmpl $3, -48(%rbp) ## 4-byte Folded Reload jne LBB0_27 ## %bb.24: ## in Loop: Header=BB0_19 Depth=1 cmpl $3, (%rbx) jne LBB0_27 ## %bb.25: ## in Loop: Header=BB0_19 Depth=1 movq 128(%rbx), %rax movq 8(%rax), %rax movq _AV_PIX_FMT_GBR24P@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_27 ## %bb.26: ## in Loop: Header=BB0_19 Depth=1 addl $2, %r13d movslq %r13d, %r13 imulq $1431655766, %r13, %rax ## imm = 0x55555556 movq %rax, %rcx shrq $63, %rcx shrq $32, %rax addl %ecx, %eax leal (%rax,%rax,2), %eax subl %eax, %r13d .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_19 Depth=1 movq 56(%rbx), %rax movl %r13d, (%rax,%r15,4) movq %r12, %rdi movl $4, %esi callq _get_bits movq 64(%rbx), %rcx movl %eax, (%rcx,%r15,4) movq %r12, %rdi movl $4, %esi callq _get_bits movq 72(%rbx), %rcx movl %eax, (%rcx,%r15,4) movq 64(%rbx), %rdx movslq (%rdx,%r15,4), %rdx testq %rdx, %rdx js LBB0_32 ## %bb.28: ## in Loop: Header=BB0_19 Depth=1 movl %edx, %esi orl %eax, %esi cmpl $3, %esi ja LBB0_32 ## %bb.29: ## in Loop: Header=BB0_19 Depth=1 movq 232(%rbx), %rsi movq (%rsi), %rdi cmpl $0, (%rdi,%rdx,4) je LBB0_32 ## %bb.30: ## in Loop: Header=BB0_19 Depth=1 cmpq $0, 168(%rbx) je LBB0_17 ## %bb.31: ## in Loop: Header=BB0_19 Depth=1 movq 16(%rsi), %rax movslq (%rcx), %rcx cmpl $0, (%rax,%rcx,4) jne LBB0_18 LBB0_32: movq 128(%rbx), %rdi movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.15(%rip), %rdx jmp LBB0_12 LBB0_33: movq 128(%rbx), %rdi movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.3(%rip), %rdx movl %r14d, %ecx LBB0_34: xorl %eax, %eax callq _av_log jmp LBB0_13 LBB0_35: movq %r12, %rdi movl $8, %esi callq _get_bits movl %eax, %r13d movq %r12, %rdi movl $8, %esi callq _get_bits ## kill: def $eax killed $eax def $rax movq %rax, -104(%rbp) ## 8-byte Spill movq 128(%rbx), %rax movq (%rax), %r14 leaq L_.str.6(%rip), %rdi callq _AV_RL32 movq $0, -48(%rbp) ## 8-byte Folded Spill movl $0, -52(%rbp) ## 4-byte Folded Spill cmpq %rax, %r14 je LBB0_37 ## %bb.36: movq %r12, %rdi movl $4, %esi callq _get_bits movl %eax, -52(%rbp) ## 4-byte Spill movq %r12, %rdi movl $4, %esi callq _get_bits ## kill: def $eax killed $eax def $rax movq %rax, -48(%rbp) ## 8-byte Spill LBB0_37: movq -96(%rbp), %r15 ## 8-byte Reload cmpl $2, %r15d jl LBB0_39 ## %bb.38: xorl %eax, %eax cmpq $0, -88(%rbp) ## 8-byte Folded Reload movl 88(%rbx), %esi sete %al leal (%rax,%rax,2), %ecx shll %cl, %esi movl 84(%rbx), %eax addl %esi, %eax decl %eax cltd idivl %esi movl %eax, 80(%rbx) movl 100(%rbx), %esi ## kill: def $cl killed $cl killed $ecx shll %cl, %esi movl 96(%rbx), %eax addl %esi, %eax decl %eax cltd idivl %esi movl %eax, 92(%rbx) jmp LBB0_41 LBB0_39: cmpq $0, 192(%rbx) jne LBB0_41 ## %bb.40: movl 88(%rbx), %eax movq 16(%rbx), %r8 movq 40(%rbx), %r9 cltd idivl (%r9) movl %eax, %edi movl 100(%rbx), %eax movq 48(%rbx), %r10 cltd idivl (%r10) movl %eax, %esi xorl %eax, %eax cmpq $0, -88(%rbp) ## 8-byte Folded Reload movl 84(%rbx), %edx sete %al leal (%rax,%rax,2), %ecx shll %cl, %edi leal (%rdi,%rdx), %eax decl %eax cltd idivl %edi movl %eax, 80(%rbx) movl 96(%rbx), %eax ## kill: def $cl killed $cl killed $ecx shll %cl, %esi addl %esi, %eax decl %eax cltd idivl %esi movl %eax, 92(%rbx) movl $1, (%r8) movl $1, (%r9) movl $1, (%r10) LBB0_41: movq 128(%rbx), %rdi movq _FF_DEBUG_PICT_INFO@GOTPCREL(%rip), %rax movl (%rax), %eax orl 16(%rdi), %eax je LBB0_47 ## %bb.42: movq _AV_LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi cmpq $0, 200(%rbx) leaq L_.str.9(%rip), %rax leaq L_.str.8(%rip), %rcx cmoveq %rax, %rcx cmpq $0, 184(%rbx) leaq L_.str.11(%rip), %rax leaq L_.str.10(%rip), %r8 cmoveq %rax, %r8 movl 104(%rbx), %r10d movl 108(%rbx), %r11d cmpq $0, 224(%rbx) je LBB0_45 ## %bb.43: leaq L_.str.12(%rip), %r14 jmp LBB0_46 LBB0_44: movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.5(%rip), %rdx jmp LBB0_34 LBB0_45: cmpq $0, 216(%rbx) leaq L_.str.13(%rip), %r14 cmoveq %rax, %r14 LBB0_46: leaq L_.str.7(%rip), %rdx movl %r13d, %r9d xorl %eax, %eax pushq %r15 pushq %r14 pushq %r11 pushq %r10 pushq -104(%rbp) ## 8-byte Folded Reload pushq -48(%rbp) ## 8-byte Folded Reload callq _av_log addq $48, %rsp LBB0_47: movl %r13d, -64(%rbp) ## 4-byte Spill movl 108(%rbx), %r14d testl %r14d, %r14d jle LBB0_50 ## %bb.48: incl %r14d .p2align 4, 0x90 LBB0_49: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl $8, %esi callq _skip_bits decl %r14d cmpl $1, %r14d ja LBB0_49 LBB0_50: leaq 108(%rbx), %rax movq %rax, -88(%rbp) ## 8-byte Spill leaq 104(%rbx), %r14 movl %r15d, %r13d leaq (,%r13,4), %rax movq %rax, -136(%rbp) ## 8-byte Spill movl %r13d, %eax andl $2147483640, %eax ## imm = 0x7FFFFFF8 movq %rax, -128(%rbp) ## 8-byte Spill movl %r13d, %eax andl $3, %eax movq %rax, -72(%rbp) ## 8-byte Spill movl %r15d, %eax shrl $3, %eax andl $268435455, %eax ## imm = 0xFFFFFFF shlq $5, %rax movq %rax, -120(%rbp) ## 8-byte Spill testl %r15d, %r15d jle LBB0_64 LBB0_51: movq 112(%rbx), %rax cmpl $8, %r15d jb LBB0_52 ## %bb.53: cmpq -88(%rbp), %rax ## 8-byte Folded Reload jae LBB0_56 ## %bb.54: movq -136(%rbp), %rcx ## 8-byte Reload addq %rax, %rcx cmpq %rcx, %r14 jae LBB0_56 LBB0_52: xorl %esi, %esi LBB0_59: movq %rsi, %rdx cmpq $0, -72(%rbp) ## 8-byte Folded Reload je LBB0_62 ## %bb.60: movq -72(%rbp), %rdi ## 8-byte Reload movq %rsi, %rdx .p2align 4, 0x90 LBB0_61: ## =>This Inner Loop Header: Depth=1 movzbl (%r14), %ecx movl $4, %r8d shll %cl, %r8d movl %r8d, (%rax,%rdx,4) incq %rdx decq %rdi jne LBB0_61 LBB0_62: subq %r13, %rsi cmpq $-4, %rsi ja LBB0_64 .p2align 4, 0x90 LBB0_63: ## =>This Inner Loop Header: Depth=1 movzbl (%r14), %ecx movl $4, %esi shll %cl, %esi movl %esi, (%rax,%rdx,4) movzbl (%r14), %ecx movl $4, %esi shll %cl, %esi movl %esi, 4(%rax,%rdx,4) movzbl (%r14), %ecx movl $4, %esi shll %cl, %esi movl %esi, 8(%rax,%rdx,4) movzbl (%r14), %ecx movl $4, %esi shll %cl, %esi movl %esi, 12(%rax,%rdx,4) addq $4, %rdx cmpq %rdx, %r13 jne LBB0_63 jmp LBB0_64 LBB0_56: movd (%r14), %xmm1 ## xmm1 = mem[0],zero,zero,zero pmovsxbd LCPI0_1(%rip), %xmm0 ## xmm0 = [4,4,4,4] pslld %xmm1, %xmm0 xorl %ecx, %ecx movq -120(%rbp), %rdx ## 8-byte Reload .p2align 4, 0x90 LBB0_57: ## =>This Inner Loop Header: Depth=1 movdqu %xmm0, (%rax,%rcx) movdqu %xmm0, 16(%rax,%rcx) addq $32, %rcx cmpq %rcx, %rdx jne LBB0_57 ## %bb.58: movq -128(%rbp), %rcx ## 8-byte Reload movq %rcx, %rsi cmpl %r13d, %ecx jne LBB0_59 .p2align 4, 0x90 LBB0_64: ## =>This Inner Loop Header: Depth=1 movq 128(%rbx), %rax cmpq $0, 24(%rax) je LBB0_67 ## %bb.65: ## in Loop: Header=BB0_64 Depth=1 movq %r12, %rdi callq _get_bits_count ## kill: def $eax killed $eax def $rax leal 7(%rax), %r15d testl %eax, %eax cmovnsl %eax, %r15d sarl $3, %r15d cmpl $-7, %eax jl LBB0_71 ## %bb.66: ## in Loop: Header=BB0_64 Depth=1 cmpl %r15d, 120(%rbx) setge %al jmp LBB0_72 LBB0_67: ## in Loop: Header=BB0_64 Depth=1 cmpq $0, 200(%rbx) je LBB0_81 ## %bb.68: ## in Loop: Header=BB0_64 Depth=1 movq 160(%rbx), %rax xorl %edi, %edi cmpq 152(%rbx), %rax sete %dil callq _av_assert0 movq _CONFIG_JPEGLS_DECODER@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_78 ## %bb.69: ## in Loop: Header=BB0_64 Depth=1 cmpq $0, 192(%rbx) je LBB0_78 ## %bb.70: ## in Loop: Header=BB0_64 Depth=1 movq %rbx, %rdi movl -64(%rbp), %esi ## 4-byte Reload movq -48(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx movq -104(%rbp), %rcx ## 8-byte Reload ## kill: def $ecx killed $ecx killed $rcx callq _ff_jpegls_decode_picture testl %eax, %eax jns LBB0_73 jmp LBB0_87 LBB0_71: ## in Loop: Header=BB0_64 Depth=1 xorl %eax, %eax LBB0_72: ## in Loop: Header=BB0_64 Depth=1 movzbl %al, %edi callq _av_assert0 movq 128(%rbx), %rdi movq 24(%rdi), %rax movslq %r15d, %rcx movq 208(%rbx), %rsi addq %rcx, %rsi movl 120(%rbx), %edx subl %ecx, %edx callq *(%rax) testl %eax, %eax js LBB0_87 LBB0_73: ## in Loop: Header=BB0_64 Depth=1 cmpq $0, 144(%rbx) je LBB0_86 ## %bb.74: ## in Loop: Header=BB0_64 Depth=1 movq %r12, %rdi callq _get_bits_left cmpl $33, %eax jl LBB0_86 ## %bb.75: ## in Loop: Header=BB0_64 Depth=1 movq %r12, %rdi movl $8, %esi callq _show_bits cmpl $255, %eax jne LBB0_86 ## %bb.76: ## in Loop: Header=BB0_64 Depth=1 movl (%r12), %eax movl %eax, -76(%rbp) leaq -76(%rbp), %r15 movq %r15, %rdi callq _align_get_bits movq %r15, %rdi movl $16, %esi callq _show_bits cmpl $65489, %eax ## imm = 0xFFD1 jne LBB0_86 ## %bb.77: ## in Loop: Header=BB0_64 Depth=1 movq 128(%rbx), %rdi movq _AV_LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.14(%rip), %rdx xorl %eax, %eax callq _av_log movl -76(%rbp), %eax movl %eax, 136(%rbx) movq %r12, %rdi movl $16, %esi callq _skip_bits xorb $1, 124(%rbx) movq -96(%rbp), %r15 ## 8-byte Reload testl %r15d, %r15d jg LBB0_51 jmp LBB0_64 LBB0_78: ## in Loop: Header=BB0_64 Depth=1 cmpq $0, 184(%rbx) jne LBB0_80 ## %bb.79: ## in Loop: Header=BB0_64 Depth=1 cmpq $0, 176(%rbx) je LBB0_84 LBB0_80: ## in Loop: Header=BB0_64 Depth=1 movq %rbx, %rdi movl %r15d, %esi movl -64(%rbp), %edx ## 4-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload ## kill: def $ecx killed $ecx killed $rcx callq _ljpeg_decode_rgb_scan testl %eax, %eax jns LBB0_73 jmp LBB0_87 LBB0_81: ## in Loop: Header=BB0_64 Depth=1 movl -64(%rbp), %edx ## 4-byte Reload testl %edx, %edx setne %al cmpq $0, 168(%rbx) setne %cl andb %al, %cl cmpb $1, %cl jne LBB0_83 ## %bb.82: ## in Loop: Header=BB0_64 Depth=1 movq 160(%rbx), %rax xorl %edi, %edi cmpq 152(%rbx), %rax sete %dil movl %edx, %r15d callq _av_assert0 movq %rbx, %rdi movl %r15d, %esi movq -104(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx movl -52(%rbp), %ecx ## 4-byte Reload movq -48(%rbp), %r8 ## 8-byte Reload ## kill: def $r8d killed $r8d killed $r8 callq _mjpeg_decode_scan_progressive_ac testl %eax, %eax jns LBB0_73 jmp LBB0_87 LBB0_83: ## in Loop: Header=BB0_64 Depth=1 subq $8, %rsp movq %rbx, %rdi movl %r15d, %esi movl -52(%rbp), %edx ## 4-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload ## kill: def $ecx killed $ecx killed $rcx movq -152(%rbp), %r8 ## 8-byte Reload movl -108(%rbp), %r9d ## 4-byte Reload pushq -144(%rbp) ## 8-byte Folded Reload callq _mjpeg_decode_scan addq $16, %rsp testl %eax, %eax jns LBB0_73 jmp LBB0_87 LBB0_84: ## in Loop: Header=BB0_64 Depth=1 movq %rbx, %rdi movl -64(%rbp), %esi ## 4-byte Reload movq -48(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx movl %r15d, %ecx callq _ljpeg_decode_yuv_scan testl %eax, %eax jns LBB0_73 LBB0_87: movl %eax, %r15d jmp LBB0_16 LBB0_86: xorl %r15d, %r15d xorl %eax, %eax callq _emms_c jmp LBB0_16 .cfi_endproc ## -- End function .comm _AV_LOG_WARNING,4,2 ## @AV_LOG_WARNING .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Can not process SOS before SOF, skipping\n" .comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR L_.str.1: ## @.str.1 .asciz "Reference mismatching\n" .comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA .comm _MAX_COMPONENTS,4,2 ## @MAX_COMPONENTS L_.str.2: ## @.str.2 .asciz "decode_sos: nb_components (%d)" .comm _AVERROR_PATCHWELCOME,4,2 ## @AVERROR_PATCHWELCOME L_.str.3: ## @.str.3 .asciz "decode_sos: invalid len (%d)\n" .comm _AV_LOG_DEBUG,4,2 ## @AV_LOG_DEBUG L_.str.4: ## @.str.4 .asciz "component: %d\n" L_.str.5: ## @.str.5 .asciz "decode_sos: index(%d) out of components\n" .comm _AV_PIX_FMT_GBR24P,8,3 ## @AV_PIX_FMT_GBR24P L_.str.6: ## @.str.6 .asciz "CJPG" .comm _FF_DEBUG_PICT_INFO,4,2 ## @FF_DEBUG_PICT_INFO L_.str.7: ## @.str.7 .asciz "%s %s p:%d >>:%d ilv:%d bits:%d skip:%d %s comp:%d\n" L_.str.8: ## @.str.8 .asciz "lossless" L_.str.9: ## @.str.9 .asciz "sequential DCT" L_.str.10: ## @.str.10 .asciz "RGB" L_.str.11: ## @.str.11 .space 1 L_.str.12: ## @.str.12 .asciz "PRCT" L_.str.13: ## @.str.13 .asciz "RCT" .comm _CONFIG_JPEGLS_DECODER,8,3 ## @CONFIG_JPEGLS_DECODER L_.str.14: ## @.str.14 .asciz "AVRn interlaced picture marker found\n" L_.str.15: ## @.str.15 .asciz "decode_sos: ac/dc index out of range\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_mjpeg_decode_sos ; -- Begin function ff_mjpeg_decode_sos .p2align 2 _ff_mjpeg_decode_sos: ; @ff_mjpeg_decode_sos .cfi_startproc ; %bb.0: sub sp, sp, #224 stp x28, x27, [sp, #128] ; 16-byte Folded Spill stp x26, x25, [sp, #144] ; 16-byte Folded Spill stp x24, x23, [sp, #160] ; 16-byte Folded Spill stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .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, x0 ldr w8, [x0, #256] cbz w8, LBB0_10 ; %bb.1: ldr x28, [x19, #200] cbz x3, LBB0_5 ; %bb.2: ldr x9, [x3] ldr x8, [x19, #160] ldr x10, [x8] cmp x9, x10 b.ne LBB0_11 ; %bb.3: ldr x9, [x3, #8] ldr x10, [x8, #8] cmp x9, x10 b.ne LBB0_11 ; %bb.4: ldr x9, [x3, #16] ldr x8, [x8, #16] cmp x9, x8 b.ne LBB0_11 LBB0_5: str x1, [sp, #104] ; 8-byte Folded Spill stur w2, [x29, #-88] ; 4-byte Folded Spill stur x3, [x29, #-96] ; 8-byte Folded Spill add x0, x19, #136 mov w1, #16 ; =0x10 bl _get_bits mov x24, x0 add x0, x19, #136 mov w1, #8 ; =0x8 bl _get_bits mov x23, x0 cbz w0, LBB0_13 ; %bb.6: Lloh0: adrp x8, _MAX_COMPONENTS@GOTPAGE Lloh1: ldr x8, [x8, _MAX_COMPONENTS@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w23, w8 b.gt LBB0_13 ; %bb.7: mov w8, #6 ; =0x6 sub w8, w8, w23, lsl #1 cmp w24, w8 b.ne LBB0_32 ; %bb.8: Lloh3: adrp x26, _AV_LOG_DEBUG@GOTPAGE Lloh4: ldr x26, [x26, _AV_LOG_DEBUG@GOTPAGEOFF] tbnz w23, #31, LBB0_33 ; %bb.9: mov x20, #0 ; =0x0 add w8, w23, #1 ubfiz x25, x8, #2, #32 mov w27, #3 ; =0x3 Lloh5: adrp x24, l_.str.4@PAGE Lloh6: add x24, x24, l_.str.4@PAGEOFF b LBB0_18 LBB0_10: ldr x0, [x19, #128] Lloh7: adrp x8, _AV_LOG_WARNING@GOTPAGE Lloh8: ldr x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF] Lloh9: ldr w1, [x8] Lloh10: adrp x2, l_.str@PAGE Lloh11: add x2, x2, l_.str@PAGEOFF bl _av_log mov w0, #-1 ; =0xffffffff b LBB0_15 LBB0_11: ldr x0, [x19, #128] Lloh12: adrp x8, _AV_LOG_ERROR@GOTPAGE Lloh13: ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x2, l_.str.1@PAGE Lloh16: add x2, x2, l_.str.1@PAGEOFF LBB0_12: bl _av_log Lloh17: adrp x8, _AVERROR_INVALIDDATA@GOTPAGE Lloh18: ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF] b LBB0_14 LBB0_13: ldr x0, [x19, #128] Lloh19: adrp x1, l_.str.2@PAGE Lloh20: add x1, x1, l_.str.2@PAGEOFF mov x2, x23 bl _avpriv_report_missing_feature Lloh21: adrp x8, _AVERROR_PATCHWELCOME@GOTPAGE Lloh22: ldr x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF] LBB0_14: ldr w0, [x8] LBB0_15: ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload ldp x24, x23, [sp, #160] ; 16-byte Folded Reload ldp x26, x25, [sp, #144] ; 16-byte Folded Reload ldp x28, x27, [sp, #128] ; 16-byte Folded Reload add sp, sp, #224 ret LBB0_16: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [x9, #8] ldr w8, [x8, w0, uxtw #2] cbz w8, LBB0_31 LBB0_17: ; in Loop: Header=BB0_18 Depth=1 sub w27, w27, #1 add x20, x20, #4 cmp x25, x20 b.eq LBB0_33 LBB0_18: ; =>This Inner Loop Header: Depth=1 add x0, x19, #136 mov w1, #8 ; =0x8 bl _get_bits sub w8, w0, #1 ldr x0, [x19, #128] ldr w1, [x26] str x8, [sp] mov x2, x24 bl _av_log ldr w8, [x19] ldr x0, [x19, #128] tbz w8, #31, LBB0_43 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 bic w21, w8, w8, asr #31 ldr x22, [x0] mov w0, #77 ; =0x4d mov w1, #84 ; =0x54 mov w2, #83 ; =0x53 mov w3, #74 ; =0x4a bl _MKTAG cmp w23, #3 b.ne LBB0_22 ; %bb.20: ; in Loop: Header=BB0_18 Depth=1 cmp x22, x0 b.ne LBB0_22 ; %bb.21: ; in Loop: Header=BB0_18 Depth=1 ldr w8, [x19] cmp w8, #3 ccmp x20, #0, #4, eq csel w21, w27, w21, ne LBB0_22: ; in Loop: Header=BB0_18 Depth=1 ldp x8, x9, [x19, #240] ldr w8, [x8, w21, sxtw #2] str w8, [x9, x20] ldp x9, x8, [x19, #16] ldr w10, [x8, w21, sxtw #2] ldp x11, x12, [x19, #32] ldr w13, [x11, w21, sxtw #2] mul w10, w13, w10 str w10, [x9, x20] ldr w8, [x8, w21, sxtw #2] str w8, [x12, x20] ldr w8, [x11, w21, sxtw #2] ldr x9, [x19, #48] str w8, [x9, x20] orr w8, w23, #0x2 cmp w8, #3 b.ne LBB0_26 ; %bb.23: ; in Loop: Header=BB0_18 Depth=1 ldr w8, [x19] cmp w8, #3 b.ne LBB0_26 ; %bb.24: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [x19, #128] ldr x8, [x8, #8] Lloh23: adrp x9, _AV_PIX_FMT_GBR24P@GOTPAGE Lloh24: ldr x9, [x9, _AV_PIX_FMT_GBR24P@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x8, x9 b.ne LBB0_26 ; %bb.25: ; in Loop: Header=BB0_18 Depth=1 add w8, w21, #2 mov w9, #21846 ; =0x5556 movk w9, #21845, lsl #16 smull x9, w8, w9 lsr x10, x9, #63 lsr x9, x9, #32 add w9, w9, w10 add w9, w9, w9, lsl #1 sub w21, w8, w9 LBB0_26: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [x19, #56] str w21, [x8, x20] add x0, x19, #136 mov w1, #4 ; =0x4 bl _get_bits ldr x8, [x19, #64] str w0, [x8, x20] add x0, x19, #136 mov w1, #4 ; =0x4 bl _get_bits ldp x9, x8, [x19, #64] str w0, [x8, x20] ldr w10, [x9, x20] tbnz w10, #31, LBB0_31 ; %bb.27: ; in Loop: Header=BB0_18 Depth=1 orr w9, w10, w0 cmp w9, #3 b.hi LBB0_31 ; %bb.28: ; in Loop: Header=BB0_18 Depth=1 ldr x9, [x19, #232] ldr x11, [x9] ldr w10, [x11, x10, lsl #2] cbz w10, LBB0_31 ; %bb.29: ; in Loop: Header=BB0_18 Depth=1 ldr x10, [x19, #168] cbz x10, LBB0_16 ; %bb.30: ; in Loop: Header=BB0_18 Depth=1 ldr x9, [x9, #16] ldrsw x8, [x8] ldr w8, [x9, x8, lsl #2] cbnz w8, LBB0_17 LBB0_31: ldr x0, [x19, #128] Lloh26: adrp x8, _AV_LOG_ERROR@GOTPAGE Lloh27: ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF] Lloh28: ldr w1, [x8] Lloh29: adrp x2, l_.str.15@PAGE Lloh30: add x2, x2, l_.str.15@PAGEOFF b LBB0_12 LBB0_32: ldr x0, [x19, #128] Lloh31: adrp x8, _AV_LOG_ERROR@GOTPAGE Lloh32: ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF] Lloh33: ldr w1, [x8] str x24, [sp] Lloh34: adrp x2, l_.str.3@PAGE Lloh35: add x2, x2, l_.str.3@PAGEOFF b LBB0_12 LBB0_33: add x0, x19, #136 mov w1, #8 ; =0x8 bl _get_bits mov x22, x0 add x0, x19, #136 mov w1, #8 ; =0x8 bl _get_bits ; kill: def $w0 killed $w0 def $x0 str x0, [sp, #80] ; 8-byte Folded Spill ldr x8, [x19, #128] ldr x20, [x8] Lloh36: adrp x0, l_.str.6@PAGE Lloh37: add x0, x0, l_.str.6@PAGEOFF bl _AV_RL32 cmp x20, x0 b.ne LBB0_35 ; %bb.34: str xzr, [sp, #96] ; 8-byte Folded Spill str wzr, [sp, #76] ; 4-byte Folded Spill b LBB0_36 LBB0_35: add x0, x19, #136 mov w1, #4 ; =0x4 bl _get_bits str w0, [sp, #76] ; 4-byte Folded Spill add x0, x19, #136 mov w1, #4 ; =0x4 bl _get_bits ; kill: def $w0 killed $w0 def $x0 str x0, [sp, #96] ; 8-byte Folded Spill LBB0_36: cmp w23, #2 b.lt LBB0_38 ; %bb.37: ldp w8, w9, [x19, #84] cmp x28, #0 mov w10, #3 ; =0x3 csel w10, w10, wzr, eq lsl w9, w9, w10 add w8, w8, w9 sub w8, w8, #1 sdiv w8, w8, w9 str w8, [x19, #80] ldp w8, w9, [x19, #96] lsl w9, w9, w10 add w8, w8, w9 sub w8, w8, #1 sdiv w8, w8, w9 str w8, [x19, #92] b LBB0_40 LBB0_38: ldr x8, [x19, #192] cbnz x8, LBB0_40 ; %bb.39: ldp x8, x9, [x19, #40] ldr w10, [x8] ldp w12, w11, [x19, #84] sdiv w10, w11, w10 ldr w11, [x9] ldp w14, w13, [x19, #96] sdiv w11, w13, w11 cmp x28, #0 mov w13, #3 ; =0x3 csel w13, w13, wzr, eq lsl w10, w10, w13 add w12, w10, w12 sub w12, w12, #1 sdiv w10, w12, w10 str w10, [x19, #80] lsl w10, w11, w13 add w11, w10, w14 sub w11, w11, #1 sdiv w10, w11, w10 str w10, [x19, #92] ldr x10, [x19, #16] mov w11, #1 ; =0x1 str w11, [x10] str w11, [x8] str w11, [x9] LBB0_40: ldr x0, [x19, #128] ldr w8, [x0, #16] Lloh38: adrp x9, _FF_DEBUG_PICT_INFO@GOTPAGE Lloh39: ldr x9, [x9, _FF_DEBUG_PICT_INFO@GOTPAGEOFF] Lloh40: ldr w9, [x9] orr w8, w9, w8 cbz w8, LBB0_46 ; %bb.41: ldr w1, [x26] ldr x8, [x19, #200] Lloh41: adrp x9, l_.str.8@PAGE Lloh42: add x9, x9, l_.str.8@PAGEOFF Lloh43: adrp x10, l_.str.9@PAGE Lloh44: add x10, x10, l_.str.9@PAGEOFF cmp x8, #0 csel x8, x10, x9, eq Lloh45: adrp x9, l_.str.10@PAGE Lloh46: add x9, x9, l_.str.10@PAGEOFF Lloh47: adrp x12, l_.str.11@PAGE Lloh48: add x12, x12, l_.str.11@PAGEOFF ldr x10, [x19, #184] cmp x10, #0 csel x9, x12, x9, eq ldp w10, w11, [x19, #104] ldr x13, [x19, #224] cbz x13, LBB0_44 ; %bb.42: Lloh49: adrp x12, l_.str.12@PAGE Lloh50: add x12, x12, l_.str.12@PAGEOFF b LBB0_45 LBB0_43: Lloh51: adrp x9, _AV_LOG_ERROR@GOTPAGE Lloh52: ldr x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF] Lloh53: ldr w1, [x9] str x8, [sp] Lloh54: adrp x2, l_.str.5@PAGE Lloh55: add x2, x2, l_.str.5@PAGEOFF b LBB0_12 LBB0_44: ldr x13, [x19, #216] Lloh56: adrp x14, l_.str.13@PAGE Lloh57: add x14, x14, l_.str.13@PAGEOFF cmp x13, #0 csel x12, x12, x14, eq LBB0_45: stp x12, x23, [sp, #56] stp x10, x11, [sp, #40] ldr x11, [sp, #80] ; 8-byte Folded Reload Lloh58: adrp x2, l_.str.7@PAGE Lloh59: add x2, x2, l_.str.7@PAGEOFF ldr x10, [sp, #96] ; 8-byte Folded Reload stp x10, x11, [sp, #24] stp x9, x22, [sp, #8] str x8, [sp] bl _av_log LBB0_46: mov x25, x19 ldr w8, [x25, #108]! cmp w8, #1 b.lt LBB0_49 ; %bb.47: add w20, w8, #1 LBB0_48: ; =>This Inner Loop Header: Depth=1 add x0, x19, #136 mov w1, #8 ; =0x8 bl _skip_bits sub w20, w20, #1 cmp w20, #1 b.hi LBB0_48 LBB0_49: add x24, x19, #104 mov w27, w23 mov x8, x23 ubfiz x8, x8, #2, #32 str x8, [sp, #88] ; 8-byte Folded Spill and x28, x27, #0x7ffffff0 mov w20, #4 ; =0x4 cmp w23, #1 b.lt LBB0_58 LBB0_50: ldr x8, [x19, #112] cmp w23, #16 b.lo LBB0_55 ; %bb.51: ldr x9, [sp, #88] ; 8-byte Folded Reload add x9, x8, x9 cmp x8, x25 ccmp x24, x9, #2, lo b.lo LBB0_55 ; %bb.52: ld1r.4s { v0 }, [x24] movi.4s v1, #4 ushl.4s v0, v1, v0 add x9, x8, #32 mov x10, x28 LBB0_53: ; =>This Inner Loop Header: Depth=1 stp q0, q0, [x9, #-32] stp q0, q0, [x9], #64 subs x10, x10, #16 b.ne LBB0_53 ; %bb.54: mov x9, x28 cmp x28, x27 b.ne LBB0_56 b LBB0_58 LBB0_55: mov x9, #0 ; =0x0 LBB0_56: add x8, x8, x9, lsl #2 sub x9, x27, x9 LBB0_57: ; =>This Inner Loop Header: Depth=1 ldr w10, [x24] lsl w10, w20, w10 str w10, [x8], #4 subs x9, x9, #1 b.ne LBB0_57 LBB0_58: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #128] ldr x8, [x8, #24] cbz x8, LBB0_61 ; %bb.59: ; in Loop: Header=BB0_58 Depth=1 add x0, x19, #136 bl _get_bits_count add w8, w0, #7 cmp w0, #0 csel w8, w8, w0, lt asr w21, w8, #3 cmn w0, #7 b.lt LBB0_65 ; %bb.60: ; in Loop: Header=BB0_58 Depth=1 ldr w8, [x19, #120] cmp w8, w21 cset w0, ge b LBB0_66 LBB0_61: ; in Loop: Header=BB0_58 Depth=1 ldr x8, [x19, #200] cbz x8, LBB0_75 ; %bb.62: ; in Loop: Header=BB0_58 Depth=1 ldp x9, x8, [x19, #152] cmp x8, x9 cset w0, eq bl _av_assert0 Lloh60: adrp x8, _CONFIG_JPEGLS_DECODER@GOTPAGE Lloh61: ldr x8, [x8, _CONFIG_JPEGLS_DECODER@GOTPAGEOFF] Lloh62: ldr x8, [x8] cbz x8, LBB0_72 ; %bb.63: ; in Loop: Header=BB0_58 Depth=1 ldr x8, [x19, #192] cbz x8, LBB0_72 ; %bb.64: ; in Loop: Header=BB0_58 Depth=1 mov x0, x19 mov x1, x22 ldr x2, [sp, #96] ; 8-byte Folded Reload ; kill: def $w2 killed $w2 killed $x2 ldr x3, [sp, #80] ; 8-byte Folded Reload ; kill: def $w3 killed $w3 killed $x3 bl _ff_jpegls_decode_picture tbz w0, #31, LBB0_67 b LBB0_15 LBB0_65: ; in Loop: Header=BB0_58 Depth=1 mov w0, #0 ; =0x0 LBB0_66: ; in Loop: Header=BB0_58 Depth=1 bl _av_assert0 ldr x0, [x19, #128] ldr x8, [x0, #24] ldr x8, [x8] ldr x9, [x19, #208] add x1, x9, w21, sxtw ldr w9, [x19, #120] sub w2, w9, w21 blr x8 tbnz w0, #31, LBB0_15 LBB0_67: ; in Loop: Header=BB0_58 Depth=1 ldr x8, [x19, #144] cbz x8, LBB0_80 ; %bb.68: ; in Loop: Header=BB0_58 Depth=1 add x0, x19, #136 bl _get_bits_left cmp w0, #33 b.lt LBB0_80 ; %bb.69: ; in Loop: Header=BB0_58 Depth=1 add x0, x19, #136 mov w1, #8 ; =0x8 bl _show_bits cmp w0, #255 b.ne LBB0_80 ; %bb.70: ; in Loop: Header=BB0_58 Depth=1 ldur w8, [x19, #136] stur w8, [x29, #-84] sub x0, x29, #84 bl _align_get_bits sub x0, x29, #84 mov w1, #16 ; =0x10 bl _show_bits mov w8, #65489 ; =0xffd1 cmp w0, w8 b.ne LBB0_80 ; %bb.71: ; in Loop: Header=BB0_58 Depth=1 ldr x0, [x19, #128] ldr w1, [x26] Lloh63: adrp x2, l_.str.14@PAGE Lloh64: add x2, x2, l_.str.14@PAGEOFF bl _av_log ldur w8, [x29, #-84] str w8, [x19, #136] add x0, x19, #136 mov w1, #16 ; =0x10 bl _skip_bits ldr w8, [x19, #124] eor w8, w8, #0x1 str w8, [x19, #124] cmp w23, #1 b.ge LBB0_50 b LBB0_58 LBB0_72: ; in Loop: Header=BB0_58 Depth=1 ldr x8, [x19, #184] cbnz x8, LBB0_74 ; %bb.73: ; in Loop: Header=BB0_58 Depth=1 ldr x8, [x19, #176] cbz x8, LBB0_79 LBB0_74: ; in Loop: Header=BB0_58 Depth=1 mov x0, x19 mov x1, x23 mov x2, x22 ldr x3, [sp, #96] ; 8-byte Folded Reload ; kill: def $w3 killed $w3 killed $x3 bl _ljpeg_decode_rgb_scan tbz w0, #31, LBB0_67 b LBB0_15 LBB0_75: ; in Loop: Header=BB0_58 Depth=1 ldr x8, [x19, #168] cbz x8, LBB0_78 ; %bb.76: ; in Loop: Header=BB0_58 Depth=1 cbz w22, LBB0_78 ; %bb.77: ; in Loop: Header=BB0_58 Depth=1 ldp x9, x8, [x19, #152] cmp x8, x9 cset w0, eq bl _av_assert0 mov x0, x19 mov x1, x22 ldr x2, [sp, #80] ; 8-byte Folded Reload ; kill: def $w2 killed $w2 killed $x2 ldr w3, [sp, #76] ; 4-byte Folded Reload ldr x4, [sp, #96] ; 8-byte Folded Reload ; kill: def $w4 killed $w4 killed $x4 bl _mjpeg_decode_scan_progressive_ac tbz w0, #31, LBB0_67 b LBB0_15 LBB0_78: ; in Loop: Header=BB0_58 Depth=1 mov x0, x19 mov x1, x23 ldr w2, [sp, #76] ; 4-byte Folded Reload ldp x3, x4, [sp, #96] ; 16-byte Folded Reload ; kill: def $w3 killed $w3 killed $x3 ldur w5, [x29, #-88] ; 4-byte Folded Reload ldur x6, [x29, #-96] ; 8-byte Folded Reload bl _mjpeg_decode_scan tbz w0, #31, LBB0_67 b LBB0_15 LBB0_79: ; in Loop: Header=BB0_58 Depth=1 mov x0, x19 mov x1, x22 ldr x2, [sp, #96] ; 8-byte Folded Reload ; kill: def $w2 killed $w2 killed $x2 mov x3, x23 bl _ljpeg_decode_yuv_scan tbz w0, #31, LBB0_67 b LBB0_15 LBB0_80: bl _emms_c mov w0, #0 ; =0x0 b LBB0_15 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh63, Lloh64 .cfi_endproc ; -- End function .comm _AV_LOG_WARNING,4,2 ; @AV_LOG_WARNING .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Can not process SOS before SOF, skipping\n" .comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR l_.str.1: ; @.str.1 .asciz "Reference mismatching\n" .comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA .comm _MAX_COMPONENTS,4,2 ; @MAX_COMPONENTS l_.str.2: ; @.str.2 .asciz "decode_sos: nb_components (%d)" .comm _AVERROR_PATCHWELCOME,4,2 ; @AVERROR_PATCHWELCOME l_.str.3: ; @.str.3 .asciz "decode_sos: invalid len (%d)\n" .comm _AV_LOG_DEBUG,4,2 ; @AV_LOG_DEBUG l_.str.4: ; @.str.4 .asciz "component: %d\n" l_.str.5: ; @.str.5 .asciz "decode_sos: index(%d) out of components\n" .comm _AV_PIX_FMT_GBR24P,8,3 ; @AV_PIX_FMT_GBR24P l_.str.6: ; @.str.6 .asciz "CJPG" .comm _FF_DEBUG_PICT_INFO,4,2 ; @FF_DEBUG_PICT_INFO l_.str.7: ; @.str.7 .asciz "%s %s p:%d >>:%d ilv:%d bits:%d skip:%d %s comp:%d\n" l_.str.8: ; @.str.8 .asciz "lossless" l_.str.9: ; @.str.9 .asciz "sequential DCT" l_.str.10: ; @.str.10 .asciz "RGB" l_.str.11: ; @.str.11 .space 1 l_.str.12: ; @.str.12 .asciz "PRCT" l_.str.13: ; @.str.13 .asciz "RCT" .comm _CONFIG_JPEGLS_DECODER,8,3 ; @CONFIG_JPEGLS_DECODER l_.str.14: ; @.str.14 .asciz "AVRn interlaced picture marker found\n" l_.str.15: ; @.str.15 .asciz "decode_sos: ac/dc index out of range\n" .subsections_via_symbols
assembly_file_90110.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_atoi ## -- Begin function ft_atoi .p2align 4, 0x90 _ft_atoi: ## @ft_atoi .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 jmp LBB0_1 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 incq %rax LBB0_1: ## =>This Inner Loop Header: Depth=1 movzbl (%rdi,%rax), %ecx leal -9(%rcx), %edx cmpb $5, %dl jb LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpb $43, %cl je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpb $32, %cl je LBB0_4 ## %bb.5: movb (%rdi), %r8b xorl %r9d, %r9d cmpb $45, %r8b sete %r9b xorl %ecx, %ecx cmpb $43, %r8b sete %cl leal (%r9,%rcx), %edx addl %eax, %edx movb (%rdi,%rdx), %dl leal -48(%rdx), %r10d xorl %esi, %esi cmpb $9, %r10b ja LBB0_8 ## %bb.6: addq %r9, %rcx addq %rdi, %rcx movl %eax, %eax addq %rcx, %rax incq %rax xorl %esi, %esi .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movzbl %dl, %ecx leal (%rsi,%rsi,4), %edx leal (%rcx,%rdx,2), %esi addl $-48, %esi movzbl (%rax), %edx leal -48(%rdx), %ecx incq %rax cmpb $10, %cl jb LBB0_7 LBB0_8: movl %esi, %eax negl %eax cmpb $45, %r8b cmovnel %esi, %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 _ft_atoi ; -- Begin function ft_atoi .p2align 2 _ft_atoi: ; @ft_atoi .cfi_startproc ; %bb.0: mov x9, #0 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x9, x9, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x0, x9] sub w10, w8, #9 cmp w10, #5 b.lo LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #43 b.eq LBB0_1 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 cmp w8, #32 b.eq LBB0_1 ; %bb.5: ldrb w8, [x0] cmp w8, #45 cset w12, eq cmp w8, #43 cset w13, eq cinc w10, w12, eq add w10, w10, w9 ldrb w11, [x0, w10, uxtw] sub w10, w11, #48 cmp w10, #9 b.hi LBB0_8 ; %bb.6: mov w10, #0 add x12, x13, x12 add x12, x12, x0 add x9, x12, w9, uxtw add x9, x9, #1 mov w12, #10 LBB0_7: ; =>This Inner Loop Header: Depth=1 madd w10, w10, w12, w11 sub w10, w10, #48 ldrb w11, [x9], #1 sub w13, w11, #48 cmp w13, #10 b.lo LBB0_7 b LBB0_9 LBB0_8: mov w10, #0 LBB0_9: cmp w8, #45 cneg w0, w10, eq ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/1020082.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xfrm6_tunnel_alloc_spi ## -- Begin function xfrm6_tunnel_alloc_spi .p2align 4, 0x90 _xfrm6_tunnel_alloc_spi: ## @xfrm6_tunnel_alloc_spi .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, %r15 movq _xfrm6_tunnel_spi_lock@GOTPCREL(%rip), %rdi callq _spin_lock_bh movq %r15, %rdi movq %r14, %rsi callq ___xfrm6_tunnel_spi_lookup testq %rax, %rax je LBB0_2 ## %bb.1: movq %rax, %rbx movq %rax, %rdi addq $4, %rdi callq _refcount_inc movl (%rbx), %ebx jmp LBB0_3 LBB0_2: movq %r15, %rdi movq %r14, %rsi callq ___xfrm6_tunnel_alloc_spi movl %eax, %ebx LBB0_3: movq _xfrm6_tunnel_spi_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_bh movl %ebx, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _htonl ## TAILCALL .cfi_endproc ## -- End function .comm _xfrm6_tunnel_spi_lock,4,2 ## @xfrm6_tunnel_spi_lock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xfrm6_tunnel_alloc_spi ; -- Begin function xfrm6_tunnel_alloc_spi .p2align 2 _xfrm6_tunnel_alloc_spi: ; @xfrm6_tunnel_alloc_spi .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 Lloh0: adrp x0, _xfrm6_tunnel_spi_lock@GOTPAGE Lloh1: ldr x0, [x0, _xfrm6_tunnel_spi_lock@GOTPAGEOFF] bl _spin_lock_bh mov x0, x20 mov x1, x19 bl ___xfrm6_tunnel_spi_lookup cbz x0, LBB0_2 ; %bb.1: mov x21, x0 add x0, x0, #4 bl _refcount_inc ldr w19, [x21] b LBB0_3 LBB0_2: mov x0, x20 mov x1, x19 bl ___xfrm6_tunnel_alloc_spi mov x19, x0 LBB0_3: Lloh2: adrp x0, _xfrm6_tunnel_spi_lock@GOTPAGE Lloh3: ldr x0, [x0, _xfrm6_tunnel_spi_lock@GOTPAGEOFF] bl _spin_unlock_bh 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 _htonl .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _xfrm6_tunnel_spi_lock,4,2 ; @xfrm6_tunnel_spi_lock .subsections_via_symbols
AnghaBench/linux/net/ipv6/extr_xfrm6_tunnel.c_xfrm6_tunnel_alloc_spi.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___wake_up_sync ## -- Begin function __wake_up_sync .p2align 4, 0x90 ___wake_up_sync: ## @__wake_up_sync .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %ecx, %ecx popq %rbp jmp ___wake_up_sync_key ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___wake_up_sync ; -- Begin function __wake_up_sync .p2align 2 ___wake_up_sync: ; @__wake_up_sync .cfi_startproc ; %bb.0: mov x3, #0 b ___wake_up_sync_key .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/kernel/sched/extr_wait.c___wake_up_sync.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function test__lread _test__lread: ## @test__lread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $10008, %eax ## imm = 0x2718 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _filename@GOTPCREL(%rip), %r12 movl (%r12), %edi xorl %esi, %esi callq __lcreat movq _HFILE_ERROR@GOTPCREL(%rip), %r13 movq (%r13), %r15 cmpq %r15, %rax jne LBB0_3 ## %bb.1: movl (%r12), %ebx xorl %eax, %eax callq _GetLastError movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_8 ## %bb.2: leaq L_.str(%rip), %rsi xorl %edi, %edi movl %ebx, %edx movl %eax, %ecx xorl %eax, %eax addq $10008, %rsp ## imm = 0x2718 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ok ## TAILCALL LBB0_3: movq %rax, %rbx movq _sillytext@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %r14, %rdi callq _strlen movq %rbx, %rdi movq %r14, %rsi movq %rax, %rdx callq __hwrite xorl %edi, %edi cmpq %rax, %r15 setne %dil leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _ok movq (%r13), %r14 movq %rbx, %rdi callq __lclose xorl %edi, %edi cmpq %rax, %r14 setne %dil leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _ok movl (%r12), %edi movq _OF_READ@GOTPCREL(%rip), %rax movl (%rax), %esi callq __lopen movq %rax, %rbx xorl %r14d, %r14d cmpq %rax, (%r13) setne %r14b movl (%r12), %r15d xorl %eax, %eax callq _GetLastError leaq L_.str.3(%rip), %rsi movl %r14d, %edi movl %r15d, %edx movl %eax, %ecx xorl %eax, %eax callq _ok movq _sillytext@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _strlen leaq (%rax,%rax), %rdx leaq -10048(%rbp), %rsi movq %rbx, %rdi callq __lread movq %rax, %r14 movq (%r15), %rdi callq _lstrlenA xorl %edi, %edi cmpq %r14, %rax sete %dil leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _ok movq (%r15), %rdi callq _strlen testq %rax, %rax jle LBB0_6 ## %bb.4: movl $1, %r14d leaq L_.str.5(%rip), %r15 leaq -10048(%rbp), %r12 leaq L_.str.6(%rip), %r13 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 decq %r14 movq _FILE_BEGIN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi xorl %esi, %esi callq __llseek xorl %edi, %edi testq %rax, %rax sete %dil movq %r15, %rsi xorl %eax, %eax callq _ok movq %rbx, %rdi movq %r12, %rsi movq %r14, %rdx callq __lread xorl %edi, %edi cmpq %rax, %r14 sete %dil movq %r13, %rsi xorl %eax, %eax callq _ok movq _sillytext@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _strlen cmpq %rax, %r14 jle LBB0_5 LBB0_6: movq _HFILE_ERROR@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %rbx, %rdi callq __lclose xorl %edi, %edi cmpq %rax, %r14 setne %dil leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _ok movq _filename@GOTPCREL(%rip), %rax movl (%rax), %edi callq _DeleteFileA movl %eax, %ebx xorl %eax, %eax callq _GetLastError leaq L_.str.8(%rip), %rsi movl %ebx, %edi movl %eax, %edx xorl %eax, %eax callq _ok movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_8 ## %bb.7: addq $10008, %rsp ## imm = 0x2718 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _filename,4,2 ## @filename .comm _HFILE_ERROR,8,3 ## @HFILE_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "couldn't create file \"%s\" (err=%d)\n" .comm _sillytext,8,3 ## @sillytext L_.str.1: ## @.str.1 .asciz "_hwrite complains\n" L_.str.2: ## @.str.2 .asciz "_lclose complains\n" .comm _OF_READ,4,2 ## @OF_READ L_.str.3: ## @.str.3 .asciz "couldn't open file \"%s\" again (err=%d)\n" L_.str.4: ## @.str.4 .asciz "file read size error\n" .comm _FILE_BEGIN,4,2 ## @FILE_BEGIN L_.str.5: ## @.str.5 .asciz "_llseek complains\n" L_.str.6: ## @.str.6 .asciz "erratic _hread return value\n" L_.str.8: ## @.str.8 .asciz "DeleteFile failed (%d)\n" .no_dead_strip _test__lread .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function test__lread _test__lread: ; @test__lread .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill 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 mov w9, #10032 ; =0x2730 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #2, lsl #12 ; =8192 sub sp, sp, #1840 .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 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-88] Lloh5: adrp x23, _filename@GOTPAGE Lloh6: ldr x23, [x23, _filename@GOTPAGEOFF] ldr w0, [x23] mov w1, #0 ; =0x0 bl __lcreat Lloh7: adrp x24, _HFILE_ERROR@GOTPAGE Lloh8: ldr x24, [x24, _HFILE_ERROR@GOTPAGEOFF] ldr x21, [x24] cmp x0, x21 b.ne LBB0_2 ; %bb.1: ldr w19, [x23] bl _GetLastError ; kill: def $w0 killed $w0 def $x0 stp x19, x0, [sp] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF mov w0, #0 ; =0x0 b LBB0_6 LBB0_2: Lloh11: adrp x25, _sillytext@GOTPAGE Lloh12: ldr x25, [x25, _sillytext@GOTPAGEOFF] ldr x19, [x25] mov x20, x0 mov x0, x19 bl _strlen mov x2, x0 mov x0, x20 mov x1, x19 bl __hwrite cmp x21, x0 cset w0, ne Lloh13: adrp x1, l_.str.1@PAGE Lloh14: add x1, x1, l_.str.1@PAGEOFF bl _ok ldr x19, [x24] mov x0, x20 bl __lclose cmp x19, x0 cset w0, ne Lloh15: adrp x1, l_.str.2@PAGE Lloh16: add x1, x1, l_.str.2@PAGEOFF bl _ok ldr w0, [x23] Lloh17: adrp x8, _OF_READ@GOTPAGE Lloh18: ldr x8, [x8, _OF_READ@GOTPAGEOFF] Lloh19: ldr w1, [x8] bl __lopen mov x19, x0 ldr x8, [x24] cmp x8, x0 cset w20, ne ldr w21, [x23] bl _GetLastError ; kill: def $w0 killed $w0 def $x0 stp x21, x0, [sp] Lloh20: adrp x1, l_.str.3@PAGE Lloh21: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _ok ldr x0, [x25] bl _strlen lsl x2, x0, #1 add x1, sp, #24 mov x0, x19 bl __lread mov x20, x0 ldr x0, [x25] bl _lstrlenA cmp x0, x20 cset w0, eq Lloh22: adrp x1, l_.str.4@PAGE Lloh23: add x1, x1, l_.str.4@PAGEOFF bl _ok ldr x0, [x25] bl _strlen cmp x0, #1 b.lt LBB0_5 ; %bb.3: mov w20, #1 ; =0x1 Lloh24: adrp x26, _FILE_BEGIN@GOTPAGE Lloh25: ldr x26, [x26, _FILE_BEGIN@GOTPAGEOFF] Lloh26: adrp x21, l_.str.5@PAGE Lloh27: add x21, x21, l_.str.5@PAGEOFF Lloh28: adrp x22, l_.str.6@PAGE Lloh29: add x22, x22, l_.str.6@PAGEOFF LBB0_4: ; =>This Inner Loop Header: Depth=1 sub x20, x20, #1 ldr w2, [x26] mov x0, x19 mov w1, #0 ; =0x0 bl __llseek cmp x0, #0 cset w0, eq mov x1, x21 bl _ok add x1, sp, #24 mov x0, x19 mov x2, x20 bl __lread cmp x20, x0 cset w0, eq mov x1, x22 bl _ok ldr x0, [x25] bl _strlen cmp x20, x0 b.le LBB0_4 LBB0_5: ldr x20, [x24] mov x0, x19 bl __lclose cmp x20, x0 cset w0, ne Lloh30: adrp x1, l_.str.2@PAGE Lloh31: add x1, x1, l_.str.2@PAGEOFF bl _ok ldr w0, [x23] bl _DeleteFileA mov x19, x0 bl _GetLastError ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh32: adrp x1, l_.str.8@PAGE Lloh33: add x1, x1, l_.str.8@PAGEOFF mov x0, x19 LBB0_6: bl _ok ldur x8, [x29, #-88] Lloh34: adrp x9, ___stack_chk_guard@GOTPAGE Lloh35: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh36: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: add sp, sp, #2, lsl #12 ; =8192 add sp, sp, #1840 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_8: bl ___stack_chk_fail .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _filename,4,2 ; @filename .comm _HFILE_ERROR,8,3 ; @HFILE_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "couldn't create file \"%s\" (err=%d)\n" .comm _sillytext,8,3 ; @sillytext l_.str.1: ; @.str.1 .asciz "_hwrite complains\n" l_.str.2: ; @.str.2 .asciz "_lclose complains\n" .comm _OF_READ,4,2 ; @OF_READ l_.str.3: ; @.str.3 .asciz "couldn't open file \"%s\" again (err=%d)\n" l_.str.4: ; @.str.4 .asciz "file read size error\n" .comm _FILE_BEGIN,4,2 ; @FILE_BEGIN l_.str.5: ; @.str.5 .asciz "_llseek complains\n" l_.str.6: ; @.str.6 .asciz "erratic _hread return value\n" l_.str.8: ; @.str.8 .asciz "DeleteFile failed (%d)\n" .no_dead_strip _test__lread .subsections_via_symbols
assembly_file_23695.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function kernfs_dir_next_pos _kernfs_dir_next_pos: ## @kernfs_dir_next_pos .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 _kernfs_dir_pos testq %rax, %rax je LBB0_7 ## %bb.1: addq $8, %rax movq %rax, %rdi jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 addq $8, %r14 movq %r14, %rdi LBB0_2: ## =>This Inner Loop Header: Depth=1 callq _rb_next testq %rax, %rax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rdi callq _rb_to_kn testq %rax, %rax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r14 movq %rax, %rdi callq _kernfs_active testl %eax, %eax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 cmpq %rbx, (%r14) jne LBB0_6 jmp LBB0_8 LBB0_7: xorl %r14d, %r14d LBB0_8: movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _kernfs_dir_next_pos .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function kernfs_dir_next_pos _kernfs_dir_next_pos: ; @kernfs_dir_next_pos .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _kernfs_dir_pos cbz x0, LBB0_7 ; %bb.1: add x0, x0, #8 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x0, x20, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 bl _rb_next cbz x0, LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 bl _rb_to_kn mov x20, x0 cbz x0, LBB0_8 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _kernfs_active cbz w0, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x20] cmp x8, x19 b.ne LBB0_2 b LBB0_8 LBB0_7: mov x20, #0 ; =0x0 LBB0_8: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _kernfs_dir_next_pos .subsections_via_symbols
assembly_file_153151.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function match_string_literal _match_string_literal: ## @match_string_literal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 _lexptr@GOTPCREL(%rip), %r14 movq (%r14), %rbx movq _tempbufindex@GOTPCREL(%rip), %r12 movq $0, (%r12) xorl %eax, %eax cmpb $0, 1(%rbx) je LBB0_10 ## %bb.1: leaq 1(%rbx), %r15 movq _tempbuf@GOTPCREL(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rbx LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq (%r13), %rcx movq (%r12), %rdx leaq 1(%rdx), %rsi movq %rsi, (%r12) movb %al, (%rcx,%rdx) leaq 1(%rbx), %r15 cmpb $0, 1(%rbx) je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl $1, %edi callq _CHECKBUF movzbl 1(%rbx), %eax movq (%r14), %rcx cmpb (%rcx), %al jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpb %al, (%rbx) jne LBB0_8 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movzbl 2(%rbx), %eax addq $2, %rbx jmp LBB0_6 LBB0_7: xorl %eax, %eax jmp LBB0_10 LBB0_8: movq (%r12), %rcx testb %al, %al sete %al testq %rcx, %rcx sete %dl orb %al, %dl movl $0, %eax jne LBB0_10 ## %bb.9: movq (%r13), %rax movb $0, (%rax,%rcx) movq (%r13), %rax movq _yylval@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq (%r12), %rax movq %rax, 8(%rcx) addq $2, %rbx movq %rbx, (%r14) movq _STRING_LITERAL@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _lexptr,8,3 ## @lexptr .comm _tempbufindex,8,3 ## @tempbufindex .comm _tempbuf,8,3 ## @tempbuf .comm _yylval,16,3 ## @yylval .comm _STRING_LITERAL,4,2 ## @STRING_LITERAL .no_dead_strip _match_string_literal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function match_string_literal _match_string_literal: ; @match_string_literal .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill 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 Lloh0: adrp x19, _lexptr@GOTPAGE Lloh1: ldr x19, [x19, _lexptr@GOTPAGEOFF] ldr x20, [x19] Lloh2: adrp x21, _tempbufindex@GOTPAGE Lloh3: ldr x21, [x21, _tempbufindex@GOTPAGEOFF] str xzr, [x21] mov x23, x20 ldrb w8, [x23, #1]! cbz w8, LBB0_7 ; %bb.1: Lloh4: adrp x22, _tempbuf@GOTPAGE Lloh5: ldr x22, [x22, _tempbuf@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x20, x23 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x22] ldr x10, [x21] add x11, x10, #1 str x11, [x21] strb w8, [x9, x10] ldrb w8, [x23, #1]! cbz w8, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov w0, #1 ; =0x1 bl _CHECKBUF ldrb w8, [x20, #1] ldr x9, [x19] ldrb w9, [x9] cmp w8, w9 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldrb w9, [x20] cmp w9, w8 b.ne LBB0_9 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x20, #2]! mov x23, x20 b LBB0_3 LBB0_7: mov w0, #0 ; =0x0 LBB0_8: 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_9: mov w0, #0 ; =0x0 cbz w8, LBB0_8 ; %bb.10: ldr x8, [x21] cbz x8, LBB0_8 ; %bb.11: ldr x9, [x22] strb wzr, [x9, x8] ldr x8, [x22] Lloh6: adrp x9, _yylval@GOTPAGE Lloh7: ldr x9, [x9, _yylval@GOTPAGEOFF] ldr x10, [x21] stp x8, x10, [x9] add x8, x20, #2 str x8, [x19] Lloh8: adrp x8, _STRING_LITERAL@GOTPAGE Lloh9: ldr x8, [x8, _STRING_LITERAL@GOTPAGEOFF] Lloh10: ldr w0, [x8] b LBB0_8 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _lexptr,8,3 ; @lexptr .comm _tempbufindex,8,3 ; @tempbufindex .comm _tempbuf,8,3 ; @tempbuf .comm _yylval,16,3 ; @yylval .comm _STRING_LITERAL,4,2 ; @STRING_LITERAL .no_dead_strip _match_string_literal .subsections_via_symbols
assembly_file_42545.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee802_11_update_beacons ## -- Begin function ieee802_11_update_beacons .p2align 4, 0x90 _ieee802_11_update_beacons: ## @ieee802_11_update_beacons .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movq %rdi, %r12 xorl %r14d, %r14d movl $-1, %r15d xorl %ebx, %ebx jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 incq %rbx cmpq %rax, %rbx jae LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rcx movq (%rcx,%rbx,8), %rdi cmpq $0, 8(%rdi) je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, (%rdi) je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 callq _ieee802_11_set_beacon testq %rax, %rax cmovsl %r15d, %r14d movq (%r12), %rax jmp LBB0_6 LBB0_1: xorl %r14d, %r14d LBB0_7: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee802_11_update_beacons ; -- Begin function ieee802_11_update_beacons .p2align 2 _ieee802_11_update_beacons: ; @ieee802_11_update_beacons .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, [x0] cbz x8, LBB0_6 ; %bb.1: mov x19, x0 mov w20, #0 mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 cmp x21, x8 b.hs LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x9, [x19, #8] ldr x0, [x9, x21, lsl #3] ldr x9, [x0, #8] cbz x9, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [x0] cbz x9, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 bl _ieee802_11_set_beacon cmp x0, #0 csinv w20, w20, wzr, ge ldr x8, [x19] b LBB0_2 LBB0_6: mov w20, #0 LBB0_7: mov x0, x20 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/freebsd/contrib/wpa/src/ap/extr_beacon.c_ieee802_11_update_beacons.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpc18xx_pconf_set_pin _lpc18xx_pconf_set_pin: ## @lpc18xx_pconf_set_pin .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 ## kill: def $edx killed $edx def $rdx ## kill: def $esi killed $esi def $rsi addl $-128, %esi cmpl $7, %esi ja LBB0_23 ## %bb.1: movq %rcx, %rax leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rsi,4), %rsi addq %rcx, %rsi jmpq *%rsi LBB0_9: movl (%r9), %ecx movq _TYPE_HD@GOTPCREL(%rip), %rsi cmpl (%rsi), %ecx jne LBB0_11 ## %bb.10: movl (%rdi), %edi leaq L_.str(%rip), %rsi jmp LBB0_24 LBB0_23: movl (%rdi), %edi leaq L_.str.3(%rip), %rsi jmp LBB0_24 LBB0_12: movq _LPC18XX_SCU_PIN_ZIF@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %edx, %edx jne LBB0_8 jmp LBB0_6 LBB0_4: movq _LPC18XX_SCU_PIN_EZI@GOTPCREL(%rip), %rcx jmp LBB0_5 LBB0_22: movl %edx, %esi movl %r8d, %edx addq $8, %rsp popq %rbx popq %rbp jmp _lpc18xx_pconf_set_gpio_pin_int ## TAILCALL LBB0_13: movl (%r9), %ecx movq _TYPE_HD@GOTPCREL(%rip), %rsi cmpl (%rsi), %ecx jne LBB0_14 ## %bb.15: movq _LPC18XX_SCU_PIN_EHD_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %esi notl %esi andl (%rax), %esi movl %esi, (%rax) leal -4(%rdx), %ebx movl %ebx, %ecx rorl %ecx cmpl $8, %ecx ja LBB0_21 ## %bb.16: leaq LJTI0_1(%rip), %r8 movslq (%r8,%rcx,4), %rcx addq %r8, %rcx jmpq *%rcx LBB0_17: addl $-5, %edx LBB0_18: addl $-5, %edx LBB0_19: addl $-7, %edx movl %edx, %ebx LBB0_20: movq _LPC18XX_SCU_PIN_EHD_POS@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %ebx orl %esi, %ebx movl %ebx, (%rax) xorl %ebx, %ebx jmp LBB0_26 LBB0_7: movq _LPC18XX_SCU_PIN_EPUN@GOTPCREL(%rip), %rcx movl (%rcx), %ecx jmp LBB0_8 LBB0_3: movq _LPC18XX_SCU_PIN_EPD@GOTPCREL(%rip), %rcx movl (%rcx), %ecx jmp LBB0_6 LBB0_2: movq _LPC18XX_SCU_PIN_EPD@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx andl (%rax), %ecx movl %ecx, (%rax) movq _LPC18XX_SCU_PIN_EPUN@GOTPCREL(%rip), %rdx orl (%rdx), %ecx movl %ecx, (%rax) xorl %ebx, %ebx jmp LBB0_26 LBB0_11: movq _LPC18XX_SCU_PIN_EHS@GOTPCREL(%rip), %rcx LBB0_5: movl (%rcx), %ecx testl %edx, %edx je LBB0_8 LBB0_6: orl %ecx, (%rax) xorl %ebx, %ebx jmp LBB0_26 LBB0_8: notl %ecx andl %ecx, (%rax) xorl %ebx, %ebx jmp LBB0_26 LBB0_14: movl (%rdi), %edi leaq L_.str.1(%rip), %rsi LBB0_24: xorl %ebx, %ebx xorl %eax, %eax callq _dev_err LBB0_25: movq _ENOTSUPP@GOTPCREL(%rip), %rax subl (%rax), %ebx LBB0_26: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB0_21: movl (%rdi), %edi leaq L_.str.2(%rip), %rsi xorl %ebx, %ebx ## kill: def $edx killed $edx killed $rdx xorl %eax, %eax callq _dev_err jmp LBB0_25 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 LJTI0_0: .long L0_0_set_9 .long L0_0_set_12 .long L0_0_set_4 .long L0_0_set_22 .long L0_0_set_13 .long L0_0_set_7 .long L0_0_set_3 .long L0_0_set_2 .set L0_1_set_20, LBB0_20-LJTI0_1 .set L0_1_set_21, LBB0_21-LJTI0_1 .set L0_1_set_19, LBB0_19-LJTI0_1 .set L0_1_set_18, LBB0_18-LJTI0_1 .set L0_1_set_17, LBB0_17-LJTI0_1 LJTI0_1: .long L0_1_set_20 .long L0_1_set_21 .long L0_1_set_19 .long L0_1_set_21 .long L0_1_set_21 .long L0_1_set_18 .long L0_1_set_21 .long L0_1_set_21 .long L0_1_set_17 .end_data_region ## -- End function .comm _LPC18XX_SCU_PIN_EPD,4,2 ## @LPC18XX_SCU_PIN_EPD .comm _LPC18XX_SCU_PIN_EPUN,4,2 ## @LPC18XX_SCU_PIN_EPUN .comm _LPC18XX_SCU_PIN_EZI,4,2 ## @LPC18XX_SCU_PIN_EZI .comm _TYPE_HD,4,2 ## @TYPE_HD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Slew rate unsupported on high-drive pins\n" .comm _ENOTSUPP,4,2 ## @ENOTSUPP .comm _LPC18XX_SCU_PIN_EHS,4,2 ## @LPC18XX_SCU_PIN_EHS .comm _LPC18XX_SCU_PIN_ZIF,4,2 ## @LPC18XX_SCU_PIN_ZIF L_.str.1: ## @.str.1 .asciz "Drive strength available only on high-drive pins\n" .comm _LPC18XX_SCU_PIN_EHD_MASK,4,2 ## @LPC18XX_SCU_PIN_EHD_MASK L_.str.2: ## @.str.2 .asciz "Drive strength %u unsupported\n" .comm _LPC18XX_SCU_PIN_EHD_POS,4,2 ## @LPC18XX_SCU_PIN_EHD_POS L_.str.3: ## @.str.3 .asciz "Property not supported\n" .no_dead_strip _lpc18xx_pconf_set_pin .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpc18xx_pconf_set_pin _lpc18xx_pconf_set_pin: ; @lpc18xx_pconf_set_pin .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 ; kill: def $w2 killed $w2 def $x2 sub w8, w1, #128 cmp w8, #7 b.hi LBB0_4 ; %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: ldr w8, [x5] Lloh2: adrp x9, _TYPE_HD@GOTPAGE Lloh3: ldr x9, [x9, _TYPE_HD@GOTPAGEOFF] Lloh4: ldr w9, [x9] cmp w8, w9 b.ne LBB0_20 ; %bb.3: ldr w0, [x0] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF b LBB0_25 LBB0_4: ldr w0, [x0] Lloh7: adrp x1, l_.str.3@PAGE Lloh8: add x1, x1, l_.str.3@PAGEOFF b LBB0_25 LBB0_5: Lloh9: adrp x8, _LPC18XX_SCU_PIN_ZIF@GOTPAGE Lloh10: ldr x8, [x8, _LPC18XX_SCU_PIN_ZIF@GOTPAGEOFF] Lloh11: ldr w8, [x8] cbz w2, LBB0_21 LBB0_6: mov w0, #0 b LBB0_17 LBB0_7: Lloh12: adrp x8, _LPC18XX_SCU_PIN_EZI@GOTPAGE Lloh13: ldr x8, [x8, _LPC18XX_SCU_PIN_EZI@GOTPAGEOFF] Lloh14: ldr w8, [x8] cbnz w2, LBB0_21 b LBB0_6 LBB0_8: mov x1, x2 mov x2, x4 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _lpc18xx_pconf_set_gpio_pin_int LBB0_9: ldr w8, [x5] Lloh15: adrp x9, _TYPE_HD@GOTPAGE Lloh16: ldr x9, [x9, _TYPE_HD@GOTPAGEOFF] Lloh17: ldr w9, [x9] cmp w8, w9 b.ne LBB0_24 ; %bb.10: Lloh18: adrp x8, _LPC18XX_SCU_PIN_EHD_MASK@GOTPAGE Lloh19: ldr x8, [x8, _LPC18XX_SCU_PIN_EHD_MASK@GOTPAGEOFF] Lloh20: ldr w8, [x8] ldr w9, [x3] bic w8, w9, w8 str w8, [x3] sub w9, w2, #4 ror w10, w9, #1 cmp w10, #8 b.hi LBB0_27 ; %bb.11: Lloh21: adrp x11, lJTI0_1@PAGE Lloh22: add x11, x11, lJTI0_1@PAGEOFF adr x12, LBB0_12 ldrb w13, [x11, x10] add x12, x12, x13, lsl #2 br x12 LBB0_12: sub w2, w2, #5 LBB0_13: sub w2, w2, #5 LBB0_14: sub w9, w2, #7 LBB0_15: mov w0, #0 Lloh23: adrp x10, _LPC18XX_SCU_PIN_EHD_POS@GOTPAGE Lloh24: ldr x10, [x10, _LPC18XX_SCU_PIN_EHD_POS@GOTPAGEOFF] Lloh25: ldr w10, [x10] lsl w9, w9, w10 b LBB0_23 LBB0_16: mov w0, #0 Lloh26: adrp x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGE Lloh27: ldr x8, [x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGEOFF] Lloh28: ldr w8, [x8] LBB0_17: ldr w9, [x3] bic w8, w9, w8 str w8, [x3] b LBB0_26 LBB0_18: mov w0, #0 Lloh29: adrp x8, _LPC18XX_SCU_PIN_EPD@GOTPAGE Lloh30: ldr x8, [x8, _LPC18XX_SCU_PIN_EPD@GOTPAGEOFF] Lloh31: ldr w8, [x8] b LBB0_22 LBB0_19: mov w0, #0 Lloh32: adrp x8, _LPC18XX_SCU_PIN_EPD@GOTPAGE Lloh33: ldr x8, [x8, _LPC18XX_SCU_PIN_EPD@GOTPAGEOFF] Lloh34: ldr w8, [x8] ldr w9, [x3] bic w8, w9, w8 str w8, [x3] Lloh35: adrp x9, _LPC18XX_SCU_PIN_EPUN@GOTPAGE Lloh36: ldr x9, [x9, _LPC18XX_SCU_PIN_EPUN@GOTPAGEOFF] Lloh37: ldr w9, [x9] b LBB0_23 LBB0_20: Lloh38: adrp x8, _LPC18XX_SCU_PIN_EHS@GOTPAGE Lloh39: ldr x8, [x8, _LPC18XX_SCU_PIN_EHS@GOTPAGEOFF] Lloh40: ldr w8, [x8] cbz w2, LBB0_6 LBB0_21: mov w0, #0 LBB0_22: ldr w9, [x3] LBB0_23: orr w8, w9, w8 str w8, [x3] b LBB0_26 LBB0_24: ldr w0, [x0] Lloh41: adrp x1, l_.str.1@PAGE Lloh42: add x1, x1, l_.str.1@PAGEOFF LBB0_25: bl _dev_err Lloh43: adrp x8, _ENOTSUPP@GOTPAGE Lloh44: ldr x8, [x8, _ENOTSUPP@GOTPAGEOFF] Lloh45: ldr w8, [x8] neg w0, w8 LBB0_26: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB0_27: ldr w0, [x0] str x2, [sp] Lloh46: adrp x1, l_.str.2@PAGE Lloh47: add x1, x1, l_.str.2@PAGEOFF b LBB0_25 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_16-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 .byte (LBB0_19-LBB0_2)>>2 lJTI0_1: .byte (LBB0_15-LBB0_12)>>2 .byte (LBB0_27-LBB0_12)>>2 .byte (LBB0_14-LBB0_12)>>2 .byte (LBB0_27-LBB0_12)>>2 .byte (LBB0_27-LBB0_12)>>2 .byte (LBB0_13-LBB0_12)>>2 .byte (LBB0_27-LBB0_12)>>2 .byte (LBB0_27-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 ; -- End function .comm _LPC18XX_SCU_PIN_EPD,4,2 ; @LPC18XX_SCU_PIN_EPD .comm _LPC18XX_SCU_PIN_EPUN,4,2 ; @LPC18XX_SCU_PIN_EPUN .comm _LPC18XX_SCU_PIN_EZI,4,2 ; @LPC18XX_SCU_PIN_EZI .comm _TYPE_HD,4,2 ; @TYPE_HD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Slew rate unsupported on high-drive pins\n" .comm _ENOTSUPP,4,2 ; @ENOTSUPP .comm _LPC18XX_SCU_PIN_EHS,4,2 ; @LPC18XX_SCU_PIN_EHS .comm _LPC18XX_SCU_PIN_ZIF,4,2 ; @LPC18XX_SCU_PIN_ZIF l_.str.1: ; @.str.1 .asciz "Drive strength available only on high-drive pins\n" .comm _LPC18XX_SCU_PIN_EHD_MASK,4,2 ; @LPC18XX_SCU_PIN_EHD_MASK l_.str.2: ; @.str.2 .asciz "Drive strength %u unsupported\n" .comm _LPC18XX_SCU_PIN_EHD_POS,4,2 ; @LPC18XX_SCU_PIN_EHD_POS l_.str.3: ; @.str.3 .asciz "Property not supported\n" .no_dead_strip _lpc18xx_pconf_set_pin .subsections_via_symbols
AnghaBench/linux/drivers/pinctrl/extr_pinctrl-lpc18xx.c_lpc18xx_pconf_set_pin.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function evtchn_bind_user_port _evtchn_bind_user_port: ## @evtchn_bind_user_port .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 %rdi, %r14 movl 4(%rsi), %edi callq _xen_intr_port movl %eax, 16(%rbx) movq %r14, 8(%rbx) movl $1, (%rbx) movq %r14, %rdi callq _mtx_lock movq _evtchn_tree@GOTPCREL(%rip), %r13 movl (%r13), %edi leaq 4(%r14), %r15 movq %r15, %rsi movq %rbx, %rdx callq _RB_INSERT movq %r14, %rdi callq _mtx_unlock movq _evtchn_dev@GOTPCREL(%rip), %rax movl (%rax), %edi callq _device_get_nameunit movq _evtchn_filter@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _evtchn_interrupt@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _INTR_TYPE_MISC@GOTPCREL(%rip), %rcx movq _INTR_MPSAFE@GOTPCREL(%rip), %rdi movl (%rdi), %r8d orl (%rcx), %r8d movl 4(%rbx), %r9d movl %eax, %edi movq %rbx, %rcx callq _xen_intr_add_handler movl %eax, %r12d testl %eax, %eax je LBB0_2 ## %bb.1: leaq 4(%rbx), %rdi callq _xen_intr_unbind movq %r14, %rdi callq _mtx_lock movl (%r13), %edi movq %r15, %rsi movq %rbx, %rdx callq _RB_REMOVE movq %r14, %rdi callq _mtx_unlock movq _M_EVTCHN@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _free LBB0_2: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _evtchn_tree,4,2 ## @evtchn_tree .comm _evtchn_dev,4,2 ## @evtchn_dev .comm _evtchn_filter,4,2 ## @evtchn_filter .comm _evtchn_interrupt,4,2 ## @evtchn_interrupt .comm _INTR_TYPE_MISC,4,2 ## @INTR_TYPE_MISC .comm _INTR_MPSAFE,4,2 ## @INTR_MPSAFE .comm _M_EVTCHN,4,2 ## @M_EVTCHN .no_dead_strip _evtchn_bind_user_port .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function evtchn_bind_user_port _evtchn_bind_user_port: ; @evtchn_bind_user_port .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 mov x20, x0 mov x21, x1 ldr w0, [x21, #4]! bl _xen_intr_port str w0, [x19, #16] str x20, [x19, #8] mov w8, #1 str w8, [x19] mov x0, x20 bl _mtx_lock Lloh0: adrp x24, _evtchn_tree@GOTPAGE Lloh1: ldr x24, [x24, _evtchn_tree@GOTPAGEOFF] ldr w0, [x24] add x22, x20, #4 mov x1, x22 mov x2, x19 bl _RB_INSERT mov x0, x20 bl _mtx_unlock Lloh2: adrp x8, _evtchn_dev@GOTPAGE Lloh3: ldr x8, [x8, _evtchn_dev@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _device_get_nameunit Lloh5: adrp x8, _evtchn_filter@GOTPAGE Lloh6: ldr x8, [x8, _evtchn_filter@GOTPAGEOFF] Lloh7: ldr w1, [x8] Lloh8: adrp x8, _evtchn_interrupt@GOTPAGE Lloh9: ldr x8, [x8, _evtchn_interrupt@GOTPAGEOFF] Lloh10: ldr w2, [x8] Lloh11: adrp x8, _INTR_TYPE_MISC@GOTPAGE Lloh12: ldr x8, [x8, _INTR_TYPE_MISC@GOTPAGEOFF] Lloh13: ldr w8, [x8] Lloh14: adrp x9, _INTR_MPSAFE@GOTPAGE Lloh15: ldr x9, [x9, _INTR_MPSAFE@GOTPAGEOFF] Lloh16: ldr w9, [x9] orr w4, w9, w8 ldr w5, [x21] mov x3, x19 bl _xen_intr_add_handler mov x23, x0 cbz w0, LBB0_2 ; %bb.1: mov x0, x21 bl _xen_intr_unbind mov x0, x20 bl _mtx_lock ldr w0, [x24] mov x1, x22 mov x2, x19 bl _RB_REMOVE mov x0, x20 bl _mtx_unlock Lloh17: adrp x8, _M_EVTCHN@GOTPAGE Lloh18: ldr x8, [x8, _M_EVTCHN@GOTPAGEOFF] Lloh19: ldr w1, [x8] mov x0, x19 bl _free LBB0_2: mov x0, x23 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _evtchn_tree,4,2 ; @evtchn_tree .comm _evtchn_dev,4,2 ; @evtchn_dev .comm _evtchn_filter,4,2 ; @evtchn_filter .comm _evtchn_interrupt,4,2 ; @evtchn_interrupt .comm _INTR_TYPE_MISC,4,2 ; @INTR_TYPE_MISC .comm _INTR_MPSAFE,4,2 ; @INTR_MPSAFE .comm _M_EVTCHN,4,2 ; @M_EVTCHN .no_dead_strip _evtchn_bind_user_port .subsections_via_symbols
AnghaBench/freebsd/sys/dev/xen/evtchn/extr_evtchn_dev.c_evtchn_bind_user_port.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tscColumnFilterInfoCopy ## -- Begin function tscColumnFilterInfoCopy .p2align 4, 0x90 _tscColumnFilterInfoCopy: ## @tscColumnFilterInfoCopy .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, %rbx movq %rdi, %r14 testq %rsi, %rsi setne %al testq %rdi, %rdi setne %cl andb %al, %cl movzbl %cl, %edi callq _assert xorl %edi, %edi cmpl $2, (%rbx) setb %dil callq _assert movq 8(%rbx), %rax movq _TSDB_RELATION_INVALID@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.1: cmpq %rax, 16(%rbx) jne LBB0_3 ## %bb.2: xorl %edi, %edi callq _assert LBB0_3: movups (%rbx), %xmm0 movups 16(%rbx), %xmm1 movups %xmm0, (%r14) movq 32(%rbx), %rax movq %rax, 32(%r14) movups %xmm1, 16(%r14) cmpl $0, (%r14) je LBB0_4 ## %bb.5: movq 32(%r14), %r15 incq %r15 movl $1, %edi movq %r15, %rsi callq _calloc movq %rax, 24(%r14) movq 24(%rbx), %rsi movq %rax, %rdi movq %r15, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _memcpy ## TAILCALL LBB0_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TSDB_RELATION_INVALID,8,3 ## @TSDB_RELATION_INVALID .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tscColumnFilterInfoCopy ; -- Begin function tscColumnFilterInfoCopy .p2align 2 _tscColumnFilterInfoCopy: ; @tscColumnFilterInfoCopy .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 cmp x0, #0 ccmp x1, #0, #4, ne cset w0, ne bl _assert ldr w8, [x19] cmp w8, #2 cset w0, lo bl _assert ldr x8, [x19, #8] Lloh0: adrp x9, _TSDB_RELATION_INVALID@GOTPAGE Lloh1: ldr x9, [x9, _TSDB_RELATION_INVALID@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_3 ; %bb.1: ldr x9, [x19, #16] cmp x9, x8 b.ne LBB0_3 ; %bb.2: mov w0, #0 bl _assert LBB0_3: ldr x8, [x19, #32] ldp q1, q0, [x19] str x8, [x20, #32] stp q1, q0, [x20] ldr w8, [x20] cbz w8, LBB0_5 ; %bb.4: ldr x8, [x20, #32] add x21, x8, #1 mov w0, #1 mov x1, x21 bl _calloc str x0, [x20, #24] ldr x1, [x19, #24] mov x2, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _memcpy LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TSDB_RELATION_INVALID,8,3 ; @TSDB_RELATION_INVALID .subsections_via_symbols
AnghaBench/TDengine/src/client/src/extr_tscUtil.c_tscColumnFilterInfoCopy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function eeprom_v14_modal_print LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _eeprom_v14_modal_print: ## @eeprom_v14_modal_print .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), %r15 movslq %esi, %rax imulq $224, %rax, %rbx movl (%r15,%rbx), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movl 4(%r15,%rbx), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf cvtsi2ssq 216(%r15,%rbx), %xmm0 movl 8(%r15,%rbx), %esi cvtss2sd %xmm0, %xmm0 mulsd LCPI0_0(%rip), %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf movq 16(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq 24(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf movq 32(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movq 40(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf movq 48(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf movq 56(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _printf movq 64(%r15,%rbx), %rax movq 72(%r15,%rbx), %rdi movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx movl (%rdi), %r8d movl 4(%rdi), %r9d movl 8(%rdi), %eax movl %eax, (%rsp) leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movq 80(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _printf movq 88(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf movq 96(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.12(%rip), %rdi xorl %eax, %eax callq _printf movq 104(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.13(%rip), %rdi xorl %eax, %eax callq _printf movl 112(%r15,%rbx), %esi movl 116(%r15,%rbx), %edx movl 120(%r15,%rbx), %ecx leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf movl 124(%r15,%rbx), %esi leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _printf movl 128(%r15,%rbx), %esi movl 132(%r15,%rbx), %edx leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _printf movq 136(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx leaq L_.str.17(%rip), %rdi xorl %eax, %eax callq _printf movl 144(%r15,%rbx), %esi movl 148(%r15,%rbx), %edx movl 152(%r15,%rbx), %ecx movl 156(%r15,%rbx), %r8d leaq L_.str.18(%rip), %rdi xorl %eax, %eax callq _printf movl 160(%r15,%rbx), %esi movl 164(%r15,%rbx), %edx movl 168(%r15,%rbx), %ecx movl 172(%r15,%rbx), %r8d leaq L_.str.19(%rip), %rdi xorl %eax, %eax callq _printf movl 176(%r15,%rbx), %esi leaq L_.str.20(%rip), %rdi xorl %eax, %eax callq _printf movl 180(%r15,%rbx), %esi leaq L_.str.21(%rip), %rdi xorl %eax, %eax callq _printf movl 184(%r15,%rbx), %esi movl 188(%r15,%rbx), %edx leaq L_.str.22(%rip), %rdi xorl %eax, %eax callq _printf movl 192(%r15,%rbx), %esi movl 196(%r15,%rbx), %edx leaq L_.str.23(%rip), %rdi xorl %eax, %eax callq _printf movq 200(%r15,%rbx), %rax movl (%rax), %esi movl 4(%rax), %edx movl 8(%rax), %ecx movl 12(%rax), %r8d movl 16(%rax), %r9d movl 20(%rax), %eax movl %eax, (%rsp) leaq L_.str.24(%rip), %rdi xorl %eax, %eax callq _printf movq _AR5416_EEPROM_MODAL_SPURS@GOTPCREL(%rip), %r12 cmpl $0, (%r12) js LBB0_3 ## %bb.1: addq %rbx, %r15 movq $-1, %rbx movl $16, %r13d leaq L_.str.25(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 208(%r15), %rax movl (%rax,%r13), %ecx movl -16(%rax,%r13), %edx movl -8(%rax,%r13), %r8d incq %rbx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movslq (%r12), %rax addq $24, %r13 cmpq %rax, %rbx jl LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_5797 ## @g_aug_volatile_5797 .p2align 2, 0x0 _g_aug_volatile_5797: .long 1 ## 0x1 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "| antCtrlCommon: 0x%.8x |\n" L_.str.1: ## @.str.1 .asciz "| switchSettling: 0x%.2x |\n" L_.str.2: ## @.str.2 .asciz "| adcDesiredSize: %d |\n| pgaDesiredSize: %.2f dBm |\n" L_.str.3: ## @.str.3 .asciz "| antCtrlChain: 0:0x%.8x 1:0x%.8x 2:0x%.8x |\n" L_.str.4: ## @.str.4 .asciz "| antennaGainCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.5: ## @.str.5 .asciz "| txRxAttenCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.6: ## @.str.6 .asciz "| rxTxMarginCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.7: ## @.str.7 .asciz "| noiseFloorThresCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.8: ## @.str.8 .asciz "| xlnaGainCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.9: ## @.str.9 .asciz "| iqCalICh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n| iqCalQCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.10: ## @.str.10 .asciz "| bswAtten: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.11: ## @.str.11 .asciz "| bswMargin: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.12: ## @.str.12 .asciz "| xatten2Db: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.13: ## @.str.13 .asciz "| xatten2Margin: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" L_.str.14: ## @.str.14 .asciz "| txEndToXpaOff: 0x%.2x | txEndToRxOn: 0x%.2x | txFrameToXpaOn: 0x%.2x |\n" L_.str.15: ## @.str.15 .asciz "| thres62: 0x%.2x\n" L_.str.16: ## @.str.16 .asciz "| xpdGain: 0x%.2x | xpd: 0x%.2x |\n" L_.str.17: ## @.str.17 .asciz "| xpaBiasLvlFreq: 0:0x%.4x 1:0x%.4x 2:0x%.4x |\n" L_.str.18: ## @.str.18 .asciz "| pdGainOverlap: 0x%.2x | ob: 0x%.2x | db: 0x%.2x | xpaBiasLvl: 0x%.2x |\n" L_.str.19: ## @.str.19 .asciz "| pwrDecreaseFor2Chain: 0x%.2x | pwrDecreaseFor3Chain: 0x%.2x | txFrameToDataStart: 0x%.2x | txFrameToPaOn: 0x%.2x |\n" L_.str.20: ## @.str.20 .asciz "| ht40PowerIncForPdadc: 0x%.2x |\n" L_.str.21: ## @.str.21 .asciz "| swSettleHt40: 0x%.2x |\n" L_.str.22: ## @.str.22 .asciz "| ob_ch1: 0x%.2x | db_ch1: 0x%.2x |\n" L_.str.23: ## @.str.23 .asciz "| flagBits: 0x%.2x | miscBits: 0x%.2x |\n" L_.str.24: ## @.str.24 .asciz "| futureModal: 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x |\n" .comm _AR5416_EEPROM_MODAL_SPURS,4,2 ## @AR5416_EEPROM_MODAL_SPURS L_.str.25: ## @.str.25 .asciz "| Spur %d: spurChan: 0x%.4x spurRangeLow: 0x%.2x spurRangeHigh: 0x%.2x |\n" .no_dead_strip _eeprom_v14_modal_print .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function eeprom_v14_modal_print _eeprom_v14_modal_print: ; @eeprom_v14_modal_print .cfi_startproc ; %bb.0: sub sp, sp, #112 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 ldr x8, [x0] mov w9, #224 ; =0xe0 smaddl x21, w1, w9, x8 ldr w1, [x21] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf ldr w1, [x21, #4] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf ldr w1, [x21, #8] ldr x8, [x21, #216] scvtf s0, x8 fcvt d0, s0 fmov d1, #0.50000000 fmul d0, d0, d1 str d0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf ldr x8, [x21, #16] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf ldr x8, [x21, #24] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _printf ldr x8, [x21, #32] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x8, [x21, #40] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _printf ldr x8, [x21, #48] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh14: adrp x0, l_.str.7@PAGE Lloh15: add x0, x0, l_.str.7@PAGEOFF bl _printf ldr x8, [x21, #56] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh16: adrp x0, l_.str.8@PAGE Lloh17: add x0, x0, l_.str.8@PAGEOFF bl _printf ldp x8, x9, [x21, #64] ldp w1, w10, [x8] ldr w8, [x8, #8] ldp w11, w12, [x9] ldr w9, [x9, #8] stp x12, x9, [sp, #24] stp x8, x11, [sp, #8] str x10, [sp] Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF bl _printf ldr x8, [x21, #80] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh20: adrp x0, l_.str.10@PAGE Lloh21: add x0, x0, l_.str.10@PAGEOFF bl _printf ldr x8, [x21, #88] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh22: adrp x0, l_.str.11@PAGE Lloh23: add x0, x0, l_.str.11@PAGEOFF bl _printf ldr x8, [x21, #96] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh24: adrp x0, l_.str.12@PAGE Lloh25: add x0, x0, l_.str.12@PAGEOFF bl _printf ldr x8, [x21, #104] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh26: adrp x0, l_.str.13@PAGE Lloh27: add x0, x0, l_.str.13@PAGEOFF bl _printf ldp w1, w8, [x21, #112] ldr w9, [x21, #120] stp x8, x9, [sp] Lloh28: adrp x0, l_.str.14@PAGE Lloh29: add x0, x0, l_.str.14@PAGEOFF bl _printf ldr w1, [x21, #124] Lloh30: adrp x0, l_.str.15@PAGE Lloh31: add x0, x0, l_.str.15@PAGEOFF bl _printf ldp w1, w8, [x21, #128] str x8, [sp] Lloh32: adrp x0, l_.str.16@PAGE Lloh33: add x0, x0, l_.str.16@PAGEOFF bl _printf ldr x8, [x21, #136] ldp w1, w9, [x8] ldr w8, [x8, #8] stp x9, x8, [sp] Lloh34: adrp x0, l_.str.17@PAGE Lloh35: add x0, x0, l_.str.17@PAGEOFF bl _printf ldp w1, w8, [x21, #144] ldp w9, w10, [x21, #152] stp x9, x10, [sp, #8] str x8, [sp] Lloh36: adrp x0, l_.str.18@PAGE Lloh37: add x0, x0, l_.str.18@PAGEOFF bl _printf ldp w1, w8, [x21, #160] ldp w9, w10, [x21, #168] stp x9, x10, [sp, #8] str x8, [sp] Lloh38: adrp x0, l_.str.19@PAGE Lloh39: add x0, x0, l_.str.19@PAGEOFF bl _printf ldr w1, [x21, #176] Lloh40: adrp x0, l_.str.20@PAGE Lloh41: add x0, x0, l_.str.20@PAGEOFF bl _printf ldr w1, [x21, #180] Lloh42: adrp x0, l_.str.21@PAGE Lloh43: add x0, x0, l_.str.21@PAGEOFF bl _printf ldp w1, w8, [x21, #184] str x8, [sp] Lloh44: adrp x0, l_.str.22@PAGE Lloh45: add x0, x0, l_.str.22@PAGEOFF bl _printf ldp w1, w8, [x21, #192] str x8, [sp] Lloh46: adrp x0, l_.str.23@PAGE Lloh47: add x0, x0, l_.str.23@PAGEOFF bl _printf ldr x8, [x21, #200] ldp w1, w9, [x8] ldp w10, w11, [x8, #8] ldp w12, w8, [x8, #16] stp x12, x8, [sp, #24] stp x10, x11, [sp, #8] str x9, [sp] Lloh48: adrp x0, l_.str.24@PAGE Lloh49: add x0, x0, l_.str.24@PAGEOFF bl _printf Lloh50: adrp x22, _AR5416_EEPROM_MODAL_SPURS@GOTPAGE Lloh51: ldr x22, [x22, _AR5416_EEPROM_MODAL_SPURS@GOTPAGEOFF] ldr w8, [x22] tbnz w8, #31, LBB0_3 ; %bb.1: mov x23, #0 ; =0x0 mov x19, #-1 ; =0xffffffffffffffff Lloh52: adrp x20, l_.str.25@PAGE Lloh53: add x20, x20, l_.str.25@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #208] add x8, x8, x23 ldp x10, x9, [x8, #8] add x19, x19, #1 ldr w8, [x8] stp x9, x10, [sp, #8] str x8, [sp] mov x0, x20 mov x1, x19 bl _printf ldrsw x8, [x22] add x23, x23, #24 cmp x19, x8 b.lt LBB0_2 LBB0_3: 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 add sp, sp, #112 ret .loh AdrpLdrGot Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .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 Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh52, Lloh53 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_5797 ; @g_aug_volatile_5797 .p2align 2, 0x0 _g_aug_volatile_5797: .long 1 ; 0x1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "| antCtrlCommon: 0x%.8x |\n" l_.str.1: ; @.str.1 .asciz "| switchSettling: 0x%.2x |\n" l_.str.2: ; @.str.2 .asciz "| adcDesiredSize: %d |\n| pgaDesiredSize: %.2f dBm |\n" l_.str.3: ; @.str.3 .asciz "| antCtrlChain: 0:0x%.8x 1:0x%.8x 2:0x%.8x |\n" l_.str.4: ; @.str.4 .asciz "| antennaGainCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.5: ; @.str.5 .asciz "| txRxAttenCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.6: ; @.str.6 .asciz "| rxTxMarginCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.7: ; @.str.7 .asciz "| noiseFloorThresCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.8: ; @.str.8 .asciz "| xlnaGainCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.9: ; @.str.9 .asciz "| iqCalICh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n| iqCalQCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.10: ; @.str.10 .asciz "| bswAtten: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.11: ; @.str.11 .asciz "| bswMargin: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.12: ; @.str.12 .asciz "| xatten2Db: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.13: ; @.str.13 .asciz "| xatten2Margin: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n" l_.str.14: ; @.str.14 .asciz "| txEndToXpaOff: 0x%.2x | txEndToRxOn: 0x%.2x | txFrameToXpaOn: 0x%.2x |\n" l_.str.15: ; @.str.15 .asciz "| thres62: 0x%.2x\n" l_.str.16: ; @.str.16 .asciz "| xpdGain: 0x%.2x | xpd: 0x%.2x |\n" l_.str.17: ; @.str.17 .asciz "| xpaBiasLvlFreq: 0:0x%.4x 1:0x%.4x 2:0x%.4x |\n" l_.str.18: ; @.str.18 .asciz "| pdGainOverlap: 0x%.2x | ob: 0x%.2x | db: 0x%.2x | xpaBiasLvl: 0x%.2x |\n" l_.str.19: ; @.str.19 .asciz "| pwrDecreaseFor2Chain: 0x%.2x | pwrDecreaseFor3Chain: 0x%.2x | txFrameToDataStart: 0x%.2x | txFrameToPaOn: 0x%.2x |\n" l_.str.20: ; @.str.20 .asciz "| ht40PowerIncForPdadc: 0x%.2x |\n" l_.str.21: ; @.str.21 .asciz "| swSettleHt40: 0x%.2x |\n" l_.str.22: ; @.str.22 .asciz "| ob_ch1: 0x%.2x | db_ch1: 0x%.2x |\n" l_.str.23: ; @.str.23 .asciz "| flagBits: 0x%.2x | miscBits: 0x%.2x |\n" l_.str.24: ; @.str.24 .asciz "| futureModal: 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x |\n" .comm _AR5416_EEPROM_MODAL_SPURS,4,2 ; @AR5416_EEPROM_MODAL_SPURS l_.str.25: ; @.str.25 .asciz "| Spur %d: spurChan: 0x%.4x spurRangeLow: 0x%.2x spurRangeHigh: 0x%.2x |\n" .no_dead_strip _eeprom_v14_modal_print .subsections_via_symbols
assembly_file_86032.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _on_introduction1_activate ## -- Begin function on_introduction1_activate .p2align 4, 0x90 _on_introduction1_activate: ## @on_introduction1_activate .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 leaq L_.str(%rip), %rdi callq __ movq %rax, %rbx movq _main_wnd@GOTPCREL(%rip), %rax movl (%rax), %edi callq _GTK_WINDOW movq _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _GTK_MESSAGE_INFO@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _GTK_BUTTONS_CLOSE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %eax, %edi movq %rbx, %r8 callq _gtk_message_dialog_new movq %rax, %rbx movq %rax, %rdi callq _GTK_OBJECT movl %eax, %r14d movq _gtk_widget_destroy@GOTPCREL(%rip), %rax movl (%rax), %edi callq _G_CALLBACK movl %eax, %r15d movq %rbx, %rdi callq _GTK_OBJECT leaq L_.str.1(%rip), %rsi movl %r14d, %edi movl %r15d, %edx movl %eax, %ecx callq _g_signal_connect_swapped movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _gtk_widget_show_all ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Welcome to gkc, the GTK+ graphical kernel configuration tool\nfor Linux.\nFor each option, a blank box indicates the feature is disabled, a\ncheck indicates it is enabled, and a dot indicates that it is to\nbe compiled as a module. Clicking on the box will cycle through the three states.\n\nIf you do not see an option (e.g., a device driver) that you\nbelieve should be present, try turning on Show All Options\nunder the Options menu.\nAlthough there is no cross reference yet to help you figure out\nwhat other options must be enabled to support the option you\nare interested in, you can still view the help of a grayed-out\noption.\n\nToggling Show Debug Info under the Options menu will show \nthe dependencies, which you can then match by examining other options." .comm _main_wnd,4,2 ## @main_wnd .comm _GTK_DIALOG_DESTROY_WITH_PARENT,4,2 ## @GTK_DIALOG_DESTROY_WITH_PARENT .comm _GTK_MESSAGE_INFO,4,2 ## @GTK_MESSAGE_INFO .comm _GTK_BUTTONS_CLOSE,4,2 ## @GTK_BUTTONS_CLOSE L_.str.1: ## @.str.1 .asciz "response" .comm _gtk_widget_destroy,4,2 ## @gtk_widget_destroy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _on_introduction1_activate ; -- Begin function on_introduction1_activate .p2align 2 _on_introduction1_activate: ; @on_introduction1_activate .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 x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl __ mov x19, x0 Lloh2: adrp x8, _main_wnd@GOTPAGE Lloh3: ldr x8, [x8, _main_wnd@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _GTK_WINDOW Lloh5: adrp x8, _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPAGE Lloh6: ldr x8, [x8, _GTK_DIALOG_DESTROY_WITH_PARENT@GOTPAGEOFF] Lloh7: ldr w1, [x8] Lloh8: adrp x8, _GTK_MESSAGE_INFO@GOTPAGE Lloh9: ldr x8, [x8, _GTK_MESSAGE_INFO@GOTPAGEOFF] Lloh10: ldr w2, [x8] Lloh11: adrp x8, _GTK_BUTTONS_CLOSE@GOTPAGE Lloh12: ldr x8, [x8, _GTK_BUTTONS_CLOSE@GOTPAGEOFF] Lloh13: ldr w3, [x8] mov x4, x19 bl _gtk_message_dialog_new mov x19, x0 bl _GTK_OBJECT mov x20, x0 Lloh14: adrp x8, _gtk_widget_destroy@GOTPAGE Lloh15: ldr x8, [x8, _gtk_widget_destroy@GOTPAGEOFF] Lloh16: ldr w0, [x8] bl _G_CALLBACK mov x21, x0 mov x0, x19 bl _GTK_OBJECT mov x3, x0 Lloh17: adrp x1, l_.str.1@PAGE Lloh18: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 mov x2, x21 bl _g_signal_connect_swapped 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 _gtk_widget_show_all .loh AdrpAdd Lloh17, Lloh18 .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 AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Welcome to gkc, the GTK+ graphical kernel configuration tool\nfor Linux.\nFor each option, a blank box indicates the feature is disabled, a\ncheck indicates it is enabled, and a dot indicates that it is to\nbe compiled as a module. Clicking on the box will cycle through the three states.\n\nIf you do not see an option (e.g., a device driver) that you\nbelieve should be present, try turning on Show All Options\nunder the Options menu.\nAlthough there is no cross reference yet to help you figure out\nwhat other options must be enabled to support the option you\nare interested in, you can still view the help of a grayed-out\noption.\n\nToggling Show Debug Info under the Options menu will show \nthe dependencies, which you can then match by examining other options." .comm _main_wnd,4,2 ; @main_wnd .comm _GTK_DIALOG_DESTROY_WITH_PARENT,4,2 ; @GTK_DIALOG_DESTROY_WITH_PARENT .comm _GTK_MESSAGE_INFO,4,2 ; @GTK_MESSAGE_INFO .comm _GTK_BUTTONS_CLOSE,4,2 ; @GTK_BUTTONS_CLOSE l_.str.1: ; @.str.1 .asciz "response" .comm _gtk_widget_destroy,4,2 ; @gtk_widget_destroy .subsections_via_symbols
AnghaBench/fastsocket/kernel/scripts/kconfig/extr_gconf.c_on_introduction1_activate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mei_txe_write _mei_txe_write: ## @mei_txe_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -104(%rbp) ## 8-byte Spill movq %rcx, %r13 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) callq _to_txe_hw movq %rax, %r12 movq _TXE_HBUF_DEPTH@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -96(%rbp) ## 8-byte Spill movl $1, %edi callq _WARN_ON testq %rax, %rax je LBB0_3 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_3: movq %r13, -64(%rbp) ## 8-byte Spill movq %r12, -56(%rbp) ## 8-byte Spill movq %r15, -88(%rbp) ## 8-byte Spill movl (%r15), %r12d movq _MEI_HDR_FMT@GOTPCREL(%rip), %rax movl (%rax), %r13d movq %rbx, -80(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _MEI_HDR_PRM movl %r12d, %edi movl %r13d, %esi movl %eax, %edx callq _dev_dbg movq %r14, %rdi movq -104(%rbp), %r15 ## 8-byte Reload subq %r15, %rdi callq _mei_data2slots cmpq -96(%rbp), %rax ## 8-byte Folded Reload jle LBB0_5 ## %bb.4: movq _EMSGSIZE@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_5: xorl %edi, %edi movq -56(%rbp), %rax ## 8-byte Reload cmpl $0, 8(%rax) sete %dil leaq L_.str(%rip), %rsi callq _WARN testq %rax, %rax je LBB0_7 ## %bb.6: movq _EAGAIN@GOTPCREL(%rip), %rcx LBB0_2: xorl %eax, %eax subl (%rcx), %eax LBB0_20: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_22 ## %bb.21: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq -88(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _mei_txe_input_ready_interrupt_enable movq %rbx, %rdi callq _mei_txe_is_input_ready testl %eax, %eax je LBB0_10 ## %bb.8: movq _MEI_SLOT_SIZE@GOTPCREL(%rip), %r12 movq (%r12), %rax cmpq %r14, %rax jbe LBB0_11 ## %bb.9: xorl %r14d, %r14d jmp LBB0_12 LBB0_10: movq %rsp, %r15 movq _MEI_FW_STATUS_STR_SZ@GOTPCREL(%rip), %r12 movl (%r12), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movl (%r12), %edx movq %rbx, %rdi movq %r14, %rsi callq _mei_fw_status_str movl (%rbx), %edi leaq L_.str.1(%rip), %rsi movq %r14, %rdx callq _dev_err movq _EAGAIN@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax movq %r15, %rsp jmp LBB0_20 LBB0_11: movq -80(%rbp), %rax ## 8-byte Reload movq (%rax), %rdx movq %rbx, %rdi xorl %esi, %esi callq _mei_txe_input_payload_write movq (%r12), %rax movq $-1, %r14 LBB0_12: xorl %r13d, %r13d cmpq %r15, %rax jbe LBB0_13 LBB0_17: movq %r15, %rdx andq $3, %rdx je LBB0_19 ## %bb.18: movq $0, -72(%rbp) movq -64(%rbp), %rax ## 8-byte Reload leaq (%rax,%r15,4), %rsi leal (,%rdx,4), %eax subq %rax, %rsi leaq -72(%rbp), %rdi callq _memcpy addq %r14, %r13 movq -72(%rbp), %rdx movq %rbx, %rdi movq %r13, %rsi callq _mei_txe_input_payload_write LBB0_19: movq -56(%rbp), %rdi ## 8-byte Reload movq $0, (%rdi) callq _mei_txe_input_doorbell_set xorl %eax, %eax jmp LBB0_20 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_13 Depth=1 movq %r15, %rax xorl %edx, %edx divq %rcx LBB0_16: ## in Loop: Header=BB0_13 Depth=1 incq %r13 cmpq %rax, %r13 jae LBB0_17 LBB0_13: ## =>This Inner Loop Header: Depth=1 leaq (%r14,%r13), %rsi movq -64(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rdx movq %rbx, %rdi callq _mei_txe_input_payload_write movq (%r12), %rcx movq %r15, %rax orq %rcx, %rax shrq $32, %rax jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movl %r15d, %eax xorl %edx, %edx divl %ecx ## kill: def $eax killed $eax def $rax jmp LBB0_16 LBB0_22: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _TXE_HBUF_DEPTH,8,3 ## @TXE_HBUF_DEPTH .comm _EINVAL,4,2 ## @EINVAL .comm _MEI_HDR_FMT,4,2 ## @MEI_HDR_FMT .comm _EMSGSIZE,4,2 ## @EMSGSIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "txe write: aliveness not asserted\n" .comm _EAGAIN,4,2 ## @EAGAIN .comm _MEI_FW_STATUS_STR_SZ,4,2 ## @MEI_FW_STATUS_STR_SZ L_.str.1: ## @.str.1 .asciz "Input is not ready %s\n" .comm _MEI_SLOT_SIZE,8,3 ## @MEI_SLOT_SIZE .no_dead_strip _mei_txe_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mei_txe_write _mei_txe_write: ; @mei_txe_write .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill 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 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x4 mov x22, x3 mov x24, x2 mov x23, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] bl _to_txe_hw mov x20, x0 Lloh3: adrp x8, _TXE_HBUF_DEPTH@GOTPAGE Lloh4: ldr x8, [x8, _TXE_HBUF_DEPTH@GOTPAGEOFF] Lloh5: ldr x27, [x8] mov w0, #1 ; =0x1 bl _WARN_ON cbz x0, LBB0_2 ; %bb.1: Lloh6: adrp x8, _EINVAL@GOTPAGE Lloh7: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_6 LBB0_2: ldr w25, [x19] Lloh8: adrp x8, _MEI_HDR_FMT@GOTPAGE Lloh9: ldr x8, [x8, _MEI_HDR_FMT@GOTPAGEOFF] Lloh10: ldr w26, [x8] mov x0, x23 bl _MEI_HDR_PRM mov x2, x0 mov x0, x25 mov x1, x26 bl _dev_dbg sub x0, x24, x21 bl _mei_data2slots cmp x0, x27 b.le LBB0_4 ; %bb.3: Lloh11: adrp x8, _EMSGSIZE@GOTPAGE Lloh12: ldr x8, [x8, _EMSGSIZE@GOTPAGEOFF] b LBB0_6 LBB0_4: ldr w8, [x20, #8] cmp w8, #0 cset w0, eq Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF bl _WARN cbz x0, LBB0_9 ; %bb.5: Lloh15: adrp x8, _EAGAIN@GOTPAGE Lloh16: ldr x8, [x8, _EAGAIN@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w0, w8 LBB0_7: ldur x8, [x29, #-88] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.8: 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_9: mov x0, x19 bl _mei_txe_input_ready_interrupt_enable mov x0, x19 bl _mei_txe_is_input_ready cbz w0, LBB0_14 ; %bb.10: Lloh20: adrp x25, _MEI_SLOT_SIZE@GOTPAGE Lloh21: ldr x25, [x25, _MEI_SLOT_SIZE@GOTPAGEOFF] ldr x8, [x25] cmp x8, x24 b.ls LBB0_15 ; %bb.11: mov x23, #0 ; =0x0 cmp x8, x21 b.hi LBB0_16 LBB0_12: mov x24, #0 ; =0x0 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr x2, [x22, x24, lsl #3] add x1, x23, x24 mov x0, x19 bl _mei_txe_input_payload_write add x24, x24, #1 ldr x8, [x25] udiv x8, x21, x8 cmp x24, x8 b.lo LBB0_13 b LBB0_17 LBB0_14: mov x21, sp Lloh22: adrp x12, _MEI_FW_STATUS_STR_SZ@GOTPAGE Lloh23: ldr x12, [x12, _MEI_FW_STATUS_STR_SZ@GOTPAGEOFF] ldr w8, [x12] mov x9, x8 Lloh24: adrp x16, ___chkstk_darwin@GOTPAGE Lloh25: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x20, x9, x8 mov sp, x20 ldr w2, [x12] mov x0, x19 mov x1, x20 bl _mei_fw_status_str ldr w0, [x19] Lloh26: adrp x1, l_.str.1@PAGE Lloh27: add x1, x1, l_.str.1@PAGEOFF mov x2, x20 bl _dev_err Lloh28: adrp x8, _EAGAIN@GOTPAGE Lloh29: ldr x8, [x8, _EAGAIN@GOTPAGEOFF] Lloh30: ldr w8, [x8] neg w0, w8 mov sp, x21 b LBB0_7 LBB0_15: ldr x2, [x23] mov x0, x19 mov x1, #0 ; =0x0 bl _mei_txe_input_payload_write ldr x8, [x25] mov x23, #-1 ; =0xffffffffffffffff cmp x8, x21 b.ls LBB0_12 LBB0_16: mov x24, #0 ; =0x0 LBB0_17: ands x2, x21, #0x3 b.eq LBB0_19 ; %bb.18: stur xzr, [x29, #-96] add x8, x22, x21, lsl #2 sub x1, x8, x2, lsl #2 sub x0, x29, #96 bl _memcpy ldur x2, [x29, #-96] add x1, x24, x23 mov x0, x19 bl _mei_txe_input_payload_write LBB0_19: str xzr, [x20] mov x0, x20 bl _mei_txe_input_doorbell_set mov w0, #0 ; =0x0 b LBB0_7 LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _TXE_HBUF_DEPTH,8,3 ; @TXE_HBUF_DEPTH .comm _EINVAL,4,2 ; @EINVAL .comm _MEI_HDR_FMT,4,2 ; @MEI_HDR_FMT .comm _EMSGSIZE,4,2 ; @EMSGSIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "txe write: aliveness not asserted\n" .comm _EAGAIN,4,2 ; @EAGAIN .comm _MEI_FW_STATUS_STR_SZ,4,2 ; @MEI_FW_STATUS_STR_SZ l_.str.1: ; @.str.1 .asciz "Input is not ready %s\n" .comm _MEI_SLOT_SIZE,8,3 ; @MEI_SLOT_SIZE .no_dead_strip _mei_txe_write .subsections_via_symbols
assembly_file_142958.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp 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 leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) je LBB0_3 ## %bb.1: leaq -52(%rbp), %r15 leaq -48(%rbp), %r12 leaq L_.str.2(%rip), %r13 leaq L_.str(%rip), %rbx leaq -44(%rbp), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 leaq L_.str.1(%rip), %rdi movq %r15, %rsi movq %r12, %rdx xorl %eax, %eax callq _scanf movl -44(%rbp), %eax imull -52(%rbp), %eax imull $100, %eax, %eax cltd idivl -48(%rbp) xorps %xmm0, %xmm0 cvtsi2sd %eax, %xmm0 sqrtsd %xmm0, %xmm0 roundsd $9, %xmm0, %xmm0 movq %r13, %rdi movb $1, %al callq _printf movq %rbx, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jne LBB0_2 LBB0_3: 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: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d%d" L_.str.2: ## @.str.2 .asciz "%.0lf\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, #112 .cfi_def_cfa_offset 112 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 add x22, sp, #28 str x22, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #28] cbz w8, LBB0_3 ; %bb.1: add x23, sp, #20 Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF add x24, sp, #24 mov w25, #100 Lloh4: adrp x20, l_.str.2@PAGE Lloh5: add x20, x20, l_.str.2@PAGEOFF Lloh6: adrp x21, l_.str@PAGE Lloh7: add x21, x21, l_.str@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 stp x24, x23, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #24] mul w8, w8, w9 mul w8, w8, w25 ldr w9, [sp, #20] sdiv w8, w8, w9 scvtf d0, w8 fsqrt d0, d0 frintm d0, d0 str d0, [sp] mov x0, x20 bl _printf str x22, [sp] mov x0, x21 bl _scanf ldr w8, [sp, #28] cbnz w8, LBB0_2 LBB0_3: 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 add sp, sp, #112 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d%d" l_.str.2: ; @.str.2 .asciz "%.0lf\n" .subsections_via_symbols
the_stack_data/153266875.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 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/45450844.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smk_ad_setfield_u_net_sk _smk_ad_setfield_u_net_sk: ## @smk_ad_setfield_u_net_sk .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 .no_dead_strip _smk_ad_setfield_u_net_sk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smk_ad_setfield_u_net_sk _smk_ad_setfield_u_net_sk: ; @smk_ad_setfield_u_net_sk .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _smk_ad_setfield_u_net_sk .subsections_via_symbols
AnghaBench/linux/security/smack/extr_smack.h_smk_ad_setfield_u_net_sk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipc_importance_inherit_from_task _ipc_importance_inherit_from_task: ## @ipc_importance_inherit_from_task .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, %eax movl %edi, %ebx movq _III_NULL@GOTPCREL(%rip), %rcx movq (%rcx), %r14 movq _FALSE@GOTPCREL(%rip), %r13 movq (%r13), %rsi movl %eax, %edi callq _ipc_importance_for_task movq %rax, %r15 movq (%r13), %rsi movl %ebx, %edi callq _ipc_importance_for_task movq %rax, %r12 xorl %eax, %eax callq _ipc_importance_lock movq _IIT_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %r15, %rax je LBB0_15 ## %bb.1: cmpq %r12, %rax je LBB0_15 ## %bb.2: movq %r15, %rdi callq _ipc_importance_task_is_any_receiver_type testl %eax, %eax je LBB0_15 ## %bb.3: movq %r12, %rdi callq _ipc_importance_task_is_any_receiver_type testl %eax, %eax je LBB0_15 ## %bb.4: cmpq %r12, %r15 je LBB0_15 ## %bb.5: movl 8(%r15), %edi callq _incr_ref_counter movl 12(%r12), %edi callq _incr_ref_counter movq _III_NULL@GOTPCREL(%rip), %rax cmpq %r14, (%rax) je LBB0_12 ## %bb.6: movq %r14, %rbx LBB0_7: movq %r12, %rdi callq _ipc_importance_task_is_donor movq %rax, %rcx movq _III_NULL@GOTPCREL(%rip), %rax cmpq %rbx, (%rax) movq %rcx, -48(%rbp) ## 8-byte Spill je LBB0_20 ## %bb.8: movq %rbx, %rdi callq _III_REFS xorl %edi, %edi testq %rax, %rax setg %dil callq _assert movq 32(%rbx), %rdi callq _IIE_REFS xorl %edi, %edi testq %rax, %rax setg %dil callq _assert movq _III_REFS_MAX@GOTPCREL(%rip), %rax movq (%rax), %r13 movq %rbx, %rdi callq _III_REFS xorl %edi, %edi cmpq %rax, %r13 setg %dil callq _assert movq %rbx, %rdi callq _ipc_importance_inherit_reference_internal movq %rbx, %rdi callq _III_EXTERN movq (%rbx), %rcx xorl %edi, %edi testq %rax, %rax je LBB0_23 ## %bb.9: movq -48(%rbp), %r13 ## 8-byte Reload cmpq %rcx, %r13 sete %dil callq _assert jmp LBB0_25 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_12 Depth=1 cmpq %rbx, %rax jne LBB0_7 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movq %r15, %rsi movl $1, %edx callq _ipc_importance_inherit_find movq %rax, %rbx movq _III_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rbx, %rax jne LBB0_11 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 cmpq %r14, %rbx jne LBB0_7 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 xorl %eax, %eax callq _ipc_importance_unlock movq _ipc_importance_inherit_zone@GOTPCREL(%rip), %rax movl (%rax), %edi callq _zalloc movq %rax, %r14 xorl %eax, %eax callq _ipc_importance_lock movq _III_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_11 LBB0_15: movq %r14, %rbx LBB0_29: movq _III_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rbx, %rax je LBB0_32 ## %bb.30: cmpq %r14, %rbx jne LBB0_32 ## %bb.31: xorl %eax, %eax callq _ipc_importance_unlock jmp LBB0_41 LBB0_32: movq _IIE_NULL@GOTPCREL(%rip), %rcx cmpq %r12, (%rcx) je LBB0_34 ## %bb.33: xorl %ecx, %ecx cmpq %rbx, %rax setne %cl movl (%r12,%rcx,4), %edi callq _incr_ref_counter movq %r12, %rdi callq _ipc_importance_release_locked jmp LBB0_35 LBB0_34: xorl %eax, %eax callq _ipc_importance_unlock LBB0_35: movq _IIT_NULL@GOTPCREL(%rip), %rax cmpq %r15, (%rax) je LBB0_39 ## %bb.36: movq _III_NULL@GOTPCREL(%rip), %rax cmpq %rbx, (%rax) je LBB0_38 ## %bb.37: movl 4(%r15), %edi callq _incr_ref_counter LBB0_38: movq %r15, %rdi callq _ipc_importance_task_release LBB0_39: movq _III_NULL@GOTPCREL(%rip), %rax cmpq %r14, (%rax) je LBB0_41 ## %bb.40: movq _ipc_importance_inherit_zone@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq _zfree LBB0_41: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: movq _IIE_TYPE_INHERIT@GOTPCREL(%rip), %rax movl (%rax), %eax orl $1, %eax movl %eax, 12(%r14) movl $1, 8(%r14) xorps %xmm0, %xmm0 movups %xmm0, 48(%r14) movl $1, 16(%r14) movq %r15, 40(%r14) movq _IIE_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 32(%r14) leaq 24(%r14), %rdi movq %rcx, %rbx callq _queue_init testq %rbx, %rbx je LBB0_22 ## %bb.21: movq _TRUE@GOTPCREL(%rip), %r13 LBB0_22: movq (%r13), %rax movq %rax, (%r14) movq %r14, %rdi movq %r12, %rsi callq _ipc_importance_inherit_link movq %r14, %rbx movq -48(%rbp), %r13 ## 8-byte Reload jmp LBB0_26 LBB0_23: testq %rcx, %rcx sete %dil callq _assert movq -48(%rbp), %r13 ## 8-byte Reload movq %r13, (%rbx) testq %r13, %r13 je LBB0_25 ## %bb.24: movl 8(%rbx), %eax addl %eax, (%r15) movl 48(%rbx), %eax addl %eax, 12(%r15) LBB0_25: incl 8(%rbx) LBB0_26: movq _III_NULL@GOTPCREL(%rip), %rax cmpq %rbx, (%rax) je LBB0_29 ## %bb.27: testq %r13, %r13 je LBB0_29 ## %bb.28: incl (%r15) movq %r15, %rdi movl $1, %esi callq _ipc_importance_task_hold_internal_assertion_locked jmp LBB0_29 .cfi_endproc ## -- End function .comm _IIT_NULL,8,3 ## @IIT_NULL .comm _IIE_NULL,8,3 ## @IIE_NULL .comm _III_NULL,8,3 ## @III_NULL .comm _FALSE,8,3 ## @FALSE .comm _ipc_importance_inherit_zone,4,2 ## @ipc_importance_inherit_zone .comm _III_REFS_MAX,8,3 ## @III_REFS_MAX .comm _IIE_TYPE_INHERIT,4,2 ## @IIE_TYPE_INHERIT .comm _TRUE,8,3 ## @TRUE .comm _task_imp,8,3 ## @task_imp .no_dead_strip _ipc_importance_inherit_from_task .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipc_importance_inherit_from_task _ipc_importance_inherit_from_task: ; @ipc_importance_inherit_from_task .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x8, x1 mov x21, x0 Lloh0: adrp x24, _III_NULL@GOTPAGE Lloh1: ldr x24, [x24, _III_NULL@GOTPAGEOFF] ldr x19, [x24] Lloh2: adrp x26, _FALSE@GOTPAGE Lloh3: ldr x26, [x26, _FALSE@GOTPAGEOFF] ldr x1, [x26] mov x0, x8 bl _ipc_importance_for_task mov x20, x0 ldr x1, [x26] mov x0, x21 bl _ipc_importance_for_task mov x21, x0 bl _ipc_importance_lock Lloh4: adrp x25, _IIT_NULL@GOTPAGE Lloh5: ldr x25, [x25, _IIT_NULL@GOTPAGEOFF] ldr x8, [x25] cmp x8, x20 ccmp x8, x21, #4, ne b.eq LBB0_3 ; %bb.1: mov x0, x20 bl _ipc_importance_task_is_any_receiver_type cbz w0, LBB0_3 ; %bb.2: mov x0, x21 bl _ipc_importance_task_is_any_receiver_type cmp w0, #0 ccmp x20, x21, #4, ne b.ne LBB0_16 LBB0_3: mov x22, x19 LBB0_4: ldr x8, [x24] cmp x8, x22 ccmp x22, x19, #0, ne b.eq LBB0_7 ; %bb.5: Lloh6: adrp x9, _IIE_NULL@GOTPAGE Lloh7: ldr x9, [x9, _IIE_NULL@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x9, x21 b.eq LBB0_8 ; %bb.6: cmp x8, x22 cset w8, ne ldr w0, [x21, w8, uxtw #2] bl _incr_ref_counter mov x0, x21 bl _ipc_importance_release_locked b LBB0_9 LBB0_7: bl _ipc_importance_unlock b LBB0_15 LBB0_8: bl _ipc_importance_unlock LBB0_9: ldr x8, [x25] cmp x8, x20 b.eq LBB0_13 ; %bb.10: ldr x8, [x24] cmp x8, x22 b.eq LBB0_12 ; %bb.11: ldr w0, [x20, #4] bl _incr_ref_counter LBB0_12: mov x0, x20 bl _ipc_importance_task_release LBB0_13: ldr x8, [x24] cmp x8, x19 b.eq LBB0_15 ; %bb.14: Lloh9: adrp x8, _ipc_importance_inherit_zone@GOTPAGE Lloh10: ldr x8, [x8, _ipc_importance_inherit_zone@GOTPAGEOFF] Lloh11: ldr w0, [x8] mov x1, x19 bl _zfree LBB0_15: mov x0, x22 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_16: ldr w0, [x20, #8] bl _incr_ref_counter ldr w0, [x21, #12] bl _incr_ref_counter ldr x8, [x24] cmp x8, x19 b.eq LBB0_21 ; %bb.17: mov x22, x19 LBB0_18: mov x0, x21 bl _ipc_importance_task_is_donor mov x23, x0 ldr x8, [x24] cmp x8, x22 b.eq LBB0_26 ; %bb.19: mov x0, x22 bl _III_REFS cmp x0, #0 cset w0, gt bl _assert ldr x0, [x22, #32] bl _IIE_REFS cmp x0, #0 cset w0, gt bl _assert Lloh12: adrp x8, _III_REFS_MAX@GOTPAGE Lloh13: ldr x8, [x8, _III_REFS_MAX@GOTPAGEOFF] Lloh14: ldr x26, [x8] mov x0, x22 bl _III_REFS cmp x26, x0 cset w0, gt bl _assert mov x0, x22 bl _ipc_importance_inherit_reference_internal mov x0, x22 bl _III_EXTERN ldr x8, [x22] cbz x0, LBB0_27 ; %bb.20: cmp x23, x8 cset w0, eq bl _assert b LBB0_29 LBB0_21: Lloh15: adrp x23, _ipc_importance_inherit_zone@GOTPAGE Lloh16: ldr x23, [x23, _ipc_importance_inherit_zone@GOTPAGEOFF] b LBB0_23 LBB0_22: ; in Loop: Header=BB0_23 Depth=1 cmp x8, x22 b.ne LBB0_18 LBB0_23: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x20 mov w2, #1 bl _ipc_importance_inherit_find mov x22, x0 ldr x8, [x24] cmp x8, x0 b.ne LBB0_22 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 cmp x22, x19 b.ne LBB0_18 ; %bb.25: ; in Loop: Header=BB0_23 Depth=1 bl _ipc_importance_unlock ldr w0, [x23] bl _zalloc mov x19, x0 bl _ipc_importance_lock ldr x8, [x24] b LBB0_22 LBB0_26: Lloh17: adrp x8, _IIE_TYPE_INHERIT@GOTPAGE Lloh18: ldr x8, [x8, _IIE_TYPE_INHERIT@GOTPAGEOFF] Lloh19: ldr w8, [x8] orr w8, w8, #0x1 mov w9, #1 stp w9, w8, [x19, #8] stp xzr, xzr, [x19, #48] str w9, [x19, #16] Lloh20: adrp x8, _IIE_NULL@GOTPAGE Lloh21: ldr x8, [x8, _IIE_NULL@GOTPAGEOFF] Lloh22: ldr x8, [x8] stp x8, x20, [x19, #32] add x0, x19, #24 bl _queue_init Lloh23: adrp x8, _TRUE@GOTPAGE Lloh24: ldr x8, [x8, _TRUE@GOTPAGEOFF] cmp x23, #0 csel x8, x26, x8, eq ldr x8, [x8] str x8, [x19] mov x0, x19 mov x1, x21 bl _ipc_importance_inherit_link mov x22, x19 b LBB0_30 LBB0_27: cmp x8, #0 cset w0, eq bl _assert str x23, [x22] cbz x23, LBB0_29 ; %bb.28: ldr w8, [x22, #8] ldr w9, [x20] add w8, w9, w8 str w8, [x20] ldr w8, [x22, #48] ldr w9, [x20, #12] add w8, w9, w8 str w8, [x20, #12] LBB0_29: ldr w8, [x22, #8] add w8, w8, #1 str w8, [x22, #8] LBB0_30: ldr x8, [x24] cmp x8, x22 b.eq LBB0_4 ; %bb.31: cbz x23, LBB0_4 ; %bb.32: ldr w8, [x20] add w8, w8, #1 str w8, [x20] mov x0, x20 mov w1, #1 bl _ipc_importance_task_hold_internal_assertion_locked b LBB0_4 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _IIT_NULL,8,3 ; @IIT_NULL .comm _IIE_NULL,8,3 ; @IIE_NULL .comm _III_NULL,8,3 ; @III_NULL .comm _FALSE,8,3 ; @FALSE .comm _ipc_importance_inherit_zone,4,2 ; @ipc_importance_inherit_zone .comm _III_REFS_MAX,8,3 ; @III_REFS_MAX .comm _IIE_TYPE_INHERIT,4,2 ; @IIE_TYPE_INHERIT .comm _TRUE,8,3 ; @TRUE .comm _task_imp,8,3 ; @task_imp .no_dead_strip _ipc_importance_inherit_from_task .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/ipc/extr_ipc_importance.c_ipc_importance_inherit_from_task.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ntohl ## -- Begin function ntohl .p2align 4, 0x90 _ntohl: ## @ntohl .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 _htonl ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ntohl ; -- Begin function ntohl .p2align 2 _ntohl: ; @ntohl .cfi_startproc ; %bb.0: b _htonl .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/libogc/extr_network_common.c_ntohl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bdb_close _bdb_close: ## @bdb_close .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %r14 movq 8(%rdi), %rdi xorl %esi, %esi callq *(%rdi) testl %eax, %eax je LBB0_4 ## %bb.1: movq _SVN_BDB_AUTO_RECOVER@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) je LBB0_3 ## %bb.2: movq _DB_RUNRECOVERY@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_4 LBB0_3: movq %rbx, %rdi movl %eax, %esi callq _convert_bdb_error movq %rax, %r14 LBB0_4: movq (%rbx), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: callq _svn_pool_destroy jmp LBB0_7 LBB0_6: movq %rbx, %rdi callq _free LBB0_7: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _svn_error_trace ## TAILCALL .cfi_endproc ## -- End function .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .comm _SVN_BDB_AUTO_RECOVER,4,2 ## @SVN_BDB_AUTO_RECOVER .comm _DB_RUNRECOVERY,4,2 ## @DB_RUNRECOVERY .no_dead_strip _bdb_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bdb_close _bdb_close: ; @bdb_close .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 Lloh0: adrp x8, _SVN_NO_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] Lloh2: ldr x19, [x8] ldr x0, [x0, #8] ldr x8, [x0] mov w1, #0 blr x8 cbz w0, LBB0_3 ; %bb.1: mov x1, x0 Lloh3: adrp x8, _SVN_BDB_AUTO_RECOVER@GOTPAGE Lloh4: ldr x8, [x8, _SVN_BDB_AUTO_RECOVER@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _DB_RUNRECOVERY@GOTPAGE Lloh7: ldr x9, [x9, _DB_RUNRECOVERY@GOTPAGEOFF] Lloh8: ldr w9, [x9] cmp w8, #0 ccmp w0, w9, #0, ne b.eq LBB0_3 ; %bb.2: mov x0, x20 bl _convert_bdb_error mov x19, x0 LBB0_3: ldr x0, [x20] cbz x0, LBB0_5 ; %bb.4: bl _svn_pool_destroy b LBB0_6 LBB0_5: mov x0, x20 bl _free LBB0_6: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _svn_error_trace .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .comm _SVN_BDB_AUTO_RECOVER,4,2 ; @SVN_BDB_AUTO_RECOVER .comm _DB_RUNRECOVERY,4,2 ; @DB_RUNRECOVERY .no_dead_strip _bdb_close .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/bdb/extr_env.c_bdb_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ieee80211_aes_gcm_key_free _ieee80211_aes_gcm_key_free: ## @ieee80211_aes_gcm_key_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _aead_key_free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ieee80211_aes_gcm_key_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ieee80211_aes_gcm_key_free _ieee80211_aes_gcm_key_free: ; @ieee80211_aes_gcm_key_free .cfi_startproc ; %bb.0: b _aead_key_free .cfi_endproc ; -- End function .no_dead_strip _ieee80211_aes_gcm_key_free .subsections_via_symbols
AnghaBench/linux/net/mac80211/extr_aes_gcm.h_ieee80211_aes_gcm_key_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function read_args _read_args: ## @read_args .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $8216, %eax ## imm = 0x2018 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r15 movq %rcx, -8248(%rbp) ## 8-byte Spill movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq (%rdi), %rax movsbl (%rax), %ecx xorl %r14d, %r14d cmpl %esi, %ecx je LBB0_5 ## %bb.1: movq %rdx, %r12 movl %esi, %r13d xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpb $44, %cl jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 incq %rax movq %rax, (%rbx) movq %rbx, %rdi movq %r12, %rsi callq _STABS_CONTINUE movq %rbx, %rdi movq %r12, %rsi callq _read_type movq %rax, -8240(%rbp,%r14,8) incq %r14 movq (%rbx), %rax movsbl (%rax), %ecx cmpl %r13d, %ecx jne LBB0_2 LBB0_5: incq %rax movq %rax, (%rbx) movslq %r14d, %rbx decl %r14d movq -8248(%rbp,%rbx,8), %rdi callq _TYPE_CODE movq _TYPE_CODE_VOID@GOTPCREL(%rip), %rcx xorl %edx, %edx cmpq (%rcx), %rax setne %dl cmovel %r14d, %ebx movl %edx, (%r15) leal (,%rbx,8), %r14d movl %r14d, %edi callq _xmalloc movq %rax, %r15 movq %rax, %rdi xorl %esi, %esi movl %r14d, %edx callq _memset testl %ebx, %ebx jle LBB0_7 ## %bb.6: movl %ebx, %edx shlq $3, %rdx leaq -8240(%rbp), %rsi movq %r15, %rdi callq _memcpy LBB0_7: movq -8248(%rbp), %rax ## 8-byte Reload movl %ebx, (%rax) jmp LBB0_8 LBB0_3: movq $-1, %r15 LBB0_8: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_10 ## %bb.9: movq %r15, %rax addq $8216, %rsp ## imm = 0x2018 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _TYPE_CODE_VOID,8,3 ## @TYPE_CODE_VOID .no_dead_strip _read_args .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function read_args _read_args: ; @read_args .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov w9, #8208 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #2, lsl #12 ; =8192 sub sp, sp, #16 mov x20, x4 mov x19, x3 mov x21, x0 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-72] ldr x8, [x0] ldrsb w9, [x8] cmp w9, w1 b.ne LBB0_2 ; %bb.1: mov w22, #0 b LBB0_6 LBB0_2: mov x22, x2 mov x23, x1 mov x25, #0 and w9, w9, #0xff add x24, sp, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 and w9, w9, #0xff cmp w9, #44 b.ne LBB0_9 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x8, x8, #1 str x8, [x21] mov x0, x21 mov x1, x22 bl _STABS_CONTINUE mov x0, x21 mov x1, x22 bl _read_type str x0, [x24, x25, lsl #3] add x10, x25, #1 ldr x8, [x21] ldrsb w11, [x8] and w9, w11, #0xff mov x25, x10 cmp w11, w23 b.ne LBB0_3 ; %bb.5: mov x22, x10 LBB0_6: add x8, x8, #1 str x8, [x21] sxtw x8, w22 sub x21, x8, #1 add x8, sp, #8 ldr x0, [x8, x21, lsl #3] bl _TYPE_CODE Lloh5: adrp x8, _TYPE_CODE_VOID@GOTPAGE Lloh6: ldr x8, [x8, _TYPE_CODE_VOID@GOTPAGEOFF] Lloh7: ldr x8, [x8] cmp x0, x8 cset w8, ne csel w22, w21, w22, eq str w8, [x20] lsl w21, w22, #3 mov x0, x21 bl _xmalloc mov x20, x0 mov w1, #0 mov x2, x21 bl _memset cmp w22, #1 b.lt LBB0_8 ; %bb.7: lsl x2, x22, #3 add x1, sp, #8 mov x0, x20 bl _memcpy LBB0_8: str w22, [x19] b LBB0_10 LBB0_9: mov x20, #-1 LBB0_10: ldur x8, [x29, #-72] Lloh8: adrp x9, ___stack_chk_guard@GOTPAGE Lloh9: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.11: mov x0, x20 add sp, sp, #2, lsl #12 ; =8192 add sp, sp, #16 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_12: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _TYPE_CODE_VOID,8,3 ; @TYPE_CODE_VOID .no_dead_strip _read_args .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_stabsread.c_read_args.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function scsi_find_desc_func _scsi_find_desc_func: ## @scsi_find_desc_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdx), %rsi xorl %eax, %eax cmpq (%rcx), %rsi jne LBB0_2 ## %bb.1: movq %rdx, 8(%rcx) movl $1, %eax LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _scsi_find_desc_func .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function scsi_find_desc_func _scsi_find_desc_func: ; @scsi_find_desc_func .cfi_startproc ; %bb.0: ldr x8, [x2] ldr x9, [x3] cmp x8, x9 b.ne LBB0_2 ; %bb.1: str x2, [x3, #8] mov w0, #1 ret LBB0_2: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _scsi_find_desc_func .subsections_via_symbols
AnghaBench/freebsd/sys/cam/scsi/extr_scsi_all.c_scsi_find_desc_func.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mpcf_strfold ## -- Begin function mpcf_strfold .p2align 4, 0x90 _mpcf_strfold: ## @mpcf_strfold .cfi_startproc ## %bb.0: testl %edi, %edi je LBB0_4 ## %bb.1: jle LBB0_3 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 jmp LBB0_2 LBB0_4: movl $1, %edi movl $1, %esi jmp _calloc ## TAILCALL LBB0_3: 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), %rdi movq %rsi, %rbx movl $1, %esi callq _realloc movq %rax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_5745 ## @g_aug_volatile_5745 .p2align 2, 0x0 _g_aug_volatile_5745: .long 1 ## 0x1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mpcf_strfold ; -- Begin function mpcf_strfold .p2align 2 _mpcf_strfold: ; @mpcf_strfold .cfi_startproc ; %bb.0: cbz w0, LBB0_3 ; %bb.1: cmp w0, #1 b.lt LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 b LBB0_2 LBB0_3: mov w0, #1 ; =0x1 mov w1, #1 ; =0x1 b _calloc LBB0_4: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x0, [x1] mov x19, x1 mov w1, #1 ; =0x1 bl _realloc str 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 .section __DATA,__data .globl _g_aug_volatile_5745 ; @g_aug_volatile_5745 .p2align 2, 0x0 _g_aug_volatile_5745: .long 1 ; 0x1 .subsections_via_symbols
assembly_file_60156.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _length ## -- Begin function length .p2align 4, 0x90 _length: ## @length .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpb $0, (%rdi) je LBB0_4 ## %bb.1: xorl %eax, %eax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpb $0, 1(%rdi,%rax) leaq 1(%rax), %rax jne LBB0_2 ## %bb.3: ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_4: xorl %eax, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- 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 pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movabsq $8031924123371070792, %rax ## imm = 0x6F77206F6C6C6548 movq %rax, -40(%rbp) movl $6581362, -32(%rbp) ## imm = 0x646C72 leaq L_.str(%rip), %rdi xorl %ebx, %ebx leaq -40(%rbp), %rsi xorl %eax, %eax callq _printf cmpb $0, -40(%rbp) je LBB1_3 ## %bb.1: xorl %ebx, %ebx .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 cmpb $0, -39(%rbp,%rbx) leaq 1(%rbx), %rbx jne LBB1_2 LBB1_3: leaq -40(%rbp), %r14 movq %r14, %rdi callq _strlen leaq L_.str.1(%rip), %rdi movq %r14, %rsi movl %ebx, %edx movq %rax, %rcx xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rdi movq %r14, %rsi movq %r14, %rdx xorl %eax, %eax callq _printf movl $80, %edi callq _malloc movq %rax, %rbx movq %rax, %rdi callq _free movw $21327, (%rbx) ## imm = 0x534F movb $0, 2(%rbx) leaq L_.str.3(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movups L_.str.4(%rip), %xmm0 movups %xmm0, (%rbx) movups L_.str.4+12(%rip), %xmm0 movups %xmm0, 12(%rbx) leaq L_.str.5(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi callq _free movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB1_5 ## %bb.4: xorl %eax, %eax addq $32, %rsp popq %rbx popq %r14 popq %rbp retq LBB1_5: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___const.main.str1: ## @__const.main.str1 .asciz "Hello world" L_.str: ## @.str .asciz "The content of variable str1: '%s'\n" L_.str.1: ## @.str.1 .asciz "The length of variable str1 '%s'\n %i (with length()), %i (with strlen())\n" L_.str.2: ## @.str.2 .asciz "The content of variable str2 '%s' is the same as str1 '%s' \n(pointing the same memory place)\n" L_.str.3: ## @.str.3 .asciz "We've given value character by character - str2: '%s'\n" L_.str.4: ## @.str.4 .asciz "New content by using strcpy" L_.str.5: ## @.str.5 .asciz "The new content of variable str2: '%s'\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _length ; -- Begin function length .p2align 2 _length: ; @length .cfi_startproc ; %bb.0: ldrb w9, [x0] cbz w9, LBB0_4 ; %bb.1: mov x8, x0 mov x0, #0 add x8, x8, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x8, x0] add x0, x0, #1 cbnz w9, LBB0_2 ; %bb.3: ; kill: def $w0 killed $w0 killed $x0 ret LBB0_4: mov w0, #0 ; kill: def $w0 killed $w0 killed $x0 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x8, l___const.main.str1@PAGE Lloh4: add x8, x8, l___const.main.str1@PAGEOFF Lloh5: ldr x8, [x8] str x8, [sp, #24] mov w8, #27762 movk w8, #100, lsl #16 str w8, [sp, #32] add x19, sp, #24 str x19, [sp] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _printf ldrb w8, [sp, #24] cbz w8, LBB1_4 ; %bb.1: mov x8, #0 orr x9, x19, #0x1 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9, x8] add x8, x8, #1 cbnz w10, LBB1_2 ; %bb.3: mov x20, x8 b LBB1_5 LBB1_4: mov w20, #0 LBB1_5: add x0, sp, #24 bl _strlen stp x20, x0, [sp, #8] str x19, [sp] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _printf stp x19, x19, [sp] Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #80 bl _malloc mov x19, x0 bl _free mov w8, #21327 strh w8, [x19] strb wzr, [x19, #2] str x19, [sp] Lloh12: adrp x0, l_.str.3@PAGE Lloh13: add x0, x0, l_.str.3@PAGEOFF bl _printf Lloh14: adrp x8, l_.str.4@PAGE Lloh15: add x8, x8, l_.str.4@PAGEOFF ldr q0, [x8] str q0, [x19] ldur q0, [x8, #12] stur q0, [x19, #12] str x19, [sp] Lloh16: adrp x0, l_.str.5@PAGE Lloh17: add x0, x0, l_.str.5@PAGEOFF bl _printf mov x0, x19 bl _free ldur x8, [x29, #-24] Lloh18: adrp x9, ___stack_chk_guard@GOTPAGE Lloh19: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh20: ldr x9, [x9] cmp x9, x8 b.ne LBB1_7 ; %bb.6: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret LBB1_7: bl ___stack_chk_fail .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAddLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___const.main.str1: ; @__const.main.str1 .asciz "Hello world" l_.str: ; @.str .asciz "The content of variable str1: '%s'\n" l_.str.1: ; @.str.1 .asciz "The length of variable str1 '%s'\n %i (with length()), %i (with strlen())\n" l_.str.2: ; @.str.2 .asciz "The content of variable str2 '%s' is the same as str1 '%s' \n(pointing the same memory place)\n" l_.str.3: ; @.str.3 .asciz "We've given value character by character - str2: '%s'\n" l_.str.4: ; @.str.4 .asciz "New content by using strcpy" l_.str.5: ; @.str.5 .asciz "The new content of variable str2: '%s'\n" .subsections_via_symbols
the_stack_data/80746.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_strlen ## -- Begin function ft_strlen .p2align 4, 0x90 _ft_strlen: ## @ft_strlen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpb $0, (%rdi) je LBB0_4 ## %bb.1: xorl %eax, %eax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpb $0, 1(%rdi,%rax) leaq 1(%rax), %rax jne LBB0_2 ## %bb.3: ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_4: xorl %eax, %eax ## kill: def $eax killed $eax killed $rax 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 _ft_strlen ; -- Begin function ft_strlen .p2align 2 _ft_strlen: ; @ft_strlen .cfi_startproc ; %bb.0: ldrb w9, [x0] cbz w9, LBB0_4 ; %bb.1: mov x8, x0 mov x0, #0 add x8, x8, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x8, x0] add x0, x0, #1 cbnz w9, LBB0_2 ; %bb.3: ; kill: def $w0 killed $w0 killed $x0 ret LBB0_4: mov w0, #0 ; kill: def $w0 killed $w0 killed $x0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/716478.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function reserve_bounce_pages _reserve_bounce_pages: ## @reserve_bounce_pages .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %rbx movq %rdi, %r15 movq _MA_OWNED@GOTPCREL(%rip), %rax movl (%rax), %esi movq _bounce_lock@GOTPCREL(%rip), %rdi callq _mtx_assert movq (%r15), %r15 movl (%r15), %edi movq (%rbx), %rsi subq 8(%rbx), %rsi callq _MIN testl %r14d, %r14d je LBB0_2 ## %bb.1: movq (%rbx), %rdx movslq %eax, %rsi addq 8(%rbx), %rsi jmp LBB0_3 LBB0_2: movq (%rbx), %rdx movslq %eax, %rsi addq 8(%rbx), %rsi movq %rdx, %rcx subq %rsi, %rcx jg LBB0_4 LBB0_3: subl %eax, (%r15) addl %eax, 4(%r15) movq %rsi, 8(%rbx) subq %rsi, %rdx movq %rdx, %rcx LBB0_4: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _bounce_lock,4,2 ## @bounce_lock .comm _MA_OWNED,4,2 ## @MA_OWNED .no_dead_strip _reserve_bounce_pages .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function reserve_bounce_pages _reserve_bounce_pages: ; @reserve_bounce_pages .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, x1 mov x21, x0 Lloh0: adrp x8, _MA_OWNED@GOTPAGE Lloh1: ldr x8, [x8, _MA_OWNED@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x0, _bounce_lock@GOTPAGE Lloh4: ldr x0, [x0, _bounce_lock@GOTPAGEOFF] bl _mtx_assert ldr x21, [x21] ldr w0, [x21] ldp x8, x9, [x19] sub x1, x8, x9 bl _MIN cbz w20, LBB0_2 ; %bb.1: ldp x9, x8, [x19] add x10, x8, w0, sxtw b LBB0_3 LBB0_2: ldp x9, x8, [x19] add x10, x8, w0, sxtw subs x8, x9, x10 b.gt LBB0_4 LBB0_3: ldp w8, w11, [x21] sub w8, w8, w0 add w11, w11, w0 stp w8, w11, [x21] str x10, [x19, #8] sub x8, x9, x10 LBB0_4: mov x0, x8 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 _bounce_lock,4,2 ; @bounce_lock .comm _MA_OWNED,4,2 ; @MA_OWNED .no_dead_strip _reserve_bounce_pages .subsections_via_symbols
AnghaBench/freebsd/sys/arm/arm/extr_busdma_machdep-v6.c_reserve_bounce_pages.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rj_decrypt _rj_decrypt: ## @rj_decrypt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r12 movl %edx, %r13d movq %rsi, %r15 movq (%rdi), %rbx cmpl $0, 24(%rbx) je LBB0_1 LBB0_3: xorl %r14d, %r14d testl %r13d, %r13d je LBB0_9 ## %bb.4: testb $15, %r13b je LBB0_6 ## %bb.5: movq _PXE_NOTBLOCKSIZE@GOTPCREL(%rip), %rax movl (%rax), %r14d jmp LBB0_9 LBB0_1: movq %rbx, %rdi xorl %esi, %esi callq _rj_real_init testq %rax, %rax je LBB0_3 ## %bb.2: movq _PXE_CIPHER_INIT@GOTPCREL(%rip), %rax movl (%rax), %r14d jmp LBB0_9 LBB0_6: movq %r12, %rdi movq %r15, %rsi movl %r13d, %edx callq _memcpy movq (%rbx), %rax movq _MODE_CBC@GOTPCREL(%rip), %rcx leaq 8(%rbx), %rdi cmpq (%rcx), %rax jne LBB0_8 ## %bb.7: movq 16(%rbx), %rsi movq %r12, %rdx movl %r13d, %ecx callq _aes_cbc_decrypt movq 16(%rbx), %rdi movl %r13d, %eax leaq (%r15,%rax,4), %rsi addq $-64, %rsi movl $16, %edx callq _memcpy jmp LBB0_9 LBB0_8: movq %r12, %rsi movl %r13d, %edx callq _aes_ecb_decrypt LBB0_9: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PXE_CIPHER_INIT,4,2 ## @PXE_CIPHER_INIT .comm _PXE_NOTBLOCKSIZE,4,2 ## @PXE_NOTBLOCKSIZE .comm _MODE_CBC,8,3 ## @MODE_CBC .no_dead_strip _rj_decrypt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rj_decrypt _rj_decrypt: ; @rj_decrypt .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, x3 mov x19, x2 mov x21, x1 ldr x22, [x0] ldr w8, [x22, #24] cbz w8, LBB0_4 LBB0_1: cbz w19, LBB0_9 ; %bb.2: tst w19, #0xf b.eq LBB0_6 ; %bb.3: Lloh0: adrp x8, _PXE_NOTBLOCKSIZE@GOTPAGE Lloh1: ldr x8, [x8, _PXE_NOTBLOCKSIZE@GOTPAGEOFF] Lloh2: ldr w0, [x8] b LBB0_10 LBB0_4: mov x0, x22 mov w1, #0 bl _rj_real_init cbz x0, LBB0_1 ; %bb.5: Lloh3: adrp x8, _PXE_CIPHER_INIT@GOTPAGE Lloh4: ldr x8, [x8, _PXE_CIPHER_INIT@GOTPAGEOFF] Lloh5: ldr w0, [x8] b LBB0_10 LBB0_6: mov x0, x20 mov x1, x21 mov x2, x19 bl _memcpy mov x0, x22 ldr x8, [x0], #8 Lloh6: adrp x9, _MODE_CBC@GOTPAGE Lloh7: ldr x9, [x9, _MODE_CBC@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x8, x9 b.ne LBB0_8 ; %bb.7: ldr x1, [x22, #16] mov x2, x20 mov x3, x19 bl _aes_cbc_decrypt ldr x0, [x22, #16] add x8, x21, w19, uxtw #2 sub x1, x8, #64 mov w2, #16 bl _memcpy b LBB0_9 LBB0_8: mov x1, x20 mov x2, x19 bl _aes_ecb_decrypt LBB0_9: mov w0, #0 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _PXE_CIPHER_INIT,4,2 ; @PXE_CIPHER_INIT .comm _PXE_NOTBLOCKSIZE,4,2 ; @PXE_NOTBLOCKSIZE .comm _MODE_CBC,8,3 ; @MODE_CBC .no_dead_strip _rj_decrypt .subsections_via_symbols
AnghaBench/postgres/contrib/pgcrypto/extr_internal.c_rj_decrypt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvm_lapic_switch_to_sw_timer ## -- Begin function kvm_lapic_switch_to_sw_timer .p2align 4, 0x90 _kvm_lapic_switch_to_sw_timer: ## @kvm_lapic_switch_to_sw_timer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq (%rdi), %rbx xorl %eax, %eax callq _preempt_disable cmpq $0, (%rbx) je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _start_sw_timer LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _preempt_enable ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvm_lapic_switch_to_sw_timer ; -- Begin function kvm_lapic_switch_to_sw_timer .p2align 2 _kvm_lapic_switch_to_sw_timer: ; @kvm_lapic_switch_to_sw_timer .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] bl _preempt_disable ldr x8, [x19] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 bl _start_sw_timer LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _preempt_enable .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/extr_lapic.c_kvm_lapic_switch_to_sw_timer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dl_assert__ ## -- Begin function dl_assert__ .p2align 4, 0x90 _dl_assert__: ## @dl_assert__ .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 %r9d, %r14d movq %r8, %rbx movl %ecx, %r8d movq %rdx, %rcx movq %rsi, %rdx movq _stderr@GOTPCREL(%rip), %r15 movl (%r15), %edi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _fprintf movl (%r15), %edi leaq L_.str.1(%rip), %rsi movq %rbx, %rdx xorl %eax, %eax callq _fprintf testl %r14d, %r14d je LBB0_2 ## %bb.1: leaq L_.str.2(%rip), %rdi callq _perror LBB0_2: xorl %eax, %eax callq _abort .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "dl_assert failed [%s : %s : %d]: " L_.str.1: ## @.str.1 .asciz "%s\n" L_.str.2: ## @.str.2 .asciz "perror description" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dl_assert__ ; -- Begin function dl_assert__ .p2align 2 _dl_assert__: ; @dl_assert__ .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x5 mov x20, x4 ; kill: def $w3 killed $w3 def $x3 mov x8, x1 Lloh0: adrp x21, _stderr@GOTPAGE Lloh1: ldr x21, [x21, _stderr@GOTPAGEOFF] ldr w0, [x21] stp x2, x3, [sp] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x2, x8 bl _fprintf ldr w0, [x21] Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x2, x20 bl _fprintf cbz w19, LBB0_2 ; %bb.1: Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _perror LBB0_2: bl _abort .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "dl_assert failed [%s : %s : %d]: " l_.str.1: ; @.str.1 .asciz "%s\n" l_.str.2: ; @.str.2 .asciz "perror description" .subsections_via_symbols
AnghaBench/kphp-kdb/drinkless/extr_dl-utils-lite.c_dl_assert__.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function store_virtual _store_virtual: ## @store_virtual .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r12 callq _dev_get_drvdata movq %rax, %r14 movq $0, -40(%rbp) leaq -40(%rbp), %rsi xorl %ebx, %ebx movq %r12, %rdi xorl %edx, %edx callq _simple_strtoul movq %rax, -48(%rbp) movq -40(%rbp), %rdi incq %rdi movq %rdi, -40(%rbp) movq %rdi, %rax subq %r12, %rax cmpq %r15, %rax jae LBB0_1 ## %bb.2: leaq -40(%rbp), %rsi xorl %edx, %edx callq _simple_strtoul movq %rax, -56(%rbp) leaq -56(%rbp), %rsi movq %r14, %rdi callq _activate testl %eax, %eax cmovnel %eax, %r15d movl %r15d, %ebx jmp LBB0_3 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax subl (%rax), %ebx LBB0_3: movl %ebx, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _store_virtual .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function store_virtual _store_virtual: ; @store_virtual .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x21, x2 bl _dev_get_drvdata mov x20, x0 str xzr, [sp, #8] add x1, sp, #8 mov x0, x21 mov w2, #0 bl _simple_strtoul str x0, [sp, #24] ldr x8, [sp, #8] add x0, x8, #1 str x0, [sp, #8] sub x8, x0, x21 cmp x8, x19 b.hs LBB0_2 ; %bb.1: add x1, sp, #8 mov w2, #0 bl _simple_strtoul str x0, [sp, #16] add x1, sp, #16 mov x0, x20 bl _activate cmp w0, #0 csel w0, w19, w0, eq b LBB0_3 LBB0_2: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _store_virtual .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/core/extr_fbsysfs.c_store_virtual.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _if_assign ## -- Begin function if_assign .p2align 4, 0x90 _if_assign: ## @if_assign .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 _bitwise_rel ## -- Begin function bitwise_rel .p2align 4, 0x90 _bitwise_rel: ## @bitwise_rel .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 _conditional_op ## -- Begin function conditional_op .p2align 4, 0x90 _conditional_op: ## @conditional_op .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _someConditionFunc popq %rbp jmp _someConditionFunc ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _if_assign ; -- Begin function if_assign .p2align 2 _if_assign: ; @if_assign .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _bitwise_rel ; -- Begin function bitwise_rel .p2align 2 _bitwise_rel: ; @bitwise_rel .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _conditional_op ; -- Begin function conditional_op .p2align 2 _conditional_op: ; @conditional_op .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 _someConditionFunc ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _someConditionFunc .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/154827928.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _exit_process ## -- Begin function exit_process .p2align 4, 0x90 _exit_process: ## @exit_process .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq _preempt_disable movq _NR_TASKS@GOTPCREL(%rip), %rax movl (%rax), %ecx testl %ecx, %ecx jle LBB0_1 ## %bb.3: movq _task@GOTPCREL(%rip), %rax movq (%rax), %rdx movq _current@GOTPCREL(%rip), %rax movq (%rax), %rax xorl %esi, %esi .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpq %rax, (%rdx,%rsi,8) je LBB0_5 ## %bb.2: ## in Loop: Header=BB0_4 Depth=1 incq %rsi cmpq %rsi, %rcx jne LBB0_4 jmp LBB0_6 LBB0_1: movq _current@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_6 LBB0_5: movq _TASK_ZOMBIE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 8(%rax) LBB0_6: movq (%rax), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.7: callq _free_page LBB0_8: xorl %eax, %eax callq _preempt_enable xorl %eax, %eax popq %rbp jmp _schedule ## TAILCALL .cfi_endproc ## -- End function .comm _NR_TASKS,4,2 ## @NR_TASKS .comm _task,8,3 ## @task .comm _current,8,3 ## @current .comm _TASK_ZOMBIE,4,2 ## @TASK_ZOMBIE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _exit_process ; -- Begin function exit_process .p2align 2 _exit_process: ; @exit_process .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 _preempt_disable Lloh0: adrp x8, _NR_TASKS@GOTPAGE Lloh1: ldr x8, [x8, _NR_TASKS@GOTPAGEOFF] Lloh2: ldr w9, [x8] cmp w9, #0 b.le LBB0_4 ; %bb.1: Lloh3: adrp x8, _task@GOTPAGE Lloh4: ldr x8, [x8, _task@GOTPAGEOFF] Lloh5: ldr x10, [x8] Lloh6: adrp x8, _current@GOTPAGE Lloh7: ldr x8, [x8, _current@GOTPAGEOFF] Lloh8: ldr x8, [x8] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10] cmp x11, x8 b.eq LBB0_8 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x10, x10, #8 subs x9, x9, #1 b.ne LBB0_2 b LBB0_5 LBB0_4: Lloh9: adrp x8, _current@GOTPAGE Lloh10: ldr x8, [x8, _current@GOTPAGEOFF] Lloh11: ldr x8, [x8] LBB0_5: ldr x0, [x8] cbz x0, LBB0_7 LBB0_6: bl _free_page LBB0_7: bl _preempt_enable ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _schedule LBB0_8: Lloh12: adrp x9, _TASK_ZOMBIE@GOTPAGE Lloh13: ldr x9, [x9, _TASK_ZOMBIE@GOTPAGEOFF] Lloh14: ldr w9, [x9] str w9, [x8, #8] ldr x0, [x8] cbnz x0, LBB0_6 b LBB0_7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _NR_TASKS,4,2 ; @NR_TASKS .comm _task,8,3 ; @task .comm _current,8,3 ; @current .comm _TASK_ZOMBIE,4,2 ; @TASK_ZOMBIE .subsections_via_symbols
AnghaBench/raspberry-pi-os/exercises/lesson05/2/bl4ckout31/src/extr_sched.c_exit_process.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pl08x_fill_lli_for_desc _pl08x_fill_lli_for_desc: ## @pl08x_fill_lli_for_desc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -44(%rbp) ## 4-byte Spill movl %r8d, -48(%rbp) ## 4-byte Spill movl %ecx, %r14d movq %rsi, %rbx movq %rdi, %r13 movslq (%rdi), %r15 movslq %edx, %rax imulq %rax, %r15 movq 16(%rsi), %rcx movq %r15, %r12 shlq $2, %r12 addq (%rcx), %r12 movl 8(%rcx), %ecx movq %rcx, -56(%rbp) ## 8-byte Spill movq _MAX_NUM_TSFR_LLIS@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpl %eax, (%rcx) setle %dil callq _BUG_ON movl -48(%rbp), %esi ## 4-byte Reload movl (%r13), %eax addl %r15d, %eax movl 12(%rbx), %ecx movq _PL080_LLI_SRC@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movl %ecx, (%r12,%rdx,4) movl 8(%rbx), %ecx movq _PL080_LLI_DST@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movl %ecx, (%r12,%rdx,4) movq -56(%rbp), %rcx ## 8-byte Reload leal (%rcx,%rax,4), %eax movq _PL080_LLI_LLI@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl %eax, (%r12,%rcx,4) orl (%rbx), %eax movl %eax, (%r12,%rcx,4) movq _PL080_LLI_CCTL@GOTPCREL(%rip), %rax movq (%rax), %rax movl %esi, (%r12,%rax,4) movq 8(%r13), %rax cmpq $0, 8(%rax) je LBB0_2 ## %bb.1: movq _PL080S_LLI_CCTL2@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl -44(%rbp), %edx ## 4-byte Reload movl %edx, (%r12,%rcx,4) LBB0_2: cmpq $0, (%rax) je LBB0_4 ## %bb.3: addl %r14d, 12(%rbx) jmp LBB0_7 LBB0_4: movq _PL080_CONTROL_SRC_INCR@GOTPCREL(%rip), %rax testl %esi, (%rax) je LBB0_6 ## %bb.5: addl %r14d, 12(%rbx) LBB0_6: movq _PL080_CONTROL_DST_INCR@GOTPCREL(%rip), %rax testl %esi, (%rax) je LBB0_8 LBB0_7: addl %r14d, 8(%rbx) LBB0_8: xorl %edi, %edi cmpl %r14d, 4(%rbx) setl %dil callq _BUG_ON subl %r14d, 4(%rbx) addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_NUM_TSFR_LLIS,4,2 ## @MAX_NUM_TSFR_LLIS .comm _PL080_LLI_SRC,8,3 ## @PL080_LLI_SRC .comm _PL080_LLI_DST,8,3 ## @PL080_LLI_DST .comm _PL080_LLI_LLI,8,3 ## @PL080_LLI_LLI .comm _PL080_LLI_CCTL,8,3 ## @PL080_LLI_CCTL .comm _PL080S_LLI_CCTL2,8,3 ## @PL080S_LLI_CCTL2 .comm _PL080_CONTROL_SRC_INCR,4,2 ## @PL080_CONTROL_SRC_INCR .comm _PL080_CONTROL_DST_INCR,4,2 ## @PL080_CONTROL_DST_INCR .no_dead_strip _pl08x_fill_lli_for_desc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pl08x_fill_lli_for_desc _pl08x_fill_lli_for_desc: ; @pl08x_fill_lli_for_desc .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x5 mov x21, x4 mov x19, x3 mov x20, x1 mov x23, x0 ldr w8, [x0] mul w25, w8, w2 ldr x8, [x1, #16] ldr x9, [x8] add x24, x9, w25, sxtw #2 ldr w26, [x8, #8] Lloh0: adrp x8, _MAX_NUM_TSFR_LLIS@GOTPAGE Lloh1: ldr x8, [x8, _MAX_NUM_TSFR_LLIS@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w2 cset w0, le bl _BUG_ON ldr w8, [x23] add w8, w8, w25 ldr w9, [x20, #12] Lloh3: adrp x10, _PL080_LLI_SRC@GOTPAGE Lloh4: ldr x10, [x10, _PL080_LLI_SRC@GOTPAGEOFF] Lloh5: ldr x10, [x10] str w9, [x24, x10, lsl #2] ldr w9, [x20, #8] Lloh6: adrp x10, _PL080_LLI_DST@GOTPAGE Lloh7: ldr x10, [x10, _PL080_LLI_DST@GOTPAGEOFF] Lloh8: ldr x10, [x10] str w9, [x24, x10, lsl #2] add w8, w26, w8, lsl #2 Lloh9: adrp x9, _PL080_LLI_LLI@GOTPAGE Lloh10: ldr x9, [x9, _PL080_LLI_LLI@GOTPAGEOFF] Lloh11: ldr x9, [x9] lsl x9, x9, #2 str w8, [x24, x9] ldr w10, [x20] orr w8, w10, w8 str w8, [x24, x9] Lloh12: adrp x8, _PL080_LLI_CCTL@GOTPAGE Lloh13: ldr x8, [x8, _PL080_LLI_CCTL@GOTPAGEOFF] Lloh14: ldr x8, [x8] str w21, [x24, x8, lsl #2] ldr x8, [x23, #8] ldr x9, [x8, #8] cbz x9, LBB0_2 ; %bb.1: Lloh15: adrp x9, _PL080S_LLI_CCTL2@GOTPAGE Lloh16: ldr x9, [x9, _PL080S_LLI_CCTL2@GOTPAGEOFF] Lloh17: ldr x9, [x9] str w22, [x24, x9, lsl #2] LBB0_2: ldr x8, [x8] cbz x8, LBB0_4 ; %bb.3: ldr w8, [x20, #12] add w8, w8, w19 str w8, [x20, #12] b LBB0_7 LBB0_4: Lloh18: adrp x8, _PL080_CONTROL_SRC_INCR@GOTPAGE Lloh19: ldr x8, [x8, _PL080_CONTROL_SRC_INCR@GOTPAGEOFF] Lloh20: ldr w8, [x8] tst w8, w21 b.eq LBB0_6 ; %bb.5: ldr w8, [x20, #12] add w8, w8, w19 str w8, [x20, #12] LBB0_6: Lloh21: adrp x8, _PL080_CONTROL_DST_INCR@GOTPAGE Lloh22: ldr x8, [x8, _PL080_CONTROL_DST_INCR@GOTPAGEOFF] Lloh23: ldr w8, [x8] tst w8, w21 b.eq LBB0_8 LBB0_7: ldr w8, [x20, #8] add w8, w8, w19 str w8, [x20, #8] LBB0_8: ldr w8, [x20, #4] cmp w8, w19 cset w0, lt bl _BUG_ON ldr w8, [x20, #4] sub w8, w8, w19 str w8, [x20, #4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr 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 Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _MAX_NUM_TSFR_LLIS,4,2 ; @MAX_NUM_TSFR_LLIS .comm _PL080_LLI_SRC,8,3 ; @PL080_LLI_SRC .comm _PL080_LLI_DST,8,3 ; @PL080_LLI_DST .comm _PL080_LLI_LLI,8,3 ; @PL080_LLI_LLI .comm _PL080_LLI_CCTL,8,3 ; @PL080_LLI_CCTL .comm _PL080S_LLI_CCTL2,8,3 ; @PL080S_LLI_CCTL2 .comm _PL080_CONTROL_SRC_INCR,4,2 ; @PL080_CONTROL_SRC_INCR .comm _PL080_CONTROL_DST_INCR,4,2 ; @PL080_CONTROL_DST_INCR .no_dead_strip _pl08x_fill_lli_for_desc .subsections_via_symbols
AnghaBench/linux/drivers/dma/extr_amba-pl08x.c_pl08x_fill_lli_for_desc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ks_pcie_am654_raise_irq _ks_pcie_am654_raise_irq: ## @ks_pcie_am654_raise_irq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movl %edx, %ebx movl %esi, %r15d movq %rdi, %r12 callq _to_dw_pcie_from_ep movq %rax, %r13 movq %rax, %rdi callq _to_keystone_pcie cmpl $128, %ebx je LBB0_3 ## %bb.1: cmpl $129, %ebx jne LBB0_4 ## %bb.2: movq %rax, %rdi callq _ks_pcie_am654_raise_legacy_irq xorl %eax, %eax jmp LBB0_5 LBB0_3: movq %r12, %rdi movl %r15d, %esi movl %r14d, %edx callq _dw_pcie_ep_raise_msi_irq xorl %eax, %eax jmp LBB0_5 LBB0_4: movl (%r13), %edi leaq L_.str(%rip), %rsi callq _dev_err movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "UNKNOWN IRQ type\n" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _ks_pcie_am654_raise_irq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ks_pcie_am654_raise_irq _ks_pcie_am654_raise_irq: ; @ks_pcie_am654_raise_irq .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x21, x2 mov x20, x1 mov x22, x0 bl _to_dw_pcie_from_ep mov x23, x0 bl _to_keystone_pcie cmp w21, #128 b.eq LBB0_3 ; %bb.1: cmp w21, #129 b.ne LBB0_4 ; %bb.2: bl _ks_pcie_am654_raise_legacy_irq mov w0, #0 b LBB0_5 LBB0_3: mov x0, x22 mov x1, x20 mov x2, x19 bl _dw_pcie_ep_raise_msi_irq mov w0, #0 b LBB0_5 LBB0_4: ldr w0, [x23] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _dev_err Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 LBB0_5: 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 Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "UNKNOWN IRQ type\n" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _ks_pcie_am654_raise_irq .subsections_via_symbols
AnghaBench/linux/drivers/pci/controller/dwc/extr_pci-keystone.c_ks_pcie_am654_raise_irq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function shquote _shquote: ## @shquote .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq (%rdi), %r15 xorl %ebx, %ebx movq _VIS_CSTYLE@GOTPCREL(%rip), %r13 jmp LBB0_1 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movb $32, (%rax) LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movq (%r14), %r15 testq %r15, %r15 je LBB0_8 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 cmpb $0, (%r15) je LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 addq $8, %r14 movq %rbx, %r12 notq %r12 shrq $2, %r12 movq %r15, %rdi callq _strlen cmpq %r12, %rax cmovbq %rax, %r12 movl (%r13), %ecx movq _VIS_NL@GOTPCREL(%rip), %rax orl (%rax), %ecx movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx callq _strvisx .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb $0, (%rbx) leaq 1(%rbx), %rbx jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 leaq -1(%rbx), %rax cmpq $-5, %rax jbe LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq %rax, %rbx jmp LBB0_7 LBB0_8: leaq -1(%rbx), %rax cmpb $32, -1(%rbx) cmovneq %rbx, %rax movb $0, (%rax) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm __SC_ARG_MAX,4,2 ## @_SC_ARG_MAX .comm _LONG_MAX,4,2 ## @LONG_MAX .comm _SIZE_MAX,4,2 ## @SIZE_MAX .comm _VIS_NL,4,2 ## @VIS_NL .comm _VIS_CSTYLE,4,2 ## @VIS_CSTYLE .no_dead_strip _shquote .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function shquote _shquote: ; @shquote .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x0 mov x19, #0 ; =0x0 ldr x21, [x0] Lloh0: adrp x22, _VIS_NL@GOTPAGE Lloh1: ldr x22, [x22, _VIS_NL@GOTPAGEOFF] Lloh2: adrp x23, _VIS_CSTYLE@GOTPAGE Lloh3: ldr x23, [x23, _VIS_CSTYLE@GOTPAGEOFF] mov w24, #32 ; =0x20 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 strb w24, [x8] ldr x21, [x20] cbz x21, LBB0_7 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ldrb w8, [x21] cbz w8, LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x20, x20, #8 mvn x8, x19 lsr x25, x8, #2 mov x0, x21 bl _strlen cmp x0, x25 csel x2, x0, x25, lo ldr w8, [x22] ldr w9, [x23] orr w3, w9, w8 mov x0, x19 mov x1, x21 bl _strvisx LBB0_4: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x19], #1 cbnz w8, LBB0_4 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 sub x8, x19, #1 cmn x8, #5 b.ls LBB0_1 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 mov x19, x8 ldr x21, [x20] cbnz x21, LBB0_2 LBB0_7: mov x8, x19 ldrb w9, [x8, #-1]! cmp w9, #32 csel x8, x8, x19, eq strb wzr, [x8] mov x0, #0 ; =0x0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm __SC_ARG_MAX,4,2 ; @_SC_ARG_MAX .comm _LONG_MAX,4,2 ; @LONG_MAX .comm _SIZE_MAX,4,2 ; @SIZE_MAX .comm _VIS_NL,4,2 ; @VIS_NL .comm _VIS_CSTYLE,4,2 ; @VIS_CSTYLE .no_dead_strip _shquote .subsections_via_symbols
assembly_file_50079.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _gui_mch_prepare ## -- Begin function gui_mch_prepare .p2align 4, 0x90 _gui_mch_prepare: ## @gui_mch_prepare .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, %r15 movq %rdi, %r13 movq _gui_argc@GOTPCREL(%rip), %rbx movq $0, (%rbx) movl (%rdi), %eax leal 8(,%rax,8), %edi callq _alloc movq _gui_argv@GOTPCREL(%rip), %r14 movq %rax, (%r14) xorl %edi, %edi testq %rax, %rax setne %dil callq _g_return_if_fail movq (%r15), %rax movq (%r14), %rcx movq (%rbx), %rdx leaq -1(%rdx), %rsi movq %rsi, (%rbx) movq %rax, (%rcx,%rdx,8) movl (%r13), %eax cmpl $2, %eax jl LBB0_59 ## %bb.1: movl $1, %r12d movq %r15, -48(%rbp) ## 8-byte Spill movq %r13, -56(%rbp) ## 8-byte Spill LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_9 Depth 2 movslq %r12d, %rcx movslq %eax, %rdx leaq (%r15,%rcx,8), %r14 xorl %eax, %eax xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r14,%rbx,8), %rsi movzbl (%rsi), %esi cmpl $43, %esi je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 cmpl $45, %esi je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 addq $-8, %rax leaq (%rcx,%rbx), %rsi incq %rsi incq %rbx cmpq %rdx, %rsi jl LBB0_3 jmp LBB0_59 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq _cmdline_options@GOTPCREL(%rip), %rcx movq (%rcx), %r15 movq (%r15), %rdi testq %rdi, %rdi je LBB0_43 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rcx subq %rax, %rcx movq %rcx, -80(%rbp) ## 8-byte Spill movl %r12d, %eax movq %rax, -64(%rbp) ## 8-byte Spill addq %rbx, %rax movq %rax, -72(%rbp) ## 8-byte Spill jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_9 Depth=2 movq 16(%r15), %rdi addq $16, %r15 testq %rdi, %rdi je LBB0_43 LBB0_9: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 callq _strlen movl %eax, %r13d movq (%r14,%rbx,8), %rdi movq (%r15), %rsi movl %eax, %edx callq _strncmp testq %rax, %rax je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 movq _ARG_COMPAT_LONG@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 8(%r15) je LBB0_8 ## %bb.11: ## in Loop: Header=BB0_9 Depth=2 movq (%r14,%rbx,8), %rdi movq (%r15), %rsi incq %rsi callq _strcmp testq %rax, %rax jne LBB0_8 jmp LBB0_15 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_9 Depth=2 movq (%r14,%rbx,8), %rdi movslq %r13d, %rax cmpb $61, (%rdi,%rax) jne LBB0_8 ## %bb.13: ## in Loop: Header=BB0_9 Depth=2 movq _ARG_HAS_VALUE@GOTPCREL(%rip), %rax movl (%rax), %eax orl 8(%r15), %eax je LBB0_8 ## %bb.14: ## in Loop: Header=BB0_2 Depth=1 movq (%r15), %rax testq %rax, %rax jne LBB0_16 jmp LBB0_43 LBB0_15: ## in Loop: Header=BB0_2 Depth=1 movq (%r15), %rdi movq %rdi, (%r14,%rbx,8) movq %rdi, %rax testq %rax, %rax je LBB0_43 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 movl 8(%r15), %eax movq _ARG_FOR_GTK@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_2 Depth=1 movq _gui_argv@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _gui_argc@GOTPCREL(%rip), %r8 movq (%r8), %rdx leaq 1(%rdx), %rsi movq %rsi, (%r8) movq %rdi, (%rcx,%rdx,8) jmp LBB0_40 LBB0_18: ## in Loop: Header=BB0_2 Depth=1 movq _ARG_HAS_VALUE@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_26 ## %bb.19: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rax cmpb $61, (%rdi,%rax) jne LBB0_22 ## %bb.20: ## in Loop: Header=BB0_2 Depth=1 addq %rax, %rdi incq %rdi jmp LBB0_27 LBB0_22: ## in Loop: Header=BB0_2 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload addq %rbx, %rax incq %rax movq -56(%rbp), %rcx ## 8-byte Reload cmpl (%rcx), %eax jge LBB0_26 ## %bb.23: ## in Loop: Header=BB0_2 Depth=1 cltq movq %rax, -64(%rbp) ## 8-byte Spill movq -48(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %rdi leaq L_.str(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_26 ## %bb.24: ## in Loop: Header=BB0_2 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq -48(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %rdi jmp LBB0_27 LBB0_26: ## in Loop: Header=BB0_2 Depth=1 xorl %edi, %edi LBB0_27: ## in Loop: Header=BB0_2 Depth=1 movl 8(%r15), %eax movq _ARG_INDEX_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl %eax, %ecx addl $-128, %ecx cmpl $8, %ecx ja LBB0_40 ## %bb.28: ## in Loop: Header=BB0_2 Depth=1 leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB0_29: ## in Loop: Header=BB0_2 Depth=1 movq _role_argument@GOTPCREL(%rip), %rcx jmp LBB0_34 LBB0_30: ## in Loop: Header=BB0_2 Depth=1 movq _foreground_argument@GOTPCREL(%rip), %rcx jmp LBB0_34 LBB0_31: ## in Loop: Header=BB0_2 Depth=1 movq _TRUE@GOTPCREL(%rip), %rcx jmp LBB0_36 LBB0_32: ## in Loop: Header=BB0_2 Depth=1 movq _font_argument@GOTPCREL(%rip), %rcx jmp LBB0_34 LBB0_33: ## in Loop: Header=BB0_2 Depth=1 movq _background_argument@GOTPCREL(%rip), %rcx LBB0_34: ## in Loop: Header=BB0_2 Depth=1 movq %rdi, (%rcx) jmp LBB0_40 LBB0_35: ## in Loop: Header=BB0_2 Depth=1 movq _FALSE@GOTPCREL(%rip), %rcx LBB0_36: ## in Loop: Header=BB0_2 Depth=1 movq (%rcx), %rcx movq _found_reverse_arg@GOTPCREL(%rip), %rdx movq %rcx, (%rdx) jmp LBB0_40 LBB0_37: ## in Loop: Header=BB0_2 Depth=1 movq _TRUE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _found_iconic_arg@GOTPCREL(%rip), %rdx movq %rcx, (%rdx) jmp LBB0_40 LBB0_38: ## in Loop: Header=BB0_2 Depth=1 testq %rdi, %rdi je LBB0_40 ## %bb.39: ## in Loop: Header=BB0_2 Depth=1 callq _vim_strsave movq _gui@GOTPCREL(%rip), %rcx movq %rax, 16(%rcx) movl 8(%r15), %eax LBB0_40: ## in Loop: Header=BB0_2 Depth=1 movq _ARG_NEEDS_GUI@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_42 ## %bb.41: ## in Loop: Header=BB0_2 Depth=1 movq _TRUE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _gui@GOTPCREL(%rip), %rdx movq %rcx, (%rdx) LBB0_42: ## in Loop: Header=BB0_2 Depth=1 movq _ARG_KEEP@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_45 .p2align 4, 0x90 LBB0_43: ## in Loop: Header=BB0_2 Depth=1 addl %ebx, %r12d incl %r12d movq -48(%rbp), %r15 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload LBB0_44: ## in Loop: Header=BB0_2 Depth=1 movl (%r13), %eax cmpl %eax, %r12d jl LBB0_2 jmp LBB0_59 LBB0_45: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %ecx decl %ecx movl %ecx, (%rax) cmpl -72(%rbp), %ecx ## 4-byte Folded Reload jle LBB0_49 ## %bb.46: ## in Loop: Header=BB0_2 Depth=1 movq _ARG_HAS_VALUE@GOTPCREL(%rip), %rax movl (%rax), %eax movl $1, %r9d testl %eax, 8(%r15) je LBB0_48 ## %bb.47: ## in Loop: Header=BB0_2 Depth=1 movq (%r14,%rbx,8), %rax movslq %r13d, %rdx cmpb $61, (%rax,%rdx) jne LBB0_50 LBB0_48: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %r15 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload jmp LBB0_55 LBB0_49: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %r15 ## 8-byte Reload movq -56(%rbp), %r13 ## 8-byte Reload jmp LBB0_58 LBB0_50: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r14,%rbx,8), %rdi leaq L_.str(%rip), %rsi callq _strcmp movq -56(%rbp), %r13 ## 8-byte Reload movl (%r13), %ecx testq %rax, %rax je LBB0_54 ## %bb.51: ## in Loop: Header=BB0_2 Depth=1 decl %ecx movl %ecx, (%r13) movq _ARG_FOR_GTK@GOTPCREL(%rip), %rax movl (%rax), %eax movl $2, %r9d testl %eax, 8(%r15) je LBB0_53 ## %bb.52: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r14,%rbx,8), %rax movq _gui_argv@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq _gui_argc@GOTPCREL(%rip), %r8 movq (%r8), %rsi leaq 1(%rsi), %rdi movq %rdi, (%r8) movq %rax, (%rdx,%rsi,8) LBB0_53: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_55 LBB0_54: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %r15 ## 8-byte Reload movl $1, %r9d LBB0_55: ## in Loop: Header=BB0_2 Depth=1 movl %ecx, %edx cmpl -72(%rbp), %ecx ## 4-byte Folded Reload jle LBB0_57 ## %bb.56: ## in Loop: Header=BB0_2 Depth=1 addl %r12d, %r9d addl %ebx, %r9d movslq %r9d, %rax leaq (%r15,%rax,8), %rsi subl %r12d, %edx subl %ebx, %edx shll $3, %edx movq -80(%rbp), %rdi ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx callq _mch_memmove movl (%r13), %ecx jmp LBB0_58 LBB0_57: ## in Loop: Header=BB0_2 Depth=1 movl %edx, %ecx LBB0_58: ## in Loop: Header=BB0_2 Depth=1 movslq %ecx, %rax movq $0, (%r15,%rax,8) movq -72(%rbp), %r12 ## 8-byte Reload ## kill: def $r12d killed $r12d killed $r12 def $r12 jmp LBB0_44 LBB0_59: movq _gui_argv@GOTPCREL(%rip), %rax movq (%rax), %rax movq _gui_argc@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq $0, (%rax,%rcx,8) addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_29, LBB0_29-LJTI0_0 .set L0_0_set_31, LBB0_31-LJTI0_0 .set L0_0_set_35, LBB0_35-LJTI0_0 .set L0_0_set_40, LBB0_40-LJTI0_0 .set L0_0_set_37, LBB0_37-LJTI0_0 .set L0_0_set_38, LBB0_38-LJTI0_0 .set L0_0_set_30, LBB0_30-LJTI0_0 .set L0_0_set_32, LBB0_32-LJTI0_0 .set L0_0_set_33, LBB0_33-LJTI0_0 LJTI0_0: .long L0_0_set_29 .long L0_0_set_31 .long L0_0_set_35 .long L0_0_set_40 .long L0_0_set_37 .long L0_0_set_38 .long L0_0_set_30 .long L0_0_set_32 .long L0_0_set_33 .end_data_region ## -- End function .comm _gui_argc,8,3 ## @gui_argc .comm _gui_argv,8,3 ## @gui_argv .comm _cmdline_options,8,3 ## @cmdline_options .comm _ARG_HAS_VALUE,4,2 ## @ARG_HAS_VALUE .comm _ARG_COMPAT_LONG,4,2 ## @ARG_COMPAT_LONG .comm _ARG_FOR_GTK,4,2 ## @ARG_FOR_GTK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "--" .comm _ARG_INDEX_MASK,4,2 ## @ARG_INDEX_MASK .comm _TRUE,8,3 ## @TRUE .comm _found_reverse_arg,8,3 ## @found_reverse_arg .comm _FALSE,8,3 ## @FALSE .comm _font_argument,8,3 ## @font_argument .comm _gui,24,3 ## @gui .comm _background_argument,8,3 ## @background_argument .comm _foreground_argument,8,3 ## @foreground_argument .comm _found_iconic_arg,8,3 ## @found_iconic_arg .comm _role_argument,8,3 ## @role_argument .comm _ARG_NEEDS_GUI,4,2 ## @ARG_NEEDS_GUI .comm _ARG_KEEP,4,2 ## @ARG_KEEP .comm _G_DIR_SEPARATOR,4,2 ## @G_DIR_SEPARATOR .comm _MAXPATHL,4,2 ## @MAXPATHL .comm _OK,8,3 ## @OK .comm _abs_restart_command,8,3 ## @abs_restart_command .comm _netbeansArg,8,3 ## @netbeansArg .comm _restart_command,8,3 ## @restart_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _gui_mch_prepare ; -- Begin function gui_mch_prepare .p2align 2 _gui_mch_prepare: ; @gui_mch_prepare .cfi_startproc ; %bb.0: sub sp, sp, #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 x19, x1 mov x20, x0 Lloh0: adrp x24, _gui_argc@GOTPAGE Lloh1: ldr x24, [x24, _gui_argc@GOTPAGEOFF] str xzr, [x24] ldr w8, [x0] lsl w8, w8, #3 add w0, w8, #8 bl _alloc Lloh2: adrp x21, _gui_argv@GOTPAGE Lloh3: ldr x21, [x21, _gui_argv@GOTPAGEOFF] str x0, [x21] cmp x0, #0 cset w0, ne bl _g_return_if_fail ldr x8, [x19] ldr x9, [x21] ldr x10, [x24] sub x11, x10, #1 str x11, [x24] str x8, [x9, x10, lsl #3] ldr w8, [x20] cmp w8, #2 b.lt LBB0_64 ; %bb.1: mov w28, #1 ; =0x1 ; kill: def $w28 killed $w28 killed $x28 def $x28 Lloh4: adrp x21, _ARG_COMPAT_LONG@GOTPAGE Lloh5: ldr x21, [x21, _ARG_COMPAT_LONG@GOTPAGEOFF] LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_9 Depth 2 mov x26, #0 ; =0x0 mov x9, x28 sxtw x27, w9 sxtw x8, w8 add x22, x19, w28, sxtw #3 LBB0_3: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [x22] ldrb w9, [x9] cmp w9, #43 b.eq LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=2 cmp w9, #45 b.eq LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=2 add x26, x26, #1 add x22, x22, #8 add x9, x27, x26 cmp x9, x8 b.lt LBB0_3 b LBB0_64 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 Lloh6: adrp x8, _cmdline_options@GOTPAGE Lloh7: ldr x8, [x8, _cmdline_options@GOTPAGEOFF] Lloh8: ldr x8, [x8] ldr x0, [x8] cbz x0, LBB0_50 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 add x28, x26, w27, uxtw add x25, x8, #8 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 ldr x0, [x25, #8] add x25, x25, #16 cbz x0, LBB0_50 LBB0_9: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 bl _strlen mov x23, x0 ldr x0, [x22] ldur x1, [x25, #-8] mov x2, x23 bl _strncmp cbz x0, LBB0_12 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 ldr w8, [x25] ldr w9, [x21] tst w9, w8 b.eq LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 ldr x0, [x22] ldur x8, [x25, #-8] add x1, x8, #1 bl _strcmp cbnz x0, LBB0_8 b LBB0_15 LBB0_12: ; in Loop: Header=BB0_9 Depth=2 ldr x9, [x22] ldrb w8, [x9, w23, sxtw] cmp w8, #61 b.ne LBB0_8 ; %bb.13: ; in Loop: Header=BB0_9 Depth=2 ldr w8, [x25] Lloh9: adrp x10, _ARG_HAS_VALUE@GOTPAGE Lloh10: ldr x10, [x10, _ARG_HAS_VALUE@GOTPAGEOFF] Lloh11: ldr w10, [x10] orr w8, w10, w8 cbz w8, LBB0_8 ; %bb.14: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x25, #-8] cbnz x8, LBB0_16 b LBB0_50 LBB0_15: ; in Loop: Header=BB0_2 Depth=1 ldur x9, [x25, #-8] str x9, [x22] mov x8, x9 cbz x8, LBB0_50 LBB0_16: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x25] Lloh12: adrp x10, _ARG_FOR_GTK@GOTPAGE Lloh13: ldr x10, [x10, _ARG_FOR_GTK@GOTPAGEOFF] Lloh14: ldr w10, [x10] tst w10, w8 b.eq LBB0_18 ; %bb.17: ; in Loop: Header=BB0_2 Depth=1 Lloh15: adrp x10, _gui_argv@GOTPAGE Lloh16: ldr x10, [x10, _gui_argv@GOTPAGEOFF] Lloh17: ldr x10, [x10] ldr x11, [x24] add x12, x11, #1 str x12, [x24] str x9, [x10, x11, lsl #3] b LBB0_47 LBB0_18: ; in Loop: Header=BB0_2 Depth=1 Lloh18: adrp x10, _ARG_HAS_VALUE@GOTPAGE Lloh19: ldr x10, [x10, _ARG_HAS_VALUE@GOTPAGEOFF] Lloh20: ldr w10, [x10] tst w10, w8 b.eq LBB0_24 ; %bb.19: ; in Loop: Header=BB0_2 Depth=1 add x8, x9, w23, sxtw ldrb w9, [x8] cmp w9, #61 b.ne LBB0_21 ; %bb.20: ; in Loop: Header=BB0_2 Depth=1 add x0, x8, #1 b LBB0_25 LBB0_21: ; in Loop: Header=BB0_2 Depth=1 add x8, x26, w27, uxtw add x9, x8, #1 ldr w8, [x20] cmp w9, w8 b.ge LBB0_24 ; %bb.22: ; in Loop: Header=BB0_2 Depth=1 str x9, [sp, #8] ; 8-byte Folded Spill ldr x0, [x19, w9, sxtw #3] Lloh21: adrp x1, l_.str@PAGE Lloh22: add x1, x1, l_.str@PAGEOFF bl _strcmp cbz x0, LBB0_25 ; %bb.23: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x0, [x19, w8, sxtw #3] b LBB0_25 LBB0_24: ; in Loop: Header=BB0_2 Depth=1 mov x0, #0 ; =0x0 LBB0_25: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x25] Lloh23: adrp x9, _ARG_INDEX_MASK@GOTPAGE Lloh24: ldr x9, [x9, _ARG_INDEX_MASK@GOTPAGEOFF] Lloh25: ldr w9, [x9] and w9, w9, w8 cmp w9, #132 b.gt LBB0_30 ; %bb.26: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #129 b.gt LBB0_34 ; %bb.27: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #128 b.eq LBB0_40 ; %bb.28: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #129 b.ne LBB0_47 ; %bb.29: ; in Loop: Header=BB0_2 Depth=1 Lloh26: adrp x9, _TRUE@GOTPAGE Lloh27: ldr x9, [x9, _TRUE@GOTPAGEOFF] b LBB0_44 LBB0_30: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #134 b.gt LBB0_37 ; %bb.31: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #133 b.eq LBB0_41 ; %bb.32: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #134 b.ne LBB0_47 ; %bb.33: ; in Loop: Header=BB0_2 Depth=1 Lloh28: adrp x9, _foreground_argument@GOTPAGE Lloh29: ldr x9, [x9, _foreground_argument@GOTPAGEOFF] b LBB0_46 LBB0_34: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #130 b.eq LBB0_43 ; %bb.35: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #132 b.ne LBB0_47 ; %bb.36: ; in Loop: Header=BB0_2 Depth=1 Lloh30: adrp x9, _TRUE@GOTPAGE Lloh31: ldr x9, [x9, _TRUE@GOTPAGEOFF] Lloh32: ldr x9, [x9] Lloh33: adrp x10, _found_iconic_arg@GOTPAGE Lloh34: ldr x10, [x10, _found_iconic_arg@GOTPAGEOFF] Lloh35: str x9, [x10] b LBB0_47 LBB0_37: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #135 b.eq LBB0_45 ; %bb.38: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #136 b.ne LBB0_47 ; %bb.39: ; in Loop: Header=BB0_2 Depth=1 Lloh36: adrp x9, _background_argument@GOTPAGE Lloh37: ldr x9, [x9, _background_argument@GOTPAGEOFF] b LBB0_46 LBB0_40: ; in Loop: Header=BB0_2 Depth=1 Lloh38: adrp x9, _role_argument@GOTPAGE Lloh39: ldr x9, [x9, _role_argument@GOTPAGEOFF] b LBB0_46 LBB0_41: ; in Loop: Header=BB0_2 Depth=1 cbz x0, LBB0_47 ; %bb.42: ; in Loop: Header=BB0_2 Depth=1 bl _vim_strsave Lloh40: adrp x8, _gui@GOTPAGE Lloh41: ldr x8, [x8, _gui@GOTPAGEOFF] Lloh42: str x0, [x8, #16] ldr w8, [x25] b LBB0_47 LBB0_43: ; in Loop: Header=BB0_2 Depth=1 Lloh43: adrp x9, _FALSE@GOTPAGE Lloh44: ldr x9, [x9, _FALSE@GOTPAGEOFF] LBB0_44: ; in Loop: Header=BB0_2 Depth=1 ldr x9, [x9] Lloh45: adrp x10, _found_reverse_arg@GOTPAGE Lloh46: ldr x10, [x10, _found_reverse_arg@GOTPAGEOFF] Lloh47: str x9, [x10] b LBB0_47 LBB0_45: ; in Loop: Header=BB0_2 Depth=1 Lloh48: adrp x9, _font_argument@GOTPAGE Lloh49: ldr x9, [x9, _font_argument@GOTPAGEOFF] LBB0_46: ; in Loop: Header=BB0_2 Depth=1 str x0, [x9] LBB0_47: ; in Loop: Header=BB0_2 Depth=1 Lloh50: adrp x9, _ARG_NEEDS_GUI@GOTPAGE Lloh51: ldr x9, [x9, _ARG_NEEDS_GUI@GOTPAGEOFF] Lloh52: ldr w9, [x9] tst w9, w8 b.eq LBB0_49 ; %bb.48: ; in Loop: Header=BB0_2 Depth=1 Lloh53: adrp x9, _TRUE@GOTPAGE Lloh54: ldr x9, [x9, _TRUE@GOTPAGEOFF] Lloh55: ldr x9, [x9] Lloh56: adrp x10, _gui@GOTPAGE Lloh57: ldr x10, [x10, _gui@GOTPAGEOFF] Lloh58: str x9, [x10] LBB0_49: ; in Loop: Header=BB0_2 Depth=1 Lloh59: adrp x9, _ARG_KEEP@GOTPAGE Lloh60: ldr x9, [x9, _ARG_KEEP@GOTPAGEOFF] Lloh61: ldr w9, [x9] tst w9, w8 b.eq LBB0_52 LBB0_50: ; in Loop: Header=BB0_2 Depth=1 add w8, w27, w26 add w28, w8, #1 LBB0_51: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x20] cmp w28, w8 b.lt LBB0_2 b LBB0_64 LBB0_52: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x20] sub w8, w8, #1 str w8, [x20] cmp w8, w28 b.le LBB0_62 ; %bb.53: ; in Loop: Header=BB0_2 Depth=1 ldr w9, [x25] Lloh62: adrp x10, _ARG_HAS_VALUE@GOTPAGE Lloh63: ldr x10, [x10, _ARG_HAS_VALUE@GOTPAGEOFF] Lloh64: ldr w10, [x10] tst w10, w9 b.eq LBB0_59 ; %bb.54: ; in Loop: Header=BB0_2 Depth=1 ldr x9, [x22] ldrb w9, [x9, w23, sxtw] cmp w9, #61 b.eq LBB0_59 ; %bb.55: ; in Loop: Header=BB0_2 Depth=1 ldr x0, [x22, #8] Lloh65: adrp x1, l_.str@PAGE Lloh66: add x1, x1, l_.str@PAGEOFF bl _strcmp ldr w8, [x20] cbz x0, LBB0_59 ; %bb.56: ; in Loop: Header=BB0_2 Depth=1 sub w8, w8, #1 str w8, [x20] ldr w9, [x25] Lloh67: adrp x10, _ARG_FOR_GTK@GOTPAGE Lloh68: ldr x10, [x10, _ARG_FOR_GTK@GOTPAGEOFF] Lloh69: ldr w10, [x10] tst w10, w9 b.eq LBB0_58 ; %bb.57: ; in Loop: Header=BB0_2 Depth=1 ldr x9, [x22, #8] Lloh70: adrp x10, _gui_argv@GOTPAGE Lloh71: ldr x10, [x10, _gui_argv@GOTPAGEOFF] Lloh72: ldr x10, [x10] ldr x11, [x24] add x12, x11, #1 str x12, [x24] str x9, [x10, x11, lsl #3] LBB0_58: ; in Loop: Header=BB0_2 Depth=1 mov w9, #2 ; =0x2 b LBB0_60 LBB0_59: ; in Loop: Header=BB0_2 Depth=1 mov w9, #1 ; =0x1 LBB0_60: ; in Loop: Header=BB0_2 Depth=1 mov w10, w8 cmp w8, w28 b.le LBB0_63 ; %bb.61: ; in Loop: Header=BB0_2 Depth=1 add w8, w27, w26 add w8, w9, w8 lsl x8, x8, #32 add x1, x19, x8, asr #29 sub w8, w10, w27 sub w8, w8, w26 lsl w2, w8, #3 mov x0, x22 bl _mch_memmove ldr w8, [x20] LBB0_62: ; in Loop: Header=BB0_2 Depth=1 str xzr, [x19, w8, sxtw #3] b LBB0_51 LBB0_63: ; in Loop: Header=BB0_2 Depth=1 str xzr, [x19, w10, sxtw #3] b LBB0_51 LBB0_64: Lloh73: adrp x8, _gui_argv@GOTPAGE Lloh74: ldr x8, [x8, _gui_argv@GOTPAGEOFF] Lloh75: ldr x8, [x8] ldr x9, [x24] str xzr, [x8, x9, lsl #3] 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGot Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGot Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotStr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72 .loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75 .cfi_endproc ; -- End function .comm _gui_argc,8,3 ; @gui_argc .comm _gui_argv,8,3 ; @gui_argv .comm _cmdline_options,8,3 ; @cmdline_options .comm _ARG_HAS_VALUE,4,2 ; @ARG_HAS_VALUE .comm _ARG_COMPAT_LONG,4,2 ; @ARG_COMPAT_LONG .comm _ARG_FOR_GTK,4,2 ; @ARG_FOR_GTK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "--" .comm _ARG_INDEX_MASK,4,2 ; @ARG_INDEX_MASK .comm _TRUE,8,3 ; @TRUE .comm _found_reverse_arg,8,3 ; @found_reverse_arg .comm _FALSE,8,3 ; @FALSE .comm _font_argument,8,3 ; @font_argument .comm _gui,24,3 ; @gui .comm _background_argument,8,3 ; @background_argument .comm _foreground_argument,8,3 ; @foreground_argument .comm _found_iconic_arg,8,3 ; @found_iconic_arg .comm _role_argument,8,3 ; @role_argument .comm _ARG_NEEDS_GUI,4,2 ; @ARG_NEEDS_GUI .comm _ARG_KEEP,4,2 ; @ARG_KEEP .comm _G_DIR_SEPARATOR,4,2 ; @G_DIR_SEPARATOR .comm _MAXPATHL,4,2 ; @MAXPATHL .comm _OK,8,3 ; @OK .comm _abs_restart_command,8,3 ; @abs_restart_command .comm _netbeansArg,8,3 ; @netbeansArg .comm _restart_command,8,3 ; @restart_command .subsections_via_symbols
assembly_file_32886.c
assembly_dataset