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 xdigit2int _xdigit2int: ## @xdigit2int .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 _isdigit testq %rax, %rax je LBB0_2 ## %bb.1: movzbl %bl, %eax addl $-48, %eax jmp LBB0_3 LBB0_2: movzbl %bl, %edi callq _tolower movsbl %al, %eax addl $-87, %eax LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _xdigit2int .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xdigit2int _xdigit2int: ; @xdigit2int .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 _isdigit cbz x0, LBB0_2 ; %bb.1: sub w0, w19, #48 b LBB0_3 LBB0_2: mov x0, x19 bl _tolower sub w0, w0, #87 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _xdigit2int .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cxgb4_debugfs.c_xdigit2int.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i2c_in_csr _i2c_in_csr: ## @i2c_in_csr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rdi, %rdi jne LBB0_1 ## %bb.2: movq _ASIC_QSFP1_IN@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _ASIC_QSFP2_IN@GOTPCREL(%rip), %rax LBB0_3: movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _ASIC_QSFP2_IN,8,3 ## @ASIC_QSFP2_IN .comm _ASIC_QSFP1_IN,8,3 ## @ASIC_QSFP1_IN .no_dead_strip _i2c_in_csr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2c_in_csr _i2c_in_csr: ; @i2c_in_csr .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ASIC_QSFP2_IN@GOTPAGE Lloh1: ldr x8, [x8, _ASIC_QSFP2_IN@GOTPAGEOFF] Lloh2: adrp x9, _ASIC_QSFP1_IN@GOTPAGE Lloh3: ldr x9, [x9, _ASIC_QSFP1_IN@GOTPAGEOFF] cmp x0, #0 csel x8, x9, x8, eq ldr x0, [x8] ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ASIC_QSFP2_IN,8,3 ; @ASIC_QSFP2_IN .comm _ASIC_QSFP1_IN,8,3 ; @ASIC_QSFP1_IN .no_dead_strip _i2c_in_csr .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/hw/hfi1/extr_qsfp.c_i2c_in_csr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ftmac100_rxdes_get_page _ftmac100_rxdes_get_page: ## @ftmac100_rxdes_get_page .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 .no_dead_strip _ftmac100_rxdes_get_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ftmac100_rxdes_get_page _ftmac100_rxdes_get_page: ; @ftmac100_rxdes_get_page .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _ftmac100_rxdes_get_page .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/faraday/extr_ftmac100.c_ftmac100_rxdes_get_page.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xas_pause ## -- Begin function xas_pause .p2align 4, 0x90 _xas_pause: ## @xas_pause .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq 8(%rdi), %r14 callq _xas_invalid testq %rax, %rax jne LBB0_8 ## %bb.1: testq %r14, %r14 je LBB0_2 ## %bb.3: movl (%r15), %ecx incl %ecx movq _XA_CHUNK_SIZE@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl %ecx, %ebx cmpl (%r12), %ecx jae LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl 24(%r15), %edi movq %r14, %rsi movl %ebx, %edx callq _xa_entry movl %eax, %edi callq _xa_is_sibling leal 1(%rbx), %ecx testl %eax, %eax jne LBB0_4 LBB0_6: subl (%r15), %ebx movb (%r14), %cl shll %cl, %ebx jmp LBB0_7 LBB0_2: movl $1, %ebx LBB0_7: addq %rbx, 16(%r15) movq _XAS_RESTART@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%r15) LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _XA_CHUNK_SIZE,4,2 ## @XA_CHUNK_SIZE .comm _XAS_RESTART,8,3 ## @XAS_RESTART .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xas_pause ; -- Begin function xas_pause .p2align 2 _xas_pause: ; @xas_pause .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x20, [x0, #8] bl _xas_invalid cbnz x0, LBB0_8 ; %bb.1: cbz x20, LBB0_6 ; %bb.2: ldr w8, [x19] add w8, w8, #1 Lloh0: adrp x22, _XA_CHUNK_SIZE@GOTPAGE Lloh1: ldr x22, [x22, _XA_CHUNK_SIZE@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x21, x8 ldr w8, [x22] cmp w21, w8 b.hs LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x19, #24] mov x1, x20 mov x2, x21 bl _xa_entry bl _xa_is_sibling add w8, w21, #1 cbnz w0, LBB0_3 LBB0_5: ldr w8, [x19] sub w8, w21, w8 ldr w9, [x20] lsl w8, w8, w9 b LBB0_7 LBB0_6: mov w8, #1 LBB0_7: ldr x9, [x19, #16] add x8, x9, x8 Lloh2: adrp x9, _XAS_RESTART@GOTPAGE Lloh3: ldr x9, [x9, _XAS_RESTART@GOTPAGEOFF] Lloh4: ldr x9, [x9] stp x9, x8, [x19, #8] LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _XA_CHUNK_SIZE,4,2 ; @XA_CHUNK_SIZE .comm _XAS_RESTART,8,3 ; @XAS_RESTART .subsections_via_symbols
AnghaBench/linux/tools/testing/radix-tree/extr_......libxarray.c_xas_pause.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thread_fn2 ## -- Begin function thread_fn2 .p2align 4, 0x90 _thread_fn2: ## @thread_fn2 .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___func__.thread_fn2(%rip), %rbx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $1, %edi callq _sleep movq %rbx, %rdi callq _puts jmp LBB0_1 .cfi_endproc ## -- End function .globl _thread_fn ## -- Begin function thread_fn .p2align 4, 0x90 _thread_fn: ## @thread_fn .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___func__.thread_fn(%rip), %rbx .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 movl $1, %edi callq _sleep movq %rbx, %rdi callq _puts jmp LBB1_1 .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 leaq _thread_fn(%rip), %rdx leaq -24(%rbp), %rdi xorl %esi, %esi xorl %ecx, %ecx callq _pthread_create leaq _thread_fn2(%rip), %rdx leaq -16(%rbp), %rdi xorl %esi, %esi xorl %ecx, %ecx callq _pthread_create leaq L___func__.main(%rip), %rbx .p2align 4, 0x90 LBB2_1: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _puts movl $1, %edi callq _sleep jmp LBB2_1 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___func__.thread_fn2: ## @__func__.thread_fn2 .asciz "thread_fn2" L___func__.thread_fn: ## @__func__.thread_fn .asciz "thread_fn" L___func__.main: ## @__func__.main .asciz "main" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _thread_fn2 ; -- Begin function thread_fn2 .p2align 2 _thread_fn2: ; @thread_fn2 .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, l___func__.thread_fn2@PAGE Lloh1: add x19, x19, l___func__.thread_fn2@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 mov w0, #1 bl _sleep mov x0, x19 bl _puts b LBB0_1 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _thread_fn ; -- Begin function thread_fn .p2align 2 _thread_fn: ; @thread_fn .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 Lloh2: adrp x19, l___func__.thread_fn@PAGE Lloh3: add x19, x19, l___func__.thread_fn@PAGEOFF LBB1_1: ; =>This Inner Loop Header: Depth=1 mov w0, #1 bl _sleep mov x0, x19 bl _puts b LBB1_1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh4: adrp x2, _thread_fn@PAGE Lloh5: add x2, x2, _thread_fn@PAGEOFF add x0, sp, #8 mov x1, #0 mov x3, #0 bl _pthread_create Lloh6: adrp x2, _thread_fn2@PAGE Lloh7: add x2, x2, _thread_fn2@PAGEOFF mov x0, sp mov x1, #0 mov x3, #0 bl _pthread_create Lloh8: adrp x19, l___func__.main@PAGE Lloh9: add x19, x19, l___func__.main@PAGEOFF LBB2_1: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _puts mov w0, #1 bl _sleep b LBB2_1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___func__.thread_fn2: ; @__func__.thread_fn2 .asciz "thread_fn2" l___func__.thread_fn: ; @__func__.thread_fn .asciz "thread_fn" l___func__.main: ; @__func__.main .asciz "main" .subsections_via_symbols
the_stack_data/40761678.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function write_signature _write_signature: ## @write_signature .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 movslq %esi, %rbx addq %rbx, %rdi xorl %esi, %esi movl $16, %edx callq _memset movl 12(%r14,%rbx), %edi movq _MAGIC_END@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MAGIC_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcpy xorl %edi, %edi movq %r14, %rsi movl %ebx, %edx callq _crc32 movl %eax, %edi callq _htonl movl %eax, 8(%r14,%rbx) movq $0, (%r14,%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MAGIC_END,4,2 ## @MAGIC_END .comm _MAGIC_LENGTH,4,2 ## @MAGIC_LENGTH .no_dead_strip _write_signature .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function write_signature _write_signature: ; @write_signature .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 add x21, x0, w1, sxtw mov x0, x21 mov w1, #0 mov w2, #16 bl _memset ldr w0, [x21, #12] Lloh0: adrp x8, _MAGIC_END@GOTPAGE Lloh1: ldr x8, [x8, _MAGIC_END@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _MAGIC_LENGTH@GOTPAGE Lloh4: ldr x8, [x8, _MAGIC_LENGTH@GOTPAGEOFF] Lloh5: ldr w2, [x8] bl _memcpy mov x0, #0 mov x1, x20 mov x2, x19 bl _crc32 bl _htonl str w0, [x21, #8] str xzr, [x21] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MAGIC_END,4,2 ; @MAGIC_END .comm _MAGIC_LENGTH,4,2 ; @MAGIC_LENGTH .no_dead_strip _write_signature .subsections_via_symbols
AnghaBench/openwrt/tools/firmware-utils/src/extr_mkfwimage2.c_write_signature.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpu_copy_thread ## -- Begin function cpu_copy_thread .p2align 4, 0x90 _cpu_copy_thread: ## @cpu_copy_thread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rsi), %rax movq 8(%rdi), %rcx movl (%rax), %eax movl %eax, (%rcx) movq 16(%rsi), %rax movq 16(%rdi), %rcx movl (%rax), %eax movl %eax, (%rcx) movq _fork_return@GOTPCREL(%rip), %rax movq (%rax), %rax movq 16(%rdi), %rcx movq %rax, 40(%rcx) movq %rdi, 32(%rcx) movq _fork_trampoline@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%rcx) movq 8(%rdi), %rdi callq _STACKALIGN movq 16(%rbx), %rcx movl %eax, 16(%rcx) movq _PSR_C@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax movq 8(%rbx), %rcx andl %eax, 8(%rcx) movq $0, (%rcx) movl $1, (%rbx) movq _PSR_SVC32_MODE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _fork_return,8,3 ## @fork_return .comm _fork_trampoline,8,3 ## @fork_trampoline .comm _PSR_C,4,2 ## @PSR_C .comm _PSR_SVC32_MODE,4,2 ## @PSR_SVC32_MODE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpu_copy_thread ; -- Begin function cpu_copy_thread .p2align 2 _cpu_copy_thread: ; @cpu_copy_thread .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x1, #8] ldr x9, [x0, #8] ldr w8, [x8] str w8, [x9] ldr x8, [x1, #16] ldr x9, [x0, #16] ldr w8, [x8] str w8, [x9] Lloh0: adrp x8, _fork_return@GOTPAGE Lloh1: ldr x8, [x8, _fork_return@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldp x0, x9, [x0, #8] str x8, [x9, #40] Lloh3: adrp x8, _fork_trampoline@GOTPAGE Lloh4: ldr x8, [x8, _fork_trampoline@GOTPAGEOFF] Lloh5: ldr x8, [x8] stp x8, x19, [x9, #24] bl _STACKALIGN Lloh6: adrp x8, _PSR_C@GOTPAGE Lloh7: ldr x8, [x8, _PSR_C@GOTPAGEOFF] ldp x10, x9, [x19, #8] str w0, [x9, #16] Lloh8: ldr w8, [x8] ldr w9, [x10, #8] bic w8, w9, w8 str w8, [x10, #8] str xzr, [x10] mov w8, #1 str w8, [x19] Lloh9: adrp x8, _PSR_SVC32_MODE@GOTPAGE Lloh10: ldr x8, [x8, _PSR_SVC32_MODE@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [x19, #4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _fork_return,8,3 ; @fork_return .comm _fork_trampoline,8,3 ; @fork_trampoline .comm _PSR_C,4,2 ; @PSR_C .comm _PSR_SVC32_MODE,4,2 ; @PSR_SVC32_MODE .subsections_via_symbols
AnghaBench/freebsd/sys/arm/arm/extr_vm_machdep.c_cpu_copy_thread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function script_mode_init _script_mode_init: ## @script_mode_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 cmpq $0, 8(%rdi) jne LBB0_2 ## %bb.1: movq %rdi, %rbx movl $8, %edi callq _g_malloc0 movq %rax, %r14 movq %rax, 8(%rbx) movq (%rbx), %rsi movq %rbx, %rdi xorl %edx, %edx movq %rax, %rcx callq _get_script_output movl %eax, 4(%r14) LBB0_2: movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .no_dead_strip _script_mode_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function script_mode_init _script_mode_init: ; @script_mode_init .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #8] cbnz x8, LBB0_2 ; %bb.1: mov x19, x0 mov w0, #8 bl _g_malloc0 mov x20, x0 str x0, [x19, #8] ldr x1, [x19] mov x0, x19 mov x2, #0 mov x3, x20 bl _get_script_output str w0, [x20, #4] LBB0_2: Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh2: ldr w0, [x8] 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 _TRUE,4,2 ; @TRUE .no_dead_strip _script_mode_init .subsections_via_symbols
AnghaBench/rofi/source/dialogs/extr_script.c_script_mode_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _btrfs_block_rsv_add ## -- Begin function btrfs_block_rsv_add .p2align 4, 0x90 _btrfs_block_rsv_add: ## @btrfs_block_rsv_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 xorl %eax, %eax testq %rdx, %rdx je LBB0_3 ## %bb.1: movq %rdx, %rbx movq %rsi, %r14 callq _btrfs_reserve_metadata_bytes testl %eax, %eax jne LBB0_3 ## %bb.2: movq %r14, %rdi movq %rbx, %rsi movl $1, %edx callq _btrfs_block_rsv_add_bytes xorl %eax, %eax LBB0_3: 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 _btrfs_block_rsv_add ; -- Begin function btrfs_block_rsv_add .p2align 2 _btrfs_block_rsv_add: ; @btrfs_block_rsv_add .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 x2, LBB0_3 ; %bb.1: mov x19, x2 mov x20, x1 bl _btrfs_reserve_metadata_bytes cbnz w0, LBB0_4 ; %bb.2: mov x0, x20 mov x1, x19 mov w2, #1 bl _btrfs_block_rsv_add_bytes LBB0_3: mov w0, #0 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/fs/btrfs/extr_block-rsv.c_btrfs_block_rsv_add.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), %rax movq %rax, -48(%rbp) leaq L_.str.2(%rip), %r14 leaq -48(%rbp), %rbx movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %r15 movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %r12 movq %r12, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq -48(%rbp), %rsi leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movl -48(%rbp), %esi leaq L_.str.6(%rip), %r13 movq %r13, %rdi xorl %eax, %eax callq _printf leaq L_str(%rip), %rdi callq _puts movl $0, -48(%rbp) movq %r14, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq %r12, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movl -48(%rbp), %esi movq %r13, %rdi xorl %eax, %eax callq _printf 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 "Hello, World!" L_.str.2: ## @.str.2 .asciz "\tobject: %p\n" L_.str.3: ## @.str.3 .asciz "\tstr: %p\n" L_.str.4: ## @.str.4 .asciz "\tvalue: %p\n" L_.str.5: ## @.str.5 .asciz "Str: %s\n" L_.str.6: ## @.str.6 .asciz "Int: %x\n" L_str: ## @str .asciz "---" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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 Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF add x23, sp, #8 stp x23, x8, [sp] Lloh2: adrp x19, l_.str.2@PAGE Lloh3: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _printf str x23, [sp] Lloh4: adrp x20, l_.str.3@PAGE Lloh5: add x20, x20, l_.str.3@PAGEOFF mov x0, x20 bl _printf str x23, [sp] Lloh6: adrp x21, l_.str.4@PAGE Lloh7: add x21, x21, l_.str.4@PAGEOFF mov x0, x21 bl _printf ldr x8, [sp, #8] str x8, [sp] Lloh8: adrp x0, l_.str.5@PAGE Lloh9: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr w8, [sp, #8] str x8, [sp] Lloh10: adrp x22, l_.str.6@PAGE Lloh11: add x22, x22, l_.str.6@PAGEOFF mov x0, x22 bl _printf Lloh12: adrp x0, l_str@PAGE Lloh13: add x0, x0, l_str@PAGEOFF bl _puts str wzr, [sp, #8] str x23, [sp] mov x0, x19 bl _printf str x23, [sp] mov x0, x20 bl _printf str x23, [sp] mov x0, x21 bl _printf ldr w8, [sp, #8] str x8, [sp] mov x0, x22 bl _printf 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 ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hello, World!" l_.str.2: ; @.str.2 .asciz "\tobject: %p\n" l_.str.3: ; @.str.3 .asciz "\tstr: %p\n" l_.str.4: ; @.str.4 .asciz "\tvalue: %p\n" l_.str.5: ; @.str.5 .asciz "Str: %s\n" l_.str.6: ; @.str.6 .asciz "Int: %x\n" l_str: ; @str .asciz "---" .subsections_via_symbols
the_stack_data/86076374.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ftp_connect _ftp_connect: ## @ftp_connect .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 movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsi) leaq L_.str(%rip), %rsi callq _connkeep movq _RESP_TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%rbx) movq _ftp_statemach_act@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%rbx) movq _ftp_endofresp@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rbx) movq %rbx, 8(%rbx) movq (%rbx), %rax movq _PROTOPT_SSL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, (%rax) je LBB0_3 ## %bb.1: movq _FIRSTSOCKET@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _Curl_ssl_connect testq %rax, %rax je LBB0_3 ## %bb.2: popq %rbx popq %r14 popq %rbp retq LBB0_3: leaq 8(%rbx), %rdi callq _Curl_pp_init movq _FTP_WAIT220@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _state movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %rbp jmp _ftp_multi_statemach ## TAILCALL .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "FTP default" .comm _RESP_TIMEOUT,4,2 ## @RESP_TIMEOUT .comm _ftp_statemach_act,4,2 ## @ftp_statemach_act .comm _ftp_endofresp,4,2 ## @ftp_endofresp .comm _PROTOPT_SSL,4,2 ## @PROTOPT_SSL .comm _FIRSTSOCKET,4,2 ## @FIRSTSOCKET .comm _FTP_WAIT220,4,2 ## @FTP_WAIT220 .no_dead_strip _ftp_connect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ftp_connect _ftp_connect: ; @ftp_connect .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, _FALSE@GOTPAGE Lloh1: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x1] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _connkeep Lloh5: adrp x8, _RESP_TIMEOUT@GOTPAGE Lloh6: ldr x8, [x8, _RESP_TIMEOUT@GOTPAGEOFF] Lloh7: ldr w8, [x8] str w8, [x20, #24] Lloh8: adrp x8, _ftp_statemach_act@GOTPAGE Lloh9: ldr x8, [x8, _ftp_statemach_act@GOTPAGEOFF] Lloh10: ldr w8, [x8] Lloh11: adrp x9, _ftp_endofresp@GOTPAGE Lloh12: ldr x9, [x9, _ftp_endofresp@GOTPAGEOFF] Lloh13: ldr w9, [x9] stp w9, w8, [x20, #16] str x20, [x20, #8] ldr x8, [x20] ldr w8, [x8] Lloh14: adrp x9, _PROTOPT_SSL@GOTPAGE Lloh15: ldr x9, [x9, _PROTOPT_SSL@GOTPAGEOFF] Lloh16: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.1: Lloh17: adrp x8, _FIRSTSOCKET@GOTPAGE Lloh18: ldr x8, [x8, _FIRSTSOCKET@GOTPAGEOFF] Lloh19: ldr w1, [x8] mov x0, x20 bl _Curl_ssl_connect cbz x0, LBB0_3 ; %bb.2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: add x0, x20, #8 bl _Curl_pp_init Lloh20: adrp x8, _FTP_WAIT220@GOTPAGE Lloh21: ldr x8, [x8, _FTP_WAIT220@GOTPAGEOFF] Lloh22: ldr w1, [x8] mov x0, x20 bl _state mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ftp_multi_statemach .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "FTP default" .comm _RESP_TIMEOUT,4,2 ; @RESP_TIMEOUT .comm _ftp_statemach_act,4,2 ; @ftp_statemach_act .comm _ftp_endofresp,4,2 ; @ftp_endofresp .comm _PROTOPT_SSL,4,2 ; @PROTOPT_SSL .comm _FIRSTSOCKET,4,2 ; @FIRSTSOCKET .comm _FTP_WAIT220,4,2 ; @FTP_WAIT220 .no_dead_strip _ftp_connect .subsections_via_symbols
AnghaBench/curl/lib/extr_ftp.c_ftp_connect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hash_ipportnet6_data_zero_out _hash_ipportnet6_data_zero_out: ## @hash_ipportnet6_data_zero_out .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 .no_dead_strip _hash_ipportnet6_data_zero_out .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hash_ipportnet6_data_zero_out _hash_ipportnet6_data_zero_out: ; @hash_ipportnet6_data_zero_out .cfi_startproc ; %bb.0: str xzr, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _hash_ipportnet6_data_zero_out .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet6_data_zero_out.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cros_ec_sensors_read_until_not_busy _cros_ec_sensors_read_until_not_busy: ## @cros_ec_sensors_read_until_not_busy .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 _EC_MEMMAP_ACC_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -44(%rbp), %rdx movq %r12, %rdi callq _cros_ec_sensors_cmd_read_u8 testl %eax, %eax js LBB0_8 ## %bb.1: xorl %ebx, %ebx movb $1, %r13b movq _EC_MEMMAP_ACC_STATUS_BUSY_BIT@GOTPCREL(%rip), %r15 leaq -44(%rbp), %r14 jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq _EC_MEMMAP_ACC_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi movq %r14, %rdx callq _cros_ec_sensors_cmd_read_u8 decl %ebx incb %r13b testl %eax, %eax js LBB0_8 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %eax testl %eax, (%r15) je LBB0_8 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $-50, %ebx je LBB0_4 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movzbl %r13b, %eax imull $205, %eax, %eax shrl $10, %eax leal (%rax,%rax,4), %eax movb $1, %cl subb %al, %cl cmpb %bl, %cl jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl $25, %edi callq _msleep jmp LBB0_7 LBB0_4: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EC_MEMMAP_ACC_STATUS,4,2 ## @EC_MEMMAP_ACC_STATUS .comm _EC_MEMMAP_ACC_STATUS_BUSY_BIT,4,2 ## @EC_MEMMAP_ACC_STATUS_BUSY_BIT .comm _EIO,4,2 ## @EIO .no_dead_strip _cros_ec_sensors_read_until_not_busy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cros_ec_sensors_read_until_not_busy _cros_ec_sensors_read_until_not_busy: ; @cros_ec_sensors_read_until_not_busy .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 ldr x19, [x0] Lloh0: adrp x20, _EC_MEMMAP_ACC_STATUS@GOTPAGE Lloh1: ldr x20, [x20, _EC_MEMMAP_ACC_STATUS@GOTPAGEOFF] ldr w1, [x20] add x2, sp, #12 mov x0, x19 bl _cros_ec_sensors_cmd_read_u8 tbnz w0, #31, LBB0_8 ; %bb.1: mov w21, #1 Lloh2: adrp x22, _EC_MEMMAP_ACC_STATUS_BUSY_BIT@GOTPAGE Lloh3: ldr x22, [x22, _EC_MEMMAP_ACC_STATUS_BUSY_BIT@GOTPAGEOFF] mov w23, #52429 movk w23, #52428, lsl #16 mov w24, #858993459 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr w1, [x20] add x2, sp, #12 mov x0, x19 bl _cros_ec_sensors_cmd_read_u8 add w21, w21, #1 tbnz w0, #31, LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [sp, #12] ldr w8, [x22] tst w8, w0 b.eq LBB0_8 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 cmp w21, #51 b.eq LBB0_7 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 and w8, w21, #0xff mul w8, w8, w23 cmp w8, w24 b.hi LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov w0, #25 bl _msleep b LBB0_2 LBB0_7: Lloh4: adrp x8, _EIO@GOTPAGE Lloh5: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w0, w8 LBB0_8: 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 AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _EC_MEMMAP_ACC_STATUS,4,2 ; @EC_MEMMAP_ACC_STATUS .comm _EC_MEMMAP_ACC_STATUS_BUSY_BIT,4,2 ; @EC_MEMMAP_ACC_STATUS_BUSY_BIT .comm _EIO,4,2 ; @EIO .no_dead_strip _cros_ec_sensors_read_until_not_busy .subsections_via_symbols
AnghaBench/linux/drivers/iio/common/cros_ec_sensors/extr_cros_ec_sensors_core.c_cros_ec_sensors_read_until_not_busy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mv_xor_run_tx_complete_actions _mv_xor_run_tx_complete_actions: ## @mv_xor_run_tx_complete_actions .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 8(%rdi), %r12 movq 8(%rdi), %rdi shrq $63, %rdi ## kill: def $edi killed $edi killed $rdi callq _BUG_ON movq 8(%r15), %r13 testq %r13, %r13 jle LBB0_19 ## %bb.1: movq 24(%r15), %rax testq %rax, %rax je LBB0_3 ## %bb.2: movl 20(%r15), %edi callq *%rax LBB0_3: movq 32(%r15), %rbx testq %rbx, %rbx je LBB0_9 ## %bb.4: cmpl $0, (%r15) je LBB0_9 ## %bb.5: movq %r13, -64(%rbp) ## 8-byte Spill movq %r12, -72(%rbp) ## 8-byte Spill movq (%r14), %rax movq (%rax), %rax movq %rax, -56(%rbp) ## 8-byte Spill movl (%rbx), %r13d movl 4(%rbx), %r14d movl 16(%r15), %r12d movq %rbx, %rdi callq _mv_desc_get_dest_addr movl %r12d, %ecx movq %rax, %r12 movq _DMA_COMPL_SKIP_DEST_UNMAP@GOTPCREL(%rip), %rax testl %ecx, (%rax) jne LBB0_12 ## %bb.6: cmpl $2, %r14d movl %ecx, -44(%rbp) ## 4-byte Spill jl LBB0_10 ## %bb.7: movq _DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_9: movq %r13, %rbx jmp LBB0_19 LBB0_10: movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rax LBB0_11: movl (%rax), %ecx movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movl %r13d, %edx callq _dma_unmap_page movl -44(%rbp), %ecx ## 4-byte Reload LBB0_12: movq _DMA_COMPL_SKIP_SRC_UNMAP@GOTPCREL(%rip), %rax testl %ecx, (%rax) jne LBB0_18 ## %bb.13: testl %r14d, %r14d je LBB0_18 ## %bb.14: decl %r14d jmp LBB0_16 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_16 Depth=1 addl $-1, %r14d jae LBB0_18 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movl %r14d, %esi callq _mv_desc_get_src_addr cmpq %r12, %rax je LBB0_15 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq -56(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi movl %r13d, %edx callq _dma_unmap_page jmp LBB0_15 LBB0_18: movq $0, 32(%r15) movq -64(%rbp), %rbx ## 8-byte Reload movq -72(%rbp), %r12 ## 8-byte Reload LBB0_19: movq %r12, %rdi callq _dma_run_dependencies movq %rbx, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DMA_COMPL_SKIP_DEST_UNMAP,4,2 ## @DMA_COMPL_SKIP_DEST_UNMAP .comm _DMA_BIDIRECTIONAL,4,2 ## @DMA_BIDIRECTIONAL .comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE .comm _DMA_COMPL_SKIP_SRC_UNMAP,4,2 ## @DMA_COMPL_SKIP_SRC_UNMAP .comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE .no_dead_strip _mv_xor_run_tx_complete_actions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mv_xor_run_tx_complete_actions _mv_xor_run_tx_complete_actions: ; @mv_xor_run_tx_complete_actions .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 x21, x2 mov x22, x1 mov x20, x0 mov x19, x0 ldr x8, [x19, #8]! lsr x0, x8, #63 ; kill: def $w0 killed $w0 killed $x0 bl _BUG_ON ldr x26, [x19] cmp x26, #1 b.lt LBB0_10 ; %bb.1: ldr x8, [x20, #24] cbz x8, LBB0_3 ; %bb.2: ldr w0, [x20, #20] blr x8 LBB0_3: ldr x21, [x20, #32] cbz x21, LBB0_9 ; %bb.4: ldr w8, [x20] cbz w8, LBB0_9 ; %bb.5: ldr x8, [x22] ldr x22, [x8] ldr w27, [x20, #16] ldp w23, w25, [x21] mov x0, x21 bl _mv_desc_get_dest_addr mov x24, x0 Lloh0: adrp x8, _DMA_COMPL_SKIP_DEST_UNMAP@GOTPAGE Lloh1: ldr x8, [x8, _DMA_COMPL_SKIP_DEST_UNMAP@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w27 b.ne LBB0_7 ; %bb.6: Lloh3: adrp x8, _DMA_BIDIRECTIONAL@GOTPAGE Lloh4: ldr x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF] Lloh5: adrp x9, _DMA_FROM_DEVICE@GOTPAGE Lloh6: ldr x9, [x9, _DMA_FROM_DEVICE@GOTPAGEOFF] cmp w25, #1 csel x8, x8, x9, gt ldr w3, [x8] mov x0, x22 mov x1, x24 mov x2, x23 bl _dma_unmap_page LBB0_7: Lloh7: adrp x8, _DMA_COMPL_SKIP_SRC_UNMAP@GOTPAGE Lloh8: ldr x8, [x8, _DMA_COMPL_SKIP_SRC_UNMAP@GOTPAGEOFF] Lloh9: ldr w8, [x8] and w8, w8, w27 cmp w8, #0 ccmp w25, #0, #4, eq b.ne LBB0_11 LBB0_8: str xzr, [x20, #32] LBB0_9: mov x21, x26 LBB0_10: mov x0, x19 bl _dma_run_dependencies 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 ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_11: sub w25, w25, #1 Lloh10: adrp x27, _DMA_TO_DEVICE@GOTPAGE Lloh11: ldr x27, [x27, _DMA_TO_DEVICE@GOTPAGEOFF] b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=1 sub w25, w25, #1 cmn w25, #1 b.eq LBB0_8 LBB0_13: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x25 bl _mv_desc_get_src_addr cmp x0, x24 b.eq LBB0_12 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 mov x1, x0 ldr w3, [x27] mov x0, x22 mov x2, x23 bl _dma_unmap_page b LBB0_12 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _DMA_COMPL_SKIP_DEST_UNMAP,4,2 ; @DMA_COMPL_SKIP_DEST_UNMAP .comm _DMA_BIDIRECTIONAL,4,2 ; @DMA_BIDIRECTIONAL .comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE .comm _DMA_COMPL_SKIP_SRC_UNMAP,4,2 ; @DMA_COMPL_SKIP_SRC_UNMAP .comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE .no_dead_strip _mv_xor_run_tx_complete_actions .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/dma/extr_mv_xor.c_mv_xor_run_tx_complete_actions.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function decode_delegation _decode_delegation: ## @decode_delegation .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movl $4, %esi callq _xdr_inline_decode movq %rax, %rbx xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_1 LBB0_4: movq _EIO@GOTPCREL(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx LBB0_5: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_1: movq %rbx, %rdi callq _be32_to_cpup ## kill: def $eax killed $eax def $rax movq $0, (%r14) leal -128(%rax), %ecx cmpl $2, %ecx jb LBB0_6 ## %bb.2: cmpl $130, %eax je LBB0_7 ## %bb.3: xorl %ecx, %ecx cmpl $131, %eax je LBB0_5 jmp LBB0_4 LBB0_6: movq %r15, %rdi movl %eax, %esi movq %r14, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _decode_rw_delegation ## TAILCALL LBB0_7: movq %r15, %rdi movq %r14, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _decode_no_delegation ## TAILCALL .cfi_endproc ## -- End function .comm _EIO,4,2 ## @EIO .no_dead_strip _decode_delegation .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function decode_delegation _decode_delegation: ; @decode_delegation .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 mov w1, #4 bl _xdr_inline_decode mov x21, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_3 LBB0_1: Lloh0: adrp x8, _EIO@GOTPAGE Lloh1: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_3: mov x0, x21 bl _be32_to_cpup mov x1, x0 str xzr, [x19] sub w8, w0, #128 cmp w8, #2 b.lo LBB0_7 ; %bb.4: cmp w1, #130 b.eq LBB0_8 ; %bb.5: cmp w1, #131 b.ne LBB0_1 ; %bb.6: mov w0, #0 b LBB0_2 LBB0_7: mov x0, x20 mov x2, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _decode_rw_delegation LBB0_8: mov x0, x20 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 _decode_no_delegation .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EIO,4,2 ; @EIO .no_dead_strip _decode_delegation .subsections_via_symbols
AnghaBench/linux/fs/nfs/extr_nfs4xdr.c_decode_delegation.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_object_raw_compare__succeed_on_copy_oid ## -- Begin function test_object_raw_compare__succeed_on_copy_oid .p2align 4, 0x90 _test_object_raw_compare__succeed_on_copy_oid: ## @test_object_raw_compare__succeed_on_copy_oid .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 $56, %rsp .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) movaps l___const.test_object_raw_compare__succeed_on_copy_oid.exp(%rip), %xmm0 movaps %xmm0, -64(%rbp) movl $-520784707, -48(%rbp) ## imm = 0xE0F574BD leaq -80(%rbp), %r14 movq %r14, %rdi xorl %esi, %esi movl $4, %edx callq _memset leaq -72(%rbp), %rbx leaq -64(%rbp), %r15 movq %rbx, %rdi movq %r15, %rsi callq _git_oid_fromraw movq %r14, %rdi movq %rbx, %rsi callq _git_oid_cpy movl -72(%rbp), %edi movq %r15, %rsi movl $4, %edx callq _memcmp movl %eax, %edi callq _cl_git_pass movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_2 ## %bb.1: addq $56, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.test_object_raw_compare__succeed_on_copy_oid.exp l___const.test_object_raw_compare__succeed_on_copy_oid.exp: .ascii "\026\246wp\267\330\327#\027\304\267u!<#\250\275t\365\340" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_object_raw_compare__succeed_on_copy_oid ; -- Begin function test_object_raw_compare__succeed_on_copy_oid .p2align 2 _test_object_raw_compare__succeed_on_copy_oid: ; @test_object_raw_compare__succeed_on_copy_oid .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] Lloh3: adrp x8, l___const.test_object_raw_compare__succeed_on_copy_oid.exp@PAGE Lloh4: add x8, x8, l___const.test_object_raw_compare__succeed_on_copy_oid.exp@PAGEOFF Lloh5: ldr q0, [x8] str q0, [sp, #16] mov w8, #29885 movk w8, #57589, lsl #16 str w8, [sp, #32] mov x0, sp mov w1, #0 mov w2, #4 bl _memset add x0, sp, #8 add x1, sp, #16 bl _git_oid_fromraw mov x0, sp add x1, sp, #8 bl _git_oid_cpy ldr w0, [sp, #8] add x1, sp, #16 mov w2, #4 bl _memcmp bl _cl_git_pass ldur x8, [x29, #-8] Lloh6: adrp x9, ___stack_chk_guard@GOTPAGE Lloh7: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAddLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__const l___const.test_object_raw_compare__succeed_on_copy_oid.exp: ; @__const.test_object_raw_compare__succeed_on_copy_oid.exp .ascii "\026\246wp\267\330\327#\027\304\267u!<#\250\275t\365\340" .subsections_via_symbols
AnghaBench/libgit2/tests/object/raw/extr_compare.c_test_object_raw_compare__succeed_on_copy_oid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _StEnumHub ## -- Begin function StEnumHub .p2align 4, 0x90 _StEnumHub: ## @StEnumHub .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, -48(%rbp) ## 8-byte Spill movq 8(%rdi), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq 16(%rax), %r13 movq %rsi, %rdi callq _FreeRpcEnumHub movq %r14, %rdi movl $16, %esi callq _Zero movq %r13, %rdi callq _LockHubList movl (%r13), %edi callq _LIST_NUM testq %rax, %rax jle LBB0_1 ## %bb.2: xorl %ebx, %ebx xorl %r15d, %r15d jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 incq %r15 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 incq %rbx movl (%r13), %edi callq _LIST_NUM cmpq %rax, %rbx jge LBB0_8 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r13), %edi movq %rbx, %rsi callq _LIST_DATA movq %rax, %r12 movl (%rax), %edi callq _Lock movq -48(%rbp), %rax ## 8-byte Reload cmpl $0, (%rax) jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 72(%r12) je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl 64(%r12), %edi movq -48(%rbp), %rax ## 8-byte Reload movl 4(%rax), %esi callq _StrCmpi testq %rax, %rax jne LBB0_7 jmp LBB0_6 LBB0_1: xorl %r15d, %r15d LBB0_8: movq %r15, (%r14) shll $4, %r15d leal (%r15,%r15,4), %edi callq _ZeroMalloc movq %rax, 8(%r14) movl (%r13), %edi callq _LIST_NUM testq %rax, %rax jle LBB0_17 ## %bb.9: xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r12d, %r12d movq %r13, -64(%rbp) ## 8-byte Spill jmp LBB0_10 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_10 Depth=1 incq -56(%rbp) ## 8-byte Folded Spill movups 12(%r13), %xmm0 movups %xmm0, 40(%rbx,%r15) movl 4(%r13), %edi callq _Lock leaq (%rbx,%r15), %rdi addq $36, %rdi movl 8(%r13), %esi movl $4, %edx callq _Copy movl 4(%r13), %edi callq _Unlock movl $1, 4(%rbx,%r15) LBB0_16: ## in Loop: Header=BB0_10 Depth=1 movl (%r13), %edi callq _Unlock incq %r12 movq -64(%rbp), %r13 ## 8-byte Reload movl (%r13), %edi callq _LIST_NUM cmpq %rax, %r12 jge LBB0_17 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl (%r13), %edi movq %r12, %rsi callq _LIST_DATA movq %rax, %r13 movq -48(%rbp), %rax ## 8-byte Reload cmpl $0, (%rax) je LBB0_11 LBB0_13: ## in Loop: Header=BB0_10 Depth=1 movq 8(%r14), %rbx movq -56(%rbp), %rax ## 8-byte Reload leaq (%rax,%rax,4), %r15 shlq $4, %r15 movl 32(%rbx,%r15), %edi movl 64(%r13), %edx movl $4, %esi callq _StrCpy xorl %eax, %eax cmpq $0, 56(%r13) sete %al movl %eax, (%rbx,%r15) movl 52(%r13), %eax movl %eax, 72(%rbx,%r15) movl 48(%r13), %edi callq _LIST_NUM movq %rax, 8(%rbx,%r15) movl 44(%r13), %edi callq _LockHashList movl 44(%r13), %edi callq _HASH_LIST_NUM movl %eax, 16(%rbx,%r15) movl 44(%r13), %edi callq _UnlockHashList movl 40(%r13), %edi callq _LockList movl 40(%r13), %edi callq _LIST_NUM movq %rax, 24(%rbx,%r15) movl 40(%r13), %edi callq _UnlockList movq 32(%r13), %rax testq %rax, %rax je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_10 Depth=1 movl 4(%rax), %edi callq _LockList movq 32(%r13), %rax movl 4(%rax), %edi callq _LIST_NUM movq %rax, 64(%rbx,%r15) movq 32(%r13), %rax movl 4(%rax), %edi callq _UnlockList movq 32(%r13), %rax movl (%rax), %edi callq _LockList movq 32(%r13), %rax movl (%rax), %edi callq _LIST_NUM movq %rax, 56(%rbx,%r15) movq 32(%r13), %rax movl (%rax), %edi callq _UnlockList jmp LBB0_15 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_10 Depth=1 cmpq $0, 72(%r13) je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movl 64(%r13), %edi movq -48(%rbp), %rax ## 8-byte Reload movl 4(%rax), %esi callq _StrCmpi testq %rax, %rax jne LBB0_16 jmp LBB0_13 LBB0_17: movq %r13, %rdi callq _UnlockHubList movq -72(%rbp), %r15 ## 8-byte Reload movq (%r15), %rax movq _SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_31 ## %bb.18: movl 8(%r15), %edi callq _LockList movl 8(%r15), %edi callq _LIST_NUM testq %rax, %rax jle LBB0_30 ## %bb.19: xorl %ebx, %ebx jmp LBB0_20 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_20 Depth=1 movl 4(%r15), %edi callq _UnlockList movq -64(%rbp), %rbx ## 8-byte Reload incq %rbx movq -72(%rbp), %r15 ## 8-byte Reload movl 8(%r15), %edi callq _LIST_NUM cmpq %rax, %rbx jge LBB0_30 LBB0_20: ## =>This Loop Header: Depth=1 ## Child Loop BB0_23 Depth 2 ## Child Loop BB0_25 Depth 3 movl 8(%r15), %edi movq %rbx, -64(%rbp) ## 8-byte Spill movq %rbx, %rsi callq _LIST_DATA movq %rax, %r15 movl 4(%rax), %edi callq _LockList cmpl $0, (%r15) jne LBB0_29 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movl 4(%r15), %edi callq _LIST_NUM testq %rax, %rax jle LBB0_29 ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 xorl %ebx, %ebx movq %r15, -56(%rbp) ## 8-byte Spill jmp LBB0_23 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_23 Depth=2 movq -48(%rbp), %rbx ## 8-byte Reload incq %rbx movq -56(%rbp), %r15 ## 8-byte Reload movl 4(%r15), %edi callq _LIST_NUM cmpq %rax, %rbx jge LBB0_29 LBB0_23: ## Parent Loop BB0_20 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_25 Depth 3 movl 4(%r15), %edi movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rsi callq _LIST_DATA cmpq $0, (%r14) jle LBB0_28 ## %bb.24: ## in Loop: Header=BB0_23 Depth=2 movq %rax, %rbx movl $8, %r12d xorl %r15d, %r15d jmp LBB0_25 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_25 Depth=3 incq %r15 addq $80, %r12 cmpq (%r14), %r15 jge LBB0_28 LBB0_25: ## Parent Loop BB0_20 Depth=1 ## Parent Loop BB0_23 Depth=2 ## => This Inner Loop Header: Depth=3 movq 8(%r14), %r13 movl 24(%r13,%r12), %edi movl 24(%rbx), %esi callq _StrCmpi testq %rax, %rax jne LBB0_27 ## %bb.26: ## in Loop: Header=BB0_25 Depth=3 movq 16(%rbx), %rax addq %rax, 16(%r13,%r12) movl 8(%rbx), %eax addl %eax, 8(%r13,%r12) movq (%rbx), %rax addq %rax, (%r13,%r12) jmp LBB0_27 LBB0_30: movl 8(%r15), %edi callq _UnlockList LBB0_31: movq _ERR_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SERVER_TYPE_FARM_CONTROLLER,8,3 ## @SERVER_TYPE_FARM_CONTROLLER .comm _ERR_NO_ERROR,8,3 ## @ERR_NO_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _StEnumHub ; -- Begin function StEnumHub .p2align 2 _StEnumHub: ; @StEnumHub .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x21, x0 ldr x24, [x0, #8] ldr x20, [x24, #16] mov x0, x1 bl _FreeRpcEnumHub mov x0, x19 mov w1, #16 bl _Zero mov x0, x20 bl _LockHubList ldr w0, [x20] bl _LIST_NUM cmp x0, #1 b.lt LBB0_7 ; %bb.1: mov x22, #0 mov x25, #0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add x25, x25, #1 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x22, x22, #1 ldr w0, [x20] bl _LIST_NUM cmp x22, x0 b.ge LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20] mov x1, x22 bl _LIST_DATA mov x23, x0 ldr w0, [x0] bl _Lock ldr w8, [x21] cbnz w8, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x23, #72] cbz x8, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x23, #64] ldr w1, [x21, #4] bl _StrCmpi cbnz x0, LBB0_3 b LBB0_2 LBB0_7: mov x25, #0 LBB0_8: str x25, [x19] add w8, w25, w25, lsl #2 lsl w0, w8, #4 bl _ZeroMalloc str x0, [x19, #8] ldr w0, [x20] bl _LIST_NUM cmp x0, #1 b.lt LBB0_17 ; %bb.9: mov x27, #0 mov x22, #0 mov w25, #80 b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 add x26, x27, #1 madd x27, x27, x25, x28 ldur q0, [x23, #12] stur q0, [x27, #40] ldr w0, [x23, #4] bl _Lock add x0, x27, #36 ldr w1, [x23, #8] mov w2, #4 bl _Copy ldr w0, [x23, #4] bl _Unlock mov w8, #1 str w8, [x27, #4] mov x27, x26 LBB0_11: ; in Loop: Header=BB0_12 Depth=1 ldr w0, [x23] bl _Unlock add x22, x22, #1 ldr w0, [x20] bl _LIST_NUM cmp x22, x0 b.ge LBB0_17 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20] mov x1, x22 bl _LIST_DATA mov x23, x0 ldr w8, [x21] cbz w8, LBB0_15 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 ldr x28, [x19, #8] madd x26, x27, x25, x28 ldr w0, [x26, #32] ldr w2, [x23, #64] mov w1, #4 bl _StrCpy ldr x8, [x23, #56] cmp x8, #0 cset w8, eq str w8, [x26] ldp w0, w8, [x23, #48] str w8, [x26, #72] bl _LIST_NUM str x0, [x26, #8] ldr w0, [x23, #44] bl _LockHashList ldr w0, [x23, #44] bl _HASH_LIST_NUM str w0, [x26, #16] ldr w0, [x23, #44] bl _UnlockHashList ldr w0, [x23, #40] bl _LockList ldr w0, [x23, #40] bl _LIST_NUM str x0, [x26, #24] ldr w0, [x23, #40] bl _UnlockList ldr x8, [x23, #32] cbz x8, LBB0_10 ; %bb.14: ; in Loop: Header=BB0_12 Depth=1 ldr w0, [x8, #4] bl _LockList ldr x8, [x23, #32] ldr w0, [x8, #4] bl _LIST_NUM madd x26, x27, x25, x28 str x0, [x26, #64] ldr x8, [x23, #32] ldr w0, [x8, #4] bl _UnlockList ldr x8, [x23, #32] ldr w0, [x8] bl _LockList ldr x8, [x23, #32] ldr w0, [x8] bl _LIST_NUM str x0, [x26, #56] ldr x8, [x23, #32] ldr w0, [x8] bl _UnlockList b LBB0_10 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [x23, #72] cbz x8, LBB0_13 ; %bb.16: ; in Loop: Header=BB0_12 Depth=1 ldr w0, [x23, #64] ldr w1, [x21, #4] bl _StrCmpi cbnz x0, LBB0_11 b LBB0_13 LBB0_17: mov x0, x20 bl _UnlockHubList ldr x8, [x24] Lloh0: adrp x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE Lloh1: ldr x9, [x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_31 ; %bb.18: ldr w0, [x24, #8] bl _LockList ldr w0, [x24, #8] bl _LIST_NUM cmp x0, #1 b.lt LBB0_30 ; %bb.19: mov x20, #0 b LBB0_21 LBB0_20: ; in Loop: Header=BB0_21 Depth=1 ldr w0, [x21, #4] bl _UnlockList add x20, x20, #1 ldr w0, [x24, #8] bl _LIST_NUM cmp x20, x0 b.ge LBB0_30 LBB0_21: ; =>This Loop Header: Depth=1 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_28 Depth 3 ldr w0, [x24, #8] mov x1, x20 bl _LIST_DATA mov x21, x0 ldr w0, [x0, #4] bl _LockList ldr w8, [x21] cbnz w8, LBB0_20 ; %bb.22: ; in Loop: Header=BB0_21 Depth=1 ldr w0, [x21, #4] bl _LIST_NUM cmp x0, #1 b.lt LBB0_20 ; %bb.23: ; in Loop: Header=BB0_21 Depth=1 mov x22, #0 b LBB0_25 LBB0_24: ; in Loop: Header=BB0_25 Depth=2 add x22, x22, #1 ldr w0, [x21, #4] bl _LIST_NUM cmp x22, x0 b.ge LBB0_20 LBB0_25: ; Parent Loop BB0_21 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_28 Depth 3 ldr w0, [x21, #4] mov x1, x22 bl _LIST_DATA ldr x8, [x19] cmp x8, #1 b.lt LBB0_24 ; %bb.26: ; in Loop: Header=BB0_25 Depth=2 mov x23, x0 mov x25, #0 mov x26, #0 b LBB0_28 LBB0_27: ; in Loop: Header=BB0_28 Depth=3 add x26, x26, #1 ldr x8, [x19] add x25, x25, #80 cmp x26, x8 b.ge LBB0_24 LBB0_28: ; Parent Loop BB0_21 Depth=1 ; Parent Loop BB0_25 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [x19, #8] add x27, x8, x25 ldr w0, [x27, #32] ldr w1, [x23, #24] bl _StrCmpi cbnz x0, LBB0_27 ; %bb.29: ; in Loop: Header=BB0_28 Depth=3 ldr x8, [x23, #16] ldr x9, [x27, #24] add x8, x9, x8 str x8, [x27, #24] ldr w8, [x23, #8] ldr w9, [x27, #16] add w8, w9, w8 str w8, [x27, #16] ldr x8, [x23] ldr x9, [x27, #8] add x8, x9, x8 str x8, [x27, #8] b LBB0_27 LBB0_30: ldr w0, [x24, #8] bl _UnlockList LBB0_31: Lloh3: adrp x8, _ERR_NO_ERROR@GOTPAGE Lloh4: ldr x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF] Lloh5: ldr x0, [x8] 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 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _SERVER_TYPE_FARM_CONTROLLER,8,3 ; @SERVER_TYPE_FARM_CONTROLLER .comm _ERR_NO_ERROR,8,3 ; @ERR_NO_ERROR .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_StEnumHub.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_ctx _get_ctx: ## @get_ctx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _atomic_inc_not_zero xorl %edi, %edi testl %eax, %eax sete %dil popq %rbp jmp _WARN_ON ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _get_ctx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_ctx _get_ctx: ; @get_ctx .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 _atomic_inc_not_zero cmp w0, #0 cset w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _WARN_ON .cfi_endproc ; -- End function .no_dead_strip _get_ctx .subsections_via_symbols
AnghaBench/fastsocket/kernel/kernel/events/extr_core.c_get_ctx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dmu_read_impl _dmu_read_impl: ## @dmu_read_impl .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 ## kill: def $r8d killed $r8d def $r8 movq %r8, -80(%rbp) ## 8-byte Spill movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r13 movq %rdi, %r14 cmpq $0, (%rdi) je LBB0_1 ## %bb.5: testq %r15, %r15 jg LBB0_6 jmp LBB0_13 LBB0_1: movq 8(%r14), %rsi subq %r13, %rsi jge LBB0_3 ## %bb.2: xorl %r12d, %r12d jmp LBB0_4 LBB0_3: movl %r15d, %edi callq _MIN movq %rax, %r12 LBB0_4: leaq (%rbx,%r12), %rdi subq %r12, %r15 movq %r15, %rsi callq _bzero movq %r12, %r15 testq %r15, %r15 jle LBB0_13 LBB0_6: movq _FTAG@GOTPCREL(%rip), %r12 movq %r14, -72(%rbp) ## 8-byte Spill jmp LBB0_7 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movq -64(%rbp), %rdi movl (%r12), %edx ## kill: def $esi killed $esi killed $rsi callq _dmu_buf_rele_array testq %r15, %r15 jle LBB0_13 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 movq _DMU_MAX_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx movslq %ecx, %rsi movl %r15d, %edi callq _MIN movq _TRUE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl (%r12), %r8d movq %r14, %rdi movq %r13, %rsi movq %rax, %rdx leaq -44(%rbp), %r9 pushq -80(%rbp) ## 8-byte Folded Reload leaq -64(%rbp), %rax pushq %rax callq _dmu_buf_hold_array_by_dnode addq $16, %rsp testl %eax, %eax jne LBB0_14 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl -44(%rbp), %esi testl %esi, %esi jle LBB0_12 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r13, -56(%rbp) ## 8-byte Spill movq %rbx, -88(%rbp) ## 8-byte Spill movq -64(%rbp), %rax movq (%rax,%r12,8), %rbx xorl %edi, %edi testq %r15, %r15 setg %dil callq _ASSERT movq -56(%rbp), %r13 ## 8-byte Reload subq (%rbx), %r13 movl 8(%rbx), %edi subl %r13d, %edi movq %r15, %rsi callq _MIN movq %rax, %r14 movslq %r13d, %rsi movq -56(%rbp), %r13 ## 8-byte Reload addq 16(%rbx), %rsi movq -88(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi movq %rax, %rdx callq _memcpy addq %r14, %r13 subq %r14, %r15 addq %r14, %rbx incq %r12 movslq -44(%rbp), %rsi cmpq %rsi, %r12 jl LBB0_10 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movq -72(%rbp), %r14 ## 8-byte Reload movq _FTAG@GOTPCREL(%rip), %r12 jmp LBB0_12 LBB0_13: xorl %eax, %eax LBB0_14: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DMU_MAX_ACCESS,4,2 ## @DMU_MAX_ACCESS .comm _TRUE,4,2 ## @TRUE .comm _FTAG,4,2 ## @FTAG .no_dead_strip _dmu_read_impl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dmu_read_impl _dmu_read_impl: ; @dmu_read_impl .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, x4 mov x20, x3 mov x23, x2 mov x21, x1 mov x22, x0 ldr x8, [x0] cbz x8, LBB0_2 ; %bb.1: cmp x23, #1 b.ge LBB0_6 b LBB0_12 LBB0_2: ldr x8, [x22, #8] subs x1, x8, x21 b.ge LBB0_4 ; %bb.3: mov x24, #0 b LBB0_5 LBB0_4: mov x0, x23 bl _MIN mov x24, x0 LBB0_5: add x0, x20, x24 sub x1, x23, x24 bl _bzero mov x23, x24 cmp x23, #1 b.lt LBB0_12 LBB0_6: Lloh0: adrp x27, _FTAG@GOTPAGE Lloh1: ldr x27, [x27, _FTAG@GOTPAGEOFF] b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 ldr x0, [sp, #8] ldr w2, [x27] ; kill: def $w1 killed $w1 killed $x1 bl _dmu_buf_rele_array cmp x23, #0 b.le LBB0_12 LBB0_8: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 Lloh2: adrp x8, _DMU_MAX_ACCESS@GOTPAGE Lloh3: ldr x8, [x8, _DMU_MAX_ACCESS@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmp w8, #0 cinc w8, w8, lt sbfx x1, x8, #1, #31 mov x0, x23 bl _MIN mov x2, x0 Lloh5: adrp x8, _TRUE@GOTPAGE Lloh6: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh7: ldr w3, [x8] ldr w4, [x27] add x5, sp, #4 add x6, sp, #8 mov x0, x22 mov x1, x21 mov x7, x19 bl _dmu_buf_hold_array_by_dnode cbnz w0, LBB0_13 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldr w1, [sp, #4] cmp w1, #1 b.lt LBB0_7 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 mov x28, #0 LBB0_11: ; Parent Loop BB0_8 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #8] ldr x25, [x8, x28, lsl #3] cmp x23, #0 cset w0, gt bl _ASSERT ldr x8, [x25] ldr w9, [x25, #8] sub x26, x21, x8 sub w0, w9, w26 mov x1, x23 bl _MIN mov x24, x0 ldr x8, [x25, #16] add x1, x8, w26, sxtw mov x0, x20 mov x2, x24 bl _memcpy add x21, x24, x21 sub x23, x23, x24 add x20, x20, x24 add x28, x28, #1 ldrsw x1, [sp, #4] cmp x28, x1 b.lt LBB0_11 b LBB0_7 LBB0_12: mov w0, #0 LBB0_13: 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 AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _DMU_MAX_ACCESS,4,2 ; @DMU_MAX_ACCESS .comm _TRUE,4,2 ; @TRUE .comm _FTAG,4,2 ; @FTAG .no_dead_strip _dmu_read_impl .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_dmu.c_dmu_read_impl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nfc_genl_activate_target _nfc_genl_activate_target: ## @nfc_genl_activate_target .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rsi), %rax movq _NFC_ATTR_DEVICE_INDEX@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi testl %edi, %edi je LBB0_3 ## %bb.1: movq _NFC_ATTR_TARGET_INDEX@GOTPCREL(%rip), %r15 movq (%r15), %rcx cmpl $0, (%rax,%rcx,4) je LBB0_3 ## %bb.2: movq _NFC_ATTR_PROTOCOLS@GOTPCREL(%rip), %r12 movq (%r12), %rcx cmpl $0, (%rax,%rcx,4) je LBB0_3 ## %bb.5: movq %rsi, %rbx callq _nla_get_u32 movl %eax, %edi callq _nfc_get_device testq %rax, %rax je LBB0_6 ## %bb.7: movq %rax, %r14 movq (%rbx), %rax movq (%r15), %rcx movl (%rax,%rcx,4), %edi callq _nla_get_u32 movl %eax, %r15d movq (%rbx), %rax movq (%r12), %rcx movl (%rax,%rcx,4), %edi callq _nla_get_u32 movl %eax, %ebx movq _NFC_TARGET_MODE_SLEEP@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl %r15d, %esi callq _nfc_deactivate_target movq %r14, %rdi movl %r15d, %esi movl %ebx, %edx callq _nfc_activate_target movl %eax, %ebx movq %r14, %rdi callq _nfc_put_device movl %ebx, %eax jmp LBB0_8 LBB0_3: movq _EINVAL@GOTPCREL(%rip), %rcx LBB0_4: xorl %eax, %eax subl (%rcx), %eax LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq _ENODEV@GOTPCREL(%rip), %rcx jmp LBB0_4 .cfi_endproc ## -- End function .comm _NFC_ATTR_DEVICE_INDEX,8,3 ## @NFC_ATTR_DEVICE_INDEX .comm _NFC_ATTR_TARGET_INDEX,8,3 ## @NFC_ATTR_TARGET_INDEX .comm _NFC_ATTR_PROTOCOLS,8,3 ## @NFC_ATTR_PROTOCOLS .comm _EINVAL,4,2 ## @EINVAL .comm _ENODEV,4,2 ## @ENODEV .comm _NFC_TARGET_MODE_SLEEP,4,2 ## @NFC_TARGET_MODE_SLEEP .no_dead_strip _nfc_genl_activate_target .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nfc_genl_activate_target _nfc_genl_activate_target: ; @nfc_genl_activate_target .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x1] Lloh0: adrp x9, _NFC_ATTR_DEVICE_INDEX@GOTPAGE Lloh1: ldr x9, [x9, _NFC_ATTR_DEVICE_INDEX@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] cbz w0, LBB0_5 ; %bb.1: Lloh3: adrp x21, _NFC_ATTR_TARGET_INDEX@GOTPAGE Lloh4: ldr x21, [x21, _NFC_ATTR_TARGET_INDEX@GOTPAGEOFF] ldr x9, [x21] ldr w9, [x8, x9, lsl #2] cbz w9, LBB0_5 ; %bb.2: Lloh5: adrp x22, _NFC_ATTR_PROTOCOLS@GOTPAGE Lloh6: ldr x22, [x22, _NFC_ATTR_PROTOCOLS@GOTPAGEOFF] ldr x9, [x22] ldr w8, [x8, x9, lsl #2] cbz w8, LBB0_5 ; %bb.3: mov x19, x1 bl _nla_get_u32 bl _nfc_get_device cbz x0, LBB0_8 ; %bb.4: mov x20, x0 ldr x8, [x19] ldr x9, [x21] ldr w0, [x8, x9, lsl #2] bl _nla_get_u32 mov x21, x0 ldr x8, [x19] ldr x9, [x22] ldr w0, [x8, x9, lsl #2] bl _nla_get_u32 mov x19, x0 Lloh7: adrp x8, _NFC_TARGET_MODE_SLEEP@GOTPAGE Lloh8: ldr x8, [x8, _NFC_TARGET_MODE_SLEEP@GOTPAGEOFF] Lloh9: ldr w2, [x8] mov x0, x20 mov x1, x21 bl _nfc_deactivate_target mov x0, x20 mov x1, x21 mov x2, x19 bl _nfc_activate_target mov x19, x0 mov x0, x20 bl _nfc_put_device mov x0, x19 b LBB0_7 LBB0_5: Lloh10: adrp x8, _EINVAL@GOTPAGE Lloh11: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w0, w8 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_8: Lloh12: adrp x8, _ENODEV@GOTPAGE Lloh13: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_6 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _NFC_ATTR_DEVICE_INDEX,8,3 ; @NFC_ATTR_DEVICE_INDEX .comm _NFC_ATTR_TARGET_INDEX,8,3 ; @NFC_ATTR_TARGET_INDEX .comm _NFC_ATTR_PROTOCOLS,8,3 ; @NFC_ATTR_PROTOCOLS .comm _EINVAL,4,2 ; @EINVAL .comm _ENODEV,4,2 ; @ENODEV .comm _NFC_TARGET_MODE_SLEEP,4,2 ; @NFC_TARGET_MODE_SLEEP .no_dead_strip _nfc_genl_activate_target .subsections_via_symbols
AnghaBench/linux/net/nfc/extr_netlink.c_nfc_genl_activate_target.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _osi_Spawn ## -- Begin function osi_Spawn .p2align 4, 0x90 _osi_Spawn: ## @osi_Spawn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, -24(%rbp) movq %rsi, -32(%rbp) movq _pdFALSE@GOTPCREL(%rip), %rax movq (%rax), %rax movq _xHigherPriorityTaskWoken@GOTPCREL(%rip), %r14 movq %rax, (%r14) movq _pdTRUE@GOTPCREL(%rip), %rax movq (%rax), %rbx movq _xSimpleLinkSpawnQueue@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -32(%rbp), %rsi movq %r14, %rdx callq _xQueueSendFromISR cmpq %rax, %rbx jne LBB0_1 ## %bb.2: movq _OSI_OK@GOTPCREL(%rip), %rbx cmpq $0, (%r14) je LBB0_4 ## %bb.3: xorl %eax, %eax callq _taskYIELD jmp LBB0_4 LBB0_1: movq _OSI_OPERATION_FAILED@GOTPCREL(%rip), %rbx LBB0_4: movl (%rbx), %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _pdFALSE,8,3 ## @pdFALSE .comm _xHigherPriorityTaskWoken,8,3 ## @xHigherPriorityTaskWoken .comm _pdTRUE,8,3 ## @pdTRUE .comm _xSimpleLinkSpawnQueue,4,2 ## @xSimpleLinkSpawnQueue .comm _OSI_OK,4,2 ## @OSI_OK .comm _OSI_OPERATION_FAILED,4,2 ## @OSI_OPERATION_FAILED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _osi_Spawn ; -- Begin function osi_Spawn .p2align 2 _osi_Spawn: ; @osi_Spawn .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 str w0, [sp, #8] str x1, [sp] Lloh0: adrp x8, _pdFALSE@GOTPAGE Lloh1: ldr x8, [x8, _pdFALSE@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x19, _xHigherPriorityTaskWoken@GOTPAGE Lloh4: ldr x19, [x19, _xHigherPriorityTaskWoken@GOTPAGEOFF] str x8, [x19] Lloh5: adrp x8, _pdTRUE@GOTPAGE Lloh6: ldr x8, [x8, _pdTRUE@GOTPAGEOFF] Lloh7: ldr x20, [x8] Lloh8: adrp x8, _xSimpleLinkSpawnQueue@GOTPAGE Lloh9: ldr x8, [x8, _xSimpleLinkSpawnQueue@GOTPAGEOFF] Lloh10: ldr w0, [x8] mov x1, sp mov x2, x19 bl _xQueueSendFromISR cmp x20, x0 b.ne LBB0_4 ; %bb.1: ldr x8, [x19] cbz x8, LBB0_3 ; %bb.2: bl _taskYIELD LBB0_3: Lloh11: adrp x8, _OSI_OK@GOTPAGE Lloh12: ldr x8, [x8, _OSI_OK@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh13: adrp x8, _OSI_OPERATION_FAILED@GOTPAGE Lloh14: ldr x8, [x8, _OSI_OPERATION_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 add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _pdFALSE,8,3 ; @pdFALSE .comm _xHigherPriorityTaskWoken,8,3 ; @xHigherPriorityTaskWoken .comm _pdTRUE,8,3 ; @pdTRUE .comm _xSimpleLinkSpawnQueue,4,2 ; @xSimpleLinkSpawnQueue .comm _OSI_OK,4,2 ; @OSI_OK .comm _OSI_OPERATION_FAILED,4,2 ; @OSI_OPERATION_FAILED .subsections_via_symbols
AnghaBench/micropython/ports/cc3200/simplelink/oslib/extr_osi_freertos.c_osi_Spawn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EtDelDevice ## -- Begin function EtDelDevice .p2align 4, 0x90 _EtDelDevice: ## @EtDelDevice .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 (%rsi), %esi callq _ElDeleteCaptureDevice testl %eax, %eax je LBB0_1 ## %bb.2: movq %rbx, %rdi callq _ElSaveConfig movq _ERR_NO_ERROR@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _ERR_CAPTURE_NOT_FOUND@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _ERR_CAPTURE_NOT_FOUND,4,2 ## @ERR_CAPTURE_NOT_FOUND .comm _ERR_NO_ERROR,4,2 ## @ERR_NO_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EtDelDevice ; -- Begin function EtDelDevice .p2align 2 _EtDelDevice: ; @EtDelDevice .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 w1, [x1] bl _ElDeleteCaptureDevice cbz w0, LBB0_2 ; %bb.1: mov x0, x19 bl _ElSaveConfig Lloh0: adrp x8, _ERR_NO_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh2: adrp x8, _ERR_CAPTURE_NOT_FOUND@GOTPAGE Lloh3: ldr x8, [x8, _ERR_CAPTURE_NOT_FOUND@GOTPAGEOFF] LBB0_3: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _ERR_CAPTURE_NOT_FOUND,4,2 ; @ERR_CAPTURE_NOT_FOUND .comm _ERR_NO_ERROR,4,2 ; @ERR_NO_ERROR .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_EtherLog.c_EtDelDevice.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx4_en_mac_to_u64 ## -- Begin function mlx4_en_mac_to_u64 .p2align 4, 0x90 _mlx4_en_mac_to_u64: ## @mlx4_en_mac_to_u64 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ETH_ALEN@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB0_1 ## %bb.2: leaq -1(%rax), %rdx movl %eax, %ecx andl $3, %ecx cmpq $3, %rdx jae LBB0_4 ## %bb.3: xorl %edx, %edx xorl %eax, %eax testq %rcx, %rcx jne LBB0_8 jmp LBB0_10 LBB0_1: xorl %eax, %eax popq %rbp retq LBB0_4: andl $-4, %eax xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 addq $4, %rdx cmpq %rdx, %rax jne LBB0_5 ## %bb.6: movl -16(%rdi,%rdx,4), %esi movl -12(%rdi,%rdx,4), %eax shll $16, %esi shll $8, %eax orl %esi, %eax orl -8(%rdi,%rdx,4), %eax shll $8, %eax orl -4(%rdi,%rdx,4), %eax testq %rcx, %rcx je LBB0_10 LBB0_8: leaq (%rdi,%rdx,4), %rdx xorl %esi, %esi .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 shll $8, %eax orl (%rdx,%rsi,4), %eax incq %rsi cmpq %rsi, %rcx jne LBB0_9 LBB0_10: popq %rbp retq .cfi_endproc ## -- End function .comm _ETH_ALEN,4,2 ## @ETH_ALEN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx4_en_mac_to_u64 ; -- Begin function mlx4_en_mac_to_u64 .p2align 2 _mlx4_en_mac_to_u64: ; @mlx4_en_mac_to_u64 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ETH_ALEN@GOTPAGE Lloh1: ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF] Lloh2: ldr w9, [x8] cmp w9, #1 b.lt LBB0_4 ; %bb.1: mov w8, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w10, [x0], #4 orr w8, w10, w8, lsl #8 subs x9, x9, #1 b.ne LBB0_2 ; %bb.3: mov x0, x8 ret LBB0_4: mov w0, #0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ETH_ALEN,4,2 ; @ETH_ALEN .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/mlx4/extr_en_netdev.c_mlx4_en_mac_to_u64.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 $120, %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 -160(%rbp), %rdi movl $100, %esi callq _getword cmpl $-1, %eax je LBB0_15 ## %bb.1: leaq -160(%rbp), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %rdi movl $100, %esi callq _getword cmpl $-1, %eax je LBB0_15 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 movsbl -160(%rbp), %edi testl %edi, %edi js LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl %edi, %eax movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx movl 60(%rcx,%rax,4), %eax movl $256, %ecx ## imm = 0x100 andl %ecx, %eax testl %eax, %eax jne LBB0_6 jmp LBB0_14 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl $256, %esi ## imm = 0x100 callq ___maskrune testl %eax, %eax je LBB0_14 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d movl $31, %ebx jmp LBB0_7 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_7 Depth=2 decl %r15d movl %r15d, %ebx LBB0_11: ## in Loop: Header=BB0_7 Depth=2 cmpl %ebx, %r14d jg LBB0_14 LBB0_7: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 leal (%r14,%rbx), %r12d movl %r12d, %r15d shrl $31, %r15d addl %r12d, %r15d sarl %r15d movslq %r15d, %rax shlq $4, %rax leaq _keytab(%rip), %rcx movq (%rax,%rcx), %rsi movq %r13, %rdi callq _strcmp testl %eax, %eax js LBB0_8 ## %bb.9: ## in Loop: Header=BB0_7 Depth=2 je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_7 Depth=2 incl %r15d movl %r15d, %r14d jmp LBB0_11 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 cmpl $-1, %r12d jl LBB0_14 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movl %r15d, %eax shlq $4, %rax leaq _keytab(%rip), %rcx incl 8(%rax,%rcx) jmp LBB0_14 LBB0_15: leaq _keytab(%rip), %r15 leaq L_.str.32(%rip), %r14 xorl %ebx, %ebx jmp LBB0_16 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_16 Depth=1 addq $16, %rbx cmpq $512, %rbx ## imm = 0x200 je LBB0_19 LBB0_16: ## =>This Inner Loop Header: Depth=1 movl 8(%rbx,%r15), %esi testl %esi, %esi jle LBB0_18 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movq (%rbx,%r15), %rdx movq %r14, %rdi xorl %eax, %eax callq _printf jmp LBB0_18 LBB0_19: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_21 ## %bb.20: xorl %eax, %eax addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_21: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _getword ## -- Begin function getword .p2align 4, 0x90 _getword: ## @getword .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r14 movq __DefaultRuneLocale@GOTPCREL(%rip), %r12 movl $16384, %r13d ## imm = 0x4000 jmp LBB1_1 .p2align 4, 0x90 LBB1_3: ## in Loop: Header=BB1_1 Depth=1 movl $16384, %esi ## imm = 0x4000 movl %ebx, %edi callq ___maskrune testl %eax, %eax je LBB1_5 LBB1_1: ## =>This Inner Loop Header: Depth=1 callq _getch movl %eax, %ebx cmpl $127, %eax ja LBB1_3 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl %ebx, %eax movl 60(%r12,%rax,4), %eax andl %r13d, %eax testl %eax, %eax jne LBB1_1 LBB1_5: movq %r14, %r13 cmpl $-1, %ebx je LBB1_7 ## %bb.6: leaq 1(%r14), %r13 movb %bl, (%r14) LBB1_7: cmpl $127, %ebx ja LBB1_9 ## %bb.8: movl %ebx, %ecx movl $256, %eax ## imm = 0x100 andl 60(%r12,%rcx,4), %eax testl %eax, %eax jne LBB1_11 jmp LBB1_23 LBB1_9: movl $256, %esi ## imm = 0x100 movl %ebx, %edi callq ___maskrune testl %eax, %eax je LBB1_23 LBB1_11: cmpl $35, %ebx je LBB1_23 ## %bb.12: cmpl $95, %ebx jne LBB1_13 LBB1_23: movb $0, (%r13) jmp LBB1_22 LBB1_13: cmpl $2, %r15d jl LBB1_21 ## %bb.14: incl %r15d .p2align 4, 0x90 LBB1_15: ## =>This Inner Loop Header: Depth=1 callq _getch movb %al, (%r13) movsbl %al, %ebx shll $24, %eax js LBB1_17 ## %bb.16: ## in Loop: Header=BB1_15 Depth=1 movl %ebx, %eax movl 60(%r12,%rax,4), %eax movl $1280, %ecx ## imm = 0x500 andl %ecx, %eax testl %eax, %eax jne LBB1_20 jmp LBB1_19 .p2align 4, 0x90 LBB1_17: ## in Loop: Header=BB1_15 Depth=1 movl $1280, %esi ## imm = 0x500 movl %ebx, %edi callq ___maskrune testl %eax, %eax je LBB1_19 LBB1_20: ## in Loop: Header=BB1_15 Depth=1 incq %r13 decl %r15d cmpl $2, %r15d ja LBB1_15 jmp LBB1_21 LBB1_19: movl %ebx, %edi callq _ungetch LBB1_21: movb $0, (%r13) movsbl (%r14), %ebx LBB1_22: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _binsearch ## -- Begin function binsearch .p2align 4, 0x90 _binsearch: ## @binsearch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $-1, %eax testl %edx, %edx jle LBB2_9 ## %bb.1: movl %edx, %r13d movq %rsi, %r15 movq %rdi, %r12 decl %r13d xorl %ebx, %ebx jmp LBB2_2 .p2align 4, 0x90 LBB2_3: ## in Loop: Header=BB2_2 Depth=1 decl %r14d movl %r14d, %r13d cmpl %r13d, %ebx jg LBB2_8 LBB2_2: ## =>This Inner Loop Header: Depth=1 leal (%rbx,%r13), %eax movl %eax, %r14d shrl $31, %r14d addl %eax, %r14d sarl %r14d movslq %r14d, %rax shlq $4, %rax movq (%r15,%rax), %rsi movq %r12, %rdi callq _strcmp testl %eax, %eax js LBB2_3 ## %bb.4: ## in Loop: Header=BB2_2 Depth=1 je LBB2_5 ## %bb.6: ## in Loop: Header=BB2_2 Depth=1 incl %r14d movl %r14d, %ebx cmpl %r13d, %ebx jle LBB2_2 LBB2_8: movl $-1, %eax jmp LBB2_9 LBB2_5: movl %r14d, %eax LBB2_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "auto" L_.str.1: ## @.str.1 .asciz "break" L_.str.2: ## @.str.2 .asciz "case" L_.str.3: ## @.str.3 .asciz "char" L_.str.4: ## @.str.4 .asciz "const" L_.str.5: ## @.str.5 .asciz "continue" L_.str.6: ## @.str.6 .asciz "default" L_.str.7: ## @.str.7 .asciz "do" L_.str.8: ## @.str.8 .asciz "double" L_.str.9: ## @.str.9 .asciz "else" L_.str.10: ## @.str.10 .asciz "enum" L_.str.11: ## @.str.11 .asciz "extern" L_.str.12: ## @.str.12 .asciz "float" L_.str.13: ## @.str.13 .asciz "for" L_.str.14: ## @.str.14 .asciz "goto" L_.str.15: ## @.str.15 .asciz "if" L_.str.16: ## @.str.16 .asciz "int" L_.str.17: ## @.str.17 .asciz "long" L_.str.18: ## @.str.18 .asciz "register" L_.str.19: ## @.str.19 .asciz "return" L_.str.20: ## @.str.20 .asciz "short" L_.str.21: ## @.str.21 .asciz "signed" L_.str.22: ## @.str.22 .asciz "sizeof" L_.str.23: ## @.str.23 .asciz "static" L_.str.24: ## @.str.24 .asciz "struct" L_.str.25: ## @.str.25 .asciz "switch" L_.str.26: ## @.str.26 .asciz "typedef" L_.str.27: ## @.str.27 .asciz "union" L_.str.28: ## @.str.28 .asciz "unsigned" L_.str.29: ## @.str.29 .asciz "void" L_.str.30: ## @.str.30 .asciz "volatile" L_.str.31: ## @.str.31 .asciz "while" .section __DATA,__data .globl _keytab ## @keytab .p2align 4 _keytab: .quad L_.str .long 0 ## 0x0 .space 4 .quad L_.str.1 .long 0 ## 0x0 .space 4 .quad L_.str.2 .long 0 ## 0x0 .space 4 .quad L_.str.3 .long 0 ## 0x0 .space 4 .quad L_.str.4 .long 0 ## 0x0 .space 4 .quad L_.str.5 .long 0 ## 0x0 .space 4 .quad L_.str.6 .long 0 ## 0x0 .space 4 .quad L_.str.7 .long 0 ## 0x0 .space 4 .quad L_.str.8 .long 0 ## 0x0 .space 4 .quad L_.str.9 .long 0 ## 0x0 .space 4 .quad L_.str.10 .long 0 ## 0x0 .space 4 .quad L_.str.11 .long 0 ## 0x0 .space 4 .quad L_.str.12 .long 0 ## 0x0 .space 4 .quad L_.str.13 .long 0 ## 0x0 .space 4 .quad L_.str.14 .long 0 ## 0x0 .space 4 .quad L_.str.15 .long 0 ## 0x0 .space 4 .quad L_.str.16 .long 0 ## 0x0 .space 4 .quad L_.str.17 .long 0 ## 0x0 .space 4 .quad L_.str.18 .long 0 ## 0x0 .space 4 .quad L_.str.19 .long 0 ## 0x0 .space 4 .quad L_.str.20 .long 0 ## 0x0 .space 4 .quad L_.str.21 .long 0 ## 0x0 .space 4 .quad L_.str.22 .long 0 ## 0x0 .space 4 .quad L_.str.23 .long 0 ## 0x0 .space 4 .quad L_.str.24 .long 0 ## 0x0 .space 4 .quad L_.str.25 .long 0 ## 0x0 .space 4 .quad L_.str.26 .long 0 ## 0x0 .space 4 .quad L_.str.27 .long 0 ## 0x0 .space 4 .quad L_.str.28 .long 0 ## 0x0 .space 4 .quad L_.str.29 .long 0 ## 0x0 .space 4 .quad L_.str.30 .long 0 ## 0x0 .space 4 .quad L_.str.31 .long 0 ## 0x0 .space 4 .section __TEXT,__cstring,cstring_literals L_.str.32: ## @.str.32 .asciz "%4d %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, #192 .cfi_def_cfa_offset 192 stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] add x0, sp, #20 mov w1, #100 bl _getword Lloh3: adrp x20, _keytab@PAGE Lloh4: add x20, x20, _keytab@PAGEOFF cmn w0, #1 b.eq LBB0_14 ; %bb.1: Lloh5: adrp x19, __DefaultRuneLocale@GOTPAGE Lloh6: ldr x19, [x19, __DefaultRuneLocale@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x0, sp, #20 mov w1, #100 bl _getword cmn w0, #1 b.eq LBB0_14 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ldrsb w0, [sp, #20] tbnz w0, #31, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x8, x19, w0, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x100 cbnz w0, LBB0_6 b LBB0_2 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 mov w1, #256 bl ___maskrune cbz w0, LBB0_2 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov w22, #0 mov w21, #31 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=2 sub w21, w23, #1 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 cmp w22, w21 b.gt LBB0_2 LBB0_9: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 add w24, w22, w21 cmp w24, #0 cinc w8, w24, lt asr w23, w8, #1 sbfiz x8, x23, #4, #32 ldr x1, [x20, x8] add x0, sp, #20 bl _strcmp tbnz w0, #31, LBB0_7 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 cbz w0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 add w22, w23, #1 b LBB0_8 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 cmn w24, #1 b.lt LBB0_2 ; %bb.13: ; in Loop: Header=BB0_3 Depth=1 add x8, x20, w23, uxtw #4 ldr w9, [x8, #8] add w9, w9, #1 str w9, [x8, #8] b LBB0_2 LBB0_14: mov x21, #0 Lloh7: adrp x19, l_.str.32@PAGE Lloh8: add x19, x19, l_.str.32@PAGEOFF b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 add x21, x21, #16 cmp x21, #512 b.eq LBB0_18 LBB0_16: ; =>This Inner Loop Header: Depth=1 add x8, x20, x21 ldr w8, [x8, #8] cmp w8, #1 b.lt LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 ldr x9, [x20, x21] stp x8, x9, [sp] mov x0, x19 bl _printf b LBB0_15 LBB0_18: ldur x8, [x29, #-56] 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_20 ; %bb.19: mov w0, #0 ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_20: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _getword ; -- Begin function getword .p2align 2 _getword: ; @getword .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 Lloh12: adrp x22, __DefaultRuneLocale@GOTPAGE Lloh13: ldr x22, [x22, __DefaultRuneLocale@GOTPAGEOFF] b LBB1_2 LBB1_1: ; in Loop: Header=BB1_2 Depth=1 mov x0, x21 mov w1, #16384 bl ___maskrune cbz w0, LBB1_4 LBB1_2: ; =>This Inner Loop Header: Depth=1 bl _getch mov x21, x0 cmp w0, #127 b.hi LBB1_1 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 add x8, x22, w21, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 cbnz w0, LBB1_2 LBB1_4: mov x23, x19 cmn w21, #1 b.eq LBB1_6 ; %bb.5: mov x23, x19 strb w21, [x23], #1 LBB1_6: cmp w21, #127 b.hi LBB1_8 ; %bb.7: add x8, x22, w21, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x100 cbnz w0, LBB1_9 b LBB1_11 LBB1_8: mov x0, x21 mov w1, #256 bl ___maskrune cbz w0, LBB1_11 LBB1_9: cmp w21, #35 b.eq LBB1_11 ; %bb.10: cmp w21, #95 b.ne LBB1_12 LBB1_11: strb wzr, [x23] b LBB1_20 LBB1_12: cmp w20, #2 b.lt LBB1_19 ; %bb.13: add w21, w20, #1 mov w24, #1280 LBB1_14: ; =>This Inner Loop Header: Depth=1 bl _getch strb w0, [x23] sxtb w20, w0 tbnz w0, #7, LBB1_16 ; %bb.15: ; in Loop: Header=BB1_14 Depth=1 add x8, x22, w20, uxtw #2 ldr w8, [x8, #60] and w0, w8, w24 cbnz w0, LBB1_17 b LBB1_18 LBB1_16: ; in Loop: Header=BB1_14 Depth=1 mov x0, x20 mov w1, #1280 bl ___maskrune cbz w0, LBB1_18 LBB1_17: ; in Loop: Header=BB1_14 Depth=1 add x23, x23, #1 sub w21, w21, #1 cmp w21, #2 b.hi LBB1_14 b LBB1_19 LBB1_18: mov x0, x20 bl _ungetch LBB1_19: strb wzr, [x23] ldrsb w21, [x19] LBB1_20: 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 AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .globl _binsearch ; -- Begin function binsearch .p2align 2 _binsearch: ; @binsearch .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 subs w22, w2, #1 b.lt LBB2_6 ; %bb.1: mov x19, x1 mov x20, x0 mov w23, #0 b LBB2_3 LBB2_2: ; in Loop: Header=BB2_3 Depth=1 sub w22, w21, #1 cmp w23, w22 b.gt LBB2_6 LBB2_3: ; =>This Inner Loop Header: Depth=1 add w8, w22, w23 cmp w8, #0 cinc w8, w8, lt asr w21, w8, #1 sbfiz x8, x21, #4, #32 ldr x1, [x19, x8] mov x0, x20 bl _strcmp tbnz w0, #31, LBB2_2 ; %bb.4: ; in Loop: Header=BB2_3 Depth=1 cbz w0, LBB2_7 ; %bb.5: ; in Loop: Header=BB2_3 Depth=1 add w23, w21, #1 cmp w23, w22 b.le LBB2_3 LBB2_6: mov w21, #-1 LBB2_7: 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 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "auto" l_.str.1: ; @.str.1 .asciz "break" l_.str.2: ; @.str.2 .asciz "case" l_.str.3: ; @.str.3 .asciz "char" l_.str.4: ; @.str.4 .asciz "const" l_.str.5: ; @.str.5 .asciz "continue" l_.str.6: ; @.str.6 .asciz "default" l_.str.7: ; @.str.7 .asciz "do" l_.str.8: ; @.str.8 .asciz "double" l_.str.9: ; @.str.9 .asciz "else" l_.str.10: ; @.str.10 .asciz "enum" l_.str.11: ; @.str.11 .asciz "extern" l_.str.12: ; @.str.12 .asciz "float" l_.str.13: ; @.str.13 .asciz "for" l_.str.14: ; @.str.14 .asciz "goto" l_.str.15: ; @.str.15 .asciz "if" l_.str.16: ; @.str.16 .asciz "int" l_.str.17: ; @.str.17 .asciz "long" l_.str.18: ; @.str.18 .asciz "register" l_.str.19: ; @.str.19 .asciz "return" l_.str.20: ; @.str.20 .asciz "short" l_.str.21: ; @.str.21 .asciz "signed" l_.str.22: ; @.str.22 .asciz "sizeof" l_.str.23: ; @.str.23 .asciz "static" l_.str.24: ; @.str.24 .asciz "struct" l_.str.25: ; @.str.25 .asciz "switch" l_.str.26: ; @.str.26 .asciz "typedef" l_.str.27: ; @.str.27 .asciz "union" l_.str.28: ; @.str.28 .asciz "unsigned" l_.str.29: ; @.str.29 .asciz "void" l_.str.30: ; @.str.30 .asciz "volatile" l_.str.31: ; @.str.31 .asciz "while" .section __DATA,__data .globl _keytab ; @keytab .p2align 3 _keytab: .quad l_.str .long 0 ; 0x0 .space 4 .quad l_.str.1 .long 0 ; 0x0 .space 4 .quad l_.str.2 .long 0 ; 0x0 .space 4 .quad l_.str.3 .long 0 ; 0x0 .space 4 .quad l_.str.4 .long 0 ; 0x0 .space 4 .quad l_.str.5 .long 0 ; 0x0 .space 4 .quad l_.str.6 .long 0 ; 0x0 .space 4 .quad l_.str.7 .long 0 ; 0x0 .space 4 .quad l_.str.8 .long 0 ; 0x0 .space 4 .quad l_.str.9 .long 0 ; 0x0 .space 4 .quad l_.str.10 .long 0 ; 0x0 .space 4 .quad l_.str.11 .long 0 ; 0x0 .space 4 .quad l_.str.12 .long 0 ; 0x0 .space 4 .quad l_.str.13 .long 0 ; 0x0 .space 4 .quad l_.str.14 .long 0 ; 0x0 .space 4 .quad l_.str.15 .long 0 ; 0x0 .space 4 .quad l_.str.16 .long 0 ; 0x0 .space 4 .quad l_.str.17 .long 0 ; 0x0 .space 4 .quad l_.str.18 .long 0 ; 0x0 .space 4 .quad l_.str.19 .long 0 ; 0x0 .space 4 .quad l_.str.20 .long 0 ; 0x0 .space 4 .quad l_.str.21 .long 0 ; 0x0 .space 4 .quad l_.str.22 .long 0 ; 0x0 .space 4 .quad l_.str.23 .long 0 ; 0x0 .space 4 .quad l_.str.24 .long 0 ; 0x0 .space 4 .quad l_.str.25 .long 0 ; 0x0 .space 4 .quad l_.str.26 .long 0 ; 0x0 .space 4 .quad l_.str.27 .long 0 ; 0x0 .space 4 .quad l_.str.28 .long 0 ; 0x0 .space 4 .quad l_.str.29 .long 0 ; 0x0 .space 4 .quad l_.str.30 .long 0 ; 0x0 .space 4 .quad l_.str.31 .long 0 ; 0x0 .space 4 .section __TEXT,__cstring,cstring_literals l_.str.32: ; @.str.32 .asciz "%4d %s\n" .subsections_via_symbols
the_stack_data/154827591.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function simple_thread_func_fn _simple_thread_func_fn: ## @simple_thread_func_fn .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 movq _TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _set_current_state movq _HZ@GOTPCREL(%rip), %rax movl (%rax), %edi callq _schedule_timeout leaq L_.str(%rip), %rdi movl %ebx, %esi callq _trace_foo_bar_with_fn leaq L_.str.1(%rip), %rdi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _trace_foo_with_template_fn ## TAILCALL .cfi_endproc ## -- End function .comm _TASK_INTERRUPTIBLE,4,2 ## @TASK_INTERRUPTIBLE .comm _HZ,4,2 ## @HZ .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Look at me" L_.str.1: ## @.str.1 .asciz "Look at me too" .no_dead_strip _simple_thread_func_fn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function simple_thread_func_fn _simple_thread_func_fn: ; @simple_thread_func_fn .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _TASK_INTERRUPTIBLE@GOTPAGE Lloh1: ldr x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _set_current_state Lloh3: adrp x8, _HZ@GOTPAGE Lloh4: ldr x8, [x8, _HZ@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _schedule_timeout Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _trace_foo_bar_with_fn Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _trace_foo_with_template_fn .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TASK_INTERRUPTIBLE,4,2 ; @TASK_INTERRUPTIBLE .comm _HZ,4,2 ; @HZ .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Look at me" l_.str.1: ; @.str.1 .asciz "Look at me too" .no_dead_strip _simple_thread_func_fn .subsections_via_symbols
AnghaBench/linux/samples/trace_events/extr_trace-events-sample.c_simple_thread_func_fn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _delta_put_autosuspend ## -- Begin function delta_put_autosuspend .p2align 4, 0x90 _delta_put_autosuspend: ## @delta_put_autosuspend .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 movl (%rax), %edi popq %rbp jmp _pm_runtime_put_autosuspend ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _delta_put_autosuspend ; -- Begin function delta_put_autosuspend .p2align 2 _delta_put_autosuspend: ; @delta_put_autosuspend .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w0, [x8] b _pm_runtime_put_autosuspend .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/sti/delta/extr_delta-v4l2.c_delta_put_autosuspend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _HPDF_Encrypt_InitKey ## -- Begin function HPDF_Encrypt_InitKey .p2align 4, 0x90 _HPDF_Encrypt_InitKey: ## @HPDF_Encrypt_InitKey .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 leaq L_.str(%rip), %rdi callq _HPDF_PTRACE movslq %r15d, %rax movq (%rbx), %rcx movq 16(%rbx), %rdx movq %rax, (%rdx,%rcx,8) movl %eax, %edx sarl $8, %edx movslq %edx, %rdx movq 16(%rbx), %rsi movq %rdx, 8(%rsi,%rcx,8) sarl $16, %eax cltq movq 16(%rbx), %rdx movq %rax, 16(%rdx,%rcx,8) movslq %r14d, %rdi movq 16(%rbx), %rax movq %rdi, 24(%rax,%rcx,8) movl %edi, %eax sarl $8, %eax cltq movq 16(%rbx), %rdx movq %rax, 32(%rdx,%rcx,8) callq _HPDF_PTRACE leaq -28(%rbp), %r14 movq %r14, %rdi callq _HPDF_MD5Init movq (%rbx), %rdx movq 16(%rbx), %rsi addq $5, %rdx movq %r14, %rdi callq _HPDF_MD5Update movl 8(%rbx), %edi movq %r14, %rsi callq _HPDF_MD5Final movq (%rbx), %rdx addq $5, %rdx movq _HPDF_ENCRYPT_KEY_MAX@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rax, %rdx cmovaeq %rax, %rdx movl 8(%rbx), %esi addq $12, %rbx movq %rbx, %rdi callq _ARC4Init 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 " HPDF_Encrypt_Init\n" .comm _HPDF_ENCRYPT_KEY_MAX,8,3 ## @HPDF_ENCRYPT_KEY_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _HPDF_Encrypt_InitKey ; -- Begin function HPDF_Encrypt_InitKey .p2align 2 _HPDF_Encrypt_InitKey: ; @HPDF_Encrypt_InitKey .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 x20, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _HPDF_PTRACE sxtw x8, w21 ldr x9, [x19, #16] ldr x10, [x19] lsl x10, x10, #3 str x8, [x9, x10] sbfx x8, x21, #8, #24 ldr x9, [x19, #16] add x9, x10, x9 str x8, [x9, #8] sbfx x8, x21, #16, #16 ldr x9, [x19, #16] add x9, x10, x9 str x8, [x9, #16] sxtw x0, w20 ldr x8, [x19, #16] add x8, x10, x8 str x0, [x8, #24] sbfx x8, x20, #8, #24 ldr x9, [x19, #16] add x9, x10, x9 str x8, [x9, #32] bl _HPDF_PTRACE add x0, sp, #12 bl _HPDF_MD5Init ldr x1, [x19, #16] ldr x8, [x19] add x2, x8, #5 add x0, sp, #12 bl _HPDF_MD5Update ldr w0, [x19, #8] add x1, sp, #12 bl _HPDF_MD5Final ldr x8, [x19] Lloh2: adrp x9, _HPDF_ENCRYPT_KEY_MAX@GOTPAGE Lloh3: ldr x9, [x9, _HPDF_ENCRYPT_KEY_MAX@GOTPAGEOFF] add x8, x8, #5 Lloh4: ldr x9, [x9] cmp x8, x9 csel x2, x8, x9, lo add x0, x19, #12 ldr w1, [x19, #8] bl _ARC4Init ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " HPDF_Encrypt_Init\n" .comm _HPDF_ENCRYPT_KEY_MAX,8,3 ; @HPDF_ENCRYPT_KEY_MAX .subsections_via_symbols
AnghaBench/poco/PDF/src/extr_hpdf_encrypt.c_HPDF_Encrypt_InitKey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_http_block _ngx_http_block: ## @ngx_http_block .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 cmpq $0, (%rdx) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rax jmp LBB0_53 LBB0_2: movq %rdx, %rbx movq %rdi, %r15 movl 32(%rdi), %edi movl $24, %esi callq _ngx_pcalloc testq %rax, %rax je LBB0_51 ## %bb.3: movq %rax, %r14 movq %rax, (%rbx) movq (%r15), %rdi movq _NGX_HTTP_MODULE@GOTPCREL(%rip), %r13 movq (%r13), %rsi callq _ngx_count_modules ## kill: def $eax killed $eax def $rax movq _ngx_http_max_module@GOTPCREL(%rip), %rbx movl %eax, (%rbx) movl 32(%r15), %edi leal (,%rax,8), %esi callq _ngx_pcalloc movq %rax, (%r14) testq %rax, %rax je LBB0_51 ## %bb.4: movl 32(%r15), %edi movl (%rbx), %esi shll $3, %esi callq _ngx_pcalloc movq %rax, 16(%r14) testq %rax, %rax je LBB0_51 ## %bb.5: movl 32(%r15), %edi movl (%rbx), %esi shll $3, %esi callq _ngx_pcalloc movq %rax, 8(%r14) testq %rax, %rax je LBB0_51 ## %bb.6: movq (%r15), %rax movq (%rax), %rdx movq (%rdx), %rcx testq %rcx, %rcx je LBB0_16 ## %bb.7: movl $8, %ebx jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_9 Depth=1 movq (%r15), %rax movq (%rax), %rdx movq (%rdx,%rbx), %rcx addq $8, %rbx testq %rcx, %rcx je LBB0_16 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq (%rcx), %rax cmpq (%r13), %rax jne LBB0_8 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq 8(%rcx), %r12 movq 16(%rcx), %r13 movq 40(%r13), %rax testq %rax, %rax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movq %r15, %rdi callq *%rax movq (%r14), %rcx movq %rax, (%rcx,%r12,8) movq (%r14), %rax cmpq $0, (%rax,%r12,8) je LBB0_51 LBB0_12: ## in Loop: Header=BB0_9 Depth=1 movq 32(%r13), %rax testq %rax, %rax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_9 Depth=1 movq %r15, %rdi callq *%rax movq 16(%r14), %rcx movq %rax, (%rcx,%r12,8) movq 16(%r14), %rax cmpq $0, (%rax,%r12,8) je LBB0_51 LBB0_14: ## in Loop: Header=BB0_9 Depth=1 movq 24(%r13), %rax testq %rax, %rax movq _NGX_HTTP_MODULE@GOTPCREL(%rip), %r13 je LBB0_8 ## %bb.15: ## in Loop: Header=BB0_9 Depth=1 movq %r15, %rdi callq *%rax movq 8(%r14), %rcx movq %rax, (%rcx,%r12,8) movq 8(%r14), %rax cmpq $0, (%rax,%r12,8) jne LBB0_8 jmp LBB0_51 LBB0_16: movq 32(%r15), %rcx movq %rcx, -64(%rbp) movups (%r15), %xmm0 movups 16(%r15), %xmm1 movaps %xmm1, -80(%rbp) movaps %xmm0, -96(%rbp) movq %r14, 24(%r15) movq (%rdx), %rcx testq %rcx, %rcx je LBB0_23 ## %bb.17: movl $8, %ebx movq _NGX_OK@GOTPCREL(%rip), %r12 jmp LBB0_20 LBB0_18: ## in Loop: Header=BB0_20 Depth=1 movq (%r15), %rax LBB0_19: ## in Loop: Header=BB0_20 Depth=1 movq (%rax), %rcx movq (%rcx,%rbx), %rcx addq $8, %rbx testq %rcx, %rcx je LBB0_23 LBB0_20: ## =>This Inner Loop Header: Depth=1 movq (%rcx), %rdx cmpq (%r13), %rdx jne LBB0_19 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movq 16(%rcx), %rcx movq (%rcx), %rcx testq %rcx, %rcx je LBB0_19 ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 movq %r15, %rdi callq *%rcx cmpq (%r12), %rax je LBB0_18 jmp LBB0_51 LBB0_23: movq (%r13), %rax movq %rax, 16(%r15) movq _NGX_HTTP_MAIN_CONF@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%r15) movq %r15, %rdi xorl %esi, %esi callq _ngx_conf_parse movq _NGX_CONF_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_25 LBB0_24: movq -64(%rbp), %rcx movq %rcx, 32(%r15) movaps -96(%rbp), %xmm0 movaps -80(%rbp), %xmm1 movups %xmm1, 16(%r15) movups %xmm0, (%r15) jmp LBB0_53 LBB0_25: movq (%r14), %rax movq _ngx_http_core_module@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq 16(%rax), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq (%r15), %rax movq (%rax), %rcx movq (%rcx), %rcx testq %rcx, %rcx je LBB0_33 ## %bb.26: movl $8, %ebx jmp LBB0_28 LBB0_27: ## in Loop: Header=BB0_28 Depth=1 movq (%rax), %rcx movq (%rcx,%rbx), %rcx addq $8, %rbx testq %rcx, %rcx je LBB0_33 LBB0_28: ## =>This Inner Loop Header: Depth=1 movq (%rcx), %rdx cmpq (%r13), %rdx jne LBB0_27 ## %bb.29: ## in Loop: Header=BB0_28 Depth=1 movq 8(%rcx), %r12 movq 16(%rcx), %r13 movq 8(%r13), %rax testq %rax, %rax je LBB0_31 ## %bb.30: ## in Loop: Header=BB0_28 Depth=1 movq (%r14), %rcx movq (%rcx,%r12,8), %rsi movq %r15, %rdi callq *%rax movq _NGX_CONF_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_24 LBB0_31: ## in Loop: Header=BB0_28 Depth=1 movq %r15, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movq %r13, %rdx movq %r12, %rcx callq _ngx_http_merge_servers movq _NGX_CONF_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_24 ## %bb.32: ## in Loop: Header=BB0_28 Depth=1 movq (%r15), %rax movq _NGX_HTTP_MODULE@GOTPCREL(%rip), %r13 jmp LBB0_27 LBB0_33: movq -48(%rbp), %rbx ## 8-byte Reload cmpq $0, 8(%rbx) je LBB0_38 ## %bb.34: xorl %r14d, %r14d movq _NGX_OK@GOTPCREL(%rip), %r12 LBB0_35: ## =>This Inner Loop Header: Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax,%r14,8), %rsi movq (%rsi), %rax movq (%rax), %rax movq _ngx_http_core_module@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rbx movq %r15, %rdi movq %rbx, %rdx callq _ngx_http_init_locations cmpq (%r12), %rax jne LBB0_51 ## %bb.36: ## in Loop: Header=BB0_35 Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _ngx_http_init_static_location_trees cmpq (%r12), %rax jne LBB0_51 ## %bb.37: ## in Loop: Header=BB0_35 Depth=1 incq %r14 movq -48(%rbp), %rbx ## 8-byte Reload cmpq 8(%rbx), %r14 jb LBB0_35 LBB0_38: movq %r15, %rdi movq %rbx, %rsi callq _ngx_http_init_phases movq _NGX_OK@GOTPCREL(%rip), %r14 cmpq (%r14), %rax jne LBB0_51 ## %bb.39: movq %r15, %rdi movq %rbx, %rsi callq _ngx_http_init_headers_in_hash cmpq (%r14), %rax jne LBB0_51 ## %bb.40: movq (%r15), %rax movq (%rax), %rcx movq (%rcx), %rcx testq %rcx, %rcx je LBB0_47 ## %bb.41: movl $8, %ebx jmp LBB0_43 LBB0_42: ## in Loop: Header=BB0_43 Depth=1 movq (%rax), %rcx movq (%rcx,%rbx), %rcx addq $8, %rbx testq %rcx, %rcx je LBB0_47 LBB0_43: ## =>This Inner Loop Header: Depth=1 movq (%rcx), %rdx cmpq (%r13), %rdx jne LBB0_42 ## %bb.44: ## in Loop: Header=BB0_43 Depth=1 movq 16(%rcx), %rcx movq 16(%rcx), %rcx testq %rcx, %rcx je LBB0_42 ## %bb.45: ## in Loop: Header=BB0_43 Depth=1 movq %r15, %rdi callq *%rcx cmpq (%r14), %rax jne LBB0_51 ## %bb.46: ## in Loop: Header=BB0_43 Depth=1 movq (%r15), %rax jmp LBB0_42 LBB0_47: movq %r15, %rdi callq _ngx_http_variables_init_vars cmpq (%r14), %rax jne LBB0_51 ## %bb.48: movq -64(%rbp), %rax movq %rax, 32(%r15) movaps -96(%rbp), %xmm0 movaps -80(%rbp), %xmm1 movups %xmm1, 16(%r15) movups %xmm0, (%r15) movq %r15, %rdi movq -48(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi callq _ngx_http_init_phase_handlers cmpq (%r14), %rax jne LBB0_51 ## %bb.49: movl (%rbx), %edx movq %r15, %rdi movq %rbx, %rsi callq _ngx_http_optimize_servers cmpq (%r14), %rax jne LBB0_51 ## %bb.50: movq _NGX_CONF_OK@GOTPCREL(%rip), %rax jmp LBB0_52 LBB0_51: movq _NGX_CONF_ERROR@GOTPCREL(%rip), %rax LBB0_52: movq (%rax), %rax LBB0_53: 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 "is duplicate" .comm _NGX_CONF_ERROR,8,3 ## @NGX_CONF_ERROR .comm _NGX_HTTP_MODULE,8,3 ## @NGX_HTTP_MODULE .comm _ngx_http_max_module,4,2 ## @ngx_http_max_module .comm _NGX_OK,8,3 ## @NGX_OK .comm _NGX_HTTP_MAIN_CONF,4,2 ## @NGX_HTTP_MAIN_CONF .comm _NGX_CONF_OK,8,3 ## @NGX_CONF_OK .comm _ngx_http_core_module,8,3 ## @ngx_http_core_module .comm _ngx_http_dummy_input_body_filter,4,2 ## @ngx_http_dummy_input_body_filter .comm _ngx_http_top_input_body_filter,4,2 ## @ngx_http_top_input_body_filter .no_dead_strip _ngx_http_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_http_block _ngx_http_block: ; @ngx_http_block .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 ldr x8, [x2] cbz x8, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF b LBB0_52 LBB0_2: mov x21, x2 mov x19, x0 ldr w0, [x0, #32] mov w1, #24 bl _ngx_pcalloc cbz x0, LBB0_51 ; %bb.3: mov x20, x0 str x0, [x21] ldr x0, [x19] Lloh2: adrp x24, _NGX_HTTP_MODULE@GOTPAGE Lloh3: ldr x24, [x24, _NGX_HTTP_MODULE@GOTPAGEOFF] ldr x1, [x24] bl _ngx_count_modules Lloh4: adrp x21, _ngx_http_max_module@GOTPAGE Lloh5: ldr x21, [x21, _ngx_http_max_module@GOTPAGEOFF] str w0, [x21] ldr w8, [x19, #32] lsl w1, w0, #3 mov x0, x8 bl _ngx_pcalloc str x0, [x20] cbz x0, LBB0_51 ; %bb.4: ldr w0, [x19, #32] ldr w8, [x21] lsl w1, w8, #3 bl _ngx_pcalloc str x0, [x20, #16] cbz x0, LBB0_51 ; %bb.5: ldr w0, [x19, #32] ldr w8, [x21] lsl w1, w8, #3 bl _ngx_pcalloc str x0, [x20, #8] cbz x0, LBB0_51 ; %bb.6: ldr x8, [x19] ldr x9, [x8] ldr x10, [x9] cbz x10, LBB0_16 ; %bb.7: mov w21, #8 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x19] ldr x9, [x8] ldr x10, [x9, x21] add x21, x21, #8 cbz x10, LBB0_16 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x8, [x10] ldr x9, [x24] cmp x8, x9 b.ne LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldp x9, x23, [x10, #8] ldr x8, [x23, #40] lsl x22, x9, #3 cbz x8, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 blr x8 ldr x8, [x20] str x0, [x8, x22] ldr x8, [x20] ldr x8, [x8, x22] cbz x8, LBB0_51 LBB0_12: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x23, #32] cbz x8, LBB0_14 ; %bb.13: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 blr x8 ldr x8, [x20, #16] str x0, [x8, x22] ldr x8, [x20, #16] ldr x8, [x8, x22] cbz x8, LBB0_51 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x23, #24] cbz x8, LBB0_8 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 blr x8 ldr x8, [x20, #8] str x0, [x8, x22] ldr x8, [x20, #8] ldr x8, [x8, x22] cbnz x8, LBB0_8 b LBB0_51 LBB0_16: ldp q0, q1, [x19] stp q0, q1, [sp] ldr x10, [x19, #32] str x10, [sp, #32] str x20, [x19, #24] ldr x9, [x9] cbz x9, LBB0_23 ; %bb.17: mov w21, #8 Lloh6: adrp x22, _NGX_OK@GOTPAGE Lloh7: ldr x22, [x22, _NGX_OK@GOTPAGEOFF] b LBB0_20 LBB0_18: ; in Loop: Header=BB0_20 Depth=1 ldr x8, [x19] LBB0_19: ; in Loop: Header=BB0_20 Depth=1 ldr x9, [x8] ldr x9, [x9, x21] add x21, x21, #8 cbz x9, LBB0_23 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9] ldr x11, [x24] cmp x10, x11 b.ne LBB0_19 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldr x9, [x9, #16] ldr x9, [x9] cbz x9, LBB0_19 ; %bb.22: ; in Loop: Header=BB0_20 Depth=1 mov x0, x19 blr x9 ldr x8, [x22] cmp x0, x8 b.eq LBB0_18 b LBB0_51 LBB0_23: ldr x8, [x24] str x8, [x19, #16] Lloh8: adrp x8, _NGX_HTTP_MAIN_CONF@GOTPAGE Lloh9: ldr x8, [x8, _NGX_HTTP_MAIN_CONF@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x19, #8] mov x0, x19 mov x1, #0 bl _ngx_conf_parse Lloh11: adrp x25, _NGX_CONF_OK@GOTPAGE Lloh12: ldr x25, [x25, _NGX_CONF_OK@GOTPAGEOFF] ldr x8, [x25] cmp x0, x8 b.eq LBB0_25 LBB0_24: ldp q0, q1, [sp] stp q0, q1, [x19] ldr x8, [sp, #32] str x8, [x19, #32] b LBB0_52 LBB0_25: ldr x8, [x20] Lloh13: adrp x26, _ngx_http_core_module@GOTPAGE Lloh14: ldr x26, [x26, _ngx_http_core_module@GOTPAGEOFF] ldr x9, [x26] ldr x21, [x8, x9, lsl #3] ldr x27, [x21, #16] ldr x8, [x19] ldr x9, [x8] ldr x9, [x9] cbz x9, LBB0_33 ; %bb.26: mov w28, #8 b LBB0_28 LBB0_27: ; in Loop: Header=BB0_28 Depth=1 ldr x9, [x8] ldr x9, [x9, x28] add x28, x28, #8 cbz x9, LBB0_33 LBB0_28: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9] ldr x11, [x24] cmp x10, x11 b.ne LBB0_27 ; %bb.29: ; in Loop: Header=BB0_28 Depth=1 ldp x23, x22, [x9, #8] ldr x8, [x22, #8] cbz x8, LBB0_31 ; %bb.30: ; in Loop: Header=BB0_28 Depth=1 ldr x9, [x20] ldr x1, [x9, x23, lsl #3] mov x0, x19 blr x8 ldr x8, [x25] cmp x0, x8 b.ne LBB0_24 LBB0_31: ; in Loop: Header=BB0_28 Depth=1 mov x0, x19 mov x1, x21 mov x2, x22 mov x3, x23 bl _ngx_http_merge_servers ldr x8, [x25] cmp x0, x8 b.ne LBB0_24 ; %bb.32: ; in Loop: Header=BB0_28 Depth=1 ldr x8, [x19] b LBB0_27 LBB0_33: ldr x8, [x21, #8] cbz x8, LBB0_38 ; %bb.34: mov x22, #0 Lloh15: adrp x23, _NGX_OK@GOTPAGE Lloh16: ldr x23, [x23, _NGX_OK@GOTPAGEOFF] LBB0_35: ; =>This Inner Loop Header: Depth=1 ldr x1, [x27, x22, lsl #3] ldr x8, [x1] ldr x8, [x8] ldr x9, [x26] ldr x20, [x8, x9, lsl #3] mov x0, x19 mov x2, x20 bl _ngx_http_init_locations ldr x8, [x23] cmp x0, x8 b.ne LBB0_51 ; %bb.36: ; in Loop: Header=BB0_35 Depth=1 mov x0, x19 mov x1, x20 bl _ngx_http_init_static_location_trees ldr x8, [x23] cmp x0, x8 b.ne LBB0_51 ; %bb.37: ; in Loop: Header=BB0_35 Depth=1 add x22, x22, #1 ldr x8, [x21, #8] cmp x22, x8 b.lo LBB0_35 LBB0_38: mov x0, x19 mov x1, x21 bl _ngx_http_init_phases Lloh17: adrp x20, _NGX_OK@GOTPAGE Lloh18: ldr x20, [x20, _NGX_OK@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.ne LBB0_51 ; %bb.39: mov x0, x19 mov x1, x21 bl _ngx_http_init_headers_in_hash ldr x8, [x20] cmp x0, x8 b.ne LBB0_51 ; %bb.40: ldr x8, [x19] ldr x9, [x8] ldr x9, [x9] cbz x9, LBB0_47 ; %bb.41: mov w22, #8 b LBB0_43 LBB0_42: ; in Loop: Header=BB0_43 Depth=1 ldr x9, [x8] ldr x9, [x9, x22] add x22, x22, #8 cbz x9, LBB0_47 LBB0_43: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9] ldr x11, [x24] cmp x10, x11 b.ne LBB0_42 ; %bb.44: ; in Loop: Header=BB0_43 Depth=1 ldr x9, [x9, #16] ldr x9, [x9, #16] cbz x9, LBB0_42 ; %bb.45: ; in Loop: Header=BB0_43 Depth=1 mov x0, x19 blr x9 ldr x8, [x20] cmp x0, x8 b.ne LBB0_51 ; %bb.46: ; in Loop: Header=BB0_43 Depth=1 ldr x8, [x19] b LBB0_42 LBB0_47: mov x0, x19 bl _ngx_http_variables_init_vars ldr x8, [x20] cmp x0, x8 b.ne LBB0_51 ; %bb.48: ldp q0, q1, [sp] stp q0, q1, [x19] ldr x8, [sp, #32] str x8, [x19, #32] mov x0, x19 mov x1, x21 bl _ngx_http_init_phase_handlers ldr x8, [x20] cmp x0, x8 b.ne LBB0_51 ; %bb.49: ldr w2, [x21] mov x0, x19 mov x1, x21 bl _ngx_http_optimize_servers ldr x8, [x20] cmp x0, x8 b.ne LBB0_51 ; %bb.50: ldr x0, [x25] b LBB0_52 LBB0_51: Lloh19: adrp x8, _NGX_CONF_ERROR@GOTPAGE Lloh20: ldr x8, [x8, _NGX_CONF_ERROR@GOTPAGEOFF] Lloh21: ldr x0, [x8] LBB0_52: 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 Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "is duplicate" .comm _NGX_CONF_ERROR,8,3 ; @NGX_CONF_ERROR .comm _NGX_HTTP_MODULE,8,3 ; @NGX_HTTP_MODULE .comm _ngx_http_max_module,4,2 ; @ngx_http_max_module .comm _NGX_OK,8,3 ; @NGX_OK .comm _NGX_HTTP_MAIN_CONF,4,2 ; @NGX_HTTP_MAIN_CONF .comm _NGX_CONF_OK,8,3 ; @NGX_CONF_OK .comm _ngx_http_core_module,8,3 ; @ngx_http_core_module .comm _ngx_http_dummy_input_body_filter,4,2 ; @ngx_http_dummy_input_body_filter .comm _ngx_http_top_input_body_filter,4,2 ; @ngx_http_top_input_body_filter .no_dead_strip _ngx_http_block .subsections_via_symbols
AnghaBench/tengine/src/http/extr_ngx_http.c_ngx_http_block.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/807867.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mwifiex_dnld_cmd_to_fw _mwifiex_dnld_cmd_to_fw: ## @mwifiex_dnld_cmd_to_fw .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 $-1, %r14d testq %rsi, %rsi je LBB0_27 ## %bb.1: movq (%rdi), %r15 testq %r15, %r15 je LBB0_27 ## %bb.2: movq %rsi, %rbx movq 8(%rsi), %rax movq 8(%rax), %r13 testq %r13, %r13 je LBB0_4 ## %bb.3: cmpq $0, (%r13) je LBB0_4 ## %bb.7: movq 8(%r13), %rdi callq _le16_to_cpu movq %rax, %r12 movq %rax, 24(%rbx) movq (%r13), %rdi callq _le16_to_cpu movq %rax, -72(%rbp) ## 8-byte Spill movq (%r15), %rax movq _MWIFIEX_HW_STATUS_RESET@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.8: movq _HostCmd_CMD_FUNC_SHUTDOWN@GOTPCREL(%rip), %rax cmpq (%rax), %r12 je LBB0_11 ## %bb.9: movq _HostCmd_CMD_FUNC_INIT@GOTPCREL(%rip), %rax cmpq (%rax), %r12 je LBB0_11 ## %bb.10: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdx movq %r15, %rdi movq %r12, %rcx xorl %eax, %eax callq _mwifiex_dbg movq %r15, %rdi movq %rbx, %rsi callq _mwifiex_recycle_cmd_node movl 96(%r15), %edi addq $92, %r15 movq %r15, %rsi callq _queue_work jmp LBB0_27 LBB0_4: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx movq %r15, %rdi xorl %eax, %eax callq _mwifiex_dbg cmpq $0, (%rbx) je LBB0_6 ## %bb.5: movl $-1, 72(%r15) LBB0_6: movq %r15, %rdi movq %rbx, %rsi callq _mwifiex_recycle_cmd_node LBB0_27: movl %r14d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movl 88(%r15), %edi incl %edi movl %edi, 88(%r15) movq 16(%rbx), %rax movl (%rax), %edx movl 4(%rax), %esi callq _HostCmd_SET_SEQ_NO_BSS_INFO movl %eax, %edi callq _cpu_to_le16 movq %rax, 16(%r13) leaq 56(%r15), %r14 movq %r14, %rdi callq _spin_lock_bh movq %rbx, 64(%r15) movq %r14, -64(%rbp) ## 8-byte Spill movq %r14, %rdi callq _spin_unlock_bh movq 8(%rbx), %rdi movq -72(%rbp), %r14 ## 8-byte Reload movq %r14, %rsi subq (%rdi), %rsi movq %r12, -56(%rbp) ## 8-byte Spill jge LBB0_13 ## %bb.12: movq %r14, %rsi callq _skb_trim jmp LBB0_15 LBB0_13: jle LBB0_15 ## %bb.14: callq _skb_put LBB0_15: movq _CMD@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _S_DS_GEN@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq (,%rax,4), %rdi addq %r13, %rdi callq _get_unaligned_le16 movl %eax, %r12d movq 16(%r13), %rdi callq _le16_to_cpu movq %rax, (%rsp) leaq L_.str.2(%rip), %rdx movq %r15, %rdi movl -44(%rbp), %esi ## 4-byte Reload movq -56(%rbp), %rcx ## 8-byte Reload movl %r12d, %r8d movq %r14, %r9 xorl %eax, %eax callq _mwifiex_dbg movq _CMD_D@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.3(%rip), %rdx movq %r15, %rdi movq %r13, %rcx movq %r14, %r8 callq _mwifiex_dbg_dump movq 8(%r15), %rax movq _MWIFIEX_USB@GOTPCREL(%rip), %rcx movq 8(%rbx), %rdi cmpq (%rcx), %rax movl $-1, %r14d jne LBB0_18 ## %bb.16: movq _MWIFIEX_TYPE_LEN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _skb_push movq _MWIFIEX_USB_TYPE_CMD@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%rbx), %rax movq 8(%rax), %rsi callq _put_unaligned_le32 movl $1, 16(%r15) movq _MWIFIEX_USB_EP_CMD_EVENT@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rdx movq %r15, %rdi xorl %ecx, %ecx callq *80(%r15) movl %eax, %r12d movq 8(%rbx), %rdi movq _MWIFIEX_TYPE_LEN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _skb_pull movq _EBUSY@GOTPCREL(%rip), %rax movl %r12d, %ecx addl (%rax), %ecx jne LBB0_19 ## %bb.17: movq $0, 8(%rbx) jmp LBB0_19 LBB0_18: movl 76(%r15), %esi callq _skb_push movq _MWIFIEX_TYPE_CMD@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rdx movq %r15, %rdi xorl %ecx, %ecx callq *80(%r15) movl %eax, %r12d movq 8(%rbx), %rdi movl 76(%r15), %esi callq _skb_pull LBB0_19: cmpl $-1, %r12d je LBB0_20 ## %bb.25: movl 24(%r15), %eax incl %eax movq _DBG_CMD_NUM@GOTPCREL(%rip), %rcx cltd idivl (%rcx) movl %edx, 24(%r15) movq 40(%r15), %rax movslq %edx, %rcx movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, (%rax,%rcx,8) movq _S_DS_GEN@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq (,%rax,4), %rdi addq %r13, %rdi callq _get_unaligned_le16 movq 32(%r15), %rcx movslq 24(%r15), %rdx movl %eax, (%rcx,%rdx,4) movq _HostCmd_CMD_FW_DUMP_EVENT@GOTPCREL(%rip), %rax xorl %r14d, %r14d cmpq (%rax), %rbx je LBB0_27 ## %bb.26: addq $20, %r15 movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %rbx movq _MWIFIEX_TIMER_10S@GOTPCREL(%rip), %rax movl (%rax), %edi callq _msecs_to_jiffies addq %rax, %rbx movq %r15, %rdi movq %rbx, %rsi callq _mod_timer jmp LBB0_27 LBB0_20: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.4(%rip), %rdx movq %r15, %rdi xorl %eax, %eax callq _mwifiex_dbg movq 8(%r15), %rax movq _MWIFIEX_USB@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_22 ## %bb.21: movl $0, 16(%r15) LBB0_22: cmpq $0, (%rbx) je LBB0_24 ## %bb.23: movl $-1, 72(%r15) LBB0_24: movq 64(%r15), %rsi movq %r15, %rdi callq _mwifiex_recycle_cmd_node movq -64(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _spin_lock_bh movq $0, 64(%r15) movq %rbx, %rdi callq _spin_unlock_bh incl 48(%r15) jmp LBB0_27 .cfi_endproc ## -- End function .comm _ERROR,4,2 ## @ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DNLD_CMD: host_cmd is null\tor cmd size is 0, not sending\n" .comm _MWIFIEX_HW_STATUS_RESET,8,3 ## @MWIFIEX_HW_STATUS_RESET .comm _HostCmd_CMD_FUNC_SHUTDOWN,8,3 ## @HostCmd_CMD_FUNC_SHUTDOWN .comm _HostCmd_CMD_FUNC_INIT,8,3 ## @HostCmd_CMD_FUNC_INIT L_.str.1: ## @.str.1 .asciz "DNLD_CMD: FW in reset state, ignore cmd %#x\n" .comm _CMD,4,2 ## @CMD L_.str.2: ## @.str.2 .asciz "cmd: DNLD_CMD: %#x, act %#x, len %d, seqno %#x\n" .comm _S_DS_GEN,4,2 ## @S_DS_GEN .comm _CMD_D,4,2 ## @CMD_D L_.str.3: ## @.str.3 .asciz "cmd buffer:" .comm _MWIFIEX_USB,8,3 ## @MWIFIEX_USB .comm _MWIFIEX_TYPE_LEN,4,2 ## @MWIFIEX_TYPE_LEN .comm _MWIFIEX_USB_TYPE_CMD,4,2 ## @MWIFIEX_USB_TYPE_CMD .comm _MWIFIEX_USB_EP_CMD_EVENT,4,2 ## @MWIFIEX_USB_EP_CMD_EVENT .comm _EBUSY,4,2 ## @EBUSY .comm _MWIFIEX_TYPE_CMD,4,2 ## @MWIFIEX_TYPE_CMD L_.str.4: ## @.str.4 .asciz "DNLD_CMD: host to card failed\n" .comm _DBG_CMD_NUM,4,2 ## @DBG_CMD_NUM .comm _HostCmd_CMD_FW_DUMP_EVENT,8,3 ## @HostCmd_CMD_FW_DUMP_EVENT .comm _jiffies,8,3 ## @jiffies .comm _MWIFIEX_TIMER_10S,4,2 ## @MWIFIEX_TIMER_10S .comm _HostCmd_CMD_ID_MASK,8,3 ## @HostCmd_CMD_ID_MASK .no_dead_strip _mwifiex_dnld_cmd_to_fw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mwifiex_dnld_cmd_to_fw _mwifiex_dnld_cmd_to_fw: ; @mwifiex_dnld_cmd_to_fw .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x8, x0 mov w0, #-1 cbz x1, LBB0_27 ; %bb.1: ldr x19, [x8] cbz x19, LBB0_27 ; %bb.2: mov x20, x1 ldr x8, [x1, #8] ldr x22, [x8, #8] cbz x22, LBB0_7 ; %bb.3: ldr x8, [x22] cbz x8, LBB0_7 ; %bb.4: ldr x0, [x22, #8] bl _le16_to_cpu mov x21, x0 str x0, [x20, #24] ldr x0, [x22] bl _le16_to_cpu ldr x8, [x19] Lloh0: adrp x9, _MWIFIEX_HW_STATUS_RESET@GOTPAGE Lloh1: ldr x9, [x9, _MWIFIEX_HW_STATUS_RESET@GOTPAGEOFF] Lloh2: ldr x9, [x9] Lloh3: adrp x10, _HostCmd_CMD_FUNC_SHUTDOWN@GOTPAGE Lloh4: ldr x10, [x10, _HostCmd_CMD_FUNC_SHUTDOWN@GOTPAGEOFF] Lloh5: ldr x10, [x10] Lloh6: adrp x11, _HostCmd_CMD_FUNC_INIT@GOTPAGE Lloh7: ldr x11, [x11, _HostCmd_CMD_FUNC_INIT@GOTPAGEOFF] Lloh8: ldr x11, [x11] cmp x8, x9 ccmp x21, x10, #4, eq ccmp x21, x11, #4, ne b.ne LBB0_10 ; %bb.5: mov x24, x0 ldr w8, [x19, #88] add w0, w8, #1 str w0, [x19, #88] ldr x8, [x20, #16] ldp w2, w1, [x8] bl _HostCmd_SET_SEQ_NO_BSS_INFO bl _cpu_to_le16 str x0, [x22, #16] add x23, x19, #56 mov x0, x23 bl _spin_lock_bh str x20, [x19, #64] mov x0, x23 bl _spin_unlock_bh ldr x0, [x20, #8] ldr x8, [x0] subs x1, x24, x8 b.ge LBB0_11 ; %bb.6: mov x1, x24 bl _skb_trim b LBB0_13 LBB0_7: Lloh9: adrp x8, _ERROR@GOTPAGE Lloh10: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh11: ldr w1, [x8] Lloh12: adrp x2, l_.str@PAGE Lloh13: add x2, x2, l_.str@PAGEOFF mov x0, x19 bl _mwifiex_dbg ldr x8, [x20] cbz x8, LBB0_9 ; %bb.8: mov w8, #-1 str w8, [x19, #72] LBB0_9: mov x0, x19 mov x1, x20 bl _mwifiex_recycle_cmd_node b LBB0_26 LBB0_10: Lloh14: adrp x8, _ERROR@GOTPAGE Lloh15: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh16: ldr w1, [x8] str x21, [sp] Lloh17: adrp x2, l_.str.1@PAGE Lloh18: add x2, x2, l_.str.1@PAGEOFF mov x0, x19 bl _mwifiex_dbg mov x0, x19 mov x1, x20 bl _mwifiex_recycle_cmd_node ldr w0, [x19, #96] add x1, x19, #92 bl _queue_work b LBB0_26 LBB0_11: b.le LBB0_13 ; %bb.12: bl _skb_put LBB0_13: Lloh19: adrp x8, _CMD@GOTPAGE Lloh20: ldr x8, [x8, _CMD@GOTPAGEOFF] Lloh21: ldr w25, [x8] Lloh22: adrp x27, _S_DS_GEN@GOTPAGE Lloh23: ldr x27, [x27, _S_DS_GEN@GOTPAGEOFF] ldrsw x8, [x27] add x0, x22, x8, lsl #2 bl _get_unaligned_le16 mov x26, x0 ldr x0, [x22, #16] bl _le16_to_cpu stp x24, x0, [sp, #16] stp x21, x26, [sp] Lloh24: adrp x2, l_.str.2@PAGE Lloh25: add x2, x2, l_.str.2@PAGEOFF mov x0, x19 mov x1, x25 bl _mwifiex_dbg Lloh26: adrp x8, _CMD_D@GOTPAGE Lloh27: ldr x8, [x8, _CMD_D@GOTPAGEOFF] Lloh28: ldr w1, [x8] Lloh29: adrp x2, l_.str.3@PAGE Lloh30: add x2, x2, l_.str.3@PAGEOFF mov x0, x19 mov x3, x22 mov x4, x24 bl _mwifiex_dbg_dump ldr x8, [x19, #8] Lloh31: adrp x25, _MWIFIEX_USB@GOTPAGE Lloh32: ldr x25, [x25, _MWIFIEX_USB@GOTPAGEOFF] ldr x9, [x25] ldr x0, [x20, #8] cmp x8, x9 b.ne LBB0_16 ; %bb.14: Lloh33: adrp x26, _MWIFIEX_TYPE_LEN@GOTPAGE Lloh34: ldr x26, [x26, _MWIFIEX_TYPE_LEN@GOTPAGEOFF] ldr w1, [x26] bl _skb_push Lloh35: adrp x8, _MWIFIEX_USB_TYPE_CMD@GOTPAGE Lloh36: ldr x8, [x8, _MWIFIEX_USB_TYPE_CMD@GOTPAGEOFF] Lloh37: ldr w0, [x8] ldr x8, [x20, #8] ldr x1, [x8, #8] bl _put_unaligned_le32 mov w8, #1 str w8, [x19, #16] ldr x8, [x19, #80] Lloh38: adrp x9, _MWIFIEX_USB_EP_CMD_EVENT@GOTPAGE Lloh39: ldr x9, [x9, _MWIFIEX_USB_EP_CMD_EVENT@GOTPAGEOFF] Lloh40: ldr w1, [x9] ldr x2, [x20, #8] mov x0, x19 mov x3, #0 blr x8 mov x24, x0 ldr x0, [x20, #8] ldr w1, [x26] bl _skb_pull Lloh41: adrp x8, _EBUSY@GOTPAGE Lloh42: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh43: ldr w8, [x8] cmn w24, w8 b.ne LBB0_17 ; %bb.15: str xzr, [x20, #8] b LBB0_17 LBB0_16: ldr w1, [x19, #76] bl _skb_push ldr x8, [x19, #80] Lloh44: adrp x9, _MWIFIEX_TYPE_CMD@GOTPAGE Lloh45: ldr x9, [x9, _MWIFIEX_TYPE_CMD@GOTPAGEOFF] Lloh46: ldr w1, [x9] ldr x2, [x20, #8] mov x0, x19 mov x3, #0 blr x8 mov x24, x0 ldr x0, [x20, #8] ldr w1, [x19, #76] bl _skb_pull LBB0_17: cmn w24, #1 b.eq LBB0_21 ; %bb.18: ldr w8, [x19, #24] add w8, w8, #1 Lloh47: adrp x9, _DBG_CMD_NUM@GOTPAGE Lloh48: ldr x9, [x9, _DBG_CMD_NUM@GOTPAGEOFF] Lloh49: ldr w9, [x9] sdiv w10, w8, w9 msub w8, w10, w9, w8 str w8, [x19, #24] ldr x9, [x19, #40] str x21, [x9, w8, sxtw #3] ldrsw x8, [x27] add x0, x22, x8, lsl #2 bl _get_unaligned_le16 ldr x8, [x19, #32] ldrsw x9, [x19, #24] str w0, [x8, x9, lsl #2] Lloh50: adrp x8, _HostCmd_CMD_FW_DUMP_EVENT@GOTPAGE Lloh51: ldr x8, [x8, _HostCmd_CMD_FW_DUMP_EVENT@GOTPAGEOFF] Lloh52: ldr x8, [x8] cmp x21, x8 b.eq LBB0_20 ; %bb.19: add x19, x19, #20 Lloh53: adrp x8, _jiffies@GOTPAGE Lloh54: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh55: ldr x20, [x8] Lloh56: adrp x8, _MWIFIEX_TIMER_10S@GOTPAGE Lloh57: ldr x8, [x8, _MWIFIEX_TIMER_10S@GOTPAGEOFF] Lloh58: ldr w0, [x8] bl _msecs_to_jiffies add x1, x0, x20 mov x0, x19 bl _mod_timer LBB0_20: mov w0, #0 b LBB0_27 LBB0_21: Lloh59: adrp x8, _ERROR@GOTPAGE Lloh60: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh61: ldr w1, [x8] Lloh62: adrp x2, l_.str.4@PAGE Lloh63: add x2, x2, l_.str.4@PAGEOFF mov x0, x19 bl _mwifiex_dbg ldr x8, [x19, #8] ldr x9, [x25] cmp x8, x9 b.ne LBB0_23 ; %bb.22: str wzr, [x19, #16] LBB0_23: ldr x8, [x20] cbz x8, LBB0_25 ; %bb.24: mov w8, #-1 str w8, [x19, #72] LBB0_25: ldr x1, [x19, #64] mov x0, x19 bl _mwifiex_recycle_cmd_node mov x0, x23 bl _spin_lock_bh str xzr, [x19, #64] mov x0, x23 bl _spin_unlock_bh ldr w8, [x19, #48] add w8, w8, #1 str w8, [x19, #48] LBB0_26: mov w0, #-1 LBB0_27: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .cfi_endproc ; -- End function .comm _ERROR,4,2 ; @ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DNLD_CMD: host_cmd is null\tor cmd size is 0, not sending\n" .comm _MWIFIEX_HW_STATUS_RESET,8,3 ; @MWIFIEX_HW_STATUS_RESET .comm _HostCmd_CMD_FUNC_SHUTDOWN,8,3 ; @HostCmd_CMD_FUNC_SHUTDOWN .comm _HostCmd_CMD_FUNC_INIT,8,3 ; @HostCmd_CMD_FUNC_INIT l_.str.1: ; @.str.1 .asciz "DNLD_CMD: FW in reset state, ignore cmd %#x\n" .comm _CMD,4,2 ; @CMD l_.str.2: ; @.str.2 .asciz "cmd: DNLD_CMD: %#x, act %#x, len %d, seqno %#x\n" .comm _S_DS_GEN,4,2 ; @S_DS_GEN .comm _CMD_D,4,2 ; @CMD_D l_.str.3: ; @.str.3 .asciz "cmd buffer:" .comm _MWIFIEX_USB,8,3 ; @MWIFIEX_USB .comm _MWIFIEX_TYPE_LEN,4,2 ; @MWIFIEX_TYPE_LEN .comm _MWIFIEX_USB_TYPE_CMD,4,2 ; @MWIFIEX_USB_TYPE_CMD .comm _MWIFIEX_USB_EP_CMD_EVENT,4,2 ; @MWIFIEX_USB_EP_CMD_EVENT .comm _EBUSY,4,2 ; @EBUSY .comm _MWIFIEX_TYPE_CMD,4,2 ; @MWIFIEX_TYPE_CMD l_.str.4: ; @.str.4 .asciz "DNLD_CMD: host to card failed\n" .comm _DBG_CMD_NUM,4,2 ; @DBG_CMD_NUM .comm _HostCmd_CMD_FW_DUMP_EVENT,8,3 ; @HostCmd_CMD_FW_DUMP_EVENT .comm _jiffies,8,3 ; @jiffies .comm _MWIFIEX_TIMER_10S,4,2 ; @MWIFIEX_TIMER_10S .comm _HostCmd_CMD_ID_MASK,8,3 ; @HostCmd_CMD_ID_MASK .no_dead_strip _mwifiex_dnld_cmd_to_fw .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_cmdevt.c_mwifiex_dnld_cmd_to_fw.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv__inotify_init ## -- Begin function uv__inotify_init .p2align 4, 0x90 _uv__inotify_init: ## @uv__inotify_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 _ENOSYS@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $-1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENOSYS,4,2 ## @ENOSYS .comm _errno,4,2 ## @errno .comm ___NR_inotify_init,4,2 ## @__NR_inotify_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uv__inotify_init ; -- Begin function uv__inotify_init .p2align 2 _uv__inotify_init: ; @uv__inotify_init .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ENOSYS@GOTPAGE Lloh1: ldr x8, [x8, _ENOSYS@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _errno@GOTPAGE Lloh4: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh5: str w8, [x9] mov w0, #-1 ret .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOSYS,4,2 ; @ENOSYS .comm _errno,4,2 ; @errno .comm ___NR_inotify_init,4,2 ; @__NR_inotify_init .subsections_via_symbols
AnghaBench/libuv/src/unix/extr_linux-syscalls.c_uv__inotify_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf testb $1, -4(%rbp) leaq L_str.5(%rip), %rax leaq L_str.4(%rip), %rdi cmoveq %rax, %rdi callq _puts xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d" L_str: ## @str .asciz "Enter Number : " L_str.4: ## @str.4 .asciz "Number is odd " L_str.5: ## @str.5 .asciz "Number is even " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w8, [x29, #-4] Lloh4: adrp x9, l_str.4@PAGE Lloh5: add x9, x9, l_str.4@PAGEOFF Lloh6: adrp x10, l_str.5@PAGE Lloh7: add x10, x10, l_str.5@PAGEOFF tst w8, #0x1 csel x0, x10, x9, eq bl _puts mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d" l_str: ; @str .asciz "Enter Number : " l_str.4: ; @str.4 .asciz "Number is odd " l_str.5: ; @str.5 .asciz "Number is even " .subsections_via_symbols
the_stack_data/678795.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function claro_cleanup _claro_cleanup: ## @claro_cleanup .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 _claro_disable_hp ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _claro_cleanup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function claro_cleanup _claro_cleanup: ; @claro_cleanup .cfi_startproc ; %bb.0: b _claro_disable_hp .cfi_endproc ; -- End function .no_dead_strip _claro_cleanup .subsections_via_symbols
AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_claro_cleanup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _b43_hf_write ## -- Begin function b43_hf_write .p2align 4, 0x90 _b43_hf_write: ## @b43_hf_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movzwl %si, %ecx movl %esi, %ebx shrl $16, %ebx sarl $31, %esi movzwl %si, %r15d movq _B43_SHM_SHARED@GOTPCREL(%rip), %r12 movl (%r12), %esi movq _B43_SHM_SH_HOSTF1@GOTPCREL(%rip), %rax movl (%rax), %edx callq _b43_shm_write16 movl (%r12), %esi movq _B43_SHM_SH_HOSTF2@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl %ebx, %ecx callq _b43_shm_write16 movl (%r12), %esi movq _B43_SHM_SH_HOSTF3@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl %r15d, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _b43_shm_write16 ## TAILCALL .cfi_endproc ## -- End function .comm _B43_SHM_SHARED,4,2 ## @B43_SHM_SHARED .comm _B43_SHM_SH_HOSTF1,4,2 ## @B43_SHM_SH_HOSTF1 .comm _B43_SHM_SH_HOSTF2,4,2 ## @B43_SHM_SH_HOSTF2 .comm _B43_SHM_SH_HOSTF3,4,2 ## @B43_SHM_SH_HOSTF3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _b43_hf_write ; -- Begin function b43_hf_write .p2align 2 _b43_hf_write: ; @b43_hf_write .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 and w3, w1, #0xffff lsr w20, w1, #16 asr w8, w1, #31 and w21, w8, #0xffff Lloh0: adrp x22, _B43_SHM_SHARED@GOTPAGE Lloh1: ldr x22, [x22, _B43_SHM_SHARED@GOTPAGEOFF] ldr w1, [x22] Lloh2: adrp x8, _B43_SHM_SH_HOSTF1@GOTPAGE Lloh3: ldr x8, [x8, _B43_SHM_SH_HOSTF1@GOTPAGEOFF] Lloh4: ldr w2, [x8] bl _b43_shm_write16 ldr w1, [x22] Lloh5: adrp x8, _B43_SHM_SH_HOSTF2@GOTPAGE Lloh6: ldr x8, [x8, _B43_SHM_SH_HOSTF2@GOTPAGEOFF] Lloh7: ldr w2, [x8] mov x0, x19 mov x3, x20 bl _b43_shm_write16 Lloh8: adrp x8, _B43_SHM_SH_HOSTF3@GOTPAGE Lloh9: ldr x8, [x8, _B43_SHM_SH_HOSTF3@GOTPAGEOFF] ldr w1, [x22] Lloh10: ldr w2, [x8] mov x0, x19 mov x3, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _b43_shm_write16 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _B43_SHM_SHARED,4,2 ; @B43_SHM_SHARED .comm _B43_SHM_SH_HOSTF1,4,2 ; @B43_SHM_SH_HOSTF1 .comm _B43_SHM_SH_HOSTF2,4,2 ; @B43_SHM_SH_HOSTF2 .comm _B43_SHM_SH_HOSTF3,4,2 ; @B43_SHM_SH_HOSTF3 .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_main.c_b43_hf_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl $1, %r14d cmpl $4, %edi jne LBB0_5 ## %bb.1: movq %rsi, %rbx movq 8(%rsi), %rdi leaq L_.str(%rip), %rsi callq _strcmp testl %eax, %eax jne LBB0_5 ## %bb.2: movq 16(%rbx), %rdi leaq L_.str.1(%rip), %rsi callq _strcmp testl %eax, %eax jne LBB0_5 ## %bb.3: movq 24(%rbx), %rdi leaq L_.str.2(%rip), %rsi callq _strcmp testl %eax, %eax jne LBB0_5 ## %bb.4: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq _output(%rip), %rdi movl $272, %esi ## imm = 0x110 movl $1, %edx callq _fwrite xorl %r14d, %r14d LBB0_5: movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "-j" L_.str.1: ## @.str.1 .asciz "qdisc" L_.str.2: ## @.str.2 .asciz "list" .section __TEXT,__const .p2align 4 ## @output _output: .asciz "[{\"kind\":\"noqueue\",\"handle\":\"0:\",\"dev\":\"lo\",\"root\":true,\"refcnt\":2,\"options\":{}},{\"kind\":\"fq_codel\",\"handle\":\"0:\",\"dev\":\"ens33\",\"root\":true,\"refcnt\":2,\"options\":{\"limit\":10240,\"flows\":1024,\"quantum\":1514,\"target\":4999,\"interval\":99999,\"memory_limit\":33554432,\"ecn\":true}}]" .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 cmp w0, #4 b.ne LBB0_4 ; %bb.1: mov x19, x1 ldr x0, [x1, #8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _strcmp cbnz w0, LBB0_4 ; %bb.2: ldr x0, [x19, #16] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _strcmp cbnz w0, LBB0_4 ; %bb.3: ldr x0, [x19, #24] Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF bl _strcmp cbz w0, LBB0_6 LBB0_4: mov w0, #1 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_6: Lloh6: adrp x8, ___stdoutp@GOTPAGE Lloh7: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh8: ldr x3, [x8] Lloh9: adrp x0, _output@PAGE Lloh10: add x0, x0, _output@PAGEOFF mov w1, #272 mov w2, #1 bl _fwrite mov w0, #0 b LBB0_5 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "-j" l_.str.1: ; @.str.1 .asciz "qdisc" l_.str.2: ; @.str.2 .asciz "list" .section __TEXT,__const _output: ; @output .asciz "[{\"kind\":\"noqueue\",\"handle\":\"0:\",\"dev\":\"lo\",\"root\":true,\"refcnt\":2,\"options\":{}},{\"kind\":\"fq_codel\",\"handle\":\"0:\",\"dev\":\"ens33\",\"root\":true,\"refcnt\":2,\"options\":{\"limit\":10240,\"flows\":1024,\"quantum\":1514,\"target\":4999,\"interval\":99999,\"memory_limit\":33554432,\"ecn\":true}}]" .subsections_via_symbols
the_stack_data/49191.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _IN_Button4Up ## -- Begin function IN_Button4Up .p2align 4, 0x90 _IN_Button4Up: ## @IN_Button4Up .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _in_buttons@GOTPCREL(%rip), %rax movq (%rax), %rdi addq $16, %rdi popq %rbp jmp _IN_KeyUp ## TAILCALL .cfi_endproc ## -- End function .comm _in_buttons,8,3 ## @in_buttons .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _IN_Button4Up ; -- Begin function IN_Button4Up .p2align 2 _IN_Button4Up: ; @IN_Button4Up .cfi_startproc ; %bb.0: Lloh0: adrp x8, _in_buttons@GOTPAGE Lloh1: ldr x8, [x8, _in_buttons@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x0, x8, #16 b _IN_KeyUp .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _in_buttons,8,3 ; @in_buttons .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/client/extr_cl_input.c_IN_Button4Up.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bstp_task_enqueue _bstp_task_enqueue: ## @bstp_task_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _bstp_task_mtx@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _lck_mtx_lock movl (%rbx), %eax testl %eax, %eax je LBB0_2 ## %bb.1: incl %eax movl %eax, (%rbx) jmp LBB0_3 LBB0_2: movl $1, (%rbx) movq _bt_next@GOTPCREL(%rip), %rax movl (%rax), %edx movq _bstp_task_queue@GOTPCREL(%rip), %rdi movq %rbx, %rsi callq _TAILQ_INSERT_TAIL LBB0_3: movl (%r14), %edi callq _lck_mtx_unlock movq _bstp_task_queue@GOTPCREL(%rip), %rdi popq %rbx popq %r14 popq %rbp jmp _wakeup ## TAILCALL .cfi_endproc ## -- End function .comm _bstp_task_mtx,4,2 ## @bstp_task_mtx .comm _bstp_task_queue,4,2 ## @bstp_task_queue .comm _bt_next,4,2 ## @bt_next .no_dead_strip _bstp_task_enqueue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bstp_task_enqueue _bstp_task_enqueue: ; @bstp_task_enqueue .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _bstp_task_mtx@GOTPAGE Lloh1: ldr x20, [x20, _bstp_task_mtx@GOTPAGEOFF] ldr w0, [x20] bl _lck_mtx_lock ldr w8, [x19] cbz w8, LBB0_2 ; %bb.1: add w8, w8, #1 str w8, [x19] b LBB0_3 LBB0_2: mov w8, #1 str w8, [x19] Lloh2: adrp x8, _bt_next@GOTPAGE Lloh3: ldr x8, [x8, _bt_next@GOTPAGEOFF] Lloh4: ldr w2, [x8] Lloh5: adrp x0, _bstp_task_queue@GOTPAGE Lloh6: ldr x0, [x0, _bstp_task_queue@GOTPAGEOFF] mov x1, x19 bl _TAILQ_INSERT_TAIL LBB0_3: ldr w0, [x20] bl _lck_mtx_unlock Lloh7: adrp x0, _bstp_task_queue@GOTPAGE Lloh8: ldr x0, [x0, _bstp_task_queue@GOTPAGEOFF] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _wakeup .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _bstp_task_mtx,4,2 ; @bstp_task_mtx .comm _bstp_task_queue,4,2 ; @bstp_task_queue .comm _bt_next,4,2 ; @bt_next .no_dead_strip _bstp_task_enqueue .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/net/extr_bridgestp.c_bstp_task_enqueue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ar8xxx_sw_get_mirror_rx_enable ## -- Begin function ar8xxx_sw_get_mirror_rx_enable .p2align 4, 0x90 _ar8xxx_sw_get_mirror_rx_enable: ## @ar8xxx_sw_get_mirror_rx_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 %rdx, %rbx callq _swdev_to_ar8xxx movl (%rax), %eax movl %eax, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ar8xxx_sw_get_mirror_rx_enable ; -- Begin function ar8xxx_sw_get_mirror_rx_enable .p2align 2 _ar8xxx_sw_get_mirror_rx_enable: ; @ar8xxx_sw_get_mirror_rx_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, x2 bl _swdev_to_ar8xxx ldr w8, [x0] str w8, [x19] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_ar8216.c_ar8xxx_sw_get_mirror_rx_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nfsd4_do_copy _nfsd4_do_copy: ## @nfsd4_do_copy .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, %r14d movq %rdi, %rbx callq __nfsd_copy_file_range testq %rax, %rax jns LBB0_3 ## %bb.1: cmpl $0, 8(%rbx) je LBB0_2 LBB0_3: movq %rbx, %rdi movl %r14d, %esi callq _nfsd4_init_copy_res movq _nfs_ok@GOTPCREL(%rip), %rax movl (%rax), %r14d LBB0_4: movl 4(%rbx), %edi callq _nfsd_file_put movl (%rbx), %edi callq _nfsd_file_put movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq LBB0_2: movq %rax, %rdi callq _nfserrno movl %eax, %r14d jmp LBB0_4 .cfi_endproc ## -- End function .comm _nfs_ok,4,2 ## @nfs_ok .no_dead_strip _nfsd4_do_copy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nfsd4_do_copy _nfsd4_do_copy: ; @nfsd4_do_copy .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 __nfsd_copy_file_range tbz x0, #63, LBB0_2 ; %bb.1: ldr w8, [x19, #8] cbz w8, LBB0_4 LBB0_2: mov x0, x19 mov x1, x20 bl _nfsd4_init_copy_res Lloh0: adrp x8, _nfs_ok@GOTPAGE Lloh1: ldr x8, [x8, _nfs_ok@GOTPAGEOFF] Lloh2: ldr w20, [x8] LBB0_3: ldr w0, [x19, #4] bl _nfsd_file_put ldr w0, [x19] bl _nfsd_file_put mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: bl _nfserrno mov x20, x0 b LBB0_3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _nfs_ok,4,2 ; @nfs_ok .no_dead_strip _nfsd4_do_copy .subsections_via_symbols
AnghaBench/linux/fs/nfsd/extr_nfs4proc.c_nfsd4_do_copy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _func ## -- Begin function func .p2align 4, 0x90 _func: ## @func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax shrl $4, %eax movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _func2 ## -- Begin function func2 .p2align 4, 0x90 _func2: ## @func2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movzwl (%rdi), %eax shrl $4, %eax movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _func ; -- Begin function func .p2align 2 _func: ; @func .cfi_startproc ; %bb.0: ldr w8, [x0] ubfx w0, w8, #4, #8 ret .cfi_endproc ; -- End function .globl _func2 ; -- Begin function func2 .p2align 2 _func2: ; @func2 .cfi_startproc ; %bb.0: ldrh w8, [x0] ubfx w0, w8, #4, #8 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/15761907.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _getParentFolder ## -- Begin function getParentFolder .p2align 4, 0x90 _getParentFolder: ## @getParentFolder .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _strdup movq %rax, %rbx movq %rax, %rdi callq _strlen leal -2(%rax), %ecx decl %eax .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 testl %eax, %eax js LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl %ecx, %edx decl %ecx decq %rax cmpb $92, (%rbx,%rdx) jne LBB0_1 ## %bb.5: movb $0, 1(%rbx,%rax) jmp LBB0_6 LBB0_3: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax 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 _getParentFolder ; -- Begin function getParentFolder .p2align 2 _getParentFolder: ; @getParentFolder .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _strdup mov x19, x0 bl _strlen sub w8, w0, #2 sub w9, w0, #1 LBB0_1: ; =>This Inner Loop Header: Depth=1 tbnz w9, #31, LBB0_6 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 cbz w9, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 ldrb w10, [x19, w8, uxtw] sub w8, w8, #1 sub x9, x9, #1 cmp w10, #92 b.ne LBB0_1 ; %bb.4: add x8, x19, x9 strb wzr, [x8, #1] b LBB0_6 LBB0_5: mov x19, #0 LBB0_6: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/40763807.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 %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -16(%rbp), %eax testl %eax, %eax je LBB0_2 ## %bb.1: movl -12(%rbp), %esi testl %esi, %esi je LBB0_2 ## %bb.3: testl %eax, %eax js LBB0_4 ## %bb.5: testl %esi, %esi js LBB0_6 LBB0_7: cmpl %esi, %eax jne LBB0_9 jmp LBB0_8 LBB0_2: leaq L_str.6(%rip), %rdi callq _puts jmp LBB0_14 LBB0_4: negl %eax movl %eax, -16(%rbp) testl %esi, %esi jns LBB0_7 LBB0_6: negl %esi movl %esi, -12(%rbp) cmpl %esi, %eax jne LBB0_9 LBB0_8: movl %eax, %esi jmp LBB0_13 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_9 Depth=1 subl %eax, %esi movl %esi, -12(%rbp) movl %eax, %ecx cmpl %esi, %ecx je LBB0_13 LBB0_9: ## =>This Inner Loop Header: Depth=1 movl %eax, %ecx subl %esi, %ecx jle LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movl %ecx, -16(%rbp) movl %ecx, %eax cmpl %esi, %ecx jne LBB0_9 LBB0_13: leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf LBB0_14: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "\n Enter the first number:" L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz "\n Enter second number:" L_.str.5: ## @.str.5 .asciz "\n Nejv\304\233t\305\241\303\255 spole\304\215n\303\275 d\304\233litel je %d \n \n" L_str: ## @str .asciz "Program ur\304\215\303\255 nejv\304\233t\305\241\303\255ho spole\304\215n\303\251ho d\304\233litele pro 2 zadan\303\241 \304\215\303\255sla\n " L_str.6: ## @str.6 .asciz "Nelze ur\304\215it, zda je jedno z \304\215\303\255sel nula " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh4: adrp x19, l_.str.2@PAGE Lloh5: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldr w9, [sp, #12] cbz w9, LBB0_5 ; %bb.1: ldr w8, [sp, #8] cbz w8, LBB0_5 ; %bb.2: tbnz w9, #31, LBB0_6 ; %bb.3: tbnz w8, #31, LBB0_7 LBB0_4: cmp w9, w8 b.ne LBB0_10 b LBB0_8 LBB0_5: Lloh8: adrp x0, l_str.6@PAGE Lloh9: add x0, x0, l_str.6@PAGEOFF bl _puts b LBB0_13 LBB0_6: neg w9, w9 str w9, [sp, #12] tbz w8, #31, LBB0_4 LBB0_7: neg w8, w8 str w8, [sp, #8] cmp w9, w8 b.ne LBB0_10 LBB0_8: mov x8, x9 b LBB0_12 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 sub w8, w8, w9 str w8, [sp, #8] cmp w9, w8 b.eq LBB0_12 LBB0_10: ; =>This Inner Loop Header: Depth=1 subs w10, w9, w8 b.le LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 str w10, [sp, #12] mov x9, x10 cmp w9, w8 b.ne LBB0_10 LBB0_12: str x8, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf LBB0_13: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "\n Enter the first number:" l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz "\n Enter second number:" l_.str.5: ; @.str.5 .asciz "\n Nejv\304\233t\305\241\303\255 spole\304\215n\303\275 d\304\233litel je %d \n \n" l_str: ; @str .asciz "Program ur\304\215\303\255 nejv\304\233t\305\241\303\255ho spole\304\215n\303\251ho d\304\233litele pro 2 zadan\303\241 \304\215\303\255sla\n " l_str.6: ; @str.6 .asciz "Nelze ur\304\215it, zda je jedno z \304\215\303\255sel nula " .subsections_via_symbols
the_stack_data/50139095.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 main LCPI0_0: .quad 0x3ff0000000000000 ## double 1 .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 movl $1, %edi callq _foo leaq L_.str(%rip), %rdi movl $1, %esi movl %eax, %edx xorl %eax, %eax callq _printf movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero callq _wiz leaq L_.str.1(%rip), %rdi movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movl %eax, %esi movb $1, %al callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "foo(%d): %d\n" L_.str.1: ## @.str.1 .asciz "Success! wiz(%f): %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w19, #1 mov w0, #1 bl _foo ; kill: def $w0 killed $w0 def $x0 stp x19, x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf fmov d0, #1.00000000 bl _wiz ; kill: def $w0 killed $w0 def $x0 mov x8, #4607182418800017408 stp x8, x0, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "foo(%d): %d\n" l_.str.1: ; @.str.1 .asciz "Success! wiz(%f): %d\n" .subsections_via_symbols
the_stack_data/1200399.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function asymmetric_key_cmp_partial _asymmetric_key_cmp_partial: ## @asymmetric_key_cmp_partial .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 _asymmetric_key_ids movq (%rbx), %rsi movq _asymmetric_key_id_partial@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq %rax, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _asymmetric_match_key_ids ## TAILCALL .cfi_endproc ## -- End function .comm _asymmetric_key_id_partial,4,2 ## @asymmetric_key_id_partial .no_dead_strip _asymmetric_key_cmp_partial .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function asymmetric_key_cmp_partial _asymmetric_key_cmp_partial: ; @asymmetric_key_cmp_partial .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _asymmetric_key_ids ldr x1, [x19] Lloh0: adrp x8, _asymmetric_key_id_partial@GOTPAGE Lloh1: ldr x8, [x8, _asymmetric_key_id_partial@GOTPAGEOFF] Lloh2: ldr w2, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _asymmetric_match_key_ids .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _asymmetric_key_id_partial,4,2 ; @asymmetric_key_id_partial .no_dead_strip _asymmetric_key_cmp_partial .subsections_via_symbols
AnghaBench/linux/crypto/asymmetric_keys/extr_asymmetric_type.c_asymmetric_key_cmp_partial.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hci_read_local_features ## -- Begin function hci_read_local_features .p2align 4, 0x90 _hci_read_local_features: ## @hci_read_local_features .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 _PBUF_RAW@GOTPCREL(%rip), %rax movl (%rax), %edi movq _HCI_R_LOC_FEAT_SIZE_PLEN@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _PBUF_RAM@GOTPCREL(%rip), %rax movl (%rax), %edx callq _btpbuf_alloc testq %rax, %rax je LBB0_1 ## %bb.2: movq _HCI_R_LOC_FEATURES_OCF@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _HCI_INFO_PARAM_OGF@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl (%rbx), %ecx movq %rax, %rdi callq _hci_cmd_ass movq %rax, %rbx movl (%rax), %esi movq %rax, %rdi callq _physbusif_output movq %rbx, %rdi callq _btpbuf_free movq _ERR_OK@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: leaq L_.str(%rip), %rdi callq _ERROR movq _ERR_MEM@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _PBUF_RAW,4,2 ## @PBUF_RAW .comm _HCI_R_LOC_FEAT_SIZE_PLEN,4,2 ## @HCI_R_LOC_FEAT_SIZE_PLEN .comm _PBUF_RAM,4,2 ## @PBUF_RAM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hci_read_local_features: Could not allocate memory for pbuf\n" .comm _ERR_MEM,4,2 ## @ERR_MEM .comm _HCI_R_LOC_FEATURES_OCF,4,2 ## @HCI_R_LOC_FEATURES_OCF .comm _HCI_INFO_PARAM_OGF,4,2 ## @HCI_INFO_PARAM_OGF .comm _ERR_OK,4,2 ## @ERR_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hci_read_local_features ; -- Begin function hci_read_local_features .p2align 2 _hci_read_local_features: ; @hci_read_local_features .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, _PBUF_RAW@GOTPAGE Lloh1: ldr x8, [x8, _PBUF_RAW@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x19, _HCI_R_LOC_FEAT_SIZE_PLEN@GOTPAGE Lloh4: ldr x19, [x19, _HCI_R_LOC_FEAT_SIZE_PLEN@GOTPAGEOFF] ldr w1, [x19] Lloh5: adrp x8, _PBUF_RAM@GOTPAGE Lloh6: ldr x8, [x8, _PBUF_RAM@GOTPAGEOFF] Lloh7: ldr w2, [x8] bl _btpbuf_alloc cbz x0, LBB0_2 ; %bb.1: Lloh8: adrp x8, _HCI_R_LOC_FEATURES_OCF@GOTPAGE Lloh9: ldr x8, [x8, _HCI_R_LOC_FEATURES_OCF@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x8, _HCI_INFO_PARAM_OGF@GOTPAGE Lloh12: ldr x8, [x8, _HCI_INFO_PARAM_OGF@GOTPAGEOFF] Lloh13: ldr w2, [x8] ldr w3, [x19] bl _hci_cmd_ass mov x19, x0 ldr w1, [x0] bl _physbusif_output mov x0, x19 bl _btpbuf_free Lloh14: adrp x8, _ERR_OK@GOTPAGE Lloh15: ldr x8, [x8, _ERR_OK@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh16: adrp x0, l_.str@PAGE Lloh17: add x0, x0, l_.str@PAGEOFF bl _ERROR Lloh18: adrp x8, _ERR_MEM@GOTPAGE Lloh19: ldr x8, [x8, _ERR_MEM@GOTPAGEOFF] LBB0_3: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _PBUF_RAW,4,2 ; @PBUF_RAW .comm _HCI_R_LOC_FEAT_SIZE_PLEN,4,2 ; @HCI_R_LOC_FEAT_SIZE_PLEN .comm _PBUF_RAM,4,2 ; @PBUF_RAM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hci_read_local_features: Could not allocate memory for pbuf\n" .comm _ERR_MEM,4,2 ; @ERR_MEM .comm _HCI_R_LOC_FEATURES_OCF,4,2 ; @HCI_R_LOC_FEATURES_OCF .comm _HCI_INFO_PARAM_OGF,4,2 ; @HCI_INFO_PARAM_OGF .comm _ERR_OK,4,2 ; @ERR_OK .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/lwbt/extr_hci.c_hci_read_local_features.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/125140002.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gdbr_set_bp ## -- Begin function gdbr_set_bp .p2align 4, 0x90 _gdbr_set_bp: ## @gdbr_set_bp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %ecx, %r8d movq _BREAKPOINT@GOTPCREL(%rip), %rax movl (%rax), %ecx popq %rbp jmp _set_bp ## TAILCALL .cfi_endproc ## -- End function .comm _BREAKPOINT,4,2 ## @BREAKPOINT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gdbr_set_bp ; -- Begin function gdbr_set_bp .p2align 2 _gdbr_set_bp: ; @gdbr_set_bp .cfi_startproc ; %bb.0: mov x4, x3 Lloh0: adrp x8, _BREAKPOINT@GOTPAGE Lloh1: ldr x8, [x8, _BREAKPOINT@GOTPAGEOFF] Lloh2: ldr w3, [x8] b _set_bp .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BREAKPOINT,4,2 ; @BREAKPOINT .subsections_via_symbols
AnghaBench/radare2/shlr/gdb/src/gdbclient/extr_core.c_gdbr_set_bp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hfa384x_cmd_enable ## -- Begin function hfa384x_cmd_enable .p2align 4, 0x90 _hfa384x_cmd_enable: ## @hfa384x_cmd_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 %r15 pushq %r14 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r14 movq _HFA384x_CMDCODE_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _HFA384x_CMD_CMDCODE_SET movl %eax, %ebx movl %r15d, %edi callq _HFA384x_CMD_MACPORT_SET orl %ebx, %eax movl %eax, -56(%rbp) xorps %xmm0, %xmm0 movups %xmm0, -48(%rbp) movq $0, -32(%rbp) leaq -56(%rbp), %rsi movq %r14, %rdi callq _hfa384x_docmd_wait addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HFA384x_CMDCODE_ENABLE,4,2 ## @HFA384x_CMDCODE_ENABLE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hfa384x_cmd_enable ; -- Begin function hfa384x_cmd_enable .p2align 2 _hfa384x_cmd_enable: ; @hfa384x_cmd_enable .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _HFA384x_CMDCODE_ENABLE@GOTPAGE Lloh1: ldr x8, [x8, _HFA384x_CMDCODE_ENABLE@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _HFA384x_CMD_CMDCODE_SET mov x21, x0 mov x0, x19 bl _HFA384x_CMD_MACPORT_SET orr w8, w0, w21 str w8, [sp] stp xzr, xzr, [sp, #16] str xzr, [sp, #8] mov x1, sp mov x0, x20 bl _hfa384x_docmd_wait ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _HFA384x_CMDCODE_ENABLE,4,2 ; @HFA384x_CMDCODE_ENABLE .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/wlan-ng/extr_hfa384x_usb.c_hfa384x_cmd_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str(%rip), %rdi callq _puts xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "hello, World" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_str: ; @str .asciz "hello, World" .subsections_via_symbols
the_stack_data/148578061.c
stack
.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/86769.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function serial_in _serial_in: ## @serial_in .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %eax addq (%rdi), %rax movq %rax, %rdi popq %rbp jmp _readl_relaxed ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _serial_in .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function serial_in _serial_in: ; @serial_in .cfi_startproc ; %bb.0: ldr x8, [x0] add x0, x8, w1, uxtw b _readl_relaxed .cfi_endproc ; -- End function .no_dead_strip _serial_in .subsections_via_symbols
AnghaBench/linux/drivers/tty/serial/extr_sprd_serial.c_serial_in.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _profiler_snapshot_entry_overall_count ## -- Begin function profiler_snapshot_entry_overall_count .p2align 4, 0x90 _profiler_snapshot_entry_overall_count: ## @profiler_snapshot_entry_overall_count .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax popq %rbp retq LBB0_1: xorl %eax, %eax retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _profiler_snapshot_entry_overall_count ; -- Begin function profiler_snapshot_entry_overall_count .p2align 2 _profiler_snapshot_entry_overall_count: ; @profiler_snapshot_entry_overall_count .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: ldr w0, [x0] LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/obs-studio/libobs/util/extr_profiler.c_profiler_snapshot_entry_overall_count.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fz_is_tar_archive ## -- Begin function fz_is_tar_archive .p2align 4, 0x90 _fz_is_tar_archive: ## @fz_is_tar_archive .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 %rsi, %r15 movq %rdi, %rbx movw $8306, -56(%rbp) ## imm = 0x2072 movl $1635021685, -60(%rbp) ## imm = 0x61747375 movw $114, -48(%rbp) movl $1635021685, -52(%rbp) ## imm = 0x61747375 movw $0, -40(%rbp) movl $0, -44(%rbp) xorl %r14d, %r14d movl $257, %edx ## imm = 0x101 xorl %ecx, %ecx callq _fz_seek leaq -38(%rbp), %r12 movq %r12, %rdi callq _nelem movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx movq %rax, %rcx callq _fz_read movq %rax, %rbx movq %r12, %rdi callq _nelem cmpq %rax, %rbx jne LBB0_4 ## %bb.1: leaq -60(%rbp), %rbx movq %rbx, %rdi callq _nelem leaq -38(%rbp), %rdi movq %rbx, %rsi movq %rax, %rdx callq _memcmp movl $1, %r14d testl %eax, %eax je LBB0_4 ## %bb.2: leaq -52(%rbp), %rbx movq %rbx, %rdi callq _nelem leaq -38(%rbp), %rdi movq %rbx, %rsi movq %rax, %rdx callq _memcmp testl %eax, %eax je LBB0_4 ## %bb.3: leaq -44(%rbp), %rbx movq %rbx, %rdi callq _nelem leaq -38(%rbp), %rdi movq %rbx, %rsi movq %rax, %rdx callq _memcmp xorl %r14d, %r14d testl %eax, %eax sete %r14b LBB0_4: movl %r14d, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const l___const.fz_is_tar_archive.gnusignature: ## @__const.fz_is_tar_archive.gnusignature .ascii "ustar " .section __TEXT,__cstring,cstring_literals L___const.fz_is_tar_archive.paxsignature: ## @__const.fz_is_tar_archive.paxsignature .asciz "ustar" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fz_is_tar_archive ; -- Begin function fz_is_tar_archive .p2align 2 _fz_is_tar_archive: ; @fz_is_tar_archive .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov w8, #8306 strh w8, [sp, #28] mov w8, #29557 movk w8, #24948, lsl #16 str w8, [sp, #24] mov w9, #114 strh w9, [sp, #20] str w8, [sp, #16] strh wzr, [sp, #12] str wzr, [sp, #8] mov w2, #257 mov w3, #0 bl _fz_seek add x0, sp, #2 bl _nelem mov x3, x0 add x2, sp, #2 mov x0, x20 mov x1, x19 bl _fz_read mov x19, x0 add x0, sp, #2 bl _nelem mov x8, x0 mov w0, #0 cmp x19, x8 b.ne LBB0_5 ; %bb.1: add x0, sp, #24 bl _nelem mov x2, x0 add x0, sp, #2 add x1, sp, #24 bl _memcmp cbz w0, LBB0_4 ; %bb.2: add x0, sp, #16 bl _nelem mov x2, x0 add x0, sp, #2 add x1, sp, #16 bl _memcmp cbz w0, LBB0_4 ; %bb.3: add x0, sp, #8 bl _nelem mov x2, x0 add x0, sp, #2 add x1, sp, #8 bl _memcmp cmp w0, #0 cset w0, eq b LBB0_5 LBB0_4: mov w0, #1 LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__const l___const.fz_is_tar_archive.gnusignature: ; @__const.fz_is_tar_archive.gnusignature .ascii "ustar " .section __TEXT,__cstring,cstring_literals l___const.fz_is_tar_archive.paxsignature: ; @__const.fz_is_tar_archive.paxsignature .asciz "ustar" .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/fitz/extr_untar.c_fz_is_tar_archive.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function digit_count _digit_count: ## @digit_count .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax cmpl $64, %edi jb LBB0_3 ## %bb.1: movl $1, %eax movl $64, %ecx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 incl %eax shll $6, %ecx cmpl %edi, %ecx jbe LBB0_2 LBB0_3: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _digit_count .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function digit_count _digit_count: ; @digit_count .cfi_startproc ; %bb.0: cmp w0, #64 b.hs LBB0_2 ; %bb.1: mov w0, #1 ret LBB0_2: mov x8, x0 mov w0, #1 mov w9, #64 LBB0_3: ; =>This Inner Loop Header: Depth=1 add w0, w0, #1 lsl w9, w9, #6 cmp w9, w8 b.ls LBB0_3 ; %bb.4: ret .cfi_endproc ; -- End function .no_dead_strip _digit_count .subsections_via_symbols
AnghaBench/sqlcipher/tool/extr_sqldiff.c_digit_count.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m_profile_set_desc ## -- Begin function m_profile_set_desc .p2align 4, 0x90 _m_profile_set_desc: ## @m_profile_set_desc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movl (%rdi), %edi callq _talloc_free movq %rbx, %rdi movl %r14d, %esi callq _bstrto0 movl %eax, (%rbx) 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 _m_profile_set_desc ; -- Begin function m_profile_set_desc .p2align 2 _m_profile_set_desc: ; @m_profile_set_desc .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 ldr w0, [x0] bl _talloc_free mov x0, x20 mov x1, x19 bl _bstrto0 str w0, [x20] 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/mpv/options/extr_m_config.c_m_profile_set_desc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crypto_is_moribund _crypto_is_moribund: ## @crypto_is_moribund .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _CRYPTO_ALG_DEAD@GOTPCREL(%rip), %rcx movq _CRYPTO_ALG_DYING@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%rcx), %eax andl (%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _CRYPTO_ALG_DEAD,4,2 ## @CRYPTO_ALG_DEAD .comm _CRYPTO_ALG_DYING,4,2 ## @CRYPTO_ALG_DYING .no_dead_strip _crypto_is_moribund .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crypto_is_moribund _crypto_is_moribund: ; @crypto_is_moribund .cfi_startproc ; %bb.0: ldr w8, [x0] Lloh0: adrp x9, _CRYPTO_ALG_DEAD@GOTPAGE Lloh1: ldr x9, [x9, _CRYPTO_ALG_DEAD@GOTPAGEOFF] Lloh2: ldr w9, [x9] Lloh3: adrp x10, _CRYPTO_ALG_DYING@GOTPAGE Lloh4: ldr x10, [x10, _CRYPTO_ALG_DYING@GOTPAGEOFF] Lloh5: ldr w10, [x10] orr w9, w10, w9 and w0, w9, w8 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CRYPTO_ALG_DEAD,4,2 ; @CRYPTO_ALG_DEAD .comm _CRYPTO_ALG_DYING,4,2 ; @CRYPTO_ALG_DYING .no_dead_strip _crypto_is_moribund .subsections_via_symbols
AnghaBench/fastsocket/kernel/crypto/extr_internal.h_crypto_is_moribund.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _taosDumpCreateTableClause ## -- Begin function taosDumpCreateTableClause .p2align 4, 0x90 _taosDumpCreateTableClause: ## @taosDumpCreateTableClause .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, -72(%rbp) ## 8-byte Spill movl %esi, %r15d movq _buffer@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %rdi, -56(%rbp) ## 8-byte Spill movq (%rdi), %rdx leaq L_.str(%rip), %rsi xorl %r12d, %r12d movq %r14, %rdi xorl %eax, %eax callq _sprintf movslq %eax, %rbx addq %r14, %rbx testl %r15d, %r15d movl %r15d, -60(%rbp) ## 4-byte Spill jle LBB0_4 ## %bb.1: movl %r15d, %eax shlq $5, %rax movq %rax, -48(%rbp) ## 8-byte Spill xorl %r14d, %r14d xorl %r12d, %r12d movq -56(%rbp), %r15 ## 8-byte Reload jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movl 24(%r15,%r14), %edx movq %r13, %rdi leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _sprintf cltq addq %rax, %r13 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %r15 ## 8-byte Reload incl %r12d addq $32, %r14 movq %r13, %rbx cmpq %r14, -48(%rbp) ## 8-byte Folded Reload je LBB0_20 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movq (%rax,%r14), %rcx cmpb $0, (%rcx) jne LBB0_3 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 testq %r14, %r14 leaq L_.str.2(%rip), %rsi leaq L_.str.1(%rip), %rcx cmoveq %rcx, %rsi movq 8(%rax,%r14), %rdx movq 16(%rax,%r14), %rcx movq %rbx, %rdi xorl %eax, %eax callq _sprintf movslq %eax, %r13 addq %rbx, %r13 movq 8(%r15), %r15 movq 16(%r15,%r14), %rbx movq %rbx, %rdi leaq L_.str.3(%rip), %rsi callq _strcasecmp testq %rax, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi leaq L_.str.4(%rip), %rsi callq _strcasecmp testq %rax, %rax jne LBB0_9 jmp LBB0_8 LBB0_3: movl -60(%rbp), %r15d ## 4-byte Reload LBB0_4: cmpl %r15d, %r12d jge LBB0_5 ## %bb.10: movl %r12d, %r12d movq -56(%rbp), %r14 ## 8-byte Reload movq 8(%r14), %rax movq %r12, -48(%rbp) ## 8-byte Spill shlq $5, %r12 movq 8(%rax,%r12), %rdx movq 16(%rax,%r12), %rcx leaq L_.str.6(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _sprintf movq 8(%r14), %r13 movq 16(%r13,%r12), %r15 movslq %eax, %r14 addq %rbx, %r14 leaq L_.str.3(%rip), %rsi movq %r15, %rdi callq _strcasecmp testq %rax, %rax je LBB0_13 ## %bb.11: leaq L_.str.4(%rip), %rsi movq %r15, %rdi callq _strcasecmp testq %rax, %rax je LBB0_13 ## %bb.12: movq -48(%rbp), %rbx ## 8-byte Reload jmp LBB0_14 LBB0_5: movq %rbx, %r13 jmp LBB0_20 LBB0_13: movq -48(%rbp), %rbx ## 8-byte Reload movq %rbx, %rax shlq $5, %rax movl 24(%r13,%rax), %edx leaq L_.str.5(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _sprintf cltq addq %rax, %r14 LBB0_14: incl %ebx cmpl -60(%rbp), %ebx ## 4-byte Folded Reload movq -56(%rbp), %r15 ## 8-byte Reload jl LBB0_16 ## %bb.15: movq %r14, %r13 LBB0_20: movw $41, (%r13) movq _buffer@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.8(%rip), %rsi movq -72(%rbp), %rdi ## 8-byte Reload addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fprintf ## TAILCALL .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_16 Depth=1 movl 56(%rbx,%r12), %edx movq %r13, %rdi leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _sprintf cltq addq %rax, %r13 LBB0_19: ## in Loop: Header=BB0_16 Depth=1 movq -56(%rbp), %r15 ## 8-byte Reload movq -48(%rbp), %rbx ## 8-byte Reload addq $32, %r12 incl %ebx movq %r13, %r14 cmpl -60(%rbp), %ebx ## 4-byte Folded Reload jge LBB0_20 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq %rbx, -48(%rbp) ## 8-byte Spill movq 8(%r15), %rax movq 40(%rax,%r12), %rdx movq 48(%rax,%r12), %rcx movq %r14, %rdi leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _sprintf movq 8(%r15), %rbx movq 48(%rbx,%r12), %r15 movslq %eax, %r13 addq %r14, %r13 movq %r15, %rdi leaq L_.str.3(%rip), %rsi callq _strcasecmp testq %rax, %rax je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movq %r15, %rdi leaq L_.str.4(%rip), %rsi callq _strcasecmp testq %rax, %rax jne LBB0_19 jmp LBB0_18 .cfi_endproc ## -- End function .comm _buffer,8,3 ## @buffer .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CREATE TABLE IF NOT EXISTS %s" L_.str.1: ## @.str.1 .asciz " (%s %s" L_.str.2: ## @.str.2 .asciz ", %s %s" L_.str.3: ## @.str.3 .asciz "binary" L_.str.4: ## @.str.4 .asciz "nchar" L_.str.5: ## @.str.5 .asciz "(%d)" L_.str.6: ## @.str.6 .asciz ") TAGS (%s %s" L_.str.8: ## @.str.8 .asciz "%s\n\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _taosDumpCreateTableClause ; -- Begin function taosDumpCreateTableClause .p2align 2 _taosDumpCreateTableClause: ; @taosDumpCreateTableClause .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x24, x1 mov x21, x0 Lloh0: adrp x8, _buffer@GOTPAGE Lloh1: ldr x8, [x8, _buffer@GOTPAGEOFF] Lloh2: ldr x22, [x8] ldr x8, [x0] str x8, [sp] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x22 bl _sprintf add x22, x22, w0, sxtw cmp w24, #1 str x19, [sp, #24] ; 8-byte Folded Spill b.lt LBB0_7 ; %bb.1: mov x28, #0 mov w27, #0 str w24, [sp, #20] ; 4-byte Folded Spill mov w8, w24 lsl x19, x8, #5 Lloh5: adrp x20, l_.str.2@PAGE Lloh6: add x20, x20, l_.str.2@PAGEOFF Lloh7: adrp x24, l_.str.1@PAGE Lloh8: add x24, x24, l_.str.1@PAGEOFF Lloh9: adrp x23, l_.str.3@PAGE Lloh10: add x23, x23, l_.str.3@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x25, #24] str x8, [sp] mov x0, x22 Lloh11: adrp x1, l_.str.5@PAGE Lloh12: add x1, x1, l_.str.5@PAGEOFF bl _sprintf add x22, x22, w0, sxtw LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w27, w27, #1 add x28, x28, #32 cmp x19, x28 b.eq LBB0_18 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #8] ldr x9, [x8, x28] ldrb w9, [x9] cbnz w9, LBB0_8 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp x28, #0 csel x1, x24, x20, eq add x8, x8, x28 ldp x9, x8, [x8, #8] stp x9, x8, [sp] mov x0, x22 bl _sprintf add x22, x22, w0, sxtw ldr x8, [x21, #8] add x25, x8, x28 ldr x26, [x25, #16] mov x0, x26 mov x1, x23 bl _strcasecmp cbz x0, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x0, x26 Lloh13: adrp x1, l_.str.4@PAGE Lloh14: add x1, x1, l_.str.4@PAGEOFF bl _strcasecmp cbnz x0, LBB0_3 b LBB0_2 LBB0_7: mov w27, #0 cmp w27, w24 b.lt LBB0_9 b LBB0_18 LBB0_8: ldr w24, [sp, #20] ; 4-byte Folded Reload cmp w27, w24 b.ge LBB0_18 LBB0_9: mov w19, w27 ldr x8, [x21, #8] lsl x28, x19, #5 add x8, x8, x28 ldp x9, x8, [x8, #8] stp x9, x8, [sp] Lloh15: adrp x1, l_.str.6@PAGE Lloh16: add x1, x1, l_.str.6@PAGEOFF mov x0, x22 bl _sprintf ldr x20, [x21, #8] add x8, x20, x28 ldr x23, [x8, #16] add x22, x22, w0, sxtw Lloh17: adrp x1, l_.str.3@PAGE Lloh18: add x1, x1, l_.str.3@PAGEOFF mov x0, x23 bl _strcasecmp cbz x0, LBB0_11 ; %bb.10: Lloh19: adrp x1, l_.str.4@PAGE Lloh20: add x1, x1, l_.str.4@PAGEOFF mov x0, x23 bl _strcasecmp cbnz x0, LBB0_12 LBB0_11: add x8, x20, x19, lsl #5 ldr w8, [x8, #24] str x8, [sp] Lloh21: adrp x1, l_.str.5@PAGE Lloh22: add x1, x1, l_.str.5@PAGEOFF mov x0, x22 bl _sprintf add x22, x22, w0, sxtw LBB0_12: add w19, w19, #1 cmp w19, w24 b.ge LBB0_18 ; %bb.13: Lloh23: adrp x23, l_.str.2@PAGE Lloh24: add x23, x23, l_.str.2@PAGEOFF Lloh25: adrp x25, l_.str.3@PAGE Lloh26: add x25, x25, l_.str.3@PAGEOFF Lloh27: adrp x26, l_.str.4@PAGE Lloh28: add x26, x26, l_.str.4@PAGEOFF b LBB0_16 LBB0_14: ; in Loop: Header=BB0_16 Depth=1 ldr w8, [x20, #56] str x8, [sp] mov x0, x22 Lloh29: adrp x1, l_.str.5@PAGE Lloh30: add x1, x1, l_.str.5@PAGEOFF bl _sprintf add x22, x22, w0, sxtw LBB0_15: ; in Loop: Header=BB0_16 Depth=1 add x28, x28, #32 add w19, w19, #1 cmp w19, w24 b.ge LBB0_18 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #8] add x8, x8, x28 ldp x9, x8, [x8, #40] stp x9, x8, [sp] mov x0, x22 mov x1, x23 bl _sprintf ldr x8, [x21, #8] add x20, x8, x28 ldr x27, [x20, #48] add x22, x22, w0, sxtw mov x0, x27 mov x1, x25 bl _strcasecmp cbz x0, LBB0_14 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 mov x0, x27 mov x1, x26 bl _strcasecmp cbnz x0, LBB0_15 b LBB0_14 LBB0_18: mov w8, #41 strh w8, [x22] Lloh31: adrp x8, _buffer@GOTPAGE Lloh32: ldr x8, [x8, _buffer@GOTPAGEOFF] Lloh33: ldr x2, [x8] Lloh34: adrp x1, l_.str.8@PAGE Lloh35: add x1, x1, l_.str.8@PAGEOFF ldr x0, [sp, #24] ; 8-byte Folded Reload ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 b _fprintf .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _buffer,8,3 ; @buffer .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CREATE TABLE IF NOT EXISTS %s" l_.str.1: ; @.str.1 .asciz " (%s %s" l_.str.2: ; @.str.2 .asciz ", %s %s" l_.str.3: ; @.str.3 .asciz "binary" l_.str.4: ; @.str.4 .asciz "nchar" l_.str.5: ; @.str.5 .asciz "(%d)" l_.str.6: ; @.str.6 .asciz ") TAGS (%s %s" l_.str.8: ; @.str.8 .asciz "%s\n\n" .subsections_via_symbols
AnghaBench/TDengine/src/kit/taosdump/extr_taosdump.c_taosDumpCreateTableClause.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _asf_writer_open ## -- Begin function asf_writer_open .p2align 4, 0x90 _asf_writer_open: ## @asf_writer_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 8(%rdi), %rax movl 24(%rax), %edi callq _vc_uri_path_extension movq %rax, -48(%rbp) movq 8(%r12), %rax movl 24(%rax), %edi leaq L_.str(%rip), %rdx leaq -48(%rbp), %rcx xorl %esi, %esi callq _vc_uri_find_query movq -48(%rbp), %rbx testq %rbx, %rbx je LBB0_1 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_5 ## %bb.3: leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_5 ## %bb.4: leaq L_.str.3(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_5 LBB0_1: movq _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED@GOTPCREL(%rip), %rax movq (%rax), %r15 jmp LBB0_15 LBB0_5: movl $16, %edi callq _malloc movq %rax, %r14 testq %rax, %rax je LBB0_6 ## %bb.13: movq %r14, %rdi xorl %esi, %esi movl $16, %edx callq _memset movq 8(%r12), %rax movq %r14, 16(%rax) movq 8(%r14), %rax movq %rax, (%r12) movq %r12, %rdi movq %r14, %rsi callq _vc_container_writer_extraio_create_null movq %rax, %r15 movq _VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jne LBB0_7 ## %bb.14: movq _asf_writer_close@GOTPCREL(%rip), %rax movl (%rax), %eax movq 8(%r12), %rcx movl %eax, 8(%rcx) movq _asf_writer_write@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rcx) movq _asf_writer_control@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) jmp LBB0_15 LBB0_6: movq _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPCREL(%rip), %rax movq (%rax), %r15 LBB0_7: leaq L_.str.4(%rip), %rsi movq %r12, %rdi callq _LOG_DEBUG movq _ASF_TRACKS_MAX@GOTPCREL(%rip), %r13 cmpl $0, (%r13) je LBB0_12 ## %bb.8: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rax testq %rax, %rax je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq (%rax,%rbx,8), %rsi testq %rsi, %rsi je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movq %r12, %rdi callq _vc_container_free_track incq %rbx movl (%r13), %eax cmpq %rax, %rbx jb LBB0_9 LBB0_12: movq %r14, %rdi callq _free LBB0_15: movq %r15, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED,8,3 ## @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "container" L_.str.1: ## @.str.1 .asciz "asf" L_.str.2: ## @.str.2 .asciz "wmv" L_.str.3: ## @.str.3 .asciz "wma" .comm _VC_CONTAINER_ERROR_OUT_OF_MEMORY,8,3 ## @VC_CONTAINER_ERROR_OUT_OF_MEMORY .comm _VC_CONTAINER_SUCCESS,8,3 ## @VC_CONTAINER_SUCCESS .comm _asf_writer_close,4,2 ## @asf_writer_close .comm _asf_writer_write,4,2 ## @asf_writer_write .comm _asf_writer_control,4,2 ## @asf_writer_control L_.str.4: ## @.str.4 .asciz "asf: error opening stream" .comm _ASF_TRACKS_MAX,4,2 ## @ASF_TRACKS_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _asf_writer_open ; -- Begin function asf_writer_open .p2align 2 _asf_writer_open: ; @asf_writer_open .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 x19, x0 ldr x8, [x0, #8] ldr w0, [x8, #24] bl _vc_uri_path_extension str x0, [sp, #8] ldr x8, [x19, #8] ldr w0, [x8, #24] Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF add x3, sp, #8 mov w1, #0 bl _vc_uri_find_query ldr x20, [sp, #8] cbz x20, LBB0_4 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _strcasecmp cbz x0, LBB0_5 ; %bb.2: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _strcasecmp cbz x0, LBB0_5 ; %bb.3: Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _strcasecmp cbz x0, LBB0_5 LBB0_4: Lloh8: adrp x8, _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED@GOTPAGE Lloh9: ldr x8, [x8, _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED@GOTPAGEOFF] Lloh10: ldr x20, [x8] b LBB0_15 LBB0_5: mov w0, #16 bl _malloc mov x21, x0 cbz x0, LBB0_8 ; %bb.6: mov x0, x21 mov w1, #0 mov w2, #16 bl _memset ldr x8, [x19, #8] str x21, [x8, #16] ldr x8, [x21, #8] str x8, [x19] mov x0, x19 mov x1, x21 bl _vc_container_writer_extraio_create_null mov x20, x0 Lloh11: adrp x8, _VC_CONTAINER_SUCCESS@GOTPAGE Lloh12: ldr x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF] Lloh13: ldr x8, [x8] cmp x0, x8 b.ne LBB0_9 ; %bb.7: Lloh14: adrp x8, _asf_writer_close@GOTPAGE Lloh15: ldr x8, [x8, _asf_writer_close@GOTPAGEOFF] Lloh16: ldr w8, [x8] ldr x9, [x19, #8] str w8, [x9, #8] Lloh17: adrp x8, _asf_writer_write@GOTPAGE Lloh18: ldr x8, [x8, _asf_writer_write@GOTPAGEOFF] Lloh19: ldr w8, [x8] Lloh20: adrp x10, _asf_writer_control@GOTPAGE Lloh21: ldr x10, [x10, _asf_writer_control@GOTPAGEOFF] Lloh22: ldr w10, [x10] stp w10, w8, [x9] b LBB0_15 LBB0_8: Lloh23: adrp x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGE Lloh24: ldr x8, [x8, _VC_CONTAINER_ERROR_OUT_OF_MEMORY@GOTPAGEOFF] Lloh25: ldr x20, [x8] LBB0_9: Lloh26: adrp x1, l_.str.4@PAGE Lloh27: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _LOG_DEBUG Lloh28: adrp x22, _ASF_TRACKS_MAX@GOTPAGE Lloh29: ldr x22, [x22, _ASF_TRACKS_MAX@GOTPAGEOFF] ldr w8, [x22] cbz w8, LBB0_14 ; %bb.10: mov x23, #0 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] cbz x8, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 ldr x1, [x8, x23, lsl #3] cbz x1, LBB0_14 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 mov x0, x19 bl _vc_container_free_track add x23, x23, #1 ldr w8, [x22] cmp x23, x8 b.lo LBB0_11 LBB0_14: mov x0, x21 bl _free LBB0_15: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .comm _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED,8,3 ; @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "container" l_.str.1: ; @.str.1 .asciz "asf" l_.str.2: ; @.str.2 .asciz "wmv" l_.str.3: ; @.str.3 .asciz "wma" .comm _VC_CONTAINER_ERROR_OUT_OF_MEMORY,8,3 ; @VC_CONTAINER_ERROR_OUT_OF_MEMORY .comm _VC_CONTAINER_SUCCESS,8,3 ; @VC_CONTAINER_SUCCESS .comm _asf_writer_close,4,2 ; @asf_writer_close .comm _asf_writer_write,4,2 ; @asf_writer_write .comm _asf_writer_control,4,2 ; @asf_writer_control l_.str.4: ; @.str.4 .asciz "asf: error opening stream" .comm _ASF_TRACKS_MAX,4,2 ; @ASF_TRACKS_MAX .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/containers/asf/extr_asf_writer.c_asf_writer_open.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: .long 0 ## 0x0 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 LCPI0_1: .long 100 ## 0x64 .long 100 ## 0x64 .long 100 ## 0x64 .long 100 ## 0x64 LCPI0_2: .long 104 ## 0x68 .long 104 ## 0x68 .long 104 ## 0x68 .long 104 ## 0x68 LCPI0_3: .long 108 ## 0x6c .long 108 ## 0x6c .long 108 ## 0x6c .long 108 ## 0x6c LCPI0_4: .long 112 ## 0x70 .long 112 ## 0x70 .long 112 ## 0x70 .long 112 ## 0x70 LCPI0_5: .long 116 ## 0x74 .long 116 ## 0x74 .long 116 ## 0x74 .long 116 ## 0x74 LCPI0_6: .long 120 ## 0x78 .long 120 ## 0x78 .long 120 ## 0x78 .long 120 ## 0x78 LCPI0_7: .long 124 ## 0x7c .long 124 ## 0x7c .long 124 ## 0x7c .long 124 ## 0x7c LCPI0_8: .long 128 ## 0x80 .long 128 ## 0x80 .long 128 ## 0x80 .long 128 ## 0x80 LCPI0_9: .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 LCPI0_10: .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 .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 %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf movq %rsp, %r15 movl -44(%rbp), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movl -44(%rbp), %eax testl %eax, %eax jle LBB0_14 ## %bb.1: cmpl $8, %eax jae LBB0_3 ## %bb.2: xorl %ecx, %ecx jmp LBB0_11 LBB0_3: movl %eax, %ecx andl $-8, %ecx leaq -8(%rcx), %rdi movq %rdi, %rsi shrq $3, %rsi incq %rsi movl %esi, %edx andl $3, %edx cmpq $24, %rdi jae LBB0_5 ## %bb.4: movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,2,3] xorl %edi, %edi jmp LBB0_7 LBB0_5: andq $-4, %rsi movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [0,1,2,3] xorl %edi, %edi movdqa LCPI0_1(%rip), %xmm8 ## xmm8 = [100,100,100,100] movdqa LCPI0_2(%rip), %xmm9 ## xmm9 = [104,104,104,104] movdqa LCPI0_3(%rip), %xmm10 ## xmm10 = [108,108,108,108] movdqa LCPI0_4(%rip), %xmm11 ## xmm11 = [112,112,112,112] movdqa LCPI0_5(%rip), %xmm5 ## xmm5 = [116,116,116,116] movdqa LCPI0_6(%rip), %xmm6 ## xmm6 = [120,120,120,120] movdqa LCPI0_7(%rip), %xmm7 ## xmm7 = [124,124,124,124] movdqa LCPI0_8(%rip), %xmm1 ## xmm1 = [128,128,128,128] movdqa LCPI0_9(%rip), %xmm2 ## xmm2 = [32,32,32,32] .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm3 paddd %xmm8, %xmm3 movdqa %xmm0, %xmm4 paddd %xmm9, %xmm4 movdqa %xmm3, (%r12,%rdi,4) movdqa %xmm4, 16(%r12,%rdi,4) movdqa %xmm0, %xmm3 paddd %xmm10, %xmm3 movdqa %xmm0, %xmm4 paddd %xmm11, %xmm4 movdqa %xmm3, 32(%r12,%rdi,4) movdqa %xmm4, 48(%r12,%rdi,4) movdqa %xmm0, %xmm3 paddd %xmm5, %xmm3 movdqa %xmm0, %xmm4 paddd %xmm6, %xmm4 movdqa %xmm3, 64(%r12,%rdi,4) movdqa %xmm4, 80(%r12,%rdi,4) movdqa %xmm0, %xmm3 paddd %xmm7, %xmm3 movdqa %xmm0, %xmm4 paddd %xmm1, %xmm4 movdqa %xmm3, 96(%r12,%rdi,4) movdqa %xmm4, 112(%r12,%rdi,4) addq $32, %rdi paddd %xmm2, %xmm0 addq $-4, %rsi jne LBB0_6 LBB0_7: testq %rdx, %rdx je LBB0_10 ## %bb.8: leaq (%r12,%rdi,4), %rsi addq $16, %rsi shlq $5, %rdx xorl %edi, %edi movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = [100,100,100,100] movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = [104,104,104,104] movdqa LCPI0_10(%rip), %xmm3 ## xmm3 = [8,8,8,8] .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm4 paddd %xmm1, %xmm4 movdqa %xmm0, %xmm5 paddd %xmm2, %xmm5 movdqa %xmm4, -16(%rsi,%rdi) movdqa %xmm5, (%rsi,%rdi) paddd %xmm3, %xmm0 addq $32, %rdi cmpq %rdi, %rdx jne LBB0_9 LBB0_10: cmpq %rax, %rcx je LBB0_12 .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 leal 100(%rcx), %edx movl %edx, (%r12,%rcx,4) incq %rcx cmpq %rcx, %rax jne LBB0_11 LBB0_12: leaq L_.str.2(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rbx,4), %edx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf incq %rbx movslq -44(%rbp), %rax cmpq %rax, %rbx jl LBB0_13 LBB0_14: movq %r15, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_16 ## %bb.15: xorl %eax, %eax leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter the array Size" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Element[%d] = %d\n" .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 main lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .globl _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, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #44 str x8, [sp, #-16]! Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _scanf add sp, sp, #16 mov x20, sp ldur w8, [x29, #-44] lsl x8, x8, #2 mov x9, x8 Lloh7: adrp x16, ___chkstk_darwin@GOTPAGE Lloh8: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x21, x9, x8 mov sp, x21 ldur w8, [x29, #-44] cmp w8, #1 b.lt LBB0_9 ; %bb.1: cmp w8, #16 b.hs LBB0_3 ; %bb.2: mov x9, #0 b LBB0_6 LBB0_3: and x9, x8, #0xfffffff0 Lloh9: adrp x10, lCPI0_0@PAGE Lloh10: ldr q0, [x10, lCPI0_0@PAGEOFF] add x10, x21, #32 movi.4s v1, #100 movi.4s v2, #104 movi.4s v3, #108 movi.4s v4, #112 movi.4s v5, #16 mov x11, x9 LBB0_4: ; =>This Inner Loop Header: Depth=1 add.4s v6, v0, v1 add.4s v7, v0, v2 add.4s v16, v0, v3 add.4s v17, v0, v4 stp q6, q7, [x10, #-32] stp q16, q17, [x10], #64 add.4s v0, v0, v5 subs x11, x11, #16 b.ne LBB0_4 ; %bb.5: cmp x9, x8 b.eq LBB0_7 LBB0_6: ; =>This Inner Loop Header: Depth=1 add w10, w9, #100 str w10, [x21, x9, lsl #2] add x9, x9, #1 cmp x8, x9 b.ne LBB0_6 LBB0_7: mov x22, #0 Lloh11: adrp x19, l_.str.2@PAGE Lloh12: add x19, x19, l_.str.2@PAGEOFF LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21, x22, lsl #2] stp x22, x8, [sp, #-16]! mov x0, x19 bl _printf add sp, sp, #16 add x22, x22, #1 ldursw x8, [x29, #-44] cmp x22, x8 b.lt LBB0_8 LBB0_9: mov sp, x20 ldur x8, [x29, #-40] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: mov w0, #0 sub sp, x29, #32 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_11: bl ___stack_chk_fail .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter the array Size" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Element[%d] = %d\n" .subsections_via_symbols
the_stack_data/176611.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crop_filter_update _crop_filter_update: ## @crop_filter_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_bool xorl %ecx, %ecx testl %eax, %eax sete %cl movl %ecx, (%r14) leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_int movl %eax, 4(%r14) leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_int movl %eax, 8(%r14) leaq L_.str.3(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_int movl %eax, 12(%r14) leaq L_.str.4(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_int movl %eax, 16(%r14) leaq L_.str.5(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_int movl %eax, 20(%r14) leaq L_.str.6(%rip), %rsi movq %rbx, %rdi callq _obs_data_get_int movl %eax, 24(%r14) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "relative" L_.str.1: ## @.str.1 .asciz "left" L_.str.2: ## @.str.2 .asciz "top" L_.str.3: ## @.str.3 .asciz "right" L_.str.4: ## @.str.4 .asciz "bottom" L_.str.5: ## @.str.5 .asciz "cx" L_.str.6: ## @.str.6 .asciz "cy" .no_dead_strip _crop_filter_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crop_filter_update _crop_filter_update: ; @crop_filter_update .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 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _obs_data_get_bool cmp w0, #0 cset w8, eq str w8, [x19] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _obs_data_get_int str w0, [x19, #4] Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _obs_data_get_int str w0, [x19, #8] Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _obs_data_get_int str w0, [x19, #12] Lloh8: adrp x1, l_.str.4@PAGE Lloh9: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 bl _obs_data_get_int str w0, [x19, #16] Lloh10: adrp x1, l_.str.5@PAGE Lloh11: add x1, x1, l_.str.5@PAGEOFF mov x0, x20 bl _obs_data_get_int str w0, [x19, #20] Lloh12: adrp x1, l_.str.6@PAGE Lloh13: add x1, x1, l_.str.6@PAGEOFF mov x0, x20 bl _obs_data_get_int str w0, [x19, #24] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "relative" l_.str.1: ; @.str.1 .asciz "left" l_.str.2: ; @.str.2 .asciz "top" l_.str.3: ; @.str.3 .asciz "right" l_.str.4: ; @.str.4 .asciz "bottom" l_.str.5: ; @.str.5 .asciz "cx" l_.str.6: ; @.str.6 .asciz "cy" .no_dead_strip _crop_filter_update .subsections_via_symbols
AnghaBench/obs-studio/plugins/obs-filters/extr_crop-filter.c_crop_filter_update.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iso_stream_init _iso_stream_init: ## @iso_stream_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 $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, -52(%rbp) ## 4-byte Spill movl %ecx, %ebx movq %rdx, %r14 movq %rsi, -64(%rbp) ## 8-byte Spill movq %rdi, -72(%rbp) ## 8-byte Spill movl %ecx, %edi callq _usb_pipeendpoint movl %eax, %r12d movl %ebx, %edi callq _usb_pipein xorl %ecx, %ecx testq %rax, %rax je LBB0_2 ## %bb.1: movq _USB_DIR_IN@GOTPCREL(%rip), %rax movl (%rax), %ecx LBB0_2: movl %ecx, -44(%rbp) ## 4-byte Spill xorl %r15d, %r15d xorl %edx, %edx testl %ecx, %ecx setne %r15b sete %dl movq %r14, %rdi movl %ebx, %esi callq _usb_maxpacket shll $11, %r15d movl %eax, %edi callq _max_packet movl %eax, %r13d movl %eax, %edi callq _hb_mult movl %eax, -56(%rbp) ## 4-byte Spill orl %r13d, %r15d imull %eax, %r13d movl %r12d, -48(%rbp) ## 4-byte Spill shll $8, %r12d orl (%r14), %r12d movq %r14, %rbx movq -72(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl %r12d, %esi callq _cpu_to_hc32 movq -64(%rbp), %r12 ## 8-byte Reload movq %rax, 56(%r12) movq %r14, %rdi movl %r15d, %esi callq _cpu_to_hc32 movq %rax, 48(%r12) movq %r14, %rdi movl -56(%rbp), %esi ## 4-byte Reload callq _cpu_to_hc32 movq %rax, 40(%r12) movq 8(%rbx), %rdi movq _USB_SPEED_FULL@GOTPCREL(%rip), %rax cmpq (%rax), %rdi movq %rbx, %r14 jne LBB0_4 ## %bb.3: movl -52(%rbp), %ebx ## 4-byte Reload shll $3, %ebx movl -44(%rbp), %esi ## 4-byte Reload movl %esi, %r15d movl $1, %edx movl %r13d, %ecx callq _usb_calc_bus_time movl %eax, %edi callq _NS_TO_US movl %eax, %ecx leal 7(%rcx), %eax testl %ecx, %ecx cmovnsl %ecx, %eax sarl $3, %eax jmp LBB0_5 LBB0_4: movl -44(%rbp), %r15d ## 4-byte Reload movl $1, 4(%r12) movl %r13d, %edi callq _HS_USECS_ISO movl -52(%rbp), %ebx ## 4-byte Reload LBB0_5: movl -48(%rbp), %r8d ## 4-byte Reload movl %eax, (%r12) shll $3, %eax movslq %eax, %rcx movl %ebx, %esi movq %rcx, %rdx shrq $32, %rdx je LBB0_6 ## %bb.7: movq %rcx, %rax cqto idivq %rsi jmp LBB0_8 LBB0_6: xorl %edx, %edx divl %esi ## kill: def $eax killed $eax def $rax LBB0_8: movq %rax, 8(%r12) movq %r14, 32(%r12) orl %r8d, %r15d movl %r15d, 16(%r12) movl %ebx, 20(%r12) movl %r13d, 24(%r12) addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _USB_DIR_IN,4,2 ## @USB_DIR_IN .comm _USB_SPEED_FULL,8,3 ## @USB_SPEED_FULL .no_dead_strip _iso_stream_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iso_stream_init _iso_stream_init: ; @iso_stream_init .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x4 mov x24, x3 mov x21, x2 mov x20, x1 mov x25, x0 mov x0, x3 bl _usb_pipeendpoint mov x22, x0 mov x0, x24 bl _usb_pipein Lloh0: adrp x8, _USB_DIR_IN@GOTPAGE Lloh1: ldr x8, [x8, _USB_DIR_IN@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp x0, #0 csel w23, wzr, w8, eq cmp w23, #0 cset w27, ne cset w2, eq mov x0, x21 mov x1, x24 bl _usb_maxpacket bl _max_packet mov x24, x0 bl _hb_mult mov x26, x0 orr w27, w24, w27, lsl #11 mul w24, w0, w24 ldr w8, [x21] orr w1, w8, w22, lsl #8 mov x0, x25 bl _cpu_to_hc32 str x0, [x20, #56] mov x0, x25 mov x1, x27 bl _cpu_to_hc32 str x0, [x20, #48] mov x0, x25 mov x1, x26 bl _cpu_to_hc32 str x0, [x20, #40] ldr x0, [x21, #8] Lloh3: adrp x8, _USB_SPEED_FULL@GOTPAGE Lloh4: ldr x8, [x8, _USB_SPEED_FULL@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x0, x8 b.ne LBB0_2 ; %bb.1: lsl w19, w19, #3 mov x1, x23 mov w2, #1 mov x3, x24 bl _usb_calc_bus_time bl _NS_TO_US add w8, w0, #7 cmp w0, #0 csel w8, w8, w0, lt asr w0, w8, #3 b LBB0_3 LBB0_2: mov w8, #1 str w8, [x20, #4] mov x0, x24 bl _HS_USECS_ISO LBB0_3: str w0, [x20] lsl w8, w0, #3 sxtw x8, w8 mov w9, w19 sdiv x8, x8, x9 str x8, [x20, #8] str x21, [x20, #32] orr w8, w23, w22 stp w8, w19, [x20, #16] str w24, [x20, #24] 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 Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _USB_DIR_IN,4,2 ; @USB_DIR_IN .comm _USB_SPEED_FULL,8,3 ; @USB_SPEED_FULL .no_dead_strip _iso_stream_init .subsections_via_symbols
AnghaBench/linux/drivers/usb/host/extr_fotg210-hcd.c_iso_stream_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _compare_doubles ## -- Begin function compare_doubles .p2align 4, 0x90 _compare_doubles: ## @compare_doubles .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsd (%rdi), %xmm0 ## xmm0 = mem[0],zero movsd (%rsi), %xmm1 ## xmm1 = mem[0],zero xorl %eax, %eax ucomisd %xmm1, %xmm0 seta %al xorl %ecx, %ecx ucomisd %xmm0, %xmm1 seta %cl subl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _compare_doubles ; -- Begin function compare_doubles .p2align 2 _compare_doubles: ; @compare_doubles .cfi_startproc ; %bb.0: ldr d0, [x0] ldr d1, [x1] fcmp d0, d1 cset w8, gt cset w9, mi sub w0, w8, w9 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/143096.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $128, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movaps l___const.main.src+32(%rip), %xmm0 movaps %xmm0, -48(%rbp) movaps l___const.main.src+16(%rip), %xmm0 movaps %xmm0, -64(%rbp) movaps l___const.main.src(%rip), %xmm0 movaps %xmm0, -80(%rbp) movw $0, -32(%rbp) leaq -80(%rbp), %rbx movq %rbx, %rdi callq _strlen leaq 1(%rax), %rdx leaq -144(%rbp), %r14 movl $50, %ecx movq %r14, %rdi movq %rbx, %rsi callq ___memcpy_chk movq %r14, %rdi movq %rbx, %rsi callq _strcmp movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -24(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $128, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.main.src l___const.main.src: .asciz "asdfasdfyxdfasfasd\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .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, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] Lloh3: adrp x8, l___const.main.src@PAGE Lloh4: add x8, x8, l___const.main.src@PAGEOFF ldp q0, q1, [x8] stp q0, q1, [sp, #64] ldr q0, [x8, #32] str q0, [sp, #96] strh wzr, [sp, #112] add x0, sp, #64 bl _strlen add x2, x0, #1 add x0, sp, #14 add x1, sp, #64 mov w3, #50 bl ___memcpy_chk add x0, sp, #14 add x1, sp, #64 bl _strcmp ldur x8, [x29, #-8] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__const l___const.main.src: ; @__const.main.src .asciz "asdfasdfyxdfasfasd\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .subsections_via_symbols
the_stack_data/26701517.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cyapa_probe _cyapa_probe: ## @cyapa_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx callq _iicbus_get_addr movq _ENXIO@GOTPCREL(%rip), %r14 cmpl $206, %eax jne LBB0_3 ## %bb.1: leaq -24(%rbp), %rsi movl %ebx, %edi movl $1, %edx callq _init_device testl %eax, %eax jne LBB0_3 ## %bb.2: leaq L_.str(%rip), %rsi movl %ebx, %edi callq _device_set_desc movq _BUS_PROBE_VENDOR@GOTPCREL(%rip), %r14 LBB0_3: movl (%r14), %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ENXIO,4,2 ## @ENXIO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Cypress APA I2C Trackpad" .comm _BUS_PROBE_VENDOR,4,2 ## @BUS_PROBE_VENDOR .no_dead_strip _cyapa_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cyapa_probe _cyapa_probe: ; @cyapa_probe .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _iicbus_get_addr cmp w0, #206 b.ne LBB0_2 ; %bb.1: add x1, sp, #8 mov x0, x19 mov w2, #1 bl _init_device cbz w0, LBB0_3 LBB0_2: Lloh0: adrp x8, _ENXIO@GOTPAGE Lloh1: ldr x8, [x8, _ENXIO@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _device_set_desc Lloh4: adrp x8, _BUS_PROBE_VENDOR@GOTPAGE Lloh5: ldr x8, [x8, _BUS_PROBE_VENDOR@GOTPAGEOFF] LBB0_4: 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 Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _ENXIO,4,2 ; @ENXIO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Cypress APA I2C Trackpad" .comm _BUS_PROBE_VENDOR,4,2 ; @BUS_PROBE_VENDOR .no_dead_strip _cyapa_probe .subsections_via_symbols
AnghaBench/freebsd/sys/dev/cyapa/extr_cyapa.c_cyapa_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function c_can_rx_finalize _c_can_rx_finalize: ## @c_can_rx_finalize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rax movq _BOSCH_D_CAN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: popq %rbp retq LBB0_2: movq _IF_RX@GOTPCREL(%rip), %rax movl (%rax), %esi movq _IF_COMM_CLR_NEWDAT@GOTPCREL(%rip), %rax movl (%rax), %ecx popq %rbp jmp _c_can_object_get ## TAILCALL .cfi_endproc ## -- End function .comm _BOSCH_D_CAN,8,3 ## @BOSCH_D_CAN .comm _IF_RX,4,2 ## @IF_RX .comm _IF_COMM_CLR_NEWDAT,4,2 ## @IF_COMM_CLR_NEWDAT .no_dead_strip _c_can_rx_finalize .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function c_can_rx_finalize _c_can_rx_finalize: ; @c_can_rx_finalize .cfi_startproc ; %bb.0: ldr x8, [x1] Lloh0: adrp x9, _BOSCH_D_CAN@GOTPAGE Lloh1: ldr x9, [x9, _BOSCH_D_CAN@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ret LBB0_2: Lloh3: adrp x8, _IF_RX@GOTPAGE Lloh4: ldr x8, [x8, _IF_RX@GOTPAGEOFF] Lloh5: adrp x9, _IF_COMM_CLR_NEWDAT@GOTPAGE Lloh6: ldr x9, [x9, _IF_COMM_CLR_NEWDAT@GOTPAGEOFF] Lloh7: ldr w1, [x8] Lloh8: ldr w3, [x9] b _c_can_object_get .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .cfi_endproc ; -- End function .comm _BOSCH_D_CAN,8,3 ; @BOSCH_D_CAN .comm _IF_RX,4,2 ; @IF_RX .comm _IF_COMM_CLR_NEWDAT,4,2 ; @IF_COMM_CLR_NEWDAT .no_dead_strip _c_can_rx_finalize .subsections_via_symbols
AnghaBench/linux/drivers/net/can/c_can/extr_c_can.c_c_can_rx_finalize.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: .long 0 ## 0x0 .long 1 ## 0x1 .space 4 .space 4 LCPI0_1: .long 2 ## 0x2 .long 2 ## 0x2 .space 4 .space 4 LCPI0_2: .long 4 ## 0x4 .long 4 ## 0x4 .space 4 .space 4 LCPI0_3: .long 6 ## 0x6 .long 6 ## 0x6 .space 4 .space 4 LCPI0_4: .long 8 ## 0x8 .long 8 ## 0x8 .space 4 .space 4 LCPI0_5: .long 10 ## 0xa .long 10 ## 0xa .space 4 .space 4 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $816, %rsp ## imm = 0x330 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -832(%rbp), %rdi movl $800, %esi ## imm = 0x320 callq ___bzero movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = <0,1,u,u> movl $8, %eax movdqa LCPI0_1(%rip), %xmm1 ## xmm1 = <2,2,u,u> movdqa LCPI0_2(%rip), %xmm2 ## xmm2 = <4,4,u,u> movdqa LCPI0_3(%rip), %xmm3 ## xmm3 = <6,6,u,u> movdqa LCPI0_4(%rip), %xmm4 ## xmm4 = <8,8,u,u> movdqa LCPI0_5(%rip), %xmm5 ## xmm5 = <10,10,u,u> .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 cvtdq2pd %xmm0, %xmm6 movaps %xmm6, -896(%rbp,%rax,8) movdqa %xmm0, %xmm6 paddd %xmm1, %xmm6 cvtdq2pd %xmm6, %xmm6 movaps %xmm6, -880(%rbp,%rax,8) movdqa %xmm0, %xmm6 paddd %xmm2, %xmm6 cvtdq2pd %xmm6, %xmm6 movaps %xmm6, -864(%rbp,%rax,8) movdqa %xmm0, %xmm6 paddd %xmm3, %xmm6 cvtdq2pd %xmm6, %xmm6 movaps %xmm6, -848(%rbp,%rax,8) movdqa %xmm0, %xmm6 paddd %xmm4, %xmm6 cvtdq2pd %xmm6, %xmm6 movaps %xmm6, -832(%rbp,%rax,8) paddd %xmm5, %xmm0 addq $10, %rax cmpq $108, %rax jne LBB0_1 ## %bb.2: xorl %ebx, %ebx leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -832(%rbp,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r14, %rdi movb $1, %al callq _printf incq %rbx cmpq $100, %rbx jne LBB0_3 ## %bb.4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_6 ## %bb.5: xorl %eax, %eax addq $816, %rsp ## imm = 0x330 popq %rbx popq %r14 popq %rbp retq LBB0_6: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function populate_array LCPI1_0: .long 0 ## 0x0 .long 1 ## 0x1 .space 4 .space 4 LCPI1_1: .long 2 ## 0x2 .long 2 ## 0x2 .space 4 .space 4 LCPI1_2: .long 4 ## 0x4 .long 4 ## 0x4 .space 4 .space 4 LCPI1_3: .long 6 ## 0x6 .long 6 ## 0x6 .space 4 .space 4 LCPI1_4: .long 8 ## 0x8 .long 8 ## 0x8 .space 4 .space 4 .section __TEXT,__text,regular,pure_instructions .globl _populate_array .p2align 4, 0x90 _populate_array: ## @populate_array .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 jle LBB1_11 ## %bb.1: movl %esi, %eax cmpl $4, %esi jae LBB1_3 ## %bb.2: xorl %ecx, %ecx jmp LBB1_10 LBB1_3: movl %eax, %ecx andl $-4, %ecx leaq -4(%rcx), %rdx movq %rdx, %r8 shrq $2, %r8 incq %r8 testq %rdx, %rdx je LBB1_4 ## %bb.5: movq %r8, %rdx andq $-2, %rdx movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = <0,1,u,u> xorl %esi, %esi movdqa LCPI1_1(%rip), %xmm1 ## xmm1 = <2,2,u,u> movdqa LCPI1_2(%rip), %xmm2 ## xmm2 = <4,4,u,u> movdqa LCPI1_3(%rip), %xmm3 ## xmm3 = <6,6,u,u> movdqa LCPI1_4(%rip), %xmm4 ## xmm4 = <8,8,u,u> .p2align 4, 0x90 LBB1_6: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm5 cvtdq2pd %xmm0, %xmm6 paddd %xmm1, %xmm5 cvtdq2pd %xmm5, %xmm5 movups %xmm6, (%rdi,%rsi,8) movups %xmm5, 16(%rdi,%rsi,8) movdqa %xmm0, %xmm5 paddd %xmm2, %xmm5 movdqa %xmm0, %xmm6 cvtdq2pd %xmm5, %xmm5 paddd %xmm3, %xmm6 cvtdq2pd %xmm6, %xmm6 movups %xmm5, 32(%rdi,%rsi,8) movups %xmm6, 48(%rdi,%rsi,8) addq $8, %rsi paddd %xmm4, %xmm0 addq $-2, %rdx jne LBB1_6 ## %bb.7: testb $1, %r8b je LBB1_9 LBB1_8: cvtdq2pd %xmm0, %xmm1 paddd LCPI1_1(%rip), %xmm0 cvtdq2pd %xmm0, %xmm0 movdqu %xmm1, (%rdi,%rsi,8) movdqu %xmm0, 16(%rdi,%rsi,8) LBB1_9: cmpq %rax, %rcx je LBB1_11 .p2align 4, 0x90 LBB1_10: ## =>This Inner Loop Header: Depth=1 xorps %xmm0, %xmm0 cvtsi2sd %ecx, %xmm0 movsd %xmm0, (%rdi,%rcx,8) incq %rcx cmpq %rcx, %rax jne LBB1_10 LBB1_11: popq %rbp retq LBB1_4: movdqa LCPI1_0(%rip), %xmm0 ## xmm0 = <0,1,u,u> xorl %esi, %esi testb $1, %r8b jne LBB1_8 jmp LBB1_9 .cfi_endproc ## -- End function .globl _print_array ## -- Begin function print_array .p2align 4, 0x90 _print_array: ## @print_array .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testl %esi, %esi jle LBB2_3 ## %bb.1: movq %rdi, %r15 movl %esi, %r12d xorl %ebx, %ebx leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 movsd (%r15,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r14, %rdi movb $1, %al callq _printf incq %rbx cmpq %rbx, %r12 jne LBB2_2 LBB2_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%.2lf\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function main lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .globl _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, #816 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x19, sp, #8 add x0, sp, #8 mov w1, #800 bl _bzero mov x8, #0 Lloh3: adrp x9, lCPI0_0@PAGE Lloh4: ldr d0, [x9, lCPI0_0@PAGEOFF] movi.2s v1, #2 LBB0_1: ; =>This Inner Loop Header: Depth=1 sshll.2d v2, v0, #0 scvtf.2d v2, v2 str q2, [x19, x8] add.2s v0, v0, v1 add x8, x8, #16 cmp x8, #800 b.ne LBB0_1 ; %bb.2: mov x20, #0 add x21, sp, #8 Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr d0, [x21, x20] str d0, [sp] mov x0, x19 bl _printf add x20, x20, #8 cmp x20, #800 b.ne LBB0_3 ; %bb.4: ldur x8, [x29, #-40] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_6 ; %bb.5: mov w0, #0 add sp, sp, #816 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_6: bl ___stack_chk_fail .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function populate_array lCPI1_0: .long 0 ; 0x0 .long 1 ; 0x1 .section __TEXT,__text,regular,pure_instructions .globl _populate_array .p2align 2 _populate_array: ; @populate_array .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB1_7 ; %bb.1: mov w8, w1 cmp w1, #8 b.hs LBB1_3 ; %bb.2: mov x9, #0 b LBB1_6 LBB1_3: and x9, x8, #0xfffffff8 Lloh10: adrp x10, lCPI1_0@PAGE Lloh11: ldr d0, [x10, lCPI1_0@PAGEOFF] add x10, x0, #32 movi.2s v1, #2 movi.2s v2, #4 movi.2s v3, #6 movi.2s v4, #8 mov x11, x9 LBB1_4: ; =>This Inner Loop Header: Depth=1 add.2s v5, v0, v1 add.2s v6, v0, v2 add.2s v7, v0, v3 sshll.2d v16, v0, #0 scvtf.2d v16, v16 sshll.2d v5, v5, #0 scvtf.2d v5, v5 sshll.2d v6, v6, #0 scvtf.2d v6, v6 sshll.2d v7, v7, #0 scvtf.2d v7, v7 stp q16, q5, [x10, #-32] stp q6, q7, [x10], #64 add.2s v0, v0, v4 subs x11, x11, #8 b.ne LBB1_4 ; %bb.5: cmp x9, x8 b.eq LBB1_7 LBB1_6: ; =>This Inner Loop Header: Depth=1 scvtf d0, w9 str d0, [x0, x9, lsl #3] add x9, x9, #1 cmp x8, x9 b.ne LBB1_6 LBB1_7: ret .loh AdrpLdr Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _print_array ; -- Begin function print_array .p2align 2 _print_array: ; @print_array .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w1, #1 b.lt LBB2_3 ; %bb.1: mov x19, x0 mov w21, w1 Lloh12: adrp x20, l_.str@PAGE Lloh13: add x20, x20, l_.str@PAGEOFF LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr d0, [x19], #8 str d0, [sp] mov x0, x20 bl _printf subs x21, x21, #1 b.ne LBB2_2 LBB2_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 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%.2lf\n" .subsections_via_symbols
the_stack_data/132953191.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 $536, %rsp ## imm = 0x218 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpl $2, %edi jne LBB0_1 ## %bb.2: movq %rsi, %rbx movq 8(%rsi), %rdi leaq L_.str.1(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %r15 leaq L_.str.3(%rip), %rcx leaq -568(%rbp), %rbx movl $8, %edx movq %rbx, %rdi xorl %esi, %esi xorl %r8d, %r8d xorl %eax, %eax callq ___sprintf_chk movq %rbx, %rdi callq _puts leaq L_.str.5(%rip), %rsi movq %rbx, %rdi callq _fopen movq %rax, %rbx leaq -560(%rbp), %rdi movl $512, %esi ## imm = 0x200 movl $1, %edx movq %r15, %rcx callq _fread testl %eax, %eax jle LBB0_5 ## %bb.6: leaq -560(%rbp), %r13 xorl %ecx, %ecx xorl %r12d, %r12d jmp LBB0_7 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 testl %r12d, %r12d je LBB0_12 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, %rdi callq _fclose movl $8, %edx leaq -568(%rbp), %rbx movq %rbx, %rdi xorl %esi, %esi leaq L_.str.3(%rip), %rcx movl %r12d, %r8d xorl %eax, %eax callq ___sprintf_chk movq %rbx, %rdi leaq L_.str.5(%rip), %rsi callq _fopen movq %rax, %rbx movl $512, %esi ## imm = 0x200 movl $1, %edx movq %r13, %rdi movq %rax, %rcx callq _fwrite incl %r12d LBB0_16: ## in Loop: Header=BB0_7 Depth=1 movl $1, %r14d LBB0_17: ## in Loop: Header=BB0_7 Depth=1 movl $512, %esi ## imm = 0x200 movl $1, %edx movq %r13, %rdi movq %r15, %rcx callq _fread movl %r14d, %ecx testl %eax, %eax jle LBB0_18 LBB0_7: ## =>This Inner Loop Header: Depth=1 cmpb $-1, -560(%rbp) jne LBB0_14 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 cmpb $-40, -559(%rbp) jne LBB0_14 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 cmpb $-1, -558(%rbp) jne LBB0_14 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movzbl -557(%rbp), %eax andb $-16, %al cmpb $-32, %al je LBB0_11 LBB0_14: ## in Loop: Header=BB0_7 Depth=1 xorl %r14d, %r14d cmpl $1, %ecx jne LBB0_17 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 movl $512, %esi ## imm = 0x200 movl $1, %edx movq %r13, %rdi movq %rbx, %rcx callq _fwrite jmp LBB0_16 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movl $512, %esi ## imm = 0x200 movl $1, %edx movq %r13, %rdi movq %rbx, %rcx callq _fwrite movl $1, %r12d jmp LBB0_16 LBB0_1: leaq L_str.8(%rip), %rdi callq _puts movl $1, %eax jmp LBB0_19 LBB0_3: movq 8(%rbx), %rsi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movl $1, %eax jmp LBB0_19 LBB0_5: xorl %r12d, %r12d LBB0_18: movq %rbx, %rdi callq _fclose movq %r15, %rdi callq _fclose leaq L_str(%rip), %rdi callq _puts leaq L_.str.7(%rip), %rdi movl %r12d, %esi xorl %eax, %eax callq _printf xorl %eax, %eax LBB0_19: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_21 ## %bb.20: addq $536, %rsp ## imm = 0x218 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_21: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "file %s cannot be opened for reading.\n" L_.str.3: ## @.str.3 .asciz "%03i.jpg" L_.str.5: ## @.str.5 .asciz "a" L_.str.7: ## @.str.7 .asciz "num pics: %i\n" L_str: ## @str .asciz "end of file" L_str.8: ## @str.8 .asciz "Please enter one input for the program." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-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 w27, -72 .cfi_offset w28, -80 sub sp, sp, #544 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] cmp w0, #2 b.ne LBB0_15 ; %bb.1: mov x20, x1 ldr x0, [x1, #8] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF bl _fopen cbz x0, LBB0_16 ; %bb.2: mov x19, x0 str xzr, [sp] Lloh5: adrp x3, l_.str.3@PAGE Lloh6: add x3, x3, l_.str.3@PAGEOFF add x0, sp, #16 mov w1, #0 mov w2, #8 bl ___sprintf_chk add x0, sp, #16 bl _puts Lloh7: adrp x1, l_.str.5@PAGE Lloh8: add x1, x1, l_.str.5@PAGEOFF add x0, sp, #16 bl _fopen mov x20, x0 add x0, sp, #24 mov w1, #512 mov w2, #1 mov x3, x19 bl _fread cmp w0, #1 b.lt LBB0_17 ; %bb.3: mov w24, #0 mov w23, #0 Lloh9: adrp x21, l_.str.3@PAGE Lloh10: add x21, x21, l_.str.3@PAGEOFF Lloh11: adrp x22, l_.str.5@PAGE Lloh12: add x22, x22, l_.str.5@PAGEOFF b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 mov w24, #1 add x0, sp, #24 mov w1, #512 mov w2, #1 mov x3, x20 bl _fwrite ; kill: def $w24 killed $w24 killed $x24 def $x24 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x0, sp, #24 mov w1, #512 mov w2, #1 mov x3, x19 bl _fread cmp w0, #0 b.le LBB0_18 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldrb w8, [sp, #24] cmp w8, #255 b.ne LBB0_12 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [sp, #25] cmp w8, #216 b.ne LBB0_12 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [sp, #26] cmp w8, #255 b.ne LBB0_12 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [sp, #27] and w8, w8, #0xf0 cmp w8, #224 b.ne LBB0_12 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 cbz w23, LBB0_14 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 mov x0, x20 bl _fclose mov x8, x23 str x8, [sp] add x0, sp, #16 mov w1, #0 mov w2, #8 mov x3, x21 bl ___sprintf_chk add x0, sp, #16 mov x1, x22 bl _fopen mov x20, x0 mov w24, #1 add x0, sp, #24 mov w1, #512 mov w2, #1 mov x3, x20 bl _fwrite add w23, w23, #1 b LBB0_5 LBB0_12: ; in Loop: Header=BB0_6 Depth=1 cmp w24, #1 b.eq LBB0_4 ; %bb.13: ; in Loop: Header=BB0_6 Depth=1 mov w24, #0 b LBB0_5 LBB0_14: ; in Loop: Header=BB0_6 Depth=1 mov w23, #1 add x0, sp, #24 mov w1, #512 mov w2, #1 mov x3, x20 bl _fwrite mov w24, #1 b LBB0_5 LBB0_15: Lloh13: adrp x0, l_str.8@PAGE Lloh14: add x0, x0, l_str.8@PAGEOFF bl _puts mov w0, #1 b LBB0_19 LBB0_16: ldr x8, [x20, #8] str x8, [sp] Lloh15: adrp x0, l_.str.2@PAGE Lloh16: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #1 b LBB0_19 LBB0_17: mov w23, #0 LBB0_18: mov x0, x20 bl _fclose mov x0, x19 bl _fclose Lloh17: adrp x0, l_str@PAGE Lloh18: add x0, x0, l_str@PAGEOFF bl _puts ; kill: def $w23 killed $w23 killed $x23 def $x23 str x23, [sp] Lloh19: adrp x0, l_.str.7@PAGE Lloh20: add x0, x0, l_.str.7@PAGEOFF bl _printf mov w0, #0 LBB0_19: ldur x8, [x29, #-72] Lloh21: adrp x9, ___stack_chk_guard@GOTPAGE Lloh22: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh23: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.20: add sp, sp, #544 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 x28, x27, [sp], #80 ; 16-byte Folded Reload ret LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "file %s cannot be opened for reading.\n" l_.str.3: ; @.str.3 .asciz "%03i.jpg" l_.str.5: ; @.str.5 .asciz "a" l_.str.7: ; @.str.7 .asciz "num pics: %i\n" l_str: ; @str .asciz "end of file" l_str.8: ; @str.8 .asciz "Please enter one input for the program." .subsections_via_symbols
the_stack_data/150143915.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pg_wchar2single_with_len _pg_wchar2single_with_len: ## @pg_wchar2single_with_len .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %edx, %edx jle LBB0_1 ## %bb.2: movl %edx, %eax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%rdi,%rcx,8), %rdx testq %rdx, %rdx je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movb %dl, (%rsi,%rcx) incq %rcx cmpl %ecx, %eax jne LBB0_3 ## %bb.5: addq %rcx, %rsi jmp LBB0_7 LBB0_1: xorl %eax, %eax jmp LBB0_7 LBB0_6: addq %rcx, %rsi movl %ecx, %eax LBB0_7: movb $0, (%rsi) ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pg_wchar2single_with_len .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pg_wchar2single_with_len _pg_wchar2single_with_len: ; @pg_wchar2single_with_len .cfi_startproc ; %bb.0: cmp w2, #1 b.lt LBB0_5 ; %bb.1: mov x8, x0 mov x9, #0 mov w0, w2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x10, [x8, x9, lsl #3] cbz x10, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 strb w10, [x1, x9] add x9, x9, #1 cmp w0, w9 b.ne LBB0_2 ; %bb.4: add x1, x1, x9 strb wzr, [x1] ; kill: def $w0 killed $w0 killed $x0 ret LBB0_5: mov w0, #0 strb wzr, [x1] ; kill: def $w0 killed $w0 killed $x0 ret LBB0_6: add x1, x1, x9 mov x0, x9 strb wzr, [x1] ; kill: def $w0 killed $w0 killed $x0 ret .cfi_endproc ; -- End function .no_dead_strip _pg_wchar2single_with_len .subsections_via_symbols
AnghaBench/postgres/src/backend/utils/mb/extr_wchar.c_pg_wchar2single_with_len.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zpool_get_type ## -- Begin function zpool_get_type .p2align 4, 0x90 _zpool_get_type: ## @zpool_get_type .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rax), %rax 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 _zpool_get_type ; -- Begin function zpool_get_type .p2align 2 _zpool_get_type: ; @zpool_get_type .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x0, [x8] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/mm/extr_zpool.c_zpool_get_type.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function FileInStream_Read _FileInStream_Read: ## @FileInStream_Read .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _File_Read testq %rax, %rax jne LBB0_1 ## %bb.2: movq _SZ_OK@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _SZ_ERROR_READ@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _SZ_OK,4,2 ## @SZ_OK .comm _SZ_ERROR_READ,4,2 ## @SZ_ERROR_READ .no_dead_strip _FileInStream_Read .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function FileInStream_Read _FileInStream_Read: ; @FileInStream_Read .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 _File_Read Lloh0: adrp x8, _SZ_OK@GOTPAGE Lloh1: ldr x8, [x8, _SZ_OK@GOTPAGEOFF] Lloh2: adrp x9, _SZ_ERROR_READ@GOTPAGE Lloh3: ldr x9, [x9, _SZ_ERROR_READ@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _SZ_OK,4,2 ; @SZ_OK .comm _SZ_ERROR_READ,4,2 ; @SZ_ERROR_READ .no_dead_strip _FileInStream_Read .subsections_via_symbols
AnghaBench/sumatrapdf/ext/lzma/C/extr_7zFile.c_FileInStream_Read.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sd_config _sd_config: ## @sd_config .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 movl (%rsi), %ebx movl %ebx, %eax sarl $8, %eax movl %eax, (%rdi) movl %ebx, 4(%rdi) movq _AiptekMiniPenCam13@GOTPCREL(%rip), %rcx cmpl (%rcx), %ebx jne LBB0_6 ## %bb.1: movq %r14, %rdi movl $32, %esi xorl %edx, %edx movl $1, %ecx callq _reg_r movq (%r14), %rax movl (%rax), %ecx cmpl $1, %ecx je LBB0_5 ## %bb.2: cmpl $2, %ecx jne LBB0_4 ## %bb.3: movq _BRIDGE_SPCA504B@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) movl $0, 4(%r14) xorl %ebx, %ebx LBB0_6: cmpl $128, %eax je LBB0_9 LBB0_7: cmpl $129, %eax jne LBB0_8 ## %bb.11: movq _vga_mode2@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_8: movq _vga_mode@GOTPCREL(%rip), %rax LBB0_12: movq (%rax), %rdi movq %rdi, 16(%r14) callq _ARRAY_SIZE jmp LBB0_13 LBB0_5: movq %rax, %rbx shrq $32, %rbx cmpl $128, %eax jne LBB0_7 LBB0_9: movq _custom_mode@GOTPCREL(%rip), %rax movq (%rax), %rdi movq %rdi, 16(%r14) movq _MegaImageVI@GOTPCREL(%rip), %rax movl (%rax), %r15d callq _ARRAY_SIZE cmpl %r15d, %ebx jne LBB0_13 ## %bb.10: decq %rax LBB0_13: movq %rax, 8(%r14) xorl %eax, %eax LBB0_14: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: movq _ENODEV@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_14 .cfi_endproc ## -- End function .comm _AiptekMiniPenCam13,4,2 ## @AiptekMiniPenCam13 .comm _BRIDGE_SPCA504B,4,2 ## @BRIDGE_SPCA504B .comm _ENODEV,4,2 ## @ENODEV .comm _vga_mode,8,3 ## @vga_mode .comm _custom_mode,8,3 ## @custom_mode .comm _MegaImageVI,4,2 ## @MegaImageVI .comm _vga_mode2,8,3 ## @vga_mode2 .no_dead_strip _sd_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sd_config _sd_config: ; @sd_config .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr w20, [x1] asr w8, w20, #8 stp w8, w20, [x0] Lloh0: adrp x9, _AiptekMiniPenCam13@GOTPAGE Lloh1: ldr x9, [x9, _AiptekMiniPenCam13@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w20, w9 b.ne LBB0_4 ; %bb.1: mov x0, x19 mov w1, #32 mov w2, #0 mov w3, #1 bl _reg_r ldr x8, [x19] ldr w9, [x8] cmp w9, #1 b.eq LBB0_12 ; %bb.2: cmp w9, #2 b.ne LBB0_15 ; %bb.3: mov w20, #0 Lloh3: adrp x8, _BRIDGE_SPCA504B@GOTPAGE Lloh4: ldr x8, [x8, _BRIDGE_SPCA504B@GOTPAGEOFF] Lloh5: ldr w8, [x8] stp w8, wzr, [x19] LBB0_4: cmp w8, #128 b.eq LBB0_13 LBB0_5: cmp w8, #129 b.ne LBB0_7 ; %bb.6: Lloh6: adrp x8, _vga_mode2@GOTPAGE Lloh7: ldr x8, [x8, _vga_mode2@GOTPAGEOFF] b LBB0_8 LBB0_7: Lloh8: adrp x8, _vga_mode@GOTPAGE Lloh9: ldr x8, [x8, _vga_mode@GOTPAGEOFF] LBB0_8: ldr x0, [x8] str x0, [x19, #16] bl _ARRAY_SIZE mov x8, x0 LBB0_9: mov w0, #0 LBB0_10: str x8, [x19, #8] LBB0_11: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_12: lsr x20, x8, #32 cmp w8, #128 b.ne LBB0_5 LBB0_13: Lloh10: adrp x8, _custom_mode@GOTPAGE Lloh11: ldr x8, [x8, _custom_mode@GOTPAGEOFF] Lloh12: ldr x0, [x8] str x0, [x19, #16] Lloh13: adrp x8, _MegaImageVI@GOTPAGE Lloh14: ldr x8, [x8, _MegaImageVI@GOTPAGEOFF] Lloh15: ldr w21, [x8] bl _ARRAY_SIZE mov x8, x0 cmp w20, w21 b.ne LBB0_9 ; %bb.14: mov w0, #0 sub x8, x8, #1 b LBB0_10 LBB0_15: Lloh16: adrp x8, _ENODEV@GOTPAGE Lloh17: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh18: ldr w8, [x8] neg w0, w8 b LBB0_11 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _AiptekMiniPenCam13,4,2 ; @AiptekMiniPenCam13 .comm _BRIDGE_SPCA504B,4,2 ; @BRIDGE_SPCA504B .comm _ENODEV,4,2 ; @ENODEV .comm _vga_mode,8,3 ; @vga_mode .comm _custom_mode,8,3 ; @custom_mode .comm _MegaImageVI,4,2 ; @MegaImageVI .comm _vga_mode2,8,3 ; @vga_mode2 .no_dead_strip _sd_config .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/gspca/extr_sunplus.c_sd_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ncp_init_request_s _ncp_init_request_s: ## @ncp_init_request_s .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, %r14d movq %rdi, %rbx callq _ncp_lock_server movl $6, (%rbx) movq %rbx, %rdi movl %r14d, %esi callq _ncp_add_byte movl $1, 4(%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ncp_init_request_s .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ncp_init_request_s _ncp_init_request_s: ; @ncp_init_request_s .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 _ncp_lock_server mov w8, #6 str w8, [x20] mov x0, x20 mov x1, x19 bl _ncp_add_byte mov w8, #1 str w8, [x20, #4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _ncp_init_request_s .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ncpfs/extr_ncplib_kernel.c_ncp_init_request_s.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function origin_dev_supports_discard _origin_dev_supports_discard: ## @origin_dev_supports_discard .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _bdev_get_queue testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rdi callq _blk_queue_discard movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx setne %al popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _origin_dev_supports_discard .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function origin_dev_supports_discard _origin_dev_supports_discard: ; @origin_dev_supports_discard .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 _bdev_get_queue cbz x0, LBB0_2 ; %bb.1: bl _blk_queue_discard cmp x0, #0 cset w0, ne LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _origin_dev_supports_discard .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_dm-cache-target.c_origin_dev_supports_discard.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s921_isdb_get_status _s921_isdb_get_status: ## @s921_isdb_get_status .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movl $10, %edi callq _mdelay movl 8(%rbx), %edi movl $129, %esi callq *(%rbx) movl 8(%rbx), %edi movl $130, %esi callq *(%rbx) cmpl $64, %eax jne LBB0_2 ## %bb.1: movl $1, (%r14) LBB0_2: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s921_isdb_get_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s921_isdb_get_status _s921_isdb_get_status: ; @s921_isdb_get_status .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 mov w0, #10 bl _mdelay ldr x8, [x20] ldr w0, [x20, #8] mov w1, #129 blr x8 ldr x8, [x20] ldr w0, [x20, #8] mov w1, #130 blr x8 cmp w0, #64 b.ne LBB0_2 ; %bb.1: mov w8, #1 str w8, [x19] LBB0_2: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _s921_isdb_get_status .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_s921_core.c_s921_isdb_get_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pnv_smp_kick_cpu _pnv_smp_kick_cpu: ## @pnv_smp_kick_cpu .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, %r12d movq _generic_secondary_smp_init@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ppc_function_entry movl %eax, %edi callq ___pa testl %r12d, %r12d js LBB0_4 ## %bb.1: movq %rax, %r14 movq _nr_cpu_ids@GOTPCREL(%rip), %rax cmpl %r12d, (%rax) jle LBB0_4 ## %bb.2: movl %r12d, %edi callq _get_hard_smp_processor_id movl %eax, %r15d movq _paca_ptrs@GOTPCREL(%rip), %rax movq (%rax), %rax movl %r12d, %ecx movq (%rax,%rcx,8), %rax cmpq $0, (%rax) je LBB0_8 LBB0_3: movl %r12d, %edi callq _smp_generic_kick_cpu movl %eax, %ebx jmp LBB0_7 LBB0_4: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_5: xorl %ebx, %ebx LBB0_6: subl (%rax), %ebx LBB0_7: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movq _FW_FEATURE_OPAL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _firmware_has_feature testl %eax, %eax je LBB0_3 ## %bb.9: leaq -48(%rbp), %rsi movl %r15d, %edi callq _opal_query_cpu_status movq _OPAL_SUCCESS@GOTPCREL(%rip), %r13 cmpq (%r13), %rax jne LBB0_14 ## %bb.10: movq -48(%rbp), %rcx movq _OPAL_THREAD_STARTED@GOTPCREL(%rip), %rax cmpq (%rax), %rcx je LBB0_3 ## %bb.11: movq _OPAL_THREAD_INACTIVE@GOTPCREL(%rip), %rax cmpq (%rax), %rcx jne LBB0_15 ## %bb.12: leaq L_.str.1(%rip), %rdi xorl %ebx, %ebx movl %r12d, %esi movl %r15d, %edx xorl %eax, %eax callq _pr_devel movl %r15d, %edi movq %r14, %rsi callq _opal_start_cpu cmpq (%r13), %rax je LBB0_3 ## %bb.13: leaq L_.str.2(%rip), %rdi movq %rax, %rsi movl %r12d, %edx callq _pr_warn jmp LBB0_16 LBB0_14: leaq L_.str(%rip), %rdi movq %rax, %rsi movl %r12d, %edx callq _pr_warn movq _ENODEV@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_15: leaq L_.str.3(%rip), %rdi xorl %ebx, %ebx movl %r12d, %esi movl %r15d, %edx xorl %eax, %eax callq _pr_devel LBB0_16: movq _ENODEV@GOTPCREL(%rip), %rax jmp LBB0_6 .cfi_endproc ## -- End function .comm _generic_secondary_smp_init,4,2 ## @generic_secondary_smp_init .comm _nr_cpu_ids,4,2 ## @nr_cpu_ids .comm _EINVAL,4,2 ## @EINVAL .comm _paca_ptrs,8,3 ## @paca_ptrs .comm _FW_FEATURE_OPAL,4,2 ## @FW_FEATURE_OPAL .comm _OPAL_SUCCESS,8,3 ## @OPAL_SUCCESS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "OPAL Error %ld querying CPU %d state\n" .comm _ENODEV,4,2 ## @ENODEV .comm _OPAL_THREAD_STARTED,8,3 ## @OPAL_THREAD_STARTED .comm _OPAL_THREAD_INACTIVE,8,3 ## @OPAL_THREAD_INACTIVE L_.str.1: ## @.str.1 .asciz "OPAL: Starting CPU %d (HW 0x%x)...\n" L_.str.2: ## @.str.2 .asciz "OPAL Error %ld starting CPU %d\n" L_.str.3: ## @.str.3 .asciz "OPAL: CPU %d (HW 0x%x) is unavailable (status %d)...\n" .no_dead_strip _pnv_smp_kick_cpu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pnv_smp_kick_cpu _pnv_smp_kick_cpu: ; @pnv_smp_kick_cpu .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x8, _generic_secondary_smp_init@GOTPAGE Lloh1: ldr x8, [x8, _generic_secondary_smp_init@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _ppc_function_entry bl ___pa tbnz w19, #31, LBB0_4 ; %bb.1: Lloh3: adrp x8, _nr_cpu_ids@GOTPAGE Lloh4: ldr x8, [x8, _nr_cpu_ids@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w8, w19 b.le LBB0_4 ; %bb.2: mov x20, x0 mov x0, x19 bl _get_hard_smp_processor_id Lloh6: adrp x8, _paca_ptrs@GOTPAGE Lloh7: ldr x8, [x8, _paca_ptrs@GOTPAGEOFF] Lloh8: ldr x8, [x8] ldr x8, [x8, w19, uxtw #3] ldr x8, [x8] cbz x8, LBB0_7 LBB0_3: mov x0, x19 bl _smp_generic_kick_cpu b LBB0_6 LBB0_4: Lloh9: adrp x8, _EINVAL@GOTPAGE Lloh10: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w0, w8 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_7: mov x21, x0 Lloh11: adrp x8, _FW_FEATURE_OPAL@GOTPAGE Lloh12: ldr x8, [x8, _FW_FEATURE_OPAL@GOTPAGEOFF] Lloh13: ldr w0, [x8] bl _firmware_has_feature cbz w0, LBB0_3 ; %bb.8: add x1, sp, #8 mov x0, x21 bl _opal_query_cpu_status Lloh14: adrp x22, _OPAL_SUCCESS@GOTPAGE Lloh15: ldr x22, [x22, _OPAL_SUCCESS@GOTPAGEOFF] ldr x8, [x22] cmp x0, x8 b.ne LBB0_13 ; %bb.9: ldr x8, [sp, #8] Lloh16: adrp x9, _OPAL_THREAD_STARTED@GOTPAGE Lloh17: ldr x9, [x9, _OPAL_THREAD_STARTED@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x8, x9 b.eq LBB0_3 ; %bb.10: Lloh19: adrp x9, _OPAL_THREAD_INACTIVE@GOTPAGE Lloh20: ldr x9, [x9, _OPAL_THREAD_INACTIVE@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x8, x9 b.ne LBB0_16 ; %bb.11: Lloh22: adrp x0, l_.str.1@PAGE Lloh23: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 mov x2, x21 bl _pr_devel mov x0, x21 mov x1, x20 bl _opal_start_cpu ldr x8, [x22] cmp x0, x8 b.eq LBB0_3 ; %bb.12: mov x1, x0 Lloh24: adrp x0, l_.str.2@PAGE Lloh25: add x0, x0, l_.str.2@PAGEOFF b LBB0_14 LBB0_13: mov x1, x0 Lloh26: adrp x0, l_.str@PAGE Lloh27: add x0, x0, l_.str@PAGEOFF LBB0_14: mov x2, x19 bl _pr_warn LBB0_15: Lloh28: adrp x8, _ENODEV@GOTPAGE Lloh29: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_5 LBB0_16: str x8, [sp] Lloh30: adrp x0, l_.str.3@PAGE Lloh31: add x0, x0, l_.str.3@PAGEOFF mov x1, x19 mov x2, x21 bl _pr_devel b LBB0_15 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc ; -- End function .comm _generic_secondary_smp_init,4,2 ; @generic_secondary_smp_init .comm _nr_cpu_ids,4,2 ; @nr_cpu_ids .comm _EINVAL,4,2 ; @EINVAL .comm _paca_ptrs,8,3 ; @paca_ptrs .comm _FW_FEATURE_OPAL,4,2 ; @FW_FEATURE_OPAL .comm _OPAL_SUCCESS,8,3 ; @OPAL_SUCCESS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OPAL Error %ld querying CPU %d state\n" .comm _ENODEV,4,2 ; @ENODEV .comm _OPAL_THREAD_STARTED,8,3 ; @OPAL_THREAD_STARTED .comm _OPAL_THREAD_INACTIVE,8,3 ; @OPAL_THREAD_INACTIVE l_.str.1: ; @.str.1 .asciz "OPAL: Starting CPU %d (HW 0x%x)...\n" l_.str.2: ; @.str.2 .asciz "OPAL Error %ld starting CPU %d\n" l_.str.3: ; @.str.3 .asciz "OPAL: CPU %d (HW 0x%x) is unavailable (status %d)...\n" .no_dead_strip _pnv_smp_kick_cpu .subsections_via_symbols
AnghaBench/linux/arch/powerpc/platforms/powernv/extr_smp.c_pnv_smp_kick_cpu.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function aafs_show_path _aafs_show_path: ## @aafs_show_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _AAFS_NAME@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %rsi, %rdi callq _d_inode movl (%rax), %ecx leaq L_.str(%rip), %rsi movq %rbx, %rdi movl %r14d, %edx callq _seq_printf xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:[%lu]" .comm _AAFS_NAME,4,2 ## @AAFS_NAME .no_dead_strip _aafs_show_path .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function aafs_show_path _aafs_show_path: ; @aafs_show_path .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _AAFS_NAME@GOTPAGE Lloh1: ldr x8, [x8, _AAFS_NAME@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x1 bl _d_inode ldr w3, [x0] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x19 mov x2, x20 bl _seq_printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:[%lu]" .comm _AAFS_NAME,4,2 ; @AAFS_NAME .no_dead_strip _aafs_show_path .subsections_via_symbols
AnghaBench/linux/security/apparmor/extr_apparmorfs.c_aafs_show_path.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_cached_write _do_cached_write: ## @do_cached_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movl %edx, %r12d movq %rsi, %r14 movq 32(%rdi), %r13 movq %rdi, -48(%rbp) ## 8-byte Spill movl (%rdi), %ebx movq _MTD_DEBUG_LEVEL2@GOTPCREL(%rip), %rax movl (%rax), %edi movl 16(%r13), %edx leaq L_.str(%rip), %rsi movq %r14, %rcx movl %r12d, %r8d callq _DEBUG testq %rbx, %rbx je LBB0_22 ## %bb.1: testl %r12d, %r12d jle LBB0_20 ## %bb.2: movq -48(%rbp), %r8 ## 8-byte Reload movq %rbx, -80(%rbp) ## 8-byte Spill movq %r13, %rdi movq %r13, -56(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movl %ebx, %edx movq %rdi, %rbx movq %r15, %rcx callq _erase_write movq %rbx, %rdi movq -48(%rbp), %r8 ## 8-byte Reload testl %eax, %eax jne LBB0_21 LBB0_19: ## in Loop: Header=BB0_3 Depth=1 movl %r13d, %eax addq %rax, %r15 addq %rax, %r14 subl %r13d, %r12d movq -80(%rbp), %rbx ## 8-byte Reload jle LBB0_20 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r14, %rax shrq $32, %rax je LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rax xorl %edx, %edx divq %rbx jmp LBB0_6 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movl %r14d, %eax xorl %edx, %edx divl %ebx ## kill: def $edx killed $edx def $rdx LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movl %ebx, %r13d subl %edx, %r13d cmpl %r12d, %r13d cmovael %r12d, %r13d movq %r14, %rsi cmpl %ebx, %r13d je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 subq %rdx, %rsi movq 8(%r8), %rax movq _STATE_DIRTY@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax movq %rdx, -72(%rbp) ## 8-byte Spill movq %r15, -64(%rbp) ## 8-byte Spill jne LBB0_12 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 cmpq %rsi, 16(%r8) je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq %rsi, %r15 movq %r8, %rbx movq %r8, %rdi callq _write_cached_data testl %eax, %eax jne LBB0_21 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq 8(%rbx), %rax movq %rbx, %r8 movq -80(%rbp), %rbx ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movq %r15, %rsi movq -64(%rbp), %r15 ## 8-byte Reload LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq _STATE_EMPTY@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq %rcx, %rax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 cmpq %rsi, 16(%r8) je LBB0_18 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movq %rcx, 8(%r8) movl 24(%r8), %r8d movq -56(%rbp), %rdi ## 8-byte Reload movq %rsi, %r15 movl %ebx, %edx leaq -88(%rbp), %rcx callq *8(%rdi) testl %eax, %eax jne LBB0_21 ## %bb.15: ## in Loop: Header=BB0_3 Depth=1 cmpq %rbx, -88(%rbp) jne LBB0_16 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rcx ## 8-byte Reload movq %r15, 16(%rcx) movl %ebx, (%rcx) movq _STATE_CLEAN@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%rcx) movq -72(%rbp), %rdx ## 8-byte Reload movq -64(%rbp), %r15 ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload movl 24(%rax), %edi addl %edx, %edi movq %r15, %rsi movl %r13d, %edx callq _memcpy movq -48(%rbp), %r8 ## 8-byte Reload movq _STATE_DIRTY@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%r8) movq -56(%rbp), %rdi ## 8-byte Reload jmp LBB0_19 LBB0_20: xorl %eax, %eax jmp LBB0_21 LBB0_22: leaq -88(%rbp), %rcx movq %r13, %rdi movq %r14, %rsi movl %r12d, %edx movq %r15, %r8 callq *(%r13) LBB0_21: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_16: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_21 .cfi_endproc ## -- End function .comm _MTD_DEBUG_LEVEL2,4,2 ## @MTD_DEBUG_LEVEL2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "mtdblock: write on \"%s\" at 0x%lx, size 0x%x\n" .comm _STATE_DIRTY,8,3 ## @STATE_DIRTY .comm _STATE_EMPTY,8,3 ## @STATE_EMPTY .comm _EIO,4,2 ## @EIO .comm _STATE_CLEAN,8,3 ## @STATE_CLEAN .no_dead_strip _do_cached_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_cached_write _do_cached_write: ; @do_cached_write .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, x3 mov x20, x2 mov x21, x1 mov x23, x0 ldr x22, [x0, #32] ldr w24, [x0] Lloh0: adrp x8, _MTD_DEBUG_LEVEL2@GOTPAGE Lloh1: ldr x8, [x8, _MTD_DEBUG_LEVEL2@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w2, [x22, #16] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x3, x21 mov x4, x20 bl _DEBUG cbz w24, LBB0_17 ; %bb.1: cmp w20, #1 b.lt LBB0_16 ; %bb.2: Lloh5: adrp x27, _STATE_DIRTY@GOTPAGE Lloh6: ldr x27, [x27, _STATE_DIRTY@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 mov x0, x22 mov x1, x21 mov x2, x24 mov x3, x19 bl _erase_write cbnz w0, LBB0_18 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x19, x19, x25 add x21, x21, x25 sub w20, w20, w25 cmp w20, #0 b.le LBB0_16 LBB0_5: ; =>This Inner Loop Header: Depth=1 udiv x8, x21, x24 mul x26, x8, x24 sub w28, w21, w26 sub w8, w24, w28 cmp w8, w20 csel w25, w8, w20, lo cmp w25, w24 b.eq LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x23, #8] ldr x9, [x27] cmp x8, x9 b.ne LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [x23, #16] cmp x9, x26 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 mov x0, x23 bl _write_cached_data cbnz w0, LBB0_18 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x23, #8] LBB0_10: ; in Loop: Header=BB0_5 Depth=1 Lloh7: adrp x9, _STATE_EMPTY@GOTPAGE Lloh8: ldr x9, [x9, _STATE_EMPTY@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x8, x9 b.eq LBB0_12 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x23, #16] cmp x8, x26 b.eq LBB0_15 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 str x9, [x23, #8] ldr x8, [x22, #8] ldr w4, [x23, #24] add x3, sp, #8 mov x0, x22 mov x1, x26 mov x2, x24 blr x8 cbnz w0, LBB0_18 ; %bb.13: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp, #8] cmp x8, x24 b.ne LBB0_19 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 str w24, [x23] Lloh10: adrp x8, _STATE_CLEAN@GOTPAGE Lloh11: ldr x8, [x8, _STATE_CLEAN@GOTPAGEOFF] Lloh12: ldr x8, [x8] stp x8, x26, [x23, #8] LBB0_15: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x23, #24] add w0, w8, w28 mov x1, x19 mov x2, x25 bl _memcpy ldr x8, [x27] str x8, [x23, #8] b LBB0_4 LBB0_16: mov w0, #0 b LBB0_18 LBB0_17: ldr x8, [x22] add x3, sp, #8 mov x0, x22 mov x1, x21 mov x2, x20 mov x4, x19 blr x8 LBB0_18: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_19: Lloh13: adrp x8, _EIO@GOTPAGE Lloh14: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh15: ldr w8, [x8] neg w0, w8 b LBB0_18 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _MTD_DEBUG_LEVEL2,4,2 ; @MTD_DEBUG_LEVEL2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "mtdblock: write on \"%s\" at 0x%lx, size 0x%x\n" .comm _STATE_DIRTY,8,3 ; @STATE_DIRTY .comm _STATE_EMPTY,8,3 ; @STATE_EMPTY .comm _EIO,4,2 ; @EIO .comm _STATE_CLEAN,8,3 ; @STATE_CLEAN .no_dead_strip _do_cached_write .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/mtd/extr_mtdblock.c_do_cached_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _spicommon_dma_chan_in_use ## -- Begin function spicommon_dma_chan_in_use .p2align 4, 0x90 _spicommon_dma_chan_in_use: ## @spicommon_dma_chan_in_use .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx leal -1(%rbx), %eax xorl %edi, %edi cmpl $2, %eax setb %dil callq _assert movq _spi_dma_chan_enabled@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %ebx, %edi callq _DMA_CHANNEL_ENABLED andl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _spi_dma_chan_enabled,4,2 ## @spi_dma_chan_enabled .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _spicommon_dma_chan_in_use ; -- Begin function spicommon_dma_chan_in_use .p2align 2 _spicommon_dma_chan_in_use: ; @spicommon_dma_chan_in_use .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 sub w8, w0, #1 cmp w8, #2 cset w0, lo bl _assert Lloh0: adrp x8, _spi_dma_chan_enabled@GOTPAGE Lloh1: ldr x8, [x8, _spi_dma_chan_enabled@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x19 bl _DMA_CHANNEL_ENABLED and w0, w0, w20 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 _spi_dma_chan_enabled,4,2 ; @spi_dma_chan_enabled .subsections_via_symbols
AnghaBench/esp-idf/components/driver/extr_spi_common.c_spicommon_dma_chan_in_use.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rbt_memtype_lookup ## -- Begin function rbt_memtype_lookup .p2align 4, 0x90 _rbt_memtype_lookup: ## @rbt_memtype_lookup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi movq _PAGE_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rdx addq %rdi, %rdx movq _memtype_rbroot@GOTPCREL(%rip), %rdi popq %rbp jmp _memtype_rb_lowest_match ## TAILCALL .cfi_endproc ## -- End function .comm _memtype_rbroot,4,2 ## @memtype_rbroot .comm _PAGE_SIZE,8,3 ## @PAGE_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rbt_memtype_lookup ; -- Begin function rbt_memtype_lookup .p2align 2 _rbt_memtype_lookup: ; @rbt_memtype_lookup .cfi_startproc ; %bb.0: mov x1, x0 Lloh0: adrp x8, _PAGE_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x2, x8, x0 Lloh3: adrp x0, _memtype_rbroot@GOTPAGE Lloh4: ldr x0, [x0, _memtype_rbroot@GOTPAGEOFF] b _memtype_rb_lowest_match .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _memtype_rbroot,4,2 ; @memtype_rbroot .comm _PAGE_SIZE,8,3 ; @PAGE_SIZE .subsections_via_symbols
AnghaBench/linux/arch/x86/mm/extr_pat_rbtree.c_rbt_memtype_lookup.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 callq _puts leaq L_.str.1(%rip), %rbx movq %rbx, %rdi movl $3, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $6, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $9, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $12, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $15, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $18, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $21, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $24, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $27, %esi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rdi movl $135, %esi xorl %eax, %eax callq _printf callq _getchar xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz " %d\n" L_.str.2: ## @.str.2 .asciz "================================\n La Suma De Ellos Es: %d\n" L_str: ## @str .asciz "================================\n Multiplos Del 3 Menores A 30\n================================" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w8, #3 str x8, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _printf mov w8, #6 str x8, [sp] mov x0, x19 bl _printf mov w8, #9 str x8, [sp] mov x0, x19 bl _printf mov w8, #12 str x8, [sp] mov x0, x19 bl _printf mov w8, #15 str x8, [sp] mov x0, x19 bl _printf mov w8, #18 str x8, [sp] mov x0, x19 bl _printf mov w8, #21 str x8, [sp] mov x0, x19 bl _printf mov w8, #24 str x8, [sp] mov x0, x19 bl _printf mov w8, #27 str x8, [sp] mov x0, x19 bl _printf mov w8, #135 str x8, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf bl _getchar mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz " %d\n" l_.str.2: ; @.str.2 .asciz "================================\n La Suma De Ellos Es: %d\n" l_str: ; @str .asciz "================================\n Multiplos Del 3 Menores A 30\n================================" .subsections_via_symbols
the_stack_data/90764200.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str(%rip), %rdi callq _puts leaq L_str.6(%rip), %rdi callq _puts leaq L_str.7(%rip), %rdi callq _puts xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "Hello this is input1.c" L_str.6: ## @str.6 .asciz "foo" L_str.7: ## @str.7 .asciz "No" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_str.6@PAGE Lloh3: add x0, x0, l_str.6@PAGEOFF bl _puts Lloh4: adrp x0, l_str.7@PAGE Lloh5: add x0, x0, l_str.7@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .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 "Hello this is input1.c" l_str.6: ; @str.6 .asciz "foo" l_str.7: ; @str.7 .asciz "No" .subsections_via_symbols
the_stack_data/810860.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scope6_addr2default ## -- Begin function scope6_addr2default .p2align 4, 0x90 _scope6_addr2default: ## @scope6_addr2default .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _in6_addrscope movl %eax, %r14d movq %rbx, %rdi callq _IN6_IS_ADDR_LOOPBACK xorl %ebx, %ebx testq %rax, %rax jne LBB0_2 ## %bb.1: movq _scope6_lock@GOTPCREL(%rip), %r15 movq %r15, %rdi callq _lck_mtx_lock movq _sid_default@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %r14d, %rcx movl (%rax,%rcx,4), %ebx movq %r15, %rdi callq _lck_mtx_unlock LBB0_2: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _scope6_lock,4,2 ## @scope6_lock .comm _sid_default,8,3 ## @sid_default .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scope6_addr2default ; -- Begin function scope6_addr2default .p2align 2 _scope6_addr2default: ; @scope6_addr2default .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _in6_addrscope mov x19, x0 mov x0, x20 bl _IN6_IS_ADDR_LOOPBACK cbz x0, LBB0_2 ; %bb.1: mov w19, #0 b LBB0_3 LBB0_2: Lloh0: adrp x20, _scope6_lock@GOTPAGE Lloh1: ldr x20, [x20, _scope6_lock@GOTPAGEOFF] mov x0, x20 bl _lck_mtx_lock Lloh2: adrp x8, _sid_default@GOTPAGE Lloh3: ldr x8, [x8, _sid_default@GOTPAGEOFF] Lloh4: ldr x8, [x8] ldr w19, [x8, w19, sxtw #2] mov x0, x20 bl _lck_mtx_unlock LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _scope6_lock,4,2 ; @scope6_lock .comm _sid_default,8,3 ; @sid_default .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/netinet6/extr_scope6.c_scope6_addr2default.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ue_start_task _ue_start_task: ## @ue_start_task .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %rbx movq 16(%rbx), %r14 movq _MA_OWNED@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _UE_LOCK_ASSERT movq 8(%rbx), %rax movq %rbx, %rdi callq *8(%rax) movq _IFF_DRV_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r14) je LBB0_2 ## %bb.1: movq 8(%rbx), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.3: movq _hz@GOTPCREL(%rip), %rax movl (%rax), %esi movq _ue_watchdog@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movq %rbx, %rcx popq %rbx popq %r14 popq %rbp jmp _usb_callout_reset ## TAILCALL LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _MA_OWNED,4,2 ## @MA_OWNED .comm _IFF_DRV_RUNNING,4,2 ## @IFF_DRV_RUNNING .comm _hz,4,2 ## @hz .comm _ue_watchdog,4,2 ## @ue_watchdog .no_dead_strip _ue_start_task .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ue_start_task _ue_start_task: ; @ue_start_task .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x19, [x0] ldr x20, [x19, #16] Lloh0: adrp x8, _MA_OWNED@GOTPAGE Lloh1: ldr x8, [x8, _MA_OWNED@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 bl _UE_LOCK_ASSERT ldr x8, [x19, #8] ldr x8, [x8, #8] mov x0, x19 blr x8 ldr w8, [x20] Lloh3: adrp x9, _IFF_DRV_RUNNING@GOTPAGE Lloh4: ldr x9, [x9, _IFF_DRV_RUNNING@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.1: ldr x8, [x19, #8] ldr x8, [x8] cbz x8, LBB0_3 ; %bb.2: Lloh6: adrp x8, _hz@GOTPAGE Lloh7: ldr x8, [x8, _hz@GOTPAGEOFF] Lloh8: adrp x9, _ue_watchdog@GOTPAGE Lloh9: ldr x9, [x9, _ue_watchdog@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: ldr w2, [x9] mov x0, x19 mov x3, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _usb_callout_reset LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh10 .cfi_endproc ; -- End function .comm _MA_OWNED,4,2 ; @MA_OWNED .comm _IFF_DRV_RUNNING,4,2 ; @IFF_DRV_RUNNING .comm _hz,4,2 ; @hz .comm _ue_watchdog,4,2 ; @ue_watchdog .no_dead_strip _ue_start_task .subsections_via_symbols
AnghaBench/freebsd/sys/dev/usb/net/extr_usb_ethernet.c_ue_start_task.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function reader_parse_element _reader_parse_element: ## @reader_parse_element .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl (%rdi), %eax cmpl $128, %eax je LBB0_5 ## %bb.1: cmpl $129, %eax jne LBB0_11 ## %bb.2: movq _ltW@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _reader_cmp testl %eax, %eax je LBB0_4 ## %bb.3: movq _S_FALSE@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_11: movq _E_FAIL@GOTPCREL(%rip), %rax LBB0_12: movl (%rax), %r14d jmp LBB0_13 LBB0_4: movq %rbx, %rdi movl $1, %esi callq _reader_skipn movq %rbx, %rdi callq _reader_shrink movl $128, (%rbx) LBB0_5: leaq -20(%rbp), %rsi leaq -28(%rbp), %rdx leaq -24(%rbp), %rcx movq %rbx, %rdi callq _reader_parse_stag movl %eax, %r14d movl %eax, %edi callq _FAILED testl %eax, %eax jne LBB0_13 ## %bb.6: cmpl $0, 16(%rbx) je LBB0_9 ## %bb.7: leaq 12(%rbx), %rdi callq _list_empty testl %eax, %eax je LBB0_9 ## %bb.8: movq _XmlReadInState_MiscEnd@GOTPCREL(%rip), %rax jmp LBB0_10 LBB0_9: movq _XmlReadInState_Content@GOTPCREL(%rip), %rax LBB0_10: movl (%rax), %eax movl %eax, 8(%rbx) movq _XmlNodeType_Element@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movl $129, (%rbx) movq _StringValue_Prefix@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -20(%rbp), %rdx movq %rbx, %rdi callq _reader_set_strvalue movq _StringValue_QualifiedName@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rdx movq %rbx, %rdi callq _reader_set_strvalue movq _StringValue_Value@GOTPCREL(%rip), %rax movl (%rax), %esi movq _strval_empty@GOTPCREL(%rip), %rdx movq %rbx, %rdi callq _reader_set_strvalue LBB0_13: movl %r14d, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ltW,4,2 ## @ltW .comm _S_FALSE,4,2 ## @S_FALSE .comm _XmlReadInState_MiscEnd,4,2 ## @XmlReadInState_MiscEnd .comm _XmlReadInState_Content,4,2 ## @XmlReadInState_Content .comm _XmlNodeType_Element,4,2 ## @XmlNodeType_Element .comm _StringValue_Prefix,4,2 ## @StringValue_Prefix .comm _StringValue_QualifiedName,4,2 ## @StringValue_QualifiedName .comm _StringValue_Value,4,2 ## @StringValue_Value .comm _strval_empty,4,2 ## @strval_empty .comm _E_FAIL,4,2 ## @E_FAIL .no_dead_strip _reader_parse_element .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function reader_parse_element _reader_parse_element: ; @reader_parse_element .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 w8, [x0] cmp w8, #128 b.eq LBB0_7 ; %bb.1: cmp w8, #129 b.ne LBB0_4 ; %bb.2: Lloh0: adrp x8, _ltW@GOTPAGE Lloh1: ldr x8, [x8, _ltW@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 bl _reader_cmp cbz w0, LBB0_6 ; %bb.3: Lloh3: adrp x8, _S_FALSE@GOTPAGE Lloh4: ldr x8, [x8, _S_FALSE@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh5: adrp x8, _E_FAIL@GOTPAGE Lloh6: ldr x8, [x8, _E_FAIL@GOTPAGEOFF] LBB0_5: ldr w20, [x8] b LBB0_13 LBB0_6: mov x0, x19 mov w1, #1 bl _reader_skipn mov x0, x19 bl _reader_shrink mov w8, #128 str w8, [x19] LBB0_7: add x1, sp, #8 add x2, sp, #4 add x3, sp, #12 mov x0, x19 bl _reader_parse_stag mov x20, x0 bl _FAILED cbnz w0, LBB0_13 ; %bb.8: ldr w8, [x19, #16] cbz w8, LBB0_11 ; %bb.9: add x0, x19, #12 bl _list_empty cbz w0, LBB0_11 ; %bb.10: Lloh7: adrp x8, _XmlReadInState_MiscEnd@GOTPAGE Lloh8: ldr x8, [x8, _XmlReadInState_MiscEnd@GOTPAGEOFF] b LBB0_12 LBB0_11: Lloh9: adrp x8, _XmlReadInState_Content@GOTPAGE Lloh10: ldr x8, [x8, _XmlReadInState_Content@GOTPAGEOFF] LBB0_12: ldr w8, [x8] str w8, [x19, #8] Lloh11: adrp x8, _XmlNodeType_Element@GOTPAGE Lloh12: ldr x8, [x8, _XmlNodeType_Element@GOTPAGEOFF] Lloh13: ldr w8, [x8] mov w9, #129 stp w9, w8, [x19] Lloh14: adrp x8, _StringValue_Prefix@GOTPAGE Lloh15: ldr x8, [x8, _StringValue_Prefix@GOTPAGEOFF] Lloh16: ldr w1, [x8] add x2, sp, #8 mov x0, x19 bl _reader_set_strvalue Lloh17: adrp x8, _StringValue_QualifiedName@GOTPAGE Lloh18: ldr x8, [x8, _StringValue_QualifiedName@GOTPAGEOFF] Lloh19: ldr w1, [x8] add x2, sp, #12 mov x0, x19 bl _reader_set_strvalue Lloh20: adrp x8, _StringValue_Value@GOTPAGE Lloh21: ldr x8, [x8, _StringValue_Value@GOTPAGEOFF] Lloh22: ldr w1, [x8] Lloh23: adrp x2, _strval_empty@GOTPAGE Lloh24: ldr x2, [x2, _strval_empty@GOTPAGEOFF] mov x0, x19 bl _reader_set_strvalue LBB0_13: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _ltW,4,2 ; @ltW .comm _S_FALSE,4,2 ; @S_FALSE .comm _XmlReadInState_MiscEnd,4,2 ; @XmlReadInState_MiscEnd .comm _XmlReadInState_Content,4,2 ; @XmlReadInState_Content .comm _XmlNodeType_Element,4,2 ; @XmlNodeType_Element .comm _StringValue_Prefix,4,2 ; @StringValue_Prefix .comm _StringValue_QualifiedName,4,2 ; @StringValue_QualifiedName .comm _StringValue_Value,4,2 ; @StringValue_Value .comm _strval_empty,4,2 ; @strval_empty .comm _E_FAIL,4,2 ; @E_FAIL .no_dead_strip _reader_parse_element .subsections_via_symbols
AnghaBench/reactos/dll/win32/xmllite/extr_reader.c_reader_parse_element.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InitPostmasterChild ## -- Begin function InitPostmasterChild .p2align 4, 0x90 _InitPostmasterChild: ## @InitPostmasterChild .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _IsUnderPostmaster@GOTPCREL(%rip), %rax movl $1, (%rax) xorl %eax, %eax callq _InitProcessGlobals xorl %eax, %eax callq _on_exit_reset xorl %eax, %eax callq _InitializeLatchSupport movq _LocalLatchData@GOTPCREL(%rip), %rdi movq _MyLatch@GOTPCREL(%rip), %rax movq %rdi, (%rax) callq _InitLatch xorl %eax, %eax popq %rbp jmp _PostmasterDeathSignalInit ## TAILCALL .cfi_endproc ## -- End function .comm _IsUnderPostmaster,4,2 ## @IsUnderPostmaster .comm _LocalLatchData,4,2 ## @LocalLatchData .comm _MyLatch,8,3 ## @MyLatch .comm _FATAL,4,2 ## @FATAL .comm __O_BINARY,4,2 ## @_O_BINARY .comm _stderr,4,2 ## @stderr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InitPostmasterChild ; -- Begin function InitPostmasterChild .p2align 2 _InitPostmasterChild: ; @InitPostmasterChild .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _IsUnderPostmaster@GOTPAGE Lloh1: ldr x8, [x8, _IsUnderPostmaster@GOTPAGEOFF] mov w9, #1 Lloh2: str w9, [x8] bl _InitProcessGlobals bl _on_exit_reset bl _InitializeLatchSupport Lloh3: adrp x8, _MyLatch@GOTPAGE Lloh4: ldr x8, [x8, _MyLatch@GOTPAGEOFF] Lloh5: adrp x0, _LocalLatchData@GOTPAGE Lloh6: ldr x0, [x0, _LocalLatchData@GOTPAGEOFF] Lloh7: str x0, [x8] bl _InitLatch ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _PostmasterDeathSignalInit .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IsUnderPostmaster,4,2 ; @IsUnderPostmaster .comm _LocalLatchData,4,2 ; @LocalLatchData .comm _MyLatch,8,3 ; @MyLatch .comm _FATAL,4,2 ; @FATAL .comm __O_BINARY,4,2 ; @_O_BINARY .comm _stderr,4,2 ; @stderr .subsections_via_symbols
AnghaBench/postgres/src/backend/utils/init/extr_miscinit.c_InitPostmasterChild.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function config_map_indices_range_check _config_map_indices_range_check: ## @config_map_indices_range_check .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl (%rdi), %edx xorl %r15d, %r15d testl %edx, %edx je LBB0_7 ## %bb.1: movq %rdi, %rbx cmpq $0, 8(%rdi) je LBB0_4 ## %bb.2: movq %rsi, %rdi callq _bpf_map__def movq %rax, %r12 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_8 ## %bb.3: leaq L_.str.1(%rip), %rdi xorl %r15d, %r15d movq %r14, %rsi xorl %eax, %eax callq _pr_debug jmp LBB0_5 LBB0_4: leaq L_.str(%rip), %rdi xorl %r15d, %r15d movq %r14, %rsi xorl %eax, %eax callq _pr_debug LBB0_5: movq _BPF_LOADER_ERRNO__INTERNAL@GOTPCREL(%rip), %rax LBB0_6: subl (%rax), %r15d LBB0_7: movl %r15d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_8: movl (%rbx), %eax testq %rax, %rax je LBB0_7 ## %bb.9: movq 8(%rbx), %rcx movl (%r12), %edx shlq $4, %rax xorl %edi, %edi .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl (%rcx,%rdi), %esi movl 8(%rcx,%rdi), %ebx addl %ebx, %esi decl %esi cmpl %edx, %esi jae LBB0_13 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 addq $16, %rdi cmpq %rdi, %rax jne LBB0_10 ## %bb.12: xorl %r15d, %r15d jmp LBB0_7 LBB0_13: leaq L_.str.2(%rip), %rdi xorl %r15d, %r15d xorl %eax, %eax callq _pr_debug movq _BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG@GOTPCREL(%rip), %rax jmp LBB0_6 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ERROR: map %s: array->nr_ranges is %d but range array is NULL\n" .comm _BPF_LOADER_ERRNO__INTERNAL,4,2 ## @BPF_LOADER_ERRNO__INTERNAL L_.str.1: ## @.str.1 .asciz "ERROR: Unable to get map definition from '%s'\n" L_.str.2: ## @.str.2 .asciz "ERROR: index %d too large\n" .comm _BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG,4,2 ## @BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG .no_dead_strip _config_map_indices_range_check .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function config_map_indices_range_check _config_map_indices_range_check: ; @config_map_indices_range_check .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 ldr w8, [x0] cbz w8, LBB0_11 ; %bb.1: mov x19, x2 mov x20, x0 ldr x9, [x0, #8] cbz x9, LBB0_4 ; %bb.2: mov x0, x1 bl _bpf_map__def mov x21, x0 bl _IS_ERR cbz x0, LBB0_7 ; %bb.3: str x19, [sp] Lloh0: adrp x0, l_.str.1@PAGE Lloh1: add x0, x0, l_.str.1@PAGEOFF b LBB0_5 LBB0_4: stp x19, x8, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF LBB0_5: bl _pr_debug Lloh4: adrp x8, _BPF_LOADER_ERRNO__INTERNAL@GOTPAGE Lloh5: ldr x8, [x8, _BPF_LOADER_ERRNO__INTERNAL@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w0, w8 b LBB0_12 LBB0_7: ldr w8, [x20] cbz w8, LBB0_11 ; %bb.8: ldr x10, [x20, #8] ldr w9, [x21] add x10, x10, #8 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldur w11, [x10, #-8] ldr w12, [x10] add w11, w11, w12 sub w11, w11, #1 cmp w11, w9 b.hs LBB0_13 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 add x10, x10, #16 subs x8, x8, #1 b.ne LBB0_9 LBB0_11: mov w0, #0 LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_13: str x11, [sp] Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _pr_debug Lloh8: adrp x8, _BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG@GOTPAGE Lloh9: ldr x8, [x8, _BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG@GOTPAGEOFF] b LBB0_6 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ERROR: map %s: array->nr_ranges is %d but range array is NULL\n" .comm _BPF_LOADER_ERRNO__INTERNAL,4,2 ; @BPF_LOADER_ERRNO__INTERNAL l_.str.1: ; @.str.1 .asciz "ERROR: Unable to get map definition from '%s'\n" l_.str.2: ; @.str.2 .asciz "ERROR: index %d too large\n" .comm _BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG,4,2 ; @BPF_LOADER_ERRNO__OBJCONF_MAP_IDX2BIG .no_dead_strip _config_map_indices_range_check .subsections_via_symbols
AnghaBench/linux/tools/perf/util/extr_bpf-loader.c_config_map_indices_range_check.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpas_ubus_notify _wpas_ubus_notify: ## @wpas_ubus_notify .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _wpas_ubus_notify .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wpas_ubus_notify _wpas_ubus_notify: ; @wpas_ubus_notify .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _wpas_ubus_notify .subsections_via_symbols
AnghaBench/lede/package/network/services/hostapd/src/wpa_supplicant/extr_ubus.h_wpas_ubus_notify.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sd_setup_flush_cmnd _sd_setup_flush_cmnd: ## @sd_setup_flush_cmnd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 32(%rdi), %r14 addq $24, %rdi xorl %esi, %esi movl $4, %edx callq _memset movq _SYNCHRONIZE_CACHE@GOTPCREL(%rip), %rax movl (%rax), %eax movq 16(%rbx), %rcx movl %eax, (%rcx) movl $10, (%rbx) movq $0, 8(%rbx) movq _SD_MAX_RETRIES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movq 8(%r14), %rax movq _SD_FLUSH_TIMEOUT_MULTIPLIER@GOTPCREL(%rip), %rcx movl (%rcx), %ecx imull (%rax), %ecx movl %ecx, (%r14) movq _BLK_STS_OK@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _SYNCHRONIZE_CACHE,4,2 ## @SYNCHRONIZE_CACHE .comm _SD_MAX_RETRIES,4,2 ## @SD_MAX_RETRIES .comm _SD_FLUSH_TIMEOUT_MULTIPLIER,4,2 ## @SD_FLUSH_TIMEOUT_MULTIPLIER .comm _BLK_STS_OK,4,2 ## @BLK_STS_OK .no_dead_strip _sd_setup_flush_cmnd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sd_setup_flush_cmnd _sd_setup_flush_cmnd: ; @sd_setup_flush_cmnd .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, #32] add x0, x0, #24 mov w1, #0 mov w2, #4 bl _memset Lloh0: adrp x8, _SYNCHRONIZE_CACHE@GOTPAGE Lloh1: ldr x8, [x8, _SYNCHRONIZE_CACHE@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr x9, [x19, #16] str w8, [x9] mov w8, #10 str w8, [x19] str xzr, [x19, #8] Lloh3: adrp x8, _SD_MAX_RETRIES@GOTPAGE Lloh4: ldr x8, [x8, _SD_MAX_RETRIES@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x19, #4] ldr x8, [x20, #8] ldr w8, [x8] Lloh6: adrp x9, _SD_FLUSH_TIMEOUT_MULTIPLIER@GOTPAGE Lloh7: ldr x9, [x9, _SD_FLUSH_TIMEOUT_MULTIPLIER@GOTPAGEOFF] Lloh8: ldr w9, [x9] mul w8, w9, w8 str w8, [x20] Lloh9: adrp x8, _BLK_STS_OK@GOTPAGE Lloh10: ldr x8, [x8, _BLK_STS_OK@GOTPAGEOFF] Lloh11: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SYNCHRONIZE_CACHE,4,2 ; @SYNCHRONIZE_CACHE .comm _SD_MAX_RETRIES,4,2 ; @SD_MAX_RETRIES .comm _SD_FLUSH_TIMEOUT_MULTIPLIER,4,2 ; @SD_FLUSH_TIMEOUT_MULTIPLIER .comm _BLK_STS_OK,4,2 ; @BLK_STS_OK .no_dead_strip _sd_setup_flush_cmnd .subsections_via_symbols
AnghaBench/linux/drivers/scsi/extr_sd.c_sd_setup_flush_cmnd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _set_tablefunc_size_estimates ## -- Begin function set_tablefunc_size_estimates .p2align 4, 0x90 _set_tablefunc_size_estimates: ## @set_tablefunc_size_estimates .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 xorl %edi, %edi cmpq $0, (%rsi) setg %dil callq _Assert movq (%rbx), %rdi movq %r14, %rsi callq _planner_rt_fetch movq (%rax), %rax movq _RTE_TABLEFUNC@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil callq _Assert movl $100, 8(%rbx) movq %r14, %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _set_baserel_size_estimates ## TAILCALL .cfi_endproc ## -- End function .comm _RTE_TABLEFUNC,8,3 ## @RTE_TABLEFUNC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _set_tablefunc_size_estimates ; -- Begin function set_tablefunc_size_estimates .p2align 2 _set_tablefunc_size_estimates: ; @set_tablefunc_size_estimates .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 ldr x8, [x1] cmp x8, #0 cset w0, gt bl _Assert ldr x0, [x19] mov x1, x20 bl _planner_rt_fetch ldr x8, [x0] Lloh0: adrp x9, _RTE_TABLEFUNC@GOTPAGE Lloh1: ldr x9, [x9, _RTE_TABLEFUNC@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 cset w0, eq bl _Assert mov w8, #100 str w8, [x19, #8] mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _set_baserel_size_estimates .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RTE_TABLEFUNC,8,3 ; @RTE_TABLEFUNC .subsections_via_symbols
AnghaBench/postgres/src/backend/optimizer/path/extr_costsize.c_set_tablefunc_size_estimates.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _troca ## -- Begin function troca .p2align 4, 0x90 _troca: ## @troca .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %esi, %rax imulq $52, %rax, %rax movl (%rdi,%rax), %ecx movslq %edx, %rdx imulq $52, %rdx, %rdx movl (%rdi,%rdx), %esi movl %esi, (%rdi,%rax) movl %ecx, (%rdi,%rdx) popq %rbp retq .cfi_endproc ## -- End function .globl _ordenatab ## -- Begin function ordenatab .p2align 4, 0x90 _ordenatab: ## @ordenatab .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 ## kill: def $esi killed $esi def $rsi cmpl $2, %esi jl LBB1_9 ## %bb.1: leal -1(%rsi), %r9d movl $1, %r11d xorl %r10d, %r10d jmp LBB1_2 .p2align 4, 0x90 LBB1_8: ## in Loop: Header=BB1_2 Depth=1 incl %r11d incl %r10d decl %r9d cmpl %esi, %r11d je LBB1_9 LBB1_2: ## =>This Loop Header: Depth=1 ## Child Loop BB1_11 Depth 2 cmpl %esi, %r11d jge LBB1_8 ## %bb.3: ## in Loop: Header=BB1_2 Depth=1 movl %r10d, %r8d notl %r8d addl %esi, %r8d movl (%rdi), %eax cmpl $1, %r8d jne LBB1_10 ## %bb.4: ## in Loop: Header=BB1_2 Depth=1 xorl %edx, %edx LBB1_5: ## in Loop: Header=BB1_2 Depth=1 testb $1, %r8b je LBB1_8 ## %bb.6: ## in Loop: Header=BB1_2 Depth=1 imulq $52, %rdx, %rcx movl 52(%rcx,%rdi), %edx cmpl %edx, %eax jle LBB1_8 ## %bb.7: ## in Loop: Header=BB1_2 Depth=1 leaq (%rcx,%rdi), %rax addq $52, %rax movl (%rdi,%rcx), %ebx movl %edx, (%rdi,%rcx) movl %ebx, (%rax) jmp LBB1_8 .p2align 4, 0x90 LBB1_10: ## in Loop: Header=BB1_2 Depth=1 movl %r9d, %r14d andl $-2, %r14d movq %rdi, %rbx xorl %edx, %edx jmp LBB1_11 .p2align 4, 0x90 LBB1_15: ## in Loop: Header=BB1_11 Depth=2 addq $104, %rbx cmpq %rdx, %r14 je LBB1_5 LBB1_11: ## Parent Loop BB1_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl 52(%rbx), %ecx cmpl %ecx, %eax jle LBB1_13 ## %bb.12: ## in Loop: Header=BB1_11 Depth=2 movl (%rbx), %eax movl %ecx, (%rbx) movl %eax, 52(%rbx) movl %eax, %ecx LBB1_13: ## in Loop: Header=BB1_11 Depth=2 addq $2, %rdx movl 104(%rbx), %eax cmpl %eax, %ecx jle LBB1_15 ## %bb.14: ## in Loop: Header=BB1_11 Depth=2 movl 52(%rbx), %ecx movl %eax, 52(%rbx) movl %ecx, 104(%rbx) movl %ecx, %eax jmp LBB1_15 LBB1_9: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _exibetab ## -- Begin function exibetab .p2align 4, 0x90 _exibetab: ## @exibetab .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 testl %esi, %esi jle LBB2_3 ## %bb.1: movq %rdi, %r13 movl %esi, %eax leaq 4(%rdi), %r15 imulq $52, %rax, %r12 xorl %ebx, %ebx leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 movl (%r13,%rbx), %esi leaq (%r15,%rbx), %rdx movss 36(%r13,%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movl 40(%r13,%rbx), %ecx movl 44(%r13,%rbx), %r8d movl 48(%r13,%rbx), %r9d movq %r14, %rdi movb $1, %al callq _printf addq $52, %rbx cmpq %rbx, %r12 jne LBB2_2 LBB2_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI3_0: .quad 0x4024000000000000 ## double 10 .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 %rbx subq $328, %rsp ## imm = 0x148 .cfi_offset %rbx, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) leaq l___const.main.v(%rip), %rsi leaq -336(%rbp), %rdi movl $312, %edx ## imm = 0x138 callq _memcpy movl $41, -232(%rbp) movl $11, -336(%rbp) movl $14, -284(%rbp) leaq -332(%rbp), %rdx leaq L_.str(%rip), %rbx movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero movq %rbx, %rdi movl $11, %esi movl $14, %ecx movl $2, %r8d movl $2000, %r9d ## imm = 0x7D0 movb $1, %al callq _printf movl -284(%rbp), %esi leaq -280(%rbp), %rdx movss -248(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movl -244(%rbp), %ecx movl -240(%rbp), %r8d movl -236(%rbp), %r9d movq %rbx, %rdi movb $1, %al callq _printf movl -232(%rbp), %esi leaq -228(%rbp), %rdx movss -196(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movl -192(%rbp), %ecx movl -188(%rbp), %r8d movl -184(%rbp), %r9d movq %rbx, %rdi movb $1, %al callq _printf movl -180(%rbp), %esi leaq -176(%rbp), %rdx movss -144(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movl -140(%rbp), %ecx movl -136(%rbp), %r8d movl -132(%rbp), %r9d movq %rbx, %rdi movb $1, %al callq _printf movl -128(%rbp), %esi leaq -124(%rbp), %rdx movss -92(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movl -88(%rbp), %ecx movl -84(%rbp), %r8d movl -80(%rbp), %r9d movq %rbx, %rdi movb $1, %al callq _printf movl -76(%rbp), %esi leaq -72(%rbp), %rdx movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movl -36(%rbp), %ecx movl -32(%rbp), %r8d movl -28(%rbp), %r9d movq %rbx, %rdi movb $1, %al callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB3_2 ## %bb.1: xorl %eax, %eax addq $328, %rsp ## imm = 0x148 popq %rbx popq %rbp retq LBB3_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%.3d %s %.3f %d/%02d/%d\n" .section __TEXT,__const .p2align 4 ## @__const.main.v l___const.main.v: .long 41 ## 0x29 .asciz "Ana\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41200000 ## float 10 .long 14 ## 0xe .long 2 ## 0x2 .long 2000 ## 0x7d0 .long 14 ## 0xe .asciz "Pedro\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41200000 ## float 10 .long 14 ## 0xe .long 10 ## 0xa .long 2000 ## 0x7d0 .long 11 ## 0xb .asciz "John\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41900000 ## float 18 .long 6 ## 0x6 .long 2 ## 0x2 .long 2001 ## 0x7d1 .long 44 ## 0x2c .asciz "Kleber\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41100000 ## float 9 .long 14 ## 0xe .long 6 ## 0x6 .long 1998 ## 0x7ce .long 53 ## 0x35 .asciz "Bruno\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41000000 ## float 8 .long 3 ## 0x3 .long 12 ## 0xc .long 1999 ## 0x7cf .long 62 ## 0x3e .asciz "Emerson\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x42040000 ## float 33 .long 18 ## 0x12 .long 7 ## 0x7 .long 1999 ## 0x7cf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _troca ; -- Begin function troca .p2align 2 _troca: ; @troca .cfi_startproc ; %bb.0: mov w8, #52 smull x9, w1, w8 ldr w10, [x0, x9] smull x8, w2, w8 ldr w11, [x0, x8] str w11, [x0, x9] str w10, [x0, x8] ret .cfi_endproc ; -- End function .globl _ordenatab ; -- Begin function ordenatab .p2align 2 _ordenatab: ; @ordenatab .cfi_startproc ; %bb.0: cmp w1, #2 b.lt LBB1_8 ; %bb.1: sub w9, w1, #1 mov w8, #1 b LBB1_3 LBB1_2: ; in Loop: Header=BB1_3 Depth=1 add w8, w8, #1 sub w9, w9, #1 cmp w8, w1 b.eq LBB1_8 LBB1_3: ; =>This Loop Header: Depth=1 ; Child Loop BB1_6 Depth 2 mov w9, w9 cmp w8, w1 b.ge LBB1_2 ; %bb.4: ; in Loop: Header=BB1_3 Depth=1 ldr w13, [x0] mov x10, x9 mov x11, x0 b LBB1_6 LBB1_5: ; in Loop: Header=BB1_6 Depth=2 add x11, x11, #52 mov x13, x12 subs x10, x10, #1 b.eq LBB1_2 LBB1_6: ; Parent Loop BB1_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w12, [x11, #52] cmp w13, w12 b.le LBB1_5 ; %bb.7: ; in Loop: Header=BB1_6 Depth=2 ldr w13, [x11] str w12, [x11] str w13, [x11, #52] mov x12, x13 b LBB1_5 LBB1_8: ret .cfi_endproc ; -- End function .globl _exibetab ; -- Begin function exibetab .p2align 2 _exibetab: ; @exibetab .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w1, #1 b.lt LBB2_3 ; %bb.1: mov w20, w1 add x21, x0, #48 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF LBB2_2: ; =>This Inner Loop Header: Depth=1 sub x8, x21, #44 ldur s0, [x21, #-12] fcvt d0, s0 ldur w9, [x21, #-48] ldp w10, w11, [x21, #-8] ldr w12, [x21], #52 stp x11, x12, [sp, #32] str x10, [sp, #24] str d0, [sp, #16] stp x9, x8, [sp] mov x0, x19 bl _printf subs x20, x20, #1 b.ne LBB2_2 LBB2_3: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #416 .cfi_def_cfa_offset 416 stp x28, x27, [sp, #368] ; 16-byte Folded Spill stp x20, x19, [sp, #384] ; 16-byte Folded Spill stp x29, x30, [sp, #400] ; 16-byte Folded Spill add x29, sp, #400 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w27, -40 .cfi_offset w28, -48 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-40] Lloh5: adrp x1, l___const.main.v@PAGE Lloh6: add x1, x1, l___const.main.v@PAGEOFF add x20, sp, #48 add x0, sp, #48 mov w2, #312 bl _memcpy mov w8, #41 str w8, [sp, #152] mov w8, #11 mov w9, #14 str w8, [sp, #48] str w9, [sp, #100] orr x10, x20, #0x4 mov w11, #2000 mov w12, #2 stp x12, x11, [sp, #32] mov x11, #4621819117588971520 stp x11, x9, [sp, #16] stp x8, x10, [sp] Lloh7: adrp x19, l_.str@PAGE Lloh8: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf add x8, x20, #56 ldr s0, [sp, #136] fcvt d0, s0 ldr w9, [sp, #100] ldp w10, w11, [sp, #140] ldr w12, [sp, #148] stp x11, x12, [sp, #32] str x10, [sp, #24] str d0, [sp, #16] stp x9, x8, [sp] mov x0, x19 bl _printf add x8, x20, #108 ldr s0, [sp, #188] fcvt d0, s0 ldr w9, [sp, #152] ldp w10, w11, [sp, #192] ldr w12, [sp, #200] stp x11, x12, [sp, #32] str x10, [sp, #24] str d0, [sp, #16] stp x9, x8, [sp] mov x0, x19 bl _printf add x8, x20, #160 ldr s0, [sp, #240] fcvt d0, s0 ldr w9, [sp, #204] ldp w10, w11, [sp, #244] ldr w12, [sp, #252] stp x11, x12, [sp, #32] str x10, [sp, #24] str d0, [sp, #16] stp x9, x8, [sp] mov x0, x19 bl _printf add x8, x20, #212 ldr s0, [sp, #292] fcvt d0, s0 ldr w9, [sp, #256] ldr w10, [sp, #296] ldr w11, [sp, #300] ldr w12, [sp, #304] stp x11, x12, [sp, #32] str x10, [sp, #24] str d0, [sp, #16] stp x9, x8, [sp] mov x0, x19 bl _printf add x8, x20, #264 ldr s0, [sp, #344] fcvt d0, s0 ldr w9, [sp, #308] ldr w10, [sp, #348] ldr w11, [sp, #352] ldr w12, [sp, #356] stp x11, x12, [sp, #32] str x10, [sp, #24] str d0, [sp, #16] stp x9, x8, [sp] mov x0, x19 bl _printf ldur x8, [x29, #-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 LBB3_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #400] ; 16-byte Folded Reload ldp x20, x19, [sp, #384] ; 16-byte Folded Reload ldp x28, x27, [sp, #368] ; 16-byte Folded Reload add sp, sp, #416 ret LBB3_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%.3d %s %.3f %d/%02d/%d\n" .section __TEXT,__const .p2align 2 ; @__const.main.v l___const.main.v: .long 41 ; 0x29 .asciz "Ana\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41200000 ; float 10 .long 14 ; 0xe .long 2 ; 0x2 .long 2000 ; 0x7d0 .long 14 ; 0xe .asciz "Pedro\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41200000 ; float 10 .long 14 ; 0xe .long 10 ; 0xa .long 2000 ; 0x7d0 .long 11 ; 0xb .asciz "John\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41900000 ; float 18 .long 6 ; 0x6 .long 2 ; 0x2 .long 2001 ; 0x7d1 .long 44 ; 0x2c .asciz "Kleber\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41100000 ; float 9 .long 14 ; 0xe .long 6 ; 0x6 .long 1998 ; 0x7ce .long 53 ; 0x35 .asciz "Bruno\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x41000000 ; float 8 .long 3 ; 0x3 .long 12 ; 0xc .long 1999 ; 0x7cf .long 62 ; 0x3e .asciz "Emerson\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .space 1 .long 0x42040000 ; float 33 .long 18 ; 0x12 .long 7 ; 0x7 .long 1999 ; 0x7cf .subsections_via_symbols
the_stack_data/98575578.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _db_commit ## -- Begin function db_commit .p2align 4, 0x90 _db_commit: ## @db_commit .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 _db_enabled@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_1 ## %bb.2: movq _mtx@GOTPCREL(%rip), %rbx movq %rbx, %rdi callq _mtx_lock movq _ring@GOTPCREL(%rip), %rdi callq _ring_put_commit movq _cnd@GOTPCREL(%rip), %rdi callq _cnd_signal movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _mtx_unlock ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _db_enabled,4,2 ## @db_enabled .comm _mtx,4,2 ## @mtx .comm _ring,4,2 ## @ring .comm _cnd,4,2 ## @cnd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _db_commit ; -- Begin function db_commit .p2align 2 _db_commit: ; @db_commit .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, _db_enabled@GOTPAGE Lloh1: ldr x8, [x8, _db_enabled@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: Lloh3: adrp x19, _mtx@GOTPAGE Lloh4: ldr x19, [x19, _mtx@GOTPAGEOFF] mov x0, x19 bl _mtx_lock Lloh5: adrp x0, _ring@GOTPAGE Lloh6: ldr x0, [x0, _ring@GOTPAGEOFF] bl _ring_put_commit Lloh7: adrp x0, _cnd@GOTPAGE Lloh8: ldr x0, [x0, _cnd@GOTPAGEOFF] bl _cnd_signal mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mtx_unlock LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _db_enabled,4,2 ; @db_enabled .comm _mtx,4,2 ; @mtx .comm _ring,4,2 ; @ring .comm _cnd,4,2 ; @cnd .subsections_via_symbols
AnghaBench/Craft/src/extr_db.c_db_commit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_sbits_long _get_sbits_long: ## @get_sbits_long .cfi_startproc ## %bb.0: testl %esi, %esi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx callq _get_bits_long movl %eax, %edi movl %ebx, %esi addq $8, %rsp popq %rbx popq %rbp jmp _sign_extend ## TAILCALL LBB0_1: xorl %eax, %eax retq .cfi_endproc ## -- End function .no_dead_strip _get_sbits_long .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_sbits_long _get_sbits_long: ; @get_sbits_long .cfi_startproc ; %bb.0: cbz w1, LBB0_2 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _get_bits_long mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sign_extend LBB0_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _get_sbits_long .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/mips/extr_..get_bits.h_get_sbits_long.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rpmhpd_power_off _rpmhpd_power_off: ## @rpmhpd_power_off .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 callq _domain_to_rpmhpd movq %rax, %r14 movq _rpmhpd_lock@GOTPCREL(%rip), %rdi callq _mutex_lock movq 8(%r14), %rax movl (%rax), %esi movq %r14, %rdi callq _rpmhpd_aggregate_corner movl %eax, %ebx testl %eax, %eax jne LBB0_2 ## %bb.1: movl $0, (%r14) LBB0_2: movq _rpmhpd_lock@GOTPCREL(%rip), %rdi callq _mutex_unlock movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _rpmhpd_lock,4,2 ## @rpmhpd_lock .no_dead_strip _rpmhpd_power_off .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rpmhpd_power_off _rpmhpd_power_off: ; @rpmhpd_power_off .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _domain_to_rpmhpd mov x19, x0 Lloh0: adrp x0, _rpmhpd_lock@GOTPAGE Lloh1: ldr x0, [x0, _rpmhpd_lock@GOTPAGEOFF] bl _mutex_lock ldr x8, [x19, #8] ldr w1, [x8] mov x0, x19 bl _rpmhpd_aggregate_corner mov x20, x0 cbnz w0, LBB0_2 ; %bb.1: str wzr, [x19] LBB0_2: Lloh2: adrp x0, _rpmhpd_lock@GOTPAGE Lloh3: ldr x0, [x0, _rpmhpd_lock@GOTPAGEOFF] bl _mutex_unlock mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _rpmhpd_lock,4,2 ; @rpmhpd_lock .no_dead_strip _rpmhpd_power_off .subsections_via_symbols
AnghaBench/linux/drivers/soc/qcom/extr_rpmhpd.c_rpmhpd_power_off.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function A2XX_PA_SC_SCREEN_SCISSOR_BR_X _A2XX_PA_SC_SCREEN_SCISSOR_BR_X: ## @A2XX_PA_SC_SCREEN_SCISSOR_BR_X .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 _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %eax movq _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT,4,2 ## @A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT .comm _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK,4,2 ## @A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK .no_dead_strip _A2XX_PA_SC_SCREEN_SCISSOR_BR_X .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function A2XX_PA_SC_SCREEN_SCISSOR_BR_X _A2XX_PA_SC_SCREEN_SCISSOR_BR_X: ; @A2XX_PA_SC_SCREEN_SCISSOR_BR_X .cfi_startproc ; %bb.0: Lloh0: adrp x8, _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT@GOTPAGE Lloh1: ldr x8, [x8, _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w8, w0, w8 Lloh3: adrp x9, _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK@GOTPAGE Lloh4: ldr x9, [x9, _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK@GOTPAGEOFF] Lloh5: ldr w9, [x9] and w0, w8, w9 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT,4,2 ; @A2XX_PA_SC_SCREEN_SCISSOR_BR_X__SHIFT .comm _A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK,4,2 ; @A2XX_PA_SC_SCREEN_SCISSOR_BR_X__MASK .no_dead_strip _A2XX_PA_SC_SCREEN_SCISSOR_BR_X .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/extr_adrenoa2xx.xml.h_A2XX_PA_SC_SCREEN_SCISSOR_BR_X.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __wusbhc_keep_alive ___wusbhc_keep_alive: ## @__wusbhc_keep_alive .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 %rdi, %r15 leaq 16(%rdi), %rcx movl 16(%rdi), %edx movq _WUIE_ELT_MAX@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_1 ## %bb.2: movl %edx, -60(%rbp) ## 4-byte Spill movq %rcx, -72(%rbp) ## 8-byte Spill movq 24(%r15), %rax movq %rax, -80(%rbp) ## 8-byte Spill xorl %ebx, %ebx movq _jiffies@GOTPCREL(%rip), %r12 xorl %esi, %esi movq %r15, -48(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rsi ## 8-byte Reload movq -48(%rbp), %r15 ## 8-byte Reload LBB0_11: ## in Loop: Header=BB0_3 Depth=1 incl %ebx movq _WUIE_ELT_MAX@GOTPCREL(%rip), %rax cmpl (%rax), %esi jae LBB0_12 LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpl (%r15), %ebx jae LBB0_12 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %rsi, -56(%rbp) ## 8-byte Spill movl 4(%r15), %edi callq _msecs_to_jiffies movl %eax, %r14d movq %r15, %rdi movl %ebx, %esi callq _wusb_port_by_idx movq (%rax), %r15 testq %r15, %r15 je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 16(%r15) je LBB0_5 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %r13 movl (%r12), %edi movl %r14d, %r14d movq 8(%r15), %rsi addq %r14, %rsi callq _time_after testq %rax, %rax je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movl (%r15), %edx movq -80(%rbp), %rdi ## 8-byte Reload leaq L_.str(%rip), %rsi callq _dev_err movq -48(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movq %r13, %rsi callq ___wusbhc_dev_disconnect movq -56(%rbp), %rsi ## 8-byte Reload jmp LBB0_11 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movl (%r12), %edi movl $2863311531, %eax ## imm = 0xAAAAAAAB imulq %rax, %r14 shrq $33, %r14 addq 8(%r15), %r14 movq %r14, %rsi callq _time_after testq %rax, %rax je LBB0_5 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movl (%r15), %eax movq -48(%rbp), %r15 ## 8-byte Reload movq 8(%r15), %rcx movq -56(%rbp), %rsi ## 8-byte Reload movl %esi, %edx incl %esi movl %eax, (%rcx,%rdx,4) jmp LBB0_11 LBB0_12: testb $1, %sil je LBB0_14 ## %bb.13: movq 8(%r15), %rax movl %esi, %ecx incl %esi movl $127, (%rax,%rcx,4) LBB0_14: movq -72(%rbp), %rcx ## 8-byte Reload movl -60(%rbp), %edx ## 4-byte Reload leal 4(,%rsi,4), %eax movl %eax, (%rcx) testl %esi, %esi je LBB0_15 ## %bb.17: movq %r15, %rdi movl $10, %esi movl $5, %edx addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _wusbhc_mmcie_set ## TAILCALL LBB0_1: movl $4, (%rcx) LBB0_15: cmpl $4, %edx jne LBB0_18 ## %bb.16: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_18: movq %r15, %rdi movq %rcx, %rsi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _wusbhc_mmcie_rm ## TAILCALL .cfi_endproc ## -- End function .comm _WUIE_ELT_MAX,4,2 ## @WUIE_ELT_MAX .comm _jiffies,4,2 ## @jiffies .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "KEEPALIVE: device %u timed out\n" .no_dead_strip ___wusbhc_keep_alive .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __wusbhc_keep_alive ___wusbhc_keep_alive: ; @__wusbhc_keep_alive .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 x20, x0 mov x19, x0 ldr w9, [x19, #16]! Lloh0: adrp x28, _WUIE_ELT_MAX@GOTPAGE Lloh1: ldr x28, [x28, _WUIE_ELT_MAX@GOTPAGEOFF] ldr w8, [x28] cbz w8, LBB0_14 ; %bb.1: str w9, [sp, #12] ; 4-byte Folded Spill mov w21, #0 mov w27, #0 ldr x22, [x19, #8] Lloh2: adrp x26, _jiffies@GOTPAGE Lloh3: ldr x26, [x26, _jiffies@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w2, [x23] mov x0, x22 Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF bl _dev_err mov x0, x20 mov x1, x24 bl ___wusbhc_dev_disconnect LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w21, w21, #1 ldr w8, [x28] cmp w27, w8 b.hs LBB0_10 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] cmp w21, w8 b.hs LBB0_10 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x20, #4] bl _msecs_to_jiffies mov x25, x0 mov x0, x20 mov x1, x21 bl _wusb_port_by_idx ldr x23, [x0] cbz x23, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x23, #16] cbz x8, LBB0_3 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 mov x24, x0 ldr w0, [x26] ldr x8, [x23, #8] add x1, x8, w25, uxtw bl _time_after cbnz x0, LBB0_2 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x26] ldr x8, [x23, #8] mov w9, #43691 movk w9, #43690, lsl #16 umull x9, w25, w9 add x1, x8, x9, lsr #33 bl _time_after cbz x0, LBB0_3 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x23] ldr x9, [x20, #8] str w8, [x9, w27, uxtw #2] add w27, w27, #1 b LBB0_3 LBB0_10: tbz w27, #0, LBB0_12 ; %bb.11: ldr x8, [x20, #8] mov w9, #127 str w9, [x8, w27, uxtw #2] add w27, w27, #1 LBB0_12: ldr w9, [sp, #12] ; 4-byte Folded Reload lsl w8, w27, #2 add w8, w8, #4 str w8, [x19] cbz w27, LBB0_15 ; %bb.13: mov x0, x20 mov w1, #10 mov w2, #5 mov x3, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _wusbhc_mmcie_set LBB0_14: mov w8, #4 str w8, [x19] LBB0_15: cmp w9, #4 b.ne LBB0_17 ; %bb.16: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_17: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _wusbhc_mmcie_rm .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _WUIE_ELT_MAX,4,2 ; @WUIE_ELT_MAX .comm _jiffies,4,2 ; @jiffies .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "KEEPALIVE: device %u timed out\n" .no_dead_strip ___wusbhc_keep_alive .subsections_via_symbols
AnghaBench/linux/drivers/staging/wusbcore/extr_devconnect.c___wusbhc_keep_alive.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipw_reset _ipw_reset: ## @ipw_reset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx 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 _ipw_stop_master movq _IPW_CSR_CTL@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %r12, %rdi callq _CSR_READ_4 movl (%r14), %esi movq _IPW_CTL_INIT@GOTPCREL(%rip), %r15 orl (%r15), %eax movq %r12, %rdi movl %eax, %edx callq _CSR_WRITE_4 movl $1000, %ebx ## imm = 0x3E8 movq _IPW_CTL_CLOCK_READY@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl (%r14), %esi movq %r12, %rdi callq _CSR_READ_4 testl %eax, (%r13) jne LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl $200, %edi callq _DELAY decl %ebx jne LBB0_1 ## %bb.3: movq _EIO@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_5 LBB0_4: movq _IPW_CSR_RST@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq %r12, %rdi callq _CSR_READ_4 movl (%rbx), %esi movq _IPW_RST_SW_RESET@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq %r12, %rdi movl %eax, %edx callq _CSR_WRITE_4 movl $10, %edi callq _DELAY movl (%r14), %esi movq %r12, %rdi callq _CSR_READ_4 movl (%r14), %esi orl (%r15), %eax movq %r12, %rdi movl %eax, %edx callq _CSR_WRITE_4 xorl %eax, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IPW_CSR_CTL,4,2 ## @IPW_CSR_CTL .comm _IPW_CTL_INIT,4,2 ## @IPW_CTL_INIT .comm _IPW_CTL_CLOCK_READY,4,2 ## @IPW_CTL_CLOCK_READY .comm _EIO,4,2 ## @EIO .comm _IPW_CSR_RST,4,2 ## @IPW_CSR_RST .comm _IPW_RST_SW_RESET,4,2 ## @IPW_RST_SW_RESET .no_dead_strip _ipw_reset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipw_reset _ipw_reset: ; @ipw_reset .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 _ipw_stop_master Lloh0: adrp x20, _IPW_CSR_CTL@GOTPAGE Lloh1: ldr x20, [x20, _IPW_CSR_CTL@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _CSR_READ_4 ldr w1, [x20] Lloh2: adrp x21, _IPW_CTL_INIT@GOTPAGE Lloh3: ldr x21, [x21, _IPW_CTL_INIT@GOTPAGEOFF] ldr w8, [x21] orr w2, w8, w0 mov x0, x19 bl _CSR_WRITE_4 mov w22, #1000 Lloh4: adrp x23, _IPW_CTL_CLOCK_READY@GOTPAGE Lloh5: ldr x23, [x23, _IPW_CTL_CLOCK_READY@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w1, [x20] mov x0, x19 bl _CSR_READ_4 ldr w8, [x23] tst w8, w0 b.ne LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov w0, #200 bl _DELAY subs w22, w22, #1 b.ne LBB0_1 ; %bb.3: Lloh6: adrp x8, _EIO@GOTPAGE Lloh7: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh8: ldr w0, [x8] b LBB0_5 LBB0_4: Lloh9: adrp x22, _IPW_CSR_RST@GOTPAGE Lloh10: ldr x22, [x22, _IPW_CSR_RST@GOTPAGEOFF] ldr w1, [x22] mov x0, x19 bl _CSR_READ_4 ldr w1, [x22] Lloh11: adrp x8, _IPW_RST_SW_RESET@GOTPAGE Lloh12: ldr x8, [x8, _IPW_RST_SW_RESET@GOTPAGEOFF] Lloh13: ldr w8, [x8] orr w2, w8, w0 mov x0, x19 bl _CSR_WRITE_4 mov w0, #10 bl _DELAY ldr w1, [x20] mov x0, x19 bl _CSR_READ_4 ldr w1, [x20] ldr w8, [x21] orr w2, w8, w0 mov x0, x19 bl _CSR_WRITE_4 mov w0, #0 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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _IPW_CSR_CTL,4,2 ; @IPW_CSR_CTL .comm _IPW_CTL_INIT,4,2 ; @IPW_CTL_INIT .comm _IPW_CTL_CLOCK_READY,4,2 ; @IPW_CTL_CLOCK_READY .comm _EIO,4,2 ; @EIO .comm _IPW_CSR_RST,4,2 ; @IPW_CSR_RST .comm _IPW_RST_SW_RESET,4,2 ; @IPW_RST_SW_RESET .no_dead_strip _ipw_reset .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ipw/extr_if_ipw.c_ipw_reset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function check_phy_register _check_phy_register: ## @check_phy_register .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, %r14 movl %edx, %r15d movl %esi, %ebx callq _read_phy_reg cmpq %r14, %rax leaq L_.str.1(%rip), %rcx leaq L_.str.2(%rip), %r8 cmoveq %rcx, %r8 leaq L_.str(%rip), %rdi movl %ebx, %esi movl %r15d, %edx movq %rax, %rcx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _pr_info ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "PHY read addr = 0x%x physel = %d data = 0x%x %s\n" L_.str.1: ## @.str.1 .asciz "TRUE" L_.str.2: ## @.str.2 .asciz "FALSE" .no_dead_strip _check_phy_register .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function check_phy_register _check_phy_register: ; @check_phy_register .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 bl _read_phy_reg mov x3, x0 Lloh0: adrp x8, l_.str.2@PAGE Lloh1: add x8, x8, l_.str.2@PAGEOFF Lloh2: adrp x9, l_.str.1@PAGE Lloh3: add x9, x9, l_.str.1@PAGEOFF Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF cmp x3, x19 csel x4, x9, x8, eq mov x1, x21 mov x2, 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 b _pr_info .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 "PHY read addr = 0x%x physel = %d data = 0x%x %s\n" l_.str.1: ; @.str.1 .asciz "TRUE" l_.str.2: ; @.str.2 .asciz "FALSE" .no_dead_strip _check_phy_register .subsections_via_symbols
AnghaBench/linux/arch/mips/netlogic/xlp/extr_ahci-init-xlp2.c_check_phy_register.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 subq $232, %rsp .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) xorl %ebx, %ebx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $-1, %eax je LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl $10, %eax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movb %al, -144(%rbp,%rbx) incq %rbx cmpq $99, %rbx jne LBB0_1 ## %bb.4: movl $99, %ebx LBB0_5: cmpl $10, %eax jne LBB0_7 ## %bb.6: movl %ebx, %eax incl %ebx movb $10, -144(%rbp,%rax) LBB0_7: movslq %ebx, %rax movb $0, -144(%rbp,%rax) xorl %ebx, %ebx .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $-1, %eax je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 cmpl $10, %eax je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movb %al, -256(%rbp,%rbx) incq %rbx cmpq $99, %rbx jne LBB0_8 ## %bb.11: movl $99, %ebx LBB0_12: cmpl $10, %eax jne LBB0_14 ## %bb.13: movl %ebx, %eax incl %ebx movb $10, -256(%rbp,%rax) LBB0_14: movslq %ebx, %rax movb $0, -256(%rbp,%rax) leaq -256(%rbp), %rdi callq _strlen movq %rax, %r15 movq _next@GOTPCREL(%rip), %r14 movl $-1, (%r14) testl %r15d, %r15d jle LBB0_23 ## %bb.15: movl $-1, %ecx xorl %eax, %eax jmp LBB0_16 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_16 Depth=1 movl %ecx, 4(%r14,%rdx,4) LBB0_22: ## in Loop: Header=BB0_16 Depth=1 cmpl %r15d, %eax jge LBB0_23 LBB0_16: ## =>This Inner Loop Header: Depth=1 movslq %eax, %rdx movslq %ecx, %rsi cmpl $-1, %ecx je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movzbl -256(%rbp,%rdx), %ecx cmpb -256(%rbp,%rsi), %cl jne LBB0_21 LBB0_18: ## in Loop: Header=BB0_16 Depth=1 leaq 1(%rdx), %rax leaq 1(%rsi), %rcx movzbl -255(%rbp,%rdx), %ebx cmpb -255(%rbp,%rsi), %bl jne LBB0_19 ## %bb.20: ## in Loop: Header=BB0_16 Depth=1 movl 4(%r14,%rsi,4), %esi movl %esi, 4(%r14,%rdx,4) jmp LBB0_22 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_16 Depth=1 movl (%r14,%rsi,4), %ecx jmp LBB0_22 LBB0_23: leaq -144(%rbp), %rdi callq _strlen decl %eax decl %r15d xorl %ecx, %ecx testl %eax, %eax jle LBB0_24 ## %bb.25: movl $0, %edx testl %r15d, %r15d jle LBB0_33 ## %bb.26: xorl %edx, %edx xorl %ecx, %ecx .p2align 4, 0x90 LBB0_27: ## =>This Inner Loop Header: Depth=1 cmpl $-1, %ecx je LBB0_29 ## %bb.28: ## in Loop: Header=BB0_27 Depth=1 movslq %edx, %rsi movzbl -144(%rbp,%rsi), %ebx movslq %ecx, %rsi cmpb -256(%rbp,%rsi), %bl jne LBB0_30 LBB0_29: ## in Loop: Header=BB0_27 Depth=1 incl %edx incl %ecx cmpl %eax, %edx jl LBB0_32 jmp LBB0_33 .p2align 4, 0x90 LBB0_30: ## in Loop: Header=BB0_27 Depth=1 movl (%r14,%rsi,4), %ecx cmpl %eax, %edx jge LBB0_33 LBB0_32: ## in Loop: Header=BB0_27 Depth=1 cmpl %r15d, %ecx jl LBB0_27 jmp LBB0_33 LBB0_24: xorl %edx, %edx LBB0_33: subl %ecx, %edx cmpl %r15d, %ecx movl $-1, %esi cmovel %edx, %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_35 ## %bb.34: xorl %eax, %eax addq $232, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_35: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _mygetline ## -- Begin function mygetline .p2align 4, 0x90 _mygetline: ## @mygetline .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 xorl %ecx, %ecx cmpl $2, %esi jl LBB1_7 ## %bb.1: movl %esi, %r15d decl %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $-1, %eax je LBB1_5 ## %bb.3: ## in Loop: Header=BB1_2 Depth=1 cmpl $10, %eax je LBB1_5 ## %bb.4: ## in Loop: Header=BB1_2 Depth=1 movb %al, (%r14,%rbx) incq %rbx cmpq %rbx, %r15 jne LBB1_2 jmp LBB1_6 LBB1_5: movl %ebx, %r15d LBB1_6: movl %r15d, %ecx cmpl $10, %eax jne LBB1_8 LBB1_7: movl %ecx, %eax incl %ecx movb $10, (%r14,%rax) movl %ecx, %r15d LBB1_8: movslq %r15d, %rax movb $0, (%r14,%rax) decl %eax ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _getnext ## -- Begin function getnext .p2align 4, 0x90 _getnext: ## @getnext .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 callq _strlen movl $-1, (%r14) testl %eax, %eax jle LBB2_9 ## %bb.1: movl $-1, %edx xorl %ecx, %ecx jmp LBB2_2 .p2align 4, 0x90 LBB2_5: ## in Loop: Header=BB2_2 Depth=1 movl %edx, 4(%r14,%rsi,4) LBB2_8: ## in Loop: Header=BB2_2 Depth=1 cmpl %eax, %ecx jge LBB2_9 LBB2_2: ## =>This Inner Loop Header: Depth=1 movslq %ecx, %rsi movslq %edx, %rdi cmpl $-1, %edx je LBB2_4 ## %bb.3: ## in Loop: Header=BB2_2 Depth=1 movzbl (%r15,%rsi), %edx cmpb (%r15,%rdi), %dl jne LBB2_7 LBB2_4: ## in Loop: Header=BB2_2 Depth=1 leaq 1(%rsi), %rcx leaq 1(%rdi), %rdx movzbl 1(%r15,%rsi), %ebx cmpb 1(%r15,%rdi), %bl jne LBB2_5 ## %bb.6: ## in Loop: Header=BB2_2 Depth=1 movl 4(%r14,%rdi,4), %edi movl %edi, 4(%r14,%rsi,4) jmp LBB2_8 .p2align 4, 0x90 LBB2_7: ## in Loop: Header=BB2_2 Depth=1 movl (%r14,%rdi,4), %edx jmp LBB2_8 LBB2_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _kmp ## -- Begin function kmp .p2align 4, 0x90 _kmp: ## @kmp .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, %r12 decl %r12d movq %r14, %rdi callq _strlen decl %eax xorl %ecx, %ecx testl %r12d, %r12d jle LBB3_1 ## %bb.2: movl $0, %edx testl %eax, %eax jle LBB3_10 ## %bb.3: xorl %edx, %edx movq _next@GOTPCREL(%rip), %rsi xorl %ecx, %ecx .p2align 4, 0x90 LBB3_4: ## =>This Inner Loop Header: Depth=1 cmpl $-1, %ecx je LBB3_6 ## %bb.5: ## in Loop: Header=BB3_4 Depth=1 movslq %edx, %rdi movzbl (%r15,%rdi), %ebx movslq %ecx, %rdi cmpb (%r14,%rdi), %bl jne LBB3_7 LBB3_6: ## in Loop: Header=BB3_4 Depth=1 incl %edx incl %ecx cmpl %r12d, %edx jl LBB3_9 jmp LBB3_10 .p2align 4, 0x90 LBB3_7: ## in Loop: Header=BB3_4 Depth=1 movl (%rsi,%rdi,4), %ecx cmpl %r12d, %edx jge LBB3_10 LBB3_9: ## in Loop: Header=BB3_4 Depth=1 cmpl %eax, %ecx jl LBB3_4 jmp LBB3_10 LBB3_1: xorl %edx, %edx LBB3_10: subl %ecx, %edx cmpl %eax, %ecx movl $-1, %eax cmovel %edx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _next,400,4 ## @next .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, #272 .cfi_def_cfa_offset 272 stp x22, x21, [sp, #224] ; 16-byte Folded Spill stp x20, x19, [sp, #240] ; 16-byte Folded Spill stp x29, x30, [sp, #256] ; 16-byte Folded Spill add x29, sp, #256 .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, #0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x19, sp, #116 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _getchar cmn w0, #1 b.eq LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 cmp w0, #10 b.eq LBB0_4 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 strb w0, [x19, x20] add x8, x20, #1 mov x20, x8 cmp x8, #99 b.ne LBB0_1 LBB0_4: cmp w0, #10 b.ne LBB0_6 ; %bb.5: add x8, sp, #116 mov w9, #10 strb w9, [x8, w20, uxtw] add w8, w20, #1 mov x20, x8 LBB0_6: mov x19, #0 add x8, sp, #116 strb wzr, [x8, w20, sxtw] add x20, sp, #16 LBB0_7: ; =>This Inner Loop Header: Depth=1 bl _getchar cmn w0, #1 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 cmp w0, #10 b.eq LBB0_10 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 strb w0, [x20, x19] add x8, x19, #1 mov x19, x8 cmp x8, #99 b.ne LBB0_7 LBB0_10: cmp w0, #10 b.ne LBB0_12 ; %bb.11: add x8, sp, #16 mov w9, #10 strb w9, [x8, w19, uxtw] add w8, w19, #1 mov x19, x8 LBB0_12: add x21, sp, #16 strb wzr, [x21, w19, sxtw] add x0, sp, #16 bl _strlen Lloh3: adrp x20, _next@GOTPAGE Lloh4: ldr x20, [x20, _next@GOTPAGEOFF] mov w8, #-1 str w8, [x20] subs w19, w0, #1 b.lt LBB0_21 ; %bb.13: mov w8, #0 mov w9, #-1 b LBB0_16 LBB0_14: ; in Loop: Header=BB0_16 Depth=1 str w9, [x20, x10, lsl #2] LBB0_15: ; in Loop: Header=BB0_16 Depth=1 cmp w8, w0 b.ge LBB0_21 LBB0_16: ; =>This Inner Loop Header: Depth=1 cmn w9, #1 b.eq LBB0_18 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 ldrb w11, [x21, w8, sxtw] mov x10, x9 sxtw x10, w10 ldrb w12, [x21, x10] cmp w11, w12 b.ne LBB0_20 LBB0_18: ; in Loop: Header=BB0_16 Depth=1 sxtw x8, w8 add x10, x8, #1 mov x8, x10 ; kill: def $w9 killed $w9 killed $x9 def $x9 sxtw x9, w9 add x9, x9, #1 ldrb w11, [x21, x10] ldrb w12, [x21, x9] cmp w11, w12 b.ne LBB0_14 ; %bb.19: ; in Loop: Header=BB0_16 Depth=1 ldr w11, [x20, x9, lsl #2] str w11, [x20, x10, lsl #2] b LBB0_15 LBB0_20: ; in Loop: Header=BB0_16 Depth=1 ldr w9, [x20, x10, lsl #2] b LBB0_15 LBB0_21: add x0, sp, #116 bl _strlen mov w8, #0 sub w10, w0, #1 mov w9, #0 cmp w10, #1 b.lt LBB0_29 ; %bb.22: cmp w19, #1 b.lt LBB0_29 ; %bb.23: mov w9, #0 mov w8, #0 add x11, sp, #116 add x12, sp, #16 LBB0_24: ; =>This Inner Loop Header: Depth=1 cmn w8, #1 b.eq LBB0_26 ; %bb.25: ; in Loop: Header=BB0_24 Depth=1 ldrb w14, [x11, w9, sxtw] sxtw x13, w8 ldrb w15, [x12, x13] cmp w14, w15 b.ne LBB0_27 LBB0_26: ; in Loop: Header=BB0_24 Depth=1 add w9, w9, #1 add w8, w8, #1 cmp w9, w10 b.lt LBB0_28 b LBB0_29 LBB0_27: ; in Loop: Header=BB0_24 Depth=1 ldr w8, [x20, x13, lsl #2] cmp w9, w10 b.ge LBB0_29 LBB0_28: ; in Loop: Header=BB0_24 Depth=1 cmp w8, w19 b.lt LBB0_24 LBB0_29: sub w9, w9, w8 cmp w8, w19 csinv w8, w9, wzr, eq str x8, [sp] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _printf ldur x8, [x29, #-40] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_31 ; %bb.30: mov w0, #0 ldp x29, x30, [sp, #256] ; 16-byte Folded Reload ldp x20, x19, [sp, #240] ; 16-byte Folded Reload ldp x22, x21, [sp, #224] ; 16-byte Folded Reload add sp, sp, #272 ret LBB0_31: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .globl _mygetline ; -- Begin function mygetline .p2align 2 _mygetline: ; @mygetline .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 cmp w1, #2 b.lt LBB1_6 ; %bb.1: mov x21, #0 sub w20, w1, #1 LBB1_2: ; =>This Inner Loop Header: Depth=1 bl _getchar cmn w0, #1 b.eq LBB1_7 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 cmp w0, #10 b.eq LBB1_7 ; %bb.4: ; in Loop: Header=BB1_2 Depth=1 strb w0, [x19, x21] add x8, x21, #1 mov x21, x8 cmp x20, x8 b.ne LBB1_2 ; %bb.5: cmp w0, #10 b.eq LBB1_8 b LBB1_9 LBB1_6: mov w20, #0 b LBB1_8 LBB1_7: mov x20, x21 cmp w0, #10 b.ne LBB1_9 LBB1_8: mov w8, #10 strb w8, [x19, w20, uxtw] add w8, w20, #1 mov x20, x8 LBB1_9: strb wzr, [x19, w20, sxtw] sub w0, w20, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _getnext ; -- Begin function getnext .p2align 2 _getnext: ; @getnext .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 _strlen mov w8, #-1 str w8, [x19] cmp w0, #1 b.lt LBB2_9 ; %bb.1: mov w8, #0 mov w9, #-1 b LBB2_4 LBB2_2: ; in Loop: Header=BB2_4 Depth=1 str w9, [x19, x10, lsl #2] LBB2_3: ; in Loop: Header=BB2_4 Depth=1 cmp w8, w0 b.ge LBB2_9 LBB2_4: ; =>This Inner Loop Header: Depth=1 cmn w9, #1 b.eq LBB2_6 ; %bb.5: ; in Loop: Header=BB2_4 Depth=1 ldrb w11, [x20, w8, sxtw] mov x10, x9 sxtw x10, w10 ldrb w12, [x20, x10] cmp w11, w12 b.ne LBB2_8 LBB2_6: ; in Loop: Header=BB2_4 Depth=1 sxtw x8, w8 add x10, x8, #1 mov x8, x10 ; kill: def $w9 killed $w9 killed $x9 def $x9 sxtw x9, w9 add x9, x9, #1 ldrb w11, [x20, x10] ldrb w12, [x20, x9] cmp w11, w12 b.ne LBB2_2 ; %bb.7: ; in Loop: Header=BB2_4 Depth=1 ldr w11, [x19, x9, lsl #2] str w11, [x19, x10, lsl #2] b LBB2_3 LBB2_8: ; in Loop: Header=BB2_4 Depth=1 ldr w9, [x19, x10, lsl #2] b LBB2_3 LBB2_9: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _kmp ; -- Begin function kmp .p2align 2 _kmp: ; @kmp .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 sub w21, w0, #1 mov x0, x19 bl _strlen sub w8, w0, #1 cmp w21, #1 ccmp w8, #1, #8, ge b.ge LBB3_2 ; %bb.1: mov w10, #0 mov w9, #0 b LBB3_8 LBB3_2: mov w9, #0 mov w10, #0 Lloh10: adrp x11, _next@GOTPAGE Lloh11: ldr x11, [x11, _next@GOTPAGEOFF] LBB3_3: ; =>This Inner Loop Header: Depth=1 cmn w10, #1 b.eq LBB3_5 ; %bb.4: ; in Loop: Header=BB3_3 Depth=1 ldrb w13, [x20, w9, sxtw] sxtw x12, w10 ldrb w14, [x19, x12] cmp w13, w14 b.ne LBB3_6 LBB3_5: ; in Loop: Header=BB3_3 Depth=1 add w9, w9, #1 add w10, w10, #1 cmp w9, w21 b.lt LBB3_7 b LBB3_8 LBB3_6: ; in Loop: Header=BB3_3 Depth=1 ldr w10, [x11, x12, lsl #2] cmp w9, w21 b.ge LBB3_8 LBB3_7: ; in Loop: Header=BB3_3 Depth=1 cmp w10, w8 b.lt LBB3_3 LBB3_8: sub w9, w9, w10 cmp w10, w8 csinv w0, w9, wzr, eq 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 Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _next,400,2 ; @next .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" .subsections_via_symbols
the_stack_data/79376.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function spa_checkpoint_discard_complete_sync _spa_checkpoint_discard_complete_sync: ## @spa_checkpoint_discard_complete_sync .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 movq $0, (%rdi) movq _SPA_FEATURE_POOL_CHECKPOINT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdx callq _spa_feature_decr leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx movq %rbx, %rdi movq %r14, %rdx popq %rbx popq %r14 popq %rbp jmp _spa_history_log_internal ## TAILCALL .cfi_endproc ## -- End function .comm _SPA_FEATURE_POOL_CHECKPOINT,4,2 ## @SPA_FEATURE_POOL_CHECKPOINT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "spa discard checkpoint" L_.str.1: ## @.str.1 .asciz "finished discarding checkpointed state from the pool" .no_dead_strip _spa_checkpoint_discard_complete_sync .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function spa_checkpoint_discard_complete_sync _spa_checkpoint_discard_complete_sync: ; @spa_checkpoint_discard_complete_sync .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 str xzr, [x0] Lloh0: adrp x8, _SPA_FEATURE_POOL_CHECKPOINT@GOTPAGE Lloh1: ldr x8, [x8, _SPA_FEATURE_POOL_CHECKPOINT@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x2, x19 bl _spa_feature_decr Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF Lloh5: adrp x3, l_.str.1@PAGE Lloh6: add x3, x3, l_.str.1@PAGEOFF mov x0, x20 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _spa_history_log_internal .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SPA_FEATURE_POOL_CHECKPOINT,4,2 ; @SPA_FEATURE_POOL_CHECKPOINT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "spa discard checkpoint" l_.str.1: ; @.str.1 .asciz "finished discarding checkpointed state from the pool" .no_dead_strip _spa_checkpoint_discard_complete_sync .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_spa_checkpoint.c_spa_checkpoint_discard_complete_sync.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _layer_state_set_kb ## -- Begin function layer_state_set_kb .p2align 4, 0x90 _layer_state_set_kb: ## @layer_state_set_kb .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 testb $2, %al jne LBB0_5 ## %bb.1: testb $4, %al jne LBB0_7 ## %bb.2: testb $8, %al jne LBB0_9 ## %bb.3: movq _PD0@GOTPCREL(%rip), %rcx movb (%rcx), %cl movl $1, %esi shll %cl, %esi movq _PORTD@GOTPCREL(%rip), %rcx movl (%rcx), %edx testb $16, %al jne LBB0_11 ## %bb.4: movq _PD1@GOTPCREL(%rip), %rcx movb (%rcx), %cl btsl %ecx, %esi movq _PD6@GOTPCREL(%rip), %rcx movb (%rcx), %cl btsl %ecx, %esi notl %esi andl %esi, %edx jmp LBB0_14 LBB0_5: movq _PD0@GOTPCREL(%rip), %rcx LBB0_6: movb (%rcx), %cl movq _PORTD@GOTPCREL(%rip), %rdx movl (%rdx), %edx jmp LBB0_13 LBB0_7: movq _PD0@GOTPCREL(%rip), %rcx movb (%rcx), %cl movl $1, %edx shll %cl, %edx testb $16, %al jne LBB0_10 ## %bb.8: notl %edx movq _PORTD@GOTPCREL(%rip), %rcx andl (%rcx), %edx movq _PD1@GOTPCREL(%rip), %rcx movb (%rcx), %cl btsl %ecx, %edx movq _PD6@GOTPCREL(%rip), %rcx movb (%rcx), %cl btrl %ecx, %edx jmp LBB0_14 LBB0_9: movq _PD6@GOTPCREL(%rip), %rcx jmp LBB0_6 LBB0_10: movq _PORTD@GOTPCREL(%rip), %rcx orl (%rcx), %edx jmp LBB0_12 LBB0_11: orl %esi, %edx LBB0_12: movq _PD1@GOTPCREL(%rip), %rcx movb (%rcx), %cl btsl %ecx, %edx movq _PD6@GOTPCREL(%rip), %rcx movb (%rcx), %cl LBB0_13: btsl %ecx, %edx LBB0_14: movq _PORTD@GOTPCREL(%rip), %rcx movl %edx, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _PD0,4,2 ## @PD0 .comm _PORTD,4,2 ## @PORTD .comm _PD1,4,2 ## @PD1 .comm _PD6,4,2 ## @PD6 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _layer_state_set_kb ; -- Begin function layer_state_set_kb .p2align 2 _layer_state_set_kb: ; @layer_state_set_kb .cfi_startproc ; %bb.0: Lloh0: adrp x8, _PORTD@GOTPAGE Lloh1: ldr x8, [x8, _PORTD@GOTPAGEOFF] tbnz w0, #1, LBB0_5 ; %bb.1: tbnz w0, #2, LBB0_7 ; %bb.2: tbnz w0, #3, LBB0_10 ; %bb.3: Lloh2: adrp x9, _PD0@GOTPAGE Lloh3: ldr x9, [x9, _PD0@GOTPAGEOFF] Lloh4: ldr w10, [x9] mov w9, #1 lsl w11, w9, w10 ldr w10, [x8] tbnz w0, #4, LBB0_12 ; %bb.4: Lloh5: adrp x12, _PD1@GOTPAGE Lloh6: ldr x12, [x12, _PD1@GOTPAGEOFF] Lloh7: ldr w12, [x12] lsl w12, w9, w12 orr w11, w11, w12 Lloh8: adrp x12, _PD6@GOTPAGE Lloh9: ldr x12, [x12, _PD6@GOTPAGEOFF] Lloh10: ldr w12, [x12] lsl w9, w9, w12 orr w9, w11, w9 b LBB0_9 LBB0_5: Lloh11: adrp x9, _PD0@GOTPAGE Lloh12: ldr x9, [x9, _PD0@GOTPAGEOFF] LBB0_6: ldr w9, [x9] mov w10, #1 lsl w9, w10, w9 ldr w10, [x8] orr w9, w10, w9 str w9, [x8] ret LBB0_7: Lloh13: adrp x9, _PD0@GOTPAGE Lloh14: ldr x9, [x9, _PD0@GOTPAGEOFF] Lloh15: ldr w10, [x9] mov w9, #1 lsl w10, w9, w10 tbnz w0, #4, LBB0_11 ; %bb.8: ldr w11, [x8] bic w10, w11, w10 Lloh16: adrp x11, _PD1@GOTPAGE Lloh17: ldr x11, [x11, _PD1@GOTPAGEOFF] Lloh18: ldr w11, [x11] lsl w11, w9, w11 orr w10, w11, w10 Lloh19: adrp x11, _PD6@GOTPAGE Lloh20: ldr x11, [x11, _PD6@GOTPAGEOFF] Lloh21: ldr w11, [x11] lsl w9, w9, w11 LBB0_9: bic w9, w10, w9 str w9, [x8] ret LBB0_10: Lloh22: adrp x9, _PD6@GOTPAGE Lloh23: ldr x9, [x9, _PD6@GOTPAGEOFF] b LBB0_6 LBB0_11: ldr w11, [x8] orr w10, w11, w10 b LBB0_13 LBB0_12: orr w10, w10, w11 LBB0_13: Lloh24: adrp x11, _PD1@GOTPAGE Lloh25: ldr x11, [x11, _PD1@GOTPAGEOFF] Lloh26: ldr w11, [x11] lsl w11, w9, w11 orr w10, w11, w10 Lloh27: adrp x11, _PD6@GOTPAGE Lloh28: ldr x11, [x11, _PD6@GOTPAGEOFF] Lloh29: ldr w11, [x11] lsl w9, w9, w11 orr w9, w9, w10 str w9, [x8] ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .cfi_endproc ; -- End function .comm _PD0,4,2 ; @PD0 .comm _PORTD,4,2 ; @PORTD .comm _PD1,4,2 ; @PD1 .comm _PD6,4,2 ; @PD6 .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/pearl/keymaps/cijanzen/extr_keymap.c_layer_state_set_kb.c
anghabench