x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rpc_close_pipes _rpc_close_pipes: ## @rpc_close_pipes .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, %r14 callq _RPC_I movq %rax, %rbx movq %r14, %rdi callq _mutex_lock movq 24(%rbx), %r13 testq %r13, %r13 je LBB0_7 ## %bb.1: leaq 24(%rbx), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq _free_list@GOTPCREL(%rip), %rax movl (%rax), %edi callq _LIST_HEAD leaq 4(%r14), %r15 movq %r15, %rdi callq _spin_lock movb $1, %al cmpq $0, (%rbx) jne LBB0_3 ## %bb.2: cmpq $0, 8(%rbx) setne %al LBB0_3: movb %al, -41(%rbp) ## 1-byte Spill movq $0, (%rbx) leaq 44(%rbx), %rdi movq _free_list@GOTPCREL(%rip), %r12 movq %r12, %rsi callq _list_splice_init leaq 40(%rbx), %rdi movq %r12, %rsi callq _list_splice_init xorps %xmm0, %xmm0 movq -56(%rbp), %rax ## 8-byte Reload movups %xmm0, (%rax) movq %r15, %rdi callq _spin_unlock movl 8(%r13), %edx movq _EPIPE@GOTPCREL(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx movq %rbx, %rdi movq %r12, %rsi callq _rpc_purge_list movq $0, 8(%rbx) cmpb $0, -41(%rbp) ## 1-byte Folded Reload je LBB0_6 ## %bb.4: movq (%r13), %rax testq %rax, %rax je LBB0_6 ## %bb.5: movq %r14, %rdi callq *%rax LBB0_6: addq $16, %rbx movq %rbx, %rdi callq _cancel_delayed_work_sync LBB0_7: movq %r14, %rdi xorl %esi, %esi callq _rpc_inode_setowner movq %r14, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _free_list,4,2 ## @free_list .comm _EPIPE,4,2 ## @EPIPE .no_dead_strip _rpc_close_pipes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rpc_close_pipes _rpc_close_pipes: ; @rpc_close_pipes .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, x0 bl _RPC_I mov x20, x0 mov x0, x19 bl _mutex_lock mov x24, x20 ldr x23, [x24, #24]! cbz x23, LBB0_8 ; %bb.1: Lloh0: adrp x8, _free_list@GOTPAGE Lloh1: ldr x8, [x8, _free_list@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _LIST_HEAD add x21, x19, #4 mov x0, x21 bl _spin_lock ldr x8, [x20] cbz x8, LBB0_3 ; %bb.2: mov w25, #1 b LBB0_4 LBB0_3: ldr x8, [x20, #8] cmp x8, #0 cset w25, ne LBB0_4: str xzr, [x20] add x0, x20, #44 Lloh3: adrp x22, _free_list@GOTPAGE Lloh4: ldr x22, [x22, _free_list@GOTPAGEOFF] mov x1, x22 bl _list_splice_init add x0, x20, #40 mov x1, x22 bl _list_splice_init stp xzr, xzr, [x24] mov x0, x21 bl _spin_unlock ldr w2, [x23, #8] Lloh5: adrp x8, _EPIPE@GOTPAGE Lloh6: ldr x8, [x8, _EPIPE@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w3, w8 mov x0, x20 mov x1, x22 bl _rpc_purge_list str xzr, [x20, #8] cbz w25, LBB0_7 ; %bb.5: ldr x8, [x23] cbz x8, LBB0_7 ; %bb.6: mov x0, x19 blr x8 LBB0_7: add x0, x20, #16 bl _cancel_delayed_work_sync LBB0_8: mov x0, x19 mov x1, #0 bl _rpc_inode_setowner mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _mutex_unlock .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _free_list,4,2 ; @free_list .comm _EPIPE,4,2 ; @EPIPE .no_dead_strip _rpc_close_pipes .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/sunrpc/extr_rpc_pipe.c_rpc_close_pipes.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dynamic_table_size_update _dynamic_table_size_update: ## @dynamic_table_size_update .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 %rsi, (%rdi) jge LBB0_2 ## %bb.1: movq _h2o_qpack_err_invalid_max_size@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%rdx) movq _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_3 LBB0_2: movq %rsi, 8(%rdi) addq $8, %rdi xorl %ebx, %ebx xorl %esi, %esi callq _header_table_evict LBB0_3: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _h2o_qpack_err_invalid_max_size,8,3 ## @h2o_qpack_err_invalid_max_size .comm _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED,4,2 ## @H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED .no_dead_strip _dynamic_table_size_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dynamic_table_size_update _dynamic_table_size_update: ; @dynamic_table_size_update .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, [x0] cmp x8, x1 b.ge LBB0_2 ; %bb.1: Lloh0: adrp x8, _h2o_qpack_err_invalid_max_size@GOTPAGE Lloh1: ldr x8, [x8, _h2o_qpack_err_invalid_max_size@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [x2] Lloh3: adrp x8, _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPAGE Lloh4: ldr x8, [x8, _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED@GOTPAGEOFF] Lloh5: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: str x1, [x0, #8]! mov w1, #0 bl _header_table_evict mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _h2o_qpack_err_invalid_max_size,8,3 ; @h2o_qpack_err_invalid_max_size .comm _H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED,4,2 ; @H2O_HTTP3_ERROR_QPACK_DECOMPRESSION_FAILED .no_dead_strip _dynamic_table_size_update .subsections_via_symbols
AnghaBench/h2o/t/00unit/lib/http3/extr_........libhttp3qpack.c_dynamic_table_size_update.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function omap3evm_panel_suspend _omap3evm_panel_suspend: ## @omap3evm_panel_suspend .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 _omap3evm_panel_suspend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function omap3evm_panel_suspend _omap3evm_panel_suspend: ; @omap3evm_panel_suspend .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _omap3evm_panel_suspend .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/omap/extr_lcd_omap3evm.c_omap3evm_panel_suspend.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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi xorl %r14d, %r14d leaq -28(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -28(%rbp) jle LBB0_5 ## %bb.1: movl $1, %r15d .p2align 4, 0x90 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movl %r15d, %ebx .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl $42, %edi callq _putchar decl %ebx jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _putchar incl %r14d incl %r15d cmpl -28(%rbp), %r14d jl LBB0_2 LBB0_5: xorl %eax, %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 "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 add x8, sp, #12 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #12] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov w19, #0 mov w20, #1 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 mov x21, x20 LBB0_3: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 mov w0, #42 bl _putchar subs w21, w21, #1 b.ne LBB0_3 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 mov w0, #10 bl _putchar add w19, w19, #1 ldr w8, [sp, #12] add w20, w20, #1 cmp w19, w8 b.lt LBB0_2 LBB0_5: 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 "%d" .subsections_via_symbols
the_stack_data/36075466.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pcap_geterr ## -- Begin function pcap_geterr .p2align 4, 0x90 _pcap_geterr: ## @pcap_geterr .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 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 _pcap_geterr ; -- Begin function pcap_geterr .p2align 2 _pcap_geterr: ; @pcap_geterr .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/libpcap/extr_pcap.c_pcap_geterr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _uk2004f_maz ## @uk2004f_maz .p2align 4 _uk2004f_maz: .long 14 ## 0xe .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 9 ## 0x9 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 11 ## 0xb .long 5 ## 0x5 .long 13 ## 0xd .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 9 ## 0x9 .long 14 ## 0xe .long 0 ## 0x0 .long 8 ## 0x8 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 11 ## 0xb .long 12 ## 0xc .long 10 ## 0xa .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 3 ## 0x3 .long 12 ## 0xc .long 3 ## 0x3 .long 13 ## 0xd .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 7 ## 0x7 .long 5 ## 0x5 .long 7 ## 0x7 .long 5 ## 0x5 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 14 ## 0xe .long 3 ## 0x3 .long 12 ## 0xc .long 3 ## 0x3 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 3 ## 0x3 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 1 ## 0x1 .long 14 ## 0xe .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 9 ## 0x9 .long 6 ## 0x6 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 12 ## 0xc .long 1 ## 0x1 .long 13 ## 0xd .long 6 ## 0x6 .long 9 ## 0x9 .long 6 ## 0x6 .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .long 6 ## 0x6 .long 3 ## 0x3 .long 4 ## 0x4 .long 9 ## 0x9 .long 6 ## 0x6 .long 9 ## 0x9 .long 6 ## 0x6 .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 9 ## 0x9 .long 5 ## 0x5 .long 6 ## 0x6 .long 9 ## 0x9 .long 6 ## 0x6 .long 9 ## 0x9 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 12 ## 0xc .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 8 ## 0x8 .long 10 ## 0xa .long 8 ## 0x8 .long 3 ## 0x3 .long 4 ## 0x4 .long 9 ## 0x9 .long 6 ## 0x6 .long 9 ## 0x9 .long 4 ## 0x4 .long 9 ## 0x9 .long 5 ## 0x5 .long 4 ## 0x4 .long 3 ## 0x3 .long 13 ## 0xd .long 7 ## 0x7 .long 13 ## 0xd .long 7 ## 0x7 .long 13 ## 0xd .long 7 ## 0x7 .long 12 ## 0xc .long 3 ## 0x3 .long 4 ## 0x4 .long 11 ## 0xb .long 6 ## 0x6 .long 1 ## 0x1 .long 5 ## 0x5 .long 5 ## 0x5 .long 4 ## 0x4 .long 8 ## 0x8 .long 2 ## 0x2 .long 8 ## 0x8 .long 2 ## 0x2 .long 8 ## 0x8 .long 2 ## 0x2 .long 8 ## 0x8 .long 2 ## 0x2 .long 9 ## 0x9 .long 6 ## 0x6 .long 8 ## 0x8 .long 9 ## 0x9 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 13 ## 0xd .long 7 ## 0x7 .long 13 ## 0xd .long 7 ## 0x7 .long 13 ## 0xd .long 7 ## 0x7 .long 13 ## 0xd .long 6 ## 0x6 .long 9 ## 0x9 .long 7 ## 0x7 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 5 ## 0x5 .long 6 ## 0x6 .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 10 ## 0xa .long 2 ## 0x2 .long 2 ## 0x2 .long 3 ## 0x3 .long 5 ## 0x5 .long 6 ## 0x6 .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 10 ## 0xa .long 3 ## 0x3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _uk2004f_maz ; @uk2004f_maz .p2align 2 _uk2004f_maz: .long 14 ; 0xe .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 9 ; 0x9 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 11 ; 0xb .long 5 ; 0x5 .long 13 ; 0xd .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 9 ; 0x9 .long 14 ; 0xe .long 0 ; 0x0 .long 8 ; 0x8 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 11 ; 0xb .long 12 ; 0xc .long 10 ; 0xa .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 3 ; 0x3 .long 12 ; 0xc .long 3 ; 0x3 .long 13 ; 0xd .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 7 ; 0x7 .long 5 ; 0x5 .long 7 ; 0x7 .long 5 ; 0x5 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 14 ; 0xe .long 3 ; 0x3 .long 12 ; 0xc .long 3 ; 0x3 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 3 ; 0x3 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 1 ; 0x1 .long 14 ; 0xe .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 9 ; 0x9 .long 6 ; 0x6 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 12 ; 0xc .long 1 ; 0x1 .long 13 ; 0xd .long 6 ; 0x6 .long 9 ; 0x9 .long 6 ; 0x6 .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .long 6 ; 0x6 .long 3 ; 0x3 .long 4 ; 0x4 .long 9 ; 0x9 .long 6 ; 0x6 .long 9 ; 0x9 .long 6 ; 0x6 .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 9 ; 0x9 .long 5 ; 0x5 .long 6 ; 0x6 .long 9 ; 0x9 .long 6 ; 0x6 .long 9 ; 0x9 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 12 ; 0xc .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 8 ; 0x8 .long 10 ; 0xa .long 8 ; 0x8 .long 3 ; 0x3 .long 4 ; 0x4 .long 9 ; 0x9 .long 6 ; 0x6 .long 9 ; 0x9 .long 4 ; 0x4 .long 9 ; 0x9 .long 5 ; 0x5 .long 4 ; 0x4 .long 3 ; 0x3 .long 13 ; 0xd .long 7 ; 0x7 .long 13 ; 0xd .long 7 ; 0x7 .long 13 ; 0xd .long 7 ; 0x7 .long 12 ; 0xc .long 3 ; 0x3 .long 4 ; 0x4 .long 11 ; 0xb .long 6 ; 0x6 .long 1 ; 0x1 .long 5 ; 0x5 .long 5 ; 0x5 .long 4 ; 0x4 .long 8 ; 0x8 .long 2 ; 0x2 .long 8 ; 0x8 .long 2 ; 0x2 .long 8 ; 0x8 .long 2 ; 0x2 .long 8 ; 0x8 .long 2 ; 0x2 .long 9 ; 0x9 .long 6 ; 0x6 .long 8 ; 0x8 .long 9 ; 0x9 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 13 ; 0xd .long 7 ; 0x7 .long 13 ; 0xd .long 7 ; 0x7 .long 13 ; 0xd .long 7 ; 0x7 .long 13 ; 0xd .long 6 ; 0x6 .long 9 ; 0x9 .long 7 ; 0x7 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 5 ; 0x5 .long 6 ; 0x6 .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 10 ; 0xa .long 2 ; 0x2 .long 2 ; 0x2 .long 3 ; 0x3 .long 5 ; 0x5 .long 6 ; 0x6 .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 10 ; 0xa .long 3 ; 0x3 .subsections_via_symbols
the_stack_data/14839.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _VL_FloodLightThread ## -- Begin function VL_FloodLightThread .p2align 4, 0x90 _VL_FloodLightThread: ## @VL_FloodLightThread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _vlights@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %edi, %rcx movl (%rax,%rcx,4), %edi popq %rbp jmp _VL_FloodLight ## TAILCALL .cfi_endproc ## -- End function .comm _vlights,8,3 ## @vlights .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _VL_FloodLightThread ; -- Begin function VL_FloodLightThread .p2align 2 _VL_FloodLightThread: ; @VL_FloodLightThread .cfi_startproc ; %bb.0: Lloh0: adrp x8, _vlights@GOTPAGE Lloh1: ldr x8, [x8, _vlights@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w0, [x8, w0, sxtw #2] b _VL_FloodLight .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _vlights,8,3 ; @vlights .subsections_via_symbols
AnghaBench/Quake-III-Arena/q3map/extr_lightv.c_VL_FloodLightThread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _machine_crash_shutdown ## -- Begin function machine_crash_shutdown .p2align 4, 0x90 _machine_crash_shutdown: ## @machine_crash_shutdown .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _kexec_disable_iosapic ## TAILCALL .cfi_endproc ## -- End function .comm _kdump_cpu_freeze,4,2 ## @kdump_cpu_freeze .comm _kdump_in_progress,4,2 ## @kdump_in_progress .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _machine_crash_shutdown ; -- Begin function machine_crash_shutdown .p2align 2 _machine_crash_shutdown: ; @machine_crash_shutdown .cfi_startproc ; %bb.0: b _kexec_disable_iosapic .cfi_endproc ; -- End function .comm _kdump_cpu_freeze,4,2 ; @kdump_cpu_freeze .comm _kdump_in_progress,4,2 ; @kdump_in_progress .subsections_via_symbols
AnghaBench/linux/arch/ia64/kernel/extr_crash.c_machine_crash_shutdown.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_uses _add_uses: ## @add_uses .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, %r15 movq (%rdi), %rdi callq _REG_P testq %rax, %rax je LBB0_7 ## %bb.1: movq %r14, %rdi callq _BLOCK_FOR_INSN movl %eax, %ebx movl %eax, %edi callq _VTI movq 8(%rax), %r12 movl %ebx, %edi callq _VTI movslq (%rax), %rbx leal 1(%rbx), %ecx movl %ecx, (%rax) movq (%r15), %rdi callq _REG_EXPR testq %rax, %rax je LBB0_5 ## %bb.2: movq (%r15), %rdi callq _REG_EXPR movq %rax, %rdi callq _track_expr_p testq %rax, %rax je LBB0_5 ## %bb.3: movq (%r15), %rdi callq _REG_OFFSET movl %eax, %edi callq _offset_valid_for_tracked_p testq %rax, %rax je LBB0_5 ## %bb.4: movq _MO_USE@GOTPCREL(%rip), %rax jmp LBB0_6 LBB0_5: movq _MO_USE_NO_VAR@GOTPCREL(%rip), %rax LBB0_6: movq (%rax), %rcx leaq (%rbx,%rbx,2), %rdx leaq (%r12,%rdx,8), %rax movq %rcx, 16(%r12,%rdx,8) movq (%r15), %rcx movq %rcx, 8(%r12,%rdx,8) LBB0_12: movq %r14, (%rax) LBB0_13: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq (%r15), %rdi callq _MEM_P testq %rax, %rax je LBB0_13 ## %bb.8: movq (%r15), %rdi callq _MEM_EXPR testq %rax, %rax je LBB0_13 ## %bb.9: movq (%r15), %rdi callq _MEM_EXPR movq %rax, %rdi callq _track_expr_p testq %rax, %rax je LBB0_13 ## %bb.10: movq (%r15), %rdi callq _INT_MEM_OFFSET movl %eax, %edi callq _offset_valid_for_tracked_p testq %rax, %rax je LBB0_13 ## %bb.11: movq %r14, %rdi callq _BLOCK_FOR_INSN movl %eax, %r12d movl %eax, %edi callq _VTI movq 8(%rax), %rbx movl %r12d, %edi callq _VTI movslq (%rax), %rcx leal 1(%rcx), %edx movl %edx, (%rax) movq _MO_USE@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq (%rcx,%rcx,2), %rcx leaq (%rbx,%rcx,8), %rax movq %rdx, 16(%rbx,%rcx,8) movq (%r15), %rdx movq %rdx, 8(%rbx,%rcx,8) jmp LBB0_12 .cfi_endproc ## -- End function .comm _MO_USE,8,3 ## @MO_USE .comm _MO_USE_NO_VAR,8,3 ## @MO_USE_NO_VAR .no_dead_strip _add_uses .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_uses _add_uses: ; @add_uses .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr x0, [x0] bl _REG_P cbz x0, LBB0_9 ; %bb.1: mov x0, x19 bl _BLOCK_FOR_INSN mov x21, x0 bl _VTI ldr x22, [x0, #8] mov x0, x21 bl _VTI ldrsw x21, [x0] add w8, w21, #1 str w8, [x0] ldr x0, [x20] bl _REG_EXPR cbz x0, LBB0_5 ; %bb.2: ldr x0, [x20] bl _REG_EXPR bl _track_expr_p cbz x0, LBB0_5 ; %bb.3: ldr x0, [x20] bl _REG_OFFSET bl _offset_valid_for_tracked_p cbz x0, LBB0_5 ; %bb.4: Lloh0: adrp x8, _MO_USE@GOTPAGE Lloh1: ldr x8, [x8, _MO_USE@GOTPAGEOFF] b LBB0_6 LBB0_5: Lloh2: adrp x8, _MO_USE_NO_VAR@GOTPAGE Lloh3: ldr x8, [x8, _MO_USE_NO_VAR@GOTPAGEOFF] LBB0_6: ldr x9, [x8] mov w8, #24 madd x8, x21, x8, x22 LBB0_7: str x9, [x8, #16] ldr x9, [x20] stp x19, x9, [x8] LBB0_8: 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 LBB0_9: ldr x0, [x20] bl _MEM_P cbz x0, LBB0_8 ; %bb.10: ldr x0, [x20] bl _MEM_EXPR cbz x0, LBB0_8 ; %bb.11: ldr x0, [x20] bl _MEM_EXPR bl _track_expr_p cbz x0, LBB0_8 ; %bb.12: ldr x0, [x20] bl _INT_MEM_OFFSET bl _offset_valid_for_tracked_p cbz x0, LBB0_8 ; %bb.13: mov x0, x19 bl _BLOCK_FOR_INSN mov x21, x0 bl _VTI ldr x22, [x0, #8] mov x0, x21 bl _VTI ldrsw x8, [x0] add w9, w8, #1 str w9, [x0] Lloh4: adrp x9, _MO_USE@GOTPAGE Lloh5: ldr x9, [x9, _MO_USE@GOTPAGEOFF] Lloh6: ldr x9, [x9] mov w10, #24 madd x8, x8, x10, x22 b LBB0_7 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _MO_USE,8,3 ; @MO_USE .comm _MO_USE_NO_VAR,8,3 ; @MO_USE_NO_VAR .no_dead_strip _add_uses .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_var-tracking.c_add_uses.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pic32_spi_dma_unprep _pic32_spi_dma_unprep: ## @pic32_spi_dma_unprep .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 _PIC32F_DMA_PREP@GOTPCREL(%rip), %r15 movl (%r15), %edi leaq 8(%r14), %rbx movq %rbx, %rsi callq _test_bit testl %eax, %eax je LBB0_4 ## %bb.1: movl (%r15), %edi movq %rbx, %rsi callq _clear_bit movq (%r14), %rax movq 8(%rax), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq _dma_release_channel movq (%r14), %rax LBB0_3: movq (%rax), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _dma_release_channel ## TAILCALL LBB0_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PIC32F_DMA_PREP,4,2 ## @PIC32F_DMA_PREP .no_dead_strip _pic32_spi_dma_unprep .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pic32_spi_dma_unprep _pic32_spi_dma_unprep: ; @pic32_spi_dma_unprep .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 x21, _PIC32F_DMA_PREP@GOTPAGE Lloh1: ldr x21, [x21, _PIC32F_DMA_PREP@GOTPAGEOFF] ldr w0, [x21] add x20, x19, #8 mov x1, x20 bl _test_bit cbz w0, LBB0_5 ; %bb.1: ldr w0, [x21] mov x1, x20 bl _clear_bit ldr x8, [x19] ldr x0, [x8, #8] cbz x0, LBB0_3 ; %bb.2: bl _dma_release_channel ldr x8, [x19] LBB0_3: ldr x0, [x8] cbz x0, LBB0_5 ; %bb.4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _dma_release_channel LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PIC32F_DMA_PREP,4,2 ; @PIC32F_DMA_PREP .no_dead_strip _pic32_spi_dma_unprep .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-pic32.c_pic32_spi_dma_unprep.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_lvs_device _create_lvs_device: ## @create_lvs_device .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _usb_get_intfdata cmpl $0, 4(%rax) je LBB0_1 ## %bb.3: movq %rax, %r12 movq %r14, %rdi callq _interface_to_usbdev movq %rax, %rbx movl 8(%rax), %edi callq _bus_to_hcd movq %rax, %r15 movl 8(%rbx), %esi movl (%r12), %edx movq %rbx, %rdi callq _usb_alloc_dev testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %rbx movq _USB_SPEED_SUPER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movl $512, %edi ## imm = 0x200 callq _cpu_to_le16 movl %eax, (%rbx) movq _USB_STATE_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _usb_set_device_state movq (%r15), %rax movq (%rax), %rcx testq %rcx, %rcx je LBB0_9 ## %bb.6: movq %r15, %rdi movq %rbx, %rsi callq *%rcx testq %rax, %rax jns LBB0_9 ## %bb.7: leaq L_.str.2(%rip), %rsi movq %r14, %rdi callq _dev_err movq %rbx, %rdi callq _usb_put_dev jmp LBB0_8 LBB0_1: leaq L_.str(%rip), %rsi jmp LBB0_2 LBB0_4: leaq L_.str.1(%rip), %rsi LBB0_2: movq %r14, %rdi callq _dev_err LBB0_8: xorl %ebx, %ebx LBB0_9: 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 "No LVS device is present\n" L_.str.1: ## @.str.1 .asciz "Could not allocate lvs udev\n" .comm _USB_SPEED_SUPER,4,2 ## @USB_SPEED_SUPER .comm _USB_STATE_DEFAULT,4,2 ## @USB_STATE_DEFAULT L_.str.2: ## @.str.2 .asciz "Failed to enable\n" .no_dead_strip _create_lvs_device .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_lvs_device _create_lvs_device: ; @create_lvs_device .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 bl _usb_get_intfdata ldr w8, [x0, #4] cbz w8, LBB0_5 ; %bb.1: mov x20, x0 mov x0, x19 bl _interface_to_usbdev mov x22, x0 ldr w0, [x0, #8] bl _bus_to_hcd mov x21, x0 ldr w1, [x22, #8] ldr w2, [x20] mov x0, x22 bl _usb_alloc_dev mov x20, x0 cbz x0, LBB0_7 ; %bb.2: Lloh0: adrp x8, _USB_SPEED_SUPER@GOTPAGE Lloh1: ldr x8, [x8, _USB_SPEED_SUPER@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x20, #4] mov w0, #512 bl _cpu_to_le16 str w0, [x20] Lloh3: adrp x8, _USB_STATE_DEFAULT@GOTPAGE Lloh4: ldr x8, [x8, _USB_STATE_DEFAULT@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x20 bl _usb_set_device_state ldr x8, [x21] ldr x8, [x8] cbz x8, LBB0_8 ; %bb.3: mov x0, x21 mov x1, x20 blr x8 tbz x0, #63, LBB0_8 ; %bb.4: Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _dev_err mov x0, x20 bl _usb_put_dev b LBB0_6 LBB0_5: Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _dev_err LBB0_6: mov x20, #0 b LBB0_8 LBB0_7: Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _dev_err LBB0_8: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No LVS device is present\n" l_.str.1: ; @.str.1 .asciz "Could not allocate lvs udev\n" .comm _USB_SPEED_SUPER,4,2 ; @USB_SPEED_SUPER .comm _USB_STATE_DEFAULT,4,2 ; @USB_STATE_DEFAULT l_.str.2: ; @.str.2 .asciz "Failed to enable\n" .no_dead_strip _create_lvs_device .subsections_via_symbols
AnghaBench/linux/drivers/usb/misc/extr_lvstest.c_create_lvs_device.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _v4l2_m2m_dqbuf ## -- Begin function v4l2_m2m_dqbuf .p2align 4, 0x90 _v4l2_m2m_dqbuf: ## @v4l2_m2m_dqbuf .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 %rdx, %rbx movq %rsi, %rax movq %rdi, %r14 movl (%rdx), %esi movq %rax, %rdi callq _v4l2_m2m_get_vq movq _O_NONBLOCK@GOTPCREL(%rip), %rcx movl (%rcx), %edx andl (%r14), %edx movq %rax, %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _videobuf_dqbuf ## TAILCALL .cfi_endproc ## -- End function .comm _O_NONBLOCK,4,2 ## @O_NONBLOCK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _v4l2_m2m_dqbuf ; -- Begin function v4l2_m2m_dqbuf .p2align 2 _v4l2_m2m_dqbuf: ; @v4l2_m2m_dqbuf .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, x2 mov x8, x1 mov x20, x0 ldr w1, [x2] mov x0, x8 bl _v4l2_m2m_get_vq Lloh0: adrp x8, _O_NONBLOCK@GOTPAGE Lloh1: ldr x8, [x8, _O_NONBLOCK@GOTPAGEOFF] ldr w9, [x20] Lloh2: ldr w8, [x8] and w2, w8, w9 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _videobuf_dqbuf .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _O_NONBLOCK,4,2 ; @O_NONBLOCK .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/extr_v4l2-mem2mem.c_v4l2_m2m_dqbuf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _node_set_dirty ## -- Begin function node_set_dirty .p2align 4, 0x90 _node_set_dirty: ## @node_set_dirty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $0, (%rdi) je LBB0_2 ## %bb.1: popq %rbp retq LBB0_2: movq %rdi, %rsi movl $1, (%rdi) movq _server@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _list_add ## TAILCALL .cfi_endproc ## -- End function .comm _server,4,2 ## @server .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _node_set_dirty ; -- Begin function node_set_dirty .p2align 2 _node_set_dirty: ; @node_set_dirty .cfi_startproc ; %bb.0: ldr w8, [x0] cbz w8, LBB0_2 ; %bb.1: ret LBB0_2: mov x1, x0 mov w8, #1 str w8, [x0] Lloh0: adrp x8, _server@GOTPAGE Lloh1: ldr x8, [x8, _server@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _list_add .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _server,4,2 ; @server .subsections_via_symbols
AnghaBench/sway/sway/tree/extr_node.c_node_set_dirty.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function http_badreq_cb _http_badreq_cb: ## @http_badreq_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %eax, %eax callq _evbuffer_new movq %rax, %rbx movq %r14, %rdi callq _evhttp_request_get_output_headers leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rdx movl %eax, %edi callq _evhttp_add_header leaq L_.str.2(%rip), %rsi leaq L_.str.3(%rip), %rdx movq %rbx, %rdi callq _evbuffer_add_printf movq _HTTP_OK@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.4(%rip), %rdx movq %r14, %rdi movq %rbx, %rcx callq _evhttp_send_reply movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _evbuffer_free ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Content-Type" L_.str.1: ## @.str.1 .asciz "text/xml; charset=UTF-8" L_.str.2: ## @.str.2 .asciz "Hello, %s!" L_.str.3: ## @.str.3 .asciz "127.0.0.1" .comm _HTTP_OK,4,2 ## @HTTP_OK L_.str.4: ## @.str.4 .asciz "OK" .no_dead_strip _http_badreq_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function http_badreq_cb _http_badreq_cb: ; @http_badreq_cb .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 _evbuffer_new mov x20, x0 mov x0, x19 bl _evhttp_request_get_output_headers Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF Lloh2: adrp x2, l_.str.1@PAGE Lloh3: add x2, x2, l_.str.1@PAGEOFF bl _evhttp_add_header Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF Lloh6: adrp x2, l_.str.3@PAGE Lloh7: add x2, x2, l_.str.3@PAGEOFF mov x0, x20 bl _evbuffer_add_printf Lloh8: adrp x8, _HTTP_OK@GOTPAGE Lloh9: ldr x8, [x8, _HTTP_OK@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x2, l_.str.4@PAGE Lloh12: add x2, x2, l_.str.4@PAGEOFF mov x0, x19 mov x3, x20 bl _evhttp_send_reply mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _evbuffer_free .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .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 "Content-Type" l_.str.1: ; @.str.1 .asciz "text/xml; charset=UTF-8" l_.str.2: ; @.str.2 .asciz "Hello, %s!" l_.str.3: ; @.str.3 .asciz "127.0.0.1" .comm _HTTP_OK,4,2 ; @HTTP_OK l_.str.4: ; @.str.4 .asciz "OK" .no_dead_strip _http_badreq_cb .subsections_via_symbols
AnghaBench/freebsd/contrib/libevent/test/extr_regress_http.c_http_badreq_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dvd_read_disckey _dvd_read_disckey: ## @dvd_read_disckey .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, %r15 movq %rsi, %r14 movq %rdi, %r12 movq (%rdi), %rbx movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $8, %edi callq _kmalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r13 movq _CGC_DATA_READ@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r15, %rdi movq %r13, %rsi movl $8, %edx callq _init_cdrom_command movq _GPCMD_READ_DVD_STRUCTURE@GOTPCREL(%rip), %rax movl (%rax), %eax movq (%r15), %rcx movl %eax, (%rcx) movl (%r14), %eax movl %eax, 28(%rcx) movabsq $34359738368, %rax ## imm = 0x800000000 movq %rax, 32(%rcx) movl 4(%r14), %eax shll $6, %eax movl %eax, 40(%rcx) movq %r12, %rdi movq %r15, %rsi callq *(%rbx) movl %eax, %ebx testl %eax, %eax jne LBB0_4 ## %bb.3: movl 8(%r14), %edi movq %r13, %rsi addq $16, %rsi movl $4, %edx callq _memcpy LBB0_4: movq %r13, %rdi callq _kfree jmp LBB0_5 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_5: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _CGC_DATA_READ,4,2 ## @CGC_DATA_READ .comm _GPCMD_READ_DVD_STRUCTURE,4,2 ## @GPCMD_READ_DVD_STRUCTURE .no_dead_strip _dvd_read_disckey .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 dvd_read_disckey lCPI0_0: .long 0 ; 0x0 .long 8 ; 0x8 .section __TEXT,__text,regular,pure_instructions .p2align 2 _dvd_read_disckey: ; @dvd_read_disckey .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x20, x1 mov x22, x0 ldr x23, [x0] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #8 bl _kmalloc cbz x0, LBB0_4 ; %bb.1: mov x19, x0 Lloh3: adrp x8, _CGC_DATA_READ@GOTPAGE Lloh4: ldr x8, [x8, _CGC_DATA_READ@GOTPAGEOFF] Lloh5: ldr w3, [x8] mov x0, x21 mov x1, x19 mov w2, #8 bl _init_cdrom_command Lloh6: adrp x8, _GPCMD_READ_DVD_STRUCTURE@GOTPAGE Lloh7: ldr x8, [x8, _GPCMD_READ_DVD_STRUCTURE@GOTPAGEOFF] Lloh8: ldr w8, [x8] ldr x9, [x21] str w8, [x9] ldr w8, [x20] str w8, [x9, #28] Lloh9: adrp x8, lCPI0_0@PAGE Lloh10: ldr d0, [x8, lCPI0_0@PAGEOFF] str d0, [x9, #32] ldr w8, [x20, #4] lsl w8, w8, #6 str w8, [x9, #40] ldr x8, [x23] mov x0, x22 mov x1, x21 blr x8 mov x21, x0 cbnz w0, LBB0_3 ; %bb.2: ldr w0, [x20, #8] add x1, x19, #16 mov w2, #4 bl _memcpy LBB0_3: mov x0, x19 bl _kfree b LBB0_5 LBB0_4: Lloh11: adrp x8, _ENOMEM@GOTPAGE Lloh12: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh13: ldr w8, [x8] neg w21, w8 LBB0_5: 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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _CGC_DATA_READ,4,2 ; @CGC_DATA_READ .comm _GPCMD_READ_DVD_STRUCTURE,4,2 ; @GPCMD_READ_DVD_STRUCTURE .no_dead_strip _dvd_read_disckey .subsections_via_symbols
AnghaBench/linux/drivers/cdrom/extr_cdrom.c_dvd_read_disckey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eeconfig_read_led_matrix ## -- Begin function eeconfig_read_led_matrix .p2align 4, 0x90 _eeconfig_read_led_matrix: ## @eeconfig_read_led_matrix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EECONFIG_LED_MATRIX@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _eeprom_read_dword ## TAILCALL .cfi_endproc ## -- End function .comm _EECONFIG_LED_MATRIX,4,2 ## @EECONFIG_LED_MATRIX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eeconfig_read_led_matrix ; -- Begin function eeconfig_read_led_matrix .p2align 2 _eeconfig_read_led_matrix: ; @eeconfig_read_led_matrix .cfi_startproc ; %bb.0: Lloh0: adrp x8, _EECONFIG_LED_MATRIX@GOTPAGE Lloh1: ldr x8, [x8, _EECONFIG_LED_MATRIX@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _eeprom_read_dword .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EECONFIG_LED_MATRIX,4,2 ; @EECONFIG_LED_MATRIX .subsections_via_symbols
AnghaBench/qmk_firmware/quantum/extr_led_matrix.c_eeconfig_read_led_matrix.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ieee80211_mesh_path_root_timer _ieee80211_mesh_path_root_timer: ## @ieee80211_mesh_path_root_timer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _u@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rdi, %rsi callq _from_timer movq %rax, %rbx movq _MESH_WORK_ROOT@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 16(%rbx), %rsi callq _set_bit movq 8(%rbx), %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _ieee80211_queue_work ## TAILCALL .cfi_endproc ## -- End function .comm _u,4,2 ## @u .comm _MESH_WORK_ROOT,4,2 ## @MESH_WORK_ROOT .comm _sdata,8,3 ## @sdata .no_dead_strip _ieee80211_mesh_path_root_timer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ieee80211_mesh_path_root_timer _ieee80211_mesh_path_root_timer: ; @ieee80211_mesh_path_root_timer .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _u@GOTPAGE Lloh1: ldr x8, [x8, _u@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x1, x0 bl _from_timer mov x19, x0 Lloh3: adrp x8, _MESH_WORK_ROOT@GOTPAGE Lloh4: ldr x8, [x8, _MESH_WORK_ROOT@GOTPAGEOFF] Lloh5: ldr w0, [x8] add x1, x19, #16 bl _set_bit ldr x0, [x19, #8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ieee80211_queue_work .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _u,4,2 ; @u .comm _MESH_WORK_ROOT,4,2 ; @MESH_WORK_ROOT .comm _sdata,8,3 ; @sdata .no_dead_strip _ieee80211_mesh_path_root_timer .subsections_via_symbols
AnghaBench/linux/net/mac80211/extr_mesh.c_ieee80211_mesh_path_root_timer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kirin_pcie_get_clk _kirin_pcie_get_clk: ## @kirin_pcie_get_clk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx leaq L_.str(%rip), %rsi movq %r14, %rdi callq _devm_clk_get movq %rax, 32(%rbx) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_3 ## %bb.1: addq $32, %rbx jmp LBB0_2 LBB0_3: leaq L_.str.1(%rip), %rsi movq %r14, %rdi callq _devm_clk_get movq %rax, 24(%rbx) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_5 ## %bb.4: addq $24, %rbx jmp LBB0_2 LBB0_5: leaq L_.str.2(%rip), %rsi movq %r14, %rdi callq _devm_clk_get movq %rax, 16(%rbx) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_7 ## %bb.6: addq $16, %rbx jmp LBB0_2 LBB0_7: leaq L_.str.3(%rip), %rsi movq %r14, %rdi callq _devm_clk_get movq %rax, 8(%rbx) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_9 ## %bb.8: addq $8, %rbx jmp LBB0_2 LBB0_9: leaq L_.str.4(%rip), %rsi movq %r14, %rdi callq _devm_clk_get movq %rax, (%rbx) movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_10 LBB0_2: movq (%rbx), %rdi popq %rbx popq %r14 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_10: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pcie_phy_ref" L_.str.1: ## @.str.1 .asciz "pcie_aux" L_.str.2: ## @.str.2 .asciz "pcie_apb_phy" L_.str.3: ## @.str.3 .asciz "pcie_apb_sys" L_.str.4: ## @.str.4 .asciz "pcie_aclk" .no_dead_strip _kirin_pcie_get_clk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kirin_pcie_get_clk _kirin_pcie_get_clk: ; @kirin_pcie_get_clk .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 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _devm_clk_get mov x21, x19 str x0, [x21, #32]! bl _IS_ERR cbnz x0, LBB0_4 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _devm_clk_get mov x21, x19 str x0, [x21, #24]! bl _IS_ERR cbnz x0, LBB0_4 ; %bb.2: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _devm_clk_get mov x21, x19 str x0, [x21, #16]! bl _IS_ERR cbnz x0, LBB0_4 ; %bb.3: Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _devm_clk_get mov x21, x19 str x0, [x21, #8]! bl _IS_ERR cbz x0, LBB0_6 LBB0_4: mov x19, x21 LBB0_5: ldr 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 _PTR_ERR LBB0_6: Lloh8: adrp x1, l_.str.4@PAGE Lloh9: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 bl _devm_clk_get str x0, [x19] bl _IS_ERR cbnz x0, LBB0_5 ; %bb.7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pcie_phy_ref" l_.str.1: ; @.str.1 .asciz "pcie_aux" l_.str.2: ; @.str.2 .asciz "pcie_apb_phy" l_.str.3: ; @.str.3 .asciz "pcie_apb_sys" l_.str.4: ; @.str.4 .asciz "pcie_aclk" .no_dead_strip _kirin_pcie_get_clk .subsections_via_symbols
AnghaBench/linux/drivers/pci/controller/dwc/extr_pcie-kirin.c_kirin_pcie_get_clk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function appconfig_index_find _appconfig_index_find: ## @appconfig_index_find .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 testq %rdx, %rdx jne LBB0_2 ## %bb.1: movq %rbx, %rdi callq _simple_hash movq %rax, %rdx LBB0_2: movq %rdx, -24(%rbp) movq %rbx, -32(%rbp) leaq -32(%rbp), %rsi movq %r14, %rdi callq _avl_search_lock addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _appconfig_index_find .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function appconfig_index_find _appconfig_index_find: ; @appconfig_index_find .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 x20, x1 mov x19, x0 cbnz x2, LBB0_2 ; %bb.1: mov x0, x20 bl _simple_hash mov x2, x0 LBB0_2: stp x20, x2, [sp] mov x1, sp mov x0, x19 bl _avl_search_lock ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _appconfig_index_find .subsections_via_symbols
AnghaBench/netdata/libnetdata/config/extr_appconfig.c_appconfig_index_find.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cmd648_cable_detect _cmd648_cable_detect: ## @cmd648_cable_detect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rax movl (%rax), %edi callq _to_pci_dev movq _BMIDECSR@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq -12(%rbp), %rdx movq %rax, %rdi callq _pci_read_config_byte movl -12(%rbp), %eax movl (%rbx), %ecx btl %ecx, %eax jb LBB0_1 ## %bb.2: movq _ATA_CBL_PATA40@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _ATA_CBL_PATA80@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _BMIDECSR,4,2 ## @BMIDECSR .comm _ATA_CBL_PATA80,4,2 ## @ATA_CBL_PATA80 .comm _ATA_CBL_PATA40,4,2 ## @ATA_CBL_PATA40 .no_dead_strip _cmd648_cable_detect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cmd648_cable_detect _cmd648_cable_detect: ; @cmd648_cable_detect .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 ldr x8, [x0, #8] ldr w0, [x8] bl _to_pci_dev Lloh0: adrp x8, _BMIDECSR@GOTPAGE Lloh1: ldr x8, [x8, _BMIDECSR@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x2, sp, #12 bl _pci_read_config_byte ldr w8, [sp, #12] Lloh3: adrp x9, _ATA_CBL_PATA40@GOTPAGE Lloh4: ldr x9, [x9, _ATA_CBL_PATA40@GOTPAGEOFF] Lloh5: adrp x10, _ATA_CBL_PATA80@GOTPAGE Lloh6: ldr x10, [x10, _ATA_CBL_PATA80@GOTPAGEOFF] ldr w11, [x19] lsr w8, w8, w11 tst w8, #0x1 csel x8, x9, x10, 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 Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BMIDECSR,4,2 ; @BMIDECSR .comm _ATA_CBL_PATA80,4,2 ; @ATA_CBL_PATA80 .comm _ATA_CBL_PATA40,4,2 ; @ATA_CBL_PATA40 .no_dead_strip _cmd648_cable_detect .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/ata/extr_pata_cmd64x.c_cmd648_cable_detect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _splicingString_f ## -- Begin function splicingString_f .p2align 4, 0x90 _splicingString_f: ## @splicingString_f .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, %r15 callq _strlen movq %rax, %rbx movq %r14, %rdi callq _strlen leaq (%rbx,%rax), %r12 incq %r12 movq %r12, %rdi callq _malloc movq %rax, %rbx movq %rax, %rdi movq %r12, %rsi callq ___bzero movq %rbx, %rdi movq %r15, %rsi callq _strcpy movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _strcat ## TAILCALL .cfi_endproc ## -- End function .globl _simplest_yuv420_split ## -- Begin function simplest_yuv420_split .p2align 4, 0x90 _simplest_yuv420_split: ## @simplest_yuv420_split .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r12 movl %ecx, %ebx movl %edx, -48(%rbp) ## 4-byte Spill ## kill: def $esi killed $esi def $rsi movq %rsi, -56(%rbp) ## 8-byte Spill leaq L_.str(%rip), %rsi callq _fopen movq %rax, -80(%rbp) ## 8-byte Spill movq %r12, %rdi callq _strlen leaq 15(%rax), %r14 movq %r14, %rdi callq _malloc movq %rax, %r15 movq %rax, %rdi movq %r14, %rsi callq ___bzero movq %r15, %rdi movq %r12, %rsi callq _strcpy movq %r15, %rdi callq _strlen movabsq $3773863060506441071, %rcx ## imm = 0x345F74757074756F movq %rcx, (%r15,%rax) movabsq $34109571004903988, %rcx ## imm = 0x792E795F303234 movq %rcx, 7(%r15,%rax) leaq L_.str.2(%rip), %r14 movq %r15, %rdi movq %r14, %rsi callq _fopen movq %rax, -72(%rbp) ## 8-byte Spill movq %r12, %rdi callq _strlen leaq 15(%rax), %r15 movq %r15, %rdi callq _malloc movq %rax, %r13 movq %rax, %rdi movq %r15, %rsi callq ___bzero movq %r13, %rdi movq %r12, %rsi callq _strcpy movq %r13, %rdi callq _strlen movabsq $3773863060506441071, %rcx ## imm = 0x345F74757074756F movq %rcx, (%r13,%rax) movabsq $34109553825034804, %rcx ## imm = 0x792E755F303234 movq %rcx, 7(%r13,%rax) movq %r13, %rdi movq %r14, %rsi callq _fopen movq %rax, -64(%rbp) ## 8-byte Spill movq %r12, %rdi callq _strlen leaq 15(%rax), %r15 movq %r15, %rdi callq _malloc movq %rax, %r13 movq %rax, %rdi movq %r15, %rsi callq ___bzero movq %r13, %rdi movq %r12, %rsi movq -56(%rbp), %r12 ## 8-byte Reload callq _strcpy movq %r13, %rdi callq _strlen movabsq $3773863060506441071, %rcx ## imm = 0x345F74757074756F movq %rcx, (%r13,%rax) movabsq $34109558120002100, %rcx ## imm = 0x792E765F303234 movq %rcx, 7(%r13,%rax) movq %r13, %rdi movq %r14, %rsi callq _fopen movq %rax, %r13 imull -48(%rbp), %r12d ## 4-byte Folded Reload leal (%r12,%r12,2), %eax movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx movslq %ecx, %rdi movq %rdi, -88(%rbp) ## 8-byte Spill callq _malloc movq -80(%rbp), %rcx ## 8-byte Reload movq %rax, %r15 xorl %eax, %eax testq %rcx, %rcx je LBB1_8 ## %bb.1: movq -72(%rbp), %rdx ## 8-byte Reload testq %rdx, %rdx je LBB1_8 ## %bb.2: movq -64(%rbp), %rdx ## 8-byte Reload testq %rdx, %rdx je LBB1_8 ## %bb.3: testq %r13, %r13 je LBB1_8 ## %bb.4: testl %ebx, %ebx movq %r13, -48(%rbp) ## 8-byte Spill movq -88(%rbp), %r13 ## 8-byte Reload jle LBB1_7 ## %bb.5: movslq %r12d, %rax movq %rax, -56(%rbp) ## 8-byte Spill addq %r15, %rax movq %rax, -96(%rbp) ## 8-byte Spill leal 3(%r12), %eax testl %r12d, %r12d cmovnsl %r12d, %eax sarl $2, %eax leal (%r12,%r12,4), %ecx leal (%r12,%r12,4), %esi addl $3, %esi testl %ecx, %ecx cmovnsl %ecx, %esi movslq %eax, %r14 sarl $2, %esi movslq %esi, %r12 addq %r15, %r12 .p2align 4, 0x90 LBB1_6: ## =>This Inner Loop Header: Depth=1 movl $1, %esi movq %r15, %rdi movq %r13, %rdx movq -80(%rbp), %rcx ## 8-byte Reload callq _fread movl $1, %esi movq %r15, %rdi movq -56(%rbp), %rdx ## 8-byte Reload movq -72(%rbp), %rcx ## 8-byte Reload callq _fwrite movl $1, %esi movq -96(%rbp), %rdi ## 8-byte Reload movq %r14, %rdx movq -64(%rbp), %rcx ## 8-byte Reload callq _fwrite movl $1, %esi movq %r12, %rdi movq %r14, %rdx movq -48(%rbp), %rcx ## 8-byte Reload callq _fwrite decl %ebx jne LBB1_6 LBB1_7: movq %r15, %rdi callq _free movq -80(%rbp), %rdi ## 8-byte Reload callq _fclose movq -72(%rbp), %rdi ## 8-byte Reload callq _fclose movq -64(%rbp), %rdi ## 8-byte Reload callq _fclose movq -48(%rbp), %rdi ## 8-byte Reload callq _fclose movl $1, %eax LBB1_8: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "rb+" L_.str.1: ## @.str.1 .asciz "output_420_y.y" L_.str.2: ## @.str.2 .asciz "wb+" L_.str.3: ## @.str.3 .asciz "output_420_u.y" L_.str.4: ## @.str.4 .asciz "output_420_v.y" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _splicingString_f ; -- Begin function splicingString_f .p2align 2 _splicingString_f: ; @splicingString_f .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 bl _strlen mov x21, x0 mov x0, x19 bl _strlen add x8, x21, x0 add x21, x8, #1 mov x0, x21 bl _malloc mov x22, x0 mov x1, x21 bl _bzero mov x0, x22 mov x1, x20 bl _strcpy mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _strcat .cfi_endproc ; -- End function .globl _simplest_yuv420_split ; -- Begin function simplest_yuv420_split .p2align 2 _simplest_yuv420_split: ; @simplest_yuv420_split .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x25, x4 mov x19, x3 mov x23, x2 mov x24, x1 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _fopen mov x28, x0 mov x0, x25 bl _strlen add x20, x0, #15 mov x0, x20 bl _malloc mov x21, x0 mov x1, x20 bl _bzero mov x0, x21 mov x1, x25 bl _strcpy bl _strlen add x8, x21, x0 Lloh2: adrp x9, l_.str.1@PAGE Lloh3: add x9, x9, l_.str.1@PAGEOFF ldr x10, [x9] str x10, [x8] ldur x9, [x9, #7] stur x9, [x8, #7] Lloh4: adrp x26, l_.str.2@PAGE Lloh5: add x26, x26, l_.str.2@PAGEOFF mov x0, x21 mov x1, x26 bl _fopen mov x21, x0 mov x0, x25 bl _strlen add x20, x0, #15 mov x0, x20 bl _malloc mov x22, x0 mov x1, x20 bl _bzero mov x0, x22 mov x1, x25 bl _strcpy bl _strlen add x8, x22, x0 Lloh6: adrp x9, l_.str.3@PAGE Lloh7: add x9, x9, l_.str.3@PAGEOFF ldr x10, [x9] str x10, [x8] ldur x9, [x9, #7] stur x9, [x8, #7] mov x0, x22 mov x1, x26 bl _fopen mov x22, x0 mov x0, x25 bl _strlen add x20, x0, #15 mov x0, x20 bl _malloc mov x27, x0 mov x1, x20 bl _bzero mov x0, x27 mov x1, x25 bl _strcpy bl _strlen add x8, x27, x0 Lloh8: adrp x9, l_.str.4@PAGE Lloh9: add x9, x9, l_.str.4@PAGEOFF ldr x10, [x9] str x10, [x8] ldur x9, [x9, #7] stur x9, [x8, #7] mov x0, x27 mov x1, x26 bl _fopen mov x25, x0 mul w20, w23, w24 add w8, w20, w20, lsl #1 cmp w8, #0 cinc w8, w8, lt sbfx x23, x8, #1, #31 mov x0, x23 bl _malloc mov x24, x0 mov w0, #0 cbz x28, LBB1_8 ; %bb.1: cbz x21, LBB1_8 ; %bb.2: cbz x22, LBB1_8 ; %bb.3: cbz x25, LBB1_8 ; %bb.4: cmp w19, #1 str x25, [sp, #8] ; 8-byte Folded Spill mov x25, x22 mov x22, x21 mov x21, x28 b.lt LBB1_7 ; %bb.5: sxtw x26, w20 add x27, x24, x26 add w8, w20, #3 cmp w20, #0 csel w8, w8, w20, lt sbfx x28, x8, #2, #30 add w8, w20, w20, lsl #2 add w9, w8, #3 cmp w8, #0 csel w8, w9, w8, lt asr w8, w8, #2 add x20, x24, w8, sxtw LBB1_6: ; =>This Inner Loop Header: Depth=1 mov x0, x24 mov w1, #1 mov x2, x23 mov x3, x21 bl _fread mov x0, x24 mov w1, #1 mov x2, x26 mov x3, x22 bl _fwrite mov x0, x27 mov w1, #1 mov x2, x28 mov x3, x25 bl _fwrite mov x0, x20 mov w1, #1 mov x2, x28 ldr x3, [sp, #8] ; 8-byte Folded Reload bl _fwrite subs w19, w19, #1 b.ne LBB1_6 LBB1_7: mov x0, x24 bl _free mov x0, x21 bl _fclose mov x0, x22 bl _fclose mov x0, x25 bl _fclose ldr x0, [sp, #8] ; 8-byte Folded Reload bl _fclose mov w0, #1 LBB1_8: 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 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 "rb+" l_.str.1: ; @.str.1 .asciz "output_420_y.y" l_.str.2: ; @.str.2 .asciz "wb+" l_.str.3: ; @.str.3 .asciz "output_420_u.y" l_.str.4: ; @.str.4 .asciz "output_420_v.y" .subsections_via_symbols
the_stack_data/11074603.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function luaL_addlstring _luaL_addlstring: ## @luaL_addlstring .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 testq %rdx, %rdx je LBB0_3 ## %bb.1: movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl (%r14,%rbx), %esi movq %r15, %rdi callq _luaL_addchar incq %rbx cmpq %rbx, %r12 jne LBB0_2 LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _luaL_addlstring .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function luaL_addlstring _luaL_addlstring: ; @luaL_addlstring .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 cbz x2, LBB0_3 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 sub x19, x19, #1 ldrsb w1, [x20], #1 mov x0, x21 bl _luaL_addchar cbnz x19, LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _luaL_addlstring .subsections_via_symbols
AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_luaL_addlstring.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdfs_binlog_compress_func ## -- Begin function fdfs_binlog_compress_func .p2align 4, 0x90 _fdfs_binlog_compress_func: ## @fdfs_binlog_compress_func .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_PATH_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq _binlog_compress_index@GOTPCREL(%rip), %r12 movl (%r12), %eax movq _g_binlog_index@GOTPCREL(%rip), %r13 cmpl (%r13), %eax jge LBB0_6 ## %bb.1: xorl %eax, %eax callq _calc_compress_until_binlog_index movl (%r12), %ebx cmpl %eax, %ebx jge LBB0_6 ## %bb.2: movl %eax, %r14d jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 incl %ebx movl %ebx, (%r12) movl (%r13), %edi callq _write_to_binlog_index cmpl %ebx, %r14d je LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r15, %rsi callq _get_binlog_readable_filename_ex movq %r15, %rdi callq _compress_binlog_file testl %eax, %eax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq _ENOENT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_5 LBB0_6: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_8 ## %bb.7: xorl %eax, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_PATH_SIZE,4,2 ## @MAX_PATH_SIZE .comm _binlog_compress_index,4,2 ## @binlog_compress_index .comm _g_binlog_index,4,2 ## @g_binlog_index .comm _ENOENT,4,2 ## @ENOENT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdfs_binlog_compress_func ; -- Begin function fdfs_binlog_compress_func .p2align 2 _fdfs_binlog_compress_func: ; @fdfs_binlog_compress_func .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 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, #-56] Lloh3: adrp x8, _MAX_PATH_SIZE@GOTPAGE Lloh4: ldr x8, [x8, _MAX_PATH_SIZE@GOTPAGEOFF] Lloh5: ldr w8, [x8] mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x19, x9, x8 mov sp, x19 Lloh8: adrp x22, _binlog_compress_index@GOTPAGE Lloh9: ldr x22, [x22, _binlog_compress_index@GOTPAGEOFF] ldr w8, [x22] Lloh10: adrp x23, _g_binlog_index@GOTPAGE Lloh11: ldr x23, [x23, _g_binlog_index@GOTPAGEOFF] ldr w9, [x23] cmp w8, w9 b.ge LBB0_6 ; %bb.1: bl _calc_compress_until_binlog_index ldr w21, [x22] cmp w21, w0 b.ge LBB0_6 ; %bb.2: mov x20, x0 Lloh12: adrp x24, _ENOENT@GOTPAGE Lloh13: ldr x24, [x24, _ENOENT@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w21, w21, #1 str w21, [x22] ldr w0, [x23] bl _write_to_binlog_index cmp w20, w21 b.eq LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x19 bl _get_binlog_readable_filename_ex mov x0, x19 bl _compress_binlog_file cbz w0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x24] cmp w0, w8 b.eq LBB0_3 LBB0_6: ldur x8, [x29, #-56] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: mov w0, #0 sub sp, x29, #48 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_8: bl ___stack_chk_fail .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _MAX_PATH_SIZE,4,2 ; @MAX_PATH_SIZE .comm _binlog_compress_index,4,2 ; @binlog_compress_index .comm _g_binlog_index,4,2 ; @g_binlog_index .comm _ENOENT,4,2 ; @ENOENT .subsections_via_symbols
AnghaBench/fastdfs/storage/extr_storage_sync.c_fdfs_binlog_compress_func.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gss_decode _gss_decode: ## @gss_decode .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 $48, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movl %edx, -64(%rbp) movq %rsi, -56(%rbp) movl (%rdi), %esi leaq -20(%rbp), %rdi leaq -64(%rbp), %rdx leaq -40(%rbp), %rcx leaq -44(%rbp), %r8 leaq -48(%rbp), %r9 callq _gss_unwrap movl %eax, %edi callq _GSS_ERROR movl $-1, %ebx testq %rax, %rax jne LBB0_2 ## %bb.1: movq -32(%rbp), %rsi movl -40(%rbp), %edx movq %r14, %rdi callq _memmove movl -40(%rbp), %ebx leaq -20(%rbp), %rdi leaq -40(%rbp), %rsi callq _gss_release_buffer LBB0_2: movl %ebx, %eax addq $48, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _gss_decode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gss_decode _gss_decode: ; @gss_decode .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 str w2, [sp, #24] str x1, [sp, #32] ldr w1, [x0] sub x0, x29, #20 add x2, sp, #24 add x3, sp, #8 mov x4, sp add x5, sp, #4 bl _gss_unwrap bl _GSS_ERROR cbz x0, LBB0_2 ; %bb.1: mov w19, #-1 b LBB0_3 LBB0_2: ldr x1, [sp, #16] ldr w2, [sp, #8] mov x0, x19 bl _memmove ldr w19, [sp, #8] sub x0, x29, #20 add x1, sp, #8 bl _gss_release_buffer LBB0_3: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .no_dead_strip _gss_decode .subsections_via_symbols
AnghaBench/freebsd/crypto/heimdal/appl/ftp/ftp/extr_gssapi.c_gss_decode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _MATRIX_ROWS,4,2 ## @MATRIX_ROWS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _MATRIX_ROWS,4,2 ; @MATRIX_ROWS .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/ergodone/extr_matrix.c_matrix_rows.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _checkError ## -- Begin function checkError .p2align 4, 0x90 _checkError: ## @checkError .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx callq _ferror testl %eax, %eax jne LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %rbp retq LBB0_2: leaq L_.str(%rip), %rdi movq %rbx, %rsi movl %eax, %edx xorl %eax, %eax callq _printf movl $1, %edi callq _exit .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 leaq L_.str.1(%rip), %rdi leaq L_.str.2(%rip), %rsi callq _fopen testq %rax, %rax je LBB1_1 ## %bb.2: movq %rax, %rbx movq %rax, %rdi callq _feof xorl %r14d, %r14d testl %eax, %eax je LBB1_3 LBB1_17: movq %rbx, %rdi callq _fclose leaq L_.str.4(%rip), %rdi movl %r14d, %esi xorl %eax, %eax callq _printf jmp LBB1_18 LBB1_1: leaq L_str(%rip), %rdi callq _puts LBB1_18: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_3: leaq L_.str.6(%rip), %r13 leaq -52(%rbp), %r15 leaq -48(%rbp), %r12 xorl %r14d, %r14d jmp LBB1_4 .p2align 4, 0x90 LBB1_11: ## in Loop: Header=BB1_4 Depth=1 movq %rbx, %rdi callq _ferror movl $0, %ecx testl %eax, %eax jne LBB1_12 LBB1_16: ## in Loop: Header=BB1_4 Depth=1 addl %ecx, %r14d movq %rbx, %rdi callq _feof testl %eax, %eax jne LBB1_17 LBB1_4: ## =>This Loop Header: Depth=1 ## Child Loop BB1_7 Depth 2 movl $0, -52(%rbp) movl $0, -48(%rbp) movb $0, -41(%rbp) movq %rbx, %rdi movq %r13, %rsi movq %r15, %rdx movq %r12, %rcx leaq -41(%rbp), %r8 xorl %eax, %eax callq _fscanf cmpl $-1, %eax je LBB1_11 ## %bb.5: ## in Loop: Header=BB1_4 Depth=1 movl $0, %ecx cmpl $3, %eax jne LBB1_16 ## %bb.6: ## in Loop: Header=BB1_4 Depth=1 movq %r15, %r12 movq %r13, %r15 xorl %r13d, %r13d jmp LBB1_7 .p2align 4, 0x90 LBB1_14: ## in Loop: Header=BB1_7 Depth=2 movsbl -41(%rbp), %ecx xorl %edx, %edx cmpl %ecx, %eax sete %dl addl %edx, %r13d LBB1_7: ## Parent Loop BB1_4 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rbx, %rdi callq _fgetc ## kill: def $eax killed $eax def $rax leal 1(%rax), %ecx cmpl $14, %ecx ja LBB1_14 ## %bb.8: ## in Loop: Header=BB1_7 Depth=2 movl $18433, %edx ## imm = 0x4801 btl %ecx, %edx jae LBB1_14 ## %bb.9: ## in Loop: Header=BB1_4 Depth=1 movq %rbx, %rdi callq _ferror testl %eax, %eax jne LBB1_10 ## %bb.15: ## in Loop: Header=BB1_4 Depth=1 cmpl -52(%rbp), %r13d setge %al cmpl -48(%rbp), %r13d setle %cl andb %al, %cl movzbl %cl, %ecx movq %r15, %r13 movq %r12, %r15 leaq -48(%rbp), %r12 jmp LBB1_16 LBB1_12: leaq L_.str(%rip), %rdi leaq L_.str.7(%rip), %rsi jmp LBB1_13 LBB1_10: leaq L_.str(%rip), %rdi leaq L_.str.5(%rip), %rsi LBB1_13: movl %eax, %edx xorl %eax, %eax callq _printf movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Error %s: %d\n" L_.str.1: ## @.str.1 .asciz "input.raw" L_.str.2: ## @.str.2 .asciz "r" L_.str.4: ## @.str.4 .asciz "Count: %d\n" L_.str.5: ## @.str.5 .asciz "reading password" L_.str.6: ## @.str.6 .asciz "%d-%d %c: " L_.str.7: ## @.str.7 .asciz "reading policy" L_str: ## @str .asciz "Error opening file!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _checkError ; -- Begin function checkError .p2align 2 _checkError: ; @checkError .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, x1 bl _ferror ; kill: def $w0 killed $w0 def $x0 cbnz w0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_2: stp x19, x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 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 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 cbz x0, LBB1_3 ; %bb.1: mov x19, x0 bl _feof mov w21, #0 cbz w0, LBB1_5 LBB1_2: mov x0, x19 bl _fclose str x21, [sp] Lloh6: adrp x0, l_.str.4@PAGE Lloh7: add x0, x0, l_.str.4@PAGEOFF bl _printf b LBB1_4 LBB1_3: Lloh8: adrp x0, l_str@PAGE Lloh9: add x0, x0, l_str@PAGEOFF bl _puts LBB1_4: mov w0, #0 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 LBB1_5: add x22, sp, #39 add x23, sp, #40 add x24, sp, #44 mov w25, #1 mov w26, #18433 Lloh10: adrp x20, l_.str.6@PAGE Lloh11: add x20, x20, l_.str.6@PAGEOFF b LBB1_7 LBB1_6: ; in Loop: Header=BB1_7 Depth=1 add w21, w8, w21 mov x0, x19 bl _feof cbnz w0, LBB1_2 LBB1_7: ; =>This Loop Header: Depth=1 ; Child Loop BB1_10 Depth 2 str xzr, [sp, #40] strb wzr, [sp, #39] stp x23, x22, [sp, #8] str x24, [sp] mov x0, x19 mov x1, x20 bl _fscanf cmn w0, #1 b.eq LBB1_12 ; %bb.8: ; in Loop: Header=BB1_7 Depth=1 mov w8, #0 cmp w0, #3 b.ne LBB1_6 ; %bb.9: ; in Loop: Header=BB1_7 Depth=1 mov w27, #0 LBB1_10: ; Parent Loop BB1_7 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x19 bl _fgetc add w8, w0, #1 cmp w8, #14 lsl w8, w25, w8 and w8, w8, w26 ccmp w8, #0, #4, ls b.ne LBB1_14 ; %bb.11: ; in Loop: Header=BB1_10 Depth=2 ldrsb w8, [sp, #39] cmp w0, w8 cinc w27, w27, eq b LBB1_10 LBB1_12: ; in Loop: Header=BB1_7 Depth=1 mov x0, x19 bl _ferror ; kill: def $w0 killed $w0 def $x0 cbnz w0, LBB1_16 ; %bb.13: ; in Loop: Header=BB1_7 Depth=1 mov w8, #0 b LBB1_6 LBB1_14: ; in Loop: Header=BB1_7 Depth=1 mov x0, x19 bl _ferror ; kill: def $w0 killed $w0 def $x0 cbnz w0, LBB1_17 ; %bb.15: ; in Loop: Header=BB1_7 Depth=1 ldr w8, [sp, #44] cmp w27, w8 ldr w8, [sp, #40] ccmp w27, w8, #0, ge cset w8, le b LBB1_6 LBB1_16: Lloh12: adrp x8, l_.str.7@PAGE Lloh13: add x8, x8, l_.str.7@PAGEOFF b LBB1_18 LBB1_17: Lloh14: adrp x8, l_.str.5@PAGE Lloh15: add x8, x8, l_.str.5@PAGEOFF LBB1_18: stp x8, x0, [sp] Lloh16: adrp x0, l_.str@PAGE Lloh17: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #1 bl _exit .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Error %s: %d\n" l_.str.1: ; @.str.1 .asciz "input.raw" l_.str.2: ; @.str.2 .asciz "r" l_.str.4: ; @.str.4 .asciz "Count: %d\n" l_.str.5: ; @.str.5 .asciz "reading password" l_.str.6: ; @.str.6 .asciz "%d-%d %c: " l_.str.7: ; @.str.7 .asciz "reading policy" l_str: ; @str .asciz "Error opening file!" .subsections_via_symbols
the_stack_data/92327960.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uart_init ## -- Begin function uart_init .p2align 4, 0x90 _uart_init: ## @uart_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _SERIAL_UART_INIT ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uart_init ; -- Begin function uart_init .p2align 2 _uart_init: ; @uart_init .cfi_startproc ; %bb.0: b _SERIAL_UART_INIT .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/dichotomy/extr_dichotomy.c_uart_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vsnprlcat ## -- Begin function vsnprlcat .p2align 4, 0x90 _vsnprlcat: ## @vsnprlcat .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq _strlen addq %rax, %rbx subq %rax, %r12 movq %rbx, %rdi movq %r12, %rsi movq %r15, %rdx movl %r14d, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _vsnprintf ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vsnprlcat ; -- Begin function vsnprlcat .p2align 2 _vsnprlcat: ; @vsnprlcat .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 x22, x0 bl _strlen add x8, x22, x0 sub x1, x21, x0 mov x0, x8 mov x2, x20 mov x3, 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 _vsnprintf .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/openbsm/bin/auditdistd/extr_subr.c_vsnprlcat.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function exec_stmt_return _exec_stmt_return: ## @exec_stmt_return .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 cmpq $0, 56(%rdi) je LBB0_1 LBB0_12: movq _PLPGSQL_RC_RETURN@GOTPCREL(%rip), %rax movl (%rax), %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_1: movq %rdi, %rbx movq $0, 24(%rdi) movl $1, (%rdi) movq _InvalidOid@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 16(%rdi) movq (%rsi), %rax movq 48(%rdi), %rcx movq (%rcx,%rax,8), %r14 movl (%r14), %edx leal -128(%rdx), %eax cmpl $3, %eax ja LBB0_11 ## %bb.2: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_10: leaq 24(%rbx), %r8 leaq 16(%rbx), %rdx leaq -20(%rbp), %rcx movq %rbx, %rdi movq %r14, %rsi movq %rbx, %r9 callq _exec_eval_datum jmp LBB0_12 LBB0_11: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi ## kill: def $edx killed $edx killed $rdx callq _elog jmp LBB0_12 LBB0_7: movl 8(%r14), %edi testl %edi, %edi je LBB0_12 ## %bb.8: callq _ExpandedRecordIsEmpty testl %eax, %eax jne LBB0_12 ## %bb.9: movl 8(%r14), %edi callq _ExpandedRecordGetDatum movq %rax, 24(%rbx) movl $0, (%rbx) movq (%r14), %rax movq %rax, 16(%rbx) jmp LBB0_12 LBB0_3: movq %rbx, %rdi movq %r14, %rsi callq _plpgsql_fulfill_promise movl (%r14), %edx LBB0_4: movq 16(%r14), %rax movq %rax, 24(%rbx) movl %edx, (%rbx) movq 8(%r14), %rax movq (%rax), %rax movq %rax, 16(%rbx) cmpq $0, 40(%rbx) je LBB0_12 ## %bb.5: testl %edx, %edx jne LBB0_12 ## %bb.6: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str(%rip), %rdi callq _errmsg movl %ebx, %edi movl %eax, %esi callq _ereport jmp LBB0_12 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 LJTI0_0: .long L0_0_set_4 .long L0_0_set_10 .long L0_0_set_7 .long L0_0_set_3 .end_data_region ## -- End function .comm _PLPGSQL_RC_RETURN,4,2 ## @PLPGSQL_RC_RETURN .comm _InvalidOid,8,3 ## @InvalidOid .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_DATATYPE_MISMATCH,4,2 ## @ERRCODE_DATATYPE_MISMATCH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cannot return non-composite value from function returning composite type" L_.str.1: ## @.str.1 .asciz "unrecognized dtype: %d" .comm _VOIDOID,8,3 ## @VOIDOID .comm _PROKIND_PROCEDURE,8,3 ## @PROKIND_PROCEDURE .no_dead_strip _exec_stmt_return .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function exec_stmt_return _exec_stmt_return: ; @exec_stmt_return .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #56] cbz x8, LBB0_2 LBB0_1: Lloh0: adrp x8, _PLPGSQL_RC_RETURN@GOTPAGE Lloh1: ldr x8, [x8, _PLPGSQL_RC_RETURN@GOTPAGEOFF] Lloh2: 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 LBB0_2: mov x19, x0 mov x4, x0 str xzr, [x4, #24]! mov w8, #1 Lloh3: adrp x9, _InvalidOid@GOTPAGE Lloh4: ldr x9, [x9, _InvalidOid@GOTPAGEOFF] str w8, [x0] Lloh5: ldr x9, [x9] mov x8, x0 str x9, [x8, #16]! ldr x9, [x1] ldr x10, [x0, #48] ldr x20, [x10, x9, lsl #3] ldr w2, [x20] sub w9, w2, #128 cmp w9, #3 b.hi LBB0_5 ; %bb.3: Lloh6: adrp x10, lJTI0_0@PAGE Lloh7: add x10, x10, lJTI0_0@PAGEOFF adr x11, LBB0_4 ldrb w12, [x10, x9] add x11, x11, x12, lsl #2 br x11 LBB0_4: add x3, sp, #12 mov x0, x19 mov x1, x20 mov x2, x8 mov x5, x19 bl _exec_eval_datum b LBB0_1 LBB0_5: Lloh8: adrp x8, _ERROR@GOTPAGE Lloh9: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh10: ldr w0, [x8] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF bl _elog b LBB0_1 LBB0_6: ldr w0, [x20, #8] cbz w0, LBB0_1 ; %bb.7: bl _ExpandedRecordIsEmpty cbnz w0, LBB0_1 ; %bb.8: ldr w0, [x20, #8] bl _ExpandedRecordGetDatum str wzr, [x19] ldr x8, [x20] stp x8, x0, [x19, #16] b LBB0_1 LBB0_9: mov x0, x19 mov x1, x20 bl _plpgsql_fulfill_promise ldr w2, [x20] LBB0_10: str w2, [x19] ldp x9, x8, [x20, #8] ldr x9, [x9] stp x9, x8, [x19, #16] ldr x8, [x19, #40] cbz x8, LBB0_1 ; %bb.11: cbnz w2, LBB0_1 ; %bb.12: Lloh13: adrp x8, _ERROR@GOTPAGE Lloh14: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh15: ldr w19, [x8] Lloh16: adrp x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE Lloh17: ldr x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF] Lloh18: ldr w0, [x8] bl _errcode Lloh19: adrp x0, l_.str@PAGE Lloh20: add x0, x0, l_.str@PAGEOFF bl _errmsg mov x1, x0 mov x0, x19 bl _ereport b LBB0_1 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_10-LBB0_4)>>2 .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_9-LBB0_4)>>2 ; -- End function .comm _PLPGSQL_RC_RETURN,4,2 ; @PLPGSQL_RC_RETURN .comm _InvalidOid,8,3 ; @InvalidOid .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_DATATYPE_MISMATCH,4,2 ; @ERRCODE_DATATYPE_MISMATCH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cannot return non-composite value from function returning composite type" l_.str.1: ; @.str.1 .asciz "unrecognized dtype: %d" .comm _VOIDOID,8,3 ; @VOIDOID .comm _PROKIND_PROCEDURE,8,3 ; @PROKIND_PROCEDURE .no_dead_strip _exec_stmt_return .subsections_via_symbols
AnghaBench/postgres/src/pl/plpgsql/src/extr_pl_exec.c_exec_stmt_return.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 leaq L_.str(%rip), %rdi leaq -48(%rbp), %rsi leaq -36(%rbp), %rdx xorl %eax, %eax callq _scanf cmpl $2, %eax jne LBB0_7 ## %bb.1: leaq L_.str.1(%rip), %r14 leaq L_.str(%rip), %r15 leaq -48(%rbp), %r12 leaq -36(%rbp), %rbx jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movl $0, -36(%rbp) movq %r14, %rdi movb $1, %al callq _printf movq %r15, %rdi movq %r12, %rsi movq %rbx, %rdx xorl %eax, %eax callq _scanf cmpl $2, %eax jne LBB0_7 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero movl -36(%rbp), %eax decl %eax je LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movapd %xmm0, %xmm1 .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 sqrtsd %xmm1, %xmm1 addsd %xmm1, %xmm0 decl %eax jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movsd %xmm1, -48(%rbp) jmp LBB0_6 LBB0_7: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lf%d" L_.str.1: ## @.str.1 .asciz "%.2lf\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, #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 add x21, sp, #20 add x22, sp, #24 stp x22, x21, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf cmp w0, #2 b.ne LBB0_7 ; %bb.1: Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF Lloh4: adrp x20, l_.str@PAGE Lloh5: add x20, x20, l_.str@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 str wzr, [sp, #20] str d0, [sp] mov x0, x19 bl _printf stp x22, x21, [sp] mov x0, x20 bl _scanf cmp w0, #2 b.ne LBB0_7 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ldr d0, [sp, #24] ldr w8, [sp, #20] subs w8, w8, #1 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 fmov d1, d0 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 fsqrt d1, d1 fadd d0, d0, d1 subs w8, w8, #1 b.ne LBB0_5 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 str d1, [sp, #24] b LBB0_2 LBB0_7: 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 Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%lf%d" l_.str.1: ; @.str.1 .asciz "%.2lf\n" .subsections_via_symbols
the_stack_data/40762644.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_http_get_forwarded_addr_internal _ngx_http_get_forwarded_addr_internal: ## @ngx_http_get_forwarded_addr_internal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -52(%rbp) ## 4-byte Spill movq %r8, %r14 movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %rbx movl (%rsi), %edi movq %r8, %rsi callq _ngx_cidr_match movq _NGX_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 ## %bb.2: movq %rbx, -64(%rbp) ## 8-byte Spill leaq (%r12,%r13), %rbx decq %rbx cmpq %r13, %rbx movq %r14, -72(%rbp) ## 8-byte Spill ja LBB0_3 jmp LBB0_7 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 decq %r12 decq %rbx cmpq %r13, %rbx jbe LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %eax cmpb $44, %al je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpb $32, %al je LBB0_5 LBB0_7: cmpq %r13, %rbx jbe LBB0_8 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %eax cmpb $44, %al je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 cmpb $32, %al je LBB0_11 ## %bb.12: ## in Loop: Header=BB0_9 Depth=1 decq %rbx cmpq %r13, %rbx ja LBB0_9 ## %bb.13: movq %rcx, %r14 jmp LBB0_14 LBB0_6: movq %rcx, %r14 movl $1, %r12d LBB0_14: movq %r13, %rbx jmp LBB0_15 LBB0_8: movq %rcx, %r14 jmp LBB0_15 LBB0_11: movq %rcx, %r14 incq %rbx LBB0_15: movq -64(%rbp), %rax ## 8-byte Reload movl (%rax), %edi addq %r13, %r12 subq %rbx, %r12 leaq -48(%rbp), %rsi movq %rbx, %rdx movq %r12, %rcx callq _ngx_parse_addr_port cmpq (%r14), %rax jne LBB0_1 ## %bb.16: movl -48(%rbp), %ecx movl %ecx, (%r15) cmpl $0, -52(%rbp) ## 4-byte Folded Reload je LBB0_21 ## %bb.17: cmpq %r13, %rbx jbe LBB0_21 ## %bb.18: movq %r13, %rcx notq %rcx addq %rbx, %rcx movq -64(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi movq %r13, %rdx movq -72(%rbp), %r8 ## 8-byte Reload movl $1, %r9d callq _ngx_http_get_forwarded_addr_internal movq _NGX_DECLINED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_21 ## %bb.19: movq _NGX_DONE@GOTPCREL(%rip), %rax jmp LBB0_20 LBB0_1: movq _NGX_DECLINED@GOTPCREL(%rip), %rax LBB0_20: movq (%rax), %rax LBB0_21: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NGX_OK,8,3 ## @NGX_OK .comm _NGX_DECLINED,8,3 ## @NGX_DECLINED .comm _NGX_DONE,8,3 ## @NGX_DONE .no_dead_strip _ngx_http_get_forwarded_addr_internal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_http_get_forwarded_addr_internal _ngx_http_get_forwarded_addr_internal: ; @ngx_http_get_forwarded_addr_internal .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x23, x5 mov x19, x4 mov x24, x3 mov x20, x2 mov x21, x1 mov x22, x0 ldr w0, [x1] mov x1, x4 bl _ngx_cidr_match Lloh0: adrp x26, _NGX_OK@GOTPAGE Lloh1: ldr x26, [x26, _NGX_OK@GOTPAGEOFF] ldr x8, [x26] cmp x0, x8 b.ne LBB0_17 ; %bb.1: add x8, x20, x24 sub x25, x8, #1 cmp x25, x20 b.ls LBB0_7 ; %bb.2: sub x8, x24, #1 mov w24, #1 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 sub x8, x8, #1 add x9, x20, x8 cmp x9, x20 b.ls LBB0_11 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x20, x8] cmp w9, #44 b.eq LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp w9, #32 b.eq LBB0_3 ; %bb.6: add x25, x20, x8 add x24, x8, #1 LBB0_7: cmp x25, x20 b.ls LBB0_13 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x25] cmp w8, #44 b.eq LBB0_12 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 cmp w8, #32 b.eq LBB0_12 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 sub x25, x25, #1 cmp x25, x20 b.hi LBB0_8 LBB0_11: mov x25, x20 b LBB0_13 LBB0_12: add x25, x25, #1 LBB0_13: ldr w0, [x22] add x8, x24, x20 sub x3, x8, x25 add x1, sp, #8 mov x2, x25 bl _ngx_parse_addr_port ldr x8, [x26] cmp x0, x8 b.ne LBB0_17 ; %bb.14: ldr w8, [sp, #8] str w8, [x21] cbz w23, LBB0_18 ; %bb.15: cmp x25, x20 b.ls LBB0_18 ; %bb.16: mvn x8, x20 add x3, x8, x25 mov x0, x22 mov x1, x21 mov x2, x20 mov x4, x19 mov w5, #1 bl _ngx_http_get_forwarded_addr_internal Lloh2: adrp x8, _NGX_DECLINED@GOTPAGE Lloh3: ldr x8, [x8, _NGX_DECLINED@GOTPAGEOFF] Lloh4: ldr x8, [x8] Lloh5: adrp x9, _NGX_DONE@GOTPAGE Lloh6: ldr x9, [x9, _NGX_DONE@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x0, x8 csel x0, x9, x0, eq b LBB0_18 LBB0_17: Lloh8: adrp x8, _NGX_DECLINED@GOTPAGE Lloh9: ldr x8, [x8, _NGX_DECLINED@GOTPAGEOFF] Lloh10: ldr x0, [x8] LBB0_18: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _NGX_OK,8,3 ; @NGX_OK .comm _NGX_DECLINED,8,3 ; @NGX_DECLINED .comm _NGX_DONE,8,3 ; @NGX_DONE .no_dead_strip _ngx_http_get_forwarded_addr_internal .subsections_via_symbols
AnghaBench/nginx/src/http/extr_ngx_http_core_module.c_ngx_http_get_forwarded_addr_internal.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rtl8723be_set_iqk_matrix _rtl8723be_set_iqk_matrix: ## @rtl8723be_set_iqk_matrix .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 %rcx, %rax movq %rdi, %r14 cmpl $42, %esi movl $42, %ecx cmovll %esi, %ecx movq _ofdmswing_table@GOTPCREL(%rip), %rsi movq (%rsi), %rsi movslq %ecx, %rcx movl (%rsi,%rcx,4), %ecx testq %rax, %rax je LBB0_3 ## %bb.1: cmpl $128, %edx jne LBB0_6 ## %bb.2: shrq $22, %rcx movl $4294966272, %r15d ## imm = 0xFFFFFC00 movl %r8d, %ebx orl %r15d, %ebx orl %eax, %r15d testl $512, %eax ## imm = 0x200 cmovel %eax, %r15d imull %ecx, %r15d movl %r15d, %edx shrl $8, %edx andl $1023, %edx ## imm = 0x3FF testl $512, %r8d ## imm = 0x200 cmovel %r8d, %ebx imull %ecx, %ebx shll $22, %ecx movl %ebx, %eax shll $8, %eax andl $4128768, %eax ## imm = 0x3F0000 orl %ecx, %eax orl %edx, %eax movq _ROFDM0_XATXIQIMBALANCE@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _MASKDWORD@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq %r14, %rdi movl %eax, %ecx callq _rtl_set_bbreg movq _ROFDM0_XCTXAFE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MASKH4BITS@GOTPCREL(%rip), %rax movl (%rax), %edx shrl $14, %ebx andl $15, %ebx movq %r14, %rdi movl %ebx, %ecx callq _rtl_set_bbreg movq _ROFDM0_ECCATHRESHOLD@GOTPCREL(%rip), %rax movl (%rax), %ebx movl $24, %edi callq _BIT shrl $7, %r15d andl $1, %r15d movq %r14, %rdi movl %ebx, %esi movl %eax, %edx movl %r15d, %ecx jmp LBB0_5 LBB0_3: cmpl $128, %edx jne LBB0_6 ## %bb.4: movq _ROFDM0_XATXIQIMBALANCE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MASKDWORD@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi ## kill: def $ecx killed $ecx killed $rcx callq _rtl_set_bbreg movq _ROFDM0_XCTXAFE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MASKH4BITS@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi xorl %ecx, %ecx callq _rtl_set_bbreg movq _ROFDM0_ECCATHRESHOLD@GOTPCREL(%rip), %rax movl (%rax), %ebx movl $24, %edi callq _BIT movq %r14, %rdi movl %ebx, %esi movl %eax, %edx xorl %ecx, %ecx LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _rtl_set_bbreg ## TAILCALL LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ofdmswing_table,8,3 ## @ofdmswing_table .comm _ROFDM0_XATXIQIMBALANCE,4,2 ## @ROFDM0_XATXIQIMBALANCE .comm _MASKDWORD,4,2 ## @MASKDWORD .comm _ROFDM0_XCTXAFE,4,2 ## @ROFDM0_XCTXAFE .comm _MASKH4BITS,4,2 ## @MASKH4BITS .comm _ROFDM0_ECCATHRESHOLD,4,2 ## @ROFDM0_ECCATHRESHOLD .no_dead_strip _rtl8723be_set_iqk_matrix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rtl8723be_set_iqk_matrix _rtl8723be_set_iqk_matrix: ; @rtl8723be_set_iqk_matrix .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 w8, #42 cmp w1, #42 csel w8, w1, w8, lt Lloh0: adrp x9, _ofdmswing_table@GOTPAGE Lloh1: ldr x9, [x9, _ofdmswing_table@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr w8, [x9, w8, sxtw #2] cmp w2, #128 cbz x3, LBB0_3 ; %bb.1: b.ne LBB0_6 ; %bb.2: lsr x8, x8, #22 orr x9, x4, #0xfffffc00 tst x4, #0x200 csel x9, x4, x9, eq orr x10, x3, #0xfffffc00 tst x3, #0x200 csel x10, x3, x10, eq mul w21, w10, w8 mul w20, w9, w8 lsl w9, w20, #8 and w3, w9, #0x3f0000 bfi w3, w8, #22, #10 bfxil w3, w21, #8, #10 Lloh3: adrp x8, _ROFDM0_XATXIQIMBALANCE@GOTPAGE Lloh4: ldr x8, [x8, _ROFDM0_XATXIQIMBALANCE@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x8, _MASKDWORD@GOTPAGE Lloh7: ldr x8, [x8, _MASKDWORD@GOTPAGEOFF] Lloh8: ldr w2, [x8] mov x0, x19 bl _rtl_set_bbreg Lloh9: adrp x8, _ROFDM0_XCTXAFE@GOTPAGE Lloh10: ldr x8, [x8, _ROFDM0_XCTXAFE@GOTPAGEOFF] Lloh11: ldr w1, [x8] Lloh12: adrp x8, _MASKH4BITS@GOTPAGE Lloh13: ldr x8, [x8, _MASKH4BITS@GOTPAGEOFF] Lloh14: ldr w2, [x8] ubfx w3, w20, #14, #4 mov x0, x19 bl _rtl_set_bbreg Lloh15: adrp x8, _ROFDM0_ECCATHRESHOLD@GOTPAGE Lloh16: ldr x8, [x8, _ROFDM0_ECCATHRESHOLD@GOTPAGEOFF] Lloh17: ldr w20, [x8] mov w0, #24 bl _BIT mov x2, x0 ubfx w3, w21, #7, #1 mov x0, x19 mov x1, x20 b LBB0_5 LBB0_3: b.ne LBB0_6 ; %bb.4: Lloh18: adrp x9, _ROFDM0_XATXIQIMBALANCE@GOTPAGE Lloh19: ldr x9, [x9, _ROFDM0_XATXIQIMBALANCE@GOTPAGEOFF] Lloh20: ldr w1, [x9] Lloh21: adrp x9, _MASKDWORD@GOTPAGE Lloh22: ldr x9, [x9, _MASKDWORD@GOTPAGEOFF] Lloh23: ldr w2, [x9] mov x0, x19 mov x3, x8 bl _rtl_set_bbreg Lloh24: adrp x8, _ROFDM0_XCTXAFE@GOTPAGE Lloh25: ldr x8, [x8, _ROFDM0_XCTXAFE@GOTPAGEOFF] Lloh26: ldr w1, [x8] Lloh27: adrp x8, _MASKH4BITS@GOTPAGE Lloh28: ldr x8, [x8, _MASKH4BITS@GOTPAGEOFF] Lloh29: ldr w2, [x8] mov x0, x19 mov w3, #0 bl _rtl_set_bbreg Lloh30: adrp x8, _ROFDM0_ECCATHRESHOLD@GOTPAGE Lloh31: ldr x8, [x8, _ROFDM0_ECCATHRESHOLD@GOTPAGEOFF] Lloh32: ldr w20, [x8] mov w0, #24 bl _BIT mov x2, x0 mov x0, x19 mov x1, x20 mov w3, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _rtl_set_bbreg 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _ofdmswing_table,8,3 ; @ofdmswing_table .comm _ROFDM0_XATXIQIMBALANCE,4,2 ; @ROFDM0_XATXIQIMBALANCE .comm _MASKDWORD,4,2 ; @MASKDWORD .comm _ROFDM0_XCTXAFE,4,2 ; @ROFDM0_XCTXAFE .comm _MASKH4BITS,4,2 ; @MASKH4BITS .comm _ROFDM0_ECCATHRESHOLD,4,2 ; @ROFDM0_ECCATHRESHOLD .no_dead_strip _rtl8723be_set_iqk_matrix .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/extr_dm.c_rtl8723be_set_iqk_matrix.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 leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _getservbyname testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq (%rax), %rsi leaq L_.str(%rip), %rdi callq _strcmp testl %eax, %eax jne LBB0_3 ## %bb.4: cmpl $20480, 16(%rbx) ## imm = 0x5000 jne LBB0_5 ## %bb.6: movq 24(%rbx), %rsi leaq L_.str.1(%rip), %rdi callq _strcmp testl %eax, %eax jne LBB0_7 ## %bb.8: leaq L_.str(%rip), %rdi xorl %esi, %esi callq _getservbyname testq %rax, %rax je LBB0_9 ## %bb.10: movq %rax, %rbx movq (%rax), %rsi leaq L_.str(%rip), %rdi callq _strcmp testl %eax, %eax jne LBB0_11 ## %bb.12: cmpl $20480, 16(%rbx) ## imm = 0x5000 jne LBB0_13 ## %bb.14: movq 24(%rbx), %rsi leaq L_.str.1(%rip), %rdi callq _strcmp testl %eax, %eax jne LBB0_15 ## %bb.16: leaq L_.str(%rip), %rdi leaq L_.str.7(%rip), %rsi callq _getservbyname testq %rax, %rax jne LBB0_17 ## %bb.18: leaq L_.str.9(%rip), %rdi xorl %esi, %esi callq _getservbyname testq %rax, %rax jne LBB0_19 LBB0_20: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB0_1: callq _main.cold.1 jmp LBB0_20 LBB0_3: callq _main.cold.10 jmp LBB0_20 LBB0_5: callq _main.cold.9 jmp LBB0_20 LBB0_7: callq _main.cold.8 jmp LBB0_20 LBB0_9: callq _main.cold.2 jmp LBB0_20 LBB0_11: callq _main.cold.7 jmp LBB0_20 LBB0_13: callq _main.cold.6 jmp LBB0_20 LBB0_15: callq _main.cold.5 jmp LBB0_20 LBB0_17: callq _main.cold.4 jmp LBB0_20 LBB0_19: callq _main.cold.3 jmp LBB0_20 .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 leaq L___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.3(%rip), %rcx pushq $8 popq %rdx callq ___assert_rtn .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 leaq L___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.3(%rip), %rcx pushq $14 popq %rdx callq ___assert_rtn .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 leaq L___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.8(%rip), %rcx pushq $23 popq %rdx callq ___assert_rtn .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 leaq L___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.8(%rip), %rcx pushq $20 popq %rdx callq ___assert_rtn .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 leaq L___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.6(%rip), %rcx pushq $17 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.6 _main.cold.6: ## @main.cold.6 .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___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.5(%rip), %rcx pushq $16 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.7 _main.cold.7: ## @main.cold.7 .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___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.4(%rip), %rcx pushq $15 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.8 _main.cold.8: ## @main.cold.8 .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___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.6(%rip), %rcx pushq $11 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.9 _main.cold.9: ## @main.cold.9 .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___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.5(%rip), %rcx pushq $10 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.10 _main.cold.10: ## @main.cold.10 .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___func__.main(%rip), %rdi leaq L_.str.2(%rip), %rsi leaq L_.str.4(%rip), %rcx pushq $9 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "http" L_.str.1: ## @.str.1 .asciz "tcp" L___func__.main: ## @__func__.main .asciz "main" L_.str.2: ## @.str.2 .asciz "87063.c" L_.str.3: ## @.str.3 .asciz "ret" L_.str.4: ## @.str.4 .asciz "!strcmp(\"http\", ret->s_name)" L_.str.5: ## @.str.5 .asciz "ret->s_port == htons(80)" L_.str.6: ## @.str.6 .asciz "!strcmp(\"tcp\", ret->s_proto)" L_.str.7: ## @.str.7 .asciz "udp" L_.str.8: ## @.str.8 .asciz "!ret" L_.str.9: ## @.str.9 .space 1 .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 x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _getservbyname cbz x0, LBB0_11 ; %bb.1: mov x19, x0 ldr x1, [x0] Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _strcmp cbnz w0, LBB0_12 ; %bb.2: ldr w8, [x19, #16] cmp w8, #5, lsl #12 ; =20480 b.ne LBB0_13 ; %bb.3: ldr x1, [x19, #24] Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _strcmp cbnz w0, LBB0_14 ; %bb.4: Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF mov x1, #0 bl _getservbyname cbz x0, LBB0_15 ; %bb.5: mov x19, x0 ldr x1, [x0] Lloh10: adrp x0, l_.str@PAGE Lloh11: add x0, x0, l_.str@PAGEOFF bl _strcmp cbnz w0, LBB0_16 ; %bb.6: ldr w8, [x19, #16] cmp w8, #5, lsl #12 ; =20480 b.ne LBB0_17 ; %bb.7: ldr x1, [x19, #24] Lloh12: adrp x0, l_.str.1@PAGE Lloh13: add x0, x0, l_.str.1@PAGEOFF bl _strcmp cbnz w0, LBB0_18 ; %bb.8: Lloh14: adrp x0, l_.str@PAGE Lloh15: add x0, x0, l_.str@PAGEOFF Lloh16: adrp x1, l_.str.7@PAGE Lloh17: add x1, x1, l_.str.7@PAGEOFF bl _getservbyname cbnz x0, LBB0_19 ; %bb.9: Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF mov x1, #0 bl _getservbyname cbnz x0, LBB0_20 ; %bb.10: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_11: bl _main.cold.1 LBB0_12: bl _main.cold.10 LBB0_13: bl _main.cold.9 LBB0_14: bl _main.cold.8 LBB0_15: bl _main.cold.2 LBB0_16: bl _main.cold.7 LBB0_17: bl _main.cold.6 LBB0_18: bl _main.cold.5 LBB0_19: bl _main.cold.4 LBB0_20: bl _main.cold.3 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh18, Lloh19 .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 Lloh20: adrp x0, l___func__.main@PAGE Lloh21: add x0, x0, l___func__.main@PAGEOFF Lloh22: adrp x1, l_.str.2@PAGE Lloh23: add x1, x1, l_.str.2@PAGEOFF Lloh24: adrp x3, l_.str.3@PAGE Lloh25: add x3, x3, l_.str.3@PAGEOFF mov w2, #8 bl ___assert_rtn .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.2 _main.cold.2: ; @main.cold.2 .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 Lloh26: adrp x0, l___func__.main@PAGE Lloh27: add x0, x0, l___func__.main@PAGEOFF Lloh28: adrp x1, l_.str.2@PAGE Lloh29: add x1, x1, l_.str.2@PAGEOFF Lloh30: adrp x3, l_.str.3@PAGE Lloh31: add x3, x3, l_.str.3@PAGEOFF mov w2, #14 bl ___assert_rtn .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.3 _main.cold.3: ; @main.cold.3 .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 Lloh32: adrp x0, l___func__.main@PAGE Lloh33: add x0, x0, l___func__.main@PAGEOFF Lloh34: adrp x1, l_.str.2@PAGE Lloh35: add x1, x1, l_.str.2@PAGEOFF Lloh36: adrp x3, l_.str.8@PAGE Lloh37: add x3, x3, l_.str.8@PAGEOFF mov w2, #23 bl ___assert_rtn .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.4 _main.cold.4: ; @main.cold.4 .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 Lloh38: adrp x0, l___func__.main@PAGE Lloh39: add x0, x0, l___func__.main@PAGEOFF Lloh40: adrp x1, l_.str.2@PAGE Lloh41: add x1, x1, l_.str.2@PAGEOFF Lloh42: adrp x3, l_.str.8@PAGE Lloh43: add x3, x3, l_.str.8@PAGEOFF mov w2, #20 bl ___assert_rtn .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.5 _main.cold.5: ; @main.cold.5 .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 Lloh44: adrp x0, l___func__.main@PAGE Lloh45: add x0, x0, l___func__.main@PAGEOFF Lloh46: adrp x1, l_.str.2@PAGE Lloh47: add x1, x1, l_.str.2@PAGEOFF Lloh48: adrp x3, l_.str.6@PAGE Lloh49: add x3, x3, l_.str.6@PAGEOFF mov w2, #17 bl ___assert_rtn .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.6 _main.cold.6: ; @main.cold.6 .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 Lloh50: adrp x0, l___func__.main@PAGE Lloh51: add x0, x0, l___func__.main@PAGEOFF Lloh52: adrp x1, l_.str.2@PAGE Lloh53: add x1, x1, l_.str.2@PAGEOFF Lloh54: adrp x3, l_.str.5@PAGE Lloh55: add x3, x3, l_.str.5@PAGEOFF mov w2, #16 bl ___assert_rtn .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.7 _main.cold.7: ; @main.cold.7 .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 Lloh56: adrp x0, l___func__.main@PAGE Lloh57: add x0, x0, l___func__.main@PAGEOFF Lloh58: adrp x1, l_.str.2@PAGE Lloh59: add x1, x1, l_.str.2@PAGEOFF Lloh60: adrp x3, l_.str.4@PAGE Lloh61: add x3, x3, l_.str.4@PAGEOFF mov w2, #15 bl ___assert_rtn .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.8 _main.cold.8: ; @main.cold.8 .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 Lloh62: adrp x0, l___func__.main@PAGE Lloh63: add x0, x0, l___func__.main@PAGEOFF Lloh64: adrp x1, l_.str.2@PAGE Lloh65: add x1, x1, l_.str.2@PAGEOFF Lloh66: adrp x3, l_.str.6@PAGE Lloh67: add x3, x3, l_.str.6@PAGEOFF mov w2, #11 bl ___assert_rtn .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.9 _main.cold.9: ; @main.cold.9 .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 Lloh68: adrp x0, l___func__.main@PAGE Lloh69: add x0, x0, l___func__.main@PAGEOFF Lloh70: adrp x1, l_.str.2@PAGE Lloh71: add x1, x1, l_.str.2@PAGEOFF Lloh72: adrp x3, l_.str.5@PAGE Lloh73: add x3, x3, l_.str.5@PAGEOFF mov w2, #10 bl ___assert_rtn .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.10 _main.cold.10: ; @main.cold.10 .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 Lloh74: adrp x0, l___func__.main@PAGE Lloh75: add x0, x0, l___func__.main@PAGEOFF Lloh76: adrp x1, l_.str.2@PAGE Lloh77: add x1, x1, l_.str.2@PAGEOFF Lloh78: adrp x3, l_.str.4@PAGE Lloh79: add x3, x3, l_.str.4@PAGEOFF mov w2, #9 bl ___assert_rtn .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh74, Lloh75 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "http" l_.str.1: ; @.str.1 .asciz "tcp" l___func__.main: ; @__func__.main .asciz "main" l_.str.2: ; @.str.2 .asciz "87063.c" l_.str.3: ; @.str.3 .asciz "ret" l_.str.4: ; @.str.4 .asciz "!strcmp(\"http\", ret->s_name)" l_.str.5: ; @.str.5 .asciz "ret->s_port == htons(80)" l_.str.6: ; @.str.6 .asciz "!strcmp(\"tcp\", ret->s_proto)" l_.str.7: ; @.str.7 .asciz "udp" l_.str.8: ; @.str.8 .asciz "!ret" l_.str.9: ; @.str.9 .space 1 .subsections_via_symbols
the_stack_data/87063.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rw_thread_init ## -- Begin function rw_thread_init .p2align 4, 0x90 _rw_thread_init: ## @rw_thread_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 %r9, %rbx movq %r8, %r15 movl %ecx, %r13d movq %rdx, %r12 movq %rsi, %rax movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rcx, -48(%rbp) movl %edi, (%r9) movq _O_RDONLY@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi callq _open movl %eax, 4(%rbx) cmpl $-1, %eax je LBB0_1 ## %bb.3: testl %r13d, %r13d je LBB0_4 ## %bb.6: movq _STDOUT_FILENO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) jmp LBB0_7 LBB0_4: movq _O_WRONLY@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _open movl %eax, 8(%rbx) cmpl $-1, %eax je LBB0_5 LBB0_7: movq _O_NONBLOCK@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -56(%rbp), %rdi callq _pipe2 testq %rax, %rax js LBB0_8 ## %bb.9: movl -56(%rbp), %edi movq _F_SETPIPE_SZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdx callq _fcntl testq %rax, %rax js LBB0_10 ## %bb.11: movl -52(%rbp), %eax movl %eax, 12(%rbx) movl -56(%rbp), %eax movl %eax, 16(%rbx) movq %r15, 24(%rbx) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_13 ## %bb.12: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq L_.str(%rip), %rdi jmp LBB0_2 LBB0_8: leaq L_.str.2(%rip), %rdi jmp LBB0_2 LBB0_10: leaq L_.str.3(%rip), %rdi jmp LBB0_2 LBB0_13: callq ___stack_chk_fail LBB0_5: leaq L_.str.1(%rip), %rdi LBB0_2: movl %r14d, %esi callq _pr_err movq _EXIT_FAILURE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _exit .cfi_endproc ## -- End function .comm _O_RDONLY,4,2 ## @O_RDONLY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Could not open in_fd (CPU:%d)\n" .comm _O_WRONLY,4,2 ## @O_WRONLY L_.str.1: ## @.str.1 .asciz "Could not open out_fd (CPU:%d)\n" .comm _STDOUT_FILENO,4,2 ## @STDOUT_FILENO .comm _O_NONBLOCK,4,2 ## @O_NONBLOCK L_.str.2: ## @.str.2 .asciz "Could not create pipe in rw-thread(%d)\n" .comm _F_SETPIPE_SZ,4,2 ## @F_SETPIPE_SZ L_.str.3: ## @.str.3 .asciz "Could not change pipe size in rw-thread(%d)\n" .comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rw_thread_init ; -- Begin function rw_thread_init .p2align 2 _rw_thread_init: ; @rw_thread_init .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x5 mov x21, x4 mov x23, x3 mov x22, x2 mov x8, x1 mov x19, x0 str w0, [x5] Lloh0: adrp x9, _O_RDONLY@GOTPAGE Lloh1: ldr x9, [x9, _O_RDONLY@GOTPAGEOFF] Lloh2: ldr w1, [x9] mov x0, x8 bl _open str w0, [x20, #4] cmn w0, #1 b.eq LBB0_7 ; %bb.1: cbz w23, LBB0_3 ; %bb.2: Lloh3: adrp x8, _STDOUT_FILENO@GOTPAGE Lloh4: ldr x8, [x8, _STDOUT_FILENO@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x20, #8] b LBB0_4 LBB0_3: Lloh6: adrp x8, _O_WRONLY@GOTPAGE Lloh7: ldr x8, [x8, _O_WRONLY@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x22 bl _open str w0, [x20, #8] cmn w0, #1 b.eq LBB0_10 LBB0_4: Lloh9: adrp x8, _O_NONBLOCK@GOTPAGE Lloh10: ldr x8, [x8, _O_NONBLOCK@GOTPAGEOFF] Lloh11: ldr w1, [x8] add x0, sp, #8 bl _pipe2 tbnz x0, #63, LBB0_8 ; %bb.5: ldr w0, [sp, #8] Lloh12: adrp x8, _F_SETPIPE_SZ@GOTPAGE Lloh13: ldr x8, [x8, _F_SETPIPE_SZ@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov x2, x21 bl _fcntl tbnz x0, #63, LBB0_9 ; %bb.6: ldr d0, [sp, #8] rev64.2s v0, v0 stur d0, [x20, #12] str x21, [x20, #24] mov x0, #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 ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_7: Lloh15: adrp x0, l_.str@PAGE Lloh16: add x0, x0, l_.str@PAGEOFF b LBB0_11 LBB0_8: Lloh17: adrp x0, l_.str.2@PAGE Lloh18: add x0, x0, l_.str.2@PAGEOFF b LBB0_11 LBB0_9: Lloh19: adrp x0, l_.str.3@PAGE Lloh20: add x0, x0, l_.str.3@PAGEOFF b LBB0_11 LBB0_10: Lloh21: adrp x0, l_.str.1@PAGE Lloh22: add x0, x0, l_.str.1@PAGEOFF LBB0_11: mov x1, x19 bl _pr_err Lloh23: adrp x8, _EXIT_FAILURE@GOTPAGE Lloh24: ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF] Lloh25: ldr w0, [x8] bl _exit .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _O_RDONLY,4,2 ; @O_RDONLY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Could not open in_fd (CPU:%d)\n" .comm _O_WRONLY,4,2 ; @O_WRONLY l_.str.1: ; @.str.1 .asciz "Could not open out_fd (CPU:%d)\n" .comm _STDOUT_FILENO,4,2 ; @STDOUT_FILENO .comm _O_NONBLOCK,4,2 ; @O_NONBLOCK l_.str.2: ; @.str.2 .asciz "Could not create pipe in rw-thread(%d)\n" .comm _F_SETPIPE_SZ,4,2 ; @F_SETPIPE_SZ l_.str.3: ; @.str.3 .asciz "Could not change pipe size in rw-thread(%d)\n" .comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE .subsections_via_symbols
AnghaBench/linux/tools/virtio/virtio-trace/extr_trace-agent-rw.c_rw_thread_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pci_get_cfgdata32 _pci_get_cfgdata32: ## @pci_get_cfgdata32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 movq _PCI_REGMAX@GOTPCREL(%rip), %rax movl (%rax), %eax addl $-3, %eax cmpl %esi, %eax setge %al testb $3, %bl sete %cl andb %al, %cl movzbl %cl, %edi callq _assert movq (%r14), %rax movslq %ebx, %rcx movl (%rax,%rcx), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PCI_REGMAX,4,2 ## @PCI_REGMAX .no_dead_strip _pci_get_cfgdata32 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pci_get_cfgdata32 _pci_get_cfgdata32: ; @pci_get_cfgdata32 .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 Lloh0: adrp x8, _PCI_REGMAX@GOTPAGE Lloh1: ldr x8, [x8, _PCI_REGMAX@GOTPAGEOFF] Lloh2: ldr w8, [x8] sub w8, w8, #3 tst w1, #0x3 ccmp w8, w1, #8, eq cset w0, ge bl _assert ldr x8, [x20] ldr w0, [x8, w19, sxtw] 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 _PCI_REGMAX,4,2 ; @PCI_REGMAX .no_dead_strip _pci_get_cfgdata32 .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_emul.h_pci_get_cfgdata32.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_init_kb ## -- Begin function matrix_init_kb .p2align 4, 0x90 _matrix_init_kb: ## @matrix_init_kb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _DDRC@GOTPCREL(%rip), %rax andb $127, (%rax) movq _DDRD@GOTPCREL(%rip), %rax andb $15, (%rax) movq _DDRE@GOTPCREL(%rip), %rax andb $-65, (%rax) movq _PORTC@GOTPCREL(%rip), %rax orb $-128, (%rax) movq _PORTD@GOTPCREL(%rip), %rax orb $-16, (%rax) movq _PORTE@GOTPCREL(%rip), %rax orb $64, (%rax) xorl %eax, %eax popq %rbp jmp _matrix_init_user ## TAILCALL .cfi_endproc ## -- End function .comm _DDRC,4,2 ## @DDRC .comm _DDRD,4,2 ## @DDRD .comm _DDRE,4,2 ## @DDRE .comm _PORTC,4,2 ## @PORTC .comm _PORTD,4,2 ## @PORTD .comm _PORTE,4,2 ## @PORTE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_init_kb ; -- Begin function matrix_init_kb .p2align 2 _matrix_init_kb: ; @matrix_init_kb .cfi_startproc ; %bb.0: Lloh0: adrp x8, _DDRC@GOTPAGE Lloh1: ldr x8, [x8, _DDRC@GOTPAGEOFF] ldr w9, [x8] and w9, w9, #0xffffff7f Lloh2: adrp x10, _DDRD@GOTPAGE Lloh3: ldr x10, [x10, _DDRD@GOTPAGEOFF] str w9, [x8] ldr w8, [x10] and w8, w8, #0xffffff0f str w8, [x10] Lloh4: adrp x8, _DDRE@GOTPAGE Lloh5: ldr x8, [x8, _DDRE@GOTPAGEOFF] ldr w9, [x8] and w9, w9, #0xffffffbf str w9, [x8] Lloh6: adrp x8, _PORTC@GOTPAGE Lloh7: ldr x8, [x8, _PORTC@GOTPAGEOFF] ldr w9, [x8] orr w9, w9, #0x80 str w9, [x8] Lloh8: adrp x8, _PORTD@GOTPAGE Lloh9: ldr x8, [x8, _PORTD@GOTPAGEOFF] ldr w9, [x8] orr w9, w9, #0xf0 str w9, [x8] Lloh10: adrp x8, _PORTE@GOTPAGE Lloh11: ldr x8, [x8, _PORTE@GOTPAGEOFF] ldr w9, [x8] orr w9, w9, #0x40 str w9, [x8] b _matrix_init_user .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _DDRC,4,2 ; @DDRC .comm _DDRD,4,2 ; @DDRD .comm _DDRE,4,2 ; @DDRE .comm _PORTC,4,2 ; @PORTC .comm _PORTD,4,2 ; @PORTD .comm _PORTE,4,2 ; @PORTE .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/gergo/extr_gergo.c_matrix_init_kb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ct_20k1_interrupt _ct_20k1_interrupt: ## @ct_20k1_interrupt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq _GIP@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %rbx, %rdi callq _hw_read_20kx testl %eax, %eax je LBB0_1 ## %bb.2: movl %eax, %r14d movq 8(%rbx), %rax testq %rax, %rax je LBB0_4 ## %bb.3: movl (%rbx), %edi movl %r14d, %esi callq *%rax LBB0_4: movl (%r15), %esi movq %rbx, %rdi movl %r14d, %edx callq _hw_write_20kx movq _IRQ_HANDLED@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_1: movq _IRQ_NONE@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GIP,4,2 ## @GIP .comm _IRQ_NONE,4,2 ## @IRQ_NONE .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _ct_20k1_interrupt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ct_20k1_interrupt _ct_20k1_interrupt: ; @ct_20k1_interrupt .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 Lloh0: adrp x21, _GIP@GOTPAGE Lloh1: ldr x21, [x21, _GIP@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 bl _hw_read_20kx cbz w0, LBB0_4 ; %bb.1: mov x20, x0 ldr x8, [x19, #8] cbz x8, LBB0_3 ; %bb.2: ldr w0, [x19] mov x1, x20 blr x8 LBB0_3: ldr w1, [x21] mov x0, x19 mov x2, x20 bl _hw_write_20kx Lloh2: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh3: ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh4: adrp x8, _IRQ_NONE@GOTPAGE Lloh5: ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF] LBB0_5: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GIP,4,2 ; @GIP .comm _IRQ_NONE,4,2 ; @IRQ_NONE .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _ct_20k1_interrupt .subsections_via_symbols
AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_ct_20k1_interrupt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_enum _parse_enum: ## @parse_enum .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, %rbx movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 xorl %edi, %edi cmpl $2, (%rcx) setge %dil callq _assert movq 8(%rbx), %rdi movl (%rbx), %esi movq %r12, %rdx movq %r15, %rcx callq _map_enum_do testq %rax, %rax je LBB0_2 ## %bb.1: movq _SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_10 LBB0_2: leaq -44(%rbp), %rdi movq %r15, %rsi callq _parse_bool xorl %ecx, %ecx cmpl $0, -44(%rbp) setne %cl movq 8(%rbx), %r13 movl (%r13,%rcx,8), %ebx movl %ebx, (%r12) movq _SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_10 ## %bb.3: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _strcmp testl %eax, %eax je LBB0_4 ## %bb.8: movl 4(%r13,%rbx,8), %edi callq _enum_name leaq L_.str.7(%rip), %rdi movq %r15, %rsi movq %r14, %rdx movq %rax, %rcx jmp LBB0_9 LBB0_4: leaq L_.str.2(%rip), %rsi movq %r15, %rdi callq _strcasecmp testl %eax, %eax je LBB0_5 ## %bb.6: leaq L_.str.4(%rip), %rsi movq %r15, %rdi callq _strcasecmp testl %eax, %eax leaq L_.str.5(%rip), %rax leaq L_.str.1(%rip), %rcx cmoveq %rax, %rcx jmp LBB0_7 LBB0_5: leaq L_.str.3(%rip), %rcx LBB0_7: movl 8(%r13), %eax movl %eax, (%r12) leaq L_.str.6(%rip), %rdi movq %r15, %rsi movq %r14, %rdx LBB0_9: callq _error LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SUCCESS,4,2 ## @SUCCESS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "date-display" L_.str.1: ## @.str.1 .space 1 L_.str.2: ## @.str.2 .asciz "local" L_.str.3: ## @.str.3 .asciz ", use the 'date-local' column option" L_.str.4: ## @.str.4 .asciz "short" L_.str.5: ## @.str.5 .asciz ", use the 'custom' display mode and set 'date-format'" L_.str.6: ## @.str.6 .asciz "'%s' is no longer supported for %s%s" L_.str.7: ## @.str.7 .asciz "'%s' is not a valid value for %s; using %s" .no_dead_strip _parse_enum .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_enum _parse_enum: ; @parse_enum .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x3 mov x20, x2 mov x21, x1 mov x19, x0 ldr w8, [x3] cmp w8, #1 cset w0, gt bl _assert ldr x0, [x22, #8] ldr w1, [x22] mov x2, x21 mov x3, x20 bl _map_enum_do cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _SUCCESS@GOTPAGEOFF] Lloh2: ldr w0, [x8] b LBB0_10 LBB0_2: add x0, sp, #12 mov x1, x20 bl _parse_bool ldr w8, [sp, #12] cmp w8, #0 cset w8, ne ldr x22, [x22, #8] lsl x8, x8, #3 ldr w23, [x22, x8] str w23, [x21] Lloh3: adrp x8, _SUCCESS@GOTPAGE Lloh4: ldr x8, [x8, _SUCCESS@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w0, w8 b.eq LBB0_10 ; %bb.3: Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _strcmp cbz w0, LBB0_5 ; %bb.4: add x8, x22, x23, lsl #3 ldr w0, [x8, #4] bl _enum_name mov x3, x0 Lloh8: adrp x0, l_.str.7@PAGE Lloh9: add x0, x0, l_.str.7@PAGEOFF b LBB0_9 LBB0_5: Lloh10: adrp x1, l_.str.2@PAGE Lloh11: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _strcasecmp cbz w0, LBB0_7 ; %bb.6: Lloh12: adrp x1, l_.str.4@PAGE Lloh13: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 bl _strcasecmp Lloh14: adrp x8, l_.str.1@PAGE Lloh15: add x8, x8, l_.str.1@PAGEOFF Lloh16: adrp x9, l_.str.5@PAGE Lloh17: add x9, x9, l_.str.5@PAGEOFF cmp w0, #0 csel x3, x9, x8, eq b LBB0_8 LBB0_7: Lloh18: adrp x3, l_.str.3@PAGE Lloh19: add x3, x3, l_.str.3@PAGEOFF LBB0_8: ldr w8, [x22, #8] str w8, [x21] Lloh20: adrp x0, l_.str.6@PAGE Lloh21: add x0, x0, l_.str.6@PAGEOFF LBB0_9: mov x1, x20 mov x2, x19 bl _error LBB0_10: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _SUCCESS,4,2 ; @SUCCESS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "date-display" l_.str.1: ; @.str.1 .space 1 l_.str.2: ; @.str.2 .asciz "local" l_.str.3: ; @.str.3 .asciz ", use the 'date-local' column option" l_.str.4: ; @.str.4 .asciz "short" l_.str.5: ; @.str.5 .asciz ", use the 'custom' display mode and set 'date-format'" l_.str.6: ; @.str.6 .asciz "'%s' is no longer supported for %s%s" l_.str.7: ; @.str.7 .asciz "'%s' is not a valid value for %s; using %s" .no_dead_strip _parse_enum .subsections_via_symbols
AnghaBench/tig/src/extr_options.c_parse_enum.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sparc_pmu_stop _sparc_pmu_stop: ## @sparc_pmu_stop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movq _cpu_hw_events@GOTPCREL(%rip), %rdi callq _this_cpu_ptr movq %rax, %r12 movq %rax, %rdi movq %rbx, %rsi callq _active_event_index movl %eax, %r15d movl (%rbx), %eax movq _PERF_HES_STOPPED@GOTPCREL(%rip), %r13 testl %eax, (%r13) jne LBB0_2 ## %bb.1: movq %r12, %rdi movq %rbx, %rsi movl %r15d, %edx callq _sparc_pmu_disable_event movl (%rbx), %eax orl (%r13), %eax movl %eax, (%rbx) LBB0_2: movq _PERF_HES_UPTODATE@GOTPCREL(%rip), %r12 testl %eax, (%r12) jne LBB0_5 ## %bb.3: movq _PERF_EF_UPDATE@GOTPCREL(%rip), %rax testl %r14d, (%rax) je LBB0_5 ## %bb.4: movq %rbx, %rdi movq %rbx, %rsi movl %r15d, %edx callq _sparc_perf_event_update movl (%r12), %eax orl %eax, (%rbx) LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _cpu_hw_events,4,2 ## @cpu_hw_events .comm _PERF_HES_STOPPED,4,2 ## @PERF_HES_STOPPED .comm _PERF_HES_UPTODATE,4,2 ## @PERF_HES_UPTODATE .comm _PERF_EF_UPDATE,4,2 ## @PERF_EF_UPDATE .no_dead_strip _sparc_pmu_stop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sparc_pmu_stop _sparc_pmu_stop: ; @sparc_pmu_stop .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 Lloh0: adrp x0, _cpu_hw_events@GOTPAGE Lloh1: ldr x0, [x0, _cpu_hw_events@GOTPAGEOFF] bl _this_cpu_ptr mov x22, x0 mov x1, x19 bl _active_event_index mov x21, x0 ldr w8, [x19] Lloh2: adrp x23, _PERF_HES_STOPPED@GOTPAGE Lloh3: ldr x23, [x23, _PERF_HES_STOPPED@GOTPAGEOFF] ldr w9, [x23] tst w9, w8 b.ne LBB0_2 ; %bb.1: mov x0, x22 mov x1, x19 mov x2, x21 bl _sparc_pmu_disable_event ldr w8, [x23] ldr w9, [x19] orr w8, w9, w8 str w8, [x19] LBB0_2: Lloh4: adrp x22, _PERF_HES_UPTODATE@GOTPAGE Lloh5: ldr x22, [x22, _PERF_HES_UPTODATE@GOTPAGEOFF] ldr w9, [x22] tst w9, w8 b.ne LBB0_5 ; %bb.3: Lloh6: adrp x8, _PERF_EF_UPDATE@GOTPAGE Lloh7: ldr x8, [x8, _PERF_EF_UPDATE@GOTPAGEOFF] Lloh8: ldr w8, [x8] tst w8, w20 b.eq LBB0_5 ; %bb.4: mov x0, x19 mov x1, x19 mov x2, x21 bl _sparc_perf_event_update ldr w8, [x22] ldr w9, [x19] orr w8, w9, w8 str w8, [x19] LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _cpu_hw_events,4,2 ; @cpu_hw_events .comm _PERF_HES_STOPPED,4,2 ; @PERF_HES_STOPPED .comm _PERF_HES_UPTODATE,4,2 ; @PERF_HES_UPTODATE .comm _PERF_EF_UPDATE,4,2 ; @PERF_EF_UPDATE .no_dead_strip _sparc_pmu_stop .subsections_via_symbols
AnghaBench/linux/arch/sparc/kernel/extr_perf_event.c_sparc_pmu_stop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zfs_iter_cb _zfs_iter_cb: ## @zfs_iter_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _zfs_get_type movq _ZFS_TYPE_FILESYSTEM@GOTPCREL(%rip), %rcx xorl %r15d, %r15d testl %eax, (%rcx) je LBB0_6 ## %bb.1: movq _ZFS_PROP_CANMOUNT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _zfs_prop_get_int movq _ZFS_CANMOUNT_NOAUTO@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_6 ## %bb.2: movq _ZFS_PROP_INCONSISTENT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _zfs_prop_get_int testq %rax, %rax je LBB0_4 ## %bb.3: movq _ZFS_PROP_RECEIVE_RESUME_TOKEN@GOTPCREL(%rip), %rax movl (%rax), %esi movq _B_TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %r15d, %r15d movq %rbx, %rdi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d pushq %rax pushq $0 callq _zfs_prop_get addq $16, %rsp testq %rax, %rax je LBB0_6 LBB0_4: movq %r14, %rdi movq %rbx, %rsi callq _libzfs_add_handle leaq _zfs_iter_cb(%rip), %rsi movq %rbx, %rdi movq %r14, %rdx callq _zfs_iter_filesystems movl $-1, %r15d testq %rax, %rax je LBB0_5 LBB0_6: movq %rbx, %rdi callq _zfs_close LBB0_7: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_5: xorl %r15d, %r15d jmp LBB0_7 .cfi_endproc ## -- End function .comm _ZFS_TYPE_FILESYSTEM,4,2 ## @ZFS_TYPE_FILESYSTEM .comm _ZFS_PROP_CANMOUNT,4,2 ## @ZFS_PROP_CANMOUNT .comm _ZFS_CANMOUNT_NOAUTO,8,3 ## @ZFS_CANMOUNT_NOAUTO .comm _ZFS_PROP_INCONSISTENT,4,2 ## @ZFS_PROP_INCONSISTENT .comm _ZFS_PROP_RECEIVE_RESUME_TOKEN,4,2 ## @ZFS_PROP_RECEIVE_RESUME_TOKEN .comm _B_TRUE,4,2 ## @B_TRUE .no_dead_strip _zfs_iter_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zfs_iter_cb _zfs_iter_cb: ; @zfs_iter_cb .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 bl _zfs_get_type Lloh0: adrp x8, _ZFS_TYPE_FILESYSTEM@GOTPAGE Lloh1: ldr x8, [x8, _ZFS_TYPE_FILESYSTEM@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w0 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x8, _ZFS_PROP_CANMOUNT@GOTPAGE Lloh4: ldr x8, [x8, _ZFS_PROP_CANMOUNT@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _zfs_prop_get_int Lloh6: adrp x8, _ZFS_CANMOUNT_NOAUTO@GOTPAGE Lloh7: ldr x8, [x8, _ZFS_CANMOUNT_NOAUTO@GOTPAGEOFF] Lloh8: ldr x8, [x8] cmp x0, x8 b.ne LBB0_5 LBB0_2: mov w20, #0 LBB0_3: mov x0, x19 bl _zfs_close LBB0_4: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: Lloh9: adrp x8, _ZFS_PROP_INCONSISTENT@GOTPAGE Lloh10: ldr x8, [x8, _ZFS_PROP_INCONSISTENT@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov x0, x19 bl _zfs_prop_get_int cbz x0, LBB0_7 ; %bb.6: Lloh12: adrp x8, _ZFS_PROP_RECEIVE_RESUME_TOKEN@GOTPAGE Lloh13: ldr x8, [x8, _ZFS_PROP_RECEIVE_RESUME_TOKEN@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x8, _B_TRUE@GOTPAGE Lloh16: ldr x8, [x8, _B_TRUE@GOTPAGEOFF] Lloh17: ldr w7, [x8] mov x0, x19 mov x2, #0 mov w3, #0 mov x4, #0 mov x5, #0 mov w6, #0 bl _zfs_prop_get cbz x0, LBB0_2 LBB0_7: mov x0, x20 mov x1, x19 bl _libzfs_add_handle Lloh18: adrp x1, _zfs_iter_cb@PAGE Lloh19: add x1, x1, _zfs_iter_cb@PAGEOFF mov x0, x19 mov x2, x20 bl _zfs_iter_filesystems cbz x0, LBB0_9 ; %bb.8: mov w20, #-1 b LBB0_3 LBB0_9: mov w20, #0 b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _ZFS_TYPE_FILESYSTEM,4,2 ; @ZFS_TYPE_FILESYSTEM .comm _ZFS_PROP_CANMOUNT,4,2 ; @ZFS_PROP_CANMOUNT .comm _ZFS_CANMOUNT_NOAUTO,8,3 ; @ZFS_CANMOUNT_NOAUTO .comm _ZFS_PROP_INCONSISTENT,4,2 ; @ZFS_PROP_INCONSISTENT .comm _ZFS_PROP_RECEIVE_RESUME_TOKEN,4,2 ; @ZFS_PROP_RECEIVE_RESUME_TOKEN .comm _B_TRUE,4,2 ; @B_TRUE .no_dead_strip _zfs_iter_cb .subsections_via_symbols
AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_mount.c_zfs_iter_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _netdev_notify_peers ## -- Begin function netdev_notify_peers .p2align 4, 0x90 _netdev_notify_peers: ## @netdev_notify_peers .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq _rtnl_lock movq _NETDEV_NOTIFY_PEERS@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi callq _call_netdevice_notifiers movq _NETDEV_RESEND_IGMP@GOTPCREL(%rip), %rax movl (%rax), %edi movq %rbx, %rsi callq _call_netdevice_notifiers xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _rtnl_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _NETDEV_NOTIFY_PEERS,4,2 ## @NETDEV_NOTIFY_PEERS .comm _NETDEV_RESEND_IGMP,4,2 ## @NETDEV_RESEND_IGMP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _netdev_notify_peers ; -- Begin function netdev_notify_peers .p2align 2 _netdev_notify_peers: ; @netdev_notify_peers .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 _rtnl_lock Lloh0: adrp x8, _NETDEV_NOTIFY_PEERS@GOTPAGE Lloh1: ldr x8, [x8, _NETDEV_NOTIFY_PEERS@GOTPAGEOFF] Lloh2: ldr w0, [x8] mov x1, x19 bl _call_netdevice_notifiers Lloh3: adrp x8, _NETDEV_RESEND_IGMP@GOTPAGE Lloh4: ldr x8, [x8, _NETDEV_RESEND_IGMP@GOTPAGEOFF] Lloh5: ldr w0, [x8] mov x1, x19 bl _call_netdevice_notifiers ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _rtnl_unlock .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NETDEV_NOTIFY_PEERS,4,2 ; @NETDEV_NOTIFY_PEERS .comm _NETDEV_RESEND_IGMP,4,2 ; @NETDEV_RESEND_IGMP .subsections_via_symbols
AnghaBench/linux/net/core/extr_dev.c_netdev_notify_peers.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jbd2_trans_will_send_data_barrier ## -- Begin function jbd2_trans_will_send_data_barrier .p2align 4, 0x90 _jbd2_trans_will_send_data_barrier: ## @jbd2_trans_will_send_data_barrier .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 _JBD2_BARRIER@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rdi) je LBB0_1 ## %bb.2: movq %rsi, %r12 movq %rdi, %rbx leaq 24(%rdi), %r14 movq %r14, %rdi callq _spin_lock movl 40(%rbx), %edi movq %r12, %rsi callq _tid_geq xorl %r15d, %r15d testq %rax, %rax jne LBB0_11 ## %bb.3: movq 32(%rbx), %rax testq %rax, %rax je LBB0_10 ## %bb.4: cmpq %r12, (%rax) jne LBB0_10 ## %bb.5: movq 8(%rbx), %rcx cmpq 16(%rbx), %rcx jne LBB0_6 ## %bb.8: movq 8(%rax), %rax movq _T_COMMIT_JFLUSH@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jl LBB0_10 jmp LBB0_11 LBB0_1: xorl %r15d, %r15d jmp LBB0_12 LBB0_6: cmpl $0, 16(%rax) je LBB0_11 ## %bb.7: movq 8(%rax), %rax movq _T_COMMIT_DFLUSH@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jge LBB0_11 LBB0_10: movl $1, %r15d LBB0_11: movq %r14, %rdi callq _spin_unlock LBB0_12: movl %r15d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _JBD2_BARRIER,4,2 ## @JBD2_BARRIER .comm _T_COMMIT_DFLUSH,8,3 ## @T_COMMIT_DFLUSH .comm _T_COMMIT_JFLUSH,8,3 ## @T_COMMIT_JFLUSH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jbd2_trans_will_send_data_barrier ; -- Begin function jbd2_trans_will_send_data_barrier .p2align 2 _jbd2_trans_will_send_data_barrier: ; @jbd2_trans_will_send_data_barrier .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0] Lloh0: adrp x9, _JBD2_BARRIER@GOTPAGE Lloh1: ldr x9, [x9, _JBD2_BARRIER@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.1: mov x21, x1 mov x20, x0 add x19, x0, #24 mov x0, x19 bl _spin_lock ldr w0, [x20, #40] mov x1, x21 bl _tid_geq cbz x0, LBB0_4 LBB0_2: mov w20, #0 b LBB0_12 LBB0_3: mov w20, #0 b LBB0_13 LBB0_4: ldr x8, [x20, #32] cbz x8, LBB0_11 ; %bb.5: ldr x9, [x8] cmp x9, x21 b.ne LBB0_11 ; %bb.6: ldp x9, x10, [x20, #8] cmp x9, x10 b.ne LBB0_8 ; %bb.7: ldr x8, [x8, #8] Lloh3: adrp x9, _T_COMMIT_JFLUSH@GOTPAGE Lloh4: ldr x9, [x9, _T_COMMIT_JFLUSH@GOTPAGEOFF] b LBB0_10 LBB0_8: ldr w9, [x8, #16] cbz w9, LBB0_2 ; %bb.9: ldr x8, [x8, #8] Lloh5: adrp x9, _T_COMMIT_DFLUSH@GOTPAGE Lloh6: ldr x9, [x9, _T_COMMIT_DFLUSH@GOTPAGEOFF] LBB0_10: ldr x9, [x9] cmp x8, x9 b.ge LBB0_2 LBB0_11: mov w20, #1 LBB0_12: mov x0, x19 bl _spin_unlock LBB0_13: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _JBD2_BARRIER,4,2 ; @JBD2_BARRIER .comm _T_COMMIT_DFLUSH,8,3 ; @T_COMMIT_DFLUSH .comm _T_COMMIT_JFLUSH,8,3 ; @T_COMMIT_JFLUSH .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/jbd2/extr_journal.c_jbd2_trans_will_send_data_barrier.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function line6_hwdep_release _line6_hwdep_release: ## @line6_hwdep_release .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 $0, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _line6_hwdep_release .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function line6_hwdep_release _line6_hwdep_release: ; @line6_hwdep_release .cfi_startproc ; %bb.0: ldr x8, [x0] str xzr, [x8] mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _line6_hwdep_release .subsections_via_symbols
AnghaBench/linux/sound/usb/line6/extr_driver.c_line6_hwdep_release.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .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 %edi, %ebx callq _clang_analyzer_dump leal -1(%rbx), %edi callq _clang_analyzer_dump xorl %eax, %eax callq _clang_analyzer_numTimesReached xorl %eax, %eax callq _clang_analyzer_numTimesReached cmpl $13, %ebx jle LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %rbp retq LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _clang_analyzer_printState ## TAILCALL .cfi_endproc ## -- End function .globl _test_field_dumps ## -- Begin function test_field_dumps .p2align 4, 0x90 _test_field_dumps: ## @test_field_dumps .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, -16(%rbp) leaq -16(%rbp), %rdi callq _clang_analyzer_dump_pointer movq %rbx, %rdi callq _clang_analyzer_dump_pointer 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 _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .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 _clang_analyzer_dump sub w0, w19, #1 bl _clang_analyzer_dump bl _clang_analyzer_numTimesReached bl _clang_analyzer_numTimesReached cmp w19, #13 b.le LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _clang_analyzer_printState .cfi_endproc ; -- End function .globl _test_field_dumps ; -- Begin function test_field_dumps .p2align 2 _test_field_dumps: ; @test_field_dumps .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, x1 str x0, [sp, #8] add x0, sp, #8 bl _clang_analyzer_dump_pointer mov x0, x19 bl _clang_analyzer_dump_pointer ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/61089.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ByteSwapTri _ByteSwapTri: ## @ByteSwapTri .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 movl (%rdi), %edi callq _BigLong movl %eax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ByteSwapTri .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ByteSwapTri _ByteSwapTri: ; @ByteSwapTri .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 w0, [x0] bl _BigLong str 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 .no_dead_strip _ByteSwapTri .subsections_via_symbols
AnghaBench/lab/q3map2/common/extr_trilib.c_ByteSwapTri.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unixModeBit _unixModeBit: ## @unixModeBit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $0, (%rdx) js LBB0_1 ## %bb.2: je LBB0_3 ## %bb.4: orb %sil, (%rdi) popq %rbp retq LBB0_1: xorl %eax, %eax andb (%rdi), %sil setne %al movl %eax, (%rdx) popq %rbp retq LBB0_3: notb %sil andb %sil, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _unixModeBit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unixModeBit _unixModeBit: ; @unixModeBit .cfi_startproc ; %bb.0: ldr w8, [x2] tbnz w8, #31, LBB0_3 ; %bb.1: cbz w8, LBB0_4 ; %bb.2: ldrb w8, [x0] orr w8, w8, w1 strb w8, [x0] ret LBB0_3: ldrb w8, [x0] tst w8, w1 cset w8, ne str w8, [x2] ret LBB0_4: ldrb w8, [x0] bic w8, w8, w1 strb w8, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _unixModeBit .subsections_via_symbols
AnghaBench/sqlcipher/src/extr_os_unix.c_unixModeBit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function argv_flt_user _argv_flt_user: ## @argv_flt_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 subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r14 movq %rsi, -64(%rbp) ## 8-byte Spill movq %rdi, %rbx callq _EXP movq %rax, %r12 movslq (%rax), %r13 leaq 4(%r14), %rsi leaq -1(%r15), %rdx movq %rbx, %rdi callq _INT2CHAR movq %rbx, %rdi callq _v_strdup testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, -48(%rbp) ## 8-byte Spill movq %r13, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _setpwent xorl %eax, %eax callq _getpwent testq %rax, %rax movq %r14, -80(%rbp) ## 8-byte Spill movq %rbx, %r14 movq -64(%rbp), %rbx ## 8-byte Reload je LBB0_5 ## %bb.3: movq %rax, %r13 leaq 1(%r15), %rax movq %rax, -72(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl (%r13), %edi callq _strlen movl (%r13), %esi leaq 1(%rax), %rdx movq %r14, %rdi movq %rbx, %r13 movq -80(%rbp), %rbx ## 8-byte Reload movq %rbx, %rcx movq %r15, %r8 callq _CHAR2INT movq %r14, %rdi movq -72(%rbp), %rsi ## 8-byte Reload callq _argv_alloc movq 8(%r12), %rax movslq (%r12), %rcx movq (%rax,%rcx,8), %rax movq (%rax), %rax movb $126, (%rax) movq 8(%r12), %rax movslq (%r12), %rcx movq (%rax,%rcx,8), %rax movq (%rax), %rdi incq %rdi movq %rbx, %rsi movq %r13, %rbx movq %r15, %rdx callq _MEMCPY movq 8(%r12), %rax movslq (%r12), %rcx movq (%rax,%rcx,8), %rdx movq %r15, 8(%rdx) incq %rcx movl %ecx, (%r12) movq %rax, 8(%r13) movq %rcx, (%r13) xorl %eax, %eax callq _getpwent movq %rax, %r13 testq %rax, %rax jne LBB0_4 LBB0_5: xorl %eax, %eax callq _endpwent movq -48(%rbp), %rdi ## 8-byte Reload callq _free movq -56(%rbp), %rax ## 8-byte Reload movq %rax, %rdi shlq $3, %rdi addq 8(%r12), %rdi movl (%r12), %esi subl %eax, %esi movq _argv_comp@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $8, %edx callq _qsort xorl %eax, %eax jmp LBB0_6 LBB0_1: movl $1, %eax LBB0_6: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _argv_comp,4,2 ## @argv_comp .no_dead_strip _argv_flt_user .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function argv_flt_user _argv_flt_user: ; @argv_flt_user .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 bl _EXP mov x19, x0 ldrsw x27, [x0] add x1, x21, #4 sub x2, x20, #1 mov x0, x23 bl _INT2CHAR mov x0, x23 bl _v_strdup cbz x0, LBB0_5 ; %bb.1: mov x24, x0 bl _setpwent bl _getpwent cbz x0, LBB0_4 ; %bb.2: mov x26, x0 add x25, x20, #1 mov w28, #126 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [x26] bl _strlen ldr w1, [x26] add x2, x0, #1 mov x0, x23 mov x3, x21 mov x4, x20 bl _CHAR2INT mov x0, x23 mov x1, x25 bl _argv_alloc ldr x8, [x19, #8] ldrsw x9, [x19] ldr x8, [x8, x9, lsl #3] ldr x8, [x8] strb w28, [x8] ldr x8, [x19, #8] ldrsw x9, [x19] ldr x8, [x8, x9, lsl #3] ldr x8, [x8] add x0, x8, #1 mov x1, x21 mov x2, x20 bl _MEMCPY ldr x8, [x19, #8] ldrsw x9, [x19] ldr x10, [x8, x9, lsl #3] str x20, [x10, #8] add x9, x9, #1 str w9, [x19] stp x9, x8, [x22] bl _getpwent mov x26, x0 cbnz x0, LBB0_3 LBB0_4: bl _endpwent mov x0, x24 bl _free ldr x8, [x19, #8] add x0, x8, x27, lsl #3 ldr w8, [x19] sub w1, w8, w27 Lloh0: adrp x8, _argv_comp@GOTPAGE Lloh1: ldr x8, [x8, _argv_comp@GOTPAGEOFF] Lloh2: ldr w3, [x8] mov w2, #8 bl _qsort mov w0, #0 b LBB0_6 LBB0_5: mov w0, #1 LBB0_6: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _argv_comp,4,2 ; @argv_comp .no_dead_strip _argv_flt_user .subsections_via_symbols
AnghaBench/freebsd/contrib/nvi/ex/extr_ex_argv.c_argv_flt_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gf100_ltc_flush ## -- Begin function gf100_ltc_flush .p2align 4, 0x90 _gf100_ltc_flush: ## @gf100_ltc_flush .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 (%rdi), %rbx movq %rbx, %rdi movl $458768, %esi ## imm = 0x70010 movl $1, %edx callq _nvkm_wr32 movq %rbx, %rdi movl $2000, %esi ## imm = 0x7D0 movl $458768, %edx ## imm = 0x70010 movl $3, %ecx xorl %r8d, %r8d callq _nvkm_wait_msec testq %rax, %rax jle LBB0_1 ## %bb.2: leaq L_.str(%rip), %rsi movq %r14, %rdi movq %rax, %rdx popq %rbx popq %r14 popq %rbp jmp _nvkm_debug ## TAILCALL LBB0_1: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "LTC flush took %lld ns\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gf100_ltc_flush ; -- Begin function gf100_ltc_flush .p2align 2 _gf100_ltc_flush: ; @gf100_ltc_flush .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 x20, [x0] mov x0, x20 mov w1, #16 movk w1, #7, lsl #16 mov w2, #1 bl _nvkm_wr32 mov x0, x20 mov w1, #2000 mov w2, #16 movk w2, #7, lsl #16 mov w3, #3 mov w4, #0 bl _nvkm_wait_msec cmp x0, #1 b.lt LBB0_2 ; %bb.1: mov x2, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: 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 _nvkm_debug LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "LTC flush took %lld ns\n" .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/extr_gf100.c_gf100_ltc_flush.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evrpc_register_generic ## -- Begin function evrpc_register_generic .p2align 4, 0x90 _evrpc_register_generic: ## @evrpc_register_generic .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, %rax movq %rcx, %r14 movq %rdx, %r15 movq %rdi, %r12 movq 16(%rbp), %rcx movq 24(%rbp), %r8 movq 32(%rbp), %r9 movups 40(%rbp), %xmm0 movups 56(%rbp), %xmm1 movups %xmm1, 16(%rsp) movups %xmm0, (%rsp) movq %rsi, %rdi movq %rax, %rsi movq %rbx, %rdx callq _evrpc_register_object testq %rax, %rax je LBB0_1 ## %bb.2: movq %r12, %rdi movq %rax, %rsi movq %r15, %rdx movq %r14, %rcx callq _evrpc_register_rpc xorl %eax, %eax jmp LBB0_3 LBB0_1: movl $-1, %eax LBB0_3: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _evrpc_register_generic ; -- Begin function evrpc_register_generic .p2align 2 _evrpc_register_generic: ; @evrpc_register_generic .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 x10, x7 mov x9, x6 mov x8, x5 mov x19, x3 mov x20, x2 mov x21, x0 ldp x5, x6, [x29, #16] ldp x7, x11, [x29, #32] ldr x12, [x29, #48] stp x11, x12, [sp] mov x0, x1 mov x1, x4 mov x2, x8 mov x3, x9 mov x4, x10 bl _evrpc_register_object cbz x0, LBB0_2 ; %bb.1: mov x1, x0 mov x0, x21 mov x2, x20 mov x3, x19 bl _evrpc_register_rpc mov w0, #0 b LBB0_3 LBB0_2: mov w0, #-1 LBB0_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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/libevent/extr_evrpc.c_evrpc_register_generic.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _base_prefork ## -- Begin function base_prefork .p2align 4, 0x90 _base_prefork: ## @base_prefork .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 _malloc_mutex_prefork ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _base_prefork ; -- Begin function base_prefork .p2align 2 _base_prefork: ; @base_prefork .cfi_startproc ; %bb.0: b _malloc_mutex_prefork .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/jemalloc/src/extr_base.c_base_prefork.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi leaq -44(%rbp), %rsi leaq -48(%rbp), %rdx xorl %eax, %eax callq _scanf movl -44(%rbp), %eax leal 1(%rax), %r10d movl %r10d, -44(%rbp) cmpl -48(%rbp), %r10d jge LBB0_17 ## %bb.1: leaq L_.str.1(%rip), %r14 leaq L_.str.2(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 leaq L_str(%rip), %rdi callq _puts LBB0_16: ## in Loop: Header=BB0_2 Depth=1 movl -44(%rbp), %eax leal 1(%rax), %r10d movl %r10d, -44(%rbp) cmpl -48(%rbp), %r10d jge LBB0_17 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_12 Depth 2 cmpl $2, %eax jl LBB0_10 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leal -1(%rax), %r8d cmpl $2, %eax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl $2, %ebx xorl %ecx, %ecx jmp LBB0_7 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movl %r8d, %r9d andl $-2, %r9d movl $2, %ebx xorl %ecx, %ecx .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ebx, %edi movl %r10d, %eax cltd idivl %ebx xorl %ebx, %ebx testl %edx, %edx sete %bl leal 1(%rdi), %esi movl %r10d, %eax cltd idivl %esi cmpl $1, %edx adcl %ebx, %ecx leal 2(%rdi), %ebx cmpl %r9d, %edi jne LBB0_6 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 testb $1, %r8b je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movl %r10d, %eax cltd idivl %ebx cmpl $1, %edx adcl $0, %ecx LBB0_9: ## in Loop: Header=BB0_2 Depth=1 testl %ecx, %ecx jne LBB0_16 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi movl %r10d, %esi xorl %eax, %eax callq _printf movl -44(%rbp), %ebx addl %ebx, %ebx movl -48(%rbp), %r13d cmpl %r13d, %ebx jge LBB0_14 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movl $3, %r15d movl %ebx, %esi .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r12, %rdi xorl %eax, %eax callq _printf movl -44(%rbp), %esi imull %r15d, %esi incl %r15d cmpl -48(%rbp), %esi jl LBB0_12 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 cmpl %r13d, %ebx jge LBB0_14 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi callq _putchar jmp LBB0_16 LBB0_17: 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 "%d%d" L_.str.1: ## @.str.1 .asciz "%d\n" L_.str.2: ## @.str.2 .asciz "%d " L_str: ## @str .asciz "*" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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, #24 add x9, sp, #28 stp x9, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldp w10, w9, [sp, #24] add w8, w9, #1 str w8, [sp, #28] cmp w8, w10 b.ge LBB0_18 ; %bb.1: Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF Lloh4: adrp x20, l_.str.2@PAGE Lloh5: add x20, x20, l_.str.2@PAGEOFF Lloh6: adrp x21, l_str@PAGE Lloh7: add x21, x21, l_str@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _puts LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldp w10, w9, [sp, #24] add w8, w9, #1 str w8, [sp, #28] cmp w8, w10 b.ge LBB0_18 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_11 Depth 2 ; Child Loop BB0_15 Depth 2 cmp w9, #2 b.lt LBB0_13 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 sub w12, w9, #1 cmp w12, #2 b.hs LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov w11, #0 mov w10, #2 b LBB0_10 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 mov w15, #0 mov w11, #0 mov w14, #0 and w13, w12, #0xfffffffe add w10, w13, #2 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add w16, w15, #3 add w17, w15, #2 sdiv w15, w8, w17 msub w15, w15, w17, w8 sdiv w0, w8, w16 msub w16, w0, w16, w8 cmp w15, #0 cinc w11, w11, eq cmp w16, #0 cinc w14, w14, eq mov x15, x17 cmp w13, w17 b.ne LBB0_8 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 add w11, w14, w11 cmp w12, w13 b.eq LBB0_12 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 add w9, w9, #1 LBB0_11: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 sdiv w12, w8, w10 msub w12, w12, w10, w8 cmp w12, #0 cinc w11, w11, eq add w10, w10, #1 cmp w9, w10 b.ne LBB0_11 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 cbnz w11, LBB0_3 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 str x8, [sp] mov x0, x19 bl _printf ldp w23, w8, [sp, #24] lsl w22, w8, #1 cmp w22, w23 b.ge LBB0_2 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 mov w24, #3 mov x8, x22 LBB0_15: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 str x8, [sp] mov x0, x20 bl _printf ldp w9, w8, [sp, #24] mul w8, w8, w24 add w24, w24, #1 cmp w8, w9 b.lt LBB0_15 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 cmp w22, w23 b.ge LBB0_2 ; %bb.17: ; in Loop: Header=BB0_4 Depth=1 mov w0, #10 bl _putchar b LBB0_3 LBB0_18: 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 Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d%d" l_.str.1: ; @.str.1 .asciz "%d\n" l_.str.2: ; @.str.2 .asciz "%d " l_str: ; @str .asciz "*" .subsections_via_symbols
the_stack_data/70451297.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vwarn ## -- Begin function vwarn _vwarn: ## @vwarn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq ___error movl (%rax), %edi movq %rbx, %rsi movq %r14, %rdx popq %rbx popq %r14 popq %rbp jmp _vwarnc ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vwarn ; -- Begin function vwarn .p2align 2 _vwarn: ; @vwarn .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl ___error ldr w0, [x0] mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _vwarnc .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/847663.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function vac_estimate_reltuples LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__text,regular,pure_instructions .globl _vac_estimate_reltuples .p2align 4, 0x90 _vac_estimate_reltuples: ## @vac_estimate_reltuples .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ucomisd %xmm0, %xmm1 jae LBB0_3 ## %bb.1: movq (%rdi), %rax movsd 8(%rax), %xmm3 ## xmm3 = mem[0],zero xorpd %xmm5, %xmm5 ucomisd %xmm5, %xmm1 jne LBB0_4 jp LBB0_4 ## %bb.2: movapd %xmm3, %xmm2 LBB0_3: movapd %xmm2, %xmm0 popq %rbp retq LBB0_4: movsd (%rax), %xmm4 ## xmm4 = mem[0],zero ucomisd %xmm5, %xmm4 jne LBB0_5 jp LBB0_5 ## %bb.6: divsd %xmm1, %xmm2 mulsd %xmm0, %xmm2 addsd LCPI0_0(%rip), %xmm2 xorps %xmm0, %xmm0 roundsd $9, %xmm2, %xmm0 popq %rbp retq LBB0_5: divsd %xmm4, %xmm3 subsd %xmm1, %xmm0 mulsd %xmm3, %xmm0 addsd %xmm2, %xmm0 addsd LCPI0_0(%rip), %xmm0 roundsd $9, %xmm0, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vac_estimate_reltuples ; -- Begin function vac_estimate_reltuples .p2align 2 _vac_estimate_reltuples: ; @vac_estimate_reltuples .cfi_startproc ; %bb.0: fcmp d1, d0 b.ge LBB0_3 ; %bb.1: ldr x8, [x0] ldr d3, [x8, #8] fcmp d1, #0.0 b.ne LBB0_4 ; %bb.2: fmov d2, d3 LBB0_3: fmov d0, d2 ret LBB0_4: ldr d4, [x8] fcmp d4, #0.0 b.ne LBB0_6 ; %bb.5: fdiv d1, d2, d1 fmov d2, #0.50000000 fmadd d0, d1, d0, d2 frintm d0, d0 ret LBB0_6: fdiv d3, d3, d4 fsub d0, d0, d1 fmadd d0, d3, d0, d2 fmov d1, #0.50000000 fadd d0, d0, d1 frintm d0, d0 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/postgres/src/backend/commands/extr_vacuum.c_vac_estimate_reltuples.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mrb_basicsocket_getpeername _mrb_basicsocket_getpeername: ## @mrb_basicsocket_getpeername .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 movl $4, -12(%rbp) callq _socket_fd leaq -16(%rbp), %rsi leaq -12(%rbp), %rdx movl %eax, %edi callq _getpeername testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _mrb_sys_fail LBB0_2: movl -12(%rbp), %edx leaq -16(%rbp), %rsi movq %rbx, %rdi callq _mrb_str_new addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "getpeername" .no_dead_strip _mrb_basicsocket_getpeername .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mrb_basicsocket_getpeername _mrb_basicsocket_getpeername: ; @mrb_basicsocket_getpeername .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 mov w8, #4 str w8, [sp, #4] bl _socket_fd add x1, sp, #8 add x2, sp, #4 bl _getpeername cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _mrb_sys_fail LBB0_2: ldr w2, [sp, #4] add x1, sp, #8 mov x0, x19 bl _mrb_str_new ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "getpeername" .no_dead_strip _mrb_basicsocket_getpeername .subsections_via_symbols
AnghaBench/mruby/mrbgems/mruby-socket/src/extr_socket.c_mrb_basicsocket_getpeername.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x40400000 ## float 3 .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 $184, %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), %r15 movq %r15, %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %r12 leaq -208(%rbp), %rsi movq %r12, %rdi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rbx movq %rbx, %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %r13 leaq -220(%rbp), %rsi movq %r13, %rdi xorl %eax, %eax callq _scanf xorps %xmm0, %xmm0 addss -220(%rbp), %xmm0 movss %xmm0, -224(%rbp) ## 4-byte Spill movq %r15, %rdi movl $2, %esi xorl %eax, %eax callq _printf leaq -158(%rbp), %r14 movq %r12, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf movq %rbx, %rdi movl $2, %esi xorl %eax, %eax callq _printf leaq -216(%rbp), %rsi movq %r13, %rdi xorl %eax, %eax callq _scanf movss -224(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero addss -216(%rbp), %xmm0 movss %xmm0, -224(%rbp) ## 4-byte Spill movq %r15, %rdi movl $3, %esi xorl %eax, %eax callq _printf leaq -108(%rbp), %r15 movq %r12, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf leaq -212(%rbp), %rsi movq %r13, %rdi xorl %eax, %eax callq _scanf movss -224(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero addss -212(%rbp), %xmm1 divss LCPI0_0(%rip), %xmm1 movss -220(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm1, -224(%rbp) ## 4-byte Spill ucomiss %xmm1, %xmm0 jb LBB0_2 ## %bb.1: leaq L_.str.4(%rip), %rdi leaq -208(%rbp), %rsi xorl %eax, %eax callq _printf LBB0_2: movss -216(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss -224(%rbp), %xmm0 ## 4-byte Folded Reload jb LBB0_4 ## %bb.3: leaq L_.str.4(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf LBB0_4: movss -212(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss -224(%rbp), %xmm0 ## 4-byte Folded Reload jb LBB0_6 ## %bb.5: leaq L_.str.4(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _printf LBB0_6: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_8 ## %bb.7: xorl %eax, %eax addq $184, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Digite o nome do %d aluno: " L_.str.1: ## @.str.1 .asciz " %49[^\n]" L_.str.2: ## @.str.2 .asciz "Digite a nota do %d aluno: " L_.str.3: ## @.str.3 .asciz "%d" L_.str.4: ## @.str.4 .asciz " Aluno: %s\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, #304 .cfi_def_cfa_offset 304 stp d9, d8, [sp, #192] ; 16-byte Folded Spill stp x28, x27, [sp, #208] ; 16-byte Folded Spill stp x26, x25, [sp, #224] ; 16-byte Folded Spill stp x24, x23, [sp, #240] ; 16-byte Folded Spill stp x22, x21, [sp, #256] ; 16-byte Folded Spill stp x20, x19, [sp, #272] ; 16-byte Folded Spill stp x29, x30, [sp, #288] ; 16-byte Folded Spill add x29, sp, #288 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-104] mov w21, #1 str x21, [sp] Lloh3: adrp x19, l_.str@PAGE Lloh4: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf add x23, sp, #34 str x23, [sp] Lloh5: adrp x20, l_.str.1@PAGE Lloh6: add x20, x20, l_.str.1@PAGEOFF mov x0, x20 bl _scanf str x21, [sp] Lloh7: adrp x21, l_.str.2@PAGE Lloh8: add x21, x21, l_.str.2@PAGEOFF mov x0, x21 bl _printf add x25, sp, #20 str x25, [sp] Lloh9: adrp x22, l_.str.3@PAGE Lloh10: add x22, x22, l_.str.3@PAGEOFF mov x0, x22 bl _scanf ldr s0, [sp, #20] movi d1, #0000000000000000 fadd s8, s0, s1 mov w26, #2 str x26, [sp] mov x0, x19 bl _printf add x24, x23, #50 str x24, [sp] mov x0, x20 bl _scanf str x26, [sp] mov x0, x21 bl _printf add x8, x25, #4 str x8, [sp] mov x0, x22 bl _scanf ldr s0, [sp, #24] fadd s8, s8, s0 mov w26, #3 str x26, [sp] mov x0, x19 bl _printf add x19, x23, #100 str x19, [sp] mov x0, x20 bl _scanf str x26, [sp] mov x0, x21 bl _printf add x8, x25, #8 str x8, [sp] mov x0, x22 bl _scanf ldr s0, [sp, #28] ldr s1, [sp, #20] fadd s0, s8, s0 fmov s2, #3.00000000 fdiv s8, s0, s2 fcmp s1, s8 b.lt LBB0_2 ; %bb.1: str x23, [sp] Lloh11: adrp x0, l_.str.4@PAGE Lloh12: add x0, x0, l_.str.4@PAGEOFF bl _printf LBB0_2: ldr s0, [sp, #24] fcmp s0, s8 b.lt LBB0_4 ; %bb.3: str x24, [sp] Lloh13: adrp x0, l_.str.4@PAGE Lloh14: add x0, x0, l_.str.4@PAGEOFF bl _printf LBB0_4: ldr s0, [sp, #28] fcmp s0, s8 b.lt LBB0_6 ; %bb.5: str x19, [sp] Lloh15: adrp x0, l_.str.4@PAGE Lloh16: add x0, x0, l_.str.4@PAGEOFF bl _printf LBB0_6: ldur x8, [x29, #-104] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: mov w0, #0 ldp x29, x30, [sp, #288] ; 16-byte Folded Reload ldp x20, x19, [sp, #272] ; 16-byte Folded Reload ldp x22, x21, [sp, #256] ; 16-byte Folded Reload ldp x24, x23, [sp, #240] ; 16-byte Folded Reload ldp x26, x25, [sp, #224] ; 16-byte Folded Reload ldp x28, x27, [sp, #208] ; 16-byte Folded Reload ldp d9, d8, [sp, #192] ; 16-byte Folded Reload add sp, sp, #304 ret LBB0_8: bl ___stack_chk_fail .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Digite o nome do %d aluno: " l_.str.1: ; @.str.1 .asciz " %49[^\n]" l_.str.2: ; @.str.2 .asciz "Digite a nota do %d aluno: " l_.str.3: ; @.str.3 .asciz "%d" l_.str.4: ; @.str.4 .asciz " Aluno: %s\n" .subsections_via_symbols
the_stack_data/86074028.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function GetMacAddrHashCode _GetMacAddrHashCode: ## @GetMacAddrHashCode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _GET_MAC_ADDR_CRC popq %rbp jmp _GetMirror32 ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _GetMacAddrHashCode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function GetMacAddrHashCode _GetMacAddrHashCode: ; @GetMacAddrHashCode .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 _GET_MAC_ADDR_CRC ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _GetMirror32 .cfi_endproc ; -- End function .no_dead_strip _GetMacAddrHashCode .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/extr_dtsec.c_GetMacAddrHashCode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usb_hcd_sa1111_remove ## -- Begin function usb_hcd_sa1111_remove .p2align 4, 0x90 _usb_hcd_sa1111_remove: ## @usb_hcd_sa1111_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _usb_remove_hcd movq %r14, %rdi callq _sa1111_stop_hc movl (%rbx), %esi movl 4(%rbx), %edi callq _release_mem_region movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _usb_put_hcd ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usb_hcd_sa1111_remove ; -- Begin function usb_hcd_sa1111_remove .p2align 2 _usb_hcd_sa1111_remove: ; @usb_hcd_sa1111_remove .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _usb_remove_hcd mov x0, x19 bl _sa1111_stop_hc ldp w1, w0, [x20] bl _release_mem_region mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _usb_put_hcd .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-sa1111.c_usb_hcd_sa1111_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ci_otg_add_timer _ci_otg_add_timer: ## @ci_otg_add_timer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 _NUM_OTG_FSM_TIMERS@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jbe LBB0_10 ## %bb.1: movl %esi, %r15d movq %rdi, %r12 leaq 8(%rdi), %rbx movq %rbx, %rdi callq _spin_lock_irqsave movq _otg_timer_ms@GOTPCREL(%rip), %rax movq (%rax), %rax movl %r15d, %esi movq (%rax,%rsi,8), %rax movq _MSEC_PER_SEC@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rax, %rdx orq %rcx, %rdx shrq $32, %rdx movq %rbx, -48(%rbp) ## 8-byte Spill movq %rsi, -56(%rbp) ## 8-byte Spill je LBB0_2 ## %bb.3: xorl %edx, %edx divq %rcx movq %rdx, %rbx movq %rax, %r13 jmp LBB0_4 LBB0_10: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx movl %edx, %ebx movl %eax, %r13d LBB0_4: movq _NSEC_PER_MSEC@GOTPCREL(%rip), %rax imulq (%rax), %rbx xorl %eax, %eax callq _ktime_get movl %eax, %r14d movq %r13, %rdi movq %rbx, %rsi callq _ktime_set movl %r14d, %edi movl %eax, %esi callq _ktime_add movq 16(%r12), %rdx movl $1, %esi movl %r15d, %ecx shll %cl, %esi movq -56(%rbp), %rbx ## 8-byte Reload movl %eax, (%rdx,%rbx,4) orl %esi, (%r12) movslq 4(%r12), %rax movq _NUM_OTG_FSM_TIMERS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_6 ## %bb.5: movq -48(%rbp), %r14 ## 8-byte Reload jmp LBB0_8 LBB0_6: movl (%rdx,%rax,4), %edi movl (%rdx,%rbx,4), %esi callq _ktime_after testq %rax, %rax movq -48(%rbp), %r14 ## 8-byte Reload je LBB0_9 ## %bb.7: movq 16(%r12), %rdx LBB0_8: movl %r15d, 4(%r12) addq $24, %r12 movl (%rdx,%rbx,4), %esi movq _NSEC_PER_MSEC@GOTPCREL(%rip), %rax movq (%rax), %rdx movq _HRTIMER_MODE_ABS@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r12, %rdi callq _hrtimer_start_range_ns LBB0_9: movq %r14, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irqrestore ## TAILCALL .cfi_endproc ## -- End function .comm _NUM_OTG_FSM_TIMERS,4,2 ## @NUM_OTG_FSM_TIMERS .comm _otg_timer_ms,8,3 ## @otg_timer_ms .comm _MSEC_PER_SEC,8,3 ## @MSEC_PER_SEC .comm _NSEC_PER_MSEC,8,3 ## @NSEC_PER_MSEC .comm _HRTIMER_MODE_ABS,4,2 ## @HRTIMER_MODE_ABS .no_dead_strip _ci_otg_add_timer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ci_otg_add_timer _ci_otg_add_timer: ; @ci_otg_add_timer .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 Lloh0: adrp x27, _NUM_OTG_FSM_TIMERS@GOTPAGE Lloh1: ldr x27, [x27, _NUM_OTG_FSM_TIMERS@GOTPAGEOFF] ldr w8, [x27] cmp w8, w1 b.ls LBB0_6 ; %bb.1: mov x21, x1 mov x20, x0 add x19, x0, #8 mov x0, x19 bl _spin_lock_irqsave Lloh2: adrp x8, _otg_timer_ms@GOTPAGE Lloh3: ldr x8, [x8, _otg_timer_ms@GOTPAGEOFF] Lloh4: ldr x8, [x8] mov w25, w21 ldr x8, [x8, w21, uxtw #3] Lloh5: adrp x9, _MSEC_PER_SEC@GOTPAGE Lloh6: ldr x9, [x9, _MSEC_PER_SEC@GOTPAGEOFF] Lloh7: ldr x9, [x9] udiv x22, x8, x9 msub x8, x22, x9, x8 Lloh8: adrp x26, _NSEC_PER_MSEC@GOTPAGE Lloh9: ldr x26, [x26, _NSEC_PER_MSEC@GOTPAGEOFF] ldr x9, [x26] mul x23, x9, x8 bl _ktime_get mov x24, x0 mov x0, x22 mov x1, x23 bl _ktime_set mov x1, x0 mov x0, x24 bl _ktime_add ldr x8, [x20, #16] str w0, [x8, w21, uxtw #2] mov w9, #1 lsl w10, w9, w21 ldp w11, w9, [x20] ; kill: def $w9 killed $w9 def $x9 sxtw x9, w9 orr w10, w11, w10 str w10, [x20] ldr w10, [x27] cmp w9, w10 b.eq LBB0_4 ; %bb.2: ldr w0, [x8, x9, lsl #2] ldr w1, [x8, x25, lsl #2] bl _ktime_after cbz x0, LBB0_5 ; %bb.3: ldr x8, [x20, #16] LBB0_4: str w21, [x20, #4] add x0, x20, #24 ldr w1, [x8, x25, lsl #2] ldr x2, [x26] Lloh10: adrp x8, _HRTIMER_MODE_ABS@GOTPAGE Lloh11: ldr x8, [x8, _HRTIMER_MODE_ABS@GOTPAGEOFF] Lloh12: ldr w3, [x8] bl _hrtimer_start_range_ns LBB0_5: mov x0, x19 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 _spin_unlock_irqrestore LBB0_6: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _NUM_OTG_FSM_TIMERS,4,2 ; @NUM_OTG_FSM_TIMERS .comm _otg_timer_ms,8,3 ; @otg_timer_ms .comm _MSEC_PER_SEC,8,3 ; @MSEC_PER_SEC .comm _NSEC_PER_MSEC,8,3 ; @NSEC_PER_MSEC .comm _HRTIMER_MODE_ABS,4,2 ; @HRTIMER_MODE_ABS .no_dead_strip _ci_otg_add_timer .subsections_via_symbols
AnghaBench/linux/drivers/usb/chipidea/extr_otg_fsm.c_ci_otg_add_timer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rsi), %r15 movq _g_progname@GOTPCREL(%rip), %rax movq %r15, (%rax) movl $1, %eax leaq L_.str.4(%rip), %rcx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movzbl (%rax,%rcx), %edx incq %rax leal 96(%rax), %esi cmpb %dl, %sil je LBB0_1 ## %bb.2: testb %dl, %dl jne LBB0_3 ## %bb.6: movl $100000001, %edi ## imm = 0x5F5E101 callq _malloc testq %rax, %rax je LBB0_7 ## %bb.8: movq %rax, %r14 movl $100000001, %edi ## imm = 0x5F5E101 callq _malloc testq %rax, %rax je LBB0_7 ## %bb.9: movq %rax, %r13 movl $0, -44(%rbp) leaq L_.str(%rip), %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jle LBB0_36 ## %bb.10: leaq L_.str.1(%rip), %r15 leaq L_.str.3(%rip), %r12 jmp LBB0_11 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_11 Depth=1 movl $-1, %esi LBB0_15: ## in Loop: Header=BB0_11 Depth=1 cmpb %dil, %al movl $0, %eax cmovel %eax, %esi LBB0_35: ## in Loop: Header=BB0_11 Depth=1 movq %r12, %rdi xorl %eax, %eax callq _printf movl -44(%rbp), %eax leal -1(%rax), %ecx movl %ecx, -44(%rbp) cmpl $1, %eax jle LBB0_36 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_13 Depth 2 movq %r15, %rdi movq %r14, %rsi movq %r13, %rdx xorl %eax, %eax callq _scanf movq %r14, %rcx movq %r13, %rdx cmpl $2, %eax je LBB0_13 jmp LBB0_12 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_13 Depth=2 incq %rdx movq %rdx, %rbx LBB0_33: ## in Loop: Header=BB0_13 Depth=2 movq %rbx, %rdx cmpl %esi, %eax jne LBB0_34 LBB0_13: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%rcx), %eax movzbl (%rdx), %edi testl %eax, %eax je LBB0_14 ## %bb.16: ## in Loop: Header=BB0_13 Depth=2 testb %dil, %dil je LBB0_17 ## %bb.18: ## in Loop: Header=BB0_13 Depth=2 cmpb $109, %al jg LBB0_20 ## %bb.19: ## in Loop: Header=BB0_13 Depth=2 incq %rcx jmp LBB0_26 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_13 Depth=2 leaq 1(%rcx), %rsi cmpb $110, %al jne LBB0_21 ## %bb.22: ## in Loop: Header=BB0_13 Depth=2 xorl %eax, %eax cmpb $103, 1(%rcx) sete %bl je LBB0_23 ## %bb.24: ## in Loop: Header=BB0_13 Depth=2 movq %rsi, %rcx jmp LBB0_25 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_13 Depth=2 incl %eax movq %rsi, %rcx jmp LBB0_26 LBB0_23: ## in Loop: Header=BB0_13 Depth=2 addq $2, %rcx LBB0_25: ## in Loop: Header=BB0_13 Depth=2 movb %bl, %al orl $110, %eax LBB0_26: ## in Loop: Header=BB0_13 Depth=2 movsbl %dil, %esi cmpb $109, %dil jle LBB0_27 ## %bb.28: ## in Loop: Header=BB0_13 Depth=2 leaq 1(%rdx), %rbx cmpb $110, %dil jne LBB0_29 ## %bb.30: ## in Loop: Header=BB0_13 Depth=2 xorl %esi, %esi cmpb $103, 1(%rdx) sete %dil jne LBB0_32 ## %bb.31: ## in Loop: Header=BB0_13 Depth=2 addq $2, %rdx movq %rdx, %rbx LBB0_32: ## in Loop: Header=BB0_13 Depth=2 movb %dil, %sil orl $110, %esi jmp LBB0_33 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_13 Depth=2 incl %esi jmp LBB0_33 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_11 Depth=1 movl $1, %esi xorl %edi, %edi jmp LBB0_15 .p2align 4, 0x90 LBB0_34: ## in Loop: Header=BB0_11 Depth=1 setge %al movzbl %al, %eax leal (%rax,%rax), %esi decl %esi jmp LBB0_35 LBB0_36: movq %r13, %rdi callq _free movq %r14, %rdi callq _free xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _g_progname@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.7(%rip), %rsi leaq L_.str.2(%rip), %rcx LBB0_5: xorl %eax, %eax callq _fprintf movl $1, %edi callq _exit LBB0_7: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.7(%rip), %rsi leaq L_.str.6(%rip), %rcx jmp LBB0_4 LBB0_3: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.7(%rip), %rsi leaq L_.str.5(%rip), %rcx LBB0_4: movq %r15, %rdx jmp LBB0_5 .cfi_endproc ## -- End function .comm _g_progname,8,3 ## @g_progname .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%100000000s%100000000s" L_.str.2: ## @.str.2 .asciz "couldn't read two string operands for comparison" L_.str.3: ## @.str.3 .asciz "%d\n" L_.str.4: ## @.str.4 .asciz "abcdefghijklmnopqrstuvwxyz" L_.str.5: ## @.str.5 .asciz "lower-case letters are not represented contiguously" L_.str.6: ## @.str.6 .asciz "out of memory" L_.str.7: ## @.str.7 .asciz "%s: error: %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 ldr x21, [x1] Lloh0: adrp x23, _g_progname@GOTPAGE Lloh1: ldr x23, [x23, _g_progname@GOTPAGEOFF] str x21, [x23] mov w8, #97 Lloh2: adrp x9, l_.str.4@PAGE+1 Lloh3: add x9, x9, l_.str.4@PAGEOFF+1 LBB0_1: ; =>This Inner Loop Header: Depth=1 add w8, w8, #1 ldrb w10, [x9], #1 cmp w10, w8, uxtb b.eq LBB0_1 ; %bb.2: cbnz w10, LBB0_29 ; %bb.3: mov w0, #57601 movk w0, #1525, lsl #16 bl _malloc cbz x0, LBB0_28 ; %bb.4: mov x19, x0 mov w0, #57601 movk w0, #1525, lsl #16 bl _malloc cbz x0, LBB0_28 ; %bb.5: mov x20, x0 str wzr, [sp, #28] add x8, sp, #28 str x8, [sp] Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #28] cmp w8, #1 b.lt LBB0_25 ; %bb.6: Lloh6: adrp x21, l_.str.1@PAGE Lloh7: add x21, x21, l_.str.1@PAGEOFF mov w24, #-1 mov w25, #110 Lloh8: adrp x22, l_.str.3@PAGE Lloh9: add x22, x22, l_.str.3@PAGEOFF b LBB0_10 LBB0_7: ; in Loop: Header=BB0_10 Depth=1 mov w10, #-1 LBB0_8: ; in Loop: Header=BB0_10 Depth=1 cmp w8, w9 csel w8, wzr, w10, eq LBB0_9: ; in Loop: Header=BB0_10 Depth=1 str x8, [sp] mov x0, x22 bl _printf ldr w8, [sp, #28] subs w8, w8, #1 str w8, [sp, #28] b.le LBB0_25 LBB0_10: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 stp x19, x20, [sp] mov x0, x21 bl _scanf mov x10, x19 mov x11, x20 cmp w0, #2 b.eq LBB0_13 b LBB0_26 LBB0_11: ; in Loop: Header=BB0_13 Depth=2 add x11, x11, #1 LBB0_12: ; in Loop: Header=BB0_13 Depth=2 cmp w8, w9 b.ne LBB0_24 LBB0_13: ; Parent Loop BB0_10 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w8, [x10] ldrsb w9, [x11] cbz w8, LBB0_7 ; %bb.14: ; in Loop: Header=BB0_13 Depth=2 cbz w9, LBB0_23 ; %bb.15: ; in Loop: Header=BB0_13 Depth=2 cmp w8, #109 b.gt LBB0_17 ; %bb.16: ; in Loop: Header=BB0_13 Depth=2 add x10, x10, #1 cmp w9, #109 b.le LBB0_11 b LBB0_20 LBB0_17: ; in Loop: Header=BB0_13 Depth=2 add x12, x10, #1 cmp w8, #110 b.ne LBB0_19 ; %bb.18: ; in Loop: Header=BB0_13 Depth=2 ldrb w8, [x10, #1] add x10, x10, #2 cmp w8, #103 csel x10, x10, x12, eq cinc w8, w25, eq cmp w9, #109 b.le LBB0_11 b LBB0_20 LBB0_19: ; in Loop: Header=BB0_13 Depth=2 add w8, w8, #1 mov x10, x12 cmp w9, #109 b.le LBB0_11 LBB0_20: ; in Loop: Header=BB0_13 Depth=2 add x12, x11, #1 cmp w9, #110 b.ne LBB0_22 ; %bb.21: ; in Loop: Header=BB0_13 Depth=2 ldrb w9, [x11, #1] add x11, x11, #2 cmp w9, #103 csel x11, x11, x12, eq cinc w9, w25, eq b LBB0_12 LBB0_22: ; in Loop: Header=BB0_13 Depth=2 add w9, w9, #1 mov x11, x12 b LBB0_12 LBB0_23: ; in Loop: Header=BB0_10 Depth=1 mov w10, #1 b LBB0_8 LBB0_24: ; in Loop: Header=BB0_10 Depth=1 cneg w8, w24, ge b LBB0_9 LBB0_25: mov x0, x20 bl _free mov x0, x19 bl _free mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_26: Lloh10: adrp x8, ___stderrp@GOTPAGE Lloh11: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh12: ldr x0, [x8] ldr x8, [x23] Lloh13: adrp x9, l_.str.2@PAGE Lloh14: add x9, x9, l_.str.2@PAGEOFF stp x8, x9, [sp] LBB0_27: Lloh15: adrp x1, l_.str.7@PAGE Lloh16: add x1, x1, l_.str.7@PAGEOFF bl _fprintf mov w0, #1 bl _exit LBB0_28: Lloh17: adrp x8, ___stderrp@GOTPAGE Lloh18: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh19: ldr x0, [x8] Lloh20: adrp x8, l_.str.6@PAGE Lloh21: add x8, x8, l_.str.6@PAGEOFF b LBB0_30 LBB0_29: Lloh22: adrp x8, ___stderrp@GOTPAGE Lloh23: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh24: ldr x0, [x8] Lloh25: adrp x8, l_.str.5@PAGE Lloh26: add x8, x8, l_.str.5@PAGEOFF LBB0_30: stp x21, x8, [sp] b LBB0_27 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _g_progname,8,3 ; @g_progname .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%100000000s%100000000s" l_.str.2: ; @.str.2 .asciz "couldn't read two string operands for comparison" l_.str.3: ; @.str.3 .asciz "%d\n" l_.str.4: ; @.str.4 .asciz "abcdefghijklmnopqrstuvwxyz" l_.str.5: ; @.str.5 .asciz "lower-case letters are not represented contiguously" l_.str.6: ; @.str.6 .asciz "out of memory" l_.str.7: ; @.str.7 .asciz "%s: error: %s\n" .subsections_via_symbols
the_stack_data/106462.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $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) movl l___const.main.var+8(%rip), %eax movl %eax, -56(%rbp) movq l___const.main.var(%rip), %rax movq %rax, -64(%rbp) leaq -56(%rbp), %r13 leaq -64(%rbp), %rbx leaq L_.str(%rip), %r14 leaq L_.str.1(%rip), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %r12d, %esi movq %rbx, %rdx xorl %eax, %eax callq _printf movl (%rbx), %edx movq %r15, %rdi movl %r12d, %esi xorl %eax, %eax callq _printf addq $4, %rbx incl %r12d cmpq %r13, %rbx jbe LBB0_1 ## %bb.2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_4 ## %bb.3: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .globl _MAX ## @MAX .p2align 2 _MAX: .long 3 ## 0x3 .p2align 2 ## @__const.main.var l___const.main.var: .long 10 ## 0xa .long 100 ## 0x64 .long 200 ## 0xc8 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Address of var[%d] = %x\n" L_.str.1: ## @.str.1 .asciz "Value of var[%d] = %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, #112 .cfi_def_cfa_offset 112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov w21, #0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] Lloh3: adrp x8, l___const.main.var@PAGE Lloh4: add x8, x8, l___const.main.var@PAGEOFF ldr x9, [x8] str x9, [sp, #24] ldr w8, [x8, #8] str w8, [sp, #32] add x22, sp, #24 add x23, x22, #8 Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF Lloh7: adrp x20, l_.str.1@PAGE Lloh8: add x20, x20, l_.str.1@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 stp x21, x22, [sp] mov x0, x19 bl _printf ldr w8, [x22], #4 stp x21, x8, [sp] mov x0, x20 bl _printf add w21, w21, #1 cmp x22, x23 b.ls LBB0_1 ; %bb.2: ldr x8, [sp, #40] 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_4 ; %bb.3: mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_4: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__const .globl _MAX ; @MAX .p2align 2 _MAX: .long 3 ; 0x3 .p2align 2 ; @__const.main.var l___const.main.var: .long 10 ; 0xa .long 100 ; 0x64 .long 200 ; 0xc8 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Address of var[%d] = %x\n" l_.str.1: ; @.str.1 .asciz "Value of var[%d] = %d\n" .subsections_via_symbols
the_stack_data/40763508.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _affs_add_entry ## -- Begin function affs_add_entry .p2align 4, 0x90 _affs_add_entry: ## @affs_add_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %rax movq %rsi, %rbx movq 16(%rdi), %r12 movq %rdi, -64(%rbp) ## 8-byte Spill movl (%rdi), %esi movl (%rbx), %edx movl 8(%rax), %r8d movq %rax, -72(%rbp) ## 8-byte Spill movl 16(%rax), %ecx leaq L_.str(%rip), %rdi movl %r14d, %r9d callq _pr_debug movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax movq %rax, -80(%rbp) ## 8-byte Spill xorl %r15d, %r15d subl (%rcx), %r15d movl (%rbx), %esi movq %r12, %rdi callq _affs_bread testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r13 movq %rbx, -56(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _affs_lock_link movl %r14d, -48(%rbp) ## 4-byte Spill andl $-2, %r14d cmpl $128, %r14d jne LBB0_3 ## %bb.4: movq _ENOSPC@GOTPCREL(%rip), %rax movl (%rax), %r15d movq -64(%rbp), %rdi ## 8-byte Reload movl (%rdi), %esi callq _affs_alloc_block testl %eax, %eax je LBB0_5 ## %bb.6: movl %eax, %ebx movq _EIO@GOTPCREL(%rip), %rax movl (%rax), %r15d movq %r12, %rdi movl %ebx, %esi callq _affs_getzeroblk testq %rax, %rax je LBB0_12 ## %bb.7: movq %rax, %r14 movq %rbx, -80(%rbp) ## 8-byte Spill jmp LBB0_8 LBB0_1: xorl %r14d, %r14d xorl %r13d, %r13d jmp LBB0_11 LBB0_3: movq %r13, %r14 xorl %r13d, %r13d LBB0_8: movq _T_SHORT@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cpu_to_be32 movq %rax, %rbx movq %r14, %rdi callq _AFFS_HEAD movq %rbx, 8(%rax) movl (%r14), %edi callq _cpu_to_be32 movq %rax, %rbx movq %r14, %rdi callq _AFFS_HEAD movq %rbx, (%rax) movq %r12, %rdi movq %r14, %rsi callq _AFFS_TAIL movl 32(%rax), %edi movq -72(%rbp), %rsi ## 8-byte Reload callq _affs_copy_name movl -48(%rbp), %edi ## 4-byte Reload callq _cpu_to_be32 movq %rax, %rbx movq %r12, %rdi movq %r14, %rsi callq _AFFS_TAIL movq %rbx, 24(%rax) movq -64(%rbp), %rax ## 8-byte Reload movl (%rax), %edi callq _cpu_to_be32 movq %rax, %rbx movq %r12, %rdi movq %r14, %rsi callq _AFFS_TAIL movq %rbx, 16(%rax) testq %r13, %r13 movq -56(%rbp), %rbx ## 8-byte Reload je LBB0_10 ## %bb.9: movq %r12, %rdi movq %r13, %rsi callq _AFFS_TAIL movq (%rax), %rax movq %rax, -48(%rbp) ## 8-byte Spill movl (%rbx), %edi callq _cpu_to_be32 movq %r13, %r15 movq %rax, %rbx movq %r12, %rdi movq %r14, %rsi callq _AFFS_TAIL movq %rbx, 8(%rax) movq %r12, %rdi movq %r14, %rsi callq _AFFS_TAIL movq -48(%rbp), %r13 ## 8-byte Reload movq %r13, (%rax) movq -80(%rbp), %rbx ## 8-byte Reload movl %ebx, %edi callq _cpu_to_be32 movq %rax, -88(%rbp) ## 8-byte Spill movq %r12, %rdi movq %r15, %rsi callq _AFFS_TAIL movq -88(%rbp), %rcx ## 8-byte Reload movq %rcx, (%rax) movslq %ebx, %rbx movq %r13, %rdi callq _be32_to_cpu subq %rax, %rbx movq %r15, %rdi movq %rbx, %rsi movq %r15, %r13 movq -56(%rbp), %rbx ## 8-byte Reload callq _affs_adjust_checksum movq %r15, %rdi movq %rbx, %rsi callq _mark_buffer_dirty_inode movl $2, 4(%rbx) leaq 8(%rbx), %rdi callq _atomic_inc LBB0_10: movq %r12, %rdi movq %r14, %rsi callq _affs_fix_checksum movq %r14, %rdi movq %rbx, %rsi callq _mark_buffer_dirty_inode movslq (%r14), %rax movq -72(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq -64(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi callq _affs_lock_dir movq %r12, %rdi movq %r14, %rsi callq _affs_insert_hash movl %eax, %r15d movq %r14, %rdi movq %rbx, %rsi callq _mark_buffer_dirty_inode movq %r12, %rdi callq _affs_unlock_dir movq %rbx, %rdi callq _affs_unlock_link movq -72(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _d_instantiate jmp LBB0_11 LBB0_5: xorl %ebx, %ebx movq %r13, %r14 jmp LBB0_13 LBB0_12: movq %r12, %rdi movl %ebx, %esi callq _affs_free_block movq %r13, %rbx xorl %r14d, %r14d LBB0_13: negl %r15d movq -56(%rbp), %rdi ## 8-byte Reload callq _affs_unlock_link movq %rbx, %r13 LBB0_11: movq %r13, %rdi callq _affs_brelse movq %r14, %rdi callq _affs_brelse movl %r15d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "AFFS: add_entry(dir=%u, inode=%u, \"%*s\", type=%d)\n" .comm _EIO,4,2 ## @EIO .comm _ENOSPC,4,2 ## @ENOSPC .comm _T_SHORT,4,2 ## @T_SHORT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _affs_add_entry ; -- Begin function affs_add_entry .p2align 2 _affs_add_entry: ; @affs_add_entry .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x26, x3 mov x21, x2 mov x19, x1 mov x22, x0 ldr x24, [x0, #16] ldr w1, [x0] ldr w2, [x19] ldr w3, [x21, #16] ldr w4, [x21, #8] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x5, x26 bl _pr_debug Lloh2: adrp x23, _EIO@GOTPAGE Lloh3: ldr x23, [x23, _EIO@GOTPAGEOFF] ldr w25, [x23] ldr w1, [x19] mov x0, x24 bl _affs_bread mov x20, x0 cbz x0, LBB0_5 ; %bb.1: mov x0, x19 bl _affs_lock_link and w8, w26, #0xfffffffe cmp w8, #128 b.ne LBB0_6 ; %bb.2: Lloh4: adrp x8, _ENOSPC@GOTPAGE Lloh5: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] Lloh6: ldr w27, [x8] ldr w1, [x22] mov x0, x22 bl _affs_alloc_block cbz w0, LBB0_10 ; %bb.3: mov x25, x0 ldr w27, [x23] mov x0, x24 mov x1, x25 bl _affs_getzeroblk cbz x0, LBB0_11 ; %bb.4: mov x23, x0 b LBB0_7 LBB0_5: mov x23, #0 neg w24, w25 b LBB0_13 LBB0_6: mov w25, #0 mov x23, x20 mov x20, #0 LBB0_7: Lloh7: adrp x8, _T_SHORT@GOTPAGE Lloh8: ldr x8, [x8, _T_SHORT@GOTPAGEOFF] Lloh9: ldr w0, [x8] bl _cpu_to_be32 mov x27, x0 mov x0, x23 bl _AFFS_HEAD str x27, [x0, #8] ldr w0, [x23] bl _cpu_to_be32 mov x27, x0 mov x0, x23 bl _AFFS_HEAD str x27, [x0] mov x0, x24 mov x1, x23 bl _AFFS_TAIL ldr w0, [x0, #32] mov x1, x21 bl _affs_copy_name mov x0, x26 bl _cpu_to_be32 mov x26, x0 mov x0, x24 mov x1, x23 bl _AFFS_TAIL str x26, [x0, #24] ldr w0, [x22] bl _cpu_to_be32 mov x26, x0 mov x0, x24 mov x1, x23 bl _AFFS_TAIL str x26, [x0, #16] cbz x20, LBB0_9 ; %bb.8: mov x0, x24 mov x1, x20 bl _AFFS_TAIL ldr x26, [x0] ldr w0, [x19] bl _cpu_to_be32 mov x27, x0 mov x0, x24 mov x1, x23 bl _AFFS_TAIL str x27, [x0, #8] mov x0, x24 mov x1, x23 bl _AFFS_TAIL str x26, [x0] mov x0, x25 bl _cpu_to_be32 mov x27, x0 mov x0, x24 mov x1, x20 bl _AFFS_TAIL str x27, [x0] sxtw x25, w25 mov x0, x26 bl _be32_to_cpu sub x1, x25, x0 mov x0, x20 bl _affs_adjust_checksum mov x0, x20 mov x1, x19 bl _mark_buffer_dirty_inode mov w8, #2 str w8, [x19, #4] add x0, x19, #8 bl _atomic_inc LBB0_9: mov x0, x24 mov x1, x23 bl _affs_fix_checksum mov x0, x23 mov x1, x19 bl _mark_buffer_dirty_inode ldrsw x8, [x23] str x8, [x21] mov x0, x22 bl _affs_lock_dir mov x0, x22 mov x1, x23 bl _affs_insert_hash mov x24, x0 mov x0, x23 mov x1, x19 bl _mark_buffer_dirty_inode mov x0, x22 bl _affs_unlock_dir mov x0, x19 bl _affs_unlock_link mov x0, x21 mov x1, x19 bl _d_instantiate b LBB0_13 LBB0_10: mov x21, #0 b LBB0_12 LBB0_11: mov x0, x24 mov x1, x25 bl _affs_free_block mov x21, x20 mov x20, #0 LBB0_12: neg w24, w27 mov x0, x19 bl _affs_unlock_link mov x23, x20 mov x20, x21 LBB0_13: mov x0, x20 bl _affs_brelse mov x0, x23 bl _affs_brelse mov x0, x24 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 Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "AFFS: add_entry(dir=%u, inode=%u, \"%*s\", type=%d)\n" .comm _EIO,4,2 ; @EIO .comm _ENOSPC,4,2 ; @ENOSPC .comm _T_SHORT,4,2 ; @T_SHORT .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/affs/extr_inode.c_affs_add_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thread__put ## -- Begin function thread__put .p2align 4, 0x90 _thread__put: ## @thread__put .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_5 ## %bb.1: movq %rdi, %rbx addq $4, %rdi callq _refcount_dec_and_test testq %rax, %rax je LBB0_5 ## %bb.2: movq %rbx, %rdi callq _list_empty testl %eax, %eax jne LBB0_4 ## %bb.3: movq %rbx, %rdi callq _list_del_init LBB0_4: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _thread__delete ## TAILCALL LBB0_5: 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 _thread__put ; -- Begin function thread__put .p2align 2 _thread__put: ; @thread__put .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_5 ; %bb.1: mov x19, x0 add x0, x0, #4 bl _refcount_dec_and_test cbz x0, LBB0_5 ; %bb.2: mov x0, x19 bl _list_empty cbnz w0, LBB0_4 ; %bb.3: mov x0, x19 bl _list_del_init LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _thread__delete LBB0_5: 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/tools/perf/util/extr_thread.c_thread__put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pop ## -- Begin function pop .p2align 4, 0x90 _pop: ## @pop .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 _front_node@GOTPCREL(%rip), %rbx movq (%rbx), %rdi testq %rdi, %rdi je LBB0_7 ## %bb.1: movq _back_node@GOTPCREL(%rip), %r14 movq (%rdi), %rax cmpq (%r14), %rdi je LBB0_2 ## %bb.6: movq %rax, (%rbx) popq %rbx popq %r14 popq %rbp jmp _free ## TAILCALL LBB0_2: testq %rax, %rax jne LBB0_3 ## %bb.5: callq _free movq $0, (%rbx) movq $0, (%r14) LBB0_4: popq %rbx popq %r14 popq %rbp retq LBB0_3: callq _pop.cold.1 jmp LBB0_4 LBB0_7: leaq L_str(%rip), %rdi callq _puts movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _push ## -- Begin function push .p2align 4, 0x90 _push: ## @push .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 %edi, %r14d movq _back_node@GOTPCREL(%rip), %r15 movq (%r15), %rbx movl $16, %edi callq _malloc testq %rbx, %rbx je LBB1_1 ## %bb.3: movq $0, (%rax) movl %r14d, 8(%rax) cmpq $0, (%rbx) jne LBB1_4 ## %bb.5: movq %rax, (%rbx) jmp LBB1_6 LBB1_1: movq _back_node@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq $0, (%rax) movl %r14d, 8(%rax) movq _front_node@GOTPCREL(%rip), %r15 cmpq $0, (%r15) jne LBB1_2 LBB1_6: movq %rax, (%r15) LBB1_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_4: callq _push.cold.2 jmp LBB1_7 LBB1_2: callq _push.cold.1 jmp LBB1_7 .cfi_endproc ## -- End function .globl _front ## -- Begin function front .p2align 4, 0x90 _front: ## @front .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _front_node@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _back ## -- Begin function back .p2align 4, 0x90 _back: ## @back .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _back_node@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _init ## -- Begin function init .p2align 4, 0x90 _init: ## @init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _front_node@GOTPCREL(%rip), %rax movq $0, (%rax) movq _back_node@GOTPCREL(%rip), %rax movq $0, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _empty ## -- Begin function empty .p2align 4, 0x90 _empty: ## @empty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _front_node@GOTPCREL(%rip), %rcx xorl %eax, %eax cmpq $0, (%rcx) je LBB5_1 LBB5_3: popq %rbp retq LBB5_1: movq _back_node@GOTPCREL(%rip), %rcx movl $1, %eax cmpq $0, (%rcx) je LBB5_3 ## %bb.2: callq _empty.cold.1 xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _printQ ## -- Begin function printQ .p2align 4, 0x90 _printQ: ## @printQ .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 _front_node@GOTPCREL(%rip), %rbx cmpq $0, (%rbx) je LBB6_1 ## %bb.4: leaq L_str.19(%rip), %rdi callq _puts movq (%rbx), %rbx leaq L_.str.8(%rip), %r14 .p2align 4, 0x90 LBB6_5: ## =>This Inner Loop Header: Depth=1 movl 8(%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq (%rbx), %rbx testq %rbx, %rbx jne LBB6_5 LBB6_6: popq %rbx popq %r14 popq %rbp retq LBB6_1: movq _back_node@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB6_2 ## %bb.3: leaq L_str.20(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _puts ## TAILCALL LBB6_2: callq _printQ.cold.1 jmp LBB6_6 .cfi_endproc ## -- End function .globl _PrintNum ## -- Begin function PrintNum .p2align 4, 0x90 _PrintNum: ## @PrintNum .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, %rsi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movq _front_node@GOTPCREL(%rip), %r13 movq _back_node@GOTPCREL(%rip), %r12 movq _lock@GOTPCREL(%rip), %r15 leaq L_.str.10(%rip), %r14 jmp LBB7_1 .p2align 4, 0x90 LBB7_11: ## in Loop: Header=BB7_1 Depth=1 movq %rax, (%r13) movq %rbx, %rdi callq _free LBB7_12: ## in Loop: Header=BB7_1 Depth=1 movq %r15, %rdi callq _pthread_mutex_unlock movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf LBB7_1: ## =>This Inner Loop Header: Depth=1 cmpl $0, _finish(%rip) movq (%r13), %rax je LBB7_5 ## %bb.2: ## in Loop: Header=BB7_1 Depth=1 testq %rax, %rax jne LBB7_7 jmp LBB7_3 .p2align 4, 0x90 LBB7_5: ## in Loop: Header=BB7_1 Depth=1 testq %rax, %rax je LBB7_6 LBB7_7: ## in Loop: Header=BB7_1 Depth=1 movq %r15, %rdi callq _pthread_mutex_lock movq (%r13), %rbx testq %rbx, %rbx je LBB7_14 ## %bb.8: ## in Loop: Header=BB7_1 Depth=1 movq (%rbx), %rax cmpq (%r12), %rbx jne LBB7_11 ## %bb.9: ## in Loop: Header=BB7_1 Depth=1 testq %rax, %rax jne LBB7_15 ## %bb.10: ## in Loop: Header=BB7_1 Depth=1 movq %rbx, %rdi callq _free movq $0, (%r13) movq $0, (%r12) jmp LBB7_12 LBB7_6: ## in Loop: Header=BB7_1 Depth=1 cmpq $0, (%r12) je LBB7_1 LBB7_4: leaq L___func__.empty(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.5(%rip), %rcx movl $99, %edx callq ___assert_rtn LBB7_15: leaq L___func__.pop(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.2(%rip), %rcx movl $45, %edx callq ___assert_rtn LBB7_14: leaq L_str(%rip), %rdi callq _puts movl $1, %edi callq _exit LBB7_3: cmpq $0, (%r12) jne LBB7_4 ## %bb.13: xorl %edi, %edi callq _pthread_exit .cfi_endproc ## -- End function .globl _Enqueue ## -- Begin function Enqueue .p2align 4, 0x90 _Enqueue: ## @Enqueue .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, %r12 movq _lock@GOTPCREL(%rip), %r15 movq _back_node@GOTPCREL(%rip), %r13 xorl %ebx, %ebx jmp LBB8_1 .p2align 4, 0x90 LBB8_2: ## in Loop: Header=BB8_1 Depth=1 movq %rax, (%r13) movq $0, (%rax) movl %r12d, 8(%rax) movq _front_node@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) jne LBB8_3 LBB8_7: ## in Loop: Header=BB8_1 Depth=1 movq %rax, (%rcx) movq %r15, %rdi callq _pthread_mutex_unlock incl %ebx cmpl $100, %ebx je LBB8_8 LBB8_1: ## =>This Inner Loop Header: Depth=1 leaq L_.str.11(%rip), %rdi movl %ebx, %esi movq %r12, %rdx xorl %eax, %eax callq _printf movq %r15, %rdi callq _pthread_mutex_lock movq (%r13), %r14 movl $16, %edi callq _malloc testq %r14, %r14 je LBB8_2 ## %bb.4: ## in Loop: Header=BB8_1 Depth=1 movq $0, (%rax) movl %r12d, 8(%rax) cmpq $0, (%r14) jne LBB8_5 ## %bb.6: ## in Loop: Header=BB8_1 Depth=1 movq %rax, (%r14) movq %r13, %rcx jmp LBB8_7 LBB8_5: callq _Enqueue.cold.2 jmp LBB8_8 LBB8_3: callq _Enqueue.cold.1 LBB8_8: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _Fibonacci ## -- Begin function Fibonacci .p2align 4, 0x90 _Fibonacci: ## @Fibonacci .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 callq _puts movl $4294967294, %r12d ## imm = 0xFFFFFFFE movq _array1@GOTPCREL(%rip), %r15 leaq L_.str.13(%rip), %r14 xorl %ebx, %ebx jmp LBB9_1 .p2align 4, 0x90 LBB9_5: ## in Loop: Header=BB9_1 Depth=1 movq (%r15), %rax leal 1(%r12), %ecx movl %r12d, %edx movl (%rax,%rdx,4), %edx addl (%rax,%rcx,4), %edx movl %edx, (%rax,%rbx,4) LBB9_6: ## in Loop: Header=BB9_1 Depth=1 movl (%rax,%rbx,4), %edx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf incq %rbx incq %r12 cmpq $100, %rbx je LBB9_7 LBB9_1: ## =>This Inner Loop Header: Depth=1 cmpl $1, %ebx je LBB9_4 ## %bb.2: ## in Loop: Header=BB9_1 Depth=1 testl %ebx, %ebx jne LBB9_5 ## %bb.3: ## in Loop: Header=BB9_1 Depth=1 movq (%r15), %rax movl $1, (%rax) jmp LBB9_6 .p2align 4, 0x90 LBB9_4: ## in Loop: Header=BB9_1 Depth=1 movq (%r15), %rax movl (%rax), %ecx movl %ecx, 4(%rax) jmp LBB9_6 LBB9_7: leaq L_str.21(%rip), %rdi callq _puts movq (%r15), %rdi callq _free xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _LinearScan ## -- Begin function LinearScan .p2align 4, 0x90 _LinearScan: ## @LinearScan .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 callq _puts movq _array1@GOTPCREL(%rip), %r12 movq (%r12), %rax movl (%rax), %edx movq _array2@GOTPCREL(%rip), %r15 movq (%r15), %rax movl %edx, (%rax) leaq L_.str.15(%rip), %r14 movq %r14, %rdi xorl %esi, %esi xorl %eax, %eax callq _printf movl $1, %ebx .p2align 4, 0x90 LBB10_1: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rax movl -4(%rax,%rbx,4), %edx addl (%rax,%rbx,4), %edx movq (%r15), %rax movl %edx, (%rax,%rbx,4) movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf incq %rbx cmpq $100, %rbx jne LBB10_1 ## %bb.2: leaq L_str.22(%rip), %rdi callq _puts movq (%r15), %rdi callq _free xorl %eax, %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 %rbx subq $24, %rsp .cfi_offset %rbx, -24 movq _front_node@GOTPCREL(%rip), %rax movq $0, (%rax) movq _back_node@GOTPCREL(%rip), %rax movq $0, (%rax) movl $400, %edi ## imm = 0x190 callq _malloc movq _array1@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl $400, %edi ## imm = 0x190 callq _malloc movq _array2@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq _Fibonacci(%rip), %rdx leaq L_.str.17(%rip), %rcx leaq -24(%rbp), %rdi xorl %esi, %esi callq _pthread_create leaq _LinearScan(%rip), %rdx leaq L_.str.18(%rip), %rcx leaq -16(%rbp), %rdi xorl %esi, %esi callq _pthread_create movq -24(%rbp), %rdi leaq -32(%rbp), %rbx movq %rbx, %rsi callq _pthread_join movq -16(%rbp), %rdi movq %rbx, %rsi callq _pthread_join movl $1, _finish(%rip) xorl %edi, %edi callq _pthread_exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function pop.cold.1 _pop.cold.1: ## @pop.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.pop(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.2(%rip), %rcx pushq $45 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function push.cold.1 _push.cold.1: ## @push.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.push(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.3(%rip), %rcx pushq $65 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function push.cold.2 _push.cold.2: ## @push.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 leaq L___func__.push(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.4(%rip), %rcx pushq $73 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function empty.cold.1 _empty.cold.1: ## @empty.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.empty(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.5(%rip), %rcx pushq $99 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function printQ.cold.1 _printQ.cold.1: ## @printQ.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.empty(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.5(%rip), %rcx pushq $99 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function Enqueue.cold.1 _Enqueue.cold.1: ## @Enqueue.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L___func__.push(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.3(%rip), %rcx pushq $65 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function Enqueue.cold.2 _Enqueue.cold.2: ## @Enqueue.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 leaq L___func__.push(%rip), %rdi leaq L_.str.1(%rip), %rsi leaq L_.str.4(%rip), %rcx pushq $73 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .globl _finish ## @finish .zerofill __DATA,__common,_finish,4,2 .comm _front_node,8,3 ## @front_node .comm _back_node,8,3 ## @back_node .section __TEXT,__cstring,cstring_literals L___func__.pop: ## @__func__.pop .asciz "pop" L_.str.1: ## @.str.1 .asciz "175142709.c" L_.str.2: ## @.str.2 .asciz "front_node->next == NULL" L___func__.push: ## @__func__.push .asciz "push" L_.str.3: ## @.str.3 .asciz "front_node == NULL" L_.str.4: ## @.str.4 .asciz "back_node->next == NULL" L___func__.empty: ## @__func__.empty .asciz "empty" L_.str.5: ## @.str.5 .asciz "back_node == NULL" L_.str.8: ## @.str.8 .asciz "%d," L_.str.9: ## @.str.9 .asciz "\t\t\t\tHello World from %s\n" .comm _lock,64,3 ## @lock L_.str.10: ## @.str.10 .asciz "\t\t\t\tval: %d\n" L_.str.11: ## @.str.11 .asciz "(%d,%ld)\n" .comm _array1,8,3 ## @array1 L_.str.13: ## @.str.13 .asciz "array1[%d] = %d\n" .comm _array2,8,3 ## @array2 L_.str.15: ## @.str.15 .asciz "\t\t\t\tarray2[%d] = %d\n" L_.str.17: ## @.str.17 .asciz "fibonacci thread" L_.str.18: ## @.str.18 .asciz "linear scan thread" L_str: ## @str .asciz "empty list. Nothing to be popped. Quitting" L_str.19: ## @str.19 .asciz "Printing Q" L_str.20: ## @str.20 .asciz "Queue is empty, nothing to print" L_str.21: ## @str.21 .asciz "freeing array1" L_str.22: ## @str.22 .asciz "\t\t\t\tfreeing array2" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pop ; -- Begin function pop .p2align 2 _pop: ; @pop .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 x19, _front_node@GOTPAGE Lloh1: ldr x19, [x19, _front_node@GOTPAGEOFF] ldr x0, [x19] cbz x0, LBB0_6 ; %bb.1: Lloh2: adrp x20, _back_node@GOTPAGE Lloh3: ldr x20, [x20, _back_node@GOTPAGEOFF] ldr x9, [x20] ldr x8, [x0] cmp x0, x9 b.eq LBB0_3 ; %bb.2: str x8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free LBB0_3: cbnz x8, LBB0_5 ; %bb.4: bl _free str xzr, [x19] str xzr, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: bl _pop.cold.1 LBB0_6: Lloh4: adrp x0, l_str@PAGE Lloh5: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #1 bl _exit .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _push ; -- Begin function push .p2align 2 _push: ; @push .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 Lloh6: adrp x21, _back_node@GOTPAGE Lloh7: ldr x21, [x21, _back_node@GOTPAGEOFF] ldr x20, [x21] mov w0, #16 bl _malloc cbz x20, LBB1_3 ; %bb.1: str xzr, [x0] str w19, [x0, #8] ldr x8, [x20] cbnz x8, LBB1_5 ; %bb.2: str x0, [x20] Lloh8: adrp x8, _back_node@GOTPAGE Lloh9: ldr x8, [x8, _back_node@GOTPAGEOFF] b LBB1_4 LBB1_3: str x0, [x21] str xzr, [x0] str w19, [x0, #8] Lloh10: adrp x8, _front_node@GOTPAGE Lloh11: ldr x8, [x8, _front_node@GOTPAGEOFF] ldr x9, [x8] cbnz x9, LBB1_6 LBB1_4: str x0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB1_5: bl _push.cold.2 LBB1_6: bl _push.cold.1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _front ; -- Begin function front .p2align 2 _front: ; @front .cfi_startproc ; %bb.0: Lloh12: adrp x8, _front_node@GOTPAGE Lloh13: ldr x8, [x8, _front_node@GOTPAGEOFF] Lloh14: ldr x0, [x8] ret .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .globl _back ; -- Begin function back .p2align 2 _back: ; @back .cfi_startproc ; %bb.0: Lloh15: adrp x8, _back_node@GOTPAGE Lloh16: ldr x8, [x8, _back_node@GOTPAGEOFF] Lloh17: ldr x0, [x8] ret .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _init ; -- Begin function init .p2align 2 _init: ; @init .cfi_startproc ; %bb.0: Lloh18: adrp x8, _front_node@GOTPAGE Lloh19: ldr x8, [x8, _front_node@GOTPAGEOFF] Lloh20: str xzr, [x8] Lloh21: adrp x8, _back_node@GOTPAGE Lloh22: ldr x8, [x8, _back_node@GOTPAGEOFF] Lloh23: str xzr, [x8] ret .loh AdrpLdrGotStr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .globl _empty ; -- Begin function empty .p2align 2 _empty: ; @empty .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 Lloh24: adrp x8, _front_node@GOTPAGE Lloh25: ldr x8, [x8, _front_node@GOTPAGEOFF] Lloh26: ldr x8, [x8] cbz x8, LBB5_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB5_2: Lloh27: adrp x8, _back_node@GOTPAGE Lloh28: ldr x8, [x8, _back_node@GOTPAGEOFF] Lloh29: ldr x8, [x8] cbnz x8, LBB5_4 ; %bb.3: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB5_4: bl _empty.cold.1 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .globl _printQ ; -- Begin function printQ .p2align 2 _printQ: ; @printQ .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 Lloh30: adrp x19, _front_node@GOTPAGE Lloh31: ldr x19, [x19, _front_node@GOTPAGEOFF] ldr x8, [x19] cbz x8, LBB6_4 ; %bb.1: Lloh32: adrp x0, l_str.19@PAGE Lloh33: add x0, x0, l_str.19@PAGEOFF bl _puts ldr x20, [x19] Lloh34: adrp x19, l_.str.8@PAGE Lloh35: add x19, x19, l_.str.8@PAGEOFF LBB6_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20, #8] str x8, [sp] mov x0, x19 bl _printf ldr x20, [x20] cbnz x20, LBB6_2 ; %bb.3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB6_4: Lloh36: adrp x8, _back_node@GOTPAGE Lloh37: ldr x8, [x8, _back_node@GOTPAGEOFF] Lloh38: ldr x8, [x8] cbnz x8, LBB6_6 ; %bb.5: Lloh39: adrp x0, l_str.20@PAGE Lloh40: add x0, x0, l_str.20@PAGEOFF ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 b _puts LBB6_6: bl _printQ.cold.1 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .cfi_endproc ; -- End function .globl _PrintNum ; -- Begin function PrintNum .p2align 2 _PrintNum: ; @PrintNum .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 str x0, [sp] Lloh41: adrp x0, l_.str.9@PAGE Lloh42: add x0, x0, l_.str.9@PAGEOFF bl _printf adrp x22, _finish@PAGE Lloh43: adrp x24, _front_node@GOTPAGE Lloh44: ldr x24, [x24, _front_node@GOTPAGEOFF] Lloh45: adrp x23, _back_node@GOTPAGE Lloh46: ldr x23, [x23, _back_node@GOTPAGEOFF] Lloh47: adrp x19, _lock@GOTPAGE Lloh48: ldr x19, [x19, _lock@GOTPAGEOFF] Lloh49: adrp x20, l_.str.10@PAGE Lloh50: add x20, x20, l_.str.10@PAGEOFF b LBB7_3 LBB7_1: ; in Loop: Header=BB7_3 Depth=1 str x8, [x24] mov x0, x21 bl _free LBB7_2: ; in Loop: Header=BB7_3 Depth=1 mov x0, x19 bl _pthread_mutex_unlock ; kill: def $w21 killed $w21 killed $x21 def $x21 str x21, [sp] mov x0, x20 bl _printf LBB7_3: ; =>This Inner Loop Header: Depth=1 ldr w9, [x22, _finish@PAGEOFF] ldr x8, [x24] cbz w9, LBB7_5 ; %bb.4: ; in Loop: Header=BB7_3 Depth=1 cbnz x8, LBB7_6 b LBB7_14 LBB7_5: ; in Loop: Header=BB7_3 Depth=1 cbz x8, LBB7_10 LBB7_6: ; in Loop: Header=BB7_3 Depth=1 mov x0, x19 bl _pthread_mutex_lock ldr x21, [x24] cbz x21, LBB7_13 ; %bb.7: ; in Loop: Header=BB7_3 Depth=1 ldr x9, [x23] ldr x8, [x21] cmp x21, x9 b.ne LBB7_1 ; %bb.8: ; in Loop: Header=BB7_3 Depth=1 cbnz x8, LBB7_12 ; %bb.9: ; in Loop: Header=BB7_3 Depth=1 mov x0, x21 bl _free str xzr, [x24] str xzr, [x23] b LBB7_2 LBB7_10: ; in Loop: Header=BB7_3 Depth=1 ldr x8, [x23] cbz x8, LBB7_3 LBB7_11: Lloh51: adrp x0, l___func__.empty@PAGE Lloh52: add x0, x0, l___func__.empty@PAGEOFF Lloh53: adrp x1, l_.str.1@PAGE Lloh54: add x1, x1, l_.str.1@PAGEOFF Lloh55: adrp x3, l_.str.5@PAGE Lloh56: add x3, x3, l_.str.5@PAGEOFF mov w2, #99 bl ___assert_rtn LBB7_12: Lloh57: adrp x0, l___func__.pop@PAGE Lloh58: add x0, x0, l___func__.pop@PAGEOFF Lloh59: adrp x1, l_.str.1@PAGE Lloh60: add x1, x1, l_.str.1@PAGEOFF Lloh61: adrp x3, l_.str.2@PAGE Lloh62: add x3, x3, l_.str.2@PAGEOFF mov w2, #45 bl ___assert_rtn LBB7_13: Lloh63: adrp x0, l_str@PAGE Lloh64: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #1 bl _exit LBB7_14: ldr x8, [x23] cbnz x8, LBB7_11 ; %bb.15: mov x0, #0 bl _pthread_exit .loh AdrpAdd Lloh49, Lloh50 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGot Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh63, Lloh64 .cfi_endproc ; -- End function .globl _Enqueue ; -- Begin function Enqueue .p2align 2 _Enqueue: ; @Enqueue .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 mov w22, #0 Lloh65: adrp x20, _lock@GOTPAGE Lloh66: ldr x20, [x20, _lock@GOTPAGEOFF] Lloh67: adrp x23, _back_node@GOTPAGE Lloh68: ldr x23, [x23, _back_node@GOTPAGEOFF] Lloh69: adrp x24, _front_node@GOTPAGE Lloh70: ldr x24, [x24, _front_node@GOTPAGEOFF] Lloh71: adrp x21, l_.str.11@PAGE Lloh72: add x21, x21, l_.str.11@PAGEOFF b LBB8_3 LBB8_1: ; in Loop: Header=BB8_3 Depth=1 str x0, [x23] str xzr, [x0] str w19, [x0, #8] mov x8, x24 ldr x9, [x24] cbnz x9, LBB8_8 LBB8_2: ; in Loop: Header=BB8_3 Depth=1 str x0, [x8] mov x0, x20 bl _pthread_mutex_unlock add w22, w22, #1 cmp w22, #100 b.eq LBB8_6 LBB8_3: ; =>This Inner Loop Header: Depth=1 stp x22, x19, [sp] mov x0, x21 bl _printf mov x0, x20 bl _pthread_mutex_lock ldr x25, [x23] mov w0, #16 bl _malloc cbz x25, LBB8_1 ; %bb.4: ; in Loop: Header=BB8_3 Depth=1 str xzr, [x0] str w19, [x0, #8] ldr x8, [x25] cbnz x8, LBB8_7 ; %bb.5: ; in Loop: Header=BB8_3 Depth=1 str x0, [x25] mov x8, x23 b LBB8_2 LBB8_6: mov x0, #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 add sp, sp, #96 ret LBB8_7: bl _Enqueue.cold.2 LBB8_8: bl _Enqueue.cold.1 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpLdrGot Lloh69, Lloh70 .loh AdrpLdrGot Lloh67, Lloh68 .loh AdrpLdrGot Lloh65, Lloh66 .cfi_endproc ; -- End function .globl _Fibonacci ; -- Begin function Fibonacci .p2align 2 _Fibonacci: ; @Fibonacci .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 bl _puts mov x21, #0 mov w22, #-2 Lloh73: adrp x20, _array1@GOTPAGE Lloh74: ldr x20, [x20, _array1@GOTPAGEOFF] mov w23, #1 Lloh75: adrp x19, l_.str.13@PAGE Lloh76: add x19, x19, l_.str.13@PAGEOFF b LBB9_3 LBB9_1: ; in Loop: Header=BB9_3 Depth=1 ldr x8, [x20] add w9, w22, #1 ldr w9, [x8, w9, uxtw #2] ldr w10, [x8, w22, uxtw #2] add w9, w10, w9 str w9, [x8, x21, lsl #2] LBB9_2: ; in Loop: Header=BB9_3 Depth=1 ldr w8, [x8, x21, lsl #2] stp x21, x8, [sp] mov x0, x19 bl _printf add x21, x21, #1 add x22, x22, #1 cmp x21, #100 b.eq LBB9_7 LBB9_3: ; =>This Inner Loop Header: Depth=1 cmp w21, #1 b.eq LBB9_6 ; %bb.4: ; in Loop: Header=BB9_3 Depth=1 cbnz w21, LBB9_1 ; %bb.5: ; in Loop: Header=BB9_3 Depth=1 ldr x8, [x20] str w23, [x8] b LBB9_2 LBB9_6: ; in Loop: Header=BB9_3 Depth=1 ldr x8, [x20] ldr w9, [x8] str w9, [x8, #4] b LBB9_2 LBB9_7: Lloh77: adrp x0, l_str.21@PAGE Lloh78: add x0, x0, l_str.21@PAGEOFF bl _puts ldr x0, [x20] bl _free mov x0, #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 ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh75, Lloh76 .loh AdrpLdrGot Lloh73, Lloh74 .loh AdrpAdd Lloh77, Lloh78 .cfi_endproc ; -- End function .globl _LinearScan ; -- Begin function LinearScan .p2align 2 _LinearScan: ; @LinearScan .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 bl _puts Lloh79: adrp x21, _array1@GOTPAGE Lloh80: ldr x21, [x21, _array1@GOTPAGEOFF] ldr x8, [x21] Lloh81: adrp x20, _array2@GOTPAGE Lloh82: ldr x20, [x20, _array2@GOTPAGEOFF] ldr x9, [x20] ldr w8, [x8] str w8, [x9] stp xzr, x8, [sp] Lloh83: adrp x19, l_.str.15@PAGE Lloh84: add x19, x19, l_.str.15@PAGEOFF mov x0, x19 bl _printf mov x22, #0 LBB10_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] lsl x9, x22, #2 add x8, x8, x9 ldp w8, w10, [x8] add w8, w8, w10 ldr x10, [x20] add x9, x10, x9 str w8, [x9, #4] add x22, x22, #1 stp x22, x8, [sp] mov x0, x19 bl _printf cmp x22, #99 b.ne LBB10_1 ; %bb.2: Lloh85: adrp x0, l_str.22@PAGE Lloh86: add x0, x0, l_str.22@PAGEOFF bl _puts ldr x0, [x20] bl _free mov x0, #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 Lloh83, Lloh84 .loh AdrpLdrGot Lloh81, Lloh82 .loh AdrpLdrGot Lloh79, Lloh80 .loh AdrpAdd Lloh85, Lloh86 .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 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 Lloh87: adrp x8, _front_node@GOTPAGE Lloh88: ldr x8, [x8, _front_node@GOTPAGEOFF] Lloh89: str xzr, [x8] Lloh90: adrp x8, _back_node@GOTPAGE Lloh91: ldr x8, [x8, _back_node@GOTPAGEOFF] Lloh92: str xzr, [x8] mov w0, #400 bl _malloc Lloh93: adrp x8, _array1@GOTPAGE Lloh94: ldr x8, [x8, _array1@GOTPAGEOFF] Lloh95: str x0, [x8] mov w0, #400 bl _malloc Lloh96: adrp x8, _array2@GOTPAGE Lloh97: ldr x8, [x8, _array2@GOTPAGEOFF] Lloh98: str x0, [x8] Lloh99: adrp x2, _Fibonacci@PAGE Lloh100: add x2, x2, _Fibonacci@PAGEOFF Lloh101: adrp x3, l_.str.17@PAGE Lloh102: add x3, x3, l_.str.17@PAGEOFF sub x0, x29, #8 mov x1, #0 bl _pthread_create Lloh103: adrp x2, _LinearScan@PAGE Lloh104: add x2, x2, _LinearScan@PAGEOFF Lloh105: adrp x3, l_.str.18@PAGE Lloh106: add x3, x3, l_.str.18@PAGEOFF add x0, sp, #16 mov x1, #0 bl _pthread_create ldur x0, [x29, #-8] add x1, sp, #8 bl _pthread_join ldr x0, [sp, #16] add x1, sp, #8 bl _pthread_join mov w8, #1 adrp x9, _finish@PAGE str w8, [x9, _finish@PAGEOFF] mov x0, #0 bl _pthread_exit .loh AdrpAdd Lloh105, Lloh106 .loh AdrpAdd Lloh103, Lloh104 .loh AdrpAdd Lloh101, Lloh102 .loh AdrpAdd Lloh99, Lloh100 .loh AdrpLdrGotStr Lloh96, Lloh97, Lloh98 .loh AdrpLdrGotStr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpLdrGotStr Lloh87, Lloh88, Lloh89 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function pop.cold.1 _pop.cold.1: ; @pop.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 Lloh107: adrp x0, l___func__.pop@PAGE Lloh108: add x0, x0, l___func__.pop@PAGEOFF Lloh109: adrp x1, l_.str.1@PAGE Lloh110: add x1, x1, l_.str.1@PAGEOFF Lloh111: adrp x3, l_.str.2@PAGE Lloh112: add x3, x3, l_.str.2@PAGEOFF mov w2, #45 bl ___assert_rtn .loh AdrpAdd Lloh111, Lloh112 .loh AdrpAdd Lloh109, Lloh110 .loh AdrpAdd Lloh107, Lloh108 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function push.cold.1 _push.cold.1: ; @push.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 Lloh113: adrp x0, l___func__.push@PAGE Lloh114: add x0, x0, l___func__.push@PAGEOFF Lloh115: adrp x1, l_.str.1@PAGE Lloh116: add x1, x1, l_.str.1@PAGEOFF Lloh117: adrp x3, l_.str.3@PAGE Lloh118: add x3, x3, l_.str.3@PAGEOFF mov w2, #65 bl ___assert_rtn .loh AdrpAdd Lloh117, Lloh118 .loh AdrpAdd Lloh115, Lloh116 .loh AdrpAdd Lloh113, Lloh114 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function push.cold.2 _push.cold.2: ; @push.cold.2 .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 Lloh119: adrp x0, l___func__.push@PAGE Lloh120: add x0, x0, l___func__.push@PAGEOFF Lloh121: adrp x1, l_.str.1@PAGE Lloh122: add x1, x1, l_.str.1@PAGEOFF Lloh123: adrp x3, l_.str.4@PAGE Lloh124: add x3, x3, l_.str.4@PAGEOFF mov w2, #73 bl ___assert_rtn .loh AdrpAdd Lloh123, Lloh124 .loh AdrpAdd Lloh121, Lloh122 .loh AdrpAdd Lloh119, Lloh120 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function empty.cold.1 _empty.cold.1: ; @empty.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 Lloh125: adrp x0, l___func__.empty@PAGE Lloh126: add x0, x0, l___func__.empty@PAGEOFF Lloh127: adrp x1, l_.str.1@PAGE Lloh128: add x1, x1, l_.str.1@PAGEOFF Lloh129: adrp x3, l_.str.5@PAGE Lloh130: add x3, x3, l_.str.5@PAGEOFF mov w2, #99 bl ___assert_rtn .loh AdrpAdd Lloh129, Lloh130 .loh AdrpAdd Lloh127, Lloh128 .loh AdrpAdd Lloh125, Lloh126 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function printQ.cold.1 _printQ.cold.1: ; @printQ.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 Lloh131: adrp x0, l___func__.empty@PAGE Lloh132: add x0, x0, l___func__.empty@PAGEOFF Lloh133: adrp x1, l_.str.1@PAGE Lloh134: add x1, x1, l_.str.1@PAGEOFF Lloh135: adrp x3, l_.str.5@PAGE Lloh136: add x3, x3, l_.str.5@PAGEOFF mov w2, #99 bl ___assert_rtn .loh AdrpAdd Lloh135, Lloh136 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpAdd Lloh131, Lloh132 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function Enqueue.cold.1 _Enqueue.cold.1: ; @Enqueue.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 Lloh137: adrp x0, l___func__.push@PAGE Lloh138: add x0, x0, l___func__.push@PAGEOFF Lloh139: adrp x1, l_.str.1@PAGE Lloh140: add x1, x1, l_.str.1@PAGEOFF Lloh141: adrp x3, l_.str.3@PAGE Lloh142: add x3, x3, l_.str.3@PAGEOFF mov w2, #65 bl ___assert_rtn .loh AdrpAdd Lloh141, Lloh142 .loh AdrpAdd Lloh139, Lloh140 .loh AdrpAdd Lloh137, Lloh138 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function Enqueue.cold.2 _Enqueue.cold.2: ; @Enqueue.cold.2 .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 Lloh143: adrp x0, l___func__.push@PAGE Lloh144: add x0, x0, l___func__.push@PAGEOFF Lloh145: adrp x1, l_.str.1@PAGE Lloh146: add x1, x1, l_.str.1@PAGEOFF Lloh147: adrp x3, l_.str.4@PAGE Lloh148: add x3, x3, l_.str.4@PAGEOFF mov w2, #73 bl ___assert_rtn .loh AdrpAdd Lloh147, Lloh148 .loh AdrpAdd Lloh145, Lloh146 .loh AdrpAdd Lloh143, Lloh144 .cfi_endproc ; -- End function .globl _finish ; @finish .zerofill __DATA,__common,_finish,4,2 .comm _front_node,8,3 ; @front_node .comm _back_node,8,3 ; @back_node .section __TEXT,__cstring,cstring_literals l___func__.pop: ; @__func__.pop .asciz "pop" l_.str.1: ; @.str.1 .asciz "175142709.c" l_.str.2: ; @.str.2 .asciz "front_node->next == NULL" l___func__.push: ; @__func__.push .asciz "push" l_.str.3: ; @.str.3 .asciz "front_node == NULL" l_.str.4: ; @.str.4 .asciz "back_node->next == NULL" l___func__.empty: ; @__func__.empty .asciz "empty" l_.str.5: ; @.str.5 .asciz "back_node == NULL" l_.str.8: ; @.str.8 .asciz "%d," l_.str.9: ; @.str.9 .asciz "\t\t\t\tHello World from %s\n" .comm _lock,64,3 ; @lock l_.str.10: ; @.str.10 .asciz "\t\t\t\tval: %d\n" l_.str.11: ; @.str.11 .asciz "(%d,%ld)\n" .comm _array1,8,3 ; @array1 l_.str.13: ; @.str.13 .asciz "array1[%d] = %d\n" .comm _array2,8,3 ; @array2 l_.str.15: ; @.str.15 .asciz "\t\t\t\tarray2[%d] = %d\n" l_.str.17: ; @.str.17 .asciz "fibonacci thread" l_.str.18: ; @.str.18 .asciz "linear scan thread" l_str: ; @str .asciz "empty list. Nothing to be popped. Quitting" l_str.19: ; @str.19 .asciz "Printing Q" l_str.20: ; @str.20 .asciz "Queue is empty, nothing to print" l_str.21: ; @str.21 .asciz "freeing array1" l_str.22: ; @str.22 .asciz "\t\t\t\tfreeing array2" .subsections_via_symbols
the_stack_data/175142709.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gve_alloc_page ## -- Begin function gve_alloc_page .p2align 4, 0x90 _gve_alloc_page: ## @gve_alloc_page .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r13d movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %r15 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _alloc_page movq %rax, (%r14) testq %rax, %rax je LBB0_3 ## %bb.1: movq _PAGE_SIZE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx xorl %ebx, %ebx movq %r15, %rdi movq %rax, %rsi xorl %edx, %edx movl %r13d, %r8d callq _dma_map_page movl %eax, (%r12) movq %r15, %rdi movl %eax, %esi callq _dma_mapping_error testq %rax, %rax je LBB0_4 ## %bb.2: movq (%r14), %rdi callq _put_page LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_4: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gve_alloc_page ; -- Begin function gve_alloc_page .p2align 2 _gve_alloc_page: ; @gve_alloc_page .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 x22, x3 mov x21, x2 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _alloc_page str x0, [x19] cbz x0, LBB0_3 ; %bb.1: mov x1, x0 Lloh3: adrp x8, _PAGE_SIZE@GOTPAGE Lloh4: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh5: ldr w3, [x8] mov x0, x20 mov w2, #0 mov x4, x22 bl _dma_map_page mov x1, x0 str w0, [x21] mov x0, x20 bl _dma_mapping_error cbz x0, LBB0_4 ; %bb.2: ldr x0, [x19] bl _put_page LBB0_3: Lloh6: adrp x8, _ENOMEM@GOTPAGE Lloh7: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w0, w8 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/google/gve/extr_gve_main.c_gve_alloc_page.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nlmsvc_share_file ## -- Begin function nlmsvc_share_file .p2align 4, 0x90 _nlmsvc_share_file: ## @nlmsvc_share_file .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, %r15 movq %rdi, %r12 leaq 8(%rdx), %r13 movq %rsi, -48(%rbp) ## 8-byte Spill movq (%rsi), %rbx testq %rbx, %rbx je LBB0_7 ## %bb.1: movq _nlm_lck_denied@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq %r12, 32(%rbx) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq %r13, %rsi callq _nlm_cmp_owner testq %rax, %rax jne LBB0_10 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl (%rbx), %eax testl %eax, (%r15) jne LBB0_11 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl 4(%rbx), %eax testl %eax, 4(%r15) jne LBB0_11 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB0_2 LBB0_7: movq (%r13), %rdi addq $48, %rdi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc testq %rax, %rax je LBB0_8 ## %bb.9: movq %rax, %rbx movq %rax, %r13 addq $48, %r13 movl 16(%r15), %esi movq 8(%r15), %rdx movq %r13, %rdi callq _memcpy movq -48(%rbp), %rcx ## 8-byte Reload movq %rcx, 40(%rbx) movq %r12, 32(%rbx) movq %r13, 24(%rbx) movq 8(%r15), %rax movq %rax, 16(%rbx) movq (%rcx), %rax movq %rax, 8(%rbx) movq %rbx, (%rcx) LBB0_10: movl (%r15), %eax movl %eax, 4(%rbx) movl 4(%r15), %eax movl %eax, (%rbx) movq _nlm_granted@GOTPCREL(%rip), %r14 jmp LBB0_11 LBB0_8: movq _nlm_lck_denied_nolocks@GOTPCREL(%rip), %r14 LBB0_11: movl (%r14), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _nlm_lck_denied,4,2 ## @nlm_lck_denied .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _nlm_lck_denied_nolocks,4,2 ## @nlm_lck_denied_nolocks .comm _nlm_granted,4,2 ## @nlm_granted .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nlmsvc_share_file ; -- Begin function nlmsvc_share_file .p2align 2 _nlmsvc_share_file: ; @nlmsvc_share_file .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x22, x0 add x23, x2, #8 ldr x21, [x1] cbz x21, LBB0_7 ; %bb.1: Lloh0: adrp x24, _nlm_lck_denied@GOTPAGE Lloh1: ldr x24, [x24, _nlm_lck_denied@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #32] cmp x8, x22 b.ne LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x21 mov x1, x23 bl _nlm_cmp_owner cbnz x0, LBB0_9 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x19] ldr w9, [x21] tst w9, w8 b.ne LBB0_11 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x19, #4] ldr w9, [x21, #4] tst w9, w8 b.ne LBB0_11 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 ldr x21, [x21, #8] cbnz x21, LBB0_2 LBB0_7: ldr x8, [x23] add x0, x8, #48 Lloh2: adrp x8, _GFP_KERNEL@GOTPAGE Lloh3: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh4: ldr w1, [x8] bl _kmalloc cbz x0, LBB0_10 ; %bb.8: mov x21, x0 add x23, x0, #48 ldr w1, [x19, #16] ldr x2, [x19, #8] mov x0, x23 bl _memcpy stp x22, x20, [x21, #32] str x23, [x21, #24] ldr x8, [x19, #8] ldr x9, [x20] stp x9, x8, [x21, #8] str x21, [x20] LBB0_9: ldr d0, [x19] rev64.2s v0, v0 str d0, [x21] Lloh5: adrp x24, _nlm_granted@GOTPAGE Lloh6: ldr x24, [x24, _nlm_granted@GOTPAGEOFF] b LBB0_11 LBB0_10: Lloh7: adrp x24, _nlm_lck_denied_nolocks@GOTPAGE Lloh8: ldr x24, [x24, _nlm_lck_denied_nolocks@GOTPAGEOFF] LBB0_11: ldr w0, [x24] 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 AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _nlm_lck_denied,4,2 ; @nlm_lck_denied .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _nlm_lck_denied_nolocks,4,2 ; @nlm_lck_denied_nolocks .comm _nlm_granted,4,2 ; @nlm_granted .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/lockd/extr_svcshare.c_nlmsvc_share_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function alloc_and_append_badrange_entry _alloc_and_append_badrange_entry: ## @alloc_and_append_badrange_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx movl $4, %edi movl %ecx, %esi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rbx, %rdi movq %rax, %rsi movl %r15d, %edx movl %r14d, %ecx callq _append_badrange_entry xorl %eax, %eax jmp LBB0_3 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _alloc_and_append_badrange_entry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function alloc_and_append_badrange_entry _alloc_and_append_badrange_entry: ; @alloc_and_append_badrange_entry .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 mov w0, #4 mov x1, x3 bl _kzalloc cbz x0, LBB0_2 ; %bb.1: mov x1, x0 mov x0, x21 mov x2, x20 mov x3, x19 bl _append_badrange_entry mov w0, #0 b LBB0_3 LBB0_2: Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _alloc_and_append_badrange_entry .subsections_via_symbols
AnghaBench/linux/drivers/nvdimm/extr_badrange.c_alloc_and_append_badrange_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lock_index _lock_index: ## @lock_index .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 %ecx, %ebx movq _tlckDATA@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _txLock movq (%rax), %rax movq (%rax), %rcx cmpq 8(%rax), %rcx jb LBB0_2 ## %bb.1: movq %rax, %rdi callq _txLinelock movq (%rax), %rcx LBB0_2: movq 16(%rax), %rdx addl $510, %ebx ## imm = 0x1FE shrl %ebx movzbl %bl, %esi movl %esi, (%rdx,%rcx,8) movl $1, 4(%rdx,%rcx,8) incq %rcx movq %rcx, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _tlckDATA,4,2 ## @tlckDATA .no_dead_strip _lock_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lock_index _lock_index: ; @lock_index .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x3 Lloh0: adrp x8, _tlckDATA@GOTPAGE Lloh1: ldr x8, [x8, _tlckDATA@GOTPAGEOFF] Lloh2: ldr w3, [x8] bl _txLock ldr x0, [x0] ldp x8, x9, [x0] cmp x8, x9 b.lo LBB0_2 ; %bb.1: bl _txLinelock ldr x8, [x0] LBB0_2: ldr x9, [x0, #16] add w10, w19, #510 ubfx w10, w10, #1, #8 add x9, x9, x8, lsl #3 mov w11, #1 stp w10, w11, [x9] add x8, x8, #1 str x8, [x0] 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 _tlckDATA,4,2 ; @tlckDATA .no_dead_strip _lock_index .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_dtree.c_lock_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function verify_brin_page _verify_brin_page: ## @verify_brin_page .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, %r13 movl %esi, %r15d movq %rdi, %r12 callq _VARSIZE movl %eax, %ebx movq _VARHDRSZ@GOTPCREL(%rip), %rax subl (%rax), %ebx movq _BLCKSZ@GOTPCREL(%rip), %r14 cmpl (%r14), %ebx je LBB0_2 ## %bb.1: movq _ERROR@GOTPCREL(%rip), %rax movq %r13, -48(%rbp) ## 8-byte Spill movl (%rax), %r13d movq _ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str(%rip), %rdi xorl %eax, %eax callq _errmsg movl (%r14), %esi leaq L_.str.1(%rip), %rdi movl %ebx, %edx callq _errdetail movl %r13d, %edi movq -48(%rbp), %r13 ## 8-byte Reload movl %eax, %esi callq _ereport LBB0_2: movq %r12, %rdi callq _VARDATA movl %eax, %ebx movl %eax, %edi callq _BrinPageType cmpl %r15d, %eax je LBB0_4 ## %bb.3: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str.2(%rip), %rdi movq %r13, %rsi xorl %eax, %eax callq _errmsg movl %ebx, %edi callq _BrinPageType leaq L_.str.3(%rip), %rdi movl %r15d, %esi movl %eax, %edx callq _errdetail movl %r12d, %edi movl %eax, %esi callq _ereport LBB0_4: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VARHDRSZ,4,2 ## @VARHDRSZ .comm _BLCKSZ,4,2 ## @BLCKSZ .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "input page too small" L_.str.1: ## @.str.1 .asciz "Expected size %d, got %d" L_.str.2: ## @.str.2 .asciz "page is not a BRIN page of type \"%s\"" L_.str.3: ## @.str.3 .asciz "Expected special type %08x, got %08x." .no_dead_strip _verify_brin_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function verify_brin_page _verify_brin_page: ; @verify_brin_page .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x2 mov x19, x1 mov x21, x0 bl _VARSIZE Lloh0: adrp x8, _VARHDRSZ@GOTPAGE Lloh1: ldr x8, [x8, _VARHDRSZ@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x26, _BLCKSZ@GOTPAGE Lloh4: ldr x26, [x26, _BLCKSZ@GOTPAGEOFF] ldr w9, [x26] sub w22, w0, w8 cmp w22, w9 Lloh5: adrp x24, _ERROR@GOTPAGE Lloh6: ldr x24, [x24, _ERROR@GOTPAGEOFF] Lloh7: adrp x25, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE Lloh8: ldr x25, [x25, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF] b.eq LBB0_2 ; %bb.1: ldr w23, [x24] ldr w0, [x25] bl _errcode Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF bl _errmsg ldr w1, [x26] Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF mov x2, x22 bl _errdetail mov x1, x0 mov x0, x23 bl _ereport LBB0_2: mov x0, x21 bl _VARDATA mov x21, x0 bl _BrinPageType cmp w0, w19 b.eq LBB0_4 ; %bb.3: ldr w22, [x24] ldr w0, [x25] bl _errcode str x20, [sp] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF bl _errmsg mov x0, x21 bl _BrinPageType mov x2, x0 Lloh15: adrp x0, l_.str.3@PAGE Lloh16: add x0, x0, l_.str.3@PAGEOFF mov x1, x19 bl _errdetail mov x1, x0 mov x0, x22 bl _ereport LBB0_4: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _VARHDRSZ,4,2 ; @VARHDRSZ .comm _BLCKSZ,4,2 ; @BLCKSZ .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "input page too small" l_.str.1: ; @.str.1 .asciz "Expected size %d, got %d" l_.str.2: ; @.str.2 .asciz "page is not a BRIN page of type \"%s\"" l_.str.3: ; @.str.3 .asciz "Expected special type %08x, got %08x." .no_dead_strip _verify_brin_page .subsections_via_symbols
AnghaBench/postgres/contrib/pageinspect/extr_brinfuncs.c_verify_brin_page.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create ## -- Begin function create .p2align 4, 0x90 _create: ## @create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movl $24, %edi callq _malloc movl %ebx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _insert_atend ## -- Begin function insert_atend .p2align 4, 0x90 _insert_atend: ## @insert_atend .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, _top(%rip) je LBB1_1 ## %bb.2: movq _end(%rip), %rax movq %rdi, 16(%rax) movq %rax, 8(%rdi) jmp LBB1_3 LBB1_1: movq %rdi, _top(%rip) LBB1_3: movq %rdi, _end(%rip) popq %rbp retq .cfi_endproc ## -- End function .globl _insert_atbeg ## -- Begin function insert_atbeg .p2align 4, 0x90 _insert_atbeg: ## @insert_atbeg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _top(%rip), %rax testq %rax, %rax je LBB2_1 ## %bb.2: movq %rax, 16(%rdi) addq $8, %rax leaq _top(%rip), %rcx jmp LBB2_3 LBB2_1: leaq _top(%rip), %rax leaq _end(%rip), %rcx LBB2_3: movq %rdi, (%rax) movq %rdi, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .globl _insert ## -- Begin function insert .p2align 4, 0x90 _insert: ## @insert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi movq _top(%rip), %r8 movq %r8, %rcx cmpl $2, %edi jl LBB3_6 ## %bb.1: leal -1(%rdi), %edx addl $-2, %edi movl %edx, %eax andl $7, %eax movq %r8, %rcx cmpl $7, %edi jb LBB3_4 ## %bb.2: andl $-8, %edx movq %r8, %rcx .p2align 4, 0x90 LBB3_3: ## =>This Inner Loop Header: Depth=1 movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx addl $-8, %edx jne LBB3_3 LBB3_4: testl %eax, %eax je LBB3_6 .p2align 4, 0x90 LBB3_5: ## =>This Inner Loop Header: Depth=1 movq 16(%rcx), %rcx decl %eax jne LBB3_5 LBB3_6: cmpq _end(%rip), %rcx je LBB3_8 ## %bb.7: movq 16(%rcx), %rax movq %rax, 16(%rsi) movq 16(%rcx), %rax movq %rsi, 8(%rax) movq %rsi, 16(%rcx) movq %rcx, 8(%rsi) popq %rbp retq LBB3_8: testq %r8, %r8 je LBB3_10 ## %bb.9: movq %rsi, 16(%rcx) movq %rcx, 8(%rsi) jmp LBB3_11 LBB3_10: movq %rsi, _top(%rip) LBB3_11: movq %rsi, _end(%rip) popq %rbp retq .cfi_endproc ## -- End function .globl _del_atbeg ## -- Begin function del_atbeg .p2align 4, 0x90 _del_atbeg: ## @del_atbeg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _top(%rip), %rdi testq %rdi, %rdi je LBB4_4 ## %bb.1: movq 16(%rdi), %rax movq %rax, _top(%rip) testq %rax, %rax je LBB4_3 ## %bb.2: movq $0, 8(%rax) LBB4_3: popq %rbp jmp _free ## TAILCALL LBB4_4: leaq L_str.18(%rip), %rdi popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _del_atend ## -- Begin function del_atend .p2align 4, 0x90 _del_atend: ## @del_atend .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 _top(%rip), %rdi testq %rdi, %rdi je LBB5_8 ## %bb.1: cmpq _end(%rip), %rdi je LBB5_5 ## %bb.2: ## implicit-def: $rax .p2align 4, 0x90 LBB5_3: ## =>This Inner Loop Header: Depth=1 movq %rax, %rbx movq %rdi, %rax movq 16(%rdi), %rdi testq %rdi, %rdi jne LBB5_3 ## %bb.4: movq %rax, %rdi callq _free movq $0, 16(%rbx) movq %rbx, _end(%rip) addq $8, %rsp popq %rbx popq %rbp retq LBB5_8: leaq L_str.18(%rip), %rdi addq $8, %rsp popq %rbx popq %rbp jmp _puts ## TAILCALL LBB5_5: movq 16(%rdi), %rax movq %rax, _top(%rip) testq %rax, %rax je LBB5_7 ## %bb.6: movq $0, 8(%rax) LBB5_7: addq $8, %rsp popq %rbx popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .globl _del ## -- Begin function del .p2align 4, 0x90 _del: ## @del .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax movq _top(%rip), %rdi testq %rdi, %rdi je LBB6_9 ## %bb.1: cmpl %eax, (%rdi) jne LBB6_5 ## %bb.2: movq 16(%rdi), %rax movq %rax, _top(%rip) testq %rax, %rax je LBB6_4 ## %bb.3: movq $0, 8(%rax) LBB6_4: popq %rbp jmp _free ## TAILCALL .p2align 4, 0x90 LBB6_5: ## =>This Inner Loop Header: Depth=1 movq %rdi, %rcx movq 16(%rdi), %rdi cmpl %eax, (%rdi) jne LBB6_5 ## %bb.6: movq 16(%rdi), %rax movq %rax, 16(%rcx) testq %rax, %rax je LBB6_8 ## %bb.7: movq 16(%rdi), %rax movq %rcx, 8(%rax) LBB6_8: popq %rbp jmp _free ## TAILCALL LBB6_9: leaq L_str.18(%rip), %rdi popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _print_front ## -- Begin function print_front .p2align 4, 0x90 _print_front: ## @print_front .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 _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB7_3 ## %bb.1: leaq L_.str.2(%rip), %r14 .p2align 4, 0x90 LBB7_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB7_2 LBB7_3: leaq L_str.20(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _print_back ## -- Begin function print_back .p2align 4, 0x90 _print_back: ## @print_back .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 _end(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB8_3 ## %bb.1: leaq L_.str.2(%rip), %r14 .p2align 4, 0x90 LBB8_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB8_2 LBB8_3: leaq L_str.20(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _search ## -- Begin function search .p2align 4, 0x90 _search: ## @search .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, %esi movl $1, %edx movq _top(%rip), %rax .p2align 4, 0x90 LBB9_1: ## =>This Inner Loop Header: Depth=1 cmpl %esi, (%rax) je LBB9_4 ## %bb.2: ## in Loop: Header=BB9_1 Depth=1 movq 16(%rax), %rax incl %edx testq %rax, %rax jne LBB9_1 ## %bb.3: leaq L_str.21(%rip), %rdi popq %rbp jmp _puts ## TAILCALL LBB9_4: leaq L_.str.5(%rip), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI10_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 leaq L_.str.9(%rip), %r13 leaq L_str.35(%rip), %r12 leaq L_.str.2(%rip), %r14 jmp LBB10_1 .p2align 4, 0x90 LBB10_96: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.20(%rip), %rdi LBB10_97: ## in Loop: Header=BB10_1 Depth=1 callq _puts LBB10_98: ## in Loop: Header=BB10_1 Depth=1 movl -52(%rbp), %eax decl %eax cmpl $9, %eax jae LBB10_99 LBB10_1: ## =>This Loop Header: Depth=1 ## Child Loop BB10_94 Depth 2 ## Child Loop BB10_92 Depth 2 ## Child Loop BB10_83 Depth 2 ## Child Loop BB10_86 Depth 2 ## Child Loop BB10_68 Depth 2 ## Child Loop BB10_75 Depth 2 ## Child Loop BB10_81 Depth 2 ## Child Loop BB10_53 Depth 2 ## Child Loop BB10_59 Depth 2 ## Child Loop BB10_66 Depth 2 ## Child Loop BB10_42 Depth 2 ## Child Loop BB10_51 Depth 2 ## Child Loop BB10_23 Depth 2 ## Child Loop BB10_24 Depth 3 ## Child Loop BB10_29 Depth 3 ## Child Loop BB10_31 Depth 3 ## Child Loop BB10_38 Depth 3 ## Child Loop BB10_13 Depth 2 ## Child Loop BB10_17 Depth 3 ## Child Loop BB10_5 Depth 2 ## Child Loop BB10_8 Depth 3 leaq L_str.22(%rip), %rdi callq _puts leaq L_str.23(%rip), %rdi callq _puts leaq L_str.24(%rip), %rdi callq _puts movq %r13, %rdi leaq -52(%rbp), %rsi xorl %eax, %eax callq _scanf movl -52(%rbp), %eax decl %eax cmpl $8, %eax ja LBB10_98 ## %bb.2: ## in Loop: Header=BB10_1 Depth=1 leaq LJTI10_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB10_3: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.34(%rip), %rdi callq _puts movq %r13, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jle LBB10_98 ## %bb.4: ## in Loop: Header=BB10_1 Depth=1 xorl %r15d, %r15d jmp LBB10_5 .p2align 4, 0x90 LBB10_10: ## in Loop: Header=BB10_5 Depth=2 leaq L_str.20(%rip), %rdi callq _puts incl %r15d cmpl -44(%rbp), %r15d jge LBB10_98 LBB10_5: ## Parent Loop BB10_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB10_8 Depth 3 movq %r12, %rdi callq _puts movq %r13, %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl $24, %edi callq _malloc movl %ebx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) movq _top(%rip), %rcx leaq _top(%rip), %rdi movq %rdi, %rdx leaq _end(%rip), %rsi testq %rcx, %rcx je LBB10_7 ## %bb.6: ## in Loop: Header=BB10_5 Depth=2 movq %rcx, 16(%rax) addq $8, %rcx movq %rcx, %rdx movq %rdi, %rsi LBB10_7: ## in Loop: Header=BB10_5 Depth=2 movq %rax, (%rdx) movq %rax, (%rsi) movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_10 .p2align 4, 0x90 LBB10_8: ## Parent Loop BB10_1 Depth=1 ## Parent Loop BB10_5 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_8 jmp LBB10_10 LBB10_11: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.34(%rip), %rdi callq _puts movq %r13, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jle LBB10_98 ## %bb.12: ## in Loop: Header=BB10_1 Depth=1 xorl %r15d, %r15d .p2align 4, 0x90 LBB10_13: ## Parent Loop BB10_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB10_17 Depth 3 movq %r12, %rdi callq _puts movq %r13, %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl $24, %edi callq _malloc movl %ebx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) movq _top(%rip), %rbx testq %rbx, %rbx je LBB10_14 ## %bb.15: ## in Loop: Header=BB10_13 Depth=2 movq _end(%rip), %rcx movq %rax, 16(%rcx) movq %rcx, 8(%rax) jmp LBB10_16 .p2align 4, 0x90 LBB10_14: ## in Loop: Header=BB10_13 Depth=2 movq %rax, _top(%rip) movq %rax, %rbx LBB10_16: ## in Loop: Header=BB10_13 Depth=2 movq %rax, _end(%rip) leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf .p2align 4, 0x90 LBB10_17: ## Parent Loop BB10_1 Depth=1 ## Parent Loop BB10_13 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_17 ## %bb.18: ## in Loop: Header=BB10_13 Depth=2 leaq L_str.20(%rip), %rdi callq _puts incl %r15d cmpl -44(%rbp), %r15d jl LBB10_13 jmp LBB10_98 LBB10_19: ## in Loop: Header=BB10_1 Depth=1 cmpq $0, _top(%rip) je LBB10_20 ## %bb.21: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.34(%rip), %rdi callq _puts movq %r13, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jle LBB10_98 ## %bb.22: ## in Loop: Header=BB10_1 Depth=1 xorl %r15d, %r15d jmp LBB10_23 .p2align 4, 0x90 LBB10_40: ## in Loop: Header=BB10_23 Depth=2 leaq L_str.20(%rip), %rdi callq _puts incl %r15d cmpl -44(%rbp), %r15d leaq L_str.35(%rip), %r12 jge LBB10_98 LBB10_23: ## Parent Loop BB10_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB10_24 Depth 3 ## Child Loop BB10_29 Depth 3 ## Child Loop BB10_31 Depth 3 ## Child Loop BB10_38 Depth 3 movq %r13, %rbx movq %r12, %rdi callq _puts movq %r13, %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_26 .p2align 4, 0x90 LBB10_24: ## Parent Loop BB10_1 Depth=1 ## Parent Loop BB10_23 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_24 LBB10_26: ## in Loop: Header=BB10_23 Depth=2 leaq L_str.20(%rip), %rdi callq _puts leaq L_str.30(%rip), %rdi callq _puts movq %r13, %rdi leaq -64(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl $24, %edi callq _malloc movl %ebx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) movl -64(%rbp), %edi movq _top(%rip), %r12 movq %r12, %rcx cmpl $2, %edi jl LBB10_32 ## %bb.27: ## in Loop: Header=BB10_23 Depth=2 leal -1(%rdi), %esi addl $-2, %edi movl %esi, %edx andl $7, %edx movq %r12, %rcx cmpl $7, %edi jb LBB10_30 ## %bb.28: ## in Loop: Header=BB10_23 Depth=2 andl $-8, %esi movq %r12, %rcx .p2align 4, 0x90 LBB10_29: ## Parent Loop BB10_1 Depth=1 ## Parent Loop BB10_23 Depth=2 ## => This Inner Loop Header: Depth=3 movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx movq 16(%rcx), %rcx addl $-8, %esi jne LBB10_29 LBB10_30: ## in Loop: Header=BB10_23 Depth=2 testl %edx, %edx je LBB10_32 .p2align 4, 0x90 LBB10_31: ## Parent Loop BB10_1 Depth=1 ## Parent Loop BB10_23 Depth=2 ## => This Inner Loop Header: Depth=3 movq 16(%rcx), %rcx decl %edx jne LBB10_31 LBB10_32: ## in Loop: Header=BB10_23 Depth=2 cmpq _end(%rip), %rcx je LBB10_33 ## %bb.36: ## in Loop: Header=BB10_23 Depth=2 movq 16(%rcx), %rdx movq %rdx, 16(%rax) movq 16(%rcx), %rdx movq %rax, 8(%rdx) movq %rax, 16(%rcx) movq %rcx, 8(%rax) jmp LBB10_37 .p2align 4, 0x90 LBB10_33: ## in Loop: Header=BB10_23 Depth=2 testq %r12, %r12 je LBB10_34 ## %bb.35: ## in Loop: Header=BB10_23 Depth=2 movq %rax, 16(%rcx) movq %rcx, 8(%rax) movq %rax, _end(%rip) jmp LBB10_37 LBB10_34: ## in Loop: Header=BB10_23 Depth=2 movq %rax, _top(%rip) movq %rax, _end(%rip) movq %rax, %r12 .p2align 4, 0x90 LBB10_37: ## in Loop: Header=BB10_23 Depth=2 leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %r12, %r12 je LBB10_40 .p2align 4, 0x90 LBB10_38: ## Parent Loop BB10_1 Depth=1 ## Parent Loop BB10_23 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%r12), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%r12), %r12 testq %r12, %r12 jne LBB10_38 jmp LBB10_40 LBB10_41: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_44 .p2align 4, 0x90 LBB10_42: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_42 LBB10_44: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.20(%rip), %rdi callq _puts movq _top(%rip), %rdi testq %rdi, %rdi je LBB10_45 ## %bb.46: ## in Loop: Header=BB10_1 Depth=1 movq 16(%rdi), %rax movq %rax, _top(%rip) testq %rax, %rax je LBB10_48 ## %bb.47: ## in Loop: Header=BB10_1 Depth=1 movq $0, 8(%rax) LBB10_48: ## in Loop: Header=BB10_1 Depth=1 callq _free jmp LBB10_49 LBB10_52: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_55 .p2align 4, 0x90 LBB10_53: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_53 LBB10_55: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.20(%rip), %rdi callq _puts movq _top(%rip), %rdi testq %rdi, %rdi je LBB10_56 ## %bb.57: ## in Loop: Header=BB10_1 Depth=1 cmpq _end(%rip), %rdi je LBB10_61 ## %bb.58: ## in Loop: Header=BB10_1 Depth=1 ## implicit-def: $rax .p2align 4, 0x90 LBB10_59: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rax, %rbx movq %rdi, %rax movq 16(%rdi), %rdi testq %rdi, %rdi jne LBB10_59 ## %bb.60: ## in Loop: Header=BB10_1 Depth=1 movq %rax, %rdi callq _free movq $0, 16(%rbx) movq %rbx, _end(%rip) jmp LBB10_64 LBB10_67: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_70 .p2align 4, 0x90 LBB10_68: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_68 LBB10_70: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.20(%rip), %rdi callq _puts leaq L_str.27(%rip), %rdi callq _puts movq %r13, %rdi leaq -60(%rbp), %rsi xorl %eax, %eax callq _scanf movq _top(%rip), %rdi testq %rdi, %rdi je LBB10_71 ## %bb.72: ## in Loop: Header=BB10_1 Depth=1 movl -60(%rbp), %ecx cmpl %ecx, (%rdi) jne LBB10_75 ## %bb.73: ## in Loop: Header=BB10_1 Depth=1 movq 16(%rdi), %rax movq %rax, _top(%rip) testq %rax, %rax je LBB10_78 ## %bb.74: ## in Loop: Header=BB10_1 Depth=1 movq $0, 8(%rax) jmp LBB10_78 .p2align 4, 0x90 LBB10_75: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rdi, %rax movq 16(%rdi), %rdi cmpl %ecx, (%rdi) jne LBB10_75 ## %bb.76: ## in Loop: Header=BB10_1 Depth=1 movq 16(%rdi), %rcx movq %rcx, 16(%rax) testq %rcx, %rcx je LBB10_78 ## %bb.77: ## in Loop: Header=BB10_1 Depth=1 movq 16(%rdi), %rcx movq %rax, 8(%rcx) LBB10_78: ## in Loop: Header=BB10_1 Depth=1 callq _free jmp LBB10_79 LBB10_82: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_85 .p2align 4, 0x90 LBB10_83: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_83 LBB10_85: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.20(%rip), %rdi callq _puts leaq L_str.26(%rip), %rdi callq _puts movq %r13, %rdi leaq -56(%rbp), %rsi xorl %eax, %eax callq _scanf movl -56(%rbp), %esi movl $1, %edx movq _top(%rip), %rax .p2align 4, 0x90 LBB10_86: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %esi, (%rax) je LBB10_89 ## %bb.87: ## in Loop: Header=BB10_86 Depth=2 movq 16(%rax), %rax incl %edx testq %rax, %rax jne LBB10_86 ## %bb.88: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.21(%rip), %rdi jmp LBB10_97 LBB10_90: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_96 .p2align 4, 0x90 LBB10_92: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_92 jmp LBB10_96 LBB10_93: ## in Loop: Header=BB10_1 Depth=1 movq _end(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_96 .p2align 4, 0x90 LBB10_94: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB10_94 jmp LBB10_96 LBB10_89: ## in Loop: Header=BB10_1 Depth=1 leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB10_98 LBB10_20: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.31(%rip), %rdi jmp LBB10_97 LBB10_45: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.18(%rip), %rdi callq _puts LBB10_49: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_96 .p2align 4, 0x90 LBB10_51: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_51 jmp LBB10_96 LBB10_56: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.18(%rip), %rdi callq _puts jmp LBB10_64 LBB10_71: ## in Loop: Header=BB10_1 Depth=1 leaq L_str.18(%rip), %rdi callq _puts LBB10_79: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_96 .p2align 4, 0x90 LBB10_81: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_81 jmp LBB10_96 LBB10_61: ## in Loop: Header=BB10_1 Depth=1 movq 16(%rdi), %rax movq %rax, _top(%rip) testq %rax, %rax je LBB10_63 ## %bb.62: ## in Loop: Header=BB10_1 Depth=1 movq $0, 8(%rax) LBB10_63: ## in Loop: Header=BB10_1 Depth=1 callq _free LBB10_64: ## in Loop: Header=BB10_1 Depth=1 movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_96 .p2align 4, 0x90 LBB10_66: ## Parent Loop BB10_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_66 jmp LBB10_96 LBB10_99: leaq L_str.25(%rip), %rdi callq _puts movq _top(%rip), %rbx leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testq %rbx, %rbx je LBB10_102 ## %bb.100: leaq L_.str.2(%rip), %r14 .p2align 4, 0x90 LBB10_101: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 16(%rbx), %rbx testq %rbx, %rbx jne LBB10_101 LBB10_102: leaq L_str.20(%rip), %rdi callq _puts xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L10_0_set_3, LBB10_3-LJTI10_0 .set L10_0_set_11, LBB10_11-LJTI10_0 .set L10_0_set_19, LBB10_19-LJTI10_0 .set L10_0_set_41, LBB10_41-LJTI10_0 .set L10_0_set_52, LBB10_52-LJTI10_0 .set L10_0_set_67, LBB10_67-LJTI10_0 .set L10_0_set_82, LBB10_82-LJTI10_0 .set L10_0_set_90, LBB10_90-LJTI10_0 .set L10_0_set_93, LBB10_93-LJTI10_0 LJTI10_0: .long L10_0_set_3 .long L10_0_set_11 .long L10_0_set_19 .long L10_0_set_41 .long L10_0_set_52 .long L10_0_set_67 .long L10_0_set_82 .long L10_0_set_90 .long L10_0_set_93 .end_data_region ## -- End function .globl _top ## @top .zerofill __DATA,__common,_top,8,3 .globl _end ## @end .zerofill __DATA,__common,_end,8,3 .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "NULL <-> " L_.str.2: ## @.str.2 .asciz "%d <-> " L_.str.5: ## @.str.5 .asciz "%d is at position : %d\n" L_.str.9: ## @.str.9 .asciz "%d" L_str.18: ## @str.18 .asciz "List is Empty" L_str.20: ## @str.20 .asciz "NULL" L_str.21: ## @str.21 .asciz "There is no such element present in this linked list" L_str.22: ## @str.22 .asciz "\n\t\t\t********* MAIN MENU *********\n1. Insert at beginning\n2. Insert at end\n3. Insert anywhere" L_str.23: ## @str.23 .asciz "4. Delete from beginning\n5. Delete at end\n6. Delete from anywhere" L_str.24: ## @str.24 .asciz "7. Search\n8. Print List from beginning\n9. Print list from back" L_str.25: ## @str.25 .asciz "Your final list is :" L_str.26: ## @str.26 .asciz "Enter the element you want to search for" L_str.27: ## @str.27 .asciz "Enter the element you want to delete" L_str.30: ## @str.30 .asciz "After which position do you want to enter this data?" L_str.31: ## @str.31 .asciz "Please enter the data via other method first" L_str.34: ## @str.34 .asciz "How many nodes do you want to enter?" L_str.35: ## @str.35 .asciz "Enter the data" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _create ; -- Begin function create .p2align 2 _create: ; @create .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #24 bl _malloc str w19, [x0] stp xzr, xzr, [x0, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _insert_atend ; -- Begin function insert_atend .p2align 2 _insert_atend: ; @insert_atend .cfi_startproc ; %bb.0: adrp x9, _top@PAGE ldr x10, [x9, _top@PAGEOFF] adrp x8, _end@PAGE cbz x10, LBB1_2 ; %bb.1: ldr x9, [x8, _end@PAGEOFF] str x0, [x9, #16] str x9, [x0, #8] str x0, [x8, _end@PAGEOFF] ret LBB1_2: str x0, [x9, _top@PAGEOFF] str x0, [x8, _end@PAGEOFF] ret .cfi_endproc ; -- End function .globl _insert_atbeg ; -- Begin function insert_atbeg .p2align 2 _insert_atbeg: ; @insert_atbeg .cfi_startproc ; %bb.0: Lloh0: adrp x8, _top@PAGE Lloh1: add x8, x8, _top@PAGEOFF ldr x9, [x8] cbz x9, LBB2_2 ; %bb.1: str x9, [x0, #16] add x8, x9, #8 Lloh2: adrp x9, _top@PAGE Lloh3: add x9, x9, _top@PAGEOFF b LBB2_3 LBB2_2: Lloh4: adrp x9, _end@PAGE Lloh5: add x9, x9, _end@PAGEOFF LBB2_3: str x0, [x8] str x0, [x9] ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _insert ; -- Begin function insert .p2align 2 _insert: ; @insert .cfi_startproc ; %bb.0: adrp x8, _top@PAGE ldr x10, [x8, _top@PAGEOFF] mov x9, x10 cmp w0, #2 b.lt LBB3_3 ; %bb.1: sub w11, w0, #1 mov x9, x10 LBB3_2: ; =>This Inner Loop Header: Depth=1 ldr x9, [x9, #16] subs w11, w11, #1 b.ne LBB3_2 LBB3_3: adrp x11, _end@PAGE ldr x12, [x11, _end@PAGEOFF] cmp x9, x12 b.eq LBB3_5 ; %bb.4: ldr x8, [x9, #16] str x8, [x1, #16] ldr x8, [x9, #16] str x1, [x8, #8] str x1, [x9, #16] str x9, [x1, #8] ret LBB3_5: cbz x10, LBB3_7 ; %bb.6: str x1, [x9, #16] str x9, [x1, #8] str x1, [x11, _end@PAGEOFF] ret LBB3_7: str x1, [x8, _top@PAGEOFF] str x1, [x11, _end@PAGEOFF] ret .cfi_endproc ; -- End function .globl _del_atbeg ; -- Begin function del_atbeg .p2align 2 _del_atbeg: ; @del_atbeg .cfi_startproc ; %bb.0: adrp x9, _top@PAGE ldr x0, [x9, _top@PAGEOFF] cbz x0, LBB4_4 ; %bb.1: ldr x8, [x0, #16] str x8, [x9, _top@PAGEOFF] cbz x8, LBB4_3 ; %bb.2: str xzr, [x8, #8] LBB4_3: b _free LBB4_4: Lloh6: adrp x0, l_str.18@PAGE Lloh7: add x0, x0, l_str.18@PAGEOFF b _puts .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _del_atend ; -- Begin function del_atend .p2align 2 _del_atend: ; @del_atend .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 adrp x8, _top@PAGE ldr x0, [x8, _top@PAGEOFF] cbz x0, LBB5_5 ; %bb.1: adrp x19, _end@PAGE ldr x9, [x19, _end@PAGEOFF] cmp x0, x9 b.eq LBB5_6 ; %bb.2: ; implicit-def: $x8 LBB5_3: ; =>This Inner Loop Header: Depth=1 mov x20, x8 mov x8, x0 ldr x0, [x0, #16] cbnz x0, LBB5_3 ; %bb.4: mov x0, x8 bl _free str xzr, [x20, #16] str x20, [x19, _end@PAGEOFF] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB5_5: Lloh8: adrp x0, l_str.18@PAGE Lloh9: add x0, x0, l_str.18@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _puts LBB5_6: ldr x9, [x0, #16] str x9, [x8, _top@PAGEOFF] cbz x9, LBB5_8 ; %bb.7: str xzr, [x9, #8] LBB5_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .globl _del ; -- Begin function del .p2align 2 _del: ; @del .cfi_startproc ; %bb.0: mov x8, x0 adrp x9, _top@PAGE ldr x0, [x9, _top@PAGEOFF] cbz x0, LBB6_9 ; %bb.1: ldr w10, [x0] cmp w10, w8 b.ne LBB6_5 ; %bb.2: ldr x8, [x0, #16] str x8, [x9, _top@PAGEOFF] cbz x8, LBB6_4 ; %bb.3: str xzr, [x8, #8] LBB6_4: b _free LBB6_5: ; =>This Inner Loop Header: Depth=1 mov x9, x0 ldr x0, [x0, #16] ldr w10, [x0] cmp w10, w8 b.ne LBB6_5 ; %bb.6: ldr x8, [x0, #16] str x8, [x9, #16] cbz x8, LBB6_8 ; %bb.7: ldr x8, [x0, #16] str x9, [x8, #8] LBB6_8: b _free LBB6_9: Lloh10: adrp x0, l_str.18@PAGE Lloh11: add x0, x0, l_str.18@PAGEOFF b _puts .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _print_front ; -- Begin function print_front .p2align 2 _print_front: ; @print_front .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 Lloh12: adrp x8, _top@PAGE Lloh13: ldr x20, [x8, _top@PAGEOFF] Lloh14: adrp x0, l_.str.1@PAGE Lloh15: add x0, x0, l_.str.1@PAGEOFF bl _printf cbz x20, LBB7_3 ; %bb.1: Lloh16: adrp x19, l_.str.2@PAGE Lloh17: add x19, x19, l_.str.2@PAGEOFF LBB7_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] str x8, [sp] mov x0, x19 bl _printf ldr x20, [x20, #16] cbnz x20, LBB7_2 LBB7_3: Lloh18: adrp x0, l_str.20@PAGE Lloh19: add x0, x0, l_str.20@PAGEOFF ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 b _puts .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdr Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .globl _print_back ; -- Begin function print_back .p2align 2 _print_back: ; @print_back .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 Lloh20: adrp x8, _end@PAGE Lloh21: ldr x20, [x8, _end@PAGEOFF] Lloh22: adrp x0, l_.str.1@PAGE Lloh23: add x0, x0, l_.str.1@PAGEOFF bl _printf cbz x20, LBB8_3 ; %bb.1: Lloh24: adrp x19, l_.str.2@PAGE Lloh25: add x19, x19, l_.str.2@PAGEOFF LBB8_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] str x8, [sp] mov x0, x19 bl _printf ldr x20, [x20, #8] cbnz x20, LBB8_2 LBB8_3: Lloh26: adrp x0, l_str.20@PAGE Lloh27: add x0, x0, l_str.20@PAGEOFF ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 b _puts .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdr Lloh20, Lloh21 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _search ; -- Begin function search .p2align 2 _search: ; @search .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 Lloh28: adrp x8, _top@PAGE Lloh29: ldr x9, [x8, _top@PAGEOFF] mov w8, #1 LBB9_1: ; =>This Inner Loop Header: Depth=1 ldr w10, [x9] cmp w10, w0 b.eq LBB9_4 ; %bb.2: ; in Loop: Header=BB9_1 Depth=1 ldr x9, [x9, #16] add w8, w8, #1 cbnz x9, LBB9_1 ; %bb.3: Lloh30: adrp x0, l_str.21@PAGE Lloh31: add x0, x0, l_str.21@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 b _puts LBB9_4: stp x0, x8, [sp] Lloh32: adrp x0, l_.str.5@PAGE Lloh33: add x0, x0, l_.str.5@PAGEOFF bl _printf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdr Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 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 Lloh34: adrp x22, l_.str.9@PAGE Lloh35: add x22, x22, l_.str.9@PAGEOFF Lloh36: adrp x24, l_str.35@PAGE Lloh37: add x24, x24, l_str.35@PAGEOFF add x19, sp, #40 adrp x23, _top@PAGE Lloh38: adrp x25, l_.str.1@PAGE Lloh39: add x25, x25, l_.str.1@PAGEOFF Lloh40: adrp x26, l_str.20@PAGE Lloh41: add x26, x26, l_str.20@PAGEOFF Lloh42: adrp x27, l_.str.2@PAGE Lloh43: add x27, x27, l_.str.2@PAGEOFF adrp x21, _end@PAGE b LBB10_4 LBB10_1: ; in Loop: Header=BB10_4 Depth=1 mov x0, x26 LBB10_2: ; in Loop: Header=BB10_4 Depth=1 bl _puts LBB10_3: ; in Loop: Header=BB10_4 Depth=1 ldr w8, [sp, #32] sub w8, w8, #1 cmp w8, #9 b.hs LBB10_86 LBB10_4: ; =>This Loop Header: Depth=1 ; Child Loop BB10_71 Depth 2 ; Child Loop BB10_69 Depth 2 ; Child Loop BB10_63 Depth 2 ; Child Loop BB10_65 Depth 2 ; Child Loop BB10_53 Depth 2 ; Child Loop BB10_58 Depth 2 ; Child Loop BB10_80 Depth 2 ; Child Loop BB10_46 Depth 2 ; Child Loop BB10_50 Depth 2 ; Child Loop BB10_85 Depth 2 ; Child Loop BB10_40 Depth 2 ; Child Loop BB10_76 Depth 2 ; Child Loop BB10_26 Depth 2 ; Child Loop BB10_27 Depth 3 ; Child Loop BB10_30 Depth 3 ; Child Loop BB10_38 Depth 3 ; Child Loop BB10_16 Depth 2 ; Child Loop BB10_20 Depth 3 ; Child Loop BB10_9 Depth 2 ; Child Loop BB10_13 Depth 3 Lloh44: adrp x0, l_str.22@PAGE Lloh45: add x0, x0, l_str.22@PAGEOFF bl _puts Lloh46: adrp x0, l_str.23@PAGE Lloh47: add x0, x0, l_str.23@PAGEOFF bl _puts Lloh48: adrp x0, l_str.24@PAGE Lloh49: add x0, x0, l_str.24@PAGEOFF bl _puts add x8, sp, #32 str x8, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #32] sub w8, w8, #1 cmp w8, #8 b.hi LBB10_3 ; %bb.5: ; in Loop: Header=BB10_4 Depth=1 Lloh50: adrp x11, lJTI10_0@PAGE Lloh51: add x11, x11, lJTI10_0@PAGEOFF adr x9, LBB10_6 ldrh w10, [x11, x8, lsl #1] add x9, x9, x10, lsl #2 br x9 LBB10_6: ; in Loop: Header=BB10_4 Depth=1 Lloh52: adrp x0, l_str.34@PAGE Lloh53: add x0, x0, l_str.34@PAGEOFF bl _puts add x8, sp, #44 str x8, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #44] cmp w8, #1 b.lt LBB10_3 ; %bb.7: ; in Loop: Header=BB10_4 Depth=1 mov w28, #0 b LBB10_9 LBB10_8: ; in Loop: Header=BB10_9 Depth=2 mov x0, x26 bl _puts add w28, w28, #1 ldr w8, [sp, #44] cmp w28, w8 b.ge LBB10_3 LBB10_9: ; Parent Loop BB10_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB10_13 Depth 3 mov x0, x24 bl _puts str x19, [sp] mov x0, x22 bl _scanf ldr w20, [sp, #40] mov w0, #24 bl _malloc str w20, [x0] stp xzr, xzr, [x0, #8] Lloh54: adrp x9, _top@PAGE Lloh55: add x9, x9, _top@PAGEOFF ldr x8, [x9] cbz x8, LBB10_11 ; %bb.10: ; in Loop: Header=BB10_9 Depth=2 str x8, [x0, #16] add x8, x8, #8 b LBB10_12 LBB10_11: ; in Loop: Header=BB10_9 Depth=2 mov x8, x9 Lloh56: adrp x9, _end@PAGE Lloh57: add x9, x9, _end@PAGEOFF LBB10_12: ; in Loop: Header=BB10_9 Depth=2 str x0, [x8] str x0, [x9] ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_8 LBB10_13: ; Parent Loop BB10_4 Depth=1 ; Parent Loop BB10_9 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_13 b LBB10_8 LBB10_14: ; in Loop: Header=BB10_4 Depth=1 Lloh58: adrp x0, l_str.34@PAGE Lloh59: add x0, x0, l_str.34@PAGEOFF bl _puts add x8, sp, #44 str x8, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #44] cmp w8, #1 b.lt LBB10_3 ; %bb.15: ; in Loop: Header=BB10_4 Depth=1 mov w20, #0 LBB10_16: ; Parent Loop BB10_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB10_20 Depth 3 mov x0, x24 bl _puts str x19, [sp] mov x0, x22 bl _scanf ldr w28, [sp, #40] mov w0, #24 bl _malloc str w28, [x0] stp xzr, xzr, [x0, #8] ldr x28, [x23, _top@PAGEOFF] cbz x28, LBB10_18 ; %bb.17: ; in Loop: Header=BB10_16 Depth=2 ldr x8, [x21, _end@PAGEOFF] str x0, [x8, #16] str x8, [x0, #8] b LBB10_19 LBB10_18: ; in Loop: Header=BB10_16 Depth=2 str x0, [x23, _top@PAGEOFF] mov x28, x0 LBB10_19: ; in Loop: Header=BB10_16 Depth=2 str x0, [x21, _end@PAGEOFF] mov x0, x25 bl _printf LBB10_20: ; Parent Loop BB10_4 Depth=1 ; Parent Loop BB10_16 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x28] str x8, [sp] mov x0, x27 bl _printf ldr x28, [x28, #16] cbnz x28, LBB10_20 ; %bb.21: ; in Loop: Header=BB10_16 Depth=2 mov x0, x26 bl _puts add w20, w20, #1 ldr w8, [sp, #44] cmp w20, w8 b.lt LBB10_16 b LBB10_3 LBB10_22: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x23, _top@PAGEOFF] cbz x8, LBB10_73 ; %bb.23: ; in Loop: Header=BB10_4 Depth=1 Lloh60: adrp x0, l_str.34@PAGE Lloh61: add x0, x0, l_str.34@PAGEOFF bl _puts add x8, sp, #44 str x8, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #44] cmp w8, #1 b.lt LBB10_3 ; %bb.24: ; in Loop: Header=BB10_4 Depth=1 mov w28, #0 b LBB10_26 LBB10_25: ; in Loop: Header=BB10_26 Depth=2 mov x0, x26 bl _puts add w28, w28, #1 ldr w8, [sp, #44] cmp w28, w8 b.ge LBB10_3 LBB10_26: ; Parent Loop BB10_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB10_27 Depth 3 ; Child Loop BB10_30 Depth 3 ; Child Loop BB10_38 Depth 3 mov x0, x24 bl _puts str x19, [sp] mov x0, x22 bl _scanf ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_28 LBB10_27: ; Parent Loop BB10_4 Depth=1 ; Parent Loop BB10_26 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_27 LBB10_28: ; in Loop: Header=BB10_26 Depth=2 mov x0, x26 bl _puts Lloh62: adrp x0, l_str.30@PAGE Lloh63: add x0, x0, l_str.30@PAGEOFF bl _puts add x8, sp, #36 str x8, [sp] mov x0, x22 bl _scanf ldr w20, [sp, #40] mov w0, #24 bl _malloc str w20, [x0] stp xzr, xzr, [x0, #8] ldr w9, [sp, #36] ldr x20, [x23, _top@PAGEOFF] mov x8, x20 cmp w9, #2 b.lt LBB10_31 ; %bb.29: ; in Loop: Header=BB10_26 Depth=2 sub w9, w9, #1 mov x8, x20 LBB10_30: ; Parent Loop BB10_4 Depth=1 ; Parent Loop BB10_26 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [x8, #16] subs w9, w9, #1 b.ne LBB10_30 LBB10_31: ; in Loop: Header=BB10_26 Depth=2 ldr x9, [x21, _end@PAGEOFF] cmp x8, x9 b.eq LBB10_33 ; %bb.32: ; in Loop: Header=BB10_26 Depth=2 ldr x9, [x8, #16] str x9, [x0, #16] ldr x9, [x8, #16] str x0, [x9, #8] str x0, [x8, #16] str x8, [x0, #8] b LBB10_37 LBB10_33: ; in Loop: Header=BB10_26 Depth=2 cbz x20, LBB10_35 ; %bb.34: ; in Loop: Header=BB10_26 Depth=2 str x0, [x8, #16] str x8, [x0, #8] b LBB10_36 LBB10_35: ; in Loop: Header=BB10_26 Depth=2 str x0, [x23, _top@PAGEOFF] mov x20, x0 LBB10_36: ; in Loop: Header=BB10_26 Depth=2 str x0, [x21, _end@PAGEOFF] LBB10_37: ; in Loop: Header=BB10_26 Depth=2 mov x0, x25 bl _printf cbz x20, LBB10_25 LBB10_38: ; Parent Loop BB10_4 Depth=1 ; Parent Loop BB10_26 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_38 b LBB10_25 LBB10_39: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_41 LBB10_40: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_40 LBB10_41: ; in Loop: Header=BB10_4 Depth=1 mov x0, x26 bl _puts ldr x0, [x23, _top@PAGEOFF] cbz x0, LBB10_74 ; %bb.42: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x0, #16] str x8, [x23, _top@PAGEOFF] cbz x8, LBB10_44 ; %bb.43: ; in Loop: Header=BB10_4 Depth=1 str xzr, [x8, #8] LBB10_44: ; in Loop: Header=BB10_4 Depth=1 bl _free b LBB10_75 LBB10_45: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_47 LBB10_46: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_46 LBB10_47: ; in Loop: Header=BB10_4 Depth=1 mov x0, x26 bl _puts ldr x0, [x23, _top@PAGEOFF] cbz x0, LBB10_77 ; %bb.48: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x21, _end@PAGEOFF] cmp x0, x8 b.eq LBB10_81 ; %bb.49: ; in Loop: Header=BB10_4 Depth=1 ; implicit-def: $x8 LBB10_50: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x20, x8 mov x8, x0 ldr x0, [x0, #16] cbnz x0, LBB10_50 ; %bb.51: ; in Loop: Header=BB10_4 Depth=1 mov x0, x8 bl _free str xzr, [x20, #16] str x20, [x21, _end@PAGEOFF] b LBB10_84 LBB10_52: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_54 LBB10_53: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_53 LBB10_54: ; in Loop: Header=BB10_4 Depth=1 mov x0, x26 bl _puts Lloh64: adrp x0, l_str.27@PAGE Lloh65: add x0, x0, l_str.27@PAGEOFF bl _puts add x8, sp, #28 str x8, [sp] mov x0, x22 bl _scanf ldr x0, [x23, _top@PAGEOFF] cbz x0, LBB10_78 ; %bb.55: ; in Loop: Header=BB10_4 Depth=1 ldr w8, [sp, #28] ldr w9, [x0] cmp w9, w8 b.ne LBB10_58 ; %bb.56: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x0, #16] str x8, [x23, _top@PAGEOFF] cbz x8, LBB10_61 ; %bb.57: ; in Loop: Header=BB10_4 Depth=1 str xzr, [x8, #8] b LBB10_61 LBB10_58: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x9, x0 ldr x0, [x0, #16] ldr w10, [x0] cmp w10, w8 b.ne LBB10_58 ; %bb.59: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x0, #16] str x8, [x9, #16] cbz x8, LBB10_61 ; %bb.60: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x0, #16] str x9, [x8, #8] LBB10_61: ; in Loop: Header=BB10_4 Depth=1 bl _free b LBB10_79 LBB10_62: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_64 LBB10_63: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_63 LBB10_64: ; in Loop: Header=BB10_4 Depth=1 mov x0, x26 bl _puts Lloh66: adrp x0, l_str.26@PAGE Lloh67: add x0, x0, l_str.26@PAGEOFF bl _puts add x8, sp, #24 str x8, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #24] ldr x10, [x23, _top@PAGEOFF] mov w9, #1 LBB10_65: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w11, [x10] cmp w11, w8 b.eq LBB10_72 ; %bb.66: ; in Loop: Header=BB10_65 Depth=2 ldr x10, [x10, #16] add w9, w9, #1 cbnz x10, LBB10_65 ; %bb.67: ; in Loop: Header=BB10_4 Depth=1 Lloh68: adrp x0, l_str.21@PAGE Lloh69: add x0, x0, l_str.21@PAGEOFF b LBB10_2 LBB10_68: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_1 LBB10_69: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_69 b LBB10_1 LBB10_70: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x21, _end@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_1 LBB10_71: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #8] cbnz x20, LBB10_71 b LBB10_1 LBB10_72: ; in Loop: Header=BB10_4 Depth=1 stp x8, x9, [sp] Lloh70: adrp x0, l_.str.5@PAGE Lloh71: add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB10_3 LBB10_73: ; in Loop: Header=BB10_4 Depth=1 Lloh72: adrp x0, l_str.31@PAGE Lloh73: add x0, x0, l_str.31@PAGEOFF b LBB10_2 LBB10_74: ; in Loop: Header=BB10_4 Depth=1 Lloh74: adrp x0, l_str.18@PAGE Lloh75: add x0, x0, l_str.18@PAGEOFF bl _puts LBB10_75: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_1 LBB10_76: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_76 b LBB10_1 LBB10_77: ; in Loop: Header=BB10_4 Depth=1 Lloh76: adrp x0, l_str.18@PAGE Lloh77: add x0, x0, l_str.18@PAGEOFF bl _puts b LBB10_84 LBB10_78: ; in Loop: Header=BB10_4 Depth=1 Lloh78: adrp x0, l_str.18@PAGE Lloh79: add x0, x0, l_str.18@PAGEOFF bl _puts LBB10_79: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_1 LBB10_80: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_80 b LBB10_1 LBB10_81: ; in Loop: Header=BB10_4 Depth=1 ldr x8, [x0, #16] str x8, [x23, _top@PAGEOFF] cbz x8, LBB10_83 ; %bb.82: ; in Loop: Header=BB10_4 Depth=1 str xzr, [x8, #8] LBB10_83: ; in Loop: Header=BB10_4 Depth=1 bl _free LBB10_84: ; in Loop: Header=BB10_4 Depth=1 ldr x20, [x23, _top@PAGEOFF] mov x0, x25 bl _printf cbz x20, LBB10_1 LBB10_85: ; Parent Loop BB10_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] str x8, [sp] mov x0, x27 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_85 b LBB10_1 LBB10_86: Lloh80: adrp x0, l_str.25@PAGE Lloh81: add x0, x0, l_str.25@PAGEOFF bl _puts ldr x20, [x23, _top@PAGEOFF] Lloh82: adrp x0, l_.str.1@PAGE Lloh83: add x0, x0, l_.str.1@PAGEOFF bl _printf cbz x20, LBB10_89 ; %bb.87: Lloh84: adrp x19, l_.str.2@PAGE Lloh85: add x19, x19, l_.str.2@PAGEOFF LBB10_88: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] str x8, [sp] mov x0, x19 bl _printf ldr x20, [x20, #16] cbnz x20, LBB10_88 LBB10_89: Lloh86: adrp x0, l_str.20@PAGE Lloh87: add x0, x0, l_str.20@PAGEOFF bl _puts mov w0, #0 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 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh86, Lloh87 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI10_0: .short (LBB10_6-LBB10_6)>>2 .short (LBB10_14-LBB10_6)>>2 .short (LBB10_22-LBB10_6)>>2 .short (LBB10_39-LBB10_6)>>2 .short (LBB10_45-LBB10_6)>>2 .short (LBB10_52-LBB10_6)>>2 .short (LBB10_62-LBB10_6)>>2 .short (LBB10_68-LBB10_6)>>2 .short (LBB10_70-LBB10_6)>>2 ; -- End function .globl _top ; @top .zerofill __DATA,__common,_top,8,3 .globl _end ; @end .zerofill __DATA,__common,_end,8,3 .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "NULL <-> " l_.str.2: ; @.str.2 .asciz "%d <-> " l_.str.5: ; @.str.5 .asciz "%d is at position : %d\n" l_.str.9: ; @.str.9 .asciz "%d" l_str.18: ; @str.18 .asciz "List is Empty" l_str.20: ; @str.20 .asciz "NULL" l_str.21: ; @str.21 .asciz "There is no such element present in this linked list" l_str.22: ; @str.22 .asciz "\n\t\t\t********* MAIN MENU *********\n1. Insert at beginning\n2. Insert at end\n3. Insert anywhere" l_str.23: ; @str.23 .asciz "4. Delete from beginning\n5. Delete at end\n6. Delete from anywhere" l_str.24: ; @str.24 .asciz "7. Search\n8. Print List from beginning\n9. Print list from back" l_str.25: ; @str.25 .asciz "Your final list is :" l_str.26: ; @str.26 .asciz "Enter the element you want to search for" l_str.27: ; @str.27 .asciz "Enter the element you want to delete" l_str.30: ; @str.30 .asciz "After which position do you want to enter this data?" l_str.31: ; @str.31 .asciz "Please enter the data via other method first" l_str.34: ; @str.34 .asciz "How many nodes do you want to enter?" l_str.35: ; @str.35 .asciz "Enter the data" .subsections_via_symbols
the_stack_data/149133.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function find_next LCPI0_0: .long 0 ## 0x0 .long 1 ## 0x1 .long 0 ## 0x0 .long 0 ## 0x0 LCPI0_1: .long 1 ## 0x1 .long 0 ## 0x0 .long 0 ## 0x0 .long 0 ## 0x0 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _find_next: ## @find_next .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq _assert movq %r15, %rdi callq _assert movups (%r15), %xmm0 movups 16(%r15), %xmm1 movups 32(%r15), %xmm2 movq %r15, -120(%rbp) ## 8-byte Spill movups 48(%r15), %xmm3 movaps %xmm3, -64(%rbp) movaps %xmm2, -80(%rbp) movaps %xmm1, -96(%rbp) movaps %xmm0, -112(%rbp) movq %r14, -128(%rbp) ## 8-byte Spill movl (%r14), %r15d leaq -108(%rbp), %r13 leaq -100(%rbp), %r14 leaq -112(%rbp), %r12 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl 24(%rbx), %esi movq %r12, %rdi callq _mktime_or_timegm movl 56(%rbx), %eax movl %eax, -52(%rbp) addl $1900, -112(%rbp) ## imm = 0x76C movl 52(%rbx), %esi movq %rbx, %rdi movq %r12, %rdx movq %r12, %rcx callq _find_matching_component addl $-1900, -112(%rbp) ## imm = 0xF894 testl %eax, %eax jle LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $0, -92(%rbp) movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,0,0] movups %xmm0, -108(%rbp) xorl %r15d, %r15d jmp LBB0_4 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 js LBB0_38 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl 24(%rbx), %esi movq %r12, %rdi callq _tm_within_bounds testl %eax, %eax jle LBB0_5 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 incl -108(%rbp) movl 48(%rbx), %esi movq %rbx, %rdi movq %r12, %rdx movq %r13, %rcx callq _find_matching_component decl -108(%rbp) testl %eax, %eax jle LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movaps LCPI0_1(%rip), %xmm0 ## xmm0 = [1,0,0,0] movups %xmm0, -104(%rbp) xorl %r15d, %r15d jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 js LBB0_10 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movl 24(%rbx), %esi movq %r12, %rdi callq _tm_within_bounds testl %eax, %eax js LBB0_10 ## %bb.13: ## in Loop: Header=BB0_1 Depth=1 je LBB0_1 ## %bb.14: ## in Loop: Header=BB0_1 Depth=1 movl 44(%rbx), %esi movq %rbx, %rdi movq %r12, %rdx leaq -104(%rbp), %rcx callq _find_matching_component testl %eax, %eax jle LBB0_16 ## %bb.15: ## in Loop: Header=BB0_1 Depth=1 movl $0, -92(%rbp) movq $0, -100(%rbp) xorl %r15d, %r15d jmp LBB0_17 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 incl -112(%rbp) movabsq $4294967296, %rax ## imm = 0x100000000 movq %rax, -108(%rbp) jmp LBB0_11 LBB0_16: ## in Loop: Header=BB0_1 Depth=1 js LBB0_18 LBB0_17: ## in Loop: Header=BB0_1 Depth=1 movl 24(%rbx), %esi movq %r12, %rdi callq _tm_within_bounds testl %eax, %eax js LBB0_18 ## %bb.19: ## in Loop: Header=BB0_1 Depth=1 je LBB0_1 ## %bb.20: ## in Loop: Header=BB0_1 Depth=1 movl 24(%rbx), %edx movl 40(%rbx), %edi movq %r12, %rsi callq _matches_weekday testl %eax, %eax je LBB0_21 ## %bb.22: ## in Loop: Header=BB0_1 Depth=1 movl 36(%rbx), %esi movq %rbx, %rdi movq %r12, %rdx movq %r14, %rcx callq _find_matching_component testl %eax, %eax jle LBB0_24 ## %bb.23: ## in Loop: Header=BB0_1 Depth=1 movq $0, -96(%rbp) xorl %r15d, %r15d jmp LBB0_25 LBB0_18: ## in Loop: Header=BB0_1 Depth=1 incl -108(%rbp) movl $1, -104(%rbp) jmp LBB0_11 LBB0_24: ## in Loop: Header=BB0_1 Depth=1 js LBB0_21 LBB0_25: ## in Loop: Header=BB0_1 Depth=1 movl 24(%rbx), %esi movq %r12, %rdi callq _tm_within_bounds testl %eax, %eax js LBB0_21 ## %bb.26: ## in Loop: Header=BB0_1 Depth=1 je LBB0_1 ## %bb.27: ## in Loop: Header=BB0_1 Depth=1 movl 32(%rbx), %esi movq %rbx, %rdi movq %r12, %rdx leaq -96(%rbp), %rcx callq _find_matching_component testl %eax, %eax jle LBB0_29 ## %bb.28: ## in Loop: Header=BB0_1 Depth=1 movl $0, -92(%rbp) xorl %r15d, %r15d jmp LBB0_30 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 incl -104(%rbp) .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movq $0, -96(%rbp) movq %r14, %rax LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movl $0, (%rax) xorl %r15d, %r15d jmp LBB0_1 LBB0_29: ## in Loop: Header=BB0_1 Depth=1 js LBB0_31 LBB0_30: ## in Loop: Header=BB0_1 Depth=1 movl 24(%rbx), %esi movq %r12, %rdi callq _tm_within_bounds testl %eax, %eax js LBB0_31 ## %bb.32: ## in Loop: Header=BB0_1 Depth=1 je LBB0_1 ## %bb.33: ## in Loop: Header=BB0_1 Depth=1 movq _USEC_PER_SEC@GOTPCREL(%rip), %rax movl (%rax), %eax imull -92(%rbp), %eax addl %r15d, %eax movl %eax, -92(%rbp) movl 28(%rbx), %esi movq %rbx, %rdi movq %r12, %rdx leaq -92(%rbp), %rcx callq _find_matching_component movl %eax, %ecx movl -92(%rbp), %eax cltd movq _USEC_PER_SEC@GOTPCREL(%rip), %rsi idivl (%rsi) movl %eax, -92(%rbp) testl %ecx, %ecx js LBB0_35 ## %bb.34: ## in Loop: Header=BB0_1 Depth=1 movl %edx, %r15d movl 24(%rbx), %esi movq %r12, %rdi callq _tm_within_bounds testl %eax, %eax js LBB0_35 ## %bb.36: ## in Loop: Header=BB0_1 Depth=1 je LBB0_1 jmp LBB0_37 LBB0_31: ## in Loop: Header=BB0_1 Depth=1 incl -100(%rbp) movl $0, -92(%rbp) leaq -96(%rbp), %rax jmp LBB0_12 LBB0_35: ## in Loop: Header=BB0_1 Depth=1 incl -96(%rbp) leaq -92(%rbp), %rax jmp LBB0_12 LBB0_5: movq _ENOENT@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_38: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_37: movaps -112(%rbp), %xmm0 movaps -96(%rbp), %xmm1 movaps -80(%rbp), %xmm2 movaps -64(%rbp), %xmm3 movq -120(%rbp), %rax ## 8-byte Reload movups %xmm3, 48(%rax) movups %xmm2, 32(%rax) movups %xmm1, 16(%rax) movups %xmm0, (%rax) movq -128(%rbp), %rax ## 8-byte Reload movl %r15d, (%rax) xorl %eax, %eax jmp LBB0_38 .cfi_endproc ## -- End function .comm _ENOENT,4,2 ## @ENOENT .comm _USEC_PER_SEC,4,2 ## @USEC_PER_SEC .no_dead_strip _find_next .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 find_next lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .long 0 ; 0x0 .long 0 ; 0x0 lCPI0_1: .long 1 ; 0x1 .long 0 ; 0x0 .long 0 ; 0x0 .long 0 ; 0x0 .section __TEXT,__literal8,8byte_literals .p2align 3 lCPI0_2: .long 0 ; 0x0 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .p2align 2 _find_next: ; @find_next .cfi_startproc ; %bb.0: sub sp, sp, #224 .cfi_def_cfa_offset 224 stp d9, d8, [sp, #112] ; 16-byte Folded Spill stp x28, x27, [sp, #128] ; 16-byte Folded Spill stp x26, x25, [sp, #144] ; 16-byte Folded Spill stp x24, x23, [sp, #160] ; 16-byte Folded Spill stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 mov x19, x2 mov x20, x1 mov x21, x0 bl _assert mov x0, x20 bl _assert ldp q0, q1, [x20] stp q0, q1, [sp, #48] ldp q0, q1, [x20, #32] stp q0, q1, [sp, #80] add x8, sp, #48 add x22, x8, #16 ldr w27, [x19] orr x23, x8, #0x4 orr x24, x8, #0x8 add x25, x8, #20 orr x26, x8, #0xc Lloh0: adrp x8, lCPI0_0@PAGE Lloh1: ldr q0, [x8, lCPI0_0@PAGEOFF] str q0, [sp, #32] ; 16-byte Folded Spill Lloh2: adrp x8, lCPI0_1@PAGE Lloh3: ldr q0, [x8, lCPI0_1@PAGEOFF] str q0, [sp, #16] ; 16-byte Folded Spill Lloh4: adrp x28, _USEC_PER_SEC@GOTPAGE Lloh5: ldr x28, [x28, _USEC_PER_SEC@GOTPAGEOFF] Lloh6: adrp x8, lCPI0_2@PAGE Lloh7: ldr d8, [x8, lCPI0_2@PAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _mktime_or_timegm ldr w8, [sp, #48] add w8, w8, #1900 ldp w1, w9, [x21, #52] str w9, [sp, #108] str w8, [sp, #48] add x2, sp, #48 add x3, sp, #48 mov x0, x21 bl _find_matching_component ldr w8, [sp, #48] sub w8, w8, #1900 str w8, [sp, #48] cmp w0, #1 b.lt LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 str wzr, [sp, #68] ldr q0, [sp, #32] ; 16-byte Folded Reload stur q0, [sp, #52] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 tbnz w0, #31, LBB0_38 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _tm_within_bounds cmp w0, #0 b.le LBB0_37 ; %bb.5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #52] add w8, w8, #1 str w8, [sp, #52] ldr w1, [x21, #48] add x2, sp, #48 mov x0, x21 mov x3, x23 bl _find_matching_component ldr w8, [sp, #52] sub w8, w8, #1 str w8, [sp, #52] cmp w0, #1 b.lt LBB0_7 ; %bb.6: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 ldr q0, [sp, #16] ; 16-byte Folded Reload stur q0, [sp, #56] b LBB0_8 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 tbnz w0, #31, LBB0_12 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _tm_within_bounds tbnz w0, #31, LBB0_12 ; %bb.9: ; in Loop: Header=BB0_1 Depth=1 cbz w0, LBB0_1 ; %bb.10: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #44] add x2, sp, #48 mov x0, x21 mov x3, x24 bl _find_matching_component cmp w0, #1 b.lt LBB0_13 ; %bb.11: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 str xzr, [sp, #64] str wzr, [sp, #60] b LBB0_14 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #48] add w8, w8, #1 str w8, [sp, #48] stur d8, [sp, #52] b LBB0_20 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 tbnz w0, #31, LBB0_19 LBB0_14: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _tm_within_bounds tbnz w0, #31, LBB0_19 ; %bb.15: ; in Loop: Header=BB0_1 Depth=1 cbz w0, LBB0_1 ; %bb.16: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [x21, #40] ldr w2, [x21, #24] add x1, sp, #48 bl _matches_weekday cbz w0, LBB0_28 ; %bb.17: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #36] add x2, sp, #48 mov x0, x21 mov x3, x26 bl _find_matching_component cmp w0, #1 b.lt LBB0_23 ; %bb.18: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 str xzr, [sp, #64] b LBB0_24 LBB0_19: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #52] add w9, w8, #1 mov w8, #1 stp w9, w8, [sp, #52] LBB0_20: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #68] LBB0_21: ; in Loop: Header=BB0_1 Depth=1 str wzr, [sp, #64] mov x8, x26 LBB0_22: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 str wzr, [x8] b LBB0_1 LBB0_23: ; in Loop: Header=BB0_1 Depth=1 tbnz w0, #31, LBB0_28 LBB0_24: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _tm_within_bounds tbnz w0, #31, LBB0_28 ; %bb.25: ; in Loop: Header=BB0_1 Depth=1 cbz w0, LBB0_1 ; %bb.26: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #32] add x2, sp, #48 mov x0, x21 mov x3, x22 bl _find_matching_component cmp w0, #1 b.lt LBB0_29 ; %bb.27: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 str wzr, [sp, #68] b LBB0_30 LBB0_28: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #56] add w8, w8, #1 str wzr, [sp, #68] str w8, [sp, #56] b LBB0_21 LBB0_29: ; in Loop: Header=BB0_1 Depth=1 tbnz w0, #31, LBB0_35 LBB0_30: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _tm_within_bounds tbnz w0, #31, LBB0_35 ; %bb.31: ; in Loop: Header=BB0_1 Depth=1 cbz w0, LBB0_1 ; %bb.32: ; in Loop: Header=BB0_1 Depth=1 stp x25, x19, [sp] ; 16-byte Folded Spill mov x19, x22 ldr w8, [sp, #68] ldr w9, [x28] madd w8, w9, w8, w27 str w8, [sp, #68] ldr w1, [x21, #28] add x2, sp, #48 mov x0, x21 mov x22, x28 mov x3, x25 bl _find_matching_component ldr w27, [sp, #68] ldr w25, [x28] sdiv w22, w27, w25 str w22, [sp, #68] tbnz w0, #31, LBB0_36 ; %bb.33: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x21, #24] add x0, sp, #48 bl _tm_within_bounds tbnz w0, #31, LBB0_36 ; %bb.34: ; in Loop: Header=BB0_1 Depth=1 msub w27, w22, w25, w27 mov x22, x19 ldp x25, x19, [sp] ; 16-byte Folded Reload cbz w0, LBB0_1 b LBB0_39 LBB0_35: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #60] add w8, w8, #1 str w8, [sp, #60] str wzr, [sp, #68] mov x8, x22 b LBB0_22 LBB0_36: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #64] add w8, w8, #1 str w8, [sp, #64] ldr x25, [sp] ; 8-byte Folded Reload mov x8, x25 mov x22, x19 ldr x19, [sp, #8] ; 8-byte Folded Reload b LBB0_22 LBB0_37: Lloh8: adrp x8, _ENOENT@GOTPAGE Lloh9: ldr x8, [x8, _ENOENT@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w0, w8 LBB0_38: ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload ldp x24, x23, [sp, #160] ; 16-byte Folded Reload ldp x26, x25, [sp, #144] ; 16-byte Folded Reload ldp x28, x27, [sp, #128] ; 16-byte Folded Reload ldp d9, d8, [sp, #112] ; 16-byte Folded Reload add sp, sp, #224 ret LBB0_39: mov w0, #0 ldp q0, q1, [sp, #48] stp q0, q1, [x20] ldp q0, q1, [sp, #80] stp q0, q1, [x20, #32] str w27, [x19] b LBB0_38 .loh AdrpLdr Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdrp Lloh2, Lloh6 .loh AdrpLdr Lloh2, Lloh3 .loh AdrpAdrp Lloh0, Lloh2 .loh AdrpLdr Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _ENOENT,4,2 ; @ENOENT .comm _USEC_PER_SEC,4,2 ; @USEC_PER_SEC .no_dead_strip _find_next .subsections_via_symbols
AnghaBench/systemd/src/shared/extr_calendarspec.c_find_next.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___percpu_list_pop ## -- Begin function __percpu_list_pop .p2align 4, 0x90 ___percpu_list_pop: ## @__percpu_list_pop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rcx movslq %esi, %rdx movq (%rcx,%rdx,8), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq (%rax), %rsi movq %rsi, (%rcx,%rdx,8) LBB0_2: 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 ___percpu_list_pop ; -- Begin function __percpu_list_pop .p2align 2 ___percpu_list_pop: ; @__percpu_list_pop .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 ldr x8, [x0] ldr x0, [x8, w1, sxtw #3] cbz x0, LBB0_2 ; %bb.1: sxtw x9, w1 ldr x10, [x0] str x10, [x8, x9, lsl #3] LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/tools/testing/selftests/rseq/extr_param_test.c___percpu_list_pop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kill ## -- Begin function _kill .p2align 4, 0x90 _kill: ## @"\01_kill" .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 movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "WARNING: kill() is a stub" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kill ; -- Begin function _kill .p2align 2 _kill: ; @"\01_kill" .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 mov w0, #-1 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 "WARNING: kill() is a stub" .subsections_via_symbols
the_stack_data/59511939.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kvm_unload_vcpu_mmu _kvm_unload_vcpu_mmu: ## @kvm_unload_vcpu_mmu .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _vcpu_load movq %rbx, %rdi callq _kvm_mmu_unload movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _vcpu_put ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _kvm_unload_vcpu_mmu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kvm_unload_vcpu_mmu _kvm_unload_vcpu_mmu: ; @kvm_unload_vcpu_mmu .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 _vcpu_load mov x0, x19 bl _kvm_mmu_unload mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _vcpu_put .cfi_endproc ; -- End function .no_dead_strip _kvm_unload_vcpu_mmu .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_x86.c_kvm_unload_vcpu_mmu.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function msi_create_directory _msi_create_directory: ## @msi_create_directory .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _msi_get_target_folder testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r15 movq %rbx, %rdi movq %r14, %rsi callq _msi_get_loaded_folder movq %rax, %r14 movq (%rax), %rax movq _FOLDER_STATE_UNINITIALIZED@GOTPCREL(%rip), %rcx movq _ERROR_SUCCESS@GOTPCREL(%rip), %rbx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movq %r15, %rdi callq _msi_create_full_path movq _FOLDER_STATE_CREATED@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%r14) jmp LBB0_4 LBB0_1: movq _ERROR_FUNCTION_FAILED@GOTPCREL(%rip), %rbx LBB0_4: movl (%rbx), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ERROR_FUNCTION_FAILED,4,2 ## @ERROR_FUNCTION_FAILED .comm _FOLDER_STATE_UNINITIALIZED,8,3 ## @FOLDER_STATE_UNINITIALIZED .comm _FOLDER_STATE_CREATED,8,3 ## @FOLDER_STATE_CREATED .comm _ERROR_SUCCESS,4,2 ## @ERROR_SUCCESS .no_dead_strip _msi_create_directory .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function msi_create_directory _msi_create_directory: ; @msi_create_directory .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 bl _msi_get_target_folder cbz x0, LBB0_4 ; %bb.1: mov x19, x0 mov x0, x21 mov x1, x20 bl _msi_get_loaded_folder ldr x8, [x0] Lloh0: adrp x9, _FOLDER_STATE_UNINITIALIZED@GOTPAGE Lloh1: ldr x9, [x9, _FOLDER_STATE_UNINITIALIZED@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_3 ; %bb.2: mov x20, x0 mov x0, x19 bl _msi_create_full_path Lloh3: adrp x8, _FOLDER_STATE_CREATED@GOTPAGE Lloh4: ldr x8, [x8, _FOLDER_STATE_CREATED@GOTPAGEOFF] Lloh5: ldr x8, [x8] str x8, [x20] LBB0_3: Lloh6: adrp x8, _ERROR_SUCCESS@GOTPAGE Lloh7: ldr x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh8: adrp x8, _ERROR_FUNCTION_FAILED@GOTPAGE Lloh9: ldr x8, [x8, _ERROR_FUNCTION_FAILED@GOTPAGEOFF] LBB0_5: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _ERROR_FUNCTION_FAILED,4,2 ; @ERROR_FUNCTION_FAILED .comm _FOLDER_STATE_UNINITIALIZED,8,3 ; @FOLDER_STATE_UNINITIALIZED .comm _FOLDER_STATE_CREATED,8,3 ; @FOLDER_STATE_CREATED .comm _ERROR_SUCCESS,4,2 ; @ERROR_SUCCESS .no_dead_strip _msi_create_directory .subsections_via_symbols
AnghaBench/reactos/dll/win32/msi/extr_files.c_msi_create_directory.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AnFormatBtype ## -- Begin function AnFormatBtype .p2align 4, 0x90 _AnFormatBtype: ## @AnFormatBtype .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %r13 movb $0, (%rdi) testl %esi, %esi je LBB0_1 ## %bb.2: movl %esi, %ebx movq _ACPI_TYPE_EXTERNAL_MAX@GOTPCREL(%rip), %r12 movl (%r12), %eax testl %eax, %eax jle LBB0_9 ## %bb.3: xorl %r15d, %r15d jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r13 movl %r15d, %edi callq _AcpiUtGetTypeName movq %r14, %rdi movq %rax, %rsi callq _strcat movl (%r12), %eax LBB0_8: ## in Loop: Header=BB0_4 Depth=1 sarl %ebx cmpl %eax, %r15d jge LBB0_9 LBB0_4: ## =>This Inner Loop Header: Depth=1 incl %r15d testb $1, %bl je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 testq %r13, %r13 jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq %r14, %rdi leaq L_.str.1(%rip), %rsi callq _strcat jmp LBB0_7 LBB0_9: testb $1, %bl je LBB0_13 ## %bb.10: testq %r13, %r13 jne LBB0_12 ## %bb.11: leaq L_.str.1(%rip), %rsi movq %r14, %rdi callq _strcat LBB0_12: movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r13 leaq L_.str.2(%rip), %rsi movq %r14, %rdi callq _strcat LBB0_13: testb $2, %bl jne LBB0_14 ## %bb.17: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq L_.str(%rip), %rbx jmp LBB0_16 LBB0_14: leaq L_.str.3(%rip), %rbx testq %r13, %r13 jne LBB0_16 ## %bb.15: leaq L_.str.1(%rip), %rsi movq %r14, %rdi callq _strcat LBB0_16: movq %r14, %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strcat ## TAILCALL .cfi_endproc ## -- End function .comm _TRUE,8,3 ## @TRUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "NoReturnValue" .comm _ACPI_TYPE_EXTERNAL_MAX,4,2 ## @ACPI_TYPE_EXTERNAL_MAX L_.str.1: ## @.str.1 .asciz "|" .comm _FALSE,8,3 ## @FALSE L_.str.2: ## @.str.2 .asciz "Reference" L_.str.3: ## @.str.3 .asciz "Resource" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _AnFormatBtype ; -- Begin function AnFormatBtype .p2align 2 _AnFormatBtype: ; @AnFormatBtype .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, x0 Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr x23, [x8] strb wzr, [x0] cbz w1, LBB0_14 ; %bb.1: mov x20, x1 Lloh3: adrp x25, _ACPI_TYPE_EXTERNAL_MAX@GOTPAGE Lloh4: ldr x25, [x25, _ACPI_TYPE_EXTERNAL_MAX@GOTPAGEOFF] ldr w8, [x25] Lloh5: adrp x24, _FALSE@GOTPAGE Lloh6: ldr x24, [x24, _FALSE@GOTPAGEOFF] cmp w8, #1 b.lt LBB0_8 ; %bb.2: mov w21, #0 Lloh7: adrp x22, l_.str.1@PAGE Lloh8: add x22, x22, l_.str.1@PAGEOFF b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 ldr x23, [x24] mov x0, x21 bl _AcpiUtGetTypeName mov x1, x0 mov x0, x19 bl _strcat ldr w8, [x25] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 asr w20, w20, #1 cmp w21, w8 b.ge LBB0_8 LBB0_5: ; =>This Inner Loop Header: Depth=1 add w21, w21, #1 tbz w20, #0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cbnz x23, LBB0_3 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 mov x1, x22 bl _strcat b LBB0_3 LBB0_8: tbz w20, #0, LBB0_12 ; %bb.9: cbnz x23, LBB0_11 ; %bb.10: Lloh9: adrp x1, l_.str.1@PAGE Lloh10: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _strcat LBB0_11: ldr x23, [x24] Lloh11: adrp x1, l_.str.2@PAGE Lloh12: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _strcat LBB0_12: tbnz w20, #1, LBB0_15 ; %bb.13: 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_14: Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF b LBB0_18 LBB0_15: cbnz x23, LBB0_17 ; %bb.16: Lloh15: adrp x1, l_.str.1@PAGE Lloh16: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _strcat LBB0_17: Lloh17: adrp x1, l_.str.3@PAGE Lloh18: add x1, x1, l_.str.3@PAGEOFF LBB0_18: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _strcat .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _TRUE,8,3 ; @TRUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "NoReturnValue" .comm _ACPI_TYPE_EXTERNAL_MAX,4,2 ; @ACPI_TYPE_EXTERNAL_MAX l_.str.1: ; @.str.1 .asciz "|" .comm _FALSE,8,3 ; @FALSE l_.str.2: ; @.str.2 .asciz "Reference" l_.str.3: ; @.str.3 .asciz "Resource" .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/dev/acpica/compiler/extr_aslbtypes.c_AnFormatBtype.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _removeDuplicates ## -- Begin function removeDuplicates .p2align 4, 0x90 _removeDuplicates: ## @removeDuplicates .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb (%rdi), %r10b testb %r10b, %r10b je LBB0_10 ## %bb.1: leaq 1(%rdi), %r9 xorl %r8d, %r8d jmp LBB0_2 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movb (%rdi,%r8), %r10b testb %r10b, %r10b je LBB0_10 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_6 Depth 3 movb 1(%rdi,%r8), %dl testb %dl, %dl je LBB0_10 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 incq %r8 movl %r8d, %esi jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=2 incl %esi movslq %esi, %rdx LBB0_8: ## in Loop: Header=BB0_4 Depth=2 movb (%rdi,%rdx), %dl testb %dl, %dl je LBB0_9 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_6 Depth 3 cmpb %r10b, %dl jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movslq %esi, %rdx leaq (%r9,%rdx), %rcx .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 movzbl (%rcx), %eax movb %al, -1(%rcx) incq %rcx testb %al, %al jne LBB0_6 jmp LBB0_8 LBB0_10: popq %rbp retq .cfi_endproc ## -- End function .globl _removeAll ## -- Begin function removeAll .p2align 4, 0x90 _removeAll: ## @removeAll .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edx, %rax movb (%rdi,%rax), %cl testb %cl, %cl je LBB1_8 ## %bb.1: leaq 1(%rdi), %r8 jmp LBB1_2 .p2align 4, 0x90 LBB1_6: ## in Loop: Header=BB1_2 Depth=1 incl %edx movslq %edx, %r9 LBB1_7: ## in Loop: Header=BB1_2 Depth=1 movb (%rdi,%r9), %cl testb %cl, %cl je LBB1_8 LBB1_2: ## =>This Loop Header: Depth=1 ## Child Loop BB1_5 Depth 2 cmpb %sil, %cl jne LBB1_6 ## %bb.3: ## in Loop: Header=BB1_2 Depth=1 movslq %edx, %r9 testb %sil, %sil je LBB1_7 ## %bb.4: ## in Loop: Header=BB1_2 Depth=1 leaq (%r8,%r9), %rax .p2align 4, 0x90 LBB1_5: ## Parent Loop BB1_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rax), %ecx movb %cl, -1(%rax) incq %rax testb %cl, %cl jne LBB1_5 jmp LBB1_7 LBB1_8: popq %rbp retq .cfi_endproc ## -- End function .globl _removeSpaces ## -- Begin function removeSpaces .p2align 4, 0x90 _removeSpaces: ## @removeSpaces .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 .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %ecx incq %rax cmpb $32, %cl je LBB2_1 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movb %cl, (%rdi) incq %rdi testb %cl, %cl jne LBB2_1 ## %bb.3: 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 %rbx pushq %rax movl $10008, %eax ## imm = 0x2718 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) leaq -10016(%rbp), %rbx movq %rbx, %rdi callq _gets movb -10016(%rbp), %al testb %al, %al je LBB3_10 ## %bb.1: leaq -10015(%rbp), %r9 xorl %r8d, %r8d jmp LBB3_2 .p2align 4, 0x90 LBB3_9: ## in Loop: Header=BB3_2 Depth=1 movb -10016(%rbp,%r8), %al testb %al, %al je LBB3_10 LBB3_2: ## =>This Loop Header: Depth=1 ## Child Loop BB3_4 Depth 2 ## Child Loop BB3_6 Depth 3 movb -10015(%rbp,%r8), %dl testb %dl, %dl je LBB3_10 ## %bb.3: ## in Loop: Header=BB3_2 Depth=1 incq %r8 movl %r8d, %esi jmp LBB3_4 .p2align 4, 0x90 LBB3_7: ## in Loop: Header=BB3_4 Depth=2 incl %esi movslq %esi, %rdi LBB3_8: ## in Loop: Header=BB3_4 Depth=2 movb -10016(%rbp,%rdi), %dl testb %dl, %dl je LBB3_9 LBB3_4: ## Parent Loop BB3_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB3_6 Depth 3 cmpb %al, %dl jne LBB3_7 ## %bb.5: ## in Loop: Header=BB3_4 Depth=2 movslq %esi, %rdi leaq (%r9,%rdi), %rdx .p2align 4, 0x90 LBB3_6: ## Parent Loop BB3_2 Depth=1 ## Parent Loop BB3_4 Depth=2 ## => This Inner Loop Header: Depth=3 movzbl (%rdx), %ecx movb %cl, -1(%rdx) incq %rdx testb %cl, %cl jne LBB3_6 jmp LBB3_8 LBB3_10: movq %rbx, %rax .p2align 4, 0x90 LBB3_11: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %ecx incq %rax cmpb $32, %cl je LBB3_11 ## %bb.12: ## in Loop: Header=BB3_11 Depth=1 movb %cl, (%rbx) incq %rbx testb %cl, %cl jne LBB3_11 ## %bb.13: leaq -10016(%rbp), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB3_15 ## %bb.14: xorl %eax, %eax addq $10008, %rsp ## imm = 0x2718 popq %rbx popq %rbp retq LBB3_15: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _removeDuplicates ; -- Begin function removeDuplicates .p2align 2 _removeDuplicates: ; @removeDuplicates .cfi_startproc ; %bb.0: ldrb w8, [x0] cbz w8, LBB0_10 ; %bb.1: mov x9, #0 add x10, x0, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x0, x9] cbz w8, LBB0_10 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_9 Depth 3 add x9, x9, #1 ldrb w12, [x0, x9] cbz w12, LBB0_10 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x11, x9 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=2 add w11, w11, #1 sxtw x12, w11 ; kill: def $w11 killed $w11 killed $x11 def $x11 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 ldrb w12, [x0, x12] cbz w12, LBB0_2 LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_9 Depth 3 cmp w12, w8 b.ne LBB0_5 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 sxtw x12, w11 add x13, x10, x12 LBB0_9: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w14, [x13] sturb w14, [x13, #-1] add x13, x13, #1 cbnz w14, LBB0_9 b LBB0_6 LBB0_10: ret .cfi_endproc ; -- End function .globl _removeAll ; -- Begin function removeAll .p2align 2 _removeAll: ; @removeAll .cfi_startproc ; %bb.0: ; kill: def $w2 killed $w2 def $x2 ldrb w10, [x0, w2, sxtw] cbz w10, LBB1_8 ; %bb.1: and w8, w1, #0xff add x9, x0, #1 b LBB1_4 LBB1_2: ; in Loop: Header=BB1_4 Depth=1 add w2, w2, #1 sxtw x10, w2 ; kill: def $w2 killed $w2 killed $x2 def $x2 LBB1_3: ; in Loop: Header=BB1_4 Depth=1 ldrb w10, [x0, x10] cbz w10, LBB1_8 LBB1_4: ; =>This Loop Header: Depth=1 ; Child Loop BB1_7 Depth 2 cmp w10, w8 b.ne LBB1_2 ; %bb.5: ; in Loop: Header=BB1_4 Depth=1 sxtw x10, w2 cbz w8, LBB1_3 ; %bb.6: ; in Loop: Header=BB1_4 Depth=1 add x11, x9, x10 LBB1_7: ; Parent Loop BB1_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w12, [x11] sturb w12, [x11, #-1] add x11, x11, #1 cbnz w12, LBB1_7 b LBB1_3 LBB1_8: ret .cfi_endproc ; -- End function .globl _removeSpaces ; -- Begin function removeSpaces .p2align 2 _removeSpaces: ; @removeSpaces .cfi_startproc ; %bb.0: mov x8, x0 LBB2_1: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x8], #1 cmp w9, #32 b.eq LBB2_1 ; %bb.2: ; in Loop: Header=BB2_1 Depth=1 strb w9, [x0], #1 cbnz w9, LBB2_1 ; %bb.3: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .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 w9, #10016 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #2, lsl #12 ; =8192 sub sp, sp, #1824 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-24] add x19, sp, #8 add x0, sp, #8 bl _gets ldrb w8, [sp, #8] cbz w8, LBB3_10 ; %bb.1: mov x9, #0 add x10, x19, #1 b LBB3_3 LBB3_2: ; in Loop: Header=BB3_3 Depth=1 ldrb w8, [x19, x9] cbz w8, LBB3_10 LBB3_3: ; =>This Loop Header: Depth=1 ; Child Loop BB3_7 Depth 2 ; Child Loop BB3_9 Depth 3 add x9, x9, #1 ldrb w12, [x19, x9] cbz w12, LBB3_10 ; %bb.4: ; in Loop: Header=BB3_3 Depth=1 mov x11, x9 b LBB3_7 LBB3_5: ; in Loop: Header=BB3_7 Depth=2 add w11, w11, #1 sxtw x12, w11 ; kill: def $w11 killed $w11 killed $x11 def $x11 LBB3_6: ; in Loop: Header=BB3_7 Depth=2 ldrb w12, [x19, x12] cbz w12, LBB3_2 LBB3_7: ; Parent Loop BB3_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB3_9 Depth 3 cmp w12, w8 b.ne LBB3_5 ; %bb.8: ; in Loop: Header=BB3_7 Depth=2 sxtw x12, w11 add x13, x10, x12 LBB3_9: ; Parent Loop BB3_3 Depth=1 ; Parent Loop BB3_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w14, [x13] sturb w14, [x13, #-1] add x13, x13, #1 cbnz w14, LBB3_9 b LBB3_6 LBB3_10: add x8, sp, #8 add x9, sp, #8 LBB3_11: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9], #1 cmp w10, #32 b.eq LBB3_11 ; %bb.12: ; in Loop: Header=BB3_11 Depth=1 strb w10, [x8], #1 cbnz w10, LBB3_11 ; %bb.13: add x0, sp, #8 bl _puts ldur x8, [x29, #-24] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB3_15 ; %bb.14: mov w0, #0 add sp, sp, #2, lsl #12 ; =8192 add sp, sp, #1824 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB3_15: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/225144282.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rpcb_call_async _rpcb_call_async: ## @rpcb_call_async .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq _RPC_TASK_ASYNC@GOTPCREL(%rip), %rax movq _RPC_TASK_SOFTCONN@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq %rsi, -24(%rbp) movq %rsi, -16(%rbp) movq %rdx, -8(%rbp) movl %ecx, -64(%rbp) movq %rsi, -56(%rbp) movq _rpcb_getport_ops@GOTPCREL(%rip), %rax movq %rax, -48(%rbp) leaq -24(%rbp), %rax movq %rax, -40(%rbp) movq %rdi, -32(%rbp) leaq -64(%rbp), %rdi callq _rpc_run_task addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RPC_TASK_ASYNC,4,2 ## @RPC_TASK_ASYNC .comm _RPC_TASK_SOFTCONN,4,2 ## @RPC_TASK_SOFTCONN .comm _rpcb_getport_ops,4,2 ## @rpcb_getport_ops .no_dead_strip _rpcb_call_async .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rpcb_call_async _rpcb_call_async: ; @rpcb_call_async .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 stp x1, x1, [x29, #-24] stur x2, [x29, #-8] Lloh0: adrp x8, _RPC_TASK_ASYNC@GOTPAGE Lloh1: ldr x8, [x8, _RPC_TASK_ASYNC@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _RPC_TASK_SOFTCONN@GOTPAGE Lloh4: ldr x9, [x9, _RPC_TASK_SOFTCONN@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, _rpcb_getport_ops@GOTPAGE Lloh7: ldr x9, [x9, _rpcb_getport_ops@GOTPAGEOFF] str w8, [sp] stp x1, x9, [sp, #8] sub x8, x29, #24 stp x8, x0, [sp, #24] mov x0, sp bl _rpc_run_task ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RPC_TASK_ASYNC,4,2 ; @RPC_TASK_ASYNC .comm _RPC_TASK_SOFTCONN,4,2 ; @RPC_TASK_SOFTCONN .comm _rpcb_getport_ops,4,2 ; @rpcb_getport_ops .no_dead_strip _rpcb_call_async .subsections_via_symbols
AnghaBench/linux/net/sunrpc/extr_rpcb_clnt.c_rpcb_call_async.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mark_reg _mark_reg: ## @mark_reg .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 movl %edi, %r15d callq _REGNO movl %eax, %r12d movl %r15d, %edi callq _GET_MODE movq _BLKmode@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax setne %dil callq _gcc_assert movl %r14d, %edi movl %r12d, %esi callq _SET_REGNO_REG_SET movq _FIRST_PSEUDO_REGISTER@GOTPCREL(%rip), %rax cmpl (%rax), %r12d jge LBB0_4 ## %bb.1: movq _hard_regno_nregs@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %r12d, %rcx movq (%rax,%rcx,8), %rbx movl %r15d, %edi callq _GET_MODE movl (%rbx,%rax,4), %ebx cmpl $2, %ebx jl LBB0_4 ## %bb.2: incl %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 leal (%r12,%rbx), %esi addl $-2, %esi movl %r14d, %edi callq _SET_REGNO_REG_SET decl %ebx cmpl $2, %ebx ja LBB0_3 LBB0_4: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BLKmode,8,3 ## @BLKmode .comm _FIRST_PSEUDO_REGISTER,4,2 ## @FIRST_PSEUDO_REGISTER .comm _hard_regno_nregs,8,3 ## @hard_regno_nregs .no_dead_strip _mark_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mark_reg _mark_reg: ; @mark_reg .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 x21, x0 bl _REGNO mov x20, x0 mov x0, x21 bl _GET_MODE Lloh0: adrp x8, _BLKmode@GOTPAGE Lloh1: ldr x8, [x8, _BLKmode@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 cset w0, ne bl _gcc_assert mov x0, x19 mov x1, x20 bl _SET_REGNO_REG_SET Lloh3: adrp x8, _FIRST_PSEUDO_REGISTER@GOTPAGE Lloh4: ldr x8, [x8, _FIRST_PSEUDO_REGISTER@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w20, w8 b.ge LBB0_4 ; %bb.1: Lloh6: adrp x8, _hard_regno_nregs@GOTPAGE Lloh7: ldr x8, [x8, _hard_regno_nregs@GOTPAGEOFF] Lloh8: ldr x8, [x8] ldr x22, [x8, w20, sxtw #3] mov x0, x21 bl _GET_MODE ldr w8, [x22, x0, lsl #2] cmp w8, #2 b.lt LBB0_4 ; %bb.2: add w21, w8, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 add w8, w20, w21 sub w1, w8, #2 mov x0, x19 bl _SET_REGNO_REG_SET sub w21, w21, #1 cmp w21, #2 b.hi LBB0_3 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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _BLKmode,8,3 ; @BLKmode .comm _FIRST_PSEUDO_REGISTER,4,2 ; @FIRST_PSEUDO_REGISTER .comm _hard_regno_nregs,8,3 ; @hard_regno_nregs .no_dead_strip _mark_reg .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_flow.c_mark_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _computeInternalFrame ## -- Begin function computeInternalFrame .p2align 4, 0x90 _computeInternalFrame: ## @computeInternalFrame .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 $1080, %rsp ## imm = 0x438 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testq %rdi, %rdi setne %al testq %rsi, %rsi setne %cl andb %al, %cl testq %rdx, %rdx setne %al andb %cl, %al movzbl %al, %edi callq _assert xorl %edi, %edi cmpq $0, (%r13) setne %dil callq _assert movq 32(%r14), %rax movq %rax, 32(%rsp) movups (%r14), %xmm0 movups 16(%r14), %xmm1 movups %xmm1, 16(%rsp) movups %xmm0, (%rsp) callq _DIBWIDTHBYTES movl %eax, -1080(%rbp) ## 4-byte Spill movl (%r14), %edi shll $5, %edi callq _WIDTHBYTES movl %eax, -1076(%rbp) ## 4-byte Spill movq (%r13), %rbx xorl %edi, %edi cmpq $0, 8(%r14) setne %dil callq _assert cmpq $0, 8(%r14) je LBB0_3 ## %bb.1: movslq 16(%r14), %rax leaq (%r14,%rax,8), %r13 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r13,%r12,4), %edi callq _Intensity movl %eax, -1072(%rbp,%r12,4) incq %r12 cmpq 8(%r14), %r12 jb LBB0_2 LBB0_3: movq 24(%r14), %r8 testq %r8, %r8 jle LBB0_18 ## %bb.4: movl -1076(%rbp), %eax ## 4-byte Reload shrl %eax movl -1080(%rbp), %r9d ## 4-byte Reload movl %eax, %r10d shlq $2, %r10 shlq $3, %r9 leaq 24(%rbx), %r11 xorl %edi, %edi jmp LBB0_5 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_5 Depth=1 incq %rdi addq %r10, %rbx addq %r9, %r15 addq %r10, %r11 cmpq %r8, %rdi je LBB0_18 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 ## Child Loop BB0_13 Depth 2 ## Child Loop BB0_16 Depth 2 movl 32(%r14), %ecx cmpl $1, %ecx je LBB0_14 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 cmpl $4, %ecx je LBB0_11 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 cmpl $8, %ecx jne LBB0_17 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 cmpl $0, (%r14) jle LBB0_17 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 xorl %ecx, %ecx .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r15,%rcx,8), %rax movl -1072(%rbp,%rax,4), %eax movl %eax, (%rbx,%rcx,4) incq %rcx movslq (%r14), %rax cmpq %rax, %rcx jl LBB0_10 jmp LBB0_17 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 cmpl $2, (%r14) jl LBB0_17 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 xorl %ecx, %ecx .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r15,%rcx,8), %rax movq %rax, %rdx shrq $4, %rdx movl -1072(%rbp,%rdx,4), %edx movl %edx, (%rbx,%rcx,8) andl $15, %eax movl -1072(%rbp,%rax,4), %eax movl %eax, 4(%rbx,%rcx,8) incq %rcx movl (%r14), %eax movl %eax, %edx shrl $31, %edx addl %eax, %edx sarl %edx movslq %edx, %rax cmpq %rax, %rcx jl LBB0_13 jmp LBB0_17 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_5 Depth=1 cmpl $8, (%r14) jl LBB0_17 ## %bb.15: ## in Loop: Header=BB0_5 Depth=1 movq %r11, %rsi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r15,%rcx,8), %rax movq %rax, %rdx shrq $5, %rdx andl $4, %edx movl -1072(%rbp,%rdx), %edx movl %edx, -24(%rsi) movq %rax, %rdx shrq $4, %rdx andl $4, %edx movl -1072(%rbp,%rdx), %edx movl %edx, -20(%rsi) movq %rax, %rdx shrq $3, %rdx andl $4, %edx movl -1072(%rbp,%rdx), %edx movl %edx, -16(%rsi) movq %rax, %rdx shrq $2, %rdx andl $4, %edx movl -1072(%rbp,%rdx), %edx movl %edx, -12(%rsi) movq %rax, %rdx shrq %rdx andl $4, %edx movl -1072(%rbp,%rdx), %edx movl %edx, -8(%rsi) movl %eax, %edx andl $4, %edx movl -1072(%rbp,%rdx), %edx movl %edx, -4(%rsi) andl $2, %eax movl -1072(%rbp,%rax,2), %eax movl %eax, (%rsi) incq %rcx movl (%r14), %eax leal 7(%rax), %edx testl %eax, %eax cmovnsl %eax, %edx sarl $3, %edx movslq %edx, %rax addq $32, %rsi cmpq %rax, %rcx jl LBB0_16 jmp LBB0_17 LBB0_18: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_20 ## %bb.19: addq $1080, %rsp ## imm = 0x438 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _computeInternalFrame ; -- Begin function computeInternalFrame .p2align 2 _computeInternalFrame: ; @computeInternalFrame .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #1040 mov x19, x2 mov x20, x1 mov x23, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] cmp x0, #0 ccmp x1, #0, #4, ne ccmp x2, #0, #4, ne cset w0, ne bl _assert ldr x8, [x23] cmp x8, #0 cset w0, ne bl _assert ldp q0, q1, [x20] stp q0, q1, [sp] ldr x8, [x20, #32] str x8, [sp, #32] mov x24, sp mov x0, sp bl _DIBWIDTHBYTES mov x21, x0 ldr w8, [x20] lsl w0, w8, #5 bl _WIDTHBYTES mov x22, x0 ldr x23, [x23] ldr x8, [x20, #8] cmp x8, #0 cset w0, ne bl _assert ldr x8, [x20, #8] cbz x8, LBB0_3 ; %bb.1: mov x25, #0 ldrsw x8, [x20, #16] add x26, x20, x8, lsl #3 LBB0_2: ; =>This Inner Loop Header: Depth=1 lsl x27, x25, #2 ldr w0, [x26, x27] bl _Intensity str w0, [x24, x27] add x25, x25, #1 ldr x8, [x20, #8] cmp x25, x8 b.lo LBB0_2 LBB0_3: ldr x8, [x20, #24] cmp x8, #1 b.lt LBB0_18 ; %bb.4: mov x9, #0 mov w11, w21 lsr w10, w22, #1 lsl x10, x10, #2 lsl x11, x11, #3 add x12, x23, #4 add x13, x23, #12 mov x14, sp b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x9, x9, #1 add x23, x23, x10 add x19, x19, x11 add x12, x12, x10 add x13, x13, x10 cmp x9, x8 b.eq LBB0_18 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 ; Child Loop BB0_14 Depth 2 ; Child Loop BB0_17 Depth 2 ldr w15, [x20, #32] cmp w15, #1 b.eq LBB0_15 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cmp w15, #4 b.eq LBB0_12 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 cmp w15, #8 b.ne LBB0_5 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldr w15, [x20] cmp w15, #1 b.lt LBB0_5 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 mov x15, #0 LBB0_11: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x16, [x19, x15, lsl #3] ldr w16, [x14, x16, lsl #2] str w16, [x23, x15, lsl #2] add x15, x15, #1 ldrsw x16, [x20] cmp x15, x16 b.lt LBB0_11 b LBB0_5 LBB0_12: ; in Loop: Header=BB0_6 Depth=1 ldr w15, [x20] cmp w15, #2 b.lt LBB0_5 ; %bb.13: ; in Loop: Header=BB0_6 Depth=1 mov x15, #0 mov x16, x12 LBB0_14: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x17, [x19, x15, lsl #3] lsr x0, x17, #2 and x0, x0, #0x3ffffffffffffffc ldr w0, [x14, x0] stur w0, [x16, #-4] and x17, x17, #0xf ldr w17, [x14, x17, lsl #2] str w17, [x16], #8 add x15, x15, #1 ldr w17, [x20] cmp w17, #0 cinc w17, w17, lt asr w17, w17, #1 cmp x15, w17, sxtw b.lt LBB0_14 b LBB0_5 LBB0_15: ; in Loop: Header=BB0_6 Depth=1 ldr w15, [x20] cmp w15, #8 b.lt LBB0_5 ; %bb.16: ; in Loop: Header=BB0_6 Depth=1 mov x15, #0 mov x16, x13 LBB0_17: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x17, [x19, x15, lsl #3] ubfx x0, x17, #7, #1 ldr w0, [x14, x0, lsl #2] stur w0, [x16, #-12] ubfx x0, x17, #6, #1 ldr w0, [x14, x0, lsl #2] stur w0, [x16, #-8] ubfx x0, x17, #5, #1 ldr w0, [x14, x0, lsl #2] stur w0, [x16, #-4] ubfx x0, x17, #4, #1 ldr w0, [x14, x0, lsl #2] str w0, [x16] ubfx x0, x17, #3, #1 ldr w0, [x14, x0, lsl #2] str w0, [x16, #4] ubfx x0, x17, #2, #1 ldr w0, [x14, x0, lsl #2] str w0, [x16, #8] ubfx x17, x17, #1, #1 ldr w17, [x14, x17, lsl #2] str w17, [x16, #12] add x15, x15, #1 ldr w17, [x20] add w0, w17, #7 cmp w17, #0 csel w17, w0, w17, lt asr w17, w17, #3 add x16, x16, #32 cmp x15, w17, sxtw b.lt LBB0_17 b LBB0_5 LBB0_18: ldur x8, [x29, #-88] 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_20 ; %bb.19: add sp, sp, #1040 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/reactos/dll/win32/msrle32/extr_msrle32.c_computeInternalFrame.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.1(%rip), %r15 movq %r15, %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %r14 leaq -44(%rbp), %rbx movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %r12d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -44(%rbp), %r12d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -44(%rbp), %r12d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -44(%rbp), %r12d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -44(%rbp), %r12d movq %r15, %rdi xorl %eax, %eax callq _printf leaq -48(%rbp), %rbx movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %r13d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -48(%rbp), %r13d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -48(%rbp), %r13d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -48(%rbp), %r13d movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf addl -48(%rbp), %r13d movq %r15, %rdi xorl %eax, %eax callq _printf leaq -52(%rbp), %r15 movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf movl -52(%rbp), %ebx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf addl -52(%rbp), %ebx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf addl -52(%rbp), %ebx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf addl -52(%rbp), %ebx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf addl -52(%rbp), %ebx leaq L_.str(%rip), %r14 movq %r14, %rdi movl %r12d, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl %r13d, %esi xorl %eax, %eax callq _printf movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _version_1 ## -- Begin function version_1 .p2align 4, 0x90 _version_1: ## @version_1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %r15 leaq -28(%rbp), %r14 movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _version_2 ## -- Begin function version_2 .p2align 4, 0x90 _version_2: ## @version_2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %r15 leaq -28(%rbp), %r14 movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _version_3 ## -- Begin function version_3 .p2align 4, 0x90 _version_3: ## @version_3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %r15 leaq -28(%rbp), %r14 movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf movl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf addl -28(%rbp), %ebx 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 "%d\n" L_.str.1: ## @.str.1 .asciz "Choisir 5 entiers: " L_.str.2: ## @.str.2 .asciz "%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x20, l_.str.1@PAGE Lloh1: add x20, x20, l_.str.1@PAGEOFF mov x0, x20 bl _printf add x21, sp, #20 str x21, [sp] Lloh2: adrp x19, l_.str.2@PAGE Lloh3: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf ldr w22, [sp, #20] str x21, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #20] add w22, w8, w22 str x21, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #20] add w22, w22, w8 str x21, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #20] add w22, w22, w8 str x21, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #20] add w21, w22, w8 mov x0, x20 bl _printf add x22, sp, #24 str x22, [sp] mov x0, x19 bl _scanf ldr w23, [sp, #24] str x22, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #24] add w23, w8, w23 str x22, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #24] add w23, w23, w8 str x22, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #24] add w23, w23, w8 str x22, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #24] add w22, w23, w8 mov x0, x20 bl _printf add x20, sp, #28 str x20, [sp] mov x0, x19 bl _scanf ldr w23, [sp, #28] str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #28] add w23, w8, w23 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #28] add w23, w23, w8 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #28] add w23, w23, w8 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #28] add w20, w23, w8 str x21, [sp] Lloh4: adrp x19, l_.str@PAGE Lloh5: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf str x22, [sp] mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf 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 Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _version_1 ; -- Begin function version_1 .p2align 2 _version_1: ; @version_1 .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 Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _printf add x20, sp, #12 str x20, [sp] Lloh8: adrp x19, l_.str.2@PAGE Lloh9: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf ldr w21, [sp, #12] str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w0, w8, w21 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 Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _version_2 ; -- Begin function version_2 .p2align 2 _version_2: ; @version_2 .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 Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF bl _printf add x20, sp, #12 str x20, [sp] Lloh12: adrp x19, l_.str.2@PAGE Lloh13: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf ldr w21, [sp, #12] str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w0, w8, w21 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 Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _version_3 ; -- Begin function version_3 .p2align 2 _version_3: ; @version_3 .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 Lloh14: adrp x0, l_.str.1@PAGE Lloh15: add x0, x0, l_.str.1@PAGEOFF bl _printf add x20, sp, #12 str x20, [sp] Lloh16: adrp x19, l_.str.2@PAGE Lloh17: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf ldr w21, [sp, #12] str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w21, w8, w21 str x20, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #12] add w0, w8, w21 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 Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" l_.str.1: ; @.str.1 .asciz "Choisir 5 entiers: " l_.str.2: ; @.str.2 .asciz "%d" .subsections_via_symbols
the_stack_data/43888261.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ohci_platform_remove _ohci_platform_remove: ## @ohci_platform_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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, %r12 callq _platform_get_drvdata movq %rax, %r15 movq %r12, %rdi callq _dev_get_platdata movq %rax, %r14 movq %r15, %rdi callq _hcd_to_ohci_priv movq %rax, %rbx movq %r12, %rdi callq _pm_runtime_get_sync movq %r15, %rdi callq _usb_remove_hcd movq %r14, -48(%rbp) ## 8-byte Spill movq (%r14), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq %r12, %rdi callq *%rax LBB0_2: movl 8(%rbx), %edi callq _reset_control_assert movq _OHCI_MAX_CLKS@GOTPCREL(%rip), %r13 cmpl $0, (%r13) jle LBB0_6 ## %bb.3: xorl %r14d, %r14d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movq (%rax,%r14,8), %rdi testq %rdi, %rdi je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 callq _clk_put incq %r14 movslq (%r13), %rax cmpq %rax, %r14 jl LBB0_4 LBB0_6: movq %r15, %rdi callq _usb_put_hcd movq %r12, %rdi callq _pm_runtime_put_sync movq %r12, %rdi callq _pm_runtime_disable movq -48(%rbp), %rax ## 8-byte Reload cmpq _ohci_platform_defaults@GOTPCREL(%rip), %rax jne LBB0_8 ## %bb.7: movq $0, (%r12) LBB0_8: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OHCI_MAX_CLKS,4,2 ## @OHCI_MAX_CLKS .comm _ohci_platform_defaults,8,3 ## @ohci_platform_defaults .no_dead_strip _ohci_platform_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ohci_platform_remove _ohci_platform_remove: ; @ohci_platform_remove .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 bl _platform_get_drvdata mov x21, x0 mov x0, x19 bl _dev_get_platdata mov x20, x0 mov x0, x21 bl _hcd_to_ohci_priv mov x22, x0 mov x0, x19 bl _pm_runtime_get_sync mov x0, x21 bl _usb_remove_hcd ldr x8, [x20] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 blr x8 LBB0_2: ldr w0, [x22, #8] bl _reset_control_assert Lloh0: adrp x23, _OHCI_MAX_CLKS@GOTPAGE Lloh1: ldr x23, [x23, _OHCI_MAX_CLKS@GOTPAGEOFF] ldr w8, [x23] cmp w8, #1 b.lt LBB0_6 ; %bb.3: mov x24, #0 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] ldr x0, [x8, x24, lsl #3] cbz x0, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 bl _clk_put add x24, x24, #1 ldrsw x8, [x23] cmp x24, x8 b.lt LBB0_4 LBB0_6: mov x0, x21 bl _usb_put_hcd mov x0, x19 bl _pm_runtime_put_sync mov x0, x19 bl _pm_runtime_disable Lloh2: adrp x8, _ohci_platform_defaults@GOTPAGE Lloh3: ldr x8, [x8, _ohci_platform_defaults@GOTPAGEOFF] cmp x20, x8 b.ne LBB0_8 ; %bb.7: str xzr, [x19] LBB0_8: 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 Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _OHCI_MAX_CLKS,4,2 ; @OHCI_MAX_CLKS .comm _ohci_platform_defaults,8,3 ; @ohci_platform_defaults .no_dead_strip _ohci_platform_remove .subsections_via_symbols
AnghaBench/linux/drivers/usb/host/extr_ohci-platform.c_ohci_platform_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .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 %rbx subq $1080, %rsp ## imm = 0x438 .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) cmpl $1, %edi jg LBB0_3 ## %bb.1: leaq L_str.12(%rip), %rdi jmp LBB0_2 LBB0_3: movq 8(%rsi), %rdi movl $514, %esi ## imm = 0x202 movl $511, %edx ## imm = 0x1FF xorl %eax, %eax callq _open cmpl $-1, %eax je LBB0_4 ## %bb.5: movl %eax, %r14d movl $2, -1068(%rbp) xorps %xmm0, %xmm0 movaps %xmm0, -1088(%rbp) callq _getpid movl %eax, -1072(%rbp) leaq -1088(%rbp), %rdx movl %r14d, %edi movl $7, %esi xorl %eax, %eax callq _fcntl cmpw $2, -1068(%rbp) jne LBB0_13 ## %bb.6: leaq L_str.7(%rip), %rdi callq _puts movl $3, -1068(%rbp) xorps %xmm0, %xmm0 movaps %xmm0, -1088(%rbp) callq _getpid movl %eax, -1072(%rbp) leaq -1088(%rbp), %rdx movl %r14d, %edi movl $7, %esi xorl %eax, %eax callq _fcntl cmpl $-1, %eax je LBB0_7 ## %bb.9: leaq L_str.8(%rip), %rdi callq _puts xorl %ebx, %ebx xorl %edi, %edi callq _time movq %rax, -1096(%rbp) leaq -1096(%rbp), %rdi callq _localtime movl 4(%rax), %r9d movl 8(%rax), %r8d leaq L_.str.5(%rip), %rcx leaq -1056(%rbp), %r15 movl $1024, %edx ## imm = 0x400 movq %r15, %rdi xorl %esi, %esi xorl %eax, %eax callq ___sprintf_chk movq %r15, %rdi callq _strlen movl %r14d, %edi movq %r15, %rsi movq %rax, %rdx callq _write movl $30, %edi callq _sleep movl $3, -1068(%rbp) xorps %xmm0, %xmm0 movaps %xmm0, -1088(%rbp) callq _getpid movl %eax, -1072(%rbp) leaq -1088(%rbp), %rdx movl %r14d, %edi movl $7, %esi xorl %eax, %eax callq _fcntl cmpl $-1, %eax je LBB0_7 ## %bb.10: movl %r14d, %edi callq _close movl %r14d, %edi callq _close jmp LBB0_11 LBB0_4: leaq L_str.11(%rip), %rdi LBB0_2: callq _puts movl $-1, %ebx jmp LBB0_11 LBB0_13: leaq L_str(%rip), %rdi jmp LBB0_8 LBB0_7: leaq L_str.10(%rip), %rdi LBB0_8: callq _puts movl %r14d, %edi callq _close movl $1, %ebx LBB0_11: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_14 ## %bb.12: movl %ebx, %eax addq $1080, %rsp ## imm = 0x438 popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_14: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.5: ## @.str.5 .asciz "Hora: %d:%d\n" L_str: ## @str .asciz "STATUS: Cerrojo bloqueado." L_str.7: ## @str.7 .asciz "STATUS: Cerrojo desbloqueado." L_str.8: ## @str.8 .asciz "STATUS: Creado cerrojo de escritura" L_str.10: ## @str.10 .asciz "ERROR:No se ha podido crear el cerrojo." L_str.11: ## @str.11 .asciz "ERROR: No se ha podido abrir/crear el fichero." L_str.12: ## @str.12 .asciz "ERROR: Se debe especeficar la ruta del archivo en los par\303\241metros del programa." .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 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 sub sp, sp, #1088 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] cmp w0, #1 b.gt LBB0_2 ; %bb.1: Lloh3: adrp x0, l_str.12@PAGE Lloh4: add x0, x0, l_str.12@PAGEOFF b LBB0_8 LBB0_2: ldr x0, [x1, #8] mov w8, #511 str x8, [sp] mov w1, #514 bl _open cmn w0, #1 b.eq LBB0_7 ; %bb.3: mov x19, x0 mov w8, #2 str w8, [sp, #52] stp xzr, xzr, [sp, #32] bl _getpid str w0, [sp, #48] add x21, sp, #32 str x21, [sp] mov x0, x19 mov w1, #7 bl _fcntl ldrh w8, [sp, #52] cmp w8, #2 b.ne LBB0_9 ; %bb.4: Lloh5: adrp x0, l_str.7@PAGE Lloh6: add x0, x0, l_str.7@PAGEOFF bl _puts mov w20, #3 str w20, [sp, #52] stp xzr, xzr, [sp, #32] bl _getpid str w0, [sp, #48] str x21, [sp] mov x0, x19 mov w1, #7 bl _fcntl cmn w0, #1 b.eq LBB0_10 ; %bb.5: Lloh7: adrp x0, l_str.8@PAGE Lloh8: add x0, x0, l_str.8@PAGEOFF bl _puts mov x0, #0 bl _time str x0, [sp, #24] add x0, sp, #24 bl _localtime ldp w9, w8, [x0, #4] stp x8, x9, [sp] Lloh9: adrp x3, l_.str.5@PAGE Lloh10: add x3, x3, l_.str.5@PAGEOFF add x0, sp, #56 mov w1, #0 mov w2, #1024 bl ___sprintf_chk add x0, sp, #56 bl _strlen mov x2, x0 add x1, sp, #56 mov x0, x19 bl _write mov w0, #30 bl _sleep str w20, [sp, #52] stp xzr, xzr, [sp, #32] bl _getpid str w0, [sp, #48] add x8, sp, #32 str x8, [sp] mov x0, x19 mov w1, #7 bl _fcntl cmn w0, #1 b.eq LBB0_10 ; %bb.6: mov x0, x19 bl _close mov x0, x19 bl _close mov w0, #0 b LBB0_12 LBB0_7: Lloh11: adrp x0, l_str.11@PAGE Lloh12: add x0, x0, l_str.11@PAGEOFF LBB0_8: bl _puts mov w0, #-1 b LBB0_12 LBB0_9: Lloh13: adrp x0, l_str@PAGE Lloh14: add x0, x0, l_str@PAGEOFF b LBB0_11 LBB0_10: Lloh15: adrp x0, l_str.10@PAGE Lloh16: add x0, x0, l_str.10@PAGEOFF LBB0_11: bl _puts mov x0, x19 bl _close mov w0, #1 LBB0_12: ldur x8, [x29, #-40] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_14 ; %bb.13: add sp, sp, #1088 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_14: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.5: ; @.str.5 .asciz "Hora: %d:%d\n" l_str: ; @str .asciz "STATUS: Cerrojo bloqueado." l_str.7: ; @str.7 .asciz "STATUS: Cerrojo desbloqueado." l_str.8: ; @str.8 .asciz "STATUS: Creado cerrojo de escritura" l_str.10: ; @str.10 .asciz "ERROR:No se ha podido crear el cerrojo." l_str.11: ; @str.11 .asciz "ERROR: No se ha podido abrir/crear el fichero." l_str.12: ; @str.12 .asciz "ERROR: Se debe especeficar la ruta del archivo en los par\303\241metros del programa." .subsections_via_symbols
the_stack_data/17284.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function foo LCPI0_0: .quad 0x3fbeb851eb851eb8 ## double 0.12 .section __TEXT,__text,regular,pure_instructions .globl _foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero subsd %xmm0, %xmm1 movapd %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: mov x8, #7864 movk x8, #60293, lsl #16 movk x8, #47185, lsl #32 movk x8, #16318, lsl #48 fmov d1, x8 fsub d0, d1, d0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/148657.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _set_mount ## -- Begin function set_mount .p2align 4, 0x90 _set_mount: ## @set_mount .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ecx movl $1, %eax shll %cl, %eax movq %rdx, %r14 movl (%rdi), %edx btl %esi, %edx jae LBB0_1 ## %bb.9: movq _mount_strings@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %ecx, %rcx movl (%rax,%rcx,4), %esi leaq L_.str(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _fsi_error ## TAILCALL LBB0_1: movq %rdi, %rbx orl %eax, %edx movl %edx, (%rdi) cmpl $130, %ecx je LBB0_7 ## %bb.2: cmpl $129, %ecx je LBB0_5 ## %bb.3: cmpl $128, %ecx jne LBB0_6 ## %bb.4: movq _dict_of_volnames@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi movq %rbx, %rdx callq _dict_add movq %r14, 8(%rbx) jmp LBB0_8 LBB0_7: movq %r14, 16(%rbx) jmp LBB0_8 LBB0_5: movq %r14, 24(%rbx) LBB0_8: popq %rbx popq %r14 popq %rbp retq LBB0_6: xorl %eax, %eax callq _abort .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "mount tree field \"%s\" already set" .comm _mount_strings,8,3 ## @mount_strings .comm _dict_of_volnames,4,2 ## @dict_of_volnames .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _set_mount ; -- Begin function set_mount .p2align 2 _set_mount: ; @set_mount .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 w8, #1 lsl w8, w8, w1 ldr w9, [x0] tst w9, w8 b.eq LBB0_2 ; %bb.1: Lloh0: adrp x8, _mount_strings@GOTPAGE Lloh1: ldr x8, [x8, _mount_strings@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w1, [x8, w1, sxtw #2] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _fsi_error LBB0_2: mov x19, x2 mov x20, x0 orr w8, w9, w8 str w8, [x0] cmp w1, #130 b.eq LBB0_6 ; %bb.3: cmp w1, #129 b.eq LBB0_7 ; %bb.4: cmp w1, #128 b.ne LBB0_9 ; %bb.5: Lloh5: adrp x8, _dict_of_volnames@GOTPAGE Lloh6: ldr x8, [x8, _dict_of_volnames@GOTPAGEOFF] Lloh7: ldr w0, [x8] mov x1, x19 mov x2, x20 bl _dict_add str x19, [x20, #8] b LBB0_8 LBB0_6: str x19, [x20, #16] b LBB0_8 LBB0_7: str x19, [x20, #24] LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_9: bl _abort .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "mount tree field \"%s\" already set" .comm _mount_strings,8,3 ; @mount_strings .comm _dict_of_volnames,4,2 ; @dict_of_volnames .subsections_via_symbols
AnghaBench/freebsd/contrib/amd/fsinfo/extr_fsi_util.c_set_mount.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_legal_channel ## -- Begin function is_legal_channel .p2align 4, 0x90 _is_legal_channel: ## @is_legal_channel .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _GET_DOT11D_INFO movq _MAX_CHANNEL_NUMBER@GOTPCREL(%rip), %rcx cmpq %r14, (%rcx) jae LBB0_2 ## %bb.1: movl (%rbx), %edi leaq L_.str(%rip), %rsi callq _netdev_err xorl %eax, %eax jmp LBB0_3 LBB0_2: movq (%rax), %rcx xorl %eax, %eax cmpq $0, (%rcx,%r14,8) setg %al LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_CHANNEL_NUMBER,8,3 ## @MAX_CHANNEL_NUMBER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "is_legal_channel(): Invalid Channel\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_legal_channel ; -- Begin function is_legal_channel .p2align 2 _is_legal_channel: ; @is_legal_channel .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _GET_DOT11D_INFO Lloh0: adrp x8, _MAX_CHANNEL_NUMBER@GOTPAGE Lloh1: ldr x8, [x8, _MAX_CHANNEL_NUMBER@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x19 b.hs LBB0_2 ; %bb.1: ldr w0, [x20] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _netdev_err mov w0, #0 b LBB0_3 LBB0_2: ldr x8, [x0] ldr x8, [x8, x19, lsl #3] cmp x8, #0 cset w0, gt LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _MAX_CHANNEL_NUMBER,8,3 ; @MAX_CHANNEL_NUMBER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "is_legal_channel(): Invalid Channel\n" .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8192u/ieee80211/extr_dot11d.c_is_legal_channel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mem_cgroup_out_of_memory _mem_cgroup_out_of_memory: ## @mem_cgroup_out_of_memory .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $40, %rsp .cfi_offset %rbx, -24 movl %edx, -40(%rbp) movl %esi, -36(%rbp) movq %rdi, -32(%rbp) xorps %xmm0, %xmm0 movups %xmm0, -24(%rbp) movq _oom_lock@GOTPCREL(%rip), %rdi callq _mutex_lock_killable movl $1, %ebx testq %rax, %rax jne LBB0_4 ## %bb.1: xorl %eax, %eax callq _should_force_charge movl $1, %ebx testq %rax, %rax jne LBB0_3 ## %bb.2: leaq -40(%rbp), %rdi callq _out_of_memory xorl %ebx, %ebx testq %rax, %rax setne %bl LBB0_3: movq _oom_lock@GOTPCREL(%rip), %rdi callq _mutex_unlock LBB0_4: movl %ebx, %eax addq $40, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _oom_lock,4,2 ## @oom_lock .no_dead_strip _mem_cgroup_out_of_memory .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mem_cgroup_out_of_memory _mem_cgroup_out_of_memory: ; @mem_cgroup_out_of_memory .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 stp w2, w1, [sp] stp xzr, xzr, [sp, #16] str x0, [sp, #8] Lloh0: adrp x0, _oom_lock@GOTPAGE Lloh1: ldr x0, [x0, _oom_lock@GOTPAGEOFF] bl _mutex_lock_killable cbz x0, LBB0_2 ; %bb.1: mov w19, #1 b LBB0_6 LBB0_2: bl _should_force_charge cbz x0, LBB0_4 ; %bb.3: mov w19, #1 b LBB0_5 LBB0_4: mov x0, sp bl _out_of_memory cmp x0, #0 cset w19, ne LBB0_5: Lloh2: adrp x0, _oom_lock@GOTPAGE Lloh3: ldr x0, [x0, _oom_lock@GOTPAGEOFF] bl _mutex_unlock LBB0_6: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _oom_lock,4,2 ; @oom_lock .no_dead_strip _mem_cgroup_out_of_memory .subsections_via_symbols
AnghaBench/linux/mm/extr_memcontrol.c_mem_cgroup_out_of_memory.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/1261282.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pgp_elgamal_decrypt ## -- Begin function pgp_elgamal_decrypt .p2align 4, 0x90 _pgp_elgamal_decrypt: ## @pgp_elgamal_decrypt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -88(%rbp) ## 8-byte Spill movq %rdx, %r14 movq %rdi, %rbx movq _PXE_PGP_MATH_FAILED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq %rsi, %rdi callq _mpi_to_bn movq %rax, -80(%rbp) ## 8-byte Spill movq %r14, %rdi callq _mpi_to_bn movq %rax, %r15 movq 8(%rbx), %rdi callq _mpi_to_bn movq %rax, %r12 movq (%rbx), %rdi callq _mpi_to_bn movq %rax, %r14 xorl %eax, %eax callq _BN_new movq %rax, -72(%rbp) ## 8-byte Spill xorl %eax, %eax callq _BN_new movq %rax, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _BN_new movq %rax, %rbx xorl %eax, %eax callq _BN_CTX_new movq %rax, %r13 movq -80(%rbp), %rsi ## 8-byte Reload testq %rsi, %rsi movq %r15, -64(%rbp) ## 8-byte Spill je LBB0_34 ## %bb.1: testq %r15, %r15 movl -44(%rbp), %eax ## 4-byte Reload je LBB0_35 ## %bb.2: movq %r12, %rcx testq %r12, %r12 je LBB0_14 ## %bb.3: testq %r14, %r14 je LBB0_14 ## %bb.4: movq -72(%rbp), %r12 ## 8-byte Reload testq %r12, %r12 je LBB0_14 ## %bb.5: cmpq $0, -56(%rbp) ## 8-byte Folded Reload je LBB0_14 ## %bb.6: testq %rbx, %rbx je LBB0_12 ## %bb.7: testq %r13, %r13 je LBB0_12 ## %bb.8: movq %r12, %rdi movq %r14, %rdx movq %rcx, %r15 movq %r13, %r8 callq _BN_mod_exp testl %eax, %eax je LBB0_17 ## %bb.9: movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq %r15, %rdx movq %r13, %rcx callq _BN_mod_inverse testl %eax, %eax je LBB0_17 ## %bb.10: movq %rbx, %rdi movq -64(%rbp), %rsi ## 8-byte Reload movq -56(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx movq %r13, %r8 callq _BN_mod_mul testl %eax, %eax je LBB0_17 ## %bb.11: movq %rbx, %rdi callq _bn_to_mpi movq -88(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) xorl %ecx, %ecx testq %rax, %rax movl -44(%rbp), %r12d ## 4-byte Reload cmovnel %ecx, %r12d testq %r13, %r13 jne LBB0_18 jmp LBB0_19 LBB0_17: movl -44(%rbp), %r12d ## 4-byte Reload testq %r13, %r13 jne LBB0_18 jmp LBB0_19 LBB0_12: movl -44(%rbp), %r12d ## 4-byte Reload jmp LBB0_15 LBB0_14: movl %eax, %r12d LBB0_15: movq %rcx, %r15 testq %r13, %r13 je LBB0_19 LBB0_18: movq %r13, %rdi callq _BN_CTX_free LBB0_19: testq %rbx, %rbx je LBB0_21 ## %bb.20: movq %rbx, %rdi callq _BN_clear_free LBB0_21: movq -56(%rbp), %rdi ## 8-byte Reload testq %rdi, %rdi je LBB0_23 ## %bb.22: callq _BN_clear_free LBB0_23: movq -72(%rbp), %rdi ## 8-byte Reload testq %rdi, %rdi je LBB0_25 ## %bb.24: callq _BN_clear_free LBB0_25: testq %r14, %r14 je LBB0_27 ## %bb.26: movq %r14, %rdi callq _BN_clear_free LBB0_27: testq %r15, %r15 je LBB0_29 ## %bb.28: movq %r15, %rdi callq _BN_clear_free LBB0_29: movq -64(%rbp), %rdi ## 8-byte Reload testq %rdi, %rdi je LBB0_31 ## %bb.30: callq _BN_clear_free LBB0_31: movq -80(%rbp), %rdi ## 8-byte Reload testq %rdi, %rdi je LBB0_33 ## %bb.32: callq _BN_clear_free LBB0_33: movl %r12d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_34: movl -44(%rbp), %eax ## 4-byte Reload LBB0_35: movq %r12, %r15 movl %eax, %r12d testq %r13, %r13 jne LBB0_18 jmp LBB0_19 .cfi_endproc ## -- End function .comm _PXE_PGP_MATH_FAILED,4,2 ## @PXE_PGP_MATH_FAILED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pgp_elgamal_decrypt ; -- Begin function pgp_elgamal_decrypt .p2align 2 _pgp_elgamal_decrypt: ; @pgp_elgamal_decrypt .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x27, x3 mov x21, x2 mov x23, x0 Lloh0: adrp x8, _PXE_PGP_MATH_FAILED@GOTPAGE Lloh1: ldr x8, [x8, _PXE_PGP_MATH_FAILED@GOTPAGEOFF] Lloh2: ldr w19, [x8] mov x0, x1 bl _mpi_to_bn mov x20, x0 mov x0, x21 bl _mpi_to_bn mov x21, x0 ldr x0, [x23, #8] bl _mpi_to_bn mov x22, x0 ldr x0, [x23] bl _mpi_to_bn mov x23, x0 bl _BN_new mov x24, x0 bl _BN_new mov x25, x0 bl _BN_new mov x26, x0 bl _BN_CTX_new mov x28, x0 cbz x20, LBB0_12 ; %bb.1: cbz x21, LBB0_12 ; %bb.2: cbz x22, LBB0_12 ; %bb.3: cbz x23, LBB0_12 ; %bb.4: cbz x24, LBB0_12 ; %bb.5: cbz x25, LBB0_12 ; %bb.6: cbz x26, LBB0_12 ; %bb.7: cbz x28, LBB0_12 ; %bb.8: mov x0, x24 mov x1, x20 mov x2, x23 mov x3, x22 mov x4, x28 bl _BN_mod_exp cbz w0, LBB0_12 ; %bb.9: mov x0, x25 mov x1, x24 mov x2, x22 mov x3, x28 bl _BN_mod_inverse cbz w0, LBB0_12 ; %bb.10: mov x0, x26 mov x1, x21 mov x2, x25 mov x3, x22 mov x4, x28 bl _BN_mod_mul cbz w0, LBB0_12 ; %bb.11: mov x0, x26 bl _bn_to_mpi str x0, [x27] cmp x0, #0 csel w19, w19, wzr, eq LBB0_12: cbz x28, LBB0_14 ; %bb.13: mov x0, x28 bl _BN_CTX_free LBB0_14: cbz x26, LBB0_16 ; %bb.15: mov x0, x26 bl _BN_clear_free LBB0_16: cbz x25, LBB0_18 ; %bb.17: mov x0, x25 bl _BN_clear_free LBB0_18: cbz x24, LBB0_20 ; %bb.19: mov x0, x24 bl _BN_clear_free LBB0_20: cbz x23, LBB0_22 ; %bb.21: mov x0, x23 bl _BN_clear_free LBB0_22: cbz x22, LBB0_24 ; %bb.23: mov x0, x22 bl _BN_clear_free LBB0_24: cbz x21, LBB0_26 ; %bb.25: mov x0, x21 bl _BN_clear_free LBB0_26: cbz x20, LBB0_28 ; %bb.27: mov x0, x20 bl _BN_clear_free LBB0_28: mov x0, x19 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PXE_PGP_MATH_FAILED,4,2 ; @PXE_PGP_MATH_FAILED .subsections_via_symbols
AnghaBench/postgres/contrib/pgcrypto/extr_pgp-mpi-openssl.c_pgp_elgamal_decrypt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipc_clock_enable ## -- Begin function ipc_clock_enable .p2align 4, 0x90 _ipc_clock_enable: ## @ipc_clock_enable .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 movl 4(%rdi), %edi movq _IKOT_CLOCK@GOTPCREL(%rip), %rax movl (%rax), %edx movl %ebx, %esi callq _ipc_kobject_set movl (%rbx), %edi movq _IKOT_CLOCK_CTRL@GOTPCREL(%rip), %rax movl (%rax), %edx movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _ipc_kobject_set ## TAILCALL .cfi_endproc ## -- End function .comm _IKOT_CLOCK,4,2 ## @IKOT_CLOCK .comm _IKOT_CLOCK_CTRL,4,2 ## @IKOT_CLOCK_CTRL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipc_clock_enable ; -- Begin function ipc_clock_enable .p2align 2 _ipc_clock_enable: ; @ipc_clock_enable .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 w0, [x0, #4] Lloh0: adrp x8, _IKOT_CLOCK@GOTPAGE Lloh1: ldr x8, [x8, _IKOT_CLOCK@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x1, x19 bl _ipc_kobject_set ldr w0, [x19] Lloh3: adrp x8, _IKOT_CLOCK_CTRL@GOTPAGE Lloh4: ldr x8, [x8, _IKOT_CLOCK_CTRL@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ipc_kobject_set .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IKOT_CLOCK,4,2 ; @IKOT_CLOCK .comm _IKOT_CLOCK_CTRL,4,2 ; @IKOT_CLOCK_CTRL .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/kern/extr_ipc_clock.c_ipc_clock_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _llc_recover_tx ## -- Begin function llc_recover_tx .p2align 4, 0x90 _llc_recover_tx: ## @llc_recover_tx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq $0, (%rdi) 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 _llc_recover_tx ; -- Begin function llc_recover_tx .p2align 2 _llc_recover_tx: ; @llc_recover_tx .cfi_startproc ; %bb.0: str xzr, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/fddi/skfp/extr_drvfbi.c_llc_recover_tx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nv50_disp_intr ## -- Begin function nv50_disp_intr .p2align 4, 0x90 _nv50_disp_intr: ## @nv50_disp_intr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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, %r12 movq 16(%rdi), %r14 movq %r14, %rdi movl $6357024, %esi ## imm = 0x610020 callq _nvkm_rd32 movl %eax, %ebx movq %r14, %rdi movl $6357028, %esi ## imm = 0x610024 callq _nvkm_rd32 movl %eax, %r15d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi andl $2031616, %edi ## imm = 0x1F0000 je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 callq ___ffs ## kill: def $eax killed $eax def $rax leal -16(%rax), %r13d movq %r12, %rdi movl %r13d, %esi callq _nv50_disp_intr_error movl $65536, %eax ## imm = 0x10000 movl %r13d, %ecx shll %cl, %eax notl %eax andl %eax, %ebx jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_4 Depth=1 callq ___ffs movl %eax, %r13d movq %r12, %rdi movl %eax, %esi callq _nv50_disp_chan_uevent_send btrl %r13d, %ebx LBB0_4: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi andl $31, %edi jne LBB0_3 ## %bb.5: leaq 16(%r12), %rbx testb $4, %r15b jne LBB0_6 ## %bb.7: testb $8, %r15b jne LBB0_8 LBB0_9: andl $112, %r15d je LBB0_10 LBB0_11: movl %r15d, (%r12) movl 8(%r12), %edi leaq 4(%r12), %rsi callq _queue_work movl (%r12), %edx movq %r14, %rdi movl $6357028, %esi ## imm = 0x610024 addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _nvkm_wr32 ## TAILCALL LBB0_6: movq %rbx, %rdi xorl %esi, %esi callq _nvkm_disp_vblank movq %r14, %rdi movl $6357028, %esi ## imm = 0x610024 movl $4, %edx callq _nvkm_wr32 testb $8, %r15b je LBB0_9 LBB0_8: movq %rbx, %rdi movl $1, %esi callq _nvkm_disp_vblank movq %r14, %rdi movl $6357028, %esi ## imm = 0x610024 movl $8, %edx callq _nvkm_wr32 andl $112, %r15d jne LBB0_11 LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nv50_disp_intr ; -- Begin function nv50_disp_intr .p2align 2 _nv50_disp_intr: ; @nv50_disp_intr .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, x0 mov w8, #36 movk w8, #97, lsl #16 mov x21, x0 ldr x20, [x21, #16]! sub w1, w8, #4 mov x0, x20 bl _nvkm_rd32 mov x23, x0 mov x0, x20 mov w1, #36 movk w1, #97, lsl #16 bl _nvkm_rd32 mov x22, x0 ands w0, w23, #0x1f0000 b.eq LBB0_3 ; %bb.1: mov w25, #65536 LBB0_2: ; =>This Inner Loop Header: Depth=1 bl ___ffs sub w24, w0, #16 mov x0, x19 mov x1, x24 bl _nv50_disp_intr_error lsl w8, w25, w24 bic w23, w23, w8 ands w0, w23, #0x1f0000 b.ne LBB0_2 LBB0_3: ands w0, w23, #0x1f b.eq LBB0_6 ; %bb.4: mov w25, #1 LBB0_5: ; =>This Inner Loop Header: Depth=1 bl ___ffs mov x24, x0 mov x0, x19 mov x1, x24 bl _nv50_disp_chan_uevent_send lsl w8, w25, w24 bic w23, w23, w8 ands w0, w23, #0x1f b.ne LBB0_5 LBB0_6: tbnz w22, #2, LBB0_10 ; %bb.7: tbnz w22, #3, LBB0_11 LBB0_8: ands w8, w22, #0x70 b.eq LBB0_12 LBB0_9: str w8, [x19] ldr w0, [x19, #8] add x1, x19, #4 bl _queue_work ldr w2, [x19] mov x0, x20 mov w1, #36 movk w1, #97, lsl #16 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _nvkm_wr32 LBB0_10: mov x0, x21 mov w1, #0 bl _nvkm_disp_vblank mov x0, x20 mov w1, #36 movk w1, #97, lsl #16 mov w2, #4 bl _nvkm_wr32 tbz w22, #3, LBB0_8 LBB0_11: mov x0, x21 mov w1, #1 bl _nvkm_disp_vblank mov x0, x20 mov w1, #36 movk w1, #97, lsl #16 mov w2, #8 bl _nvkm_wr32 ands w8, w22, #0x70 b.ne LBB0_9 LBB0_12: 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/extr_nv50.c_nv50_disp_intr.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 movq _mySource(%rip), %rsi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movq _myCmake(%rip), %rsi leaq L_.str.1(%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 "My source is:\n%s\n" .section __DATA,__data .p2align 3 ## @mySource _mySource: .quad L_.str.2 .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "My cmake is:\n%s\n" .section __DATA,__data .p2align 3 ## @myCmake _myCmake: .quad L_.str.2 .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .space 1 .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 x8, _mySource@PAGE Lloh1: ldr x8, [x8, _mySource@PAGEOFF] str x8, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf Lloh4: adrp x8, _myCmake@PAGE Lloh5: ldr x8, [x8, _myCmake@PAGEOFF] str x8, [sp] Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdr Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "My source is:\n%s\n" .section __DATA,__data .p2align 3 ; @mySource _mySource: .quad l_.str.2 .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "My cmake is:\n%s\n" .section __DATA,__data .p2align 3 ; @myCmake _myCmake: .quad l_.str.2 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .space 1 .subsections_via_symbols
the_stack_data/11075063.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strcmp_void ## -- Begin function strcmp_void .p2align 4, 0x90 _strcmp_void: ## @strcmp_void .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 _strcmp ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strcmp_void ; -- Begin function strcmp_void .p2align 2 _strcmp_void: ; @strcmp_void .cfi_startproc ; %bb.0: b _strcmp .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/507906.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function l2arc_write_eligible _l2arc_write_eligible: ## @l2arc_write_eligible .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 _B_FALSE@GOTPCREL(%rip), %r14 cmpq %rdi, (%rsi) jne LBB0_6 ## %bb.1: movq %rsi, %rbx movq %rsi, %rdi callq _HDR_HAS_L2HDR testq %rax, %rax jne LBB0_6 ## %bb.2: movq %rbx, %rdi callq _HDR_IO_IN_PROGRESS testq %rax, %rax jne LBB0_6 ## %bb.3: movq %rbx, %rdi callq _HDR_L2CACHE testl %eax, %eax jne LBB0_4 ## %bb.5: movq _B_FALSE@GOTPCREL(%rip), %r14 jmp LBB0_6 LBB0_4: movq _B_TRUE@GOTPCREL(%rip), %r14 LBB0_6: movl (%r14), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _B_FALSE,4,2 ## @B_FALSE .comm _B_TRUE,4,2 ## @B_TRUE .no_dead_strip _l2arc_write_eligible .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function l2arc_write_eligible _l2arc_write_eligible: ; @l2arc_write_eligible .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] cmp x8, x0 b.ne LBB0_2 ; %bb.1: mov x19, x1 mov x0, x1 bl _HDR_HAS_L2HDR cbz x0, LBB0_4 LBB0_2: Lloh0: adrp x20, _B_FALSE@GOTPAGE Lloh1: ldr x20, [x20, _B_FALSE@GOTPAGEOFF] LBB0_3: ldr w0, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: mov x0, x19 bl _HDR_IO_IN_PROGRESS Lloh2: adrp x20, _B_FALSE@GOTPAGE Lloh3: ldr x20, [x20, _B_FALSE@GOTPAGEOFF] cbnz x0, LBB0_3 ; %bb.5: mov x0, x19 bl _HDR_L2CACHE Lloh4: adrp x8, _B_TRUE@GOTPAGE Lloh5: ldr x8, [x8, _B_TRUE@GOTPAGEOFF] cmp w0, #0 csel x20, x20, x8, eq b LBB0_3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _B_FALSE,4,2 ; @B_FALSE .comm _B_TRUE,4,2 ; @B_TRUE .no_dead_strip _l2arc_write_eligible .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_arc.c_l2arc_write_eligible.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 xorl %edi, %edi callq _time movl %eax, %edi callq _srand callq _rand leaq L_.str.1(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf callq _rand andl $-2147483647, %eax ## imm = 0x80000001 cmpl $1, %eax leaq -24(%rbp), %rax leaq -16(%rbp), %rbx cmoveq %rax, %rbx leaq L_.str(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq (%rbx), %rax movl $0, (%rax) xorl %eax, %eax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "pp=%p\n" L_.str.1: ## @.str.1 .asciz "%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, #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 x0, #0 bl _time ; kill: def $w0 killed $w0 killed $x0 bl _srand bl _rand ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh0: adrp x0, l_.str.1@PAGE Lloh1: add x0, x0, l_.str.1@PAGEOFF bl _printf bl _rand and w8, w0, #0x80000001 cmp w8, #1 add x8, sp, #16 add x9, sp, #24 csel x19, x9, x8, eq str x19, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf ldr x8, [x19] str wzr, [x8] mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "pp=%p\n" l_.str.1: ; @.str.1 .asciz "%d\n" .subsections_via_symbols
the_stack_data/150139844.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfd_preserve_restore ## -- Begin function bfd_preserve_restore .p2align 4, 0x90 _bfd_preserve_restore: ## @bfd_preserve_restore .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx addq $12, %rdi callq _bfd_hash_table_free movl 32(%r14), %eax movl %eax, 24(%rbx) movl 28(%r14), %eax movl %eax, 20(%rbx) movl 24(%r14), %eax movl %eax, 16(%rbx) movups 8(%r14), %xmm0 movups %xmm0, (%rbx) movq (%r14), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _bfd_release movq $0, (%r14) LBB0_2: 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 _bfd_preserve_restore ; -- Begin function bfd_preserve_restore .p2align 2 _bfd_preserve_restore: ; @bfd_preserve_restore .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 add x0, x0, #12 bl _bfd_hash_table_free ldr w8, [x19, #32] str w8, [x20, #24] ldr d0, [x19, #24] str d0, [x20, #16] ldur q0, [x19, #8] str q0, [x20] ldr x1, [x19] cbz x1, LBB0_2 ; %bb.1: mov x0, x20 bl _bfd_release str xzr, [x19] LBB0_2: 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/contrib/binutils/bfd/extr_bfd.c_bfd_preserve_restore.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdiv_i ## -- Begin function fdiv_i .p2align 4, 0x90 _fdiv_i: ## @fdiv_i .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 _clear_C1 movq _REV@GOTPCREL(%rip), %rax movq _DEST_RM@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl (%rax), %edi movq _FPU_rm@GOTPCREL(%rip), %rax movl (%rax), %esi movq _control_word@GOTPCREL(%rip), %rax movl (%rax), %edx popq %rbp jmp _FPU_div ## TAILCALL .cfi_endproc ## -- End function .comm _REV,4,2 ## @REV .comm _DEST_RM,4,2 ## @DEST_RM .comm _FPU_rm,4,2 ## @FPU_rm .comm _control_word,4,2 ## @control_word .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdiv_i ; -- Begin function fdiv_i .p2align 2 _fdiv_i: ; @fdiv_i .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 _clear_C1 Lloh0: adrp x8, _REV@GOTPAGE Lloh1: ldr x8, [x8, _REV@GOTPAGEOFF] Lloh2: adrp x9, _DEST_RM@GOTPAGE Lloh3: ldr x9, [x9, _DEST_RM@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: ldr w9, [x9] orr w0, w9, w8 Lloh6: adrp x8, _FPU_rm@GOTPAGE Lloh7: ldr x8, [x8, _FPU_rm@GOTPAGEOFF] Lloh8: ldr w1, [x8] Lloh9: adrp x8, _control_word@GOTPAGE Lloh10: ldr x8, [x8, _control_word@GOTPAGEOFF] Lloh11: ldr w2, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _FPU_div .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .cfi_endproc ; -- End function .comm _REV,4,2 ; @REV .comm _DEST_RM,4,2 ; @DEST_RM .comm _FPU_rm,4,2 ; @FPU_rm .comm _control_word,4,2 ; @control_word .subsections_via_symbols
AnghaBench/linux/arch/x86/math-emu/extr_fpu_arith.c_fdiv_i.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _action_get_macro ## -- Begin function action_get_macro .p2align 4, 0x90 _action_get_macro: ## @action_get_macro .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %esi, %esi jne LBB0_4 ## %bb.1: cmpl $0, (%rdi) movq _KC_RSFT@GOTPCREL(%rip), %rax movl (%rax), %edi je LBB0_3 ## %bb.2: callq _register_code jmp LBB0_4 LBB0_3: callq _unregister_code LBB0_4: movq _MACRO_NONE@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _KC_RSFT,4,2 ## @KC_RSFT .comm _MACRO_NONE,8,3 ## @MACRO_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _action_get_macro ; -- Begin function action_get_macro .p2align 2 _action_get_macro: ; @action_get_macro .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 cbnz w1, LBB0_4 ; %bb.1: ldr w8, [x0] Lloh0: adrp x9, _KC_RSFT@GOTPAGE Lloh1: ldr x9, [x9, _KC_RSFT@GOTPAGEOFF] Lloh2: ldr w0, [x9] cbz w8, LBB0_3 ; %bb.2: bl _register_code b LBB0_4 LBB0_3: bl _unregister_code LBB0_4: Lloh3: adrp x8, _MACRO_NONE@GOTPAGE Lloh4: ldr x8, [x8, _MACRO_NONE@GOTPAGEOFF] Lloh5: ldr x0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _KC_RSFT,4,2 ; @KC_RSFT .comm _MACRO_NONE,8,3 ; @MACRO_NONE .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/planck/keymaps/matrixman/extr_keymap.c_action_get_macro.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ath6kl_remove_sta _ath6kl_remove_sta: ## @ath6kl_remove_sta .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rsi, %r12 movq %rdi, %r13 movq %rsi, %rdi callq _is_zero_ether_addr testq %rax, %rax je LBB0_3 LBB0_1: xorl %r14d, %r14d LBB0_2: movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r12, %rdi callq _is_broadcast_ether_addr testq %rax, %rax je LBB0_9 ## %bb.4: movq _ATH6KL_DBG_TRC@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi xorl %r14d, %r14d xorl %eax, %eax callq _ath6kl_dbg movq _AP_MAX_NUM_STA@GOTPCREL(%rip), %r15 cmpq $0, (%r15) je LBB0_2 ## %bb.5: xorl %r12d, %r12d xorl %r14d, %r14d xorl %ebx, %ebx jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=1 incq %rbx addq $16, %r12 cmpq (%r15), %rbx jae LBB0_2 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq (%r13), %rax movq (%rax,%r12), %rdi callq _is_zero_ether_addr testq %rax, %rax jne LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq %r13, %rdi movq %rbx, %rsi callq _ath6kl_sta_cleanup movl $1, %r14d jmp LBB0_6 LBB0_9: movq _AP_MAX_NUM_STA@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_1 ## %bb.10: movl %ebx, -44(%rbp) ## 4-byte Spill xorl %r14d, %r14d xorl %r15d, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%r13), %rax movq (%rax,%r15), %rdi movq _ETH_ALEN@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi callq _memcmp testq %rax, %rax je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 incq %rbx addq $16, %r15 movq _AP_MAX_NUM_STA@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jb LBB0_11 jmp LBB0_2 LBB0_14: movq _ATH6KL_DBG_TRC@GOTPCREL(%rip), %rax movl (%rax), %edi movq (%r13), %rax movl 8(%rax,%r15), %ecx leaq L_.str.1(%rip), %rsi movq %r12, %rdx movl -44(%rbp), %r8d ## 4-byte Reload xorl %eax, %eax callq _ath6kl_dbg movq %r13, %rdi movq %rbx, %rsi callq _ath6kl_sta_cleanup movl $1, %r14d jmp LBB0_2 .cfi_endproc ## -- End function .comm _ATH6KL_DBG_TRC,4,2 ## @ATH6KL_DBG_TRC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "deleting all station\n" .comm _AP_MAX_NUM_STA,8,3 ## @AP_MAX_NUM_STA .comm _ETH_ALEN,4,2 ## @ETH_ALEN L_.str.1: ## @.str.1 .asciz "deleting station %pM aid=%d reason=%d\n" .no_dead_strip _ath6kl_remove_sta .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ath6kl_remove_sta _ath6kl_remove_sta: ; @ath6kl_remove_sta .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x2 mov x20, x1 mov x19, x0 mov x0, x1 bl _is_zero_ether_addr cbz x0, LBB0_3 LBB0_1: mov x20, #0 LBB0_2: mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_3: mov x0, x20 bl _is_broadcast_ether_addr cbz x0, LBB0_9 ; %bb.4: Lloh0: adrp x8, _ATH6KL_DBG_TRC@GOTPAGE Lloh1: ldr x8, [x8, _ATH6KL_DBG_TRC@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _ath6kl_dbg Lloh5: adrp x22, _AP_MAX_NUM_STA@GOTPAGE Lloh6: ldr x22, [x22, _AP_MAX_NUM_STA@GOTPAGEOFF] ldr x8, [x22] cbz x8, LBB0_1 ; %bb.5: mov x23, #0 mov x20, #0 mov x21, #0 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x21, x21, #1 ldr x8, [x22] add x23, x23, #16 cmp x21, x8 b.hs LBB0_2 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldr x0, [x8, x23] bl _is_zero_ether_addr cbnz x0, LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov x0, x19 mov x1, x21 bl _ath6kl_sta_cleanup mov w20, #1 b LBB0_6 LBB0_9: Lloh7: adrp x24, _AP_MAX_NUM_STA@GOTPAGE Lloh8: ldr x24, [x24, _AP_MAX_NUM_STA@GOTPAGEOFF] ldr x8, [x24] cbz x8, LBB0_1 ; %bb.10: mov x23, #0 mov x22, #0 Lloh9: adrp x25, _ETH_ALEN@GOTPAGE Lloh10: ldr x25, [x25, _ETH_ALEN@GOTPAGEOFF] LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldr x0, [x8, x23] ldr w2, [x25] mov x1, x20 bl _memcmp cbz x0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 add x22, x22, #1 ldr x8, [x24] add x23, x23, #16 cmp x22, x8 b.lo LBB0_11 b LBB0_1 LBB0_13: Lloh11: adrp x8, _ATH6KL_DBG_TRC@GOTPAGE Lloh12: ldr x8, [x8, _ATH6KL_DBG_TRC@GOTPAGEOFF] Lloh13: ldr w0, [x8] ldr x8, [x19] add x8, x8, x23 ldr w8, [x8, #8] stp x8, x21, [sp, #8] str x20, [sp] Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF bl _ath6kl_dbg mov x0, x19 mov x1, x22 bl _ath6kl_sta_cleanup mov w20, #1 b LBB0_2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _ATH6KL_DBG_TRC,4,2 ; @ATH6KL_DBG_TRC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "deleting all station\n" .comm _AP_MAX_NUM_STA,8,3 ; @AP_MAX_NUM_STA .comm _ETH_ALEN,4,2 ; @ETH_ALEN l_.str.1: ; @.str.1 .asciz "deleting station %pM aid=%d reason=%d\n" .no_dead_strip _ath6kl_remove_sta .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_main.c_ath6kl_remove_sta.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PreCommit_Portals ## -- Begin function PreCommit_Portals .p2align 4, 0x90 _PreCommit_Portals: ## @PreCommit_Portals .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 %edi, -44(%rbp) ## 4-byte Spill movq _PortalHashTable@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -48(%rbp), %rbx movq %rbx, %rdi callq _hash_seq_init movq %rbx, %rdi callq _hash_seq_search xorl %r13d, %r13d testq %rax, %rax je LBB0_21 ## %bb.1: movq _PORTAL_ACTIVE@GOTPCREL(%rip), %r14 leaq -48(%rbp), %rbx movq _InvalidSubTransactionId@GOTPCREL(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq $0, 32(%r15) LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movq $0, 24(%r15) LBB0_20: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _hash_seq_search testq %rax, %rax je LBB0_21 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rax), %r15 cmpq $0, 48(%r15) je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, 40(%r15) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _elog LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq (%r15), %rax cmpq (%r14), %rax jne LBB0_11 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq 32(%r15), %rdi testq %rdi, %rdi je LBB0_10 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq 24(%r15), %rsi testq %rsi, %rsi je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 callq _UnregisterSnapshotFromOwner jmp LBB0_9 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movq _CURSOR_OPT_HOLD@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq 16(%r15), %rcx movq (%r12), %rdx testl %esi, 8(%r15) je LBB0_17 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdx, %rcx je LBB0_17 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movq _PORTAL_READY@GOTPCREL(%rip), %rsi cmpq (%rsi), %rax jne LBB0_17 ## %bb.14: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str.1(%rip), %rdi callq _errmsg movl %r13d, %edi movl %eax, %esi callq _ereport LBB0_16: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _HoldPortal jmp LBB0_19 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdx, %rcx je LBB0_20 ## %bb.18: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi movl $1, %esi callq _PortalDrop LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _hash_seq_term movq _PortalHashTable@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _hash_seq_init movl $1, %r13d jmp LBB0_20 LBB0_21: movl %r13d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PortalHashTable,4,2 ## @PortalHashTable .comm _ERROR,4,2 ## @ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cannot commit while a portal is pinned" .comm _PORTAL_ACTIVE,8,3 ## @PORTAL_ACTIVE .comm _CURSOR_OPT_HOLD,4,2 ## @CURSOR_OPT_HOLD .comm _InvalidSubTransactionId,8,3 ## @InvalidSubTransactionId .comm _PORTAL_READY,8,3 ## @PORTAL_READY .comm _ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED L_.str.1: ## @.str.1 .asciz "cannot PREPARE a transaction that has created a cursor WITH HOLD" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PreCommit_Portals ; -- Begin function PreCommit_Portals .p2align 2 _PreCommit_Portals: ; @PreCommit_Portals .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 Lloh0: adrp x24, _PortalHashTable@GOTPAGE Lloh1: ldr x24, [x24, _PortalHashTable@GOTPAGEOFF] ldr w1, [x24] add x0, sp, #12 bl _hash_seq_init add x0, sp, #12 bl _hash_seq_search mov w22, #0 cbz x0, LBB0_20 ; %bb.1: Lloh2: adrp x25, _PORTAL_ACTIVE@GOTPAGE Lloh3: ldr x25, [x25, _PORTAL_ACTIVE@GOTPAGEOFF] Lloh4: adrp x26, _CURSOR_OPT_HOLD@GOTPAGE Lloh5: ldr x26, [x26, _CURSOR_OPT_HOLD@GOTPAGEOFF] Lloh6: adrp x27, _InvalidSubTransactionId@GOTPAGE Lloh7: ldr x27, [x27, _InvalidSubTransactionId@GOTPAGEOFF] Lloh8: adrp x28, _PORTAL_READY@GOTPAGE Lloh9: ldr x28, [x28, _PORTAL_READY@GOTPAGEOFF] Lloh10: adrp x20, _ERROR@GOTPAGE Lloh11: ldr x20, [x20, _ERROR@GOTPAGEOFF] Lloh12: adrp x21, l_.str@PAGE Lloh13: add x21, x21, l_.str@PAGEOFF b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 str xzr, [x23, #32] LBB0_3: ; in Loop: Header=BB0_5 Depth=1 str xzr, [x23, #24] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x0, sp, #12 bl _hash_seq_search cbz x0, LBB0_20 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x23, [x0] ldr x8, [x23, #48] cbz x8, LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x23, #40] cbnz w8, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x20] mov x1, x21 bl _elog LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x23] ldr x9, [x25] cmp x8, x9 b.ne LBB0_12 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x23, #32] cbz x0, LBB0_3 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 ldr x1, [x23, #24] cbz x1, LBB0_2 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 bl _UnregisterSnapshotFromOwner b LBB0_2 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 ldr w11, [x23, #8] ldr w12, [x26] ldr x9, [x23, #16] ldr x10, [x27] tst w12, w11 b.eq LBB0_14 ; %bb.13: ; in Loop: Header=BB0_5 Depth=1 ldr x11, [x28] cmp x9, x10 ccmp x8, x11, #0, ne b.eq LBB0_16 LBB0_14: ; in Loop: Header=BB0_5 Depth=1 cmp x9, x10 b.eq LBB0_4 ; %bb.15: ; in Loop: Header=BB0_5 Depth=1 mov x0, x23 mov w1, #1 bl _PortalDrop b LBB0_19 LBB0_16: ; in Loop: Header=BB0_5 Depth=1 cbz w19, LBB0_18 ; %bb.17: ; in Loop: Header=BB0_5 Depth=1 ldr w22, [x20] Lloh14: adrp x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE Lloh15: ldr x8, [x8, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF] Lloh16: ldr w0, [x8] bl _errcode Lloh17: adrp x0, l_.str.1@PAGE Lloh18: add x0, x0, l_.str.1@PAGEOFF bl _errmsg mov x1, x0 mov x0, x22 bl _ereport LBB0_18: ; in Loop: Header=BB0_5 Depth=1 mov x0, x23 bl _HoldPortal LBB0_19: ; in Loop: Header=BB0_5 Depth=1 add x0, sp, #12 bl _hash_seq_term ldr w1, [x24] add x0, sp, #12 bl _hash_seq_init mov w22, #1 b LBB0_4 LBB0_20: mov x0, x22 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _PortalHashTable,4,2 ; @PortalHashTable .comm _ERROR,4,2 ; @ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cannot commit while a portal is pinned" .comm _PORTAL_ACTIVE,8,3 ; @PORTAL_ACTIVE .comm _CURSOR_OPT_HOLD,4,2 ; @CURSOR_OPT_HOLD .comm _InvalidSubTransactionId,8,3 ; @InvalidSubTransactionId .comm _PORTAL_READY,8,3 ; @PORTAL_READY .comm _ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED l_.str.1: ; @.str.1 .asciz "cannot PREPARE a transaction that has created a cursor WITH HOLD" .subsections_via_symbols
AnghaBench/postgres/src/backend/utils/mmgr/extr_portalmem.c_PreCommit_Portals.c
anghabench