x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %edi, %edi callq _time movl %eax, %edi callq _srand leaq L_.str(%rip), %rbx movq %rbx, %rdi movl $12, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $12, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $24, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $12, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $134, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $901, %esi ## imm = 0x385 xorl %eax, %eax callq _printf movq %rbx, %rdi movl $23, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $12, %esi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar leaq L_.str.2(%rip), %rdi movl $170, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d " L_.str.2: ## @.str.2 .asciz "Sum of elements between minimum and maximum: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x0, #0 bl _time ; kill: def $w0 killed $w0 killed $x0 bl _srand mov w20, #12 str x20, [sp] Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf mov w8, #3 str x8, [sp] mov x0, x19 bl _printf mov w8, #1 str x8, [sp] mov x0, x19 bl _printf mov w8, #24 str x8, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf mov w8, #134 str x8, [sp] mov x0, x19 bl _printf mov w8, #901 str x8, [sp] mov x0, x19 bl _printf mov w8, #23 str x8, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar mov w8, #170 str x8, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d " l_.str.2: ; @.str.2 .asciz "Sum of elements between minimum and maximum: %d\n" .subsections_via_symbols
the_stack_data/179830162.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _login ## -- Begin function login .p2align 4, 0x90 _login: ## @login .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _login_failed ## -- Begin function login_failed .p2align 4, 0x90 _login_failed: ## @login_failed .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.1(%rip), %rdi popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI2_0: .space 16,88 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl $20, %edi callq _malloc movq %rax, %r14 movl $20, %edi callq _malloc movq %rax, %rbx movaps LCPI2_0(%rip), %xmm0 ## xmm0 = [88,88,88,88,88,88,88,88,88,88,88,88,88,88,88,88] movups %xmm0, (%rax) movl $1482184792, 16(%rax) ## imm = 0x58585858 leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, %rdi callq _gets leaq L_.str.3(%rip), %rdi movq %r14, %rsi movq %rbx, %rdx xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %rsi movl $10, %edx movq %rbx, %rdi callq _strncmp testl %eax, %eax leaq L_.str(%rip), %rax leaq L_.str.1(%rip), %rdi cmoveq %rax, %rdi callq _puts xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "OK! Login!" L_.str.1: ## @.str.1 .asciz "NO! Login failed!" L_.str.2: ## @.str.2 .asciz "Input your message : " L_.str.3: ## @.str.3 .asciz "ptr1:%s\nptr2:%s\n" L_.str.4: ## @.str.4 .asciz "Overwrite!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _login ; -- Begin function login .p2align 2 _login: ; @login .cfi_startproc ; %bb.0: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF b _puts .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _login_failed ; -- Begin function login_failed .p2align 2 _login_failed: ; @login_failed .cfi_startproc ; %bb.0: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF b _puts .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .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 mov w0, #20 bl _malloc mov x19, x0 mov w0, #20 bl _malloc mov x20, x0 mov x8, #22616 movk x8, #22616, lsl #16 movk x8, #22616, lsl #32 movk x8, #22616, lsl #48 stp x8, x8, [x0] str w8, [x0, #16] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x0, x19 bl _gets stp x19, x20, [sp] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf Lloh8: adrp x1, l_.str.4@PAGE Lloh9: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 mov w2, #10 bl _strncmp Lloh10: adrp x8, l_.str.1@PAGE Lloh11: add x8, x8, l_.str.1@PAGEOFF Lloh12: adrp x9, l_.str@PAGE Lloh13: add x9, x9, l_.str@PAGEOFF cmp w0, #0 csel x0, x9, x8, eq bl _puts 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 Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OK! Login!" l_.str.1: ; @.str.1 .asciz "NO! Login failed!" l_.str.2: ; @.str.2 .asciz "Input your message : " l_.str.3: ; @.str.3 .asciz "ptr1:%s\nptr2:%s\n" l_.str.4: ; @.str.4 .asciz "Overwrite!" .subsections_via_symbols
the_stack_data/92030.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qede_tpa_start _qede_tpa_start: ## @qede_tpa_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx 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, %r12 movq %rdi, -56(%rbp) ## 8-byte Spill movq 24(%rsi), %r13 movq (%rdx), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq 8(%rsi), %rbx movq 16(%rsi), %r14 movq _NUM_RX_BDS_MAX@GOTPCREL(%rip), %rax movq (%rax), %r15 andq (%rsi), %r15 leaq (%r14,%r15,8), %rax movq %rax, -72(%rbp) ## 8-byte Spill addq 40(%rdx), %rbx movq %rdx, -64(%rbp) ## 8-byte Spill movl 8(%rdx), %edi callq _le16_to_cpu movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq -72(%rbp), %rdx ## 8-byte Reload movl %eax, %ecx movq %rbx, %r8 xorl %r9d, %r9d callq _qede_tpa_rx_build_skb movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rcx,4), %rbx movl %eax, 16(%r13,%rbx,8) movl 4(%r14,%r15,8), %ecx movl %ecx, 36(%r13,%rbx,8) movl (%r14,%r15,8), %ecx movq %r13, %r14 movl %ecx, 32(%r13,%rbx,8) xorl %edi, %edi testl %eax, %eax sete %dil callq _unlikely testq %rax, %rax movq %rbx, -48(%rbp) ## 8-byte Spill je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movq -56(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi callq _DP_NOTICE movl $1, (%r14,%rbx,8) movq %r12, %rdi callq _qede_rx_bd_ring_consume movq _QEDE_AGG_STATE_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%r14,%rbx,8) movq -64(%rbp), %rbx ## 8-byte Reload jmp LBB0_5 LBB0_2: movq -56(%rbp), %r15 ## 8-byte Reload leaq (%r14,%rbx,8), %r13 addq $16, %r13 movq $0, 24(%r14,%rbx,8) movq _QEDE_AGG_STATE_START@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%r14,%rbx,8) movq -64(%rbp), %rbx ## 8-byte Reload movl 32(%rbx), %edi callq _le16_to_cpu movq _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl sarl %cl, %eax movq _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK@GOTPCREL(%rip), %rcx testl %eax, (%rcx) movl $0, %ecx je LBB0_4 ## %bb.3: movl 12(%rbx), %edi callq _le16_to_cpu movl %eax, %ecx LBB0_4: movq -48(%rbp), %rax ## 8-byte Reload movl %ecx, 4(%r14,%rax,8) movl (%r13), %edi movl 24(%rbx), %edx movl 28(%rbx), %esi callq _qede_get_rxhash movl (%r13), %esi movq %r15, %rdi movq %rbx, %rdx callq _qede_set_gro_params LBB0_5: movq 16(%rbx), %rax movl (%rax), %edi callq _likely testq %rax, %rax je LBB0_7 ## %bb.6: movq (%rbx), %r13 movq 16(%rbx), %rax movl (%rax), %edi callq _le16_to_cpu movq %r15, %rdi movq %r12, %rsi movq %r13, %rdx movl %eax, %ecx callq _qede_fill_frag_skb LBB0_7: movq 16(%rbx), %rax movl 4(%rax), %edi callq _unlikely testq %rax, %rax je LBB0_9 ## %bb.8: leaq L_.str.1(%rip), %rsi movq %r15, %rdi callq _DP_ERR movq _QEDE_AGG_STATE_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, 8(%r14,%rcx,8) LBB0_9: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NUM_RX_BDS_MAX,8,3 ## @NUM_RX_BDS_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to allocate SKB for gro\n" .comm _QEDE_AGG_STATE_ERROR,8,3 ## @QEDE_AGG_STATE_ERROR .comm _QEDE_AGG_STATE_START,8,3 ## @QEDE_AGG_STATE_START .comm _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT,4,2 ## @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT .comm _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK,4,2 ## @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK L_.str.1: ## @.str.1 .asciz "Unlikely - got a TPA aggregation with more than one ext_bd_len_list entry in the TPA start\n" .no_dead_strip _qede_tpa_start .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qede_tpa_start _qede_tpa_start: ; @qede_tpa_start .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 x20, x2 mov x21, x1 mov x19, x0 ldr x24, [x2] Lloh0: adrp x8, _NUM_RX_BDS_MAX@GOTPAGE Lloh1: ldr x8, [x8, _NUM_RX_BDS_MAX@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldp x9, x10, [x1] and x8, x8, x9 ldp x9, x25, [x1, #16] add x22, x9, x8, lsl #3 ldr x8, [x2, #40] add x23, x10, x8 ldr w0, [x2, #8] bl _le16_to_cpu mov x3, x0 mov x0, x19 mov x1, x21 mov x2, x22 mov x4, x23 mov w5, #0 bl _qede_tpa_rx_build_skb mov w8, #40 madd x26, x24, x8, x25 str w0, [x26, #16]! ldr d0, [x22] str d0, [x26, #16] cmp w0, #0 cset w0, eq bl _unlikely Lloh3: adrp x23, _QEDE_AGG_STATE_ERROR@GOTPAGE Lloh4: ldr x23, [x23, _QEDE_AGG_STATE_ERROR@GOTPAGEOFF] cbz x0, LBB0_2 ; %bb.1: Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _DP_NOTICE mov w8, #40 madd x22, x24, x8, x25 mov w8, #1 str w8, [x22] mov x0, x21 bl _qede_rx_bd_ring_consume ldr x8, [x23] str x8, [x22, #8] b LBB0_6 LBB0_2: mov w8, #40 madd x8, x24, x8, x25 str xzr, [x8, #24] Lloh7: adrp x9, _QEDE_AGG_STATE_START@GOTPAGE Lloh8: ldr x9, [x9, _QEDE_AGG_STATE_START@GOTPAGEOFF] Lloh9: ldr x9, [x9] str x9, [x8, #8] ldr w0, [x20, #32] bl _le16_to_cpu Lloh10: adrp x8, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT@GOTPAGE Lloh11: ldr x8, [x8, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT@GOTPAGEOFF] Lloh12: ldr w8, [x8] asr w8, w0, w8 Lloh13: adrp x9, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK@GOTPAGE Lloh14: ldr x9, [x9, _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK@GOTPAGEOFF] Lloh15: ldr w9, [x9] tst w8, w9 b.eq LBB0_4 ; %bb.3: ldr w0, [x20, #12] bl _le16_to_cpu b LBB0_5 LBB0_4: mov w0, #0 LBB0_5: mov w8, #40 madd x8, x24, x8, x25 str w0, [x8, #4] ldr w0, [x26] ldp w2, w1, [x20, #24] bl _qede_get_rxhash ldr w1, [x26] mov x0, x19 mov x2, x20 bl _qede_set_gro_params LBB0_6: ldr x8, [x20, #16] ldr w0, [x8] bl _likely cbz x0, LBB0_8 ; %bb.7: ldr x22, [x20] ldr x8, [x20, #16] ldr w0, [x8] bl _le16_to_cpu mov x3, x0 mov x0, x19 mov x1, x21 mov x2, x22 bl _qede_fill_frag_skb LBB0_8: ldr x8, [x20, #16] ldr w0, [x8, #4] bl _unlikely cbz x0, LBB0_10 ; %bb.9: Lloh16: adrp x1, l_.str.1@PAGE Lloh17: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _DP_ERR ldr x8, [x23] mov w9, #40 madd x9, x24, x9, x25 str x8, [x9, #8] LBB0_10: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _NUM_RX_BDS_MAX,8,3 ; @NUM_RX_BDS_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to allocate SKB for gro\n" .comm _QEDE_AGG_STATE_ERROR,8,3 ; @QEDE_AGG_STATE_ERROR .comm _QEDE_AGG_STATE_START,8,3 ; @QEDE_AGG_STATE_START .comm _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT,4,2 ; @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_SHIFT .comm _PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK,4,2 ; @PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK l_.str.1: ; @.str.1 .asciz "Unlikely - got a TPA aggregation with more than one ext_bd_len_list entry in the TPA start\n" .no_dead_strip _qede_tpa_start .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_fp.c_qede_tpa_start.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 subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _firstNode@GOTPCREL(%rip), %r15 movq $0, (%r15) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -36(%rbp), %rsi xorl %eax, %eax callq _scanf movl -36(%rbp), %edi callq _createCircularLinkedList leaq L_str(%rip), %rdi callq _puts movq (%r15), %r12 testq %r12, %r12 je LBB0_9 ## %bb.1: movl $1, %ebx leaq L_.str.8(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movq 8(%r12), %r12 incl %ebx cmpq (%r15), %r12 jne LBB0_2 jmp LBB0_3 LBB0_9: leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf movq (%r15), %r12 LBB0_3: movq %r12, %rcx ## implicit-def: $rax .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %rax, %rdx movq %rcx, %rax movq 8(%rcx), %rcx cmpq %r12, %rcx jne LBB0_4 ## %bb.5: movq %r12, 8(%rdx) movl (%rax), %esi leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.9(%rip), %rdi callq _puts movq (%r15), %rbx testq %rbx, %rbx je LBB0_10 ## %bb.6: movl $1, %r12d leaq L_.str.8(%rip), %r14 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %edx movq %r14, %rdi movl %r12d, %esi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx incl %r12d cmpq (%r15), %rbx jne LBB0_7 jmp LBB0_8 LBB0_10: leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf LBB0_8: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _createCircularLinkedList ## -- Begin function createCircularLinkedList .p2align 4, 0x90 _createCircularLinkedList: ## @createCircularLinkedList .cfi_startproc ## %bb.0: testl %edi, %edi jle LBB1_7 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 %edi, %r14d movl $16, %edi callq _malloc movq _firstNode@GOTPCREL(%rip), %rbx movq %rax, (%rbx) leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %eax movq (%rbx), %r12 movl %eax, (%r12) movq $0, 8(%r12) cmpl $1, %r14d jne LBB1_3 ## %bb.2: movq %r12, %r15 jmp LBB1_6 LBB1_3: negl %r14d movl $2, %ebx leaq -44(%rbp), %r13 .p2align 4, 0x90 LBB1_4: ## =>This Inner Loop Header: Depth=1 movl $16, %edi callq _malloc movq %rax, %r15 leaq L_.str.5(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %eax movl %eax, (%r15) movq $0, 8(%r15) movq %r15, 8(%r12) leal (%r14,%rbx), %eax incl %eax movl %ebx, %ecx incl %ecx movl %ecx, %ebx movq %r15, %r12 cmpl $1, %eax jne LBB1_4 ## %bb.5: movq _firstNode@GOTPCREL(%rip), %rax movq (%rax), %r12 LBB1_6: movq %r12, 8(%r15) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp LBB1_7: retq .cfi_endproc ## -- End function .globl _deleteLastNode ## -- Begin function deleteLastNode .p2align 4, 0x90 _deleteLastNode: ## @deleteLastNode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _firstNode@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, %rdx ## implicit-def: $rcx .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rsi movq %rdx, %rcx movq 8(%rdx), %rdx cmpq %rax, %rdx jne LBB2_1 ## %bb.2: movq %rax, 8(%rsi) movl (%rcx), %esi leaq L_.str.6(%rip), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .globl _displayCircularLinkedList ## -- Begin function displayCircularLinkedList .p2align 4, 0x90 _displayCircularLinkedList: ## @displayCircularLinkedList .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 _firstNode@GOTPCREL(%rip), %r15 movq (%r15), %rbx testq %rbx, %rbx je LBB3_4 ## %bb.1: movl $1, %r12d leaq L_.str.8(%rip), %r14 .p2align 4, 0x90 LBB3_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %edx movq %r14, %rdi movl %r12d, %esi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx incl %r12d cmpq (%r15), %rbx jne LBB3_2 ## %bb.3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB3_4: leaq L_.str.7(%rip), %rdi xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .comm _firstNode,8,3 ## @firstNode .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Input the number of nodes : " L_.str.1: ## @.str.1 .asciz "%d" L_.str.4: ## @.str.4 .asciz "Input data for node 1 : " L_.str.5: ## @.str.5 .asciz "Input data for node %d : " L_.str.6: ## @.str.6 .asciz "\nThe deleted node is : %d" L_.str.7: ## @.str.7 .asciz "No data found in the list yet." L_.str.8: ## @.str.8 .asciz "Data %d = %d\n" L_str: ## @str .asciz "\nData entered in the list are :" L_str.9: ## @str.9 .asciz "\nAfter deletion the new list are :" .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 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 Lloh0: adrp x20, _firstNode@GOTPAGE Lloh1: ldr x20, [x20, _firstNode@GOTPAGEOFF] str xzr, [x20] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #28 str x8, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w0, [sp, #28] bl _createCircularLinkedList Lloh6: adrp x0, l_str@PAGE Lloh7: add x0, x0, l_str@PAGEOFF bl _puts ldr x21, [x20] cbz x21, LBB0_3 ; %bb.1: mov w22, #1 Lloh8: adrp x19, l_.str.8@PAGE Lloh9: add x19, x19, l_.str.8@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] stp x22, x8, [sp] mov x0, x19 bl _printf ldr x21, [x21, #8] add w22, w22, #1 ldr x8, [x20] cmp x21, x8 b.ne LBB0_2 b LBB0_4 LBB0_3: Lloh10: adrp x0, l_.str.7@PAGE Lloh11: add x0, x0, l_.str.7@PAGEOFF bl _printf ldr x21, [x20] LBB0_4: mov x9, x21 ; implicit-def: $x8 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x10, x8 mov x8, x9 ldr x9, [x9, #8] cmp x9, x21 b.ne LBB0_5 ; %bb.6: str x21, [x10, #8] ldr w8, [x8] str x8, [sp] Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _printf Lloh14: adrp x0, l_str.9@PAGE Lloh15: add x0, x0, l_str.9@PAGEOFF bl _puts ldr x21, [x20] cbz x21, LBB0_9 ; %bb.7: mov w22, #1 Lloh16: adrp x19, l_.str.8@PAGE Lloh17: add x19, x19, l_.str.8@PAGEOFF LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] stp x22, x8, [sp] mov x0, x19 bl _printf ldr x21, [x21, #8] add w22, w22, #1 ldr x8, [x20] cmp x21, x8 b.ne LBB0_8 b LBB0_10 LBB0_9: Lloh18: adrp x0, l_.str.7@PAGE Lloh19: add x0, x0, l_.str.7@PAGEOFF bl _printf LBB0_10: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .globl _createCircularLinkedList ; -- Begin function createCircularLinkedList .p2align 2 _createCircularLinkedList: ; @createCircularLinkedList .cfi_startproc ; %bb.0: cmp w0, #1 b.lt LBB1_7 ; %bb.1: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 mov w0, #16 bl _malloc Lloh20: adrp x23, _firstNode@GOTPAGE Lloh21: ldr x23, [x23, _firstNode@GOTPAGEOFF] str x0, [x23] Lloh22: adrp x0, l_.str.4@PAGE Lloh23: add x0, x0, l_.str.4@PAGEOFF bl _printf add x24, sp, #12 str x24, [sp] Lloh24: adrp x0, l_.str.1@PAGE Lloh25: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w8, [sp, #12] ldr x25, [x23] str w8, [x25] str xzr, [x25, #8] cmp w19, #1 b.ne LBB1_3 ; %bb.2: mov x21, x25 b LBB1_6 LBB1_3: mov w26, #1 Lloh26: adrp x20, l_.str.5@PAGE Lloh27: add x20, x20, l_.str.5@PAGEOFF Lloh28: adrp x22, l_.str.1@PAGE Lloh29: add x22, x22, l_.str.1@PAGEOFF LBB1_4: ; =>This Inner Loop Header: Depth=1 add w26, w26, #1 mov w0, #16 bl _malloc mov x21, x0 str x26, [sp] mov x0, x20 bl _printf str x24, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #12] str w8, [x21] str xzr, [x21, #8] str x21, [x25, #8] mov x25, x21 cmp w19, w26 b.ne LBB1_4 ; %bb.5: ldr x25, [x23] LBB1_6: str x25, [x21, #8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 LBB1_7: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 .cfi_same_value w21 .cfi_same_value w22 .cfi_same_value w23 .cfi_same_value w24 .cfi_same_value w25 .cfi_same_value w26 ret .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _deleteLastNode ; -- Begin function deleteLastNode .p2align 2 _deleteLastNode: ; @deleteLastNode .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 Lloh30: adrp x8, _firstNode@GOTPAGE Lloh31: ldr x8, [x8, _firstNode@GOTPAGEOFF] Lloh32: ldr x8, [x8] mov x10, x8 ; implicit-def: $x9 LBB2_1: ; =>This Inner Loop Header: Depth=1 mov x11, x9 mov x9, x10 ldr x10, [x10, #8] cmp x10, x8 b.ne LBB2_1 ; %bb.2: str x8, [x11, #8] ldr w8, [x9] str x8, [sp] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .cfi_endproc ; -- End function .globl _displayCircularLinkedList ; -- Begin function displayCircularLinkedList .p2align 2 _displayCircularLinkedList: ; @displayCircularLinkedList .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 Lloh35: adrp x20, _firstNode@GOTPAGE Lloh36: ldr x20, [x20, _firstNode@GOTPAGEOFF] ldr x21, [x20] cbz x21, LBB3_4 ; %bb.1: mov w22, #1 Lloh37: adrp x19, l_.str.8@PAGE Lloh38: add x19, x19, l_.str.8@PAGEOFF LBB3_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] stp x22, x8, [sp] mov x0, x19 bl _printf ldr x21, [x21, #8] add w22, w22, #1 ldr x8, [x20] cmp x21, x8 b.ne LBB3_2 ; %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 add sp, sp, #64 ret LBB3_4: Lloh39: adrp x0, l_.str.7@PAGE Lloh40: add x0, x0, l_.str.7@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 add sp, sp, #64 b _printf .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .cfi_endproc ; -- End function .comm _firstNode,8,3 ; @firstNode .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Input the number of nodes : " l_.str.1: ; @.str.1 .asciz "%d" l_.str.4: ; @.str.4 .asciz "Input data for node 1 : " l_.str.5: ; @.str.5 .asciz "Input data for node %d : " l_.str.6: ; @.str.6 .asciz "\nThe deleted node is : %d" l_.str.7: ; @.str.7 .asciz "No data found in the list yet." l_.str.8: ; @.str.8 .asciz "Data %d = %d\n" l_str: ; @str .asciz "\nData entered in the list are :" l_str.9: ; @str.9 .asciz "\nAfter deletion the new list are :" .subsections_via_symbols
the_stack_data/56173.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _asctime_r ## -- Begin function asctime_r .p2align 4, 0x90 _asctime_r: ## @asctime_r .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq %rdi, %rcx leaq L_.str(%rip), %rdx movl $26, %esi movq %rbx, %rdi callq _strftime movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _asctime ## -- Begin function asctime .p2align 4, 0x90 _asctime: ## @asctime .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, %rcx leaq _asctime_buf(%rip), %rbx leaq L_.str(%rip), %rdx movl $26, %esi movq %rbx, %rdi callq _strftime movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _ctime ## -- Begin function ctime .p2align 4, 0x90 _ctime: ## @ctime .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _localtime leaq _asctime_buf(%rip), %rbx leaq L_.str(%rip), %rdx movl $26, %esi movq %rbx, %rdi movq %rax, %rcx callq _strftime movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%a %b %d %H:%M:%S %Y\n" .zerofill __DATA,__bss,_asctime_buf,64,4 ## @asctime_buf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _asctime_r ; -- Begin function asctime_r .p2align 2 _asctime_r: ; @asctime_r .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x3, x0 Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x0, x1 mov w1, #26 bl _strftime mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _asctime ; -- Begin function asctime .p2align 2 _asctime: ; @asctime .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 x3, x0 Lloh2: adrp x19, _asctime_buf@PAGE Lloh3: add x19, x19, _asctime_buf@PAGEOFF Lloh4: adrp x2, l_.str@PAGE Lloh5: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov w1, #26 bl _strftime mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _ctime ; -- Begin function ctime .p2align 2 _ctime: ; @ctime .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _localtime mov x3, x0 Lloh6: adrp x19, _asctime_buf@PAGE Lloh7: add x19, x19, _asctime_buf@PAGEOFF Lloh8: adrp x2, l_.str@PAGE Lloh9: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov w1, #26 bl _strftime mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%a %b %d %H:%M:%S %Y\n" .zerofill __DATA,__bss,_asctime_buf,64,0 ; @asctime_buf .subsections_via_symbols
the_stack_data/54826493.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function grow_seed_array _grow_seed_array: ## @grow_seed_array .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 %esi, %r15d addl (%rdi), %r15d movl $1, %ebx cmpl 4(%rdi), %r15d jb LBB0_4 ## %bb.1: movq %rdi, %r14 movl %r15d, %r12d shrl %r12d leal (%r15,%r12), %eax movq 8(%rdi), %rdi leal 8(,%rax,4), %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: leal (%r15,%r12), %edx addl $2, %edx movq %rax, 8(%r14) movl %edx, 4(%r14) movslq (%r14), %rcx leaq (%rax,%rcx,4), %rdi subl %ecx, %edx shll $2, %edx xorl %esi, %esi callq _memset jmp LBB0_4 LBB0_2: xorl %ebx, %ebx LBB0_4: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _grow_seed_array .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function grow_seed_array _grow_seed_array: ; @grow_seed_array .cfi_startproc ; %bb.0: ldp w8, w9, [x0] add w8, w8, w1 cmp w8, w9 b.hs LBB0_2 ; %bb.1: mov w0, #1 ; =0x1 ret LBB0_2: 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 add w8, w8, w8, lsr #1 add w20, w8, #2 ldr x0, [x0, #8] lsl w1, w20, #2 bl _realloc cbz x0, LBB0_4 ; %bb.3: str x0, [x19, #8] str w20, [x19, #4] ldrsw x8, [x19] add x0, x0, x8, lsl #2 sub w8, w20, w8 lsl w2, w8, #2 mov w1, #0 ; =0x0 bl _memset mov w0, #1 ; =0x1 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _grow_seed_array .subsections_via_symbols
assembly_file_99178.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function put_h264_qpel8_hv_lowpass_mmi _put_h264_qpel8_hv_lowpass_mmi: ## @put_h264_qpel8_hv_lowpass_mmi .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl $8, (%rsp) callq _put_h264_qpel8or16_hv_lowpass_mmi addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _put_h264_qpel8_hv_lowpass_mmi .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function put_h264_qpel8_hv_lowpass_mmi _put_h264_qpel8_hv_lowpass_mmi: ; @put_h264_qpel8_hv_lowpass_mmi .cfi_startproc ; %bb.0: mov w6, #8 b _put_h264_qpel8or16_hv_lowpass_mmi .cfi_endproc ; -- End function .no_dead_strip _put_h264_qpel8_hv_lowpass_mmi .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/mips/extr_h264qpel_mmi.c_put_h264_qpel8_hv_lowpass_mmi.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pci_register_iommu_region _pci_register_iommu_region: ## @pci_register_iommu_region .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 8(%rdi), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi xorl %edx, %edx callq _of_get_property testq %rax, %rax je LBB0_4 ## %bb.1: movq %rax, %r15 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $32, %edi callq _kzalloc movq %rax, %rbx testq %rax, %rax jne LBB0_3 ## %bb.2: leaq L_.str.1(%rip), %rdi callq _prom_printf xorl %eax, %eax callq _prom_halt LBB0_3: leaq L_.str.2(%rip), %rax movq %rax, (%rbx) movq (%r15), %rax addq (%r14), %rax movq %rax, 16(%rbx) movq 8(%r15), %rcx addq %rcx, %rax decq %rax movq %rax, 24(%rbx) movq _IORESOURCE_BUSY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movq %r14, %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _request_resource ## TAILCALL LBB0_4: 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 "virtual-dma" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL L_.str.1: ## @.str.1 .asciz "Cannot allocate IOMMU resource.\n" L_.str.2: ## @.str.2 .asciz "IOMMU" .comm _IORESOURCE_BUSY,4,2 ## @IORESOURCE_BUSY .no_dead_strip _pci_register_iommu_region .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pci_register_iommu_region _pci_register_iommu_region: ; @pci_register_iommu_region .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 x8, [x0, #8] ldr w0, [x8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x2, #0 bl _of_get_property cbz x0, LBB0_4 ; %bb.1: mov x20, x0 Lloh2: adrp x8, _GFP_KERNEL@GOTPAGE Lloh3: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov w0, #32 bl _kzalloc mov x21, x0 cbnz x0, LBB0_3 ; %bb.2: Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _prom_printf bl _prom_halt LBB0_3: Lloh7: adrp x8, l_.str.2@PAGE Lloh8: add x8, x8, l_.str.2@PAGEOFF str x8, [x21] ldr x8, [x19] ldr x9, [x20] add x8, x9, x8 str x8, [x21, #16] ldr x9, [x20, #8] add x8, x8, x9 sub x8, x8, #1 str x8, [x21, #24] Lloh9: adrp x8, _IORESOURCE_BUSY@GOTPAGE Lloh10: ldr x8, [x8, _IORESOURCE_BUSY@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [x21, #8] mov x0, x19 mov x1, 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 _request_resource LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "virtual-dma" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL l_.str.1: ; @.str.1 .asciz "Cannot allocate IOMMU resource.\n" l_.str.2: ; @.str.2 .asciz "IOMMU" .comm _IORESOURCE_BUSY,4,2 ; @IORESOURCE_BUSY .no_dead_strip _pci_register_iommu_region .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/sparc/kernel/extr_pci_common.c_pci_register_iommu_region.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/2806.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rt2560_update_plcp _rt2560_update_plcp: ## @rt2560_update_plcp .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, %rbx movq _RT2560_PLCP1MCSR@GOTPCREL(%rip), %rax movl (%rax), %esi movl $7341056, %edx ## imm = 0x700400 callq _RAL_WRITE movq _IEEE80211_F_SHPREAMBLE@GOTPCREL(%rip), %r12 movl (%r12), %eax xorl %ecx, %ecx andl (%rbx), %eax setne %cl movq _RT2560_PLCP2MCSR@GOTPCREL(%rip), %rax movl (%rax), %esi leal 3671041(,%rcx,8), %edx leal 1377282(,%rcx,8), %r14d leal 754691(,%rcx,8), %r15d movq %rbx, %rdi callq _RAL_WRITE movq _RT2560_PLCP5p5MCSR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _RAL_WRITE movq _RT2560_PLCP11MCSR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _RAL_WRITE movl (%r12), %eax andl (%rbx), %eax leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rdx cmoveq %rax, %rdx leaq L_.str(%rip), %rsi movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _DPRINTF ## TAILCALL .cfi_endproc ## -- End function .comm _RT2560_PLCP1MCSR,4,2 ## @RT2560_PLCP1MCSR .comm _IEEE80211_F_SHPREAMBLE,4,2 ## @IEEE80211_F_SHPREAMBLE .comm _RT2560_PLCP2MCSR,4,2 ## @RT2560_PLCP2MCSR .comm _RT2560_PLCP5p5MCSR,4,2 ## @RT2560_PLCP5p5MCSR .comm _RT2560_PLCP11MCSR,4,2 ## @RT2560_PLCP11MCSR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "updating PLCP for %s preamble\n" L_.str.1: ## @.str.1 .asciz "short" L_.str.2: ## @.str.2 .asciz "long" .no_dead_strip _rt2560_update_plcp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rt2560_update_plcp _rt2560_update_plcp: ; @rt2560_update_plcp .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, _RT2560_PLCP1MCSR@GOTPAGE Lloh1: ldr x8, [x8, _RT2560_PLCP1MCSR@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #1024 movk w2, #112, lsl #16 bl _RAL_WRITE ldr w8, [x19] Lloh3: adrp x22, _IEEE80211_F_SHPREAMBLE@GOTPAGE Lloh4: ldr x22, [x22, _IEEE80211_F_SHPREAMBLE@GOTPAGEOFF] Lloh5: adrp x9, _RT2560_PLCP2MCSR@GOTPAGE Lloh6: ldr x9, [x9, _RT2560_PLCP2MCSR@GOTPAGEOFF] ldr w10, [x22] Lloh7: ldr w1, [x9] mov w9, #1025 movk w9, #56, lsl #16 orr w11, w9, #0x8 tst w10, w8 csel w2, w9, w11, eq mov w8, #1026 movk w8, #21, lsl #16 orr w9, w8, #0x8 csel w20, w8, w9, eq mov w8, #33795 movk w8, #11, lsl #16 orr w9, w8, #0x8 csel w21, w8, w9, eq mov x0, x19 bl _RAL_WRITE Lloh8: adrp x8, _RT2560_PLCP5p5MCSR@GOTPAGE Lloh9: ldr x8, [x8, _RT2560_PLCP5p5MCSR@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x0, x19 mov x2, x20 bl _RAL_WRITE Lloh11: adrp x8, _RT2560_PLCP11MCSR@GOTPAGE Lloh12: ldr x8, [x8, _RT2560_PLCP11MCSR@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _RAL_WRITE ldr w8, [x19] ldr w9, [x22] Lloh14: adrp x10, l_.str.1@PAGE Lloh15: add x10, x10, l_.str.1@PAGEOFF Lloh16: adrp x11, l_.str.2@PAGE Lloh17: add x11, x11, l_.str.2@PAGEOFF tst w9, w8 csel x2, x11, x10, eq Lloh18: adrp x1, l_.str@PAGE Lloh19: add x1, x1, l_.str@PAGEOFF 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 _DPRINTF .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RT2560_PLCP1MCSR,4,2 ; @RT2560_PLCP1MCSR .comm _IEEE80211_F_SHPREAMBLE,4,2 ; @IEEE80211_F_SHPREAMBLE .comm _RT2560_PLCP2MCSR,4,2 ; @RT2560_PLCP2MCSR .comm _RT2560_PLCP5p5MCSR,4,2 ; @RT2560_PLCP5p5MCSR .comm _RT2560_PLCP11MCSR,4,2 ; @RT2560_PLCP11MCSR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "updating PLCP for %s preamble\n" l_.str.1: ; @.str.1 .asciz "short" l_.str.2: ; @.str.2 .asciz "long" .no_dead_strip _rt2560_update_plcp .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ral/extr_rt2560.c_rt2560_update_plcp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ext4_new_meta_blocks ## -- Begin function ext4_new_meta_blocks .p2align 4, 0x90 _ext4_new_meta_blocks: ## @ext4_new_meta_blocks .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 %r9, %r13 movq %r8, %rbx movl %ecx, %r12d movl %edx, %r14d movq %rsi, %r15 movq %rdi, -72(%rbp) ## 8-byte Spill leaq -64(%rbp), %rdi xorl %esi, %esi movl $24, %edx callq _memset movq %r15, -80(%rbp) ## 8-byte Spill movq %r15, -48(%rbp) movl %r14d, -52(%rbp) testq %rbx, %rbx je LBB0_1 ## %bb.2: movq (%rbx), %rax movq %rax, -64(%rbp) movl %r12d, -56(%rbp) leaq -64(%rbp), %rsi movq -72(%rbp), %rdi ## 8-byte Reload movq %r13, %rdx callq _ext4_mb_new_blocks movl %eax, %r14d movq -64(%rbp), %rax movq %rax, (%rbx) cmpl $0, (%r13) jne LBB0_6 jmp LBB0_4 LBB0_1: movq $1, -64(%rbp) movl %r12d, -56(%rbp) leaq -64(%rbp), %rsi movq -72(%rbp), %rdi ## 8-byte Reload movq %r13, %rdx callq _ext4_mb_new_blocks movl %eax, %r14d cmpl $0, (%r13) jne LBB0_6 LBB0_4: movq _EXT4_MB_DELALLOC_RESERVED@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_6 ## %bb.5: movq -80(%rbp), %rbx ## 8-byte Reload movl (%rbx), %edi callq _EXT4_SB movq -64(%rbp), %rsi movl %eax, %edi callq _EXT4_C2B movq %rbx, %rdi movl %eax, %esi callq _dquot_alloc_block_nofail LBB0_6: movl %r14d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EXT4_MB_DELALLOC_RESERVED,4,2 ## @EXT4_MB_DELALLOC_RESERVED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ext4_new_meta_blocks ; -- Begin function ext4_new_meta_blocks .p2align 2 _ext4_new_meta_blocks: ; @ext4_new_meta_blocks .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x5 mov x23, x4 mov x20, x3 mov x24, x2 mov x19, x1 mov x22, x0 add x0, sp, #8 mov w1, #0 mov w2, #24 bl _memset str x19, [sp, #24] str w24, [sp, #20] cbz x23, LBB0_2 ; %bb.1: ldr x8, [x23] str x8, [sp, #8] str w20, [sp, #16] add x1, sp, #8 mov x0, x22 mov x2, x21 bl _ext4_mb_new_blocks mov x22, x0 ldr x8, [sp, #8] str x8, [x23] ldr w8, [x21] cbnz w8, LBB0_5 b LBB0_3 LBB0_2: mov w8, #1 str x8, [sp, #8] str w20, [sp, #16] add x1, sp, #8 mov x0, x22 mov x2, x21 bl _ext4_mb_new_blocks mov x22, x0 ldr w8, [x21] cbnz w8, LBB0_5 LBB0_3: Lloh0: adrp x8, _EXT4_MB_DELALLOC_RESERVED@GOTPAGE Lloh1: ldr x8, [x8, _EXT4_MB_DELALLOC_RESERVED@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w20 b.eq LBB0_5 ; %bb.4: ldr w0, [x19] bl _EXT4_SB ldr x1, [sp, #8] bl _EXT4_C2B mov x1, x0 mov x0, x19 bl _dquot_alloc_block_nofail LBB0_5: mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EXT4_MB_DELALLOC_RESERVED,4,2 ; @EXT4_MB_DELALLOC_RESERVED .subsections_via_symbols
AnghaBench/linux/fs/ext4/extr_balloc.c_ext4_new_meta_blocks.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function isLikeOrGlob _isLikeOrGlob: ## @isLikeOrGlob .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 %rcx, %r12 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq 16(%rdi), %r13 leaq -80(%rbp), %rcx movq %r13, %rdi movq %r8, %rdx callq _sqlite3IsLikeFunction testl %eax, %eax je LBB0_8 ## %bb.1: movq %r13, -120(%rbp) ## 8-byte Spill movq 24(%rbx), %rax movq (%rax), %rax movq (%rax), %rdi movq 8(%rax), %rbx callq _sqlite3ExprSkipCollate movq %rax, %r13 movl (%rax), %edx movq _TK_VARIABLE@GOTPCREL(%rip), %rax cmpl (%rax), %edx je LBB0_5 ## %bb.2: movq _SQLITE_EnableQPSG@GOTPCREL(%rip), %rax movl (%rax), %eax movq -120(%rbp), %rcx ## 8-byte Reload orl (%rcx), %eax je LBB0_5 ## %bb.3: movq _TK_STRING@GOTPCREL(%rip), %rax cmpl (%rax), %edx jne LBB0_39 ## %bb.4: movq %rbx, -104(%rbp) ## 8-byte Spill movl %edx, -92(%rbp) ## 4-byte Spill movq %r15, -136(%rbp) ## 8-byte Spill movq %r13, -112(%rbp) ## 8-byte Spill movq 8(%r13), %r13 xorl %r15d, %r15d jmp LBB0_12 LBB0_5: movq %rbx, -104(%rbp) ## 8-byte Spill movl %edx, -92(%rbp) ## 4-byte Spill movq %r15, -136(%rbp) ## 8-byte Spill movq 8(%r14), %rdi movl 4(%r13), %ebx movq _SQLITE_AFF_BLOB@GOTPCREL(%rip), %rax movl (%rax), %edx movl %ebx, %esi callq _sqlite3VdbeGetBoundValue movq %rax, %r15 testq %rax, %rax movq %r13, -112(%rbp) ## 8-byte Spill je LBB0_10 ## %bb.6: movq %r15, %rdi callq _sqlite3_value_type movq _SQLITE_TEXT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_10 ## %bb.7: movq %r15, %rdi callq _sqlite3_value_text movq %rax, %r13 jmp LBB0_11 LBB0_8: xorl %ebx, %ebx jmp LBB0_46 LBB0_10: xorl %r13d, %r13d LBB0_11: movq (%r14), %rdi movl %ebx, %esi callq _sqlite3VdbeSetVarmask movq -112(%rbp), %rax ## 8-byte Reload movl (%rax), %eax movq _TK_VARIABLE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %cl movq _TK_REGISTER@GOTPCREL(%rip), %rdx cmpl (%rdx), %eax sete %al orb %cl, %al movzbl %al, %edi callq _assert LBB0_12: xorl %ebx, %ebx testq %r13, %r13 je LBB0_45 ## %bb.13: movq -80(%rbp), %rax movq -72(%rbp), %rdx movq -64(%rbp), %rsi movq (%r13), %rcx testq %rcx, %rcx sete %dil cmpq %rax, %rcx sete %r8b orb %dil, %r8b cmpq %rdx, %rcx sete %dil cmpq %rsi, %rcx sete %r9b orb %dil, %r9b orb %r8b, %r9b jne LBB0_45 ## %bb.14: movq %r12, -128(%rbp) ## 8-byte Spill movq %r15, -88(%rbp) ## 8-byte Spill xorl %r12d, %r12d movq -56(%rbp), %rdi movq %rcx, %r8 .p2align 4, 0x90 LBB0_15: ## =>This Inner Loop Header: Depth=1 leal -1(%r12), %r9d cmpq %rdi, %r8 jne LBB0_18 ## %bb.16: ## in Loop: Header=BB0_15 Depth=1 movslq %r9d, %r8 cmpq $0, (%r13,%r8,8) je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_15 Depth=1 movl %r12d, %r9d LBB0_18: ## in Loop: Header=BB0_15 Depth=1 movl %r9d, %r12d movslq %r9d, %r15 movq (%r13,%r15,8), %r8 testq %r8, %r8 je LBB0_22 ## %bb.19: ## in Loop: Header=BB0_15 Depth=1 cmpq %rax, %r8 je LBB0_22 ## %bb.20: ## in Loop: Header=BB0_15 Depth=1 cmpq %rdx, %r8 je LBB0_22 ## %bb.21: ## in Loop: Header=BB0_15 Depth=1 cmpq %rsi, %r8 jne LBB0_15 LBB0_22: xorl %ebx, %ebx testl %r12d, %r12d je LBB0_44 ## %bb.23: cmpq $255, -8(%r13,%r15,8) je LBB0_44 ## %bb.24: cmpl $1, %r12d jg LBB0_26 ## %bb.25: cmpq -56(%rbp), %rcx je LBB0_44 LBB0_26: xorl %ecx, %ecx cmpq %rax, %r8 jne LBB0_28 ## %bb.27: xorl %ecx, %ecx cmpq $0, 8(%r13,%r15,8) sete %cl LBB0_28: movq -128(%rbp), %rax ## 8-byte Reload movl %ecx, (%rax) movq _TK_STRING@GOTPCREL(%rip), %rax movl (%rax), %esi movq -120(%rbp), %rdi ## 8-byte Reload movq %r13, %rdx callq _sqlite3Expr movq %rax, %rbx testq %rax, %rax je LBB0_40 ## %bb.29: movq 8(%rbx), %r13 movb $0, (%r13,%r15) xorl %r15d, %r15d testl %r12d, %r12d js LBB0_32 ## %bb.30: xorl %eax, %eax .p2align 4, 0x90 LBB0_31: ## =>This Inner Loop Header: Depth=1 cltq movsbq (%r13,%rax), %rcx xorl %edx, %edx cmpq %rcx, -56(%rbp) sete %dl leal (%rax,%rdx), %ecx movslq %ecx, %rcx movzbl (%r13,%rcx), %esi movb %sil, (%r13,%r15) incq %r15 addl %edx, %eax incl %eax cmpl %r12d, %ecx jl LBB0_31 LBB0_32: movl %r15d, %eax movb $0, (%r13,%rax) movsbl (%r13), %edi callq _sqlite3Isdigit testq %rax, %rax jne LBB0_35 ## %bb.33: movzbl (%r13), %eax cmpb $45, %al je LBB0_35 ## %bb.34: cmpb $47, %al setne %al cmpl $1, %r15d setne %cl orb %al, %cl jne LBB0_40 LBB0_35: movq -104(%rbp), %rax ## 8-byte Reload movslq (%rax), %rax movq _TK_COLUMN@GOTPCREL(%rip), %rcx cmpq %rax, (%rcx) jne LBB0_38 ## %bb.36: movq -104(%rbp), %rdi ## 8-byte Reload callq _sqlite3ExprAffinity movq _SQLITE_AFF_TEXT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_38 ## %bb.37: movq -104(%rbp), %rax ## 8-byte Reload movl 16(%rax), %edi callq _IsVirtual testq %rax, %rax je LBB0_40 LBB0_38: movq -120(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _sqlite3ExprDelete xorl %ebx, %ebx jmp LBB0_44 LBB0_39: xorl %r15d, %r15d xorl %ebx, %ebx jmp LBB0_45 LBB0_40: movq -136(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax) movl $1, %ebx movl -92(%rbp), %eax ## 4-byte Reload movq _TK_VARIABLE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_44 ## %bb.41: movq (%r14), %r15 movq -112(%rbp), %r12 ## 8-byte Reload movl 4(%r12), %esi movq %r15, %rdi callq _sqlite3VdbeSetVarmask movq -128(%rbp), %rax ## 8-byte Reload cmpl $0, (%rax) je LBB0_44 ## %bb.42: movq 8(%r12), %rax cmpb $0, 1(%rax) je LBB0_44 ## %bb.43: movq %r14, %rdi callq _sqlite3GetTempReg movq %r12, %rsi movl %eax, %r13d movq %r14, %rdi movl %eax, %edx callq _sqlite3ExprCodeTarget movq %r15, %rdi callq _sqlite3VdbeCurrentAddr leaq -1(%rax), %rsi movq %r15, %rdi xorl %edx, %edx callq _sqlite3VdbeChangeP3 movq %r14, %rdi movl %r13d, %esi callq _sqlite3ReleaseTempReg LBB0_44: movq -88(%rbp), %r15 ## 8-byte Reload LBB0_45: movq %r15, %rdi callq _sqlite3ValueFree LBB0_46: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_48 ## %bb.47: movl %ebx, %eax addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_48: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _TK_VARIABLE,4,2 ## @TK_VARIABLE .comm _SQLITE_EnableQPSG,4,2 ## @SQLITE_EnableQPSG .comm _SQLITE_AFF_BLOB,4,2 ## @SQLITE_AFF_BLOB .comm _SQLITE_TEXT,8,3 ## @SQLITE_TEXT .comm _TK_REGISTER,4,2 ## @TK_REGISTER .comm _TK_STRING,4,2 ## @TK_STRING .comm _TK_COLUMN,8,3 ## @TK_COLUMN .comm _SQLITE_AFF_TEXT,8,3 ## @SQLITE_AFF_TEXT .no_dead_strip _isLikeOrGlob .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function isLikeOrGlob _isLikeOrGlob: ; @isLikeOrGlob .cfi_startproc ; %bb.0: sub sp, sp, #160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x3 mov x22, x2 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #56] ldr x24, [x0, #16] add x3, sp, #24 mov x0, x24 mov x2, x4 bl _sqlite3IsLikeFunction cbz w0, LBB0_8 ; %bb.1: ldr x8, [x19, #24] ldr x8, [x8] ldp x0, x19, [x8] bl _sqlite3ExprSkipCollate mov x23, x0 ldr w28, [x0] Lloh3: adrp x25, _TK_VARIABLE@GOTPAGE Lloh4: ldr x25, [x25, _TK_VARIABLE@GOTPAGEOFF] ldr w8, [x25] cmp w28, w8 b.eq LBB0_5 ; %bb.2: ldr w8, [x24] Lloh5: adrp x9, _SQLITE_EnableQPSG@GOTPAGE Lloh6: ldr x9, [x9, _SQLITE_EnableQPSG@GOTPAGEOFF] Lloh7: ldr w9, [x9] orr w8, w9, w8 cbz w8, LBB0_5 ; %bb.3: Lloh8: adrp x8, _TK_STRING@GOTPAGE Lloh9: ldr x8, [x8, _TK_STRING@GOTPAGEOFF] Lloh10: ldr w8, [x8] cmp w28, w8 b.ne LBB0_25 ; %bb.4: str x19, [sp, #16] ; 8-byte Folded Spill mov x19, #0 ; =0x0 ldr x26, [x23, #8] mov w27, #0 ; =0x0 cbnz x26, LBB0_11 b LBB0_26 LBB0_5: str x19, [sp, #16] ; 8-byte Folded Spill ldr x0, [x20, #8] ldr w27, [x23, #4] Lloh11: adrp x8, _SQLITE_AFF_BLOB@GOTPAGE Lloh12: ldr x8, [x8, _SQLITE_AFF_BLOB@GOTPAGEOFF] Lloh13: ldr w2, [x8] mov x1, x27 bl _sqlite3VdbeGetBoundValue mov x19, x0 cbz x0, LBB0_9 ; %bb.6: mov x0, x19 bl _sqlite3_value_type Lloh14: adrp x8, _SQLITE_TEXT@GOTPAGE Lloh15: ldr x8, [x8, _SQLITE_TEXT@GOTPAGEOFF] Lloh16: ldr x8, [x8] cmp x0, x8 b.ne LBB0_9 ; %bb.7: mov x0, x19 bl _sqlite3_value_text mov x26, x0 b LBB0_10 LBB0_8: mov w27, #0 ; =0x0 b LBB0_27 LBB0_9: mov x26, #0 ; =0x0 LBB0_10: ldr x0, [x20] mov x1, x27 bl _sqlite3VdbeSetVarmask ldr w8, [x23] ldr w9, [x25] cmp w8, w9 Lloh17: adrp x9, _TK_REGISTER@GOTPAGE Lloh18: ldr x9, [x9, _TK_REGISTER@GOTPAGEOFF] Lloh19: ldr w9, [x9] ccmp w8, w9, #4, ne cset w0, eq bl _assert mov w27, #0 ; =0x0 cbz x26, LBB0_26 LBB0_11: ldr x8, [x26] cbz x8, LBB0_26 ; %bb.12: ldr x9, [sp, #24] cmp x8, x9 b.eq LBB0_26 ; %bb.13: ldr x10, [sp, #32] cmp x8, x10 b.eq LBB0_26 ; %bb.14: ldr x11, [sp, #40] cmp x8, x11 b.eq LBB0_26 ; %bb.15: mov w27, #0 ; =0x0 ldr x13, [sp, #48] mov x12, x8 b LBB0_18 LBB0_16: ; in Loop: Header=BB0_18 Depth=1 ldr x12, [x26, w14, sxtw #3] cmp x12, #0 csel w27, w14, w27, eq LBB0_17: ; in Loop: Header=BB0_18 Depth=1 ldr x12, [x26, w27, sxtw #3] cmp x12, #0 ccmp x12, x9, #4, ne ccmp x12, x10, #4, ne ccmp x12, x11, #4, ne b.eq LBB0_20 LBB0_18: ; =>This Inner Loop Header: Depth=1 sub w14, w27, #1 cmp x12, x13 b.eq LBB0_16 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 mov x27, x14 b LBB0_17 LBB0_20: cbz w27, LBB0_26 ; %bb.21: sxtw x25, w27 add x10, x26, x25, lsl #3 ldur x11, [x10, #-8] cmp x11, #255 b.eq LBB0_24 ; %bb.22: cmp w27, #1 b.gt LBB0_29 ; %bb.23: ldr x11, [sp, #48] cmp x8, x11 b.ne LBB0_29 LBB0_24: mov w27, #0 ; =0x0 b LBB0_26 LBB0_25: mov x19, #0 ; =0x0 mov w27, #0 ; =0x0 LBB0_26: mov x0, x19 bl _sqlite3ValueFree LBB0_27: ldr x8, [sp, #56] Lloh20: adrp x9, ___stack_chk_guard@GOTPAGE Lloh21: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x9, x8 b.ne LBB0_50 ; %bb.28: 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 add sp, sp, #160 ret LBB0_29: cmp x12, x9 b.ne LBB0_31 ; %bb.30: ldr x8, [x10, #8] cmp x8, #0 cset w8, eq b LBB0_32 LBB0_31: mov w8, #0 ; =0x0 LBB0_32: str w8, [x21] Lloh23: adrp x8, _TK_STRING@GOTPAGE Lloh24: ldr x8, [x8, _TK_STRING@GOTPAGEOFF] Lloh25: ldr w1, [x8] mov x0, x24 mov x2, x26 bl _sqlite3Expr mov x1, x0 cbz x0, LBB0_45 ; %bb.33: ldr x26, [x1, #8] strb wzr, [x26, x25] str x1, [sp, #8] ; 8-byte Folded Spill tbnz w27, #31, LBB0_36 ; %bb.34: mov x25, #0 ; =0x0 mov w8, #0 ; =0x0 LBB0_35: ; =>This Inner Loop Header: Depth=1 sxtw x8, w8 ldrsb x9, [x26, x8] ldr x10, [sp, #48] cmp x10, x9 cinc x9, x8, eq ldrb w8, [x26, x9] strb w8, [x26, x25] add x25, x25, #1 add w8, w9, #1 cmp w9, w27 b.lt LBB0_35 b LBB0_37 LBB0_36: mov w25, #0 ; =0x0 LBB0_37: strb wzr, [x26, w25, uxtw] ldrsb w0, [x26] bl _sqlite3Isdigit ldr x1, [sp, #8] ; 8-byte Folded Reload cbnz x0, LBB0_41 ; %bb.38: ldrb w8, [x26] cmp w8, #45 b.eq LBB0_41 ; %bb.39: cmp w8, #47 b.ne LBB0_45 ; %bb.40: cmp w25, #1 b.ne LBB0_45 LBB0_41: ldr x8, [sp, #16] ; 8-byte Folded Reload ldrsw x8, [x8] Lloh26: adrp x9, _TK_COLUMN@GOTPAGE Lloh27: ldr x9, [x9, _TK_COLUMN@GOTPAGEOFF] Lloh28: ldr x9, [x9] cmp x9, x8 b.ne LBB0_44 ; %bb.42: ldr x0, [sp, #16] ; 8-byte Folded Reload bl _sqlite3ExprAffinity ldr x1, [sp, #8] ; 8-byte Folded Reload Lloh29: adrp x8, _SQLITE_AFF_TEXT@GOTPAGE Lloh30: ldr x8, [x8, _SQLITE_AFF_TEXT@GOTPAGEOFF] Lloh31: ldr x8, [x8] cmp x0, x8 b.ne LBB0_44 ; %bb.43: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr w0, [x8, #16] bl _IsVirtual ldr x1, [sp, #8] ; 8-byte Folded Reload cbz x0, LBB0_45 LBB0_44: mov x0, x24 bl _sqlite3ExprDelete mov w27, #0 ; =0x0 b LBB0_26 LBB0_45: str x1, [x22] Lloh32: adrp x8, _TK_VARIABLE@GOTPAGE Lloh33: ldr x8, [x8, _TK_VARIABLE@GOTPAGEOFF] Lloh34: ldr w8, [x8] cmp w28, w8 b.ne LBB0_49 ; %bb.46: ldr x22, [x20] ldr w1, [x23, #4] mov x0, x22 bl _sqlite3VdbeSetVarmask ldr w8, [x21] cbz w8, LBB0_49 ; %bb.47: ldr x8, [x23, #8] ldrb w8, [x8, #1] cbz w8, LBB0_49 ; %bb.48: mov x0, x20 bl _sqlite3GetTempReg mov x21, x0 mov x0, x20 mov x1, x23 mov x2, x21 bl _sqlite3ExprCodeTarget mov x0, x22 bl _sqlite3VdbeCurrentAddr sub x1, x0, #1 mov x0, x22 mov w2, #0 ; =0x0 bl _sqlite3VdbeChangeP3 mov x0, x20 mov x1, x21 bl _sqlite3ReleaseTempReg LBB0_49: mov w27, #1 ; =0x1 b LBB0_26 LBB0_50: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _TK_VARIABLE,4,2 ; @TK_VARIABLE .comm _SQLITE_EnableQPSG,4,2 ; @SQLITE_EnableQPSG .comm _SQLITE_AFF_BLOB,4,2 ; @SQLITE_AFF_BLOB .comm _SQLITE_TEXT,8,3 ; @SQLITE_TEXT .comm _TK_REGISTER,4,2 ; @TK_REGISTER .comm _TK_STRING,4,2 ; @TK_STRING .comm _TK_COLUMN,8,3 ; @TK_COLUMN .comm _SQLITE_AFF_TEXT,8,3 ; @SQLITE_AFF_TEXT .no_dead_strip _isLikeOrGlob .subsections_via_symbols
assembly_file_48538.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ud2 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: brk #0x1 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/20450569.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Opcode_movf_s_Slot_inst_encode _Opcode_movf_s_Slot_inst_encode: ## @Opcode_movf_s_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 $13303808, (%rdi) ## imm = 0xCB0000 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _Opcode_movf_s_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_movf_s_Slot_inst_encode _Opcode_movf_s_Slot_inst_encode: ; @Opcode_movf_s_Slot_inst_encode .cfi_startproc ; %bb.0: mov w8, #13303808 str w8, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _Opcode_movf_s_Slot_inst_encode .subsections_via_symbols
AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_movf_s_Slot_inst_encode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __glfwPlatformGetVideoModes ## -- Begin function _glfwPlatformGetVideoModes .p2align 4, 0x90 __glfwPlatformGetVideoModes: ## @_glfwPlatformGetVideoModes .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 %rsi, %rbx movq %rdi, -56(%rbp) ## 8-byte Spill movl $0, (%rsi) xorl %r15d, %r15d leaq -76(%rbp), %r14 xorl %edx, %edx xorl %r13d, %r13d jmp LBB0_1 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdx LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 movq %rdx, %r12 movq %r14, %rdi movl $20, %esi callq _ZeroMemory movl $20, -76(%rbp) movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %edi movl %r15d, %esi movq %r14, %rdx callq _EnumDisplaySettingsW testl %eax, %eax je LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 decl %r15d movl -72(%rbp), %edi cmpl $15, %edi jge LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdx jmp LBB0_1 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq %r15, -48(%rbp) ## 8-byte Spill movl -60(%rbp), %eax movl %eax, -80(%rbp) movq -68(%rbp), %rax movq %rax, -88(%rbp) leaq -92(%rbp), %rsi leaq -96(%rbp), %rdx leaq -100(%rbp), %rcx callq __glfwSplitBPP movl (%rbx), %ecx testl %ecx, %ecx jle LBB0_6 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq %r13, %r15 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi leaq -100(%rbp), %rsi callq __glfwCompareVideoModes movl (%rbx), %ecx testq %rax, %rax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 movslq %ecx, %rax incq %r14 addq $24, %r15 cmpq %rax, %r14 jl LBB0_8 jmp LBB0_10 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d LBB0_10: ## in Loop: Header=BB0_1 Depth=1 cmpl %ecx, %r14d movq %r12, %rdx jge LBB0_12 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 leaq -76(%rbp), %r14 movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_1 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload cmpq $0, 8(%rax) leaq -76(%rbp), %r14 je LBB0_16 ## %bb.13: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %edi movq _CDS_TEST@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r14, %rsi xorl %edx, %edx xorl %r8d, %r8d callq _ChangeDisplaySettingsExW movq _DISP_CHANGE_SUCCESSFUL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_14 ## %bb.15: ## in Loop: Header=BB0_1 Depth=1 movl (%rbx), %ecx movq %r12, %rdx LBB0_16: ## in Loop: Header=BB0_1 Depth=1 cmpl %edx, %ecx jne LBB0_18 ## %bb.17: ## in Loop: Header=BB0_1 Depth=1 leal (%rdx,%rdx), %r14d testl %edx, %edx movl $128, %eax cmovel %eax, %r14d leal (,%r14,8), %eax leal (%rax,%rax,2), %esi movq %r13, %rdi callq _realloc movq %rax, %r13 movl (%rbx), %ecx movl %r14d, %edx leaq -76(%rbp), %r14 LBB0_18: ## in Loop: Header=BB0_1 Depth=1 leal 1(%rcx), %eax movl %eax, (%rbx) movslq %ecx, %rax leaq (%rax,%rax,2), %rax movq -84(%rbp), %rcx movq %rcx, 16(%r13,%rax,8) movups -100(%rbp), %xmm0 movups %xmm0, (%r13,%rax,8) movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_1 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdx movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_1 .cfi_endproc ## -- End function .comm _CDS_TEST,4,2 ## @CDS_TEST .comm _DISP_CHANGE_SUCCESSFUL,8,3 ## @DISP_CHANGE_SUCCESSFUL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __glfwPlatformGetVideoModes ; -- Begin function _glfwPlatformGetVideoModes .p2align 2 __glfwPlatformGetVideoModes: ; @_glfwPlatformGetVideoModes .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .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 mov w21, #0 ; =0x0 mov w24, #0 ; =0x0 mov x22, #0 ; =0x0 str wzr, [x1] add x25, sp, #24 mov w26, #20 ; =0x14 mov w28, #24 ; =0x18 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add w9, w8, #1 str w9, [x19] smaddl x8, w8, w28, x22 ldur q0, [sp, #24] ldr x9, [sp, #40] str x9, [x8, #16] str q0, [x8] LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 add x0, sp, #4 mov w1, #20 ; =0x14 bl _ZeroMemory str w26, [sp, #4] ldr w0, [x20] add x2, sp, #4 mov x1, x21 bl _EnumDisplaySettingsW cbz w0, LBB0_2 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sub w21, w21, #1 ldr w0, [sp, #8] cmp w0, #15 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [sp, #20] str w8, [sp, #44] ldur d0, [sp, #12] stur d0, [sp, #36] add x1, x25, #8 add x2, x25, #4 add x3, sp, #24 bl __glfwSplitBPP ldr w8, [x19] cmp w8, #1 b.lt LBB0_9 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 mov x27, #0 ; =0x0 mov x23, x22 LBB0_6: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 add x1, sp, #24 mov x0, x23 bl __glfwCompareVideoModes ldr w8, [x19] cbz x0, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 sxtw x9, w8 add x27, x27, #1 add x23, x23, #24 cmp x27, x9 b.lt LBB0_6 LBB0_8: ; in Loop: Header=BB0_2 Depth=1 cmp w27, w8 b.lt LBB0_2 b LBB0_10 LBB0_9: ; in Loop: Header=BB0_2 Depth=1 mov w27, #0 ; =0x0 cmp w27, w8 b.lt LBB0_2 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 ldr x9, [x20, #8] cbz x9, LBB0_13 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 ldr w0, [x20] Lloh0: adrp x8, _CDS_TEST@GOTPAGE Lloh1: ldr x8, [x8, _CDS_TEST@GOTPAGEOFF] Lloh2: ldr w3, [x8] add x1, sp, #4 mov x2, #0 ; =0x0 mov x4, #0 ; =0x0 bl _ChangeDisplaySettingsExW Lloh3: adrp x8, _DISP_CHANGE_SUCCESSFUL@GOTPAGE Lloh4: ldr x8, [x8, _DISP_CHANGE_SUCCESSFUL@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x0, x8 b.ne LBB0_2 ; %bb.12: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x19] LBB0_13: ; in Loop: Header=BB0_2 Depth=1 cmp w8, w24 b.ne LBB0_1 ; %bb.14: ; in Loop: Header=BB0_2 Depth=1 lsl w8, w24, #1 cmp w24, #0 mov w9, #128 ; =0x80 csel w24, w9, w8, eq add w8, w24, w24, lsl #1 lsl w1, w8, #3 mov x0, x22 bl _realloc mov x22, x0 ldr w8, [x19] b LBB0_1 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CDS_TEST,4,2 ; @CDS_TEST .comm _DISP_CHANGE_SUCCESSFUL,8,3 ; @DISP_CHANGE_SUCCESSFUL .subsections_via_symbols
assembly_file_31252.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function buffer_ext_add _buffer_ext_add: ## @buffer_ext_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq (%rdi), %rbx movq 8(%rdi), %rcx addq %rcx, %rdx movq 16(%rdi), %rax cmpq %rbx, %rdx jb LBB0_8 ## %bb.1: movq _BUFFER_EXT_DFL_SIZE@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 testq %rbx, %rbx jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq (%r13), %rbx jmp LBB0_5 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 addq %rbx, %rbx LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rdi movq %rbx, %rsi callq _realloc testq %rax, %rax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq %rax, 16(%r12) movq %rbx, (%r12) movq 8(%r12), %rcx leaq (%rcx,%r14), %rdx cmpq %rbx, %rdx jae LBB0_2 LBB0_8: addq %rcx, %rax movq %rax, %rdi movq %r15, %rsi movq %r14, %rdx callq _memcpy addq %r14, 8(%r12) xorl %eax, %eax jmp LBB0_9 LBB0_6: 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 .comm _BUFFER_EXT_DFL_SIZE,8,3 ## @BUFFER_EXT_DFL_SIZE .no_dead_strip _buffer_ext_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function buffer_ext_add _buffer_ext_add: ; @buffer_ext_add .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x21, x1 mov x20, x0 ldp x22, x8, [x0] ldr x0, [x0, #16] add x9, x8, x2 cmp x9, x22 b.lo LBB0_4 ; %bb.1: Lloh0: adrp x23, _BUFFER_EXT_DFL_SIZE@GOTPAGE Lloh1: ldr x23, [x23, _BUFFER_EXT_DFL_SIZE@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 lsl x8, x22, #1 ldr x9, [x23] cmp x22, #0 csel x22, x9, x8, eq mov x1, x22 bl _realloc cbz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 str x0, [x20, #16] str x22, [x20] ldr x8, [x20, #8] add x9, x8, x19 cmp x9, x22 b.hs LBB0_2 LBB0_4: add x0, x0, x8 mov x1, x21 mov x2, x19 bl _memcpy mov w0, #0 ldr x8, [x20, #8] add x8, x8, x19 str x8, [x20, #8] b LBB0_6 LBB0_5: mov w0, #-1 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _BUFFER_EXT_DFL_SIZE,8,3 ; @BUFFER_EXT_DFL_SIZE .no_dead_strip _buffer_ext_add .subsections_via_symbols
AnghaBench/linux/tools/perf/util/extr_genelf_debug.c_buffer_ext_add.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wm8804_aif_event _wm8804_aif_event: ## @wm8804_aif_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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movl (%rdi), %edi callq _snd_soc_dapm_to_component movq %rax, %r15 movq %rax, %rdi callq _snd_soc_component_get_drvdata movq %rax, %r14 cmpl $129, %ebx je LBB0_5 ## %bb.1: cmpl $128, %ebx jne LBB0_7 ## %bb.2: movl (%r14), %eax testl %eax, %eax jne LBB0_4 ## %bb.3: movq _WM8804_PWRDN@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi movl $16, %edx xorl %ecx, %ecx callq _snd_soc_component_update_bits movl (%r14), %eax LBB0_4: incl %eax movl %eax, (%r14) jmp LBB0_7 LBB0_5: decl (%r14) jne LBB0_7 ## %bb.6: movq _WM8804_PWRDN@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi movl $16, %edx movl $16, %ecx callq _snd_soc_component_update_bits LBB0_7: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _WM8804_PWRDN,4,2 ## @WM8804_PWRDN .no_dead_strip _wm8804_aif_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wm8804_aif_event _wm8804_aif_event: ; @wm8804_aif_event .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, x2 ldr w0, [x0] bl _snd_soc_dapm_to_component mov x19, x0 bl _snd_soc_component_get_drvdata mov x20, x0 cmp w21, #129 b.eq LBB0_5 ; %bb.1: cmp w21, #128 b.ne LBB0_7 ; %bb.2: ldr w8, [x20] cbnz w8, LBB0_4 ; %bb.3: Lloh0: adrp x8, _WM8804_PWRDN@GOTPAGE Lloh1: ldr x8, [x8, _WM8804_PWRDN@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 mov w2, #16 mov w3, #0 bl _snd_soc_component_update_bits ldr w8, [x20] LBB0_4: add w8, w8, #1 str w8, [x20] b LBB0_7 LBB0_5: ldr w8, [x20] subs w8, w8, #1 str w8, [x20] b.ne LBB0_7 ; %bb.6: Lloh3: adrp x8, _WM8804_PWRDN@GOTPAGE Lloh4: ldr x8, [x8, _WM8804_PWRDN@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 mov w2, #16 mov w3, #16 bl _snd_soc_component_update_bits LBB0_7: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _WM8804_PWRDN,4,2 ; @WM8804_PWRDN .no_dead_strip _wm8804_aif_event .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_wm8804.c_wm8804_aif_event.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Hola Mundo" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hola Mundo" .subsections_via_symbols
the_stack_data/90761745.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uwb_rc_evt_bp_slot_change_slot_num _uwb_rc_evt_bp_slot_change_slot_num: ## @uwb_rc_evt_bp_slot_change_slot_num .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax andl $127, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _uwb_rc_evt_bp_slot_change_slot_num .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uwb_rc_evt_bp_slot_change_slot_num _uwb_rc_evt_bp_slot_change_slot_num: ; @uwb_rc_evt_bp_slot_change_slot_num .cfi_startproc ; %bb.0: ldr w8, [x0] and w0, w8, #0x7f ret .cfi_endproc ; -- End function .no_dead_strip _uwb_rc_evt_bp_slot_change_slot_num .subsections_via_symbols
AnghaBench/linux/drivers/staging/uwb/i1480/dfu/extr_......wusbcoreinclude....uwbincludespec.h_uwb_rc_evt_bp_slot_change_slot_num.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gnu_dev_major ## -- Begin function gnu_dev_major .p2align 4, 0x90 _gnu_dev_major: ## @gnu_dev_major .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 shrq $32, %rax andl $-4096, %eax ## imm = 0xF000 shrl $8, %edi andl $4095, %edi ## imm = 0xFFF orl %edi, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .globl _gnu_dev_minor ## -- Begin function gnu_dev_minor .p2align 4, 0x90 _gnu_dev_minor: ## @gnu_dev_minor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movzbl %dil, %eax shrq $12, %rdi andl $-256, %edi orl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _gnu_dev_makedev ## -- Begin function gnu_dev_makedev .p2align 4, 0x90 _gnu_dev_makedev: ## @gnu_dev_makedev .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 andl $-4096, %ecx ## imm = 0xF000 shlq $32, %rcx movzbl %sil, %eax movl %esi, %edx andl $-256, %edx shlq $12, %rdx shll $8, %edi andl $1048320, %edi ## imm = 0xFFF00 orl %edi, %eax orq %rdx, %rax orq %rcx, %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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpl $1, %edi je LBB3_6 ## %bb.1: cmpl $3, %edi jne LBB3_2 ## %bb.5: movq %rsi, %rbx movq 8(%rsi), %rdi leaq L_.str.1(%rip), %r14 leaq _iSet(%rip), %rdx movq %r14, %rsi xorl %eax, %eax callq _sscanf movq 16(%rbx), %rdi leaq _iCheck(%rip), %rdx movq %r14, %rsi xorl %eax, %eax callq _sscanf LBB3_6: movl _iSet(%rip), %r13d leal (,%r13,4), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movl _iCheck(%rip), %r15d leal (,%r15,4), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -56(%rbp) ## 8-byte Spill testl %r13d, %r13d jle LBB3_11 ## %bb.7: xorl %r15d, %r15d leaq _setThread(%rip), %r14 movq %r12, %rbx .p2align 4, 0x90 LBB3_8: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi xorl %esi, %esi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create testl %eax, %eax jne LBB3_15 ## %bb.9: ## in Loop: Header=BB3_8 Depth=1 incq %r15 movslq _iSet(%rip), %r13 addq $8, %rbx cmpq %r13, %r15 jl LBB3_8 ## %bb.10: movl _iCheck(%rip), %r15d LBB3_11: testl %r15d, %r15d jle LBB3_18 ## %bb.12: xorl %r13d, %r13d leaq _checkThread(%rip), %r14 movq -56(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB3_13: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi xorl %esi, %esi movq %r14, %rdx xorl %ecx, %ecx callq _pthread_create testl %eax, %eax jne LBB3_14 ## %bb.16: ## in Loop: Header=BB3_13 Depth=1 incq %r13 movslq _iCheck(%rip), %r15 addq $8, %rbx cmpq %r15, %r13 jl LBB3_13 ## %bb.17: movl _iSet(%rip), %r13d LBB3_18: testl %r13d, %r13d jle LBB3_23 ## %bb.19: xorl %ebx, %ebx .p2align 4, 0x90 LBB3_20: ## =>This Inner Loop Header: Depth=1 movq (%r12,%rbx,8), %rdi xorl %esi, %esi callq _pthread_join testl %eax, %eax jne LBB3_25 ## %bb.21: ## in Loop: Header=BB3_20 Depth=1 incq %rbx movslq _iSet(%rip), %rax cmpq %rax, %rbx jl LBB3_20 ## %bb.22: movl _iCheck(%rip), %r15d LBB3_23: testl %r15d, %r15d movq -56(%rbp), %r14 ## 8-byte Reload jle LBB3_3 ## %bb.24: xorl %ebx, %ebx .p2align 4, 0x90 LBB3_27: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rbx,8), %rdi xorl %esi, %esi callq _pthread_join testl %eax, %eax jne LBB3_28 ## %bb.26: ## in Loop: Header=BB3_27 Depth=1 incq %rbx movslq _iCheck(%rip), %rax cmpq %rax, %rbx jl LBB3_27 LBB3_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB3_29 ## %bb.4: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB3_15: movl %eax, %edi callq _main.cold.5 jmp LBB3_3 LBB3_14: movl %eax, %edi callq _main.cold.4 jmp LBB3_3 LBB3_25: movl %eax, %edi callq _main.cold.3 jmp LBB3_3 LBB3_28: movl %eax, %edi callq _main.cold.2 jmp LBB3_3 LBB3_2: callq _main.cold.1 jmp LBB3_3 LBB3_29: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _setThread ## -- Begin function setThread .p2align 4, 0x90 _setThread: ## @setThread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $1, _a(%rip) movb $1, _b(%rip) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _checkThread ## -- Begin function checkThread .p2align 4, 0x90 _checkThread: ## @checkThread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb _a(%rip), %al movb _b(%rip), %cl movl %eax, %edx orb %cl, %dl testb $1, %dl je LBB5_3 ## %bb.1: andb %cl, %al testb $1, %al je LBB5_2 LBB5_3: xorl %eax, %eax popq %rbp retq LBB5_2: callq _checkThread.cold.1 jmp LBB5_3 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _stderr@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi pushq $28 popq %rsi pushq $1 popq %rdx callq _fwrite pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.2 _main.cold.2: ## @main.cold.2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %edx movq _stderr@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _fprintf pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.3 _main.cold.3: ## @main.cold.3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %edx movq _stderr@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _fprintf pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.4 _main.cold.4: ## @main.cold.4 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %edx movq _stderr@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.3(%rip), %rsi xorl %eax, %eax callq _fprintf pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.5 _main.cold.5: ## @main.cold.5 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %edx movq _stderr@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _fprintf pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function checkThread.cold.1 _checkThread.cold.1: ## @checkThread.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _stderr@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.5(%rip), %rdi pushq $11 popq %rsi pushq $1 popq %rdx callq _fwrite xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "./reorder <param1> <param2>\n" L_.str.1: ## @.str.1 .asciz "%d" .section __DATA,__data .p2align 2 ## @iSet _iSet: .long 4 ## 0x4 .p2align 2 ## @iCheck _iCheck: .long 1 ## 0x1 .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "Error [%d] found creating set thread.\n" L_.str.3: ## @.str.3 .asciz "Error [%d] found creating check thread.\n" L_.str.4: ## @.str.4 .asciz "pthread join error: %d\n" .zerofill __DATA,__bss,_a,1,2 ## @a .zerofill __DATA,__bss,_b,1,2 ## @b L_.str.5: ## @.str.5 .asciz "Bug found!\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gnu_dev_major ; -- Begin function gnu_dev_major .p2align 2 _gnu_dev_major: ; @gnu_dev_major .cfi_startproc ; %bb.0: lsr x8, x0, #32 bfxil w8, w0, #8, #12 mov x0, x8 ret .cfi_endproc ; -- End function .globl _gnu_dev_minor ; -- Begin function gnu_dev_minor .p2align 2 _gnu_dev_minor: ; @gnu_dev_minor .cfi_startproc ; %bb.0: lsr x8, x0, #12 bfxil w8, w0, #0, #8 mov x0, x8 ret .cfi_endproc ; -- End function .globl _gnu_dev_makedev ; -- Begin function gnu_dev_makedev .p2align 2 _gnu_dev_makedev: ; @gnu_dev_makedev .cfi_startproc ; %bb.0: and w8, w0, #0xfffff000 lsr x9, x8, #12 and w8, w1, #0xffffff00 lsr x10, x8, #8 and w8, w1, #0xff bfi w8, w0, #8, #12 bfi x8, x10, #20, #24 bfi x8, x9, #44, #20 mov x0, x8 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] cmp w0, #1 b.eq LBB3_3 ; %bb.1: cmp w0, #3 b.ne LBB3_29 ; %bb.2: mov x19, x1 ldr x0, [x1, #8] Lloh3: adrp x8, _iSet@PAGE Lloh4: add x8, x8, _iSet@PAGEOFF str x8, [sp, #-16]! Lloh5: adrp x20, l_.str.1@PAGE Lloh6: add x20, x20, l_.str.1@PAGEOFF mov x1, x20 bl _sscanf add sp, sp, #16 ldr x0, [x19, #16] Lloh7: adrp x8, _iCheck@PAGE Lloh8: add x8, x8, _iCheck@PAGEOFF str x8, [sp, #-16]! mov x1, x20 bl _sscanf add sp, sp, #16 LBB3_3: adrp x23, _iSet@PAGE ldr w12, [x23, _iSet@PAGEOFF] lsl w8, w12, #2 mov x9, x8 Lloh9: adrp x16, ___chkstk_darwin@GOTPAGE Lloh10: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x24, x9, x8 mov sp, x24 adrp x21, _iCheck@PAGE ldr w13, [x21, _iCheck@PAGEOFF] lsl w8, w13, #2 mov x9, x8 Lloh11: adrp x16, ___chkstk_darwin@GOTPAGE Lloh12: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x22, x9, x8 mov sp, x22 cmp w12, #1 b.lt LBB3_8 ; %bb.4: mov x25, #0 Lloh13: adrp x19, _setThread@PAGE Lloh14: add x19, x19, _setThread@PAGEOFF mov x20, x24 LBB3_5: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, #0 mov x2, x19 mov x3, #0 bl _pthread_create cbnz w0, LBB3_24 ; %bb.6: ; in Loop: Header=BB3_5 Depth=1 add x25, x25, #1 ldrsw x12, [x23, _iSet@PAGEOFF] add x20, x20, #8 cmp x25, x12 b.lt LBB3_5 ; %bb.7: ldr w13, [x21, _iCheck@PAGEOFF] LBB3_8: cmp w13, #1 b.lt LBB3_13 ; %bb.9: mov x25, #0 Lloh15: adrp x19, _checkThread@PAGE Lloh16: add x19, x19, _checkThread@PAGEOFF mov x20, x22 LBB3_10: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, #0 mov x2, x19 mov x3, #0 bl _pthread_create cbnz w0, LBB3_25 ; %bb.11: ; in Loop: Header=BB3_10 Depth=1 add x25, x25, #1 ldrsw x13, [x21, _iCheck@PAGEOFF] add x20, x20, #8 cmp x25, x13 b.lt LBB3_10 ; %bb.12: ldr w12, [x23, _iSet@PAGEOFF] LBB3_13: cmp w12, #1 b.lt LBB3_18 ; %bb.14: mov x19, #0 LBB3_15: ; =>This Inner Loop Header: Depth=1 ldr x0, [x24, x19, lsl #3] mov x1, #0 bl _pthread_join cbnz w0, LBB3_26 ; %bb.16: ; in Loop: Header=BB3_15 Depth=1 add x19, x19, #1 ldrsw x8, [x23, _iSet@PAGEOFF] cmp x19, x8 b.lt LBB3_15 ; %bb.17: ldr w13, [x21, _iCheck@PAGEOFF] LBB3_18: cmp w13, #1 b.lt LBB3_22 ; %bb.19: mov x19, #0 LBB3_20: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22, x19, lsl #3] mov x1, #0 bl _pthread_join cbnz w0, LBB3_27 ; %bb.21: ; in Loop: Header=BB3_20 Depth=1 add x19, x19, #1 ldrsw x8, [x21, _iCheck@PAGEOFF] cmp x19, x8 b.lt LBB3_20 LBB3_22: ldur x8, [x29, #-72] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB3_28 ; %bb.23: mov w0, #0 sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB3_24: bl _main.cold.5 LBB3_25: bl _main.cold.4 LBB3_26: bl _main.cold.3 LBB3_27: bl _main.cold.2 LBB3_28: bl ___stack_chk_fail LBB3_29: bl _main.cold.1 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .globl _setThread ; -- Begin function setThread .p2align 2 _setThread: ; @setThread .cfi_startproc ; %bb.0: mov w8, #1 Lloh20: adrp x9, _a@PAGE strb w8, [x9, _a@PAGEOFF] Lloh21: adrp x9, _b@PAGE strb w8, [x9, _b@PAGEOFF] mov x0, #0 ret .loh AdrpAdrp Lloh20, Lloh21 .cfi_endproc ; -- End function .globl _checkThread ; -- Begin function checkThread .p2align 2 _checkThread: ; @checkThread .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _a@PAGE ldrb w8, [x8, _a@PAGEOFF] adrp x9, _b@PAGE ldrb w9, [x9, _b@PAGEOFF] orr w10, w8, w9 tbz w10, #0, LBB5_2 ; %bb.1: and w8, w8, w9 tbz w8, #0, LBB5_3 LBB5_2: mov x0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB5_3: bl _checkThread.cold.1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh22: adrp x8, _stderr@GOTPAGE Lloh23: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh24: ldr x3, [x8] Lloh25: adrp x0, l_.str@PAGE Lloh26: add x0, x0, l_.str@PAGEOFF mov w1, #28 mov w2, #1 bl _fwrite bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.2 _main.cold.2: ; @main.cold.2 .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 $w0 killed $w0 def $x0 Lloh27: adrp x8, _stderr@GOTPAGE Lloh28: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh29: ldr x8, [x8] str x0, [sp] Lloh30: adrp x1, l_.str.4@PAGE Lloh31: add x1, x1, l_.str.4@PAGEOFF bl _OUTLINED_FUNCTION_1 bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.3 _main.cold.3: ; @main.cold.3 .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 $w0 killed $w0 def $x0 Lloh32: adrp x8, _stderr@GOTPAGE Lloh33: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh34: ldr x8, [x8] str x0, [sp] Lloh35: adrp x1, l_.str.4@PAGE Lloh36: add x1, x1, l_.str.4@PAGEOFF bl _OUTLINED_FUNCTION_1 bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.4 _main.cold.4: ; @main.cold.4 .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 $w0 killed $w0 def $x0 Lloh37: adrp x8, _stderr@GOTPAGE Lloh38: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh39: ldr x8, [x8] str x0, [sp] Lloh40: adrp x1, l_.str.3@PAGE Lloh41: add x1, x1, l_.str.3@PAGEOFF bl _OUTLINED_FUNCTION_1 bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.5 _main.cold.5: ; @main.cold.5 .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 $w0 killed $w0 def $x0 Lloh42: adrp x8, _stderr@GOTPAGE Lloh43: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh44: ldr x8, [x8] str x0, [sp] Lloh45: adrp x1, l_.str.2@PAGE Lloh46: add x1, x1, l_.str.2@PAGEOFF bl _OUTLINED_FUNCTION_1 bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function checkThread.cold.1 _checkThread.cold.1: ; @checkThread.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh47: adrp x8, _stderr@GOTPAGE Lloh48: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh49: ldr x3, [x8] Lloh50: adrp x0, l_.str.5@PAGE Lloh51: add x0, x0, l_.str.5@PAGEOFF mov w1, #11 mov w2, #1 bl _fwrite bl ___VERIFIER_error .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function OUTLINED_FUNCTION_0 _OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk .cfi_startproc ; %bb.0: mov w0, #-1 b _exit .cfi_endproc ; -- End function .p2align 2 ; -- Begin function OUTLINED_FUNCTION_1 _OUTLINED_FUNCTION_1: ; @OUTLINED_FUNCTION_1 Thunk .cfi_startproc ; %bb.0: mov x0, x8 b _fprintf .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "./reorder <param1> <param2>\n" l_.str.1: ; @.str.1 .asciz "%d" .section __DATA,__data .p2align 2 ; @iSet _iSet: .long 4 ; 0x4 .p2align 2 ; @iCheck _iCheck: .long 1 ; 0x1 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "Error [%d] found creating set thread.\n" l_.str.3: ; @.str.3 .asciz "Error [%d] found creating check thread.\n" l_.str.4: ; @.str.4 .asciz "pthread join error: %d\n" .zerofill __DATA,__bss,_a,1,2 ; @a .zerofill __DATA,__bss,_b,1,2 ; @b l_.str.5: ; @.str.5 .asciz "Bug found!\n" .subsections_via_symbols
the_stack_data/561656.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_VarUI8FromDec _test_VarUI8FromDec: ## @test_VarUI8FromDec .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 _DECIMAL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _CONVVARS movq _VarUI8FromDec@GOTPCREL(%rip), %rbx movl (%rbx), %edi callq _CONVERT_BADDEC movl (%rbx), %edi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _CONVERT_DEC xorl %edi, %edi callq _EXPECTI8 movl (%rbx), %edi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx movl $1, %r8d callq _CONVERT_DEC movl $1, %edi callq _EXPECTI8 movl (%rbx), %edi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx movl $255, %r8d callq _CONVERT_DEC movl $255, %edi callq _EXPECTI8 movl (%rbx), %edi movl $2, %esi movl $128, %edx xorl %ecx, %ecx movl $100, %r8d callq _CONVERT_DEC movl (%rbx), %edi movl $2, %esi xorl %edx, %edx xorl %ecx, %ecx movl $25500, %r8d ## imm = 0x639C callq _CONVERT_DEC movl $255, %edi addq $8, %rsp popq %rbx popq %rbp jmp _EXPECTI8 ## TAILCALL .cfi_endproc ## -- End function .comm _DECIMAL,4,2 ## @DECIMAL .comm _VarUI8FromDec,4,2 ## @VarUI8FromDec .comm _EXPECT_OVERFLOW,4,2 ## @EXPECT_OVERFLOW .no_dead_strip _test_VarUI8FromDec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_VarUI8FromDec _test_VarUI8FromDec: ; @test_VarUI8FromDec .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 x8, _DECIMAL@GOTPAGE Lloh1: ldr x8, [x8, _DECIMAL@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _CONVVARS Lloh3: adrp x19, _VarUI8FromDec@GOTPAGE Lloh4: ldr x19, [x19, _VarUI8FromDec@GOTPAGEOFF] ldr w0, [x19] bl _CONVERT_BADDEC ldr w0, [x19] mov w1, #0 mov w2, #0 mov w3, #0 mov w4, #0 bl _CONVERT_DEC mov w0, #0 bl _EXPECTI8 ldr w0, [x19] mov w1, #0 mov w2, #0 mov w3, #0 mov w4, #1 bl _CONVERT_DEC mov w0, #1 bl _EXPECTI8 ldr w0, [x19] mov w1, #0 mov w2, #0 mov w3, #0 mov w4, #255 bl _CONVERT_DEC mov w0, #255 bl _EXPECTI8 ldr w0, [x19] mov w1, #2 mov w2, #128 mov w3, #0 mov w4, #100 bl _CONVERT_DEC ldr w0, [x19] mov w1, #2 mov w2, #0 mov w3, #0 mov w4, #25500 bl _CONVERT_DEC mov w0, #255 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _EXPECTI8 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DECIMAL,4,2 ; @DECIMAL .comm _VarUI8FromDec,4,2 ; @VarUI8FromDec .comm _EXPECT_OVERFLOW,4,2 ; @EXPECT_OVERFLOW .no_dead_strip _test_VarUI8FromDec .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/oleaut32/extr_vartype.c_test_VarUI8FromDec.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vlan_status _vlan_status: ## @vlan_status .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx movq _ifr@GOTPCREL(%rip), %r14 leaq -32(%rbp), %rdx movq %r14, %rsi callq _getvlan cmpl $-1, %eax je LBB0_4 ## %bb.1: movl -32(%rbp), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movq _SIOCGVLANPCP@GOTPCREL(%rip), %rax movl (%rax), %esi movl _ifr@GOTPCREL(%rip), %edx movl %ebx, %edi callq _ioctl cmpl $-1, %eax je LBB0_3 ## %bb.2: movl (%r14), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf LBB0_3: movq -24(%rbp), %rax cmpb $0, (%rax) leaq L_.str.3(%rip), %rsi cmovneq %rax, %rsi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar LBB0_4: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ifr,4,2 ## @ifr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\tvlan: %d" .comm _SIOCGVLANPCP,4,2 ## @SIOCGVLANPCP L_.str.1: ## @.str.1 .asciz " vlanpcp: %u" L_.str.2: ## @.str.2 .asciz " parent interface: %s" L_.str.3: ## @.str.3 .asciz "<none>" .no_dead_strip _vlan_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vlan_status _vlan_status: ; @vlan_status .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x1, _ifr@GOTPAGE Lloh1: ldr x1, [x1, _ifr@GOTPAGEOFF] add x2, sp, #16 bl _getvlan cmn w0, #1 b.eq LBB0_4 ; %bb.1: ldr w8, [sp, #16] str x8, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf Lloh4: adrp x8, _SIOCGVLANPCP@GOTPAGE Lloh5: ldr x8, [x8, _SIOCGVLANPCP@GOTPAGEOFF] Lloh6: ldr w1, [x8] Lloh7: adrp x20, _ifr@GOTPAGE Lloh8: ldr x20, [x20, _ifr@GOTPAGEOFF] mov x0, x19 mov x2, x20 bl _ioctl cmn w0, #1 b.eq LBB0_3 ; %bb.2: ldr w8, [x20] str x8, [sp] Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_3: ldr x8, [sp, #24] ldrb w9, [x8] Lloh11: adrp x10, l_.str.3@PAGE Lloh12: add x10, x10, l_.str.3@PAGEOFF cmp w9, #0 csel x8, x10, x8, eq str x8, [sp] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #10 bl _putchar LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _ifr,4,2 ; @ifr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\tvlan: %d" .comm _SIOCGVLANPCP,4,2 ; @SIOCGVLANPCP l_.str.1: ; @.str.1 .asciz " vlanpcp: %u" l_.str.2: ; @.str.2 .asciz " parent interface: %s" l_.str.3: ; @.str.3 .asciz "<none>" .no_dead_strip _vlan_status .subsections_via_symbols
AnghaBench/freebsd/sbin/ifconfig/extr_ifvlan.c_vlan_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dsm_segment_map_length ## -- Begin function dsm_segment_map_length .p2align 4, 0x90 _dsm_segment_map_length: ## @dsm_segment_map_length .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %edi, %edi cmpq $0, 8(%rbx) setne %dil callq _Assert movl (%rbx), %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 _dsm_segment_map_length ; -- Begin function dsm_segment_map_length .p2align 2 _dsm_segment_map_length: ; @dsm_segment_map_length .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #8] cmp x8, #0 cset w0, ne bl _Assert ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/postgres/src/backend/storage/ipc/extr_dsm.c_dsm_segment_map_length.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _insert_val ## -- Begin function insert_val .p2align 4, 0x90 _insert_val: ## @insert_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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r12 movq (%rdi), %rbx movl $24, %edi callq _malloc movq %rax, %r14 movq %rbx, %rax testq %r14, %r14 jne LBB0_2 ## %bb.1: leaq L_str(%rip), %rdi callq _puts movq (%r12), %rax LBB0_2: movl %r15d, (%r14) xorps %xmm0, %xmm0 movups %xmm0, 8(%r14) testq %rax, %rax jne LBB0_3 jmp LBB0_8 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq 16(%r12), %rbx testq %rbx, %rbx je LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rbx, %r12 cmpl %r15d, (%rbx) jle LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq 8(%r12), %rbx testq %rbx, %rbx jne LBB0_3 ## %bb.5: addq $8, %r12 jmp LBB0_8 LBB0_7: addq $16, %r12 LBB0_8: movq %r14, (%r12) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _preorder ## -- Begin function preorder .p2align 4, 0x90 _preorder: ## @preorder .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 testq %rdi, %rdi je LBB1_3 ## %bb.1: movq %rdi, %rbx leaq L_.str.1(%rip), %r14 .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rdi callq _preorder movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB1_2 LBB1_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _inorder ## -- Begin function inorder .p2align 4, 0x90 _inorder: ## @inorder .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 testq %rdi, %rdi je LBB2_3 ## %bb.1: movq %rdi, %rbx leaq L_.str.1(%rip), %r14 .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rdi callq _inorder movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB2_2 LBB2_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _postorder ## -- Begin function postorder .p2align 4, 0x90 _postorder: ## @postorder .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB3_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rdi callq _postorder movq 16(%rbx), %rdi callq _postorder movl (%rbx), %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _printf ## TAILCALL LBB3_1: retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI4_0: .space 16 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq $0, -48(%rbp) leaq L_str.11(%rip), %rdi callq _puts leaq L_str.12(%rip), %rdi callq _puts leaq L_str.13(%rip), %rdi callq _puts leaq L_str.14(%rip), %rdi callq _puts leaq L_str.15(%rip), %rdi callq _puts leaq L_.str.7(%rip), %r14 leaq -56(%rbp), %r12 leaq L_str.16(%rip), %rbx leaq LJTI4_0(%rip), %r15 jmp LBB4_1 LBB4_15: ## in Loop: Header=BB4_1 Depth=1 leaq L_str.18(%rip), %rdi callq _puts .p2align 4, 0x90 LBB4_16: ## in Loop: Header=BB4_1 Depth=1 movq %rbx, %rdi callq _puts LBB4_1: ## =>This Loop Header: Depth=1 ## Child Loop BB4_6 Depth 2 movq %r14, %rdi movq %r12, %rsi xorl %eax, %eax callq _scanf movl -56(%rbp), %eax decl %eax cmpl $4, %eax ja LBB4_15 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 movslq (%r15,%rax,4), %rax addq %r15, %rax jmpq *%rax LBB4_3: ## in Loop: Header=BB4_1 Depth=1 movq %r12, %rbx leaq L_str.17(%rip), %rdi callq _puts movq %r14, %rdi leaq -52(%rbp), %rsi xorl %eax, %eax callq _scanf movl -52(%rbp), %r14d movq -48(%rbp), %r12 movl $24, %edi callq _malloc movq %rax, %r13 testq %rax, %rax jne LBB4_5 ## %bb.4: ## in Loop: Header=BB4_1 Depth=1 leaq L_str(%rip), %rdi callq _puts LBB4_5: ## in Loop: Header=BB4_1 Depth=1 movl %r14d, (%r13) xorps %xmm0, %xmm0 movups %xmm0, 8(%r13) leaq -48(%rbp), %rax testq %r12, %r12 jne LBB4_6 jmp LBB4_11 .p2align 4, 0x90 LBB4_9: ## in Loop: Header=BB4_6 Depth=2 movq 16(%rax), %r12 testq %r12, %r12 je LBB4_10 LBB4_6: ## Parent Loop BB4_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r12, %rax cmpl %r14d, (%r12) jle LBB4_9 ## %bb.7: ## in Loop: Header=BB4_6 Depth=2 movq 8(%rax), %r12 testq %r12, %r12 jne LBB4_6 ## %bb.8: ## in Loop: Header=BB4_1 Depth=1 addq $8, %rax jmp LBB4_11 LBB4_12: ## in Loop: Header=BB4_1 Depth=1 movq -48(%rbp), %rdi callq _preorder jmp LBB4_16 LBB4_13: ## in Loop: Header=BB4_1 Depth=1 movq -48(%rbp), %rdi callq _inorder jmp LBB4_16 LBB4_14: ## in Loop: Header=BB4_1 Depth=1 movq -48(%rbp), %rdi callq _postorder jmp LBB4_16 LBB4_10: ## in Loop: Header=BB4_1 Depth=1 addq $16, %rax LBB4_11: ## in Loop: Header=BB4_1 Depth=1 movq %r13, (%rax) movq %rbx, %r12 leaq L_.str.7(%rip), %r14 leaq L_str.16(%rip), %rbx jmp LBB4_16 LBB4_17: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L4_0_set_3, LBB4_3-LJTI4_0 .set L4_0_set_12, LBB4_12-LJTI4_0 .set L4_0_set_13, LBB4_13-LJTI4_0 .set L4_0_set_14, LBB4_14-LJTI4_0 .set L4_0_set_17, LBB4_17-LJTI4_0 LJTI4_0: .long L4_0_set_3 .long L4_0_set_12 .long L4_0_set_13 .long L4_0_set_14 .long L4_0_set_17 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d " L_.str.7: ## @.str.7 .asciz "%d" L_str: ## @str .asciz "error in malloc" L_str.11: ## @str.11 .asciz "Enter 1 for insert" L_str.12: ## @str.12 .asciz "Enter 2 for traverse preorder" L_str.13: ## @str.13 .asciz "Enter 3 for traverse inorder" L_str.14: ## @str.14 .asciz "Enter 4 for traverse postorder" L_str.15: ## @str.15 .asciz "Enter 5 for EXIT" L_str.16: ## @str.16 .asciz "Enter which operation you want to do again" L_str.17: ## @str.17 .asciz "Enter the value you want to be insert:" L_str.18: ## @str.18 .asciz "Enter proper value" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _insert_val ; -- Begin function insert_val .p2align 2 _insert_val: ; @insert_val .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x21, x0 ldr x22, [x0] mov w0, #24 bl _malloc mov x19, x0 mov x8, x22 cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts ldr x8, [x21] LBB0_2: str w20, [x19] stp xzr, xzr, [x19, #8] cbnz x8, LBB0_4 b LBB0_8 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x22, [x8, #16] cbz x22, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x8, x22 ldr w9, [x22] cmp w9, w20 b.le LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x22, [x8, #8] cbnz x22, LBB0_4 ; %bb.6: add x21, x8, #8 b LBB0_8 LBB0_7: add x21, x8, #16 LBB0_8: str x19, [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 Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _preorder ; -- Begin function preorder .p2align 2 _preorder: ; @preorder .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 cbz x0, LBB1_3 ; %bb.1: mov x19, x0 Lloh2: adrp x20, l_.str.1@PAGE Lloh3: add x20, x20, l_.str.1@PAGEOFF LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] str x8, [sp] mov x0, x20 bl _printf ldr x0, [x19, #8] bl _preorder ldr x19, [x19, #16] cbnz x19, LBB1_2 LBB1_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _inorder ; -- Begin function inorder .p2align 2 _inorder: ; @inorder .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 cbz x0, LBB2_3 ; %bb.1: mov x19, x0 Lloh4: adrp x20, l_.str.1@PAGE Lloh5: add x20, x20, l_.str.1@PAGEOFF LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19, #8] bl _inorder ldr w8, [x19] str x8, [sp] mov x0, x20 bl _printf ldr x19, [x19, #16] cbnz x19, LBB2_2 LBB2_3: 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 Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _postorder ; -- Begin function postorder .p2align 2 _postorder: ; @postorder .cfi_startproc ; %bb.0: cbz x0, LBB3_2 ; %bb.1: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] bl _postorder ldr x0, [x19, #16] bl _postorder ldr w8, [x19] str x8, [sp] Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _printf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB3_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str xzr, [sp, #16] Lloh8: adrp x0, l_str.11@PAGE Lloh9: add x0, x0, l_str.11@PAGEOFF bl _puts Lloh10: adrp x0, l_str.12@PAGE Lloh11: add x0, x0, l_str.12@PAGEOFF bl _puts Lloh12: adrp x0, l_str.13@PAGE Lloh13: add x0, x0, l_str.13@PAGEOFF bl _puts Lloh14: adrp x0, l_str.14@PAGE Lloh15: add x0, x0, l_str.14@PAGEOFF bl _puts Lloh16: adrp x0, l_str.15@PAGE Lloh17: add x0, x0, l_str.15@PAGEOFF bl _puts Lloh18: adrp x19, l_.str.7@PAGE Lloh19: add x19, x19, l_.str.7@PAGEOFF Lloh20: adrp x20, l_str.18@PAGE Lloh21: add x20, x20, l_str.18@PAGEOFF Lloh22: adrp x21, l_str.16@PAGE Lloh23: add x21, x21, l_str.16@PAGEOFF Lloh24: adrp x25, lJTI4_0@PAGE Lloh25: add x25, x25, lJTI4_0@PAGEOFF add x26, sp, #28 Lloh26: adrp x22, l_str.17@PAGE Lloh27: add x22, x22, l_str.17@PAGEOFF add x27, sp, #24 b LBB4_3 LBB4_1: ; in Loop: Header=BB4_3 Depth=1 mov x0, x20 bl _puts LBB4_2: ; in Loop: Header=BB4_3 Depth=1 mov x0, x21 bl _puts LBB4_3: ; =>This Loop Header: Depth=1 ; Child Loop BB4_10 Depth 2 str x26, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #28] sub w8, w8, #1 cmp w8, #4 b.hi LBB4_1 ; %bb.4: ; in Loop: Header=BB4_3 Depth=1 adr x9, LBB4_5 ldrb w10, [x25, x8] add x9, x9, x10, lsl #2 br x9 LBB4_5: ; in Loop: Header=BB4_3 Depth=1 mov x0, x22 bl _puts str x27, [sp] mov x0, x19 bl _scanf ldr w28, [sp, #24] ldr x23, [sp, #16] mov w0, #24 bl _malloc mov x24, x0 cbnz x0, LBB4_7 ; %bb.6: ; in Loop: Header=BB4_3 Depth=1 Lloh28: adrp x0, l_str@PAGE Lloh29: add x0, x0, l_str@PAGEOFF bl _puts LBB4_7: ; in Loop: Header=BB4_3 Depth=1 str w28, [x24] stp xzr, xzr, [x24, #8] cbnz x23, LBB4_10 ; %bb.8: ; in Loop: Header=BB4_3 Depth=1 add x8, sp, #16 str x24, [x8] b LBB4_2 LBB4_9: ; in Loop: Header=BB4_10 Depth=2 ldr x23, [x8, #16] cbz x23, LBB4_16 LBB4_10: ; Parent Loop BB4_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x8, x23 ldr w9, [x23] cmp w9, w28 b.le LBB4_9 ; %bb.11: ; in Loop: Header=BB4_10 Depth=2 ldr x23, [x8, #8] cbnz x23, LBB4_10 ; %bb.12: ; in Loop: Header=BB4_3 Depth=1 str x24, [x8, #8]! b LBB4_2 LBB4_13: ; in Loop: Header=BB4_3 Depth=1 ldr x0, [sp, #16] bl _preorder b LBB4_2 LBB4_14: ; in Loop: Header=BB4_3 Depth=1 ldr x0, [sp, #16] bl _inorder b LBB4_2 LBB4_15: ; in Loop: Header=BB4_3 Depth=1 ldr x0, [sp, #16] bl _postorder b LBB4_2 LBB4_16: ; in Loop: Header=BB4_3 Depth=1 str x24, [x8, #16]! b LBB4_2 LBB4_17: mov w0, #0 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh 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 Lloh28, Lloh29 .cfi_endproc .section __TEXT,__const lJTI4_0: .byte (LBB4_5-LBB4_5)>>2 .byte (LBB4_13-LBB4_5)>>2 .byte (LBB4_14-LBB4_5)>>2 .byte (LBB4_15-LBB4_5)>>2 .byte (LBB4_17-LBB4_5)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d " l_.str.7: ; @.str.7 .asciz "%d" l_str: ; @str .asciz "error in malloc" l_str.11: ; @str.11 .asciz "Enter 1 for insert" l_str.12: ; @str.12 .asciz "Enter 2 for traverse preorder" l_str.13: ; @str.13 .asciz "Enter 3 for traverse inorder" l_str.14: ; @str.14 .asciz "Enter 4 for traverse postorder" l_str.15: ; @str.15 .asciz "Enter 5 for EXIT" l_str.16: ; @str.16 .asciz "Enter which operation you want to do again" l_str.17: ; @str.17 .asciz "Enter the value you want to be insert:" l_str.18: ; @str.18 .asciz "Enter proper value" .subsections_via_symbols
the_stack_data/234519211.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dgb_get_brp_num _dgb_get_brp_num: ## @dgb_get_brp_num .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 _cp14_dbgdidr_get movl %eax, %edi popq %rbp jmp _DBGDIDR_BRPS_NUM ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _dgb_get_brp_num .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dgb_get_brp_num _dgb_get_brp_num: ; @dgb_get_brp_num .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 _cp14_dbgdidr_get ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _DBGDIDR_BRPS_NUM .cfi_endproc ; -- End function .no_dead_strip _dgb_get_brp_num .subsections_via_symbols
AnghaBench/freebsd/sys/arm/arm/extr_debug_monitor.c_dgb_get_brp_num.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sun4i_dma_terminate_all _sun4i_dma_terminate_all: ## @sun4i_dma_terminate_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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl (%rdi), %edi callq _to_sun4i_dma_dev movq %rax, %r14 movq %rbx, %rdi callq _to_sun4i_dma_vchan movq %rax, %rbx leaq 8(%rax), %r13 movq 8(%rax), %r15 movq _head@GOTPCREL(%rip), %r12 movl (%r12), %edi callq _LIST_HEAD movq %rbx, %rdi callq _spin_lock_irqsave movq %rbx, %rdi movq %r12, %rsi callq _vchan_get_all_descriptors movq %rbx, %rdi callq _spin_unlock_irqrestore testq %r15, %r15 je LBB0_5 ## %bb.1: cmpq $0, 8(%r15) jne LBB0_2 ## %bb.3: movq _SUN4I_NDMA_CFG_REG@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_2: movq _SUN4I_DDMA_CFG_REG@GOTPCREL(%rip), %rax LBB0_4: movq (%rax), %rsi addq (%r15), %rsi xorl %edi, %edi callq _writel movq %r14, %rdi movq %r15, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _set_pchan_interrupt movq %r14, %rdi movq %r15, %rsi callq _release_pchan LBB0_5: movq %rbx, %rdi callq _spin_lock_irqsave movq _head@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _vchan_dma_desc_free_list xorps %xmm0, %xmm0 movups %xmm0, (%r13) movq %rbx, %rdi callq _spin_unlock_irqrestore xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _head,4,2 ## @head .comm _SUN4I_DDMA_CFG_REG,8,3 ## @SUN4I_DDMA_CFG_REG .comm _SUN4I_NDMA_CFG_REG,8,3 ## @SUN4I_NDMA_CFG_REG .no_dead_strip _sun4i_dma_terminate_all .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sun4i_dma_terminate_all _sun4i_dma_terminate_all: ; @sun4i_dma_terminate_all .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w0, [x0] bl _to_sun4i_dma_dev mov x20, x0 mov x0, x19 bl _to_sun4i_dma_vchan mov x19, x0 mov x23, x0 ldr x21, [x23, #8]! Lloh0: adrp x22, _head@GOTPAGE Lloh1: ldr x22, [x22, _head@GOTPAGEOFF] ldr w0, [x22] bl _LIST_HEAD mov x0, x19 bl _spin_lock_irqsave mov x0, x19 mov x1, x22 bl _vchan_get_all_descriptors mov x0, x19 bl _spin_unlock_irqrestore cbz x21, LBB0_2 ; %bb.1: ldp x9, x8, [x21] Lloh2: adrp x10, _SUN4I_NDMA_CFG_REG@GOTPAGE Lloh3: ldr x10, [x10, _SUN4I_NDMA_CFG_REG@GOTPAGEOFF] Lloh4: adrp x11, _SUN4I_DDMA_CFG_REG@GOTPAGE Lloh5: ldr x11, [x11, _SUN4I_DDMA_CFG_REG@GOTPAGEOFF] cmp x8, #0 csel x8, x10, x11, eq ldr x8, [x8] add x1, x8, x9 mov w0, #0 bl _writel mov x0, x20 mov x1, x21 mov w2, #0 mov w3, #0 bl _set_pchan_interrupt mov x0, x20 mov x1, x21 bl _release_pchan LBB0_2: mov x0, x19 bl _spin_lock_irqsave Lloh6: adrp x1, _head@GOTPAGE Lloh7: ldr x1, [x1, _head@GOTPAGEOFF] mov x0, x19 bl _vchan_dma_desc_free_list stp xzr, xzr, [x23] mov x0, x19 bl _spin_unlock_irqrestore mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _head,4,2 ; @head .comm _SUN4I_DDMA_CFG_REG,8,3 ; @SUN4I_DDMA_CFG_REG .comm _SUN4I_NDMA_CFG_REG,8,3 ; @SUN4I_NDMA_CFG_REG .no_dead_strip _sun4i_dma_terminate_all .subsections_via_symbols
AnghaBench/linux/drivers/dma/extr_sun4i-dma.c_sun4i_dma_terminate_all.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _verify_open ## -- Begin function verify_open .p2align 4, 0x90 _verify_open: ## @verify_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 callq _open movl %eax, %ebx testl %eax, %eax js LBB0_3 ## %bb.1: movl %ebx, %edi movq %r14, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _verify_fd testl %eax, %eax jns LBB0_3 ## %bb.2: movl %eax, %r14d movl %ebx, %edi callq _close movl %r14d, %ebx LBB0_3: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _verify_open ; -- Begin function verify_open .p2align 2 _verify_open: ; @verify_open .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _open mov x19, x0 tbnz w0, #31, LBB0_3 ; %bb.1: mov x0, x19 mov x1, x20 mov w2, #0 mov x3, #0 bl _verify_fd tbz w0, #31, LBB0_3 ; %bb.2: mov x20, x0 mov x0, x19 bl _close mov x19, x20 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/lib/libsecureboot/extr_veopen.c_verify_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jfs_init_acl ## -- Begin function jfs_init_acl .p2align 4, 0x90 _jfs_init_acl: ## @jfs_init_acl .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 %rdx, %rax movq %rsi, %r14 movl %edi, %r15d leaq -48(%rbp), %rdx leaq -40(%rbp), %rcx movq %rax, %rdi callq _posix_acl_create movl %eax, %r12d testl %eax, %eax jne LBB0_10 ## %bb.1: movq -48(%rbp), %rcx testq %rcx, %rcx je LBB0_6 ## %bb.2: movq _ACL_TYPE_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %edx movl %r15d, %edi movq %r14, %rsi callq ___jfs_set_acl movl %eax, %r12d movq -48(%rbp), %rdi callq _posix_acl_release movq -40(%rbp), %rcx testq %rcx, %rcx je LBB0_8 ## %bb.3: testl %r12d, %r12d jne LBB0_5 jmp LBB0_4 LBB0_6: movq $0, 16(%r14) movq -40(%rbp), %rcx testq %rcx, %rcx je LBB0_7 LBB0_4: movq _ACL_TYPE_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %edx movl %r15d, %edi movq %r14, %rsi callq ___jfs_set_acl movl %eax, %r12d movq -40(%rbp), %rcx LBB0_5: movq %rcx, %rdi callq _posix_acl_release jmp LBB0_9 LBB0_7: xorl %r12d, %r12d LBB0_8: movq $0, 8(%r14) LBB0_9: movq %r14, %rdi callq _JFS_IP movzwl 2(%rax), %ebx shll $16, %ebx orl (%r14), %ebx movq %r14, %rdi callq _JFS_IP movl %ebx, (%rax) LBB0_10: movl %r12d, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ACL_TYPE_DEFAULT,4,2 ## @ACL_TYPE_DEFAULT .comm _ACL_TYPE_ACCESS,4,2 ## @ACL_TYPE_ACCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jfs_init_acl ; -- Begin function jfs_init_acl .p2align 2 _jfs_init_acl: ; @jfs_init_acl .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 x8, x2 mov x19, x1 mov x21, x0 add x2, sp, #8 mov x3, sp mov x0, x8 bl _posix_acl_create mov x20, x0 cbnz w0, LBB0_10 ; %bb.1: ldr x3, [sp, #8] cbz x3, LBB0_4 ; %bb.2: Lloh0: adrp x8, _ACL_TYPE_DEFAULT@GOTPAGE Lloh1: ldr x8, [x8, _ACL_TYPE_DEFAULT@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x21 mov x1, x19 bl ___jfs_set_acl mov x20, x0 ldr x0, [sp, #8] bl _posix_acl_release ldr x3, [sp] cbz x3, LBB0_8 ; %bb.3: cbnz w20, LBB0_6 b LBB0_5 LBB0_4: str xzr, [x19, #16] ldr x3, [sp] cbz x3, LBB0_7 LBB0_5: Lloh3: adrp x8, _ACL_TYPE_ACCESS@GOTPAGE Lloh4: ldr x8, [x8, _ACL_TYPE_ACCESS@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x21 mov x1, x19 bl ___jfs_set_acl mov x20, x0 ldr x3, [sp] LBB0_6: mov x0, x3 bl _posix_acl_release b LBB0_9 LBB0_7: mov w20, #0 LBB0_8: str xzr, [x19, #8] LBB0_9: mov x0, x19 bl _JFS_IP ldrh w8, [x0, #2] ldr w9, [x19] orr w21, w9, w8, lsl #16 mov x0, x19 bl _JFS_IP str w21, [x0] LBB0_10: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _ACL_TYPE_DEFAULT,4,2 ; @ACL_TYPE_DEFAULT .comm _ACL_TYPE_ACCESS,4,2 ; @ACL_TYPE_ACCESS .subsections_via_symbols
AnghaBench/linux/fs/jfs/extr_acl.c_jfs_init_acl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %edi, %edi callq _setuid cmpl $-1, %eax jne LBB0_3 ## %bb.1: leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_3: xorl %edi, %edi callq _setgid cmpl $-1, %eax jne LBB0_5 ## %bb.4: leaq L_.str.1(%rip), %rsi jmp LBB0_2 LBB0_5: xorl %edi, %edi xorl %esi, %esi callq _setgroups cmpl $-1, %eax jne LBB0_7 ## %bb.6: leaq L_.str.2(%rip), %rsi LBB0_2: movl $1, %edi xorl %eax, %eax callq _err LBB0_7: leaq L_.str.3(%rip), %rdi movq %rdi, %rsi xorl %edx, %edx xorl %eax, %eax callq _execl leaq L_.str.4(%rip), %rbx movq %rbx, %rdi movq %rbx, %rsi xorl %edx, %edx xorl %eax, %eax callq _execl movl $1, %edi movq %rbx, %rsi xorl %eax, %eax callq _err .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "setuid" L_.str.1: ## @.str.1 .asciz "setgid" L_.str.2: ## @.str.2 .asciz "setgroups" L_.str.3: ## @.str.3 .asciz "/bin/bash" L_.str.4: ## @.str.4 .asciz "/bin/sh" .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 mov w0, #0 bl _setuid cmn w0, #1 b.ne LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #1 bl _err LBB0_2: mov w0, #0 bl _setgid cmn w0, #1 b.ne LBB0_4 ; %bb.3: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov w0, #1 bl _err LBB0_4: mov w0, #0 mov x1, #0 bl _setgroups cmn w0, #1 b.ne LBB0_6 ; %bb.5: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov w0, #1 bl _err LBB0_6: str xzr, [sp] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF mov x1, x0 bl _execl str xzr, [sp] Lloh8: adrp x19, l_.str.4@PAGE Lloh9: add x19, x19, l_.str.4@PAGEOFF mov x0, x19 mov x1, x19 bl _execl mov w0, #1 mov x1, x19 bl _err .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "setuid" l_.str.1: ; @.str.1 .asciz "setgid" l_.str.2: ; @.str.2 .asciz "setgroups" l_.str.3: ; @.str.3 .asciz "/bin/bash" l_.str.4: ; @.str.4 .asciz "/bin/sh" .subsections_via_symbols
the_stack_data/43888461.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fd_seekdir _fd_seekdir: ## @fd_seekdir .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) movq 8(%rdi), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fd_seekdir .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fd_seekdir _fd_seekdir: ; @fd_seekdir .cfi_startproc ; %bb.0: str x1, [x0] ldr x8, [x0, #8] ldr x2, [x8] cbz x2, LBB0_2 ; %bb.1: br x2 LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _fd_seekdir .subsections_via_symbols
AnghaBench/ish/fs/extr_dir.c_fd_seekdir.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pause_audio _pause_audio: ## @pause_audio .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq (%rdi), %rsi subq 8(%rbx), %rsi movq %rdx, %rdi callq _ns_to_audio_frames movq %rax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pause_audio .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pause_audio _pause_audio: ; @pause_audio .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 x8, [x0] ldr x9, [x1, #8] sub x1, x8, x9 mov x0, x2 bl _ns_to_audio_frames 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 .no_dead_strip _pause_audio .subsections_via_symbols
AnghaBench/obs-studio/libobs/extr_obs-encoder.c_pause_audio.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -52(%rbp), %rsi xorl %eax, %eax callq _scanf movq %rsp, %r13 movl -52(%rbp), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx leaq L_str(%rip), %rdi callq _puts cmpl $0, -52(%rbp) jle LBB0_17 ## %bb.1: leaq L_.str.1(%rip), %r14 movq %rbx, %r12 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r12, %rsi xorl %eax, %eax callq _scanf incq %r15 movslq -52(%rbp), %rax addq $4, %r12 cmpq %rax, %r15 jl LBB0_2 ## %bb.3: testl %eax, %eax jle LBB0_17 ## %bb.4: movq %r13, -72(%rbp) ## 8-byte Spill leaq L_.str.3(%rip), %r12 xorl %r13d, %r13d jmp LBB0_5 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_5 Depth=1 leaq L_str.6(%rip), %rdi callq _puts movq -64(%rbp), %r13 ## 8-byte Reload incq %r13 movslq -52(%rbp), %rax cmpq %rax, %r13 jge LBB0_14 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_10 Depth 3 movl (%rbx,%r13,4), %r15d movl %r15d, %eax movq %r13, -64(%rbp) ## 8-byte Spill cmpl %eax, %r15d jge LBB0_8 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rdx ## 8-byte Reload movl (%rbx,%rdx,4), %ecx movl %eax, (%rbx,%rdx,4) movl %ecx, (%rbx,%r13,4) LBB0_8: ## Parent Loop BB0_5 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_10 Depth 3 cmpl $0, -52(%rbp) jle LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_5 Depth=1 ## Parent Loop BB0_8 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%rbx,%r14,4), %esi movq %r12, %rdi xorl %eax, %eax callq _printf incq %r14 movslq -52(%rbp), %rax cmpq %rax, %r14 jl LBB0_10 LBB0_11: ## in Loop: Header=BB0_8 Depth=2 movl $10, %edi callq _putchar testq %r13, %r13 jle LBB0_13 ## %bb.12: ## in Loop: Header=BB0_8 Depth=2 movl -4(%rbx,%r13,4), %eax decq %r13 cmpl %eax, %r15d jl LBB0_7 jmp LBB0_8 LBB0_14: testl %eax, %eax movq -72(%rbp), %r13 ## 8-byte Reload jle LBB0_17 ## %bb.15: leaq L_.str.3(%rip), %r14 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movl (%rbx,%r15,4), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %r15 movslq -52(%rbp), %rax cmpq %rax, %r15 jl LBB0_16 LBB0_17: movl $10, %edi callq _putchar movq %r13, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_19 ## %bb.18: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter the number of elements you want to enter : " L_.str.1: ## @.str.1 .asciz "%d" L_.str.3: ## @.str.3 .asciz "%d " L_str: ## @str .asciz "Enter elements : " L_str.6: ## @str.6 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #76 str x8, [sp, #-16]! Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _scanf add sp, sp, #16 mov x21, sp ldur w8, [x29, #-76] lsl x8, x8, #2 mov x9, x8 Lloh7: adrp x16, ___chkstk_darwin@GOTPAGE Lloh8: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x22, x9, x8 mov sp, x22 Lloh9: adrp x0, l_str@PAGE Lloh10: add x0, x0, l_str@PAGEOFF bl _puts ldur w8, [x29, #-76] cmp w8, #1 b.lt LBB0_16 ; %bb.1: mov x20, #0 Lloh11: adrp x19, l_.str.1@PAGE Lloh12: add x19, x19, l_.str.1@PAGEOFF mov x23, x22 LBB0_2: ; =>This Inner Loop Header: Depth=1 str x23, [sp, #-16]! mov x0, x19 bl _scanf add sp, sp, #16 add x20, x20, #1 ldursw x8, [x29, #-76] add x23, x23, #4 cmp x20, x8 b.lt LBB0_2 ; %bb.3: cmp w8, #1 b.lt LBB0_16 ; %bb.4: mov x23, #0 Lloh13: adrp x19, l_.str.3@PAGE Lloh14: add x19, x19, l_.str.3@PAGEOFF Lloh15: adrp x20, l_str.6@PAGE Lloh16: add x20, x20, l_str.6@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 mov x0, x20 bl _puts add x23, x23, #1 ldursw x8, [x29, #-76] cmp x23, x8 b.ge LBB0_13 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_10 Depth 3 ldr w24, [x22, x23, lsl #2] mov x8, x24 mov x25, x23 cmp w24, w8 b.ge LBB0_8 LBB0_7: ; in Loop: Header=BB0_6 Depth=1 lsl x9, x23, #2 ldr w10, [x22, x9] str w8, [x22, x9] str w10, [x22, x25, lsl #2] LBB0_8: ; Parent Loop BB0_6 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_10 Depth 3 ldur w8, [x29, #-76] cmp w8, #1 b.lt LBB0_11 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 mov x26, #0 LBB0_10: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x22, x26, lsl #2] str x8, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 add x26, x26, #1 ldursw x8, [x29, #-76] cmp x26, x8 b.lt LBB0_10 LBB0_11: ; in Loop: Header=BB0_8 Depth=2 mov w0, #10 bl _putchar subs x25, x25, #1 b.lt LBB0_5 ; %bb.12: ; in Loop: Header=BB0_8 Depth=2 ldr w8, [x22, x25, lsl #2] cmp w24, w8 b.lt LBB0_7 b LBB0_8 LBB0_13: cmp w8, #1 b.lt LBB0_16 ; %bb.14: mov x20, #0 Lloh17: adrp x19, l_.str.3@PAGE Lloh18: add x19, x19, l_.str.3@PAGEOFF LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr w8, [x22, x20, lsl #2] str x8, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 add x20, x20, #1 ldursw x8, [x29, #-76] cmp x20, x8 b.lt LBB0_15 LBB0_16: mov w0, #10 bl _putchar mov sp, x21 ldur x8, [x29, #-72] Lloh19: adrp x9, ___stack_chk_guard@GOTPAGE Lloh20: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x9, x8 b.ne LBB0_18 ; %bb.17: mov w0, #0 sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_18: bl ___stack_chk_fail .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter the number of elements you want to enter : " l_.str.1: ; @.str.1 .asciz "%d" l_.str.3: ; @.str.3 .asciz "%d " l_str: ; @str .asciz "Enter elements : " l_str.6: ; @str.6 .asciz "\n" .subsections_via_symbols
the_stack_data/11079.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mthca_init_db_tab ## -- Begin function mthca_init_db_tab .p2align 4, 0x90 _mthca_init_db_tab: ## @mthca_init_db_tab .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, %rbx callq _mthca_is_memfree xorl %r14d, %r14d testl %eax, %eax je LBB0_7 ## %bb.1: movq _GFP_KERNEL@GOTPCREL(%rip), %r15 movl (%r15), %esi movl $32, %edi callq _kmalloc movq %rax, (%rbx) testq %rax, %rax je LBB0_6 ## %bb.2: addq $24, %rax movq %rax, %rdi callq _mutex_init movl 8(%rbx), %eax movq _MTHCA_ICM_PAGE_SIZE@GOTPCREL(%rip), %rcx cltd idivl (%rcx) ## kill: def $eax killed $eax def $rax movq (%rbx), %rcx movl %eax, (%rcx) movq $0, 16(%rcx) leal -1(%rax), %edx movl %edx, 4(%rcx) movl (%r15), %edx movl %eax, %edi movl $8, %esi callq _kmalloc_array movq (%rbx), %rdi movq %rax, 8(%rdi) testq %rax, %rax je LBB0_5 ## %bb.3: movl (%rdi), %esi testl %esi, %esi jle LBB0_7 ## %bb.4: shlq $3, %rsi movq %rax, %rdi callq ___bzero jmp LBB0_7 LBB0_5: callq _kfree LBB0_6: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d LBB0_7: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _MTHCA_ICM_PAGE_SIZE,4,2 ## @MTHCA_ICM_PAGE_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mthca_init_db_tab ; -- Begin function mthca_init_db_tab .p2align 2 _mthca_init_db_tab: ; @mthca_init_db_tab .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 _mthca_is_memfree cbz w0, LBB0_8 ; %bb.1: Lloh0: adrp x20, _GFP_KERNEL@GOTPAGE Lloh1: ldr x20, [x20, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x20] mov w0, #32 bl _kmalloc str x0, [x19] cbz x0, LBB0_7 ; %bb.2: add x0, x0, #24 bl _mutex_init ldr w8, [x19, #8] Lloh2: adrp x9, _MTHCA_ICM_PAGE_SIZE@GOTPAGE Lloh3: ldr x9, [x9, _MTHCA_ICM_PAGE_SIZE@GOTPAGEOFF] Lloh4: ldr w9, [x9] sdiv w0, w8, w9 ldr x8, [x19] str xzr, [x8, #16] sub w9, w0, #1 stp w0, w9, [x8] ldr w2, [x20] mov w1, #8 bl _kmalloc_array ldr x8, [x19] str x0, [x8, #8] cbz x0, LBB0_6 ; %bb.3: ldr w8, [x8] cmp w8, #1 b.lt LBB0_5 ; %bb.4: lsl x1, x8, #3 bl _bzero LBB0_5: mov w0, #0 b LBB0_8 LBB0_6: mov x0, x8 bl _kfree LBB0_7: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _MTHCA_ICM_PAGE_SIZE,4,2 ; @MTHCA_ICM_PAGE_SIZE .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/hw/mthca/extr_mthca_memfree.c_mthca_init_db_tab.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function i915_random_order LCPI0_0: .long 0 ## 0x0 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 LCPI0_1: .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 LCPI0_2: .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 LCPI0_3: .long 12 ## 0xc .long 12 ## 0xc .long 12 ## 0xc .long 12 ## 0xc LCPI0_4: .long 16 ## 0x10 .long 16 ## 0x10 .long 16 ## 0x10 .long 16 ## 0x10 LCPI0_5: .long 20 ## 0x14 .long 20 ## 0x14 .long 20 ## 0x14 .long 20 ## 0x14 LCPI0_6: .long 24 ## 0x18 .long 24 ## 0x18 .long 24 ## 0x18 .long 24 ## 0x18 LCPI0_7: .long 28 ## 0x1c .long 28 ## 0x1c .long 28 ## 0x1c .long 28 ## 0x1c LCPI0_8: .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .section __TEXT,__text,regular,pure_instructions .globl _i915_random_order .p2align 4, 0x90 _i915_random_order: ## @i915_random_order .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 _GFP_KERNEL@GOTPCREL(%rip), %rax movq ___GFP_RETRY_MAYFAIL@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx movq %rsi, %r14 movl %edi, %r15d movq ___GFP_NOWARN@GOTPCREL(%rip), %rax orl (%rax), %edx movl $4, %esi callq _kmalloc_array movq %rax, %rbx testq %rax, %rax je LBB0_14 ## %bb.1: testl %r15d, %r15d je LBB0_13 ## %bb.2: movl %r15d, %eax cmpl $8, %r15d jae LBB0_4 ## %bb.3: xorl %ecx, %ecx jmp LBB0_12 LBB0_4: movl %eax, %ecx andl $-8, %ecx leaq -8(%rcx), %rdi movq %rdi, %rsi shrq $3, %rsi incq %rsi movl %esi, %edx andl $3, %edx cmpq $24, %rdi jae LBB0_6 ## %bb.5: movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,2,3] xorl %edi, %edi jmp LBB0_8 LBB0_6: andq $-4, %rsi movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,2,3] xorl %edi, %edi movdqa LCPI0_1(%rip), %xmm8 ## xmm8 = [4,4,4,4] movdqa LCPI0_2(%rip), %xmm9 ## xmm9 = [8,8,8,8] movdqa LCPI0_3(%rip), %xmm10 ## xmm10 = [12,12,12,12] movdqa LCPI0_4(%rip), %xmm4 ## xmm4 = [16,16,16,16] movdqa LCPI0_5(%rip), %xmm5 ## xmm5 = [20,20,20,20] movdqa LCPI0_6(%rip), %xmm6 ## xmm6 = [24,24,24,24] movdqa LCPI0_7(%rip), %xmm7 ## xmm7 = [28,28,28,28] movdqa LCPI0_8(%rip), %xmm1 ## xmm1 = [32,32,32,32] .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm2 paddd %xmm8, %xmm2 movdqu %xmm0, (%rbx,%rdi,4) movdqu %xmm2, 16(%rbx,%rdi,4) movdqa %xmm0, %xmm2 paddd %xmm9, %xmm2 movdqa %xmm0, %xmm3 paddd %xmm10, %xmm3 movdqu %xmm2, 32(%rbx,%rdi,4) movdqu %xmm3, 48(%rbx,%rdi,4) movdqa %xmm0, %xmm2 paddd %xmm4, %xmm2 movdqa %xmm0, %xmm3 paddd %xmm5, %xmm3 movdqu %xmm2, 64(%rbx,%rdi,4) movdqu %xmm3, 80(%rbx,%rdi,4) movdqa %xmm0, %xmm2 paddd %xmm6, %xmm2 movdqa %xmm0, %xmm3 paddd %xmm7, %xmm3 movdqu %xmm2, 96(%rbx,%rdi,4) movdqu %xmm3, 112(%rbx,%rdi,4) addq $32, %rdi paddd %xmm1, %xmm0 addq $-4, %rsi jne LBB0_7 LBB0_8: testq %rdx, %rdx je LBB0_11 ## %bb.9: leaq (%rbx,%rdi,4), %rsi addq $16, %rsi shlq $5, %rdx xorl %edi, %edi movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [4,4,4,4] movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [8,8,8,8] .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm3 paddd %xmm1, %xmm3 movdqu %xmm0, -16(%rsi,%rdi) movdqu %xmm3, (%rsi,%rdi) paddd %xmm2, %xmm0 addq $32, %rdi cmpq %rdi, %rdx jne LBB0_10 LBB0_11: cmpq %rax, %rcx je LBB0_13 .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movl %ecx, (%rbx,%rcx,4) incq %rcx cmpq %rcx, %rax jne LBB0_12 LBB0_13: movq %rbx, %rdi movl %r15d, %esi movq %r14, %rdx callq _i915_random_reorder LBB0_14: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm ___GFP_RETRY_MAYFAIL,4,2 ## @__GFP_RETRY_MAYFAIL .comm ___GFP_NOWARN,4,2 ## @__GFP_NOWARN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function i915_random_order lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .globl _i915_random_order .p2align 2 _i915_random_order: ; @i915_random_order .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 x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, ___GFP_RETRY_MAYFAIL@GOTPAGE Lloh4: ldr x9, [x9, ___GFP_RETRY_MAYFAIL@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, ___GFP_NOWARN@GOTPAGE Lloh7: ldr x9, [x9, ___GFP_NOWARN@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w2, w8, w9 mov w1, #4 bl _kmalloc_array mov x21, x0 cbz x0, LBB0_9 ; %bb.1: cbz w20, LBB0_8 ; %bb.2: mov w8, w20 cmp w20, #16 b.hs LBB0_4 ; %bb.3: mov x9, #0 b LBB0_7 LBB0_4: and x9, x8, #0xfffffff0 Lloh9: adrp x10, lCPI0_0@PAGE Lloh10: ldr q0, [x10, lCPI0_0@PAGEOFF] add x10, x21, #32 movi.4s v1, #4 movi.4s v2, #8 movi.4s v3, #12 movi.4s v4, #16 mov x11, x9 LBB0_5: ; =>This Inner Loop Header: Depth=1 add.4s v5, v0, v1 add.4s v6, v0, v2 add.4s v7, v0, v3 stp q0, q5, [x10, #-32] stp q6, q7, [x10], #64 add.4s v0, v0, v4 subs x11, x11, #16 b.ne LBB0_5 ; %bb.6: cmp x9, x8 b.eq LBB0_8 LBB0_7: ; =>This Inner Loop Header: Depth=1 str w9, [x21, x9, lsl #2] add x9, x9, #1 cmp x8, x9 b.ne LBB0_7 LBB0_8: mov x0, x21 mov x1, x20 mov x2, x19 bl _i915_random_reorder LBB0_9: 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 AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm ___GFP_RETRY_MAYFAIL,4,2 ; @__GFP_RETRY_MAYFAIL .comm ___GFP_NOWARN,4,2 ; @__GFP_NOWARN .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_random.c_i915_random_order.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function segmentPtrSearchOversized _segmentPtrSearchOversized: ## @segmentPtrSearchOversized .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 movl %r8d, %ebx movq %rcx, %r15 movl %edx, -64(%rbp) ## 4-byte Spill movq %rsi, %r12 movq (%rdi), %rax movq (%rax), %rax movq %rax, -96(%rbp) ## 8-byte Spill movq _LSM_OK@GOTPCREL(%rip), %r14 movl (%r14), %r13d leaq 16(%rsi), %rax movq %rax, -88(%rbp) ## 8-byte Spill movl %r8d, -60(%rbp) ## 4-byte Spill movq %rcx, -80(%rbp) ## 8-byte Spill jmp LBB0_1 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movzbl %al, %edi callq _assert movl -60(%rbp), %ebx ## 4-byte Reload .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 cmpl (%r14), %r13d jne LBB0_11 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq _PGFTR_SKIP_NEXT_FLAG@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%r12), %eax je LBB0_11 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl 4(%r12), %edi movq 8(%r12), %rsi movq 24(%r12), %rdx decq %rdx leaq -68(%rbp), %rcx leaq -72(%rbp), %r8 movq -88(%rbp), %r9 ## 8-byte Reload callq _pageGetKey movl -68(%rbp), %esi movl -72(%rbp), %ecx movl %ebx, (%rsp) movq -96(%rbp), %rdi ## 8-byte Reload movq %rax, %rdx movl -64(%rbp), %r8d ## 4-byte Reload movq %r15, %r9 callq _sortedKeyCompare testl %eax, %eax jns LBB0_10 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq 8(%r12), %rbx movq %rbx, %rdi callq _lsmFsPageRef .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl 4(%r12), %edi movq %rbx, %rsi movl $1, %edx leaq -56(%rbp), %rcx callq _lsmFsDbPageNext movl %eax, %r13d movq %rbx, %rdi callq _lsmFsPageRelease movq -56(%rbp), %rbx testq %rbx, %rbx je LBB0_11 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 xorl %edi, %edi cmpl (%r14), %r13d sete %dil callq _assert movq %rbx, %rdi leaq -44(%rbp), %rsi callq _lsmFsPageData movq %rax, %r15 movl -44(%rbp), %esi movq %rax, %rdi callq _pageGetFlags movq _SEGMENT_BTREE_FLAG@GOTPCREL(%rip), %rcx testl %eax, (%rcx) jne LBB0_4 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movl -44(%rbp), %esi movq %r15, %rdi callq _pageGetNRec testq %rax, %rax jle LBB0_4 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdi movq %rbx, %rsi callq _segmentPtrSetPage movb $1, %al cmpl (%r14), %r13d movq -80(%rbp), %r15 ## 8-byte Reload jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movq _PGFTR_SKIP_THIS_FLAG@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r12) setne %al jmp LBB0_9 LBB0_11: movl %r13d, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LSM_OK,4,2 ## @LSM_OK .comm _PGFTR_SKIP_NEXT_FLAG,4,2 ## @PGFTR_SKIP_NEXT_FLAG .comm _SEGMENT_BTREE_FLAG,4,2 ## @SEGMENT_BTREE_FLAG .comm _PGFTR_SKIP_THIS_FLAG,4,2 ## @PGFTR_SKIP_THIS_FLAG .no_dead_strip _segmentPtrSearchOversized .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function segmentPtrSearchOversized _segmentPtrSearchOversized: ; @segmentPtrSearchOversized .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x25, x4 mov x20, x3 mov x21, x2 mov x22, x1 ldr x8, [x0] ldr x23, [x8] Lloh0: adrp x27, _LSM_OK@GOTPAGE Lloh1: ldr x27, [x27, _LSM_OK@GOTPAGEOFF] ldr w24, [x27] Lloh2: adrp x19, _PGFTR_SKIP_NEXT_FLAG@GOTPAGE Lloh3: ldr x19, [x19, _PGFTR_SKIP_NEXT_FLAG@GOTPAGEOFF] Lloh4: adrp x28, _SEGMENT_BTREE_FLAG@GOTPAGE Lloh5: ldr x28, [x28, _SEGMENT_BTREE_FLAG@GOTPAGEOFF] str x23, [sp] ; 8-byte Folded Spill b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x22] Lloh6: adrp x9, _PGFTR_SKIP_THIS_FLAG@GOTPAGE Lloh7: ldr x9, [x9, _PGFTR_SKIP_THIS_FLAG@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 cset w0, ne LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x25, x20 bl _assert mov x20, x21 mov x21, x23 ldr x23, [sp] ; 8-byte Folded Reload LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x27] cmp w24, w8 b.ne LBB0_12 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldr w8, [x22] ldr w9, [x19] orr w8, w9, w8 cbz w8, LBB0_12 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x22, #4] ldr x1, [x22, #8] ldr x8, [x22, #24] sub x2, x8, #1 add x3, sp, #24 add x4, sp, #28 add x5, x22, #16 bl _pageGetKey mov x2, x0 ldp w1, w3, [sp, #24] mov x0, x23 mov x4, x21 mov x5, x20 mov x6, x25 bl _sortedKeyCompare tbz w0, #31, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x23, x21 mov x21, x20 mov x20, x25 ldr x25, [x22, #8] mov x0, x25 bl _lsmFsPageRef LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w0, [x22, #4] add x3, sp, #16 mov x1, x25 mov w2, #1 ; =0x1 bl _lsmFsDbPageNext mov x24, x0 mov x0, x25 bl _lsmFsPageRelease ldr x25, [sp, #16] cbz x25, LBB0_12 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 ldr w8, [x27] cmp w24, w8 cset w0, eq bl _assert add x1, sp, #12 mov x0, x25 bl _lsmFsPageData mov x26, x0 ldr w1, [sp, #12] bl _pageGetFlags ldr w8, [x28] tst w8, w0 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 ldr w1, [sp, #12] mov x0, x26 bl _pageGetNRec cmp x0, #0 b.le LBB0_7 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 mov x0, x22 mov x1, x25 bl _segmentPtrSetPage ldr w8, [x27] cmp w24, w8 b.eq LBB0_1 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 mov w0, #1 ; =0x1 b LBB0_2 LBB0_12: mov x0, x24 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _LSM_OK,4,2 ; @LSM_OK .comm _PGFTR_SKIP_NEXT_FLAG,4,2 ; @PGFTR_SKIP_NEXT_FLAG .comm _SEGMENT_BTREE_FLAG,4,2 ; @SEGMENT_BTREE_FLAG .comm _PGFTR_SKIP_THIS_FLAG,4,2 ; @PGFTR_SKIP_THIS_FLAG .no_dead_strip _segmentPtrSearchOversized .subsections_via_symbols
assembly_file_93658.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ioctl_dev _ioctl_dev: ## @ioctl_dev .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), %rdi movq (%rdi), %rax popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ioctl_dev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ioctl_dev _ioctl_dev: ; @ioctl_dev .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x0, [x8] ldr x4, [x0] br x4 .cfi_endproc ; -- End function .no_dead_strip _ioctl_dev .subsections_via_symbols
AnghaBench/linux/drivers/md/bcache/extr_super.c_ioctl_dev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qc_readparam _qc_readparam: ## @qc_readparam .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl $6, %esi callq _write_lpcontrol movq %rbx, %rdi movl $1, %esi callq _qc_waithand movl %eax, %r14d movq %rbx, %rdi movl $14, %esi callq _write_lpcontrol movq %rbx, %rdi xorl %esi, %esi callq _qc_waithand andl $240, %r14d shrl $4, %eax andl $15, %eax orl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _qc_readparam .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qc_readparam _qc_readparam: ; @qc_readparam .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 mov w1, #6 bl _write_lpcontrol mov x0, x19 mov w1, #1 bl _qc_waithand mov x20, x0 mov x0, x19 mov w1, #14 bl _write_lpcontrol mov x0, x19 mov w1, #0 bl _qc_waithand and w8, w20, #0xf0 bfxil w8, w0, #4, #4 mov x0, x8 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 _qc_readparam .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/extr_bw-qcam.c_qc_readparam.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _root_for_each_container ## -- Begin function root_for_each_container .p2align 4, 0x90 _root_for_each_container: ## @root_for_each_container .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 _root@GOTPCREL(%rip), %r12 movq (%r12), %rax movq 16(%rax), %rcx cmpl $0, (%rcx) jle LBB0_3 ## %bb.1: movl $1, %r15d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rcx), %rax movq -8(%rax,%r15,8), %rdi movq %r14, %rsi movq %rbx, %rdx callq _output_for_each_container movq (%r12), %rax movq 16(%rax), %rcx movslq (%rcx), %rdx decq %r15 cmpq %rdx, %r15 jle LBB0_2 LBB0_3: movq 8(%rax), %rcx cmpl $0, (%rcx) jle LBB0_8 ## %bb.4: xorl %r13d, %r13d jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 incq %r13 movq (%r12), %rax movq 8(%rax), %rcx movslq (%rcx), %rdx cmpq %rdx, %r13 jge LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq 8(%rcx), %rax movq (%rax,%r13,8), %r15 movq %r15, %rdi callq _container_is_scratchpad_hidden testq %rax, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq %r15, %rdi movq %rbx, %rsi callq *%r14 movq %r15, %rdi movq %r14, %rsi movq %rbx, %rdx callq _container_for_each_child jmp LBB0_7 LBB0_8: movq (%rax), %rax movq (%rax), %rax cmpl $0, (%rax) jle LBB0_11 ## %bb.9: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %rax movq (%rax,%r15,8), %rdi movq %r14, %rsi movq %rbx, %rdx callq _workspace_for_each_container incq %r15 movq (%r12), %rax movq (%rax), %rax movq (%rax), %rax movslq (%rax), %rcx cmpq %rcx, %r15 jl LBB0_10 LBB0_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _root,8,3 ## @root .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _root_for_each_container ; -- Begin function root_for_each_container .p2align 2 _root_for_each_container: ; @root_for_each_container .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 x19, x1 mov x20, x0 Lloh0: adrp x22, _root@GOTPAGE Lloh1: ldr x22, [x22, _root@GOTPAGEOFF] ldr x8, [x22] ldr x9, [x8, #16] ldr w10, [x9] cmp w10, #1 b.lt LBB0_3 ; %bb.1: mov x21, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x9, #8] ldr x0, [x8, x21, lsl #3] mov x1, x20 mov x2, x19 bl _output_for_each_container sub x10, x21, #1 ldr x8, [x22] ldr x9, [x8, #16] ldrsw x11, [x9] cmp x21, x11 mov x21, x10 b.le LBB0_2 LBB0_3: ldr x9, [x8, #8] ldr w10, [x9] cmp w10, #1 b.lt LBB0_8 ; %bb.4: mov x23, #0 ; =0x0 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x23, x23, #1 ldr x8, [x22] ldr x9, [x8, #8] ldrsw x10, [x9] cmp x23, x10 b.ge LBB0_8 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x9, #8] ldr x21, [x8, x23, lsl #3] mov x0, x21 bl _container_is_scratchpad_hidden cbz x0, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 mov x0, x21 mov x1, x19 blr x20 mov x0, x21 mov x1, x20 mov x2, x19 bl _container_for_each_child b LBB0_5 LBB0_8: ldr x8, [x8] ldr x8, [x8] ldr w9, [x8] cmp w9, #1 b.lt LBB0_11 ; %bb.9: mov x21, #0 ; =0x0 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #8] ldr x0, [x8, x21, lsl #3] mov x1, x20 mov x2, x19 bl _workspace_for_each_container add x21, x21, #1 ldr x8, [x22] ldr x8, [x8] ldr x8, [x8] ldrsw x9, [x8] cmp x21, x9 b.lt LBB0_10 LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _root,8,3 ; @root .subsections_via_symbols
assembly_file_77275.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mi_cmd_interpreter_exec ## -- Begin function mi_cmd_interpreter_exec .p2align 4, 0x90 _mi_cmd_interpreter_exec: ## @mi_cmd_interpreter_exec .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, %edx jg LBB0_3 ## %bb.1: movq _mi_error_message@GOTPCREL(%rip), %rdi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _xasprintf jmp LBB0_2 LBB0_3: movq %rsi, %rbx movq (%rsi), %rdi callq _interp_lookup testq %rax, %rax je LBB0_4 ## %bb.6: movq %rax, %r14 movq %rax, %rdi callq _interp_exec_p testl %eax, %eax je LBB0_7 ## %bb.8: xorl %eax, %eax callq _mi_insert_notify_hooks movq %rbx, -48(%rbp) ## 8-byte Spill leaq 8(%rbx), %r15 movq _sync_execution@GOTPCREL(%rip), %rbx jmp LBB0_9 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_9 Depth=1 xorl %eax, %eax callq _mi_error_last_message addq $-8, %r15 LBB0_9: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax callq _target_can_async_p testq %rax, %rax je LBB0_10 LBB0_12: ## in Loop: Header=BB0_9 Depth=1 movq (%r15), %rdi callq _strlen movl %eax, %r13d leal -2(%r13), %edi callq _xmalloc movq %rax, %r12 movq (%r15), %rsi movq %rax, %rdi movl %r13d, %edx callq _memcpy movslq %r13d, %rax movw $38, (%r12,%rax) jmp LBB0_13 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_9 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload movq (%rax), %rdi leaq L_.str.3(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 xorl %r12d, %r12d LBB0_13: ## in Loop: Header=BB0_9 Depth=1 movl $1, (%rbx) movq (%r15), %rsi movq %r14, %rdi callq _interp_exec testq %rax, %rax js LBB0_14 ## %bb.15: ## in Loop: Header=BB0_9 Depth=1 movq %r12, %rdi callq _xfree movq _ALL_CLEANUPS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _do_exec_error_cleanups movl $0, (%rbx) addq $-8, %r15 jmp LBB0_9 LBB0_4: movq (%rbx), %rdx movq _mi_error_message@GOTPCREL(%rip), %rdi leaq L_.str.1(%rip), %rsi jmp LBB0_5 LBB0_7: movq (%rbx), %rdx movq _mi_error_message@GOTPCREL(%rip), %rdi leaq L_.str.2(%rip), %rsi LBB0_5: xorl %eax, %eax callq _xasprintf LBB0_2: movq _MI_CMD_ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MI_CMD_DONE,4,2 ## @MI_CMD_DONE .comm _mi_error_message,4,2 ## @mi_error_message .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command" .comm _MI_CMD_ERROR,4,2 ## @MI_CMD_ERROR L_.str.1: ## @.str.1 .asciz "mi_cmd_interpreter_exec: could not find interpreter \"%s\"" L_.str.2: ## @.str.2 .asciz "mi_cmd_interpreter_exec: interpreter \"%s\" does not support command execution" L_.str.3: ## @.str.3 .asciz "console" .comm _sync_execution,4,2 ## @sync_execution .comm _ALL_CLEANUPS,4,2 ## @ALL_CLEANUPS .comm _target_executing,8,3 ## @target_executing .comm _raw_stdout,4,2 ## @raw_stdout .comm _mi_interpreter_exec_continuation,4,2 ## @mi_interpreter_exec_continuation .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mi_cmd_interpreter_exec ; -- Begin function mi_cmd_interpreter_exec .p2align 2 _mi_cmd_interpreter_exec: ; @mi_cmd_interpreter_exec .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 cmp w2, #1 b.gt LBB0_2 ; %bb.1: Lloh0: adrp x0, _mi_error_message@GOTPAGE Lloh1: ldr x0, [x0, _mi_error_message@GOTPAGEOFF] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF b LBB0_14 LBB0_2: mov x19, x1 ldr x0, [x1] bl _interp_lookup cbz x0, LBB0_12 ; %bb.3: mov x20, x0 bl _interp_exec_p cbz w0, LBB0_13 ; %bb.4: bl _mi_insert_notify_hooks mov w24, #8 ; =0x8 Lloh4: adrp x25, _sync_execution@GOTPAGE Lloh5: ldr x25, [x25, _sync_execution@GOTPAGEOFF] mov w26, #38 ; =0x26 mov w27, #1 ; =0x1 Lloh6: adrp x28, _ALL_CLEANUPS@GOTPAGE Lloh7: ldr x28, [x28, _ALL_CLEANUPS@GOTPAGEOFF] Lloh8: adrp x21, l_.str.3@PAGE Lloh9: add x21, x21, l_.str.3@PAGEOFF bl _target_can_async_p cbnz x0, LBB0_7 LBB0_5: ldr x0, [x19] mov x1, x21 bl _strcmp cbz x0, LBB0_7 ; %bb.6: mov x22, #0 ; =0x0 b LBB0_8 LBB0_7: ldr x0, [x19, x24] bl _strlen mov x23, x0 sub w0, w0, #2 bl _xmalloc mov x22, x0 ldr x1, [x19, x24] mov x2, x23 bl _memcpy strh w26, [x22, w23, sxtw] LBB0_8: str w27, [x25] ldr x1, [x19, x24] mov x0, x20 bl _interp_exec tbnz x0, #63, LBB0_10 ; %bb.9: mov x0, x22 bl _xfree ldr w0, [x28] bl _do_exec_error_cleanups str wzr, [x25] b LBB0_11 LBB0_10: bl _mi_error_last_message LBB0_11: sub x24, x24, #8 bl _target_can_async_p cbnz x0, LBB0_7 b LBB0_5 LBB0_12: ldr x8, [x19] str x8, [sp] Lloh10: adrp x0, _mi_error_message@GOTPAGE Lloh11: ldr x0, [x0, _mi_error_message@GOTPAGEOFF] Lloh12: adrp x1, l_.str.1@PAGE Lloh13: add x1, x1, l_.str.1@PAGEOFF b LBB0_14 LBB0_13: ldr x8, [x19] str x8, [sp] Lloh14: adrp x0, _mi_error_message@GOTPAGE Lloh15: ldr x0, [x0, _mi_error_message@GOTPAGEOFF] Lloh16: adrp x1, l_.str.2@PAGE Lloh17: add x1, x1, l_.str.2@PAGEOFF LBB0_14: bl _xasprintf Lloh18: adrp x8, _MI_CMD_ERROR@GOTPAGE Lloh19: ldr x8, [x8, _MI_CMD_ERROR@GOTPAGEOFF] Lloh20: ldr w0, [x8] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _MI_CMD_DONE,4,2 ; @MI_CMD_DONE .comm _mi_error_message,4,2 ; @mi_error_message .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command" .comm _MI_CMD_ERROR,4,2 ; @MI_CMD_ERROR l_.str.1: ; @.str.1 .asciz "mi_cmd_interpreter_exec: could not find interpreter \"%s\"" l_.str.2: ; @.str.2 .asciz "mi_cmd_interpreter_exec: interpreter \"%s\" does not support command execution" l_.str.3: ; @.str.3 .asciz "console" .comm _sync_execution,4,2 ; @sync_execution .comm _ALL_CLEANUPS,4,2 ; @ALL_CLEANUPS .comm _target_executing,8,3 ; @target_executing .comm _raw_stdout,4,2 ; @raw_stdout .comm _mi_interpreter_exec_continuation,4,2 ; @mi_interpreter_exec_continuation .subsections_via_symbols
assembly_file_155338.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _grub_dl_unload ## -- Begin function grub_dl_unload .p2align 4, 0x90 _grub_dl_unload: ## @grub_dl_unload .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 xorl %eax, %eax cmpq $0, (%rdi) jg LBB0_10 ## %bb.1: movq %rdi, %r14 movq 64(%rdi), %rcx testq %rcx, %rcx je LBB0_3 ## %bb.2: xorl %eax, %eax callq *%rcx LBB0_3: movq %r14, %rdi callq _grub_dl_remove movq %r14, %rdi callq _grub_dl_unregister_symbols movq 56(%r14), %rbx testq %rbx, %rbx jne LBB0_4 LBB0_7: movq 40(%r14), %rbx testq %rbx, %rbx je LBB0_9 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq 24(%rbx), %rdi movq 32(%rbx), %r15 callq _grub_free movq %rbx, %rdi callq _grub_free movq %r15, %rbx testq %r15, %r15 jne LBB0_8 LBB0_9: movq 16(%r14), %rdi callq _grub_free movq %r14, %rdi callq _grub_free movl $1, %eax LBB0_10: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _grub_free movq %r15, %rbx testq %r15, %r15 je LBB0_7 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq 32(%rbx), %r15 movq 48(%rbx), %rdi callq _grub_dl_unref testl %eax, %eax jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq 48(%rbx), %rdi callq _grub_dl_unload jmp LBB0_6 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _grub_dl_unload ; -- Begin function grub_dl_unload .p2align 2 _grub_dl_unload: ; @grub_dl_unload .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] cmp x8, #0 b.le LBB0_2 ; %bb.1: mov w0, #0 b LBB0_8 LBB0_2: mov x19, x0 ldr x8, [x0, #64] cbz x8, LBB0_4 ; %bb.3: blr x8 LBB0_4: mov x0, x19 bl _grub_dl_remove mov x0, x19 bl _grub_dl_unregister_symbols ldr x20, [x19, #56] cbnz x20, LBB0_10 LBB0_5: ldr x20, [x19, #40] cbz x20, LBB0_7 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldp x0, x21, [x20, #24] bl _grub_free mov x0, x20 bl _grub_free mov x20, x21 cbnz x21, LBB0_6 LBB0_7: ldr x0, [x19, #16] bl _grub_free mov x0, x19 bl _grub_free mov w0, #1 LBB0_8: 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_9: ; in Loop: Header=BB0_10 Depth=1 mov x0, x20 bl _grub_free mov x20, x21 cbz x21, LBB0_5 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x21, [x20, #32] ldr x0, [x20, #48] bl _grub_dl_unref cbnz w0, LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 ldr x0, [x20, #48] bl _grub_dl_unload b LBB0_9 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/radare2/shlr/grub/kern/extr_dl.c_grub_dl_unload.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ar9300_get_delta_slope_values _ar9300_get_delta_slope_values: ## @ar9300_get_delta_slope_values .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %r15 movl %esi, %r12d movl $28, %eax .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 leal 3(%rax), %ecx movzbl %cl, %ecx btl %ecx, %r12d jb LBB0_9 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leal 2(%rax), %ecx movzbl %cl, %ecx btl %ecx, %r12d jb LBB0_8 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 leal 1(%rax), %ebx btl %ebx, %r12d jb LBB0_11 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 cmpl $2, %ebx jb LBB0_5 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 btl %eax, %r12d jb LBB0_10 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 addl $-4, %eax jmp LBB0_1 LBB0_9: addl $3, %eax jmp LBB0_10 LBB0_8: addl $2, %eax LBB0_10: movl %eax, %ebx jmp LBB0_11 LBB0_5: xorl %ebx, %ebx LBB0_11: movl %ebx, %edi callq _HALASSERT movq _COEF_SCALE_S@GOTPCREL(%rip), %rax movl (%rax), %eax subl %ebx, %eax leal -15(%rbx), %ecx movl $1, %edx ## kill: def $cl killed $cl killed $ecx shll %cl, %edx addl %r12d, %edx addb $-14, %bl movl %ebx, %ecx sarl %cl, %edx movl %edx, (%r15) addl $-2, %eax movl %eax, (%r14) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _COEF_SCALE_S,4,2 ## @COEF_SCALE_S .no_dead_strip _ar9300_get_delta_slope_values .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ar9300_get_delta_slope_values _ar9300_get_delta_slope_values: ; @ar9300_get_delta_slope_values .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x1 mov w22, #32 LBB0_1: ; =>This Inner Loop Header: Depth=1 sub w22, w22, #1 lsr w8, w21, w22 tbnz w8, #0, LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 cmp w22, #1 b.hi LBB0_1 ; %bb.3: mov w22, #0 LBB0_4: mov x0, x22 bl _HALASSERT Lloh0: adrp x8, _COEF_SCALE_S@GOTPAGE Lloh1: ldr x8, [x8, _COEF_SCALE_S@GOTPAGEOFF] Lloh2: ldr w8, [x8] sub w8, w8, w22 sub w9, w22, #14 sub w10, w22, #15 mov w11, #1 lsl w10, w11, w10 add w10, w10, w21 asr w9, w10, w9 str w9, [x20] sub w8, w8, #2 str w8, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _COEF_SCALE_S,4,2 ; @COEF_SCALE_S .no_dead_strip _ar9300_get_delta_slope_values .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/extr_ar9300_reset.c_ar9300_get_delta_slope_values.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mlxsw_sp_mp_hash_init _mlxsw_sp_mp_hash_init: ## @mlxsw_sp_mp_hash_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mlxsw_sp_mp_hash_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mlxsw_sp_mp_hash_init _mlxsw_sp_mp_hash_init: ; @mlxsw_sp_mp_hash_init .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _mlxsw_sp_mp_hash_init .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_router.c_mlxsw_sp_mp_hash_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iwl_is_associated _iwl_is_associated: ## @iwl_is_associated .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %eax shlq $2, %rax addq (%rdi), %rax movq %rax, %rdi popq %rbp jmp _iwl_is_associated_ctx ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _iwl_is_associated .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iwl_is_associated _iwl_is_associated: ; @iwl_is_associated .cfi_startproc ; %bb.0: ldr x8, [x0] add x0, x8, w1, uxtw #2 b _iwl_is_associated_ctx .cfi_endproc ; -- End function .no_dead_strip _iwl_is_associated .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlwifi/dvm/extr_dev.h_iwl_is_associated.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _readLong ## -- Begin function readLong .p2align 4, 0x90 _readLong: ## @readLong .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $152, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) callq _ftello movq _epos@GOTPCREL(%rip), %rcx movl %eax, (%rcx) leaq -160(%rbp), %rdi movl $128, %esi movq %rbx, %rdx callq _fgets xorl %ebx, %ebx testq %rax, %rax je LBB0_4 ## %bb.1: movb -160(%rbp), %al cmpb %r15b, %al jne LBB0_2 ## %bb.3: leaq -159(%rbp), %rdi leaq -168(%rbp), %rsi movl $10, %edx callq _strtol movq %rax, (%r14) movq -168(%rbp), %rdi callq _consumeNewline movl %eax, %ebx jmp LBB0_4 LBB0_2: movsbl %al, %esi movsbl %r15b, %edx leaq L_.str(%rip), %rdi callq _ERROR LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_6 ## %bb.5: movl %ebx, %eax addq $152, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_6: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _epos,4,2 ## @epos .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Expected prefix '%c', got: '%c'" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _readLong ; -- Begin function readLong .p2align 2 _readLong: ; @readLong .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 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 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] bl _ftello Lloh3: adrp x8, _epos@GOTPAGE Lloh4: ldr x8, [x8, _epos@GOTPAGEOFF] Lloh5: str w0, [x8] add x0, sp, #8 mov w1, #128 mov x2, x21 bl _fgets cbz x0, LBB0_4 ; %bb.1: ldrb w8, [sp, #8] cmp w8, w20, uxtb b.ne LBB0_3 ; %bb.2: add x8, sp, #8 add x0, x8, #1 mov x1, sp mov w2, #10 bl _strtol str x0, [x19] ldr x0, [sp] bl _consumeNewline b LBB0_4 LBB0_3: sxtb w1, w8 Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x2, x20 bl _ERROR mov w0, #0 LBB0_4: ldur x8, [x29, #-40] 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_6 ; %bb.5: 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 add sp, sp, #192 ret LBB0_6: bl ___stack_chk_fail .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _epos,4,2 ; @epos .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Expected prefix '%c', got: '%c'" .subsections_via_symbols
AnghaBench/disque/src/extr_disque-check-aof.c_readLong.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _default_def ## -- Begin function default_def .p2align 4, 0x90 _default_def: ## @default_def .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx callq _SSA_VAR_P movl %eax, %edi callq _gcc_assert movl %ebx, %edi callq _DECL_UID movl %eax, -20(%rbp) movq _default_defs@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %ebx, %edi callq _DECL_UID leaq -24(%rbp), %rsi movl %r14d, %edi movl %eax, %edx callq _htab_find_with_hash testq %rax, %rax jne LBB0_2 ## %bb.1: movq _NULL_TREE@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _default_defs,4,2 ## @default_defs .comm _NULL_TREE,4,2 ## @NULL_TREE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _default_def ; -- Begin function default_def .p2align 2 _default_def: ; @default_def .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _SSA_VAR_P bl _gcc_assert mov x0, x19 bl _DECL_UID str w0, [sp, #12] Lloh0: adrp x8, _default_defs@GOTPAGE Lloh1: ldr x8, [x8, _default_defs@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x19 bl _DECL_UID mov x2, x0 add x1, sp, #8 mov x0, x20 bl _htab_find_with_hash Lloh3: adrp x8, _NULL_TREE@GOTPAGE Lloh4: ldr x8, [x8, _NULL_TREE@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x0, eq ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _default_defs,4,2 ; @default_defs .comm _NULL_TREE,4,2 ; @NULL_TREE .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_tree-dfa.c_default_def.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ar9280AniSetup _ar9280AniSetup: ## @ar9280AniSetup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq _HAL_ANI_NOISE_IMMUNITY_LEVEL@GOTPCREL(%rip), %rax movb (%rax), %cl movl $-2, %ebx roll %cl, %ebx callq _AH5416 andl %ebx, (%rax) movq _AH_TRUE@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq _ar9280AniSetup.aniparams(%rip), %rdx movq %r14, %rdi movq %rdx, %rsi popq %rbx popq %r14 popq %rbp jmp _ar5416AniAttach ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @ar9280AniSetup.aniparams _ar9280AniSetup.aniparams: .long 4 ## 0x4 .long 7 ## 0x7 .long 2 ## 0x2 .long 500 ## 0x1f4 .long 200 ## 0xc8 .long 200 ## 0xc8 .long 100 ## 0x64 .long 40 ## 0x28 .long 7 ## 0x7 .long 100 ## 0x64 .long 0 ## 0x0 .long 2 ## 0x2 .long 4294967218 ## 0xffffffb2 .long 4294967232 ## 0xffffffc0 .long 4294967282 ## 0xfffffff2 .long 4294967241 ## 0xffffffc9 .comm _HAL_ANI_NOISE_IMMUNITY_LEVEL,4,2 ## @HAL_ANI_NOISE_IMMUNITY_LEVEL .comm _AH_TRUE,4,2 ## @AH_TRUE .no_dead_strip _ar9280AniSetup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ar9280AniSetup _ar9280AniSetup: ; @ar9280AniSetup .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _HAL_ANI_NOISE_IMMUNITY_LEVEL@GOTPAGE Lloh1: ldr x8, [x8, _HAL_ANI_NOISE_IMMUNITY_LEVEL@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov w9, #1 lsl w20, w9, w8 bl _AH5416 ldr w8, [x0] bic w8, w8, w20 str w8, [x0] Lloh3: adrp x8, _AH_TRUE@GOTPAGE Lloh4: ldr x8, [x8, _AH_TRUE@GOTPAGEOFF] Lloh5: ldr w3, [x8] Lloh6: adrp x1, _ar9280AniSetup.aniparams@PAGE Lloh7: add x1, x1, _ar9280AniSetup.aniparams@PAGEOFF mov x0, x19 mov x2, x1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ar5416AniAttach .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @ar9280AniSetup.aniparams _ar9280AniSetup.aniparams: .long 4 ; 0x4 .long 7 ; 0x7 .long 2 ; 0x2 .long 500 ; 0x1f4 .long 200 ; 0xc8 .long 200 ; 0xc8 .long 100 ; 0x64 .long 40 ; 0x28 .long 7 ; 0x7 .long 100 ; 0x64 .long 0 ; 0x0 .long 2 ; 0x2 .long 4294967218 ; 0xffffffb2 .long 4294967232 ; 0xffffffc0 .long 4294967282 ; 0xfffffff2 .long 4294967241 ; 0xffffffc9 .comm _HAL_ANI_NOISE_IMMUNITY_LEVEL,4,2 ; @HAL_ANI_NOISE_IMMUNITY_LEVEL .comm _AH_TRUE,4,2 ; @AH_TRUE .no_dead_strip _ar9280AniSetup .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ath/ath_hal/ar9002/extr_ar9280_attach.c_ar9280AniSetup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ParseNPT _ParseNPT: ## @ParseNPT .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq _LC_NUMERIC_MASK@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi xorl %edx, %edx callq _newlocale movq %rax, %rbx movq %rax, %rdi callq _uselocale movq %rax, %r14 leaq L_.str.1(%rip), %rsi leaq -36(%rbp), %rdx leaq -32(%rbp), %rcx leaq -28(%rbp), %r8 movq %r15, %rdi xorl %eax, %eax callq _sscanf cmpl $3, %eax jne LBB0_2 ## %bb.1: imull $60, -36(%rbp), %eax addl -32(%rbp), %eax imull $60, %eax, %eax cvtsi2ss %rax, %xmm0 addss -28(%rbp), %xmm0 movss %xmm0, -28(%rbp) jmp LBB0_4 LBB0_2: leaq L_.str.2(%rip), %rsi leaq -28(%rbp), %rdx movq %r15, %rdi xorl %eax, %eax callq _sscanf cmpl $1, %eax je LBB0_4 ## %bb.3: movl $0, -28(%rbp) LBB0_4: testq %rbx, %rbx je LBB0_6 ## %bb.5: movq %r14, %rdi callq _uselocale movq %rbx, %rdi callq _freelocale LBB0_6: movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero callq _vlc_tick_from_sec addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LC_NUMERIC_MASK,4,2 ## @LC_NUMERIC_MASK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "C" L_.str.1: ## @.str.1 .asciz "%u:%u:%f" L_.str.2: ## @.str.2 .asciz "%f" .no_dead_strip _ParseNPT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ParseNPT _ParseNPT: ; @ParseNPT .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 mov x21, x0 Lloh0: adrp x8, _LC_NUMERIC_MASK@GOTPAGE Lloh1: ldr x8, [x8, _LC_NUMERIC_MASK@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x2, #0 bl _newlocale mov x19, x0 bl _uselocale mov x20, x0 add x22, sp, #36 add x8, sp, #40 sub x9, x29, #36 stp x8, x22, [sp, #8] str x9, [sp] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x21 bl _sscanf cmp w0, #3 b.ne LBB0_2 ; %bb.1: ldur w8, [x29, #-36] mov w9, #60 ldr w10, [sp, #40] madd w8, w8, w9, w10 mul w8, w8, w9 ucvtf s0, w8 ldr s1, [sp, #36] fadd s0, s1, s0 str s0, [sp, #36] b LBB0_4 LBB0_2: str x22, [sp] Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 bl _sscanf cmp w0, #1 b.eq LBB0_4 ; %bb.3: str wzr, [sp, #36] LBB0_4: cbz x19, LBB0_6 ; %bb.5: mov x0, x20 bl _uselocale mov x0, x19 bl _freelocale LBB0_6: ldr s0, [sp, #36] bl _vlc_tick_from_sec 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 add sp, sp, #96 ret .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _LC_NUMERIC_MASK,4,2 ; @LC_NUMERIC_MASK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "C" l_.str.1: ; @.str.1 .asciz "%u:%u:%f" l_.str.2: ; @.str.2 .asciz "%f" .no_dead_strip _ParseNPT .subsections_via_symbols
AnghaBench/vlc/modules/misc/extr_rtsp.c_ParseNPT.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __bnx2x_vlan_mac_h_write_trylock ___bnx2x_vlan_mac_h_write_trylock: ## @__bnx2x_vlan_mac_h_write_trylock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpq $0, (%rsi) movq _BNX2X_MSG_SP@GOTPCREL(%rip), %rax movl (%rax), %edi je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi callq _DP movq _EBUSY@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq LBB0_2: leaq L_.str.1(%rip), %rsi callq _DP xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _BNX2X_MSG_SP,4,2 ## @BNX2X_MSG_SP .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "vlan_mac_lock writer - There are readers; Busy\n" .comm _EBUSY,4,2 ## @EBUSY L_.str.1: ## @.str.1 .asciz "vlan_mac_lock writer - Taken\n" .no_dead_strip ___bnx2x_vlan_mac_h_write_trylock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __bnx2x_vlan_mac_h_write_trylock ___bnx2x_vlan_mac_h_write_trylock: ; @__bnx2x_vlan_mac_h_write_trylock .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 ldr x8, [x1] Lloh0: adrp x9, _BNX2X_MSG_SP@GOTPAGE Lloh1: ldr x9, [x9, _BNX2X_MSG_SP@GOTPAGEOFF] Lloh2: ldr w0, [x9] cbz x8, LBB0_2 ; %bb.1: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _DP Lloh5: adrp x8, _EBUSY@GOTPAGE Lloh6: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF bl _DP mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _BNX2X_MSG_SP,4,2 ; @BNX2X_MSG_SP .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "vlan_mac_lock writer - There are readers; Busy\n" .comm _EBUSY,4,2 ; @EBUSY l_.str.1: ; @.str.1 .asciz "vlan_mac_lock writer - Taken\n" .no_dead_strip ___bnx2x_vlan_mac_h_write_trylock .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c___bnx2x_vlan_mac_h_write_trylock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq L_.str.2(%rip), %rsi callq _fopen testq %rax, %rax jne LBB0_2 ## %bb.1: leaq L_str.5(%rip), %rdi callq _puts movl $1, %edi callq _exit LBB0_2: leaq L_str.6(%rip), %rdi callq _puts xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "test.txt" L_.str.2: ## @.str.2 .asciz "r" L_str: ## @str .asciz "Calling the fopen() function..." L_str.5: ## @str.5 .asciz "fopen() returned NULL" L_str.6: ## @str.6 .asciz "fopen() succeeded" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF bl _fopen cbnz x0, LBB0_2 ; %bb.1: Lloh6: adrp x0, l_str.5@PAGE Lloh7: add x0, x0, l_str.5@PAGEOFF bl _puts mov w0, #1 bl _exit LBB0_2: Lloh8: adrp x0, l_str.6@PAGE Lloh9: add x0, x0, l_str.6@PAGEOFF bl _puts mov w0, #0 bl _exit .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "test.txt" l_.str.2: ; @.str.2 .asciz "r" l_str: ; @str .asciz "Calling the fopen() function..." l_str.5: ; @str.5 .asciz "fopen() returned NULL" l_str.6: ; @str.6 .asciz "fopen() succeeded" .subsections_via_symbols
the_stack_data/173579138.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nodeWrite _nodeWrite: ## @nodeWrite .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 _SQLITE_OK@GOTPCREL(%rip), %r13 cmpq $0, 8(%rsi) je LBB0_1 ## %bb.2: movq %rsi, %rbx movq %rdi, %r14 movq 8(%rdi), %r15 movl (%rsi), %edx movq %r15, %rdi movl $1, %esi testl %edx, %edx je LBB0_4 ## %bb.3: callq _sqlite3_bind_int64 jmp LBB0_5 LBB0_1: movl (%r13), %r12d jmp LBB0_8 LBB0_4: callq _sqlite3_bind_null LBB0_5: movl 16(%rbx), %edx movl 4(%r14), %ecx movq _SQLITE_STATIC@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r15, %rdi movl $2, %esi callq _sqlite3_bind_blob movq %r15, %rdi callq _sqlite3_step movq $0, 8(%rbx) movq %r15, %rdi callq _sqlite3_reset movl %eax, %r12d movq %r15, %rdi movl $2, %esi callq _sqlite3_bind_null cmpl $0, (%rbx) jne LBB0_8 ## %bb.6: cmpl (%r13), %r12d jne LBB0_8 ## %bb.7: movl (%r14), %edi callq _sqlite3_last_insert_rowid movl %eax, (%rbx) movq %r14, %rdi movq %rbx, %rsi callq _nodeHashInsert LBB0_8: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SQLITE_OK,4,2 ## @SQLITE_OK .comm _SQLITE_STATIC,4,2 ## @SQLITE_STATIC .no_dead_strip _nodeWrite .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nodeWrite _nodeWrite: ; @nodeWrite .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 Lloh0: adrp x23, _SQLITE_OK@GOTPAGE Lloh1: ldr x23, [x23, _SQLITE_OK@GOTPAGEOFF] ldr x8, [x1, #8] cbz x8, LBB0_3 ; %bb.1: mov x19, x1 mov x20, x0 ldr x21, [x0, #8] ldr w2, [x1] cbz w2, LBB0_4 ; %bb.2: mov x0, x21 mov w1, #1 bl _sqlite3_bind_int64 b LBB0_5 LBB0_3: ldr w22, [x23] b LBB0_8 LBB0_4: mov x0, x21 mov w1, #1 bl _sqlite3_bind_null LBB0_5: ldr w2, [x19, #16] ldr w3, [x20, #4] Lloh2: adrp x8, _SQLITE_STATIC@GOTPAGE Lloh3: ldr x8, [x8, _SQLITE_STATIC@GOTPAGEOFF] Lloh4: ldr w4, [x8] mov x0, x21 mov w1, #2 bl _sqlite3_bind_blob mov x0, x21 bl _sqlite3_step str xzr, [x19, #8] mov x0, x21 bl _sqlite3_reset mov x22, x0 mov x0, x21 mov w1, #2 bl _sqlite3_bind_null ldr w8, [x19] cbnz w8, LBB0_8 ; %bb.6: ldr w8, [x23] cmp w22, w8 b.ne LBB0_8 ; %bb.7: ldr w0, [x20] bl _sqlite3_last_insert_rowid str w0, [x19] mov x0, x20 mov x1, x19 bl _nodeHashInsert LBB0_8: 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 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _SQLITE_OK,4,2 ; @SQLITE_OK .comm _SQLITE_STATIC,4,2 ; @SQLITE_STATIC .no_dead_strip _nodeWrite .subsections_via_symbols
AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_nodeWrite.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf subl $1, -44(%rbp) jb LBB0_3 ## %bb.1: leaq -52(%rbp), %r15 leaq -48(%rbp), %r12 leaq L_str.5(%rip), %r13 leaq L_str(%rip), %rbx leaq L_str.6(%rip), %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 -52(%rbp), %eax cmpl -48(%rbp), %eax movq %rbx, %rdi cmovgq %r13, %rdi cmovlq %r14, %rdi callq _puts subl $1, -44(%rbp) jae 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: ## @str .asciz "=" L_str.5: ## @str.5 .asciz ">" L_str.6: ## @str.6 .asciz "<" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 add x8, sp, #28 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #28] sub w9, w8, #1 str w9, [sp, #28] cbz w8, LBB0_3 ; %bb.1: add x20, sp, #20 add x21, sp, #24 Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF Lloh4: adrp x22, l_str@PAGE Lloh5: add x22, x22, l_str@PAGEOFF Lloh6: adrp x23, l_str.5@PAGE Lloh7: add x23, x23, l_str.5@PAGEOFF Lloh8: adrp x24, l_str.6@PAGE Lloh9: add x24, x24, l_str.6@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 stp x21, x20, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #20] cmp w8, w9 csel x8, x23, x22, gt csel x0, x24, x8, lt bl _puts ldr w8, [sp, #28] sub w9, w8, #1 str w9, [sp, #28] cbnz w8, LBB0_2 LBB0_3: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .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: ; @str .asciz "=" l_str.5: ; @str.5 .asciz ">" l_str.6: ; @str.6 .asciz "<" .subsections_via_symbols
the_stack_data/10950.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function HT_expand _HT_expand: ## @HT_expand .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -48(%rbp) ## 8-byte Spill movq (%rdi), %r13 leaq (,%r13,2), %r12 movq %r13, %r15 shlq $4, %r15 movq %r15, %rdi callq _xmalloc movq %rax, %r14 testq %r12, %r12 je LBB0_2 ## %bb.1: movq %r14, %rdi movq %r15, %rsi callq ___bzero LBB0_2: testq %r13, %r13 je LBB0_7 ## %bb.3: xorl %r15d, %r15d jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 incq %r15 cmpq %r13, %r15 je LBB0_7 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq -48(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax movq (%rax,%r15,8), %rbx testq %rbx, %rbx je LBB0_6 .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movl 8(%rbx), %edi callq _hash_string orl %r12d, %eax orl $1, %eax cltq movq (%rbx), %rcx movq (%r14,%rax,8), %rdx movq %rdx, (%rbx) movq %rbx, (%r14,%rax,8) movq %rcx, %rbx testq %rcx, %rcx jne LBB0_5 jmp LBB0_6 LBB0_7: movq -48(%rbp), %rbx ## 8-byte Reload movq 8(%rbx), %rdi callq _xfree movq %r14, 8(%rbx) movq %r12, (%rbx) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _HT_expand .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function HT_expand _HT_expand: ; @HT_expand .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 x19, x0 ldr x23, [x0] lsl x22, x23, #1 lsl x21, x23, #4 mov x0, x21 bl _xmalloc mov x20, x0 cbz x22, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x21 bl _bzero LBB0_2: cbz x23, LBB0_7 ; %bb.3: mov x21, #0 ; =0x0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x21, x21, #1 cmp x21, x23 b.eq LBB0_7 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ldr x8, [x19, #8] ldr x24, [x8, x21, lsl #3] cbz x24, LBB0_4 LBB0_6: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w0, [x24, #8] bl _hash_string orr w8, w0, w22 orr w8, w8, #0x1 ldr x9, [x24] ldr x10, [x20, w8, sxtw #3] str x10, [x24] str x24, [x20, w8, sxtw #3] mov x24, x9 cbnz x9, LBB0_6 b LBB0_4 LBB0_7: ldr x0, [x19, #8] bl _xfree stp x22, x20, [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 .cfi_endproc ; -- End function .no_dead_strip _HT_expand .subsections_via_symbols
assembly_file_173064.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rewind ## -- Begin function rewind .p2align 4, 0x90 _rewind: ## @rewind .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %esi, %esi xorl %edx, %edx popq %rbp jmp _fseek ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rewind ; -- Begin function rewind .p2align 2 _rewind: ; @rewind .cfi_startproc ; %bb.0: mov x1, #0 mov w2, #0 b _fseek .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/46239.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cttest_unpause_tube ## -- Begin function cttest_unpause_tube .p2align 4, 0x90 _cttest_unpause_tube: ## @cttest_unpause_tube .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %eax, %eax callq _SERVER movl %eax, %r14d movl %eax, %edi callq _mustdiallocal movl %eax, %ebx movl %r14d, %edi callq _mustdiallocal movl %eax, %r14d leaq L_.str(%rip), %rsi movl %ebx, %edi callq _mustsend leaq L_.str.1(%rip), %r15 movl %ebx, %edi movq %r15, %rsi callq _mustsend leaq L_.str.2(%rip), %rsi movl %ebx, %edi callq _ckresp leaq L_.str.3(%rip), %rsi movl %ebx, %edi callq _mustsend leaq L_.str.4(%rip), %r12 movl %ebx, %edi movq %r12, %rsi callq _ckresp leaq L_.str.5(%rip), %rsi movl %r14d, %edi callq _mustsend leaq L_.str.6(%rip), %rsi movl %ebx, %edi callq _mustsend movl %ebx, %edi movq %r12, %rsi callq _ckresp leaq L_.str.7(%rip), %rsi movl %r14d, %edi callq _ckresp movl %r14d, %edi movq %r15, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _ckresp ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "put 0 0 0 0\r\n" L_.str.1: ## @.str.1 .asciz "\r\n" L_.str.2: ## @.str.2 .asciz "INSERTED 1\r\n" L_.str.3: ## @.str.3 .asciz "pause-tube default 86400\r\n" L_.str.4: ## @.str.4 .asciz "PAUSED\r\n" L_.str.5: ## @.str.5 .asciz "reserve\r\n" L_.str.6: ## @.str.6 .asciz "pause-tube default 0\r\n" L_.str.7: ## @.str.7 .asciz "RESERVED 1 0\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cttest_unpause_tube ; -- Begin function cttest_unpause_tube .p2align 2 _cttest_unpause_tube: ; @cttest_unpause_tube .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 bl _SERVER mov x19, x0 bl _mustdiallocal mov x20, x0 mov x0, x19 bl _mustdiallocal mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _mustsend Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF mov x0, x20 mov x1, x21 bl _mustsend Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _ckresp Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _mustsend Lloh8: adrp x22, l_.str.4@PAGE Lloh9: add x22, x22, l_.str.4@PAGEOFF mov x0, x20 mov x1, x22 bl _ckresp Lloh10: adrp x1, l_.str.5@PAGE Lloh11: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _mustsend Lloh12: adrp x1, l_.str.6@PAGE Lloh13: add x1, x1, l_.str.6@PAGEOFF mov x0, x20 bl _mustsend mov x0, x20 mov x1, x22 bl _ckresp Lloh14: adrp x1, l_.str.7@PAGE Lloh15: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 bl _ckresp mov x0, x19 mov x1, 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 _ckresp .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: ; @.str .asciz "put 0 0 0 0\r\n" l_.str.1: ; @.str.1 .asciz "\r\n" l_.str.2: ; @.str.2 .asciz "INSERTED 1\r\n" l_.str.3: ; @.str.3 .asciz "pause-tube default 86400\r\n" l_.str.4: ; @.str.4 .asciz "PAUSED\r\n" l_.str.5: ; @.str.5 .asciz "reserve\r\n" l_.str.6: ; @.str.6 .asciz "pause-tube default 0\r\n" l_.str.7: ; @.str.7 .asciz "RESERVED 1 0\r\n" .subsections_via_symbols
AnghaBench/beanstalkd/extr_testserv.c_cttest_unpause_tube.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hfs_releasepage _hfs_releasepage: ## @hfs_releasepage .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 movq 8(%rdi), %rax movq (%rax), %rax movq 8(%rax), %rdi movl (%rax), %eax cmpl $129, %eax je LBB0_4 ## %bb.1: cmpl $128, %eax jne LBB0_3 ## %bb.2: callq _HFS_SB addq $8, %rax jmp LBB0_5 LBB0_4: callq _HFS_SB LBB0_5: movq (%rax), %r12 testq %r12, %r12 je LBB0_20 ## %bb.6: movq (%r12), %rax movq _PAGE_SIZE@GOTPCREL(%rip), %rcx movl (%r15), %r13d cmpq (%rcx), %rax jge LBB0_7 ## %bb.10: movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx subl 8(%r12), %ecx shll %cl, %r13d movl $1, %r14d ## kill: def $cl killed $cl killed $ecx shll %cl, %r14d leaq 16(%r12), %rdi movq %rdi, -48(%rbp) ## 8-byte Spill callq _spin_lock decl %r14d .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl %r13d, %esi callq _hfs_bnode_findhash testq %rax, %rax je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq %rax, %rbx movq %rax, %rdi callq _atomic_read testq %rax, %rax jne LBB0_21 ## %bb.13: ## in Loop: Header=BB0_11 Depth=1 movq %rbx, %rdi callq _hfs_bnode_unhash movq %rbx, %rdi callq _hfs_bnode_free LBB0_14: ## in Loop: Header=BB0_11 Depth=1 subl $1, %r14d jb LBB0_16 ## %bb.15: ## in Loop: Header=BB0_11 Depth=1 incl %r13d cmpl 12(%r12), %r13d jl LBB0_11 LBB0_16: movq -48(%rbp), %r14 ## 8-byte Reload jmp LBB0_17 LBB0_3: xorl %eax, %eax callq _BUG jmp LBB0_20 LBB0_7: movl 8(%r12), %ecx movq _PAGE_SHIFT@GOTPCREL(%rip), %rax subl (%rax), %ecx ## kill: def $cl killed $cl killed $ecx sarl %cl, %r13d leaq 16(%r12), %r14 movq %r14, %rdi callq _spin_lock movq %r12, %rdi movl %r13d, %esi callq _hfs_bnode_findhash testq %rax, %rax je LBB0_17 ## %bb.8: movq %rax, %rbx movq %rax, %rdi callq _atomic_read testq %rax, %rax je LBB0_9 ## %bb.18: movq %r14, %rdi jmp LBB0_19 LBB0_21: movq -48(%rbp), %rdi ## 8-byte Reload LBB0_19: callq _spin_unlock LBB0_20: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_9: movq %rbx, %rdi callq _hfs_bnode_unhash movq %rbx, %rdi callq _hfs_bnode_free LBB0_17: movq %r14, %rdi callq _spin_unlock movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _try_to_free_buffers ## TAILCALL .cfi_endproc ## -- End function .comm _PAGE_SIZE,8,3 ## @PAGE_SIZE .comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT .no_dead_strip _hfs_releasepage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hfs_releasepage _hfs_releasepage: ; @hfs_releasepage .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x8, [x0, #8] ldr x8, [x8] ldr x0, [x8, #8] ldr w8, [x8] cmp w8, #129 b.eq LBB0_3 ; %bb.1: cmp w8, #128 b.ne LBB0_11 ; %bb.2: bl _HFS_SB add x0, x0, #8 ldr x21, [x0] cbnz x21, LBB0_4 b LBB0_15 LBB0_3: bl _HFS_SB ldr x21, [x0] cbz x21, LBB0_15 LBB0_4: ldr x9, [x21] Lloh0: adrp x8, _PAGE_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh2: ldr x10, [x8] ldr w8, [x19] cmp x9, x10 b.ge LBB0_12 ; %bb.5: Lloh3: adrp x9, _PAGE_SHIFT@GOTPAGE Lloh4: ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF] Lloh5: ldr w9, [x9] ldr w10, [x21, #8] sub w9, w9, w10 lsl w22, w8, w9 mov w8, #1 lsl w23, w8, w9 add x20, x21, #16 mov x0, x20 bl _spin_lock sub w24, w23, #1 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x22 bl _hfs_bnode_findhash cbz x0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 mov x23, x0 bl _atomic_read cbnz x0, LBB0_14 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov x0, x23 bl _hfs_bnode_unhash mov x0, x23 bl _hfs_bnode_free LBB0_9: ; in Loop: Header=BB0_6 Depth=1 cbz w24, LBB0_17 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 add w22, w22, #1 ldr w8, [x21, #12] sub w24, w24, #1 cmp w22, w8 b.lt LBB0_6 b LBB0_17 LBB0_11: bl _BUG b LBB0_15 LBB0_12: ldr w9, [x21, #8] Lloh6: adrp x10, _PAGE_SHIFT@GOTPAGE Lloh7: ldr x10, [x10, _PAGE_SHIFT@GOTPAGEOFF] Lloh8: ldr w10, [x10] sub w9, w9, w10 asr w22, w8, w9 add x20, x21, #16 mov x0, x20 bl _spin_lock mov x0, x21 mov x1, x22 bl _hfs_bnode_findhash cbz x0, LBB0_17 ; %bb.13: mov x21, x0 bl _atomic_read cbz x0, LBB0_16 LBB0_14: mov x0, x20 bl _spin_unlock LBB0_15: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_16: mov x0, x21 bl _hfs_bnode_unhash mov x0, x21 bl _hfs_bnode_free LBB0_17: mov x0, x20 bl _spin_unlock 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 _try_to_free_buffers .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _PAGE_SIZE,8,3 ; @PAGE_SIZE .comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT .no_dead_strip _hfs_releasepage .subsections_via_symbols
AnghaBench/linux/fs/hfs/extr_inode.c_hfs_releasepage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _show_submodule_inline_diff ## -- Begin function show_submodule_inline_diff .p2align 4, 0x90 _show_submodule_inline_diff: ## @show_submodule_inline_diff .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 movl %r8d, %r14d movq %rcx, %r13 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r12 movq _the_hash_algo@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq %rax, -120(%rbp) ## 8-byte Spill movq $0, -72(%rbp) movq $0, -64(%rbp) movq $0, -80(%rbp) movq _CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax movups (%rax), %xmm0 movups 16(%rax), %xmm1 movaps %xmm1, -96(%rbp) movaps %xmm0, -112(%rbp) movq _STRBUF_INIT@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq %rsi, %rdi callq _open_submodule movq %rax, %r9 subq $8, %rsp leaq -80(%rbp), %rax leaq -64(%rbp), %r11 leaq -72(%rbp), %r10 movq %r12, %rdi movq %rbx, -128(%rbp) ## 8-byte Spill movq %rbx, %rsi movq %r15, -56(%rbp) ## 8-byte Spill movq %r15, %rdx movq %r13, %r15 movq %r13, %rcx movl %r14d, %r13d movl %r14d, %r8d movq %r9, -136(%rbp) ## 8-byte Spill pushq %rax pushq %r11 pushq %r10 callq _show_submodule_header addq $32, %rsp cmpq $0, -72(%rbp) jne LBB0_2 ## %bb.1: movq -56(%rbp), %rdi ## 8-byte Reload callq _is_null_oid testq %rax, %rax je LBB0_17 LBB0_2: movq -64(%rbp), %rax testq %rax, %rax jne LBB0_5 ## %bb.3: movq %r15, %rdi callq _is_null_oid testq %rax, %rax je LBB0_17 ## %bb.4: movq -64(%rbp), %rax LBB0_5: cmpq $0, -72(%rbp) movq -56(%rbp), %rcx ## 8-byte Reload movq -120(%rbp), %rdx ## 8-byte Reload cmoveq %rdx, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill testq %rax, %rax cmoveq %rdx, %r15 movl $1, -112(%rbp) movq -128(%rbp), %rbx ## 8-byte Reload movq %rbx, -104(%rbp) movabsq $8589934591, %rax ## imm = 0x1FFFFFFFF movq %rax, -96(%rbp) leaq -84(%rbp), %r14 leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rdx movq %r14, %rdi xorl %ecx, %ecx callq _argv_array_pushl movl 16(%r12), %edi callq _want_color testq %rax, %rax leaq L_.str.4(%rip), %rax leaq L_.str.3(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.2(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _argv_array_pushf cmpq $0, 8(%r12) je LBB0_7 ## %bb.6: movslq (%r12), %rdx leaq L_.str.5(%rip), %rsi movq %r14, %rdi movq %rbx, %rcx xorl %eax, %eax callq _argv_array_pushf leaq 4(%r12), %rax jmp LBB0_8 LBB0_7: movslq 4(%r12), %rdx leaq L_.str.5(%rip), %rsi movq %r14, %rdi movq %rbx, %rcx xorl %eax, %eax callq _argv_array_pushf movq %r12, %rax LBB0_8: movslq (%rax), %rdx leaq L_.str.6(%rip), %rsi movq %r14, %rdi movq %rbx, %rcx xorl %eax, %eax callq _argv_array_pushf movq -56(%rbp), %rdi ## 8-byte Reload callq _oid_to_hex movq %r14, %rdi movl %eax, %esi callq _argv_array_push movq _DIRTY_SUBMODULE_MODIFIED@GOTPCREL(%rip), %rax testl %r13d, (%rax) jne LBB0_10 ## %bb.9: movq %r15, %rdi callq _oid_to_hex movq %r14, %rdi movl %eax, %esi callq _argv_array_push LBB0_10: leaq -88(%rbp), %rdi callq _prepare_submodule_repo_env leaq -112(%rbp), %rdi callq _start_command testq %rax, %rax je LBB0_12 ## %bb.11: leaq L_.str.7(%rip), %rsi movq %r12, %rdi callq _diff_emit_submodule_error LBB0_12: movl -96(%rbp), %esi leaq -48(%rbp), %rdi movl $10, %edx callq _strbuf_getwholeline_fd movq _EOF@GOTPCREL(%rip), %r14 cmpq (%r14), %rax je LBB0_15 ## %bb.13: leaq -48(%rbp), %rbx .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 movl -48(%rbp), %edx movl -44(%rbp), %esi movq %r12, %rdi callq _diff_emit_submodule_pipethrough movl -96(%rbp), %esi movq %rbx, %rdi movl $10, %edx callq _strbuf_getwholeline_fd cmpq (%r14), %rax jne LBB0_14 LBB0_15: leaq -112(%rbp), %rdi callq _finish_command testq %rax, %rax je LBB0_17 ## %bb.16: leaq L_.str.7(%rip), %rsi movq %r12, %rdi callq _diff_emit_submodule_error LBB0_17: leaq -48(%rbp), %rdi callq _strbuf_release movq -80(%rbp), %rdi testq %rdi, %rdi je LBB0_19 ## %bb.18: callq _free_commit_list LBB0_19: movq -72(%rbp), %rdi testq %rdi, %rdi movq -136(%rbp), %rbx ## 8-byte Reload je LBB0_21 ## %bb.20: movl $-1, %esi callq _clear_commit_marks LBB0_21: movq -64(%rbp), %rdi testq %rdi, %rdi je LBB0_23 ## %bb.22: movl $-1, %esi callq _clear_commit_marks LBB0_23: testq %rbx, %rbx je LBB0_25 ## %bb.24: movq %rbx, %rdi callq _repo_clear movq %rbx, %rdi callq _free LBB0_25: addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _the_hash_algo,8,3 ## @the_hash_algo .comm _CHILD_PROCESS_INIT,32,3 ## @CHILD_PROCESS_INIT .comm _STRBUF_INIT,8,2 ## @STRBUF_INIT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "diff" L_.str.1: ## @.str.1 .asciz "--submodule=diff" L_.str.2: ## @.str.2 .asciz "--color=%s" L_.str.3: ## @.str.3 .asciz "always" L_.str.4: ## @.str.4 .asciz "never" L_.str.5: ## @.str.5 .asciz "--src-prefix=%s%s/" L_.str.6: ## @.str.6 .asciz "--dst-prefix=%s%s/" .comm _DIRTY_SUBMODULE_MODIFIED,4,2 ## @DIRTY_SUBMODULE_MODIFIED L_.str.7: ## @.str.7 .asciz "(diff failed)\n" .comm _EOF,8,3 ## @EOF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function show_submodule_inline_diff lCPI0_0: .long 4294967295 ; 0xffffffff .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .globl _show_submodule_inline_diff .p2align 2 _show_submodule_inline_diff: ; @show_submodule_inline_diff .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x4 mov x23, x3 mov x24, x2 mov x22, x1 mov x20, x0 Lloh0: adrp x8, _the_hash_algo@GOTPAGE Lloh1: ldr x8, [x8, _the_hash_algo@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x26, [x8] stp xzr, xzr, [sp, #64] str xzr, [sp, #56] Lloh3: adrp x8, _CHILD_PROCESS_INIT@GOTPAGE Lloh4: ldr x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF] ldp q0, q1, [x8] stp q0, q1, [sp, #16] Lloh5: adrp x8, _STRBUF_INIT@GOTPAGE Lloh6: ldr x8, [x8, _STRBUF_INIT@GOTPAGEOFF] Lloh7: ldr x8, [x8] str x8, [sp, #8] mov x0, x1 bl _open_submodule mov x19, x0 add x8, sp, #56 str x8, [sp] add x6, sp, #72 add x7, sp, #64 mov x0, x20 mov x1, x22 mov x2, x24 mov x3, x23 mov x4, x21 mov x5, x19 bl _show_submodule_header ldr x8, [sp, #72] cbnz x8, LBB0_2 ; %bb.1: mov x0, x24 bl _is_null_oid cbz x0, LBB0_17 LBB0_2: ldr x8, [sp, #64] cbnz x8, LBB0_5 ; %bb.3: mov x0, x23 bl _is_null_oid cbz x0, LBB0_17 ; %bb.4: ldr x8, [sp, #64] LBB0_5: ldr x9, [sp, #72] cmp x9, #0 csel x25, x26, x24, eq cmp x8, #0 csel x23, x26, x23, eq mov w8, #1 str w8, [sp, #16] str x22, [sp, #24] Lloh8: adrp x8, lCPI0_0@PAGE Lloh9: ldr d0, [x8, lCPI0_0@PAGEOFF] str d0, [sp, #32] add x8, sp, #16 add x24, x8, #28 Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF Lloh12: adrp x2, l_.str.1@PAGE Lloh13: add x2, x2, l_.str.1@PAGEOFF mov x0, x24 mov x3, #0 bl _argv_array_pushl ldr w0, [x20, #16] bl _want_color Lloh14: adrp x8, l_.str.3@PAGE Lloh15: add x8, x8, l_.str.3@PAGEOFF Lloh16: adrp x9, l_.str.4@PAGE Lloh17: add x9, x9, l_.str.4@PAGEOFF cmp x0, #0 csel x2, x9, x8, eq Lloh18: adrp x1, l_.str.2@PAGE Lloh19: add x1, x1, l_.str.2@PAGEOFF mov x0, x24 bl _argv_array_pushf ldr x8, [x20, #8] cbz x8, LBB0_7 ; %bb.6: mov x26, x20 ldrsw x2, [x26], #4 str x22, [sp] Lloh20: adrp x1, l_.str.5@PAGE Lloh21: add x1, x1, l_.str.5@PAGEOFF mov x0, x24 bl _argv_array_pushf b LBB0_8 LBB0_7: ldrsw x2, [x20, #4] str x22, [sp] Lloh22: adrp x1, l_.str.5@PAGE Lloh23: add x1, x1, l_.str.5@PAGEOFF mov x0, x24 bl _argv_array_pushf mov x26, x20 LBB0_8: ldrsw x2, [x26] str x22, [sp] Lloh24: adrp x1, l_.str.6@PAGE Lloh25: add x1, x1, l_.str.6@PAGEOFF mov x0, x24 bl _argv_array_pushf mov x0, x25 bl _oid_to_hex mov x1, x0 mov x0, x24 bl _argv_array_push Lloh26: adrp x8, _DIRTY_SUBMODULE_MODIFIED@GOTPAGE Lloh27: ldr x8, [x8, _DIRTY_SUBMODULE_MODIFIED@GOTPAGEOFF] Lloh28: ldr w8, [x8] tst w8, w21 b.ne LBB0_10 ; %bb.9: mov x0, x23 bl _oid_to_hex mov x1, x0 mov x0, x24 bl _argv_array_push LBB0_10: add x8, sp, #16 add x0, x8, #24 bl _prepare_submodule_repo_env add x0, sp, #16 bl _start_command cbz x0, LBB0_12 ; %bb.11: Lloh29: adrp x1, l_.str.7@PAGE Lloh30: add x1, x1, l_.str.7@PAGEOFF mov x0, x20 bl _diff_emit_submodule_error LBB0_12: ldr w1, [sp, #32] add x0, sp, #8 mov w2, #10 bl _strbuf_getwholeline_fd Lloh31: adrp x21, _EOF@GOTPAGE Lloh32: ldr x21, [x21, _EOF@GOTPAGEOFF] LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] cmp x0, x8 b.eq LBB0_15 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 ldp w2, w1, [sp, #8] mov x0, x20 bl _diff_emit_submodule_pipethrough ldr w1, [sp, #32] add x0, sp, #8 mov w2, #10 bl _strbuf_getwholeline_fd b LBB0_13 LBB0_15: add x0, sp, #16 bl _finish_command cbz x0, LBB0_17 ; %bb.16: Lloh33: adrp x1, l_.str.7@PAGE Lloh34: add x1, x1, l_.str.7@PAGEOFF mov x0, x20 bl _diff_emit_submodule_error LBB0_17: add x0, sp, #8 bl _strbuf_release ldr x0, [sp, #56] cbz x0, LBB0_19 ; %bb.18: bl _free_commit_list LBB0_19: ldr x0, [sp, #72] cbz x0, LBB0_21 ; %bb.20: mov w1, #-1 bl _clear_commit_marks LBB0_21: ldr x0, [sp, #64] cbz x0, LBB0_23 ; %bb.22: mov w1, #-1 bl _clear_commit_marks LBB0_23: cbz x19, LBB0_25 ; %bb.24: mov x0, x19 bl _repo_clear mov x0, x19 bl _free LBB0_25: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdr Lloh8, Lloh9 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .cfi_endproc ; -- End function .comm _the_hash_algo,8,3 ; @the_hash_algo .comm _CHILD_PROCESS_INIT,32,3 ; @CHILD_PROCESS_INIT .comm _STRBUF_INIT,8,2 ; @STRBUF_INIT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "diff" l_.str.1: ; @.str.1 .asciz "--submodule=diff" l_.str.2: ; @.str.2 .asciz "--color=%s" l_.str.3: ; @.str.3 .asciz "always" l_.str.4: ; @.str.4 .asciz "never" l_.str.5: ; @.str.5 .asciz "--src-prefix=%s%s/" l_.str.6: ; @.str.6 .asciz "--dst-prefix=%s%s/" .comm _DIRTY_SUBMODULE_MODIFIED,4,2 ; @DIRTY_SUBMODULE_MODIFIED l_.str.7: ; @.str.7 .asciz "(diff failed)\n" .comm _EOF,8,3 ; @EOF .subsections_via_symbols
AnghaBench/git/extr_submodule.c_show_submodule_inline_diff.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _clk_register_clkdev ## -- Begin function clk_register_clkdev .p2align 4, 0x90 _clk_register_clkdev: ## @clk_register_clkdev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq _IS_ERR movq %rbx, %rdi testq %rax, %rax je LBB0_1 ## %bb.2: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_1: callq ___clk_get_hw leaq -32(%rbp), %rsi movl %eax, %edi movq %r15, %rdx movq %r14, %rcx callq _do_clk_register_clkdev 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 _clk_register_clkdev ; -- Begin function clk_register_clkdev .p2align 2 _clk_register_clkdev: ; @clk_register_clkdev .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, x2 mov x20, x1 mov x21, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _PTR_ERR LBB0_2: mov x0, x21 bl ___clk_get_hw add x1, sp, #8 mov x2, x20 mov x3, x19 bl _do_clk_register_clkdev 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/clk/extr_clkdev.c_clk_register_clkdev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function fill_mouse_dideviceinstanceA _fill_mouse_dideviceinstanceA: ## @fill_mouse_dideviceinstanceA .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r13d movq %rdi, %rbx movl (%rdi), %r14d leaq L_.str(%rip), %rdi movl %r14d, %esi movq %rbx, %rdx callq _TRACE movq %rbx, %rdi xorl %esi, %esi movl %r14d, %edx callq _memset leaq -72(%rbp), %r15 movl $32, %r12d movq %r15, %rdi xorl %esi, %esi movl $32, %edx callq _memset movl %r14d, -72(%rbp) movq _GUID_SysMouse@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $2048, %r13d ## imm = 0x800 movq _DIDEVTYPE_MOUSE@GOTPCREL(%rip), %rcx cmovgeq _DI8DEVTYPE_MOUSE@GOTPCREL(%rip), %rcx movq _DIDEVTYPEMOUSE_TRADITIONAL@GOTPCREL(%rip), %rdx cmovgeq _DI8DEVTYPEMOUSE_TRADITIONAL@GOTPCREL(%rip), %rdx movq %rax, -48(%rbp) movq %rax, -56(%rbp) movl (%rdx), %eax shll $8, %eax orl (%rcx), %eax movl %eax, -68(%rbp) movl -60(%rbp), %edi leaq L_.str.1(%rip), %rsi callq _strcpy movl -64(%rbp), %edi leaq L_.str.2(%rip), %rsi callq _strcpy cmpl $32, %r14d cmovbl %r14d, %r12d movq %rbx, %rdi movq %r15, %rsi movl %r12d, %edx callq _memcpy addq $40, %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 %p\n" .comm _GUID_SysMouse,8,3 ## @GUID_SysMouse .comm _DI8DEVTYPE_MOUSE,4,2 ## @DI8DEVTYPE_MOUSE .comm _DI8DEVTYPEMOUSE_TRADITIONAL,4,2 ## @DI8DEVTYPEMOUSE_TRADITIONAL .comm _DIDEVTYPE_MOUSE,4,2 ## @DIDEVTYPE_MOUSE .comm _DIDEVTYPEMOUSE_TRADITIONAL,4,2 ## @DIDEVTYPEMOUSE_TRADITIONAL L_.str.1: ## @.str.1 .asciz "Mouse" L_.str.2: ## @.str.2 .asciz "Wine Mouse" .no_dead_strip _fill_mouse_dideviceinstanceA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function fill_mouse_dideviceinstanceA _fill_mouse_dideviceinstanceA: ; @fill_mouse_dideviceinstanceA .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr w21, [x0] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x2, x19 bl _TRACE mov x0, x19 mov w1, #0 ; =0x0 mov x2, x21 bl _memset mov w22, #32 ; =0x20 mov x0, sp mov w1, #0 ; =0x0 mov w2, #32 ; =0x20 bl _memset str w21, [sp] Lloh2: adrp x8, _GUID_SysMouse@GOTPAGE Lloh3: ldr x8, [x8, _GUID_SysMouse@GOTPAGEOFF] Lloh4: ldr x8, [x8] stp x8, x8, [sp, #16] Lloh5: adrp x8, _DI8DEVTYPE_MOUSE@GOTPAGE Lloh6: ldr x8, [x8, _DI8DEVTYPE_MOUSE@GOTPAGEOFF] Lloh7: adrp x9, _DIDEVTYPE_MOUSE@GOTPAGE Lloh8: ldr x9, [x9, _DIDEVTYPE_MOUSE@GOTPAGEOFF] cmp w20, #2047 csel x8, x8, x9, gt Lloh9: adrp x9, _DI8DEVTYPEMOUSE_TRADITIONAL@GOTPAGE Lloh10: ldr x9, [x9, _DI8DEVTYPEMOUSE_TRADITIONAL@GOTPAGEOFF] Lloh11: adrp x10, _DIDEVTYPEMOUSE_TRADITIONAL@GOTPAGE Lloh12: ldr x10, [x10, _DIDEVTYPEMOUSE_TRADITIONAL@GOTPAGEOFF] ldr w8, [x8] csel x9, x9, x10, gt ldr w9, [x9] orr w8, w8, w9, lsl #8 str w8, [sp, #4] ldr w0, [sp, #12] Lloh13: adrp x1, l_.str.1@PAGE Lloh14: add x1, x1, l_.str.1@PAGEOFF bl _strcpy ldr w0, [sp, #8] Lloh15: adrp x1, l_.str.2@PAGE Lloh16: add x1, x1, l_.str.2@PAGEOFF bl _strcpy cmp w21, #32 csel w2, w21, w22, lo mov x1, sp mov x0, x19 bl _memcpy ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %p\n" .comm _GUID_SysMouse,8,3 ; @GUID_SysMouse .comm _DI8DEVTYPE_MOUSE,4,2 ; @DI8DEVTYPE_MOUSE .comm _DI8DEVTYPEMOUSE_TRADITIONAL,4,2 ; @DI8DEVTYPEMOUSE_TRADITIONAL .comm _DIDEVTYPE_MOUSE,4,2 ; @DIDEVTYPE_MOUSE .comm _DIDEVTYPEMOUSE_TRADITIONAL,4,2 ; @DIDEVTYPEMOUSE_TRADITIONAL l_.str.1: ; @.str.1 .asciz "Mouse" l_.str.2: ; @.str.2 .asciz "Wine Mouse" .no_dead_strip _fill_mouse_dideviceinstanceA .subsections_via_symbols
assembly_file_22513.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 subq $16, %rsp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movslq -4(%rbp), %rax imulq $1431655766, %rax, %rcx ## imm = 0x55555556 movq %rcx, %rdx shrq $63, %rdx shrq $32, %rcx addl %edx, %ecx leal (%rcx,%rcx,2), %edx movl %eax, %ecx subl %edx, %ecx imulq $1717986919, %rax, %rdx ## imm = 0x66666667 movq %rdx, %rsi shrq $63, %rsi sarq $33, %rdx addl %esi, %edx leal (%rdx,%rdx,4), %edx subl %edx, %eax movl %ecx, %edx orl %eax, %edx je LBB0_1 ## %bb.2: testl %ecx, %ecx je LBB0_3 ## %bb.4: testl %eax, %eax leaq L_str.7(%rip), %rax leaq L_str.6(%rip), %rdi cmoveq %rax, %rdi jmp LBB0_5 LBB0_1: leaq L_str.9(%rip), %rdi jmp LBB0_5 LBB0_3: leaq L_str.8(%rip), %rdi LBB0_5: callq _puts xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d" L_str: ## @str .asciz "\346\225\260\345\200\244\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204" L_str.6: ## @str.6 .asciz "not FizzBuzz" L_str.7: ## @str.7 .asciz "Buzz" L_str.8: ## @str.8 .asciz "Fizz" L_str.9: ## @str.9 .asciz "FizzBuzz" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldursw x9, [x29, #-4] mov w8, #21846 movk w8, #21845, lsl #16 mul x8, x9, x8 lsr x10, x8, #63 lsr x8, x8, #32 add w8, w8, w10 add w8, w8, w8, lsl #1 sub w8, w9, w8 mov w10, #26215 movk w10, #26214, lsl #16 mul x10, x9, x10 lsr x11, x10, #63 asr x10, x10, #33 add w10, w10, w11 add w10, w10, w10, lsl #2 sub w9, w9, w10 orr w10, w8, w9 cbz w10, LBB0_3 ; %bb.1: cbz w8, LBB0_4 ; %bb.2: Lloh4: adrp x8, l_str.6@PAGE Lloh5: add x8, x8, l_str.6@PAGEOFF Lloh6: adrp x10, l_str.7@PAGE Lloh7: add x10, x10, l_str.7@PAGEOFF cmp w9, #0 csel x0, x10, x8, eq b LBB0_5 LBB0_3: Lloh8: adrp x0, l_str.9@PAGE Lloh9: add x0, x0, l_str.9@PAGEOFF b LBB0_5 LBB0_4: Lloh10: adrp x0, l_str.8@PAGE Lloh11: add x0, x0, l_str.8@PAGEOFF LBB0_5: bl _puts 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 Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d" l_str: ; @str .asciz "\346\225\260\345\200\244\343\202\222\345\205\245\345\212\233\343\201\227\343\201\246\343\201\217\343\201\240\343\201\225\343\201\204" l_str.6: ; @str.6 .asciz "not FizzBuzz" l_str.7: ; @str.7 .asciz "Buzz" l_str.8: ; @str.8 .asciz "Fizz" l_str.9: ; @str.9 .asciz "FizzBuzz" .subsections_via_symbols
the_stack_data/125140569.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sh_mobile_i2c_icch _sh_mobile_i2c_icch: ## @sh_mobile_i2c_icch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq (%rsi,%rdx), %rax imulq %rdi, %rax addq $5000, %rax ## imm = 0x1388 movabsq $3777893186295716171, %rcx ## imm = 0x346DC5D63886594B mulq %rcx movq %rdx, %rax shrq $11, %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sh_mobile_i2c_icch .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sh_mobile_i2c_icch _sh_mobile_i2c_icch: ; @sh_mobile_i2c_icch .cfi_startproc ; %bb.0: add x8, x2, x1 mov w9, #5000 madd x8, x8, x0, x9 mov x9, #22859 movk x9, #14470, lsl #16 movk x9, #50646, lsl #32 movk x9, #13421, lsl #48 umulh x8, x8, x9 lsr x0, x8, #11 ret .cfi_endproc ; -- End function .no_dead_strip _sh_mobile_i2c_icch .subsections_via_symbols
AnghaBench/linux/drivers/i2c/busses/extr_i2c-sh_mobile.c_sh_mobile_i2c_icch.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cipher_from_name _cipher_from_name: ## @cipher_from_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpq $0, (%rsi) jne LBB0_2 ## %bb.1: movq %rsi, %rbx movq _OBJ_NAME_TYPE_CIPHER_METH@GOTPCREL(%rip), %rax movl (%rax), %esi callq _OBJ_NAME_get movq %rax, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _OBJ_NAME_TYPE_CIPHER_METH,4,2 ## @OBJ_NAME_TYPE_CIPHER_METH .no_dead_strip _cipher_from_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cipher_from_name _cipher_from_name: ; @cipher_from_name .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, [x1] cbnz x8, LBB0_2 ; %bb.1: mov x19, x1 Lloh0: adrp x8, _OBJ_NAME_TYPE_CIPHER_METH@GOTPAGE Lloh1: ldr x8, [x8, _OBJ_NAME_TYPE_CIPHER_METH@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _OBJ_NAME_get str x0, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _OBJ_NAME_TYPE_CIPHER_METH,4,2 ; @OBJ_NAME_TYPE_CIPHER_METH .no_dead_strip _cipher_from_name .subsections_via_symbols
AnghaBench/openssl/crypto/evp/extr_names.c_cipher_from_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function Buf14To16 _Buf14To16: ## @Buf14To16 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -88(%rbp) ## 8-byte Spill testl %edx, %edx jle LBB0_1 ## %bb.2: movslq %ecx, %rax movl %edx, %edi leaq (%rsi,%rax,4), %rcx movq %rcx, -64(%rbp) ## 8-byte Spill movl %r8d, %ecx negl %ecx movl %ecx, -44(%rbp) ## 4-byte Spill shlq $2, %rax subq %rax, %rsi xorl %ebx, %ebx xorl %r9d, %r9d xorl %r14d, %r14d xorl %r15d, %r15d movl %r8d, -48(%rbp) ## 4-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, -72(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 addl %r13d, %r14d movzbl %r15b, %eax movl %r13d, %ecx shll %cl, %eax orb %al, %r12b incq %rbx movl %r12d, %r15d cmpq %rbx, %rdi je LBB0_11 LBB0_3: ## =>This Inner Loop Header: Depth=1 testb $1, %bl jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movzbl (%rax,%rbx,4), %r12d andb $63, %r12b movl $6, %r13d cmpl $7, %r14d jle LBB0_7 jmp LBB0_8 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movzbl (%rsi,%rbx,4), %r12d movl $8, %r13d cmpl $7, %r14d jg LBB0_8 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movl $8, %edi subl %r14d, %edi movl %r13d, %esi movl %r9d, -52(%rbp) ## 4-byte Spill callq ___MIN movl -52(%rbp), %r9d ## 4-byte Reload movl -48(%rbp), %r8d ## 4-byte Reload movzbl %r15b, %esi movl %eax, %ecx shll %cl, %esi movzbl %r12b, %edi movl %eax, %edx subl %r13d, %edx subl %eax, %r13d movl %edi, %r15d movl %r13d, %ecx shrl %cl, %r15d addb $8, %dl movl %edx, %ecx shll %cl, %edi orl %esi, %r15d movq -80(%rbp), %rsi ## 8-byte Reload movzbl %dil, %r12d movq -72(%rbp), %rdi ## 8-byte Reload shrl %cl, %r12d addl %eax, %r14d LBB0_8: ## in Loop: Header=BB0_3 Depth=1 cmpl $8, %r14d jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 testb $1, %r9b movzbl %r15b, %eax movl -44(%rbp), %ecx ## 4-byte Reload cmovel %r8d, %ecx addl %r9d, %ecx movslq %ecx, %rcx movq -88(%rbp), %rdx ## 8-byte Reload movl %eax, (%rdx,%rcx,4) incl %r9d xorl %r15d, %r15d xorl %r14d, %r14d jmp LBB0_10 LBB0_1: xorl %r9d, %r9d LBB0_11: movl %r9d, %eax addq $56, %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_1212 ## @g_aug_volatile_1212 .p2align 2, 0x0 _g_aug_volatile_1212: .long 1 ## 0x1 .no_dead_strip _Buf14To16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function Buf14To16 _Buf14To16: ; @Buf14To16 .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 ; kill: def $w3 killed $w3 def $x3 str x0, [sp, #8] ; 8-byte Folded Spill cmp w2, #1 b.lt LBB0_9 ; %bb.1: mov x19, x4 mov x23, #0 ; =0x0 mov w21, #0 ; =0x0 mov w24, #0 ; =0x0 mov w20, #0 ; =0x0 sbfiz x8, x3, #2, #32 add x9, x1, x8 str x9, [sp] ; 8-byte Folded Spill neg w26, w4 sub x27, x1, x8 mov w28, w2 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w24, w24, w22 lsl w8, w20, w22 and w8, w8, #0xff orr w20, w25, w8 add x23, x23, #1 cmp x28, x23 b.eq LBB0_10 LBB0_3: ; =>This Inner Loop Header: Depth=1 tbnz w23, #0, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp] ; 8-byte Folded Reload ldr w8, [x8, x23, lsl #2] and w25, w8, #0x3f mov w22, #6 ; =0x6 cmp w24, #7 b.le LBB0_6 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 lsl x8, x23, #2 ldrb w25, [x27, x8] mov w22, #8 ; =0x8 cmp w24, #7 b.gt LBB0_7 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov w8, #8 ; =0x8 sub w0, w8, w24 mov x1, x22 bl ___MIN lsl w8, w20, w0 sub w9, w0, w22 sub w22, w22, w0 lsr w10, w25, w22 orr w8, w10, w8 and w20, w8, #0xff add w8, w9, #8 lsl w9, w25, w8 and w9, w9, #0xff lsr w25, w9, w8 add w24, w0, w24 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 cmp w24, #8 b.ne LBB0_2 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 mov w24, #0 ; =0x0 tst w21, #0x1 csel w8, w19, w26, eq add w8, w21, w8 ldr x9, [sp, #8] ; 8-byte Folded Reload str w20, [x9, w8, sxtw #2] add w21, w21, #1 mov w20, #0 ; =0x0 b LBB0_2 LBB0_9: mov w21, #0 ; =0x0 LBB0_10: mov x0, x21 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 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_1212 ; @g_aug_volatile_1212 .p2align 2, 0x0 _g_aug_volatile_1212: .long 1 ; 0x1 .no_dead_strip _Buf14To16 .subsections_via_symbols
assembly_file_73648.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _repo_get_oid ## -- Begin function repo_get_oid .p2align 4, 0x90 _repo_get_oid: ## @repo_get_oid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdx, %rcx leaq -8(%rbp), %r8 xorl %edx, %edx callq _get_oid_with_context addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _repo_get_oid ; -- Begin function repo_get_oid .p2align 2 _repo_get_oid: ; @repo_get_oid .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x3, x2 add x4, sp, #8 mov w2, #0 bl _get_oid_with_context ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/git/extr_sha1-name.c_repo_get_oid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq 8(%rsi), %rdi leaq L_.str(%rip), %rsi callq _fopen movq %rax, %rbx movq _buf@GOTPCREL(%rip), %rdi movl $1, %esi movl $10000, %edx ## imm = 0x2710 movq %rax, %rcx callq _fread leaq L_.str.2(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi callq _fclose xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "rb" .comm _buf,10000,4 ## @buf L_.str.2: ## @.str.2 .asciz "len=%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x0, [x1, #8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _fopen mov x19, x0 Lloh2: adrp x0, _buf@GOTPAGE Lloh3: ldr x0, [x0, _buf@GOTPAGEOFF] mov w1, #1 mov w2, #10000 mov x3, x19 bl _fread str x0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x0, x19 bl _fclose 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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "rb" .comm _buf,10000,0 ; @buf l_.str.2: ; @.str.2 .asciz "len=%d\n" .subsections_via_symbols
the_stack_data/643859.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function window_size_set _window_size_set: ## @window_size_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq -16(%rbp), %rdx movl $10, %esi callq _kstrtoul movl %eax, %ebx testl %eax, %eax jne LBB0_4 ## %bb.1: movq -16(%rbp), %rax leaq -11(%rax), %rcx xorl %ebx, %ebx cmpq $-10, %rcx ja LBB0_3 ## %bb.2: leaq L_.str(%rip), %rdi movq %rax, %rsi callq _pr_err movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx movq -16(%rbp), %rax LBB0_3: movl $2, %esi movl $10, %edx movq %rax, %rdi callq _clamp movq _window_size@GOTPCREL(%rip), %rcx movl %eax, (%rcx) xorl %eax, %eax callq _smp_mb LBB0_4: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Out of recommended window size %lu, between 2-10\n" .comm _EINVAL,4,2 ## @EINVAL .comm _window_size,4,2 ## @window_size .no_dead_strip _window_size_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function window_size_set _window_size_set: ; @window_size_set .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 add x2, sp, #8 mov w1, #10 bl _kstrtoul mov x19, x0 cbnz w0, LBB0_5 ; %bb.1: ldr x1, [sp, #8] sub x8, x1, #11 cmn x8, #10 b.hi LBB0_3 ; %bb.2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _pr_err Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w19, w8 ldr x1, [sp, #8] b LBB0_4 LBB0_3: mov w19, #0 LBB0_4: mov x0, x1 mov w1, #2 mov w2, #10 bl _clamp Lloh5: adrp x8, _window_size@GOTPAGE Lloh6: ldr x8, [x8, _window_size@GOTPAGEOFF] Lloh7: str w0, [x8] bl _smp_mb LBB0_5: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Out of recommended window size %lu, between 2-10\n" .comm _EINVAL,4,2 ; @EINVAL .comm _window_size,4,2 ; @window_size .no_dead_strip _window_size_set .subsections_via_symbols
AnghaBench/linux/drivers/thermal/intel/extr_intel_powerclamp.c_window_size_set.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sb_cmd _sb_cmd: ## @sb_cmd .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 _sb_dspwr ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _sb_cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sb_cmd _sb_cmd: ; @sb_cmd .cfi_startproc ; %bb.0: b _sb_dspwr .cfi_endproc ; -- End function .no_dead_strip _sb_cmd .subsections_via_symbols
AnghaBench/freebsd/sys/dev/sound/isa/extr_sbc.c_sb_cmd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ksz_port_mdb_add ## -- Begin function ksz_port_mdb_add .p2align 4, 0x90 _ksz_port_mdb_add: ## @ksz_port_mdb_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq (%rdi), %r12 movl $0, -56(%rbp) movl (%r12), %eax testl %eax, %eax movl %esi, -44(%rbp) ## 4-byte Spill jle LBB0_1 ## %bb.2: xorl %r15d, %r15d leaq -72(%rbp), %r13 xorl %ebx, %ebx jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 leal 1(%rbx), %eax testl %r15d, %r15d cmovel %eax, %r15d LBB0_8: ## in Loop: Header=BB0_3 Depth=1 incl %ebx movl (%r12), %eax cmpl %eax, %ebx jge LBB0_9 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rax movq %r12, %rdi movl %ebx, %esi movq %r13, %rdx callq *8(%rax) testl %eax, %eax jne LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -52(%rbp), %edi movl 8(%r14), %esi movq _ETH_ALEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcmp testl %eax, %eax jne LBB0_8 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq -72(%rbp), %rax cmpq (%r14), %rax jne LBB0_8 ## %bb.6: movl (%r12), %eax jmp LBB0_9 LBB0_1: xorl %ebx, %ebx xorl %r15d, %r15d LBB0_9: cmpl %eax, %ebx jne LBB0_11 ## %bb.10: testl %r15d, %r15d je LBB0_16 LBB0_11: cmpl %eax, %ebx jne LBB0_13 ## %bb.12: decl %r15d leaq -72(%rbp), %rdi xorl %esi, %esi movl $24, %edx callq _memset movl -52(%rbp), %edi movl 8(%r14), %esi movq _ETH_ALEN@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcpy movl $1, -64(%rbp) movl %r15d, %ebx LBB0_13: movl -44(%rbp), %edi ## 4-byte Reload callq _BIT orl %eax, -56(%rbp) movq (%r14), %rax testq %rax, %rax je LBB0_15 ## %bb.14: movl $1, -60(%rbp) movq %rax, -72(%rbp) LBB0_15: movq 8(%r12), %rax leaq -72(%rbp), %rdx movq %r12, %rdi movl %ebx, %esi callq *(%rax) LBB0_16: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ETH_ALEN,4,2 ## @ETH_ALEN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ksz_port_mdb_add ; -- Begin function ksz_port_mdb_add .p2align 2 _ksz_port_mdb_add: ; @ksz_port_mdb_add .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x22, x1 ldr x19, [x0] str wzr, [sp, #24] ldr w8, [x19] cmp w8, #1 b.lt LBB0_8 ; %bb.1: mov w23, #0 mov w21, #0 Lloh0: adrp x24, _ETH_ALEN@GOTPAGE Lloh1: ldr x24, [x24, _ETH_ALEN@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #0 csinc w23, w23, w21, ne LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w21, w21, #1 ldr w8, [x19] cmp w21, w8 b.ge LBB0_9 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x8, [x8, #8] add x2, sp, #8 mov x0, x19 mov x1, x21 blr x8 cbnz w0, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [sp, #28] ldr w1, [x20, #8] ldr w2, [x24] bl _memcmp cbnz w0, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #8] ldr x9, [x20] cmp x8, x9 b.ne LBB0_3 ; %bb.7: ldr w8, [x19] b LBB0_9 LBB0_8: mov w21, #0 mov w23, #0 LBB0_9: cmp w21, w8 ccmp w23, #0, #0, eq b.eq LBB0_15 ; %bb.10: cmp w21, w8 b.ne LBB0_12 ; %bb.11: sub w21, w23, #1 add x0, sp, #8 mov w1, #0 mov w2, #24 bl _memset ldr w0, [sp, #28] ldr w1, [x20, #8] Lloh2: adrp x8, _ETH_ALEN@GOTPAGE Lloh3: ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF] Lloh4: ldr w2, [x8] bl _memcpy mov w8, #1 str w8, [sp, #16] LBB0_12: mov x0, x22 bl _BIT ldr w8, [sp, #24] orr w8, w8, w0 str w8, [sp, #24] ldr x8, [x20] cbz x8, LBB0_14 ; %bb.13: mov w9, #1 str w9, [sp, #20] str x8, [sp, #8] LBB0_14: ldr x8, [x19, #8] ldr x8, [x8] add x2, sp, #8 mov x0, x19 mov x1, x21 blr x8 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 add sp, sp, #96 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ETH_ALEN,4,2 ; @ETH_ALEN .subsections_via_symbols
AnghaBench/linux/drivers/net/dsa/microchip/extr_ksz_common.c_ksz_port_mdb_add.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uid_from_user ## -- Begin function uid_from_user .p2align 4, 0x90 _uid_from_user: ## @uid_from_user .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 $-1, %r15d testq %rdi, %rdi je LBB0_20 ## %bb.1: movq %rsi, %rbx movq %rdi, %r13 callq _strlen testq %rax, %rax je LBB0_20 ## %bb.2: movq %rax, %r12 movq %rbx, -48(%rbp) ## 8-byte Spill movq _usrtb@GOTPCREL(%rip), %rbx movq (%rbx), %r14 testq %r14, %r14 jne LBB0_5 ## %bb.3: xorl %eax, %eax callq _usrtb_start testq %rax, %rax js LBB0_20 ## %bb.4: movq (%rbx), %r14 LBB0_5: movq _UNM_SZ@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r13, %rdi movq %r12, %rsi callq _st_hash movslq %eax, %rbx movq (%r14,%rbx,8), %r12 testq %r12, %r12 je LBB0_10 ## %bb.6: cmpq $0, (%r12) jle LBB0_10 ## %bb.7: movl 12(%r12), %esi movq %r13, %rdi callq _strcmp testl %eax, %eax je LBB0_8 LBB0_10: movq _pwopn@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_11 ## %bb.12: testq %r12, %r12 jne LBB0_16 jmp LBB0_13 LBB0_11: movl $1, %edi callq __pwcache_setpassent movq _pwopn@GOTPCREL(%rip), %rax incl (%rax) testq %r12, %r12 jne LBB0_16 LBB0_13: movl $16, %edi callq _malloc movq %rax, %r12 movq %rax, (%r14,%rbx,8) testq %rax, %rax je LBB0_14 LBB0_16: movl 12(%r12), %edi movq _UNMLEN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r13, %rsi callq _strlcpy movq %r13, %rdi callq __pwcache_getpwnam testq %rax, %rax je LBB0_17 ## %bb.18: movq _VALID@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, (%r12) movl (%rax), %eax movl %eax, 8(%r12) LBB0_19: movq -48(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) xorl %r15d, %r15d jmp LBB0_20 LBB0_17: movq _INVALID@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%r12) jmp LBB0_20 LBB0_8: movq (%r12), %rax movq _INVALID@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_20 ## %bb.9: movl 8(%r12), %eax jmp LBB0_19 LBB0_14: movq %r13, %rdi callq __pwcache_getpwnam testq %rax, %rax je LBB0_20 ## %bb.15: movl (%rax), %eax jmp LBB0_19 LBB0_20: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _usrtb,8,3 ## @usrtb .comm _UNM_SZ,4,2 ## @UNM_SZ .comm _INVALID,8,3 ## @INVALID .comm _pwopn,4,2 ## @pwopn .comm _UNMLEN,4,2 ## @UNMLEN .comm _VALID,8,3 ## @VALID .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uid_from_user ; -- Begin function uid_from_user .p2align 2 _uid_from_user: ; @uid_from_user .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 cbz x0, LBB0_20 ; %bb.1: mov x19, x1 mov x20, x0 bl _strlen cbz x0, LBB0_20 ; %bb.2: mov x21, x0 Lloh0: adrp x22, _usrtb@GOTPAGE Lloh1: ldr x22, [x22, _usrtb@GOTPAGEOFF] ldr x23, [x22] cbnz x23, LBB0_5 ; %bb.3: bl _usrtb_start tbnz x0, #63, LBB0_20 ; %bb.4: ldr x23, [x22] LBB0_5: Lloh2: adrp x8, _UNM_SZ@GOTPAGE Lloh3: ldr x8, [x8, _UNM_SZ@GOTPAGEOFF] Lloh4: ldr w2, [x8] mov x0, x20 mov x1, x21 bl _st_hash mov x22, x0 ldr x21, [x23, w0, sxtw #3] cbz x21, LBB0_8 ; %bb.6: ldr x8, [x21] cmp x8, #1 b.lt LBB0_8 ; %bb.7: ldr w1, [x21, #12] mov x0, x20 bl _strcmp cbz w0, LBB0_16 LBB0_8: Lloh5: adrp x24, _pwopn@GOTPAGE Lloh6: ldr x24, [x24, _pwopn@GOTPAGEOFF] ldr w8, [x24] cbz w8, LBB0_10 ; %bb.9: cbnz x21, LBB0_12 b LBB0_11 LBB0_10: mov w0, #1 bl __pwcache_setpassent ldr w8, [x24] add w8, w8, #1 str w8, [x24] cbnz x21, LBB0_12 LBB0_11: sxtw x22, w22 mov w0, #16 bl _malloc mov x21, x0 str x0, [x23, x22, lsl #3] cbz x0, LBB0_18 LBB0_12: ldr w0, [x21, #12] Lloh7: adrp x8, _UNMLEN@GOTPAGE Lloh8: ldr x8, [x8, _UNMLEN@GOTPAGEOFF] Lloh9: ldr w2, [x8] mov x1, x20 bl _strlcpy mov x0, x20 bl __pwcache_getpwnam cbz x0, LBB0_15 ; %bb.13: mov x8, x0 mov w0, #0 Lloh10: adrp x9, _VALID@GOTPAGE Lloh11: ldr x9, [x9, _VALID@GOTPAGEOFF] Lloh12: ldr x9, [x9] str x9, [x21] ldr w8, [x8] str w8, [x21, #8] LBB0_14: str w8, [x19] b LBB0_21 LBB0_15: Lloh13: adrp x8, _INVALID@GOTPAGE Lloh14: ldr x8, [x8, _INVALID@GOTPAGEOFF] Lloh15: ldr x8, [x8] str x8, [x21] b LBB0_20 LBB0_16: ldr x8, [x21] Lloh16: adrp x9, _INVALID@GOTPAGE Lloh17: ldr x9, [x9, _INVALID@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x8, x9 b.eq LBB0_20 ; %bb.17: mov w0, #0 ldr w8, [x21, #8] b LBB0_14 LBB0_18: mov x0, x20 bl __pwcache_getpwnam cbz x0, LBB0_20 ; %bb.19: mov x8, x0 mov w0, #0 ldr w8, [x8] b LBB0_14 LBB0_20: mov w0, #-1 LBB0_21: 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 Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _usrtb,8,3 ; @usrtb .comm _UNM_SZ,4,2 ; @UNM_SZ .comm _INVALID,8,3 ; @INVALID .comm _pwopn,4,2 ; @pwopn .comm _UNMLEN,4,2 ; @UNMLEN .comm _VALID,8,3 ; @VALID .subsections_via_symbols
AnghaBench/freebsd/contrib/libc-pwcache/extr_pwcache.c_uid_from_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _psp_v10_0_set_psp_funcs ## -- Begin function psp_v10_0_set_psp_funcs .p2align 4, 0x90 _psp_v10_0_set_psp_funcs: ## @psp_v10_0_set_psp_funcs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _psp_v10_0_funcs@GOTPCREL(%rip), %rax movq %rax, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _psp_v10_0_funcs,4,2 ## @psp_v10_0_funcs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _psp_v10_0_set_psp_funcs ; -- Begin function psp_v10_0_set_psp_funcs .p2align 2 _psp_v10_0_set_psp_funcs: ; @psp_v10_0_set_psp_funcs .cfi_startproc ; %bb.0: Lloh0: adrp x8, _psp_v10_0_funcs@GOTPAGE Lloh1: ldr x8, [x8, _psp_v10_0_funcs@GOTPAGEOFF] str x8, [x0] ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _psp_v10_0_funcs,4,2 ; @psp_v10_0_funcs .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_psp_v10_0.c_psp_v10_0_set_psp_funcs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usbip_debug_show _usbip_debug_show: ## @usbip_debug_show .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, %rdi movq _usbip_debug_flag@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi popq %rbp jmp _sprintf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lx\n" .comm _usbip_debug_flag,4,2 ## @usbip_debug_flag .no_dead_strip _usbip_debug_show .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usbip_debug_show _usbip_debug_show: ; @usbip_debug_show .cfi_startproc ; %bb.0: mov x0, x2 Lloh0: adrp x8, _usbip_debug_flag@GOTPAGE Lloh1: ldr x8, [x8, _usbip_debug_flag@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b _sprintf .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%lx\n" .comm _usbip_debug_flag,4,2 ; @usbip_debug_flag .no_dead_strip _usbip_debug_show .subsections_via_symbols
AnghaBench/linux/drivers/usb/usbip/extr_usbip_common.c_usbip_debug_show.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _crypto_stream_salsa208_keygen ## -- Begin function crypto_stream_salsa208_keygen .p2align 4, 0x90 _crypto_stream_salsa208_keygen: ## @crypto_stream_salsa208_keygen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _crypto_stream_salsa208_KEYBYTES@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _randombytes_buf ## TAILCALL .cfi_endproc ## -- End function .comm _crypto_stream_salsa208_KEYBYTES,4,2 ## @crypto_stream_salsa208_KEYBYTES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _crypto_stream_salsa208_keygen ; -- Begin function crypto_stream_salsa208_keygen .p2align 2 _crypto_stream_salsa208_keygen: ; @crypto_stream_salsa208_keygen .cfi_startproc ; %bb.0: Lloh0: adrp x8, _crypto_stream_salsa208_KEYBYTES@GOTPAGE Lloh1: ldr x8, [x8, _crypto_stream_salsa208_KEYBYTES@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _randombytes_buf .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _crypto_stream_salsa208_KEYBYTES,4,2 ; @crypto_stream_salsa208_KEYBYTES .subsections_via_symbols
AnghaBench/libsodium/src/libsodium/crypto_stream/salsa208/extr_stream_salsa208.c_crypto_stream_salsa208_keygen.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _x509_note_serial ## -- Begin function x509_note_serial .p2align 4, 0x90 _x509_note_serial: ## @x509_note_serial .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 %rcx, 8(%rax) movq %r8, (%rax) 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 _x509_note_serial ; -- Begin function x509_note_serial .p2align 2 _x509_note_serial: ; @x509_note_serial .cfi_startproc ; %bb.0: ldr x8, [x0] stp x4, x3, [x8] mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/crypto/asymmetric_keys/extr_x509_cert_parser.c_x509_note_serial.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/468142.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _spi_hal_user_start ## -- Begin function spi_hal_user_start .p2align 4, 0x90 _spi_hal_user_start: ## @spi_hal_user_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _spi_ll_user_start ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _spi_hal_user_start ; -- Begin function spi_hal_user_start .p2align 2 _spi_hal_user_start: ; @spi_hal_user_start .cfi_startproc ; %bb.0: ldr w0, [x0] b _spi_ll_user_start .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/esp-idf/components/soc/src/hal/extr_spi_hal_iram.c_spi_hal_user_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hdac_hdmi_dev_probe _hdac_hdmi_dev_probe: ## @hdac_hdmi_dev_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 movq $0, -56(%rbp) movl $0, -44(%rbp) leaq 4(%rdi), %r14 movl 4(%rdi), %edi callq _drv_to_hdac_driver movq %r13, %rdi movq %rax, %rsi callq _hdac_get_device_id movq %rax, %r12 movl (%r13), %ebx movq %r14, %rdi callq _dev_name movl %ebx, %edi movl %eax, %esi callq _snd_hdac_ext_bus_get_link testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r15 movl (%r13), %edi movq %rax, %rsi callq _snd_hdac_ext_bus_link_get movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl $48, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_3 ## %bb.5: movq %rax, %rbx leaq 32(%rax), %rsi movq %r13, %rdi callq _snd_hdac_register_chmap_ops movq _hdac_hdmi_get_chmap@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 44(%rbx) movq _hdac_hdmi_set_chmap@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 40(%rbx) movq _is_hdac_hdmi_pcm_attached@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 36(%rbx) movq _hdac_hdmi_get_spk_alloc@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%rbx) movq %r13, 24(%rbx) testq %r12, %r12 je LBB0_6 ## %bb.7: movq (%r12), %rax testq %rax, %rax jne LBB0_9 ## %bb.8: movq _intel_drv_data@GOTPCREL(%rip), %rax LBB0_9: movq %rax, 16(%rbx) movq %r14, %rdi movq %rbx, %rsi callq _dev_set_drvdata leaq 12(%rbx), %rdi callq _INIT_LIST_HEAD leaq 8(%rbx), %rdi callq _INIT_LIST_HEAD movq %rbx, %rdi addq $4, %rdi callq _INIT_LIST_HEAD movq %rbx, %rdi callq _mutex_init movl (%r13), %edi movl 8(%r13), %esi movl $1, %edx callq _snd_hdac_display_power leaq -56(%rbp), %rsi leaq -44(%rbp), %rdx movq %r13, %rdi callq _hdac_hdmi_parse_and_map_nid testl %eax, %eax js LBB0_10 ## %bb.11: movq %r13, %rdi callq _snd_hdac_refresh_widgets movq -56(%rbp), %rdx movl -44(%rbp), %ecx movq _hdmi_hda_codec@GOTPCREL(%rip), %rsi movq %r14, %rdi callq _devm_snd_soc_register_component movl %eax, %ebx movl (%r13), %edi movq %r15, %rsi callq _snd_hdac_ext_bus_link_put jmp LBB0_12 LBB0_1: leaq L_.str(%rip), %rsi xorl %ebx, %ebx movq %r14, %rdi xorl %eax, %eax callq _dev_err movq _EIO@GOTPCREL(%rip), %rax subl (%rax), %ebx jmp LBB0_12 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_6: movq _ENODEV@GOTPCREL(%rip), %rax LBB0_4: xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_12 LBB0_10: movl %eax, %ebx leaq L_.str.1(%rip), %rsi movq %r14, %rdi movl %eax, %edx xorl %eax, %eax callq _dev_err LBB0_12: movl %ebx, %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 "hdac link not found\n" .comm _EIO,4,2 ## @EIO .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _hdac_hdmi_get_chmap,4,2 ## @hdac_hdmi_get_chmap .comm _hdac_hdmi_set_chmap,4,2 ## @hdac_hdmi_set_chmap .comm _is_hdac_hdmi_pcm_attached,4,2 ## @is_hdac_hdmi_pcm_attached .comm _hdac_hdmi_get_spk_alloc,4,2 ## @hdac_hdmi_get_spk_alloc .comm _ENODEV,4,2 ## @ENODEV .comm _intel_drv_data,4,2 ## @intel_drv_data L_.str.1: ## @.str.1 .asciz "Failed in parse and map nid with err: %d\n" .comm _hdmi_hda_codec,4,2 ## @hdmi_hda_codec .no_dead_strip _hdac_hdmi_dev_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hdac_hdmi_dev_probe _hdac_hdmi_dev_probe: ; @hdac_hdmi_dev_probe .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 str xzr, [sp, #24] str wzr, [sp, #20] mov x20, x0 ldr w0, [x20, #4]! bl _drv_to_hdac_driver mov x1, x0 mov x0, x19 bl _hdac_get_device_id mov x22, x0 ldr w21, [x19] mov x0, x20 bl _dev_name mov x1, x0 mov x0, x21 bl _snd_hdac_ext_bus_get_link cbz x0, LBB0_5 ; %bb.1: mov x21, x0 ldr w0, [x19] mov x1, x21 bl _snd_hdac_ext_bus_link_get Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x20 mov w1, #48 bl _devm_kzalloc cbz x0, LBB0_6 ; %bb.2: mov x23, x0 add x1, x0, #32 mov x0, x19 bl _snd_hdac_register_chmap_ops Lloh3: adrp x8, _hdac_hdmi_get_chmap@GOTPAGE Lloh4: ldr x8, [x8, _hdac_hdmi_get_chmap@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _hdac_hdmi_set_chmap@GOTPAGE Lloh7: ldr x9, [x9, _hdac_hdmi_set_chmap@GOTPAGEOFF] Lloh8: ldr w9, [x9] stp w9, w8, [x23, #40] Lloh9: adrp x8, _is_hdac_hdmi_pcm_attached@GOTPAGE Lloh10: ldr x8, [x8, _is_hdac_hdmi_pcm_attached@GOTPAGEOFF] Lloh11: ldr w8, [x8] Lloh12: adrp x9, _hdac_hdmi_get_spk_alloc@GOTPAGE Lloh13: ldr x9, [x9, _hdac_hdmi_get_spk_alloc@GOTPAGEOFF] Lloh14: ldr w9, [x9] stp w9, w8, [x23, #32] str x19, [x23, #24] cbz x22, LBB0_7 ; %bb.3: ldr x8, [x22] Lloh15: adrp x9, _intel_drv_data@GOTPAGE Lloh16: ldr x9, [x9, _intel_drv_data@GOTPAGEOFF] cmp x8, #0 csel x8, x9, x8, eq str x8, [x23, #16] mov x0, x20 mov x1, x23 bl _dev_set_drvdata add x0, x23, #12 bl _INIT_LIST_HEAD add x0, x23, #8 bl _INIT_LIST_HEAD add x0, x23, #4 bl _INIT_LIST_HEAD mov x0, x23 bl _mutex_init ldr w0, [x19] ldr w1, [x19, #8] mov w2, #1 bl _snd_hdac_display_power add x1, sp, #24 add x2, sp, #20 mov x0, x19 bl _hdac_hdmi_parse_and_map_nid tbnz w0, #31, LBB0_10 ; %bb.4: mov x0, x19 bl _snd_hdac_refresh_widgets ldr x2, [sp, #24] ldr w3, [sp, #20] Lloh17: adrp x1, _hdmi_hda_codec@GOTPAGE Lloh18: ldr x1, [x1, _hdmi_hda_codec@GOTPAGEOFF] mov x0, x20 bl _devm_snd_soc_register_component mov x22, x0 ldr w0, [x19] mov x1, x21 bl _snd_hdac_ext_bus_link_put b LBB0_9 LBB0_5: Lloh19: adrp x1, l_.str@PAGE Lloh20: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _dev_err Lloh21: adrp x8, _EIO@GOTPAGE Lloh22: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_8 LBB0_6: Lloh23: adrp x8, _ENOMEM@GOTPAGE Lloh24: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_8 LBB0_7: Lloh25: adrp x8, _ENODEV@GOTPAGE Lloh26: ldr x8, [x8, _ENODEV@GOTPAGEOFF] LBB0_8: ldr w8, [x8] neg w22, w8 LBB0_9: mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_10: mov x22, x0 str x22, [sp] Lloh27: adrp x1, l_.str.1@PAGE Lloh28: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _dev_err b LBB0_9 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hdac link not found\n" .comm _EIO,4,2 ; @EIO .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _hdac_hdmi_get_chmap,4,2 ; @hdac_hdmi_get_chmap .comm _hdac_hdmi_set_chmap,4,2 ; @hdac_hdmi_set_chmap .comm _is_hdac_hdmi_pcm_attached,4,2 ; @is_hdac_hdmi_pcm_attached .comm _hdac_hdmi_get_spk_alloc,4,2 ; @hdac_hdmi_get_spk_alloc .comm _ENODEV,4,2 ; @ENODEV .comm _intel_drv_data,4,2 ; @intel_drv_data l_.str.1: ; @.str.1 .asciz "Failed in parse and map nid with err: %d\n" .comm _hdmi_hda_codec,4,2 ; @hdmi_hda_codec .no_dead_strip _hdac_hdmi_dev_probe .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_hdac_hdmi.c_hdac_hdmi_dev_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function smc_setmulticast _smc_setmulticast: ## @smc_setmulticast .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r15d movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq -40(%rbp), %rdi xorl %esi, %esi movl $8, %edx callq _memset testl %r15d, %r15d jle LBB0_6 ## %bb.1: leaq L___const.smc_setmulticast.invert3(%rip), %r14 jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rbx), %rbx LBB0_2: ## =>This Inner Loop Header: Depth=1 testq %rbx, %rbx je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%rbx), %rsi testb $1, (%rsi) je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl $6, %edi callq _ether_crc_le ## kill: def $eax killed $eax def $rax movl %eax, %ecx shrl $3, %ecx andl $7, %ecx movzbl (%rcx,%r14), %ecx movl $1, %edx shll %cl, %edx andl $7, %eax movzbl (%rax,%r14), %eax orb %dl, -40(%rbp,%rax) jmp LBB0_5 LBB0_6: movl $3, %edi callq _SMC_SELECT_BANK movslq %r14d, %rbx movzbl -40(%rbp), %edi movq _MULTICAST1@GOTPCREL(%rip), %r14 movq %rbx, %rsi subq (%r14), %rsi callq _outb movzbl -39(%rbp), %edi movq %rbx, %rsi subq (%r14), %rsi incq %rsi callq _outb movzbl -38(%rbp), %edi movq %rbx, %rsi subq (%r14), %rsi addq $2, %rsi callq _outb movzbl -37(%rbp), %edi movq %rbx, %rsi subq (%r14), %rsi addq $3, %rsi callq _outb movzbl -36(%rbp), %edi movq %rbx, %rsi subq (%r14), %rsi addq $4, %rsi callq _outb movzbl -35(%rbp), %edi movq %rbx, %rsi subq (%r14), %rsi addq $5, %rsi callq _outb movzbl -34(%rbp), %edi movq %rbx, %rsi subq (%r14), %rsi addq $6, %rsi callq _outb movzbl -33(%rbp), %edi subq (%r14), %rbx addq $7, %rbx movq %rbx, %rsi callq _outb movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_8 ## %bb.7: addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals L___const.smc_setmulticast.invert3: ## @__const.smc_setmulticast.invert3 .ascii "\000\004\002\006\001\005\003\007" .comm _MULTICAST1,8,3 ## @MULTICAST1 .no_dead_strip _smc_setmulticast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function smc_setmulticast _smc_setmulticast: ; @smc_setmulticast .cfi_startproc ; %bb.0: sub sp, sp, #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, x2 mov x21, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #8] mov x22, sp mov x0, sp mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _memset cmp w21, #1 b.lt LBB0_6 ; %bb.1: Lloh3: adrp x20, l___const.smc_setmulticast.invert3@PAGE Lloh4: add x20, x20, l___const.smc_setmulticast.invert3@PAGEOFF mov w21, #1 ; =0x1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x19, [x19, #8] LBB0_3: ; =>This Inner Loop Header: Depth=1 cbz x19, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x1, [x19] ldrb w8, [x1] tbz w8, #0, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov w0, #6 ; =0x6 bl _ether_crc_le ; kill: def $w0 killed $w0 def $x0 ubfx x8, x0, #3, #3 ldrb w8, [x20, x8] and x9, x0, #0x7 ldrb w9, [x20, x9] lsl w8, w21, w8 ldrb w10, [x22, x9] orr w8, w10, w8 strb w8, [x22, x9] b LBB0_2 LBB0_6: mov w0, #3 ; =0x3 bl _SMC_SELECT_BANK sxtw x19, w20 ldrb w0, [sp] Lloh5: adrp x20, _MULTICAST1@GOTPAGE Lloh6: ldr x20, [x20, _MULTICAST1@GOTPAGEOFF] ldr x8, [x20] sub x1, x19, x8 bl _outb ldrb w0, [sp, #1] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #1 bl _outb ldrb w0, [sp, #2] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #2 bl _outb ldrb w0, [sp, #3] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #3 bl _outb ldrb w0, [sp, #4] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #4 bl _outb ldrb w0, [sp, #5] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #5 bl _outb ldrb w0, [sp, #6] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #6 bl _outb ldrb w0, [sp, #7] ldr x8, [x20] sub x8, x19, x8 add x1, x8, #7 bl _outb ldr x8, [sp, #8] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_8: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals l___const.smc_setmulticast.invert3: ; @__const.smc_setmulticast.invert3 .ascii "\000\004\002\006\001\005\003\007" .comm _MULTICAST1,8,3 ; @MULTICAST1 .no_dead_strip _smc_setmulticast .subsections_via_symbols
assembly_file_101521.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_bridge_disable ## -- Begin function drm_bridge_disable .p2align 4, 0x90 _drm_bridge_disable: ## @drm_bridge_disable .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 ## %bb.1: movq %rdi, %rbx movq 8(%rdi), %rdi callq _drm_bridge_disable movq (%rbx), %rax movq (%rax), %rax testq %rax, %rax je LBB0_2 ## %bb.3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmpq *%rax ## TAILCALL LBB0_2: 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 _drm_bridge_disable ; -- Begin function drm_bridge_disable .p2align 2 _drm_bridge_disable: ; @drm_bridge_disable .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_3 ; %bb.1: mov x19, x0 ldr x0, [x0, #8] bl _drm_bridge_disable ldr x8, [x19] ldr x1, [x8] cbz x1, LBB0_3 ; %bb.2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload br x1 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/extr_drm_bridge.c_drm_bridge_disable.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 capture_screen LCPI0_0: .quad 0x3f9999999999999a ## double 0.025000000000000001 LCPI0_1: .quad 0x3fb999999999999a ## double 0.10000000000000001 LCPI0_2: .quad 0x3fab4a2339c0ebee ## double 0.0533 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _capture_screen: ## @capture_screen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq 24(%rdi), %rbx movslq (%rdi), %r14 shlq $5, %r14 movq %rbx, %r12 subq %r14, %r12 movq _CCFONT_REGULAR@GOTPCREL(%rip), %rax movl (%rax), %r13d movq %rdi, -72(%rbp) ## 8-byte Spill addq $8, %rdi movq %rdi, -48(%rbp) ## 8-byte Spill callq _av_bprint_clear negq %r14 movq 24(%rbx,%r14), %rdi testq %rdi, %rdi setne %cl movq _SCREEN_ROWS@GOTPCREL(%rip), %r15 movl (%r15), %eax testl %eax, %eax setg %dl andb %cl, %dl movq $0, -56(%rbp) ## 8-byte Folded Spill cmpb $1, %dl jne LBB0_12 ## %bb.1: movq _CCSET_BASIC_AMERICAN@GOTPCREL(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movl %ebx, %esi callq _CHECK_FLAG testq %rax, %rax je LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%r12), %rax movq (%rax,%rbx,8), %rcx xorl %eax, %eax cmpb $32, (%rcx) jne LBB0_8 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r12), %rax movq (%rax,%rbx,8), %rdx movzbl (%r14), %esi xorl %edi, %edi .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb %sil, (%rdx,%rdi) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 leaq 1(%rdi), %rax cmpb $32, 1(%rcx,%rdi) movq %rax, %rdi je LBB0_5 jmp LBB0_8 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq %rdi, %rax LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rdx ## 8-byte Reload cmpl %edx, %eax movl %edx, %ecx cmovll %eax, %ecx testl %edx, %edx cmovel %eax, %ecx movl %ecx, %eax movq %rax, -56(%rbp) ## 8-byte Spill LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq 24(%r12), %rdi movl (%r15), %eax testq %rdi, %rdi je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 leaq -1(%rbx), %rcx movslq %eax, %rdx cmpq %rdx, %rbx movq %rcx, %rbx jle LBB0_2 LBB0_11: movq -56(%rbp), %rcx ## 8-byte Reload movslq %ecx, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill LBB0_12: testq %rdi, %rdi setne %cl testl %eax, %eax setg %al andb %cl, %al cmpb $1, %al jne LBB0_40 ## %bb.13: xorl %r14d, %r14d movq %r12, -80(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_14: ## =>This Loop Header: Depth=1 ## Child Loop BB0_17 Depth 2 ## Child Loop BB0_26 Depth 2 movl %r14d, %esi callq _CHECK_FLAG testq %rax, %rax je LBB0_38 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq (%r12), %rax movq 8(%r12), %rcx movq (%rax,%r14,8), %r15 movq (%rcx,%r14,8), %rax movq %rax, -64(%rbp) ## 8-byte Spill xorl %ebx, %ebx cmpb $32, (%r15) jne LBB0_22 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movq _CCSET_BASIC_AMERICAN@GOTPCREL(%rip), %rax movzbl (%rax), %eax xorl %ecx, %ecx movq -56(%rbp), %rdx ## 8-byte Reload .p2align 4, 0x90 LBB0_17: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movq -64(%rbp), %rsi ## 8-byte Reload cmpb %al, (%rsi,%rcx) jne LBB0_21 ## %bb.18: ## in Loop: Header=BB0_17 Depth=2 cmpq %rdx, %rcx jge LBB0_21 ## %bb.19: ## in Loop: Header=BB0_17 Depth=2 leaq 1(%rcx), %rbx cmpb $32, 1(%r15,%rcx) movq %rbx, %rcx je LBB0_17 jmp LBB0_22 LBB0_21: ## in Loop: Header=BB0_14 Depth=1 movq %rcx, %rbx LBB0_22: ## in Loop: Header=BB0_14 Depth=1 movq 16(%r12), %rax movq (%rax,%r14,8), %rax movq %rax, -96(%rbp) ## 8-byte Spill xorps %xmm0, %xmm0 cvtsi2sd %ebx, %xmm0 mulsd LCPI0_0(%rip), %xmm0 movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.0000000000000001E-1,0.0E+0] addsd %xmm1, %xmm0 movq _ASS_DEFAULT_PLAYRESX@GOTPCREL(%rip), %rax mulsd (%rax), %xmm0 cvttsd2si %xmm0, %edx movq %r14, -88(%rbp) ## 8-byte Spill xorps %xmm0, %xmm0 cvtsi2sd %r14d, %xmm0 mulsd LCPI0_2(%rip), %xmm0 addsd %xmm1, %xmm0 movq _ASS_DEFAULT_PLAYRESY@GOTPCREL(%rip), %rax mulsd (%rax), %xmm0 cvttsd2si %xmm0, %ecx movq -48(%rbp), %rdi ## 8-byte Reload leaq L_.str(%rip), %rsi xorl %eax, %eax callq _av_bprintf movq _SCREEN_COLUMNS@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jge LBB0_36 ## %bb.23: ## in Loop: Header=BB0_14 Depth=1 movl %ebx, %r12d xorl %ebx, %ebx leaq L_.str.1(%rip), %rcx jmp LBB0_26 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_26 Depth=2 movl %r13d, %r14d LBB0_25: ## in Loop: Header=BB0_26 Depth=2 incq %r12 movl %r14d, %r13d movq _SCREEN_COLUMNS@GOTPCREL(%rip), %rax cmpl %r12d, (%rax) jle LBB0_37 LBB0_26: ## Parent Loop BB0_14 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r15,%r12), %r8d testl %r8d, %r8d je LBB0_24 ## %bb.27: ## in Loop: Header=BB0_26 Depth=2 movq -96(%rbp), %rax ## 8-byte Reload movsbl (%rax,%r12), %r14d movq %rcx, %rdx cmpl %r14d, %r13d je LBB0_30 ## %bb.28: ## in Loop: Header=BB0_26 Depth=2 addl $-128, %r13d movq %rcx, %rdx cmpl $2, %r13d ja LBB0_30 ## %bb.29: ## in Loop: Header=BB0_26 Depth=2 movl %r13d, %eax leaq l_switch.table.capture_screen.rel(%rip), %rsi movslq (%rsi,%rax,4), %rdx addq %rsi, %rdx LBB0_30: ## in Loop: Header=BB0_26 Depth=2 movq _charset_overrides@GOTPCREL(%rip), %rax movq (%rax), %rax movq -64(%rbp), %rsi ## 8-byte Reload movsbq (%rsi,%r12), %rsi movq (%rax,%rsi,8), %rax movslq %r8d, %rsi movq (%rax,%rsi,8), %rax testq %rax, %rax je LBB0_32 ## %bb.31: ## in Loop: Header=BB0_26 Depth=2 movq -48(%rbp), %rdi ## 8-byte Reload leaq L_.str.8(%rip), %rsi movq %rax, %r8 xorl %eax, %eax callq _av_bprintf jmp LBB0_34 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_26 Depth=2 cmpb $32, %r8b setne %al testl %ebx, %ebx setne %sil orb %al, %sil je LBB0_35 ## %bb.33: ## in Loop: Header=BB0_26 Depth=2 movq -48(%rbp), %rdi ## 8-byte Reload leaq L_.str.10(%rip), %rsi xorl %eax, %eax callq _av_bprintf LBB0_34: ## in Loop: Header=BB0_26 Depth=2 leaq L_.str.1(%rip), %rcx movl $1, %ebx jmp LBB0_25 LBB0_35: ## in Loop: Header=BB0_26 Depth=2 xorl %ebx, %ebx movq -48(%rbp), %rdi ## 8-byte Reload leaq L_.str.9(%rip), %rsi xorl %eax, %eax callq _av_bprintf leaq L_.str.1(%rip), %rcx jmp LBB0_25 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_14 Depth=1 movl %r13d, %r14d LBB0_37: ## in Loop: Header=BB0_14 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload leaq L_.str.11(%rip), %rsi xorl %eax, %eax callq _av_bprintf movl %r14d, %r13d movq -80(%rbp), %r12 ## 8-byte Reload movq _SCREEN_ROWS@GOTPCREL(%rip), %r15 movq -88(%rbp), %r14 ## 8-byte Reload LBB0_38: ## in Loop: Header=BB0_14 Depth=1 movq 24(%r12), %rdi testq %rdi, %rdi je LBB0_40 ## %bb.39: ## in Loop: Header=BB0_14 Depth=1 incq %r14 movslq (%r15), %rax cmpq %rax, %r14 jl LBB0_14 LBB0_40: movq -48(%rbp), %rdi ## 8-byte Reload callq _av_bprint_is_complete testl %eax, %eax je LBB0_45 ## %bb.41: cmpq $0, 24(%r12) movq -72(%rbp), %rdx ## 8-byte Reload je LBB0_44 ## %bb.42: movq -48(%rbp), %rax ## 8-byte Reload movl (%rax), %eax cmpl $2, %eax jl LBB0_44 ## %bb.43: addl $-2, %eax movl %eax, 8(%rdx) movq 16(%rdx), %rcx movq $0, (%rcx,%rax,8) LBB0_44: movl $1, 4(%rdx) xorl %eax, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_45: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %edi addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _AVERROR ## TAILCALL .cfi_endproc ## -- End function .comm _CCFONT_REGULAR,4,2 ## @CCFONT_REGULAR .comm _SCREEN_ROWS,4,2 ## @SCREEN_ROWS .comm _CCSET_BASIC_AMERICAN,1,0 ## @CCSET_BASIC_AMERICAN .comm _ASS_DEFAULT_PLAYRESX,8,3 ## @ASS_DEFAULT_PLAYRESX .comm _ASS_DEFAULT_PLAYRESY,8,3 ## @ASS_DEFAULT_PLAYRESY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "{\\an7}{\\pos(%d,%d)}" .comm _SCREEN_COLUMNS,4,2 ## @SCREEN_COLUMNS L_.str.1: ## @.str.1 .space 1 L_.str.2: ## @.str.2 .asciz "{\\i0}" L_.str.3: ## @.str.3 .asciz "{\\u0}" L_.str.4: ## @.str.4 .asciz "{\\u0}{\\i0}" .comm _charset_overrides,8,3 ## @charset_overrides L_.str.8: ## @.str.8 .asciz "%s%s%s" L_.str.9: ## @.str.9 .asciz "%s%s\\h" L_.str.10: ## @.str.10 .asciz "%s%s%c" L_.str.11: ## @.str.11 .asciz "\\N" .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _capture_screen .section __TEXT,__const .p2align 2, 0x0 ## @switch.table.capture_screen.rel l_switch.table.capture_screen.rel: .long L_.str.4-l_switch.table.capture_screen.rel .long L_.str.3-l_switch.table.capture_screen.rel .long L_.str.2-l_switch.table.capture_screen.rel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function capture_screen _capture_screen: ; @capture_screen .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .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 x8, [x0, #24] ldrsw x9, [x0] sub x23, x8, x9, lsl #5 Lloh0: adrp x8, _CCFONT_REGULAR@GOTPAGE Lloh1: ldr x8, [x8, _CCFONT_REGULAR@GOTPAGEOFF] Lloh2: ldr w21, [x8] add x0, x0, #8 bl _av_bprint_clear Lloh3: adrp x24, _SCREEN_ROWS@GOTPAGE Lloh4: ldr x24, [x24, _SCREEN_ROWS@GOTPAGEOFF] ldr x0, [x23, #24] ldr w8, [x24] cmp x0, #0 ccmp w8, #1, #8, ne b.ge LBB0_2 ; %bb.1: str xzr, [sp, #32] ; 8-byte Folded Spill b LBB0_13 LBB0_2: mov x20, #0 ; =0x0 mov w22, #0 ; =0x0 b LBB0_6 LBB0_3: ; in Loop: Header=BB0_6 Depth=1 mov w10, #0 ; =0x0 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 cmp w10, w22 csel w8, w10, w22, lt cmp w22, #0 csel w22, w10, w8, eq LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x23, #24] ldr w8, [x24] sxtw x9, w8 cmp x0, #0 ccmp x20, x9, #0, ne sub x20, x20, #1 b.gt LBB0_12 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 mov x1, x20 bl _CHECK_FLAG cbz x0, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x23] ldr x10, [x8, x20, lsl #3] ldrb w8, [x10] cmp w8, #32 b.ne LBB0_3 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov x8, #0 ; =0x0 ldr x9, [x23, #8] ldr x9, [x9, x20, lsl #3] Lloh5: adrp x11, _CCSET_BASIC_AMERICAN@GOTPAGE Lloh6: ldr x11, [x11, _CCSET_BASIC_AMERICAN@GOTPAGEOFF] ldrb w11, [x11] add x12, x10, #1 LBB0_9: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x9, x8] cmp w10, w11 b.ne LBB0_11 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 add x10, x8, #1 ldrb w13, [x12, x8] mov x8, x10 cmp w13, #32 b.eq LBB0_9 b LBB0_4 LBB0_11: ; in Loop: Header=BB0_6 Depth=1 mov x10, x8 b LBB0_4 LBB0_12: sxtw x9, w22 str x9, [sp, #32] ; 8-byte Folded Spill LBB0_13: cmp x0, #0 ccmp w8, #1, #8, ne b.ge LBB0_19 LBB0_14: add x0, x19, #8 bl _av_bprint_is_complete cbz w0, LBB0_45 ; %bb.15: ldr x8, [x23, #24] cbz x8, LBB0_18 ; %bb.16: ldur w8, [x19, #8] subs w8, w8, #2 b.lt LBB0_18 ; %bb.17: str w8, [x19, #8] ldr x9, [x19, #16] str xzr, [x9, w8, uxtw #3] LBB0_18: mov w8, #1 ; =0x1 str w8, [x19, #4] mov w0, #0 ; =0x0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_19: mov x20, #0 ; =0x0 Lloh7: adrp x25, _SCREEN_COLUMNS@GOTPAGE Lloh8: ldr x25, [x25, _SCREEN_COLUMNS@GOTPAGEOFF] Lloh9: adrp x22, l_.str.1@PAGE Lloh10: add x22, x22, l_.str.1@PAGEOFF str x23, [sp, #40] ; 8-byte Folded Spill b LBB0_23 LBB0_20: ; in Loop: Header=BB0_23 Depth=1 mov x28, x21 LBB0_21: ; in Loop: Header=BB0_23 Depth=1 add x0, x19, #8 Lloh11: adrp x1, l_.str.11@PAGE Lloh12: add x1, x1, l_.str.11@PAGEOFF bl _av_bprintf mov x21, x28 ldr x23, [sp, #40] ; 8-byte Folded Reload Lloh13: adrp x24, _SCREEN_ROWS@GOTPAGE Lloh14: ldr x24, [x24, _SCREEN_ROWS@GOTPAGEOFF] LBB0_22: ; in Loop: Header=BB0_23 Depth=1 add x20, x20, #1 ldr x0, [x23, #24] ldrsw x8, [x24] cmp x0, #0 ccmp x20, x8, #0, ne b.ge LBB0_14 LBB0_23: ; =>This Loop Header: Depth=1 ; Child Loop BB0_26 Depth 2 ; Child Loop BB0_34 Depth 2 mov x1, x20 bl _CHECK_FLAG cbz x0, LBB0_22 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 ldp x8, x9, [x23] ldr x27, [x8, x20, lsl #3] ldr x24, [x9, x20, lsl #3] ldrb w8, [x27] cmp w8, #32 b.ne LBB0_28 ; %bb.25: ; in Loop: Header=BB0_23 Depth=1 mov x8, #0 ; =0x0 Lloh15: adrp x9, _CCSET_BASIC_AMERICAN@GOTPAGE Lloh16: ldr x9, [x9, _CCSET_BASIC_AMERICAN@GOTPAGEOFF] ldrb w9, [x9] add x10, x27, #1 ldr x12, [sp, #32] ; 8-byte Folded Reload LBB0_26: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w11, [x24, x8] cmp w11, w9 ccmp x8, x12, #0, eq b.ge LBB0_29 ; %bb.27: ; in Loop: Header=BB0_26 Depth=2 add x26, x8, #1 ldrb w11, [x10, x8] mov x8, x26 cmp w11, #32 b.eq LBB0_26 b LBB0_30 LBB0_28: ; in Loop: Header=BB0_23 Depth=1 mov w26, #0 ; =0x0 b LBB0_30 LBB0_29: ; in Loop: Header=BB0_23 Depth=1 mov x26, x8 LBB0_30: ; in Loop: Header=BB0_23 Depth=1 ldr x8, [x23, #16] ldr x23, [x8, x20, lsl #3] Lloh17: adrp x8, _ASS_DEFAULT_PLAYRESX@GOTPAGE Lloh18: ldr x8, [x8, _ASS_DEFAULT_PLAYRESX@GOTPAGEOFF] Lloh19: ldr d0, [x8] ucvtf d1, w26 mov x8, #-7378697629483820647 ; =0x9999999999999999 movk x8, #39322 movk x8, #16313, lsl #48 fmov d2, x8 mov x8, #-7378697629483820647 ; =0x9999999999999999 movk x8, #39322 movk x8, #16281, lsl #48 fmov d3, x8 fmadd d1, d1, d3, d2 fmul d0, d1, d0 fcvtzs w8, d0 ucvtf d0, w20 Lloh20: adrp x9, _ASS_DEFAULT_PLAYRESY@GOTPAGE Lloh21: ldr x9, [x9, _ASS_DEFAULT_PLAYRESY@GOTPAGEOFF] Lloh22: ldr d1, [x9] mov x9, #60398 ; =0xebee movk x9, #14784, lsl #16 movk x9, #18979, lsl #32 movk x9, #16299, lsl #48 fmov d3, x9 fmadd d0, d0, d3, d2 fmul d0, d0, d1 fcvtzs w9, d0 stp x8, x9, [sp] add x0, x19, #8 Lloh23: adrp x1, l_.str@PAGE Lloh24: add x1, x1, l_.str@PAGEOFF bl _av_bprintf ldr w8, [x25] cmp w26, w8 b.ge LBB0_20 ; %bb.31: ; in Loop: Header=BB0_23 Depth=1 mov w8, #0 ; =0x0 mov w26, w26 b LBB0_34 LBB0_32: ; in Loop: Header=BB0_34 Depth=2 mov x28, x21 LBB0_33: ; in Loop: Header=BB0_34 Depth=2 add x26, x26, #1 ldr w9, [x25] mov x21, x28 cmp w9, w26 b.le LBB0_21 LBB0_34: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w10, [x27, x26] cbz w10, LBB0_32 ; %bb.35: ; in Loop: Header=BB0_34 Depth=2 ldrsb w28, [x23, x26] cmp w21, w28 b.eq LBB0_38 ; %bb.36: ; in Loop: Header=BB0_34 Depth=2 sub w9, w21, #128 cmp w9, #2 b.hi LBB0_38 ; %bb.37: ; in Loop: Header=BB0_34 Depth=2 Lloh25: adrp x11, l_switch.table.capture_screen@PAGE Lloh26: add x11, x11, l_switch.table.capture_screen@PAGEOFF ldr x9, [x11, w9, uxtw #3] b LBB0_39 LBB0_38: ; in Loop: Header=BB0_34 Depth=2 mov x9, x22 LBB0_39: ; in Loop: Header=BB0_34 Depth=2 Lloh27: adrp x11, _charset_overrides@GOTPAGE Lloh28: ldr x11, [x11, _charset_overrides@GOTPAGEOFF] Lloh29: ldr x11, [x11] ldrsb x12, [x24, x26] ldr x11, [x11, x12, lsl #3] ldr x11, [x11, w10, sxtw #3] cbz x11, LBB0_41 ; %bb.40: ; in Loop: Header=BB0_34 Depth=2 stp x22, x11, [sp, #8] add x0, x19, #8 str x9, [sp] Lloh30: adrp x1, l_.str.8@PAGE Lloh31: add x1, x1, l_.str.8@PAGEOFF b LBB0_43 LBB0_41: ; in Loop: Header=BB0_34 Depth=2 cmp w10, #32 ccmp w8, #0, #0, eq b.eq LBB0_44 ; %bb.42: ; in Loop: Header=BB0_34 Depth=2 stp x22, x10, [sp, #8] add x0, x19, #8 str x9, [sp] Lloh32: adrp x1, l_.str.10@PAGE Lloh33: add x1, x1, l_.str.10@PAGEOFF LBB0_43: ; in Loop: Header=BB0_34 Depth=2 bl _av_bprintf mov w8, #1 ; =0x1 b LBB0_33 LBB0_44: ; in Loop: Header=BB0_34 Depth=2 stp x9, x22, [sp] add x0, x19, #8 Lloh34: adrp x1, l_.str.9@PAGE Lloh35: add x1, x1, l_.str.9@PAGEOFF bl _av_bprintf mov w8, #0 ; =0x0 b LBB0_33 LBB0_45: Lloh36: adrp x8, _ENOMEM@GOTPAGE Lloh37: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh38: ldr w0, [x8] ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 b _AVERROR .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .cfi_endproc ; -- End function .comm _CCFONT_REGULAR,4,2 ; @CCFONT_REGULAR .comm _SCREEN_ROWS,4,2 ; @SCREEN_ROWS .comm _CCSET_BASIC_AMERICAN,1,0 ; @CCSET_BASIC_AMERICAN .comm _ASS_DEFAULT_PLAYRESX,8,3 ; @ASS_DEFAULT_PLAYRESX .comm _ASS_DEFAULT_PLAYRESY,8,3 ; @ASS_DEFAULT_PLAYRESY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "{\\an7}{\\pos(%d,%d)}" .comm _SCREEN_COLUMNS,4,2 ; @SCREEN_COLUMNS l_.str.1: ; @.str.1 .space 1 l_.str.2: ; @.str.2 .asciz "{\\i0}" l_.str.3: ; @.str.3 .asciz "{\\u0}" l_.str.4: ; @.str.4 .asciz "{\\u0}{\\i0}" .comm _charset_overrides,8,3 ; @charset_overrides l_.str.8: ; @.str.8 .asciz "%s%s%s" l_.str.9: ; @.str.9 .asciz "%s%s\\h" l_.str.10: ; @.str.10 .asciz "%s%s%c" l_.str.11: ; @.str.11 .asciz "\\N" .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _capture_screen .section __DATA,__const .p2align 3, 0x0 ; @switch.table.capture_screen l_switch.table.capture_screen: .quad l_.str.4 .quad l_.str.3 .quad l_.str.2 .subsections_via_symbols
assembly_file_90572.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wpa_supplicant_set_ap_scan ## -- Begin function wpa_supplicant_set_ap_scan .p2align 4, 0x90 _wpa_supplicant_set_ap_scan: ## @wpa_supplicant_set_ap_scan .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 $-1, %ebx cmpl $2, %esi ja LBB0_6 ## %bb.1: movl %esi, %r15d movq %rdi, %r14 jne LBB0_4 ## %bb.2: movq 16(%r14), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _os_strcmp testq %rax, %rax jne LBB0_4 ## %bb.3: movq _MSG_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _wpa_printf LBB0_4: movq 8(%r14), %rax movl (%rax), %ecx movl %r15d, (%rax) xorl %ebx, %ebx cmpl %r15d, %ecx je LBB0_6 ## %bb.5: movq %r14, %rdi callq _wpas_notify_ap_scan_changed LBB0_6: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nl80211" .comm _MSG_INFO,4,2 ## @MSG_INFO L_.str.1: ## @.str.1 .asciz "Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures" .comm _MSG_ERROR,4,2 ## @MSG_ERROR .comm _WPA_ASSOCIATING,8,3 ## @WPA_ASSOCIATING .comm _WPA_COMPLETED,8,3 ## @WPA_COMPLETED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wpa_supplicant_set_ap_scan ; -- Begin function wpa_supplicant_set_ap_scan .p2align 2 _wpa_supplicant_set_ap_scan: ; @wpa_supplicant_set_ap_scan .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 cmp w1, #2 b.ls LBB0_2 ; %bb.1: mov w0, #-1 b LBB0_8 LBB0_2: mov x20, x1 mov x19, x0 b.ne LBB0_5 ; %bb.3: ldr x8, [x19, #16] ldr w0, [x8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _os_strcmp cbnz x0, LBB0_5 ; %bb.4: Lloh2: adrp x8, _MSG_INFO@GOTPAGE Lloh3: ldr x8, [x8, _MSG_INFO@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _wpa_printf LBB0_5: ldr x8, [x19, #8] ldr w9, [x8] str w20, [x8] cmp w9, w20 b.eq LBB0_7 ; %bb.6: mov x0, x19 bl _wpas_notify_ap_scan_changed LBB0_7: mov w0, #0 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nl80211" .comm _MSG_INFO,4,2 ; @MSG_INFO l_.str.1: ; @.str.1 .asciz "Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures" .comm _MSG_ERROR,4,2 ; @MSG_ERROR .comm _WPA_ASSOCIATING,8,3 ; @WPA_ASSOCIATING .comm _WPA_COMPLETED,8,3 ; @WPA_COMPLETED .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_supplicant.c_wpa_supplicant_set_ap_scan.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function r2cmd _r2cmd: ## @r2cmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %r15d movl %edi, %ebx movq %rdx, %rdi callq _strlen ## kill: def $eax killed $eax def $rax leal 1(%rax), %edx movl %r15d, %edi movq %r14, %rsi xorl %eax, %eax callq _write leaq L_.str(%rip), %rsi movl %r15d, %edi movl $1, %edx xorl %eax, %eax callq _write movl $65536, %edi ## imm = 0x10000 callq _malloc testq %rax, %rax je LBB0_5 ## %bb.1: movq %rax, %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r14, %rsi movl $65536, %edx ## imm = 0x10000 callq _read movq %r14, %rdi callq _strlen cmpl $2, %eax jl LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %r15d movl $1, %edi movq %r14, %rsi movl %eax, %edx xorl %eax, %eax callq _write cmpl $65536, %r15d ## imm = 0x10000 je LBB0_2 LBB0_4: movq %r14, %rdi callq _free leaq L_.str(%rip), %rsi movl $1, %edi movl $1, %edx xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _write ## TAILCALL LBB0_5: 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 "\n" .no_dead_strip _r2cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function r2cmd _r2cmd: ; @r2cmd .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 mov x0, x2 bl _strlen add w8, w0, #1 stp x20, x8, [sp] mov x0, x21 bl _write mov w8, #1 ; =0x1 Lloh0: adrp x22, l_.str@PAGE Lloh1: add x22, x22, l_.str@PAGEOFF stp x22, x8, [sp] mov x0, x21 bl _write mov w0, #65536 ; =0x10000 bl _malloc cbz x0, LBB0_5 ; %bb.1: mov x20, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x20 mov w2, #65536 ; =0x10000 bl _read mov x0, x20 bl _strlen cmp w0, #2 b.lt LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x21, x0 stp x20, x21, [sp] mov w0, #1 ; =0x1 bl _write cmp w21, #16, lsl #12 ; =65536 b.eq LBB0_2 LBB0_4: mov x0, x20 bl _free mov w8, #1 ; =0x1 stp x22, x8, [sp] mov w0, #1 ; =0x1 bl _write 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 add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .no_dead_strip _r2cmd .subsections_via_symbols
assembly_file_128852.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gcm_dec_hash_continue _gcm_dec_hash_continue: ## @gcm_dec_hash_continue .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, %r14d movq %rdi, %rbx callq _crypto_gcm_reqctx movl (%rax), %esi leaq 4(%rax), %r15 movq %rbx, %rdi callq _crypto_gcm_init_crypt movq _gcm_decrypt_done@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r15, %rdi movl %r14d, %esi movq %rbx, %rcx callq _skcipher_request_set_callback movq %r15, %rdi callq _crypto_skcipher_decrypt testq %rax, %rax jne LBB0_2 ## %bb.1: movq %rbx, %rdi callq _crypto_gcm_verify movl %eax, %eax LBB0_2: ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _gcm_decrypt_done,4,2 ## @gcm_decrypt_done .no_dead_strip _gcm_dec_hash_continue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gcm_dec_hash_continue _gcm_dec_hash_continue: ; @gcm_dec_hash_continue .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 bl _crypto_gcm_reqctx mov x21, x0 ldr w1, [x21], #4 mov x0, x19 bl _crypto_gcm_init_crypt Lloh0: adrp x8, _gcm_decrypt_done@GOTPAGE Lloh1: ldr x8, [x8, _gcm_decrypt_done@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x21 mov x1, x20 mov x3, x19 bl _skcipher_request_set_callback mov x0, x21 bl _crypto_skcipher_decrypt cbnz x0, LBB0_2 ; %bb.1: mov x0, x19 bl _crypto_gcm_verify mov w0, w0 LBB0_2: ; kill: def $w0 killed $w0 killed $x0 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 _gcm_decrypt_done,4,2 ; @gcm_decrypt_done .no_dead_strip _gcm_dec_hash_continue .subsections_via_symbols
AnghaBench/linux/crypto/extr_gcm.c_gcm_dec_hash_continue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Check_This_Field _Check_This_Field: ## @Check_This_Field .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl (%rsi), %r14d xorl %esi, %esi callq _field_buffer movl %r14d, %ebx shrl $31, %ebx movq _Check_This_Character@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ebx, %edi movq %rax, %rsi movl %r14d, %edx callq _Check_CTYPE_Field movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _Check_This_Character,4,2 ## @Check_This_Character .no_dead_strip _Check_This_Field .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Check_This_Field _Check_This_Field: ; @Check_This_Field .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 w19, [x1] mov w1, #0 bl _field_buffer mov x1, x0 lsr w20, w19, #31 Lloh0: adrp x8, _Check_This_Character@GOTPAGE Lloh1: ldr x8, [x8, _Check_This_Character@GOTPAGEOFF] Lloh2: ldr w3, [x8] mov x0, x20 mov x2, x19 bl _Check_CTYPE_Field mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _Check_This_Character,4,2 ; @Check_This_Character .no_dead_strip _Check_This_Field .subsections_via_symbols
AnghaBench/freebsd/contrib/ncurses/form/extr_fty_alpha.c_Check_This_Field.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _HPDF_Page_GetMediaBox ## -- Begin function HPDF_Page_GetMediaBox .p2align 4, 0x90 _HPDF_Page_GetMediaBox: ## @HPDF_Page_GetMediaBox .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 16(%rdi) movups %xmm0, (%rdi) leaq L_.str(%rip), %rdi callq _HPDF_PTRACE movq %r14, %rdi callq _HPDF_Page_Validate testq %rax, %rax je LBB0_12 ## %bb.1: movq _HPDF_OCLASS_ARRAY@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rsi movq %r14, %rdi callq _HPDF_Page_GetInheritableItem testq %rax, %rax je LBB0_11 ## %bb.2: movq %rax, %r15 movq _HPDF_OCLASS_REAL@GOTPCREL(%rip), %r12 movl (%r12), %edx movq %rax, %rdi xorl %esi, %esi callq _HPDF_Array_GetItem testq %rax, %rax je LBB0_4 ## %bb.3: movl (%rax), %eax movl %eax, 12(%rbx) LBB0_4: movl (%r12), %edx movq %r15, %rdi movl $1, %esi callq _HPDF_Array_GetItem testq %rax, %rax je LBB0_6 ## %bb.5: movl (%rax), %eax movl %eax, 8(%rbx) LBB0_6: movl (%r12), %edx movq %r15, %rdi movl $2, %esi callq _HPDF_Array_GetItem testq %rax, %rax je LBB0_8 ## %bb.7: movl (%rax), %eax movl %eax, 4(%rbx) LBB0_8: movl (%r12), %edx movq %r15, %rdi movl $3, %esi callq _HPDF_Array_GetItem testq %rax, %rax je LBB0_10 ## %bb.9: movl (%rax), %eax movl %eax, (%rbx) LBB0_10: movl (%r14), %edi callq _HPDF_CheckError jmp LBB0_12 LBB0_11: movl (%r14), %edi movq _HPDF_PAGE_CANNOT_FIND_OBJECT@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _HPDF_RaiseError LBB0_12: movq %rbx, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " HPDF_Page_GetMediaBox\n" L_.str.1: ## @.str.1 .asciz "MediaBox" .comm _HPDF_OCLASS_ARRAY,4,2 ## @HPDF_OCLASS_ARRAY .comm _HPDF_OCLASS_REAL,4,2 ## @HPDF_OCLASS_REAL .comm _HPDF_PAGE_CANNOT_FIND_OBJECT,4,2 ## @HPDF_PAGE_CANNOT_FIND_OBJECT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _HPDF_Page_GetMediaBox ; -- Begin function HPDF_Page_GetMediaBox .p2align 2 _HPDF_Page_GetMediaBox: ; @HPDF_Page_GetMediaBox .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 mov x20, x8 movi.2d v0, #0000000000000000 stp q0, q0, [x8] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _HPDF_PTRACE mov x0, x19 bl _HPDF_Page_Validate cbz x0, LBB0_11 ; %bb.1: Lloh2: adrp x8, _HPDF_OCLASS_ARRAY@GOTPAGE Lloh3: ldr x8, [x8, _HPDF_OCLASS_ARRAY@GOTPAGEOFF] Lloh4: ldr w2, [x8] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _HPDF_Page_GetInheritableItem cbz x0, LBB0_12 ; %bb.2: mov x21, x0 Lloh7: adrp x22, _HPDF_OCLASS_REAL@GOTPAGE Lloh8: ldr x22, [x22, _HPDF_OCLASS_REAL@GOTPAGEOFF] ldr w2, [x22] mov w1, #0 bl _HPDF_Array_GetItem cbz x0, LBB0_4 ; %bb.3: ldr w8, [x0] str w8, [x20, #12] LBB0_4: ldr w2, [x22] mov x0, x21 mov w1, #1 bl _HPDF_Array_GetItem cbz x0, LBB0_6 ; %bb.5: ldr w8, [x0] str w8, [x20, #8] LBB0_6: ldr w2, [x22] mov x0, x21 mov w1, #2 bl _HPDF_Array_GetItem cbz x0, LBB0_8 ; %bb.7: ldr w8, [x0] str w8, [x20, #4] LBB0_8: ldr w2, [x22] mov x0, x21 mov w1, #3 bl _HPDF_Array_GetItem cbz x0, LBB0_10 ; %bb.9: ldr w8, [x0] str w8, [x20] LBB0_10: ldr w0, [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 _HPDF_CheckError LBB0_11: 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_12: ldr w0, [x19] Lloh9: adrp x8, _HPDF_PAGE_CANNOT_FIND_OBJECT@GOTPAGE Lloh10: ldr x8, [x8, _HPDF_PAGE_CANNOT_FIND_OBJECT@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov w2, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _HPDF_RaiseError .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " HPDF_Page_GetMediaBox\n" l_.str.1: ; @.str.1 .asciz "MediaBox" .comm _HPDF_OCLASS_ARRAY,4,2 ; @HPDF_OCLASS_ARRAY .comm _HPDF_OCLASS_REAL,4,2 ; @HPDF_OCLASS_REAL .comm _HPDF_PAGE_CANNOT_FIND_OBJECT,4,2 ; @HPDF_PAGE_CANNOT_FIND_OBJECT .subsections_via_symbols
AnghaBench/poco/PDF/src/extr_hpdf_pages.c_HPDF_Page_GetMediaBox.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pollcb_provider _pollcb_provider: ## @pollcb_provider .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _apr_pollcb_provider_epoll,8,3 ## @apr_pollcb_provider_epoll .comm _apr_pollcb_provider_kqueue,8,3 ## @apr_pollcb_provider_kqueue .comm _apr_pollcb_provider_poll,8,3 ## @apr_pollcb_provider_poll .comm _apr_pollcb_provider_port,8,3 ## @apr_pollcb_provider_port .no_dead_strip _pollcb_provider .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pollcb_provider _pollcb_provider: ; @pollcb_provider .cfi_startproc ; %bb.0: mov x0, #0 ret .cfi_endproc ; -- End function .comm _apr_pollcb_provider_epoll,8,3 ; @apr_pollcb_provider_epoll .comm _apr_pollcb_provider_kqueue,8,3 ; @apr_pollcb_provider_kqueue .comm _apr_pollcb_provider_poll,8,3 ; @apr_pollcb_provider_poll .comm _apr_pollcb_provider_port,8,3 ; @apr_pollcb_provider_port .no_dead_strip _pollcb_provider .subsections_via_symbols
AnghaBench/freebsd/contrib/apr/poll/unix/extr_pollcb.c_pollcb_provider.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function stats_arenas_i_bins_j_index _stats_arenas_i_bins_j_index: ## @stats_arenas_i_bins_j_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _NBINS@GOTPCREL(%rip), %rax cmpq %rdx, (%rax) jb LBB0_1 ## %bb.2: movq _super_stats_arenas_i_bins_j_node@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NBINS,8,3 ## @NBINS .comm _super_stats_arenas_i_bins_j_node,8,3 ## @super_stats_arenas_i_bins_j_node .no_dead_strip _stats_arenas_i_bins_j_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function stats_arenas_i_bins_j_index _stats_arenas_i_bins_j_index: ; @stats_arenas_i_bins_j_index .cfi_startproc ; %bb.0: Lloh0: adrp x8, _NBINS@GOTPAGE Lloh1: ldr x8, [x8, _NBINS@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _super_stats_arenas_i_bins_j_node@GOTPAGE Lloh4: ldr x9, [x9, _super_stats_arenas_i_bins_j_node@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x2 csel x0, xzr, x9, lo ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NBINS,8,3 ; @NBINS .comm _super_stats_arenas_i_bins_j_node,8,3 ; @super_stats_arenas_i_bins_j_node .no_dead_strip _stats_arenas_i_bins_j_index .subsections_via_symbols
AnghaBench/disque/deps/jemalloc/src/extr_ctl.c_stats_arenas_i_bins_j_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function split_string _split_string: ## @split_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _TRUE@GOTPCREL(%rip), %r12 cmpq $0, (%r12) je LBB0_1 ## %bb.2: movq %rsi, %r14 movq %rdi, %rbx xorl %r15d, %r15d LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_13 Depth 2 movb $1, %r13b jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=2 leaq -1(%rbx), %rax movb $0, (%rbx) movq %rax, %rbx cmpb $9, %cl je LBB0_8 LBB0_4: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rbx), %ecx testb $1, %r13b jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 testb %cl, %cl je LBB0_16 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movsbl %cl, %edi callq _delimiter movzbl (%rbx), %ecx testq %rax, %rax jne LBB0_7 jmp LBB0_9 LBB0_8: ## in Loop: Header=BB0_4 Depth=2 xorl %r13d, %r13d movq %rax, %rbx jmp LBB0_4 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 testb %cl, %cl je LBB0_16 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 cmpq $5, %r15 je LBB0_16 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, (%r14,%r15,8) movzbl (%rbx), %eax testb %al, %al je LBB0_15 .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %al, %edi callq _delimiter testq %rax, %rax jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=2 movzbl 1(%rbx), %eax incq %rbx testb %al, %al jne LBB0_13 LBB0_15: ## in Loop: Header=BB0_3 Depth=1 incq %r15 cmpq $0, (%r12) jne LBB0_3 LBB0_16: xorl %eax, %eax cmpl $5, %r15d jne LBB0_18 ## %bb.17: cmpb $0, (%rbx) sete %al jmp LBB0_18 LBB0_1: xorl %eax, %eax LBB0_18: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,8,3 ## @TRUE .no_dead_strip _split_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function split_string _split_string: ; @split_string .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 x22, _TRUE@GOTPAGE Lloh1: ldr x22, [x22, _TRUE@GOTPAGEOFF] ldr x8, [x22] cbz x8, LBB0_16 ; %bb.1: mov x20, x1 mov x19, x0 mov x21, #0 ; =0x0 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_11 Depth 2 mov w23, #1 ; =0x1 ldrsb w0, [x19] tbz w23, #0, LBB0_5 LBB0_3: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 and w8, w0, #0xff strb wzr, [x19], #-1 cmp w8, #9 b.eq LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=2 ldrsb w0, [x19] tbnz w23, #0, LBB0_3 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 cbz w0, LBB0_14 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 bl _delimiter mov x8, x0 ldrb w0, [x19] cbnz x8, LBB0_3 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_3 Depth=2 mov w23, #0 ; =0x0 ldrsb w0, [x19] tbnz w23, #0, LBB0_3 b LBB0_5 LBB0_8: ; in Loop: Header=BB0_2 Depth=1 cbz w0, LBB0_14 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 cmp x21, #5 b.eq LBB0_14 ; %bb.10: ; in Loop: Header=BB0_2 Depth=1 str x19, [x20, x21, lsl #3] ldrb w8, [x19] cbz w8, LBB0_13 LBB0_11: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 sxtb w0, w8 bl _delimiter cbnz x0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_11 Depth=2 ldrb w8, [x19, #1]! cbnz w8, LBB0_11 LBB0_13: ; in Loop: Header=BB0_2 Depth=1 add x21, x21, #1 ldr x8, [x22] cbnz x8, LBB0_2 LBB0_14: cmp w21, #5 b.ne LBB0_16 ; %bb.15: ldrb w8, [x19] cmp w8, #0 cset w0, eq b LBB0_17 LBB0_16: mov w0, #0 ; =0x0 LBB0_17: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TRUE,8,3 ; @TRUE .no_dead_strip _split_string .subsections_via_symbols
assembly_file_9290.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 PointTriangleIntersect LCPI0_0: .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 0x3f800000 ## float 1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _PointTriangleIntersect: ## @PointTriangleIntersect .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 %r9, %rbx movq %r8, %r14 movq %rdx, %r15 movq %rdi, %r12 movq %rcx, %rdi movq %rdx, %rsi callq _VectorSubtract movq %r14, %rdi movq %r15, %rsi callq _VectorSubtract movq %r12, %rdi movq %r15, %rsi callq _VectorSubtract callq _DotProduct movaps %xmm0, -64(%rbp) ## 16-byte Spill callq _DotProduct movss %xmm0, -44(%rbp) ## 4-byte Spill callq _DotProduct movss %xmm0, -40(%rbp) ## 4-byte Spill callq _DotProduct movss %xmm0, -36(%rbp) ## 4-byte Spill callq _DotProduct movaps -64(%rbp), %xmm6 ## 16-byte Reload movss -44(%rbp), %xmm5 ## 4-byte Reload ## xmm5 = mem[0],zero,zero,zero movss -40(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero movss -36(%rbp), %xmm3 ## 4-byte Reload ## xmm3 = mem[0],zero,zero,zero mulss %xmm1, %xmm3 mulss %xmm6, %xmm1 movaps %xmm5, %xmm2 mulss %xmm5, %xmm2 subss %xmm1, %xmm2 mulss %xmm0, %xmm5 movaps %xmm5, %xmm1 subss %xmm3, %xmm1 divss %xmm2, %xmm1 movss %xmm1, 4(%rbx) movq _MIN_OUTSIDE_EPSILON@GOTPCREL(%rip), %rax movss (%rax), %xmm3 ## xmm3 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm3 movq _MAX_OUTSIDE_EPSILON@GOTPCREL(%rip), %rax movss (%rax), %xmm4 ## xmm4 = mem[0],zero,zero,zero movq _qfalse@GOTPCREL(%rip), %rax jbe LBB0_2 ## %bb.1: ucomiss %xmm4, %xmm1 ja LBB0_5 LBB0_2: xorps LCPI0_0(%rip), %xmm6 mulss %xmm6, %xmm0 addss %xmm0, %xmm5 divss %xmm2, %xmm5 movss %xmm5, 8(%rbx) ucomiss %xmm5, %xmm3 ja LBB0_5 ## %bb.3: ucomiss %xmm4, %xmm5 ja LBB0_5 ## %bb.4: addss %xmm5, %xmm1 movss LCPI0_1(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0] subss %xmm1, %xmm0 movss %xmm0, (%rbx) movq _qtrue@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_6088 ## @g_aug_volatile_6088 .p2align 2, 0x0 _g_aug_volatile_6088: .long 8 ## 0x8 .comm _MIN_OUTSIDE_EPSILON,4,2 ## @MIN_OUTSIDE_EPSILON .comm _MAX_OUTSIDE_EPSILON,4,2 ## @MAX_OUTSIDE_EPSILON .comm _qfalse,4,2 ## @qfalse .comm _qtrue,4,2 ## @qtrue .no_dead_strip _PointTriangleIntersect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function PointTriangleIntersect _PointTriangleIntersect: ; @PointTriangleIntersect .cfi_startproc ; %bb.0: stp d11, d10, [sp, #-80]! ; 16-byte Folded Spill stp d9, d8, [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 b8, -56 .cfi_offset b9, -64 .cfi_offset b10, -72 .cfi_offset b11, -80 mov x19, x5 mov x20, x4 mov x21, x2 mov x22, x0 mov x0, x3 mov x1, x2 bl _VectorSubtract mov x0, x20 mov x1, x21 bl _VectorSubtract mov x0, x22 mov x1, x21 bl _VectorSubtract bl _DotProduct fmov s8, s0 bl _DotProduct fmov s9, s0 bl _DotProduct fmov s10, s0 bl _DotProduct fmov s11, s0 bl _DotProduct fnmul s1, s8, s10 fmadd s2, s9, s9, s1 fnmul s1, s10, s11 fmadd s1, s9, s0, s1 fdiv s1, s1, s2 str s1, [x19, #4] Lloh0: adrp x8, _MIN_OUTSIDE_EPSILON@GOTPAGE Lloh1: ldr x8, [x8, _MIN_OUTSIDE_EPSILON@GOTPAGEOFF] Lloh2: ldr s3, [x8] Lloh3: adrp x8, _MAX_OUTSIDE_EPSILON@GOTPAGE Lloh4: ldr x8, [x8, _MAX_OUTSIDE_EPSILON@GOTPAGEOFF] Lloh5: ldr s4, [x8] fcmp s1, s3 fccmp s1, s4, #4, mi b.gt LBB0_2 ; %bb.1: fneg s5, s8 fmul s5, s0, s5 fmadd s0, s9, s0, s5 fdiv s0, s0, s2 str s0, [x19, #8] fcmp s0, s3 fccmp s0, s4, #0, pl b.le LBB0_3 LBB0_2: Lloh6: adrp x8, _qfalse@GOTPAGE Lloh7: ldr x8, [x8, _qfalse@GOTPAGEOFF] b LBB0_4 LBB0_3: fadd s0, s1, s0 fmov s1, #1.00000000 fsub s0, s1, s0 str s0, [x19] Lloh8: adrp x8, _qtrue@GOTPAGE Lloh9: ldr x8, [x8, _qtrue@GOTPAGEOFF] LBB0_4: ldr w0, [x8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload ldp d11, d10, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_6088 ; @g_aug_volatile_6088 .p2align 2, 0x0 _g_aug_volatile_6088: .long 8 ; 0x8 .comm _MIN_OUTSIDE_EPSILON,4,2 ; @MIN_OUTSIDE_EPSILON .comm _MAX_OUTSIDE_EPSILON,4,2 ; @MAX_OUTSIDE_EPSILON .comm _qfalse,4,2 ; @qfalse .comm _qtrue,4,2 ; @qtrue .no_dead_strip _PointTriangleIntersect .subsections_via_symbols
assembly_file_32857.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lg_pref_max ## -- Begin function lg_pref_max .p2align 4, 0x90 _lg_pref_max: ## @lg_pref_max .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 %esi, %r14d movq %rdi, %r12 movslq %esi, %r15 leaq (,%r15,4), %rdi callq _malloc movl $0, (%rax) cmpl $2, %r15d jl LBB0_8 ## %bb.1: xorl %ecx, %ecx movl $1, %edx jmp LBB0_2 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 incl %ecx leal 1(%rsi), %edx movl %ecx, (%rax,%rsi,4) LBB0_7: ## in Loop: Header=BB0_2 Depth=1 cmpl %r14d, %edx jge LBB0_8 LBB0_2: ## =>This Inner Loop Header: Depth=1 movslq %edx, %rsi movzbl (%r12,%rsi), %ebx movslq %ecx, %rdi cmpb (%r12,%rdi), %bl je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 testl %ecx, %ecx je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl -4(%rax,%rdi,4), %ecx jmp LBB0_7 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 leal 1(%rsi), %edx movl $0, (%rax,%rsi,4) xorl %ecx, %ecx jmp LBB0_7 LBB0_8: movl -4(%rax,%r15,4), %ebx movq %rax, %rdi callq _free movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 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 %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 $1, %edi movl $1024, %esi ## imm = 0x400 callq _calloc movq %rax, %r12 leaq L_.str(%rip), %rdi xorl %r13d, %r13d movq %rax, %rsi xorl %eax, %eax callq _scanf movq %r12, %rdi callq _strlen movq %rax, %r14 movq %rax, %r15 shlq $32, %r15 movq %r15, %rdi sarq $30, %rdi callq _malloc movl $0, (%rax) cmpl $2, %r14d jl LBB1_8 ## %bb.1: movl $1, %ecx jmp LBB1_2 .p2align 4, 0x90 LBB1_3: ## in Loop: Header=BB1_2 Depth=1 incl %r13d leal 1(%rdx), %ecx movl %r13d, (%rax,%rdx,4) LBB1_7: ## in Loop: Header=BB1_2 Depth=1 cmpl %r14d, %ecx jge LBB1_8 LBB1_2: ## =>This Inner Loop Header: Depth=1 movslq %ecx, %rdx movzbl (%r12,%rdx), %ebx movslq %r13d, %rsi cmpb (%r12,%rsi), %bl je LBB1_3 ## %bb.4: ## in Loop: Header=BB1_2 Depth=1 testl %r13d, %r13d je LBB1_5 ## %bb.6: ## in Loop: Header=BB1_2 Depth=1 movl -4(%rax,%rsi,4), %r13d jmp LBB1_7 LBB1_5: ## in Loop: Header=BB1_2 Depth=1 leal 1(%rdx), %ecx movl $0, (%rax,%rdx,4) xorl %r13d, %r13d jmp LBB1_7 LBB1_8: movabsq $-4294967296, %rcx ## imm = 0xFFFFFFFF00000000 addq %rcx, %r15 sarq $30, %r15 movl (%rax,%r15), %r14d movq %rax, %rdi callq _free testl %r14d, %r14d jle LBB1_11 ## %bb.9: xorl %ebx, %ebx .p2align 4, 0x90 LBB1_10: ## =>This Inner Loop Header: Depth=1 movsbl (%r12,%rbx), %edi callq _putchar incq %rbx cmpq %rbx, %r14 jne LBB1_10 LBB1_11: movl $10, %edi callq _putchar movq %r12, %rdi callq _free xorl %eax, %eax 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 "%1000s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _lg_pref_max ; -- Begin function lg_pref_max .p2align 2 _lg_pref_max: ; @lg_pref_max .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 sbfiz x0, x19, #2, #32 bl _malloc str wzr, [x0] cmp w19, #2 b.lt LBB0_8 ; %bb.1: mov w9, #0 mov w8, #1 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w9, w9, #1 add w8, w8, #1 str w9, [x0, x10, lsl #2] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp w8, w19 b.ge LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtw x10, w8 ldrb w11, [x20, x10] sxtw x9, w9 ldrb w12, [x20, x9] cmp w11, w12 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cbz w9, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 add x9, x0, x9, lsl #2 ldur w9, [x9, #-4] b LBB0_3 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add w8, w8, #1 str wzr, [x0, x10, lsl #2] b LBB0_3 LBB0_8: sub w8, w19, #1 ldr w19, [x0, w8, sxtw #2] bl _free mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .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 mov w0, #1 mov w1, #1024 bl _calloc mov x19, x0 str x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf mov x0, x19 bl _strlen mov x20, x0 lsl x21, x0, #32 sbfiz x0, x0, #2, #32 bl _malloc str wzr, [x0] cmp w20, #1 b.le LBB1_8 ; %bb.1: mov w9, #0 mov w8, #1 b LBB1_4 LBB1_2: ; in Loop: Header=BB1_4 Depth=1 add w9, w9, #1 add w8, w8, #1 str w9, [x0, x10, lsl #2] LBB1_3: ; in Loop: Header=BB1_4 Depth=1 cmp w8, w20 b.ge LBB1_8 LBB1_4: ; =>This Inner Loop Header: Depth=1 sxtw x10, w8 ldrb w11, [x19, x10] sxtw x9, w9 ldrb w12, [x19, x9] cmp w11, w12 b.eq LBB1_2 ; %bb.5: ; in Loop: Header=BB1_4 Depth=1 cbz w9, LBB1_7 ; %bb.6: ; in Loop: Header=BB1_4 Depth=1 add x9, x0, x9, lsl #2 ldur w9, [x9, #-4] b LBB1_3 LBB1_7: ; in Loop: Header=BB1_4 Depth=1 add w8, w8, #1 str wzr, [x0, x10, lsl #2] b LBB1_3 LBB1_8: mov x8, #-4294967296 add x8, x21, x8 asr x8, x8, #30 ldr w20, [x0, x8] bl _free cmp w20, #1 b.lt LBB1_11 ; %bb.9: mov x21, x19 LBB1_10: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x21], #1 bl _putchar subs x20, x20, #1 b.ne LBB1_10 LBB1_11: mov w0, #10 bl _putchar mov x0, x19 bl _free 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 Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%1000s" .subsections_via_symbols
the_stack_data/57949483.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _snd_emu10k1_pcm_efx ## -- Begin function snd_emu10k1_pcm_efx .p2align 4, 0x90 _snd_emu10k1_pcm_efx: ## @snd_emu10k1_pcm_efx .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, %r14d movq %rdi, %rbx movl 12(%rdi), %edi leaq L_.str(%rip), %rsi leaq -32(%rbp), %r9 movl %r14d, %edx movl $8, %ecx movl $1, %r8d callq _snd_pcm_new testl %eax, %eax js LBB0_10 ## %bb.1: movq -32(%rbp), %rdi movq %rbx, 16(%rdi) movq _SNDRV_PCM_STREAM_PLAYBACK@GOTPCREL(%rip), %rax movl (%rax), %esi movq _snd_emu10k1_fx8010_playback_ops@GOTPCREL(%rip), %rdx callq _snd_pcm_set_ops movq -32(%rbp), %rdi movq _SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _snd_emu10k1_capture_efx_ops@GOTPCREL(%rip), %rdx callq _snd_pcm_set_ops movq -32(%rbp), %rax movq $0, 8(%rax) movl (%rax), %edi leaq L_.str.1(%rip), %rsi callq _strcpy movq -32(%rbp), %rax movq %rax, 32(%rbx) cmpq $0, 24(%rbx) movq (%rbx), %rax je LBB0_5 ## %bb.2: movl $0, (%rax) movq 16(%rbx), %rcx cmpq $0, (%rcx) je LBB0_4 ## %bb.3: movl $-1, 4(%rax) jmp LBB0_6 LBB0_5: movl $4294901760, %ecx ## imm = 0xFFFF0000 movq %rcx, (%rax) jmp LBB0_6 LBB0_4: movl $65535, 4(%rax) ## imm = 0xFFFF LBB0_6: movq _snd_emu10k1_pcm_efx_voices_mask@GOTPCREL(%rip), %rdi movq %rbx, %rsi callq _snd_ctl_new1 testq %rax, %rax je LBB0_7 ## %bb.8: movl %r14d, (%rax) movl 12(%rbx), %edi movq %rax, %rsi callq _snd_ctl_add testl %eax, %eax jle LBB0_10 ## %bb.9: movq -32(%rbp), %r14 movq _SNDRV_DMA_TYPE_DEV@GOTPCREL(%rip), %rax movl (%rax), %r15d movl 8(%rbx), %edi callq _snd_dma_pci_data movq %r14, %rdi movl %r15d, %esi movl %eax, %edx movl $65536, %ecx ## imm = 0x10000 movl $65536, %r8d ## imm = 0x10000 callq _snd_pcm_lib_preallocate_pages_for_all xorl %eax, %eax jmp LBB0_10 LBB0_7: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_10: 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 "emu10k1 efx" .comm _SNDRV_PCM_STREAM_PLAYBACK,4,2 ## @SNDRV_PCM_STREAM_PLAYBACK .comm _snd_emu10k1_fx8010_playback_ops,4,2 ## @snd_emu10k1_fx8010_playback_ops .comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ## @SNDRV_PCM_STREAM_CAPTURE .comm _snd_emu10k1_capture_efx_ops,4,2 ## @snd_emu10k1_capture_efx_ops L_.str.1: ## @.str.1 .asciz "Multichannel Capture/PT Playback" .comm _snd_emu10k1_pcm_efx_voices_mask,4,2 ## @snd_emu10k1_pcm_efx_voices_mask .comm _ENOMEM,4,2 ## @ENOMEM .comm _SNDRV_DMA_TYPE_DEV,4,2 ## @SNDRV_DMA_TYPE_DEV .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _snd_emu10k1_pcm_efx ; -- Begin function snd_emu10k1_pcm_efx .p2align 2 _snd_emu10k1_pcm_efx: ; @snd_emu10k1_pcm_efx .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr w0, [x0, #12] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x5, sp, #8 mov x2, x20 mov w3, #8 ; =0x8 mov w4, #1 ; =0x1 bl _snd_pcm_new tbnz w0, #31, LBB0_11 ; %bb.1: ldr x0, [sp, #8] str x19, [x0, #16] Lloh2: adrp x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGE Lloh3: ldr x8, [x8, _SNDRV_PCM_STREAM_PLAYBACK@GOTPAGEOFF] Lloh4: ldr w1, [x8] Lloh5: adrp x2, _snd_emu10k1_fx8010_playback_ops@GOTPAGE Lloh6: ldr x2, [x2, _snd_emu10k1_fx8010_playback_ops@GOTPAGEOFF] bl _snd_pcm_set_ops ldr x0, [sp, #8] Lloh7: adrp x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE Lloh8: ldr x8, [x8, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF] Lloh9: ldr w1, [x8] Lloh10: adrp x2, _snd_emu10k1_capture_efx_ops@GOTPAGE Lloh11: ldr x2, [x2, _snd_emu10k1_capture_efx_ops@GOTPAGEOFF] bl _snd_pcm_set_ops ldr x8, [sp, #8] str xzr, [x8, #8] ldr w0, [x8] Lloh12: adrp x1, l_.str.1@PAGE Lloh13: add x1, x1, l_.str.1@PAGEOFF bl _strcpy ldr x8, [sp, #8] str x8, [x19, #32] ldr x9, [x19, #24] ldr x8, [x19] cbz x9, LBB0_4 ; %bb.2: str wzr, [x8] ldr x9, [x19, #16] ldr x9, [x9] cbz x9, LBB0_5 ; %bb.3: mov w9, #-1 ; =0xffffffff b LBB0_6 LBB0_4: movi d0, #0x000000ffff0000 str d0, [x8] b LBB0_7 LBB0_5: mov w9, #65535 ; =0xffff LBB0_6: str w9, [x8, #4] LBB0_7: Lloh14: adrp x0, _snd_emu10k1_pcm_efx_voices_mask@GOTPAGE Lloh15: ldr x0, [x0, _snd_emu10k1_pcm_efx_voices_mask@GOTPAGEOFF] mov x1, x19 bl _snd_ctl_new1 cbz x0, LBB0_10 ; %bb.8: mov x1, x0 str w20, [x0] ldr w0, [x19, #12] bl _snd_ctl_add cmp w0, #1 b.lt LBB0_11 ; %bb.9: ldr x20, [sp, #8] Lloh16: adrp x8, _SNDRV_DMA_TYPE_DEV@GOTPAGE Lloh17: ldr x8, [x8, _SNDRV_DMA_TYPE_DEV@GOTPAGEOFF] Lloh18: ldr w21, [x8] ldr w0, [x19, #8] bl _snd_dma_pci_data mov x2, x0 mov x0, x20 mov x1, x21 mov w3, #65536 ; =0x10000 mov w4, #65536 ; =0x10000 bl _snd_pcm_lib_preallocate_pages_for_all mov w0, #0 ; =0x0 b LBB0_11 LBB0_10: Lloh19: adrp x8, _ENOMEM@GOTPAGE Lloh20: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh21: ldr w8, [x8] neg w0, w8 LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "emu10k1 efx" .comm _SNDRV_PCM_STREAM_PLAYBACK,4,2 ; @SNDRV_PCM_STREAM_PLAYBACK .comm _snd_emu10k1_fx8010_playback_ops,4,2 ; @snd_emu10k1_fx8010_playback_ops .comm _SNDRV_PCM_STREAM_CAPTURE,4,2 ; @SNDRV_PCM_STREAM_CAPTURE .comm _snd_emu10k1_capture_efx_ops,4,2 ; @snd_emu10k1_capture_efx_ops l_.str.1: ; @.str.1 .asciz "Multichannel Capture/PT Playback" .comm _snd_emu10k1_pcm_efx_voices_mask,4,2 ; @snd_emu10k1_pcm_efx_voices_mask .comm _ENOMEM,4,2 ; @ENOMEM .comm _SNDRV_DMA_TYPE_DEV,4,2 ; @SNDRV_DMA_TYPE_DEV .subsections_via_symbols
assembly_file_113985.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function f_keys_unsorted _f_keys_unsorted: ## @f_keys_unsorted .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 movl %esi, %edi callq _jv_get_kind movq _JV_KIND_OBJECT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movl %ebx, %edi callq _jv_get_kind movq _JV_KIND_ARRAY@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 LBB0_2: movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _jv_keys_unsorted ## TAILCALL LBB0_3: leaq L_.str(%rip), %rsi movl %ebx, %edi addq $8, %rsp popq %rbx popq %rbp jmp _type_error ## TAILCALL .cfi_endproc ## -- End function .comm _JV_KIND_OBJECT,8,3 ## @JV_KIND_OBJECT .comm _JV_KIND_ARRAY,8,3 ## @JV_KIND_ARRAY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "has no keys" .no_dead_strip _f_keys_unsorted .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function f_keys_unsorted _f_keys_unsorted: ; @f_keys_unsorted .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x0, x1 bl _jv_get_kind Lloh0: adrp x8, _JV_KIND_OBJECT@GOTPAGE Lloh1: ldr x8, [x8, _JV_KIND_OBJECT@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.eq LBB0_2 ; %bb.1: mov x0, x19 bl _jv_get_kind Lloh3: adrp x8, _JV_KIND_ARRAY@GOTPAGE Lloh4: ldr x8, [x8, _JV_KIND_ARRAY@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x0, x8 b.ne LBB0_3 LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _jv_keys_unsorted LBB0_3: Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _type_error .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _JV_KIND_OBJECT,8,3 ; @JV_KIND_OBJECT .comm _JV_KIND_ARRAY,8,3 ; @JV_KIND_ARRAY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "has no keys" .no_dead_strip _f_keys_unsorted .subsections_via_symbols
AnghaBench/jq/src/extr_builtin.c_f_keys_unsorted.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __jump_label_text_reserved ___jump_label_text_reserved: ## @__jump_label_text_reserved .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 xorl %r14d, %r14d cmpq %rsi, %rdi jae LBB0_5 ## %bb.1: movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rbx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq %r12, %rsi movq %r15, %rdx callq _addr_conflict testq %rax, %rax jne LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 addq $4, %rbx cmpq %r13, %rbx jb LBB0_3 jmp LBB0_5 LBB0_4: movl $1, %r14d LBB0_5: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip ___jump_label_text_reserved .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __jump_label_text_reserved ___jump_label_text_reserved: ; @__jump_label_text_reserved .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 x0, x1 b.hs LBB0_4 ; %bb.1: mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x20 mov x2, x19 bl _addr_conflict cbnz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #4 cmp x22, x21 b.lo LBB0_2 LBB0_4: mov w0, #0 b LBB0_6 LBB0_5: mov w0, #1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip ___jump_label_text_reserved .subsections_via_symbols
AnghaBench/linux/kernel/extr_jump_label.c___jump_label_text_reserved.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _audit_get_policy ## -- Begin function audit_get_policy .p2align 4, 0x90 _audit_get_policy: ## @audit_get_policy .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 movq _A_GETPOLICY@GOTPCREL(%rip), %rax movl (%rax), %edi movl $4, %edx xorl %eax, %eax popq %rbp jmp _auditon ## TAILCALL .cfi_endproc ## -- End function .comm _A_GETPOLICY,4,2 ## @A_GETPOLICY .comm _A_OLDGETPOLICY,4,2 ## @A_OLDGETPOLICY .comm _EINVAL,8,3 ## @EINVAL .comm _errno,8,3 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _audit_get_policy ; -- Begin function audit_get_policy .p2align 2 _audit_get_policy: ; @audit_get_policy .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _A_GETPOLICY@GOTPAGE Lloh1: ldr x8, [x8, _A_GETPOLICY@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov w9, #4 stp x0, x9, [sp] mov x0, x8 bl _auditon ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _A_GETPOLICY,4,2 ; @A_GETPOLICY .comm _A_OLDGETPOLICY,4,2 ; @A_OLDGETPOLICY .comm _EINVAL,8,3 ; @EINVAL .comm _errno,8,3 ; @errno .subsections_via_symbols
AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_wrappers.c_audit_get_policy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hfsplus_add_extent _hfsplus_add_extent: ## @hfsplus_add_extent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 callq _hfsplus_dump_extent movq (%r12), %rdi callq _be32_to_cpu cmpq %r15, %rax jne LBB0_2 ## %bb.1: xorl %r13d, %r13d jmp LBB0_11 LBB0_2: movq %rbx, -48(%rbp) ## 8-byte Spill jg LBB0_32 ## %bb.3: subq %rax, %r15 movq 16(%r12), %rdi callq _be32_to_cpu movq %r15, %rbx subq %rax, %rbx jne LBB0_6 ## %bb.4: addq $16, %r12 LBB0_5: xorl %r13d, %r13d jmp LBB0_10 LBB0_6: jl LBB0_32 ## %bb.7: movq 32(%r12), %rdi callq _be32_to_cpu movq %rbx, %r15 subq %rax, %r15 jne LBB0_17 ## %bb.8: addq $32, %r12 LBB0_9: xorl %r13d, %r13d movq %rbx, %r15 LBB0_10: movq -48(%rbp), %rbx ## 8-byte Reload LBB0_11: movq 8(%r12), %rdi callq _be32_to_cpu addq %r15, %rax cmpq %rbx, %rax jne LBB0_13 ## %bb.12: addq %r15, %r14 jmp LBB0_16 LBB0_13: testb %r13b, %r13b je LBB0_15 ## %bb.14: movq _ENOSPC@GOTPCREL(%rip), %rcx jmp LBB0_33 LBB0_15: leaq 16(%r12), %r15 movq %rbx, %rdi callq _cpu_to_be32 movq %rax, 24(%r12) movq %r15, %r12 LBB0_16: movq %r14, %rdi callq _cpu_to_be32 movq %rax, (%r12) xorl %eax, %eax jmp LBB0_34 LBB0_17: jl LBB0_32 ## %bb.18: movq 48(%r12), %rdi callq _be32_to_cpu movq %r15, %rbx subq %rax, %rbx jne LBB0_20 ## %bb.19: addq $48, %r12 jmp LBB0_5 LBB0_20: jl LBB0_32 ## %bb.21: movq 64(%r12), %rdi callq _be32_to_cpu movq %rbx, %r15 subq %rax, %r15 jne LBB0_23 ## %bb.22: addq $64, %r12 jmp LBB0_9 LBB0_23: jl LBB0_32 ## %bb.24: movq 80(%r12), %rdi callq _be32_to_cpu movq %r15, %rbx subq %rax, %rbx jne LBB0_26 ## %bb.25: addq $80, %r12 jmp LBB0_5 LBB0_26: jl LBB0_32 ## %bb.27: movq 96(%r12), %rdi callq _be32_to_cpu movq %rbx, %r15 subq %rax, %r15 jne LBB0_29 ## %bb.28: addq $96, %r12 jmp LBB0_9 LBB0_29: jl LBB0_32 ## %bb.30: movq 112(%r12), %rdi callq _be32_to_cpu cmpq %rax, %r15 jne LBB0_32 ## %bb.31: addq $112, %r12 movb $1, %r13b jmp LBB0_10 LBB0_32: movq _EIO@GOTPCREL(%rip), %rcx LBB0_33: xorl %eax, %eax subl (%rcx), %eax LBB0_34: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOSPC,4,2 ## @ENOSPC .comm _EIO,4,2 ## @EIO .no_dead_strip _hfsplus_add_extent .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hfsplus_add_extent _hfsplus_add_extent: ; @hfsplus_add_extent .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x3 mov x20, x2 mov x22, x1 mov x21, x0 bl _hfsplus_dump_extent ldr x0, [x21] bl _be32_to_cpu cmp x0, x22 b.ne LBB0_2 ; %bb.1: mov w23, #0 b LBB0_8 LBB0_2: b.gt LBB0_25 ; %bb.3: sub x22, x22, x0 mov x25, x21 ldr x0, [x25, #16]! bl _be32_to_cpu subs x24, x22, x0 b.ne LBB0_5 LBB0_4: mov w23, #0 mov x21, x25 b LBB0_8 LBB0_5: b.lt LBB0_25 ; %bb.6: mov x25, x21 ldr x0, [x25, #32]! bl _be32_to_cpu subs x22, x24, x0 b.ne LBB0_14 LBB0_7: mov w23, #0 mov x21, x25 mov x22, x24 LBB0_8: ldr x0, [x21, #8] bl _be32_to_cpu add x8, x0, x22 cmp x8, x20 b.ne LBB0_10 ; %bb.9: add x19, x22, x19 b LBB0_13 LBB0_10: cbz w23, LBB0_12 ; %bb.11: Lloh0: adrp x8, _ENOSPC@GOTPAGE Lloh1: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] b LBB0_26 LBB0_12: add x22, x21, #16 mov x0, x20 bl _cpu_to_be32 str x0, [x21, #24] mov x21, x22 LBB0_13: mov x0, x19 bl _cpu_to_be32 mov x8, x0 mov w0, #0 str x8, [x21] b LBB0_27 LBB0_14: b.lt LBB0_25 ; %bb.15: mov x25, x21 ldr x0, [x25, #48]! bl _be32_to_cpu subs x24, x22, x0 b.eq LBB0_4 ; %bb.16: b.lt LBB0_25 ; %bb.17: mov x25, x21 ldr x0, [x25, #64]! bl _be32_to_cpu subs x22, x24, x0 b.eq LBB0_7 ; %bb.18: b.lt LBB0_25 ; %bb.19: mov x25, x21 ldr x0, [x25, #80]! bl _be32_to_cpu subs x24, x22, x0 b.eq LBB0_4 ; %bb.20: b.lt LBB0_25 ; %bb.21: mov x25, x21 ldr x0, [x25, #96]! bl _be32_to_cpu subs x22, x24, x0 b.eq LBB0_7 ; %bb.22: b.lt LBB0_25 ; %bb.23: ldr x0, [x21, #112]! bl _be32_to_cpu cmp x22, x0 b.ne LBB0_25 ; %bb.24: mov w23, #1 b LBB0_8 LBB0_25: Lloh2: adrp x8, _EIO@GOTPAGE Lloh3: ldr x8, [x8, _EIO@GOTPAGEOFF] LBB0_26: ldr w8, [x8] neg w0, w8 LBB0_27: 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 Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _ENOSPC,4,2 ; @ENOSPC .comm _EIO,4,2 ; @EIO .no_dead_strip _hfsplus_add_extent .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/hfsplus/extr_extents.c_hfsplus_add_extent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_crtc_wait_one_vblank ## -- Begin function drm_crtc_wait_one_vblank .p2align 4, 0x90 _drm_crtc_wait_one_vblank: ## @drm_crtc_wait_one_vblank .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 (%rdi), %ebx callq _drm_crtc_index movl %ebx, %edi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _drm_wait_one_vblank ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_crtc_wait_one_vblank ; -- Begin function drm_crtc_wait_one_vblank .p2align 2 _drm_crtc_wait_one_vblank: ; @drm_crtc_wait_one_vblank .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 w19, [x0] bl _drm_crtc_index mov x1, x0 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _drm_wait_one_vblank .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/extr_drm_vblank.c_drm_crtc_wait_one_vblank.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bs_copy_box ## -- Begin function bs_copy_box .p2align 4, 0x90 _bs_copy_box: ## @bs_copy_box .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 %ecx, %r13d testl %ecx, %ecx jle LBB0_17 ## %bb.1: movl %r8d, %r12d testl %r8d, %r8d jle LBB0_17 ## %bb.2: movl %esi, %ecx movq %rdi, %r15 movl %r13d, %ebx addl %esi, %ebx js LBB0_18 ## %bb.3: movl %edx, %r14d movl %r12d, %eax addl %edx, %eax js LBB0_18 ## %bb.4: movq _g_width1@GOTPCREL(%rip), %rdx movl (%rdx), %edi cmpl %ecx, %edi jle LBB0_18 ## %bb.5: movq _g_height1@GOTPCREL(%rip), %rdx movl (%rdx), %edx cmpl %r14d, %edx jle LBB0_18 ## %bb.6: movl %r14d, %esi orl %ecx, %esi js LBB0_13 ## %bb.7: cmpl %edi, %ebx jg LBB0_13 ## %bb.8: cmpl %edx, %eax jg LBB0_13 ## %bb.9: movslq %r9d, %rax movq %rax, -48(%rbp) ## 8-byte Spill jmp LBB0_10 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_10 Depth=1 addq -48(%rbp), %r15 ## 8-byte Folded Reload incl %r14d decl %r12d movl %ebx, %ecx je LBB0_17 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl %ecx, %ebx movl %ecx, %edi movl %r14d, %esi callq _get_bs_ptr testq %rax, %rax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq _g_Bpp@GOTPCREL(%rip), %rcx movl (%rcx), %edx imull %r13d, %edx movq %r15, %rdi movq %rax, %rsi callq _bs_copy_mem jmp LBB0_12 LBB0_18: imull %r13d, %r12d movq _g_Bpp@GOTPCREL(%rip), %rax imull (%rax), %r12d movq %r15, %rdi xorl %esi, %esi movl %r12d, %edx addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memset ## TAILCALL LBB0_13: movl %r12d, %edx imull %r13d, %edx movq _g_Bpp@GOTPCREL(%rip), %rax imull (%rax), %edx movq %r15, %rdi xorl %esi, %esi movl %ecx, -52(%rbp) ## 4-byte Spill movl %r9d, -56(%rbp) ## 4-byte Spill callq _memset movl -52(%rbp), %esi ## 4-byte Reload testl %esi, %esi cmovnsl %r13d, %ebx movl $0, %edi cmovgl %esi, %edi leal (%rbx,%rdi), %eax movq _g_width1@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, %edx movq %rdi, %r13 subl %edi, %edx cmpl %ecx, %eax cmovlel %ebx, %edx movl %edx, -48(%rbp) ## 4-byte Spill movq _g_Bpp@GOTPCREL(%rip), %rax movl (%rax), %eax movl %esi, %ecx imull %esi, %eax negl %eax sarl $31, %ecx andl %eax, %ecx movslq %ecx, %rbx addq %r15, %rbx movslq -56(%rbp), %r15 ## 4-byte Folded Reload jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=1 addq %r15, %rbx incl %r14d decl %r12d je LBB0_17 LBB0_14: ## =>This Inner Loop Header: Depth=1 movl %r13d, %edi movl %r14d, %esi callq _get_bs_ptr testq %rax, %rax je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq _g_Bpp@GOTPCREL(%rip), %rcx movl (%rcx), %edx imull -48(%rbp), %edx ## 4-byte Folded Reload movq %rbx, %rdi movq %rax, %rsi callq _bs_copy_mem jmp LBB0_16 LBB0_17: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _g_width1,4,2 ## @g_width1 .comm _g_height1,4,2 ## @g_height1 .comm _g_Bpp,4,2 ## @g_Bpp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bs_copy_box ; -- Begin function bs_copy_box .p2align 2 _bs_copy_box: ; @bs_copy_box .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 cmp w3, #1 b.lt LBB0_17 ; %bb.1: mov x19, x4 cmp w4, #1 b.lt LBB0_17 ; %bb.2: mov x23, x3 mov x22, x1 mov x21, x0 adds w26, w3, w1 b.mi LBB0_12 ; %bb.3: mov x20, x2 adds w8, w19, w2 b.mi LBB0_12 ; %bb.4: Lloh0: adrp x27, _g_width1@GOTPAGE Lloh1: ldr x27, [x27, _g_width1@GOTPAGEOFF] ldr w9, [x27] cmp w9, w22 b.le LBB0_12 ; %bb.5: Lloh2: adrp x10, _g_height1@GOTPAGE Lloh3: ldr x10, [x10, _g_height1@GOTPAGEOFF] Lloh4: ldr w10, [x10] cmp w10, w20 b.le LBB0_12 ; %bb.6: mov x24, x5 orr w11, w20, w22 tbnz w11, #31, LBB0_13 ; %bb.7: cmp w26, w9 ccmp w8, w10, #0, le b.gt LBB0_13 ; %bb.8: ; kill: def $w24 killed $w24 killed $x24 def $x24 sxtw x24, w24 Lloh5: adrp x25, _g_Bpp@GOTPAGE Lloh6: ldr x25, [x25, _g_Bpp@GOTPAGEOFF] b LBB0_10 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 add x21, x21, x24 add w20, w20, #1 subs w19, w19, #1 b.eq LBB0_17 LBB0_10: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x20 bl _get_bs_ptr cbz x0, LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 mov x1, x0 ldr w8, [x25] mul w2, w8, w23 mov x0, x21 bl _bs_copy_mem b LBB0_9 LBB0_12: Lloh7: adrp x8, _g_Bpp@GOTPAGE Lloh8: ldr x8, [x8, _g_Bpp@GOTPAGEOFF] mul w9, w19, w23 Lloh9: ldr w8, [x8] mul w2, w9, w8 mov x0, x21 mov w1, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _memset LBB0_13: mul w8, w19, w23 Lloh10: adrp x25, _g_Bpp@GOTPAGE Lloh11: ldr x25, [x25, _g_Bpp@GOTPAGEOFF] ldr w9, [x25] mul w2, w8, w9 mov x0, x21 mov w1, #0 bl _memset cmp w22, #0 csel w8, w26, w23, lt csel w23, w22, wzr, gt ldr w9, [x27] sub w10, w9, w23 add w11, w8, w23 cmp w11, w9 csel w26, w10, w8, gt ldr w8, [x25] mneg w8, w8, w22 and w8, w8, w22, asr #31 add x21, x21, w8, sxtw sxtw x22, w24 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 add x21, x21, x22 add w20, w20, #1 subs w19, w19, #1 b.eq LBB0_17 LBB0_15: ; =>This Inner Loop Header: Depth=1 mov x0, x23 mov x1, x20 bl _get_bs_ptr cbz x0, LBB0_14 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 mov x1, x0 ldr w8, [x25] mul w2, w8, w26 mov x0, x21 bl _bs_copy_mem b LBB0_14 LBB0_17: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _g_width1,4,2 ; @g_width1 .comm _g_height1,4,2 ; @g_height1 .comm _g_Bpp,4,2 ; @g_Bpp .subsections_via_symbols
AnghaBench/reactos/base/applications/mstsc/extr_bsops.c_bs_copy_box.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zend_visibility_string ## -- Begin function zend_visibility_string .p2align 4, 0x90 _zend_visibility_string: ## @zend_visibility_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ZEND_ACC_PUBLIC@GOTPCREL(%rip), %rax testl %edi, (%rax) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rax popq %rbp retq LBB0_2: movq _ZEND_ACC_PRIVATE@GOTPCREL(%rip), %rax testl %edi, (%rax) je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rax popq %rbp retq LBB0_4: movq _ZEND_ACC_PROTECTED@GOTPCREL(%rip), %rax andl (%rax), %edi callq _ZEND_ASSERT leaq L_.str.2(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _ZEND_ACC_PUBLIC,4,2 ## @ZEND_ACC_PUBLIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "public" .comm _ZEND_ACC_PRIVATE,4,2 ## @ZEND_ACC_PRIVATE L_.str.1: ## @.str.1 .asciz "private" .comm _ZEND_ACC_PROTECTED,4,2 ## @ZEND_ACC_PROTECTED L_.str.2: ## @.str.2 .asciz "protected" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zend_visibility_string ; -- Begin function zend_visibility_string .p2align 2 _zend_visibility_string: ; @zend_visibility_string .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _ZEND_ACC_PUBLIC@GOTPAGE Lloh1: ldr x8, [x8, _ZEND_ACC_PUBLIC@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w0 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: Lloh5: adrp x8, _ZEND_ACC_PRIVATE@GOTPAGE Lloh6: ldr x8, [x8, _ZEND_ACC_PRIVATE@GOTPAGEOFF] Lloh7: ldr w8, [x8] tst w8, w0 b.eq LBB0_4 ; %bb.3: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_4: Lloh10: adrp x8, _ZEND_ACC_PROTECTED@GOTPAGE Lloh11: ldr x8, [x8, _ZEND_ACC_PROTECTED@GOTPAGEOFF] Lloh12: ldr w8, [x8] and w0, w8, w0 bl _ZEND_ASSERT Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _ZEND_ACC_PUBLIC,4,2 ; @ZEND_ACC_PUBLIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "public" .comm _ZEND_ACC_PRIVATE,4,2 ; @ZEND_ACC_PRIVATE l_.str.1: ; @.str.1 .asciz "private" .comm _ZEND_ACC_PROTECTED,4,2 ; @ZEND_ACC_PROTECTED l_.str.2: ; @.str.2 .asciz "protected" .subsections_via_symbols
AnghaBench/php-src/Zend/extr_zend_inheritance.c_zend_visibility_string.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function saa7706h_set_reg16 _saa7706h_set_reg16: ## @saa7706h_set_reg16 .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 movl %edx, %ebx movl %esi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) callq _v4l2_get_subdevdata movl %r14d, %ecx sarl $8, %ecx movl %ecx, -48(%rbp) movl %r14d, -44(%rbp) movl %ebx, %ecx sarl $8, %ecx movl %ecx, -40(%rbp) movl %ebx, -36(%rbp) leaq -48(%rbp), %rsi movq %rax, %rdi movl $4, %edx callq _saa7706h_i2c_send movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -24(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _saa7706h_set_reg16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function saa7706h_set_reg16 _saa7706h_set_reg16: ; @saa7706h_set_reg16 .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, x2 mov x20, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] bl _v4l2_get_subdevdata asr w8, w20, #8 stp w8, w20, [sp, #8] asr w8, w19, #8 stp w8, w19, [sp, #16] add x1, sp, #8 mov w2, #4 ; =0x4 bl _saa7706h_i2c_send ldr x8, [sp, #24] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .no_dead_strip _saa7706h_set_reg16 .subsections_via_symbols
assembly_file_19940.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cfs_rq_of _cfs_rq_of: ## @cfs_rq_of .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _task_of movq %rax, %rdi popq %rbp jmp _task_rq ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _cfs_rq_of .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cfs_rq_of _cfs_rq_of: ; @cfs_rq_of .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 _task_of ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _task_rq .cfi_endproc ; -- End function .no_dead_strip _cfs_rq_of .subsections_via_symbols
AnghaBench/linux/kernel/sched/extr_fair.c_cfs_rq_of.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ldns_b64_ntop ## -- Begin function ldns_b64_ntop .p2align 4, 0x90 _ldns_b64_ntop: ## @ldns_b64_ntop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -72(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testq %rsi, %rsi je LBB0_7 ## %bb.1: movq %rdi, %r12 cmpq $3, %rsi jb LBB0_9 ## %bb.2: movl $4, %r14d xorl %eax, %eax movq %rcx, -80(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rax, -88(%rbp) ## 8-byte Spill movq %rsi, -96(%rbp) ## 8-byte Spill movl -8(%r12,%r14), %eax movl -4(%r12,%r14), %ebx movl %ebx, %r13d sarl $2, %r13d movl %ebx, %r15d shll $4, %r15d andl $48, %r15d movl %eax, %ecx sarl $4, %ecx subl %ecx, %r15d andl $15, %eax movl %ebx, %ecx sarl $6, %ecx leal (%rcx,%rax,4), %eax movl %eax, -64(%rbp) ## 4-byte Spill xorl %edi, %edi cmpl $64, %r13d setl %dil callq _assert xorl %edi, %edi cmpl $64, %r15d setl %dil callq _assert xorl %edi, %edi cmpl $64, -64(%rbp) ## 4-byte Folded Reload setl %dil callq _assert movl $1, %edi callq _assert movq -80(%rbp), %rcx ## 8-byte Reload cmpq %rcx, %r14 ja LBB0_21 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 andl $63, %ebx movq -96(%rbp), %rsi ## 8-byte Reload addq $-3, %rsi movq _Base64@GOTPCREL(%rip), %r8 movq (%r8), %rax movslq %r13d, %rdx movzbl (%rax,%rdx), %eax movq -72(%rbp), %rdx ## 8-byte Reload movb %al, -4(%rdx,%r14) movq (%r8), %rax movslq %r15d, %rdi movzbl (%rax,%rdi), %eax movb %al, -3(%rdx,%r14) movq (%r8), %rax movslq -64(%rbp), %rdi ## 4-byte Folded Reload movzbl (%rax,%rdi), %eax movb %al, -2(%rdx,%r14) movq (%r8), %rax movzbl (%rax,%rbx), %eax movb %al, -1(%rdx,%r14) movq -88(%rbp), %rax ## 8-byte Reload addq $-4, %rax addq $4, %r14 cmpq $2, %rsi ja LBB0_3 ## %bb.5: movq %rax, %r13 negq %r13 testq %rsi, %rsi je LBB0_22 ## %bb.6: subq %rax, %r12 jmp LBB0_10 LBB0_7: testq %rcx, %rcx je LBB0_21 ## %bb.8: movq -72(%rbp), %rax ## 8-byte Reload movb $0, (%rax) xorl %eax, %eax jmp LBB0_25 LBB0_9: xorl %r13d, %r13d LBB0_10: movl $0, -52(%rbp) movq $0, -60(%rbp) cmpq $8, %rsi jb LBB0_14 ## %bb.11: leaq -60(%rbp), %rax subq %r12, %rax cmpq $32, %rax jb LBB0_14 ## %bb.12: movl $16, %eax .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movups -16(%r12,%rax), %xmm0 movups (%r12,%rax), %xmm1 movups %xmm0, -76(%rbp,%rax) movups %xmm1, -60(%rbp,%rax) addq $32, %rax jmp LBB0_13 LBB0_21: movl $-1, %eax jmp LBB0_25 LBB0_14: xorl %eax, %eax cmpq $4, %rsi jb LBB0_16 .p2align 4, 0x90 LBB0_15: ## =>This Inner Loop Header: Depth=1 movl (%r12), %edx movl %edx, -60(%rbp,%rax,4) movl 4(%r12), %edx movl %edx, -56(%rbp,%rax,4) movl 8(%r12), %edx movl %edx, -52(%rbp,%rax,4) movl 12(%r12), %edx addq $16, %r12 movl %edx, -48(%rbp,%rax,4) addq $4, %rax jne LBB0_15 LBB0_16: movq %rcx, -80(%rbp) ## 8-byte Spill leaq -60(,%rax,4), %rax addq %rbp, %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_17: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rcx,4), %edx movl %edx, (%rax,%rcx,4) incq %rcx cmpq %rcx, %rsi jne LBB0_17 ## %bb.18: movq %rsi, %r12 movl -60(%rbp), %eax movl -56(%rbp), %ecx movl %eax, %ebx sarl $2, %ebx shll $4, %eax andl $48, %eax movl %ecx, %r14d sarl $4, %r14d addl %eax, %r14d andl $15, %ecx movl -52(%rbp), %eax sarl $6, %eax leal (%rax,%rcx,4), %r15d xorl %edi, %edi cmpl $64, %ebx setl %dil callq _assert xorl %edi, %edi cmpl $64, %r14d setl %dil callq _assert xorl %edi, %edi cmpl $64, %r15d setl %dil callq _assert leaq 4(%r13), %r8 movl $-2, %eax movq -80(%rbp), %rcx ## 8-byte Reload cmpq %rcx, %r8 ja LBB0_25 ## %bb.19: movq _Base64@GOTPCREL(%rip), %rax movq (%rax), %rdx movslq %ebx, %rsi movzbl (%rdx,%rsi), %edx movq -72(%rbp), %rdi ## 8-byte Reload movb %dl, (%rdi,%r13) movq (%rax), %rdx movslq %r14d, %rsi movzbl (%rdx,%rsi), %edx movb %dl, 1(%rdi,%r13) movslq %r15d, %rdx addq (%rax), %rdx cmpq $1, %r12 movq _Pad64@GOTPCREL(%rip), %rax cmoveq %rax, %rdx movzbl (%rdx), %edx movb %dl, 2(%rdi,%r13) movzbl (%rax), %eax movb %al, 3(%rdi,%r13) jmp LBB0_23 LBB0_22: movq %r13, %r8 LBB0_23: movl $-3, %eax cmpq %rcx, %r8 jae LBB0_25 ## %bb.24: movq -72(%rbp), %rax ## 8-byte Reload movb $0, (%rax,%r8) movl %r8d, %eax LBB0_25: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_27 ## %bb.26: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_27: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _Base64,8,3 ## @Base64 .comm _Pad64,1,0 ## @Pad64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ldns_b64_ntop ; -- Begin function ldns_b64_ntop .p2align 2 _ldns_b64_ntop: ; @ldns_b64_ntop .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] cbz x1, LBB0_7 ; %bb.1: mov x21, x1 mov x23, x0 cmp x1, #3 b.lo LBB0_9 ; %bb.2: mov x26, #0 ; =0x0 str x2, [sp] ; 8-byte Folded Spill add x24, x2, #3 Lloh3: adrp x25, _Base64@GOTPAGE Lloh4: ldr x25, [x25, _Base64@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 add x8, x23, x26 ldp w8, w27, [x8, #-4] asr w20, w27, #2 ubfiz w9, w27, #4, #2 sub w19, w9, w8, asr #4 ubfiz w8, w8, #2, #4 add w28, w8, w27, asr #6 cmp w20, #64 cset w0, lt mov x22, x3 bl _assert cmp w19, #64 cset w0, lt bl _assert cmp w28, #64 cset w0, lt bl _assert mov w0, #1 ; =0x1 bl _assert mov x3, x22 add x22, x26, #4 cmp x22, x3 b.hi LBB0_14 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x25] ldrb w8, [x8, w20, sxtw] and x9, x27, #0x3f add x10, x24, x26 sturb w8, [x10, #-3] ldr x8, [x25] ldrb w8, [x8, w19, sxtw] sub x21, x21, #3 sturb w8, [x10, #-2] ldr x8, [x25] ldrb w8, [x8, w28, sxtw] sturb w8, [x10, #-1] ldr x8, [x25] ldrb w8, [x8, x9] strb w8, [x10] mov x26, x22 cmp x21, #2 b.hi LBB0_3 ; %bb.5: cbz x21, LBB0_21 ; %bb.6: add x23, x23, x22 ldr x2, [sp] ; 8-byte Folded Reload b LBB0_10 LBB0_7: cbz x3, LBB0_14 ; %bb.8: mov w22, #0 ; =0x0 strb wzr, [x2] b LBB0_23 LBB0_9: mov x22, #0 ; =0x0 LBB0_10: str wzr, [sp, #16] add x8, sp, #8 str xzr, [sp, #8] cmp x21, #16 b.lo LBB0_15 ; %bb.11: sub x9, x8, x23 cmp x9, #64 b.lo LBB0_15 ; %bb.12: add x8, sp, #8 add x8, x8, #32 add x9, x23, #32 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x9, #-32] ldp q2, q3, [x9], #64 stp q0, q1, [x8, #-32] stp q2, q3, [x8], #64 b LBB0_13 LBB0_14: mov w22, #-1 ; =0xffffffff b LBB0_23 LBB0_15: mov x25, x3 mov x24, x2 mov x9, #0 ; =0x0 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldr w10, [x23, x9, lsl #2] str w10, [x8, x9, lsl #2] add x9, x9, #1 cmp x21, x9 b.ne LBB0_16 ; %bb.17: ldp w8, w9, [sp, #8] asr w23, w8, #2 ubfiz w8, w8, #4, #2 add w19, w8, w9, asr #4 ubfiz w8, w9, #2, #4 ldr w9, [sp, #16] add w20, w8, w9, asr #6 cmp w23, #64 cset w0, lt bl _assert cmp w19, #64 cset w0, lt bl _assert cmp w20, #64 cset w0, lt bl _assert add x8, x22, #4 cmp x8, x25 b.ls LBB0_19 ; %bb.18: mov w22, #-2 ; =0xfffffffe b LBB0_23 LBB0_19: mov x3, x25 Lloh5: adrp x9, _Base64@GOTPAGE Lloh6: ldr x9, [x9, _Base64@GOTPAGEOFF] ldr x10, [x9] ldrb w10, [x10, w23, sxtw] add x11, x24, x22 strb w10, [x11] ldr x10, [x9] ldrb w10, [x10, w19, sxtw] strb w10, [x11, #1] ldr x9, [x9] add x9, x9, w20, sxtw Lloh7: adrp x10, _Pad64@GOTPAGE Lloh8: ldr x10, [x10, _Pad64@GOTPAGEOFF] cmp x21, #1 csel x9, x10, x9, eq ldrb w9, [x9] strb w9, [x11, #2] ldrb w9, [x10] strb w9, [x11, #3] mov x22, x8 cmp x22, x3 b.hs LBB0_22 LBB0_20: strb wzr, [x24, x22] b LBB0_23 LBB0_21: ldr x24, [sp] ; 8-byte Folded Reload cmp x22, x3 b.lo LBB0_20 LBB0_22: mov w22, #-3 ; =0xfffffffd LBB0_23: ldr x8, [sp, #24] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_25 ; %bb.24: mov x0, x22 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_25: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _Base64,8,3 ; @Base64 .comm _Pad64,1,0 ; @Pad64 .subsections_via_symbols
assembly_file_150603.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_ebur128_loudness_global_multiple ## -- Begin function ff_ebur128_loudness_global_multiple .p2align 4, 0x90 _ff_ebur128_loudness_global_multiple: ## @ff_ebur128_loudness_global_multiple .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 _ebur128_gated_loudness ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_ebur128_loudness_global_multiple ; -- Begin function ff_ebur128_loudness_global_multiple .p2align 2 _ff_ebur128_loudness_global_multiple: ; @ff_ebur128_loudness_global_multiple .cfi_startproc ; %bb.0: b _ebur128_gated_loudness .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_ebur128.c_ff_ebur128_loudness_global_multiple.c
anghabench