x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq -12(%rbp), %rsi leaq -8(%rbp), %rdx leaq -4(%rbp), %rcx xorl %eax, %eax callq _scanf movl -12(%rbp), %r8d movl -8(%rbp), %eax movl -4(%rbp), %ecx cmpl %eax, %r8d jg LBB0_3 ## %bb.1: cmpl %ecx, %eax jg LBB0_3 ## %bb.2: leaq L_.str.1(%rip), %rdi movl %r8d, %esi movl %eax, %edx jmp LBB0_19 LBB0_3: cmpl %ecx, %r8d jle LBB0_4 ## %bb.9: cmpl %r8d, %eax setg %sil LBB0_10: cmpl %ecx, %eax jg LBB0_13 ## %bb.11: cmpl %r8d, %ecx jg LBB0_13 ## %bb.12: leaq L_.str.1(%rip), %rdi movl %eax, %esi movl %ecx, %edx jmp LBB0_18 LBB0_4: cmpl %eax, %ecx jle LBB0_5 ## %bb.7: movb $1, %sil cmpl %r8d, %eax jg LBB0_10 ## %bb.8: leaq L_.str.1(%rip), %rdi movl %eax, %esi movl %r8d, %edx jmp LBB0_19 LBB0_13: cmpl %r8d, %ecx jg LBB0_16 ## %bb.14: cmpl %eax, %r8d jg LBB0_16 ## %bb.15: leaq L_.str.1(%rip), %rdi movl %ecx, %esi movl %r8d, %edx movl %eax, %ecx jmp LBB0_19 LBB0_5: leaq L_.str.1(%rip), %rdi movl %r8d, %esi movl %ecx, %edx movl %eax, %ecx jmp LBB0_19 LBB0_16: cmpl %eax, %ecx setg %dl orb %sil, %dl jne LBB0_20 ## %bb.17: leaq L_.str.1(%rip), %rdi movl %ecx, %esi movl %eax, %edx LBB0_18: movl %r8d, %ecx LBB0_19: xorl %eax, %eax callq _printf LBB0_20: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d%d%d" L_.str.1: ## @.str.1 .asciz "%d %d %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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 sub x8, x29, #12 str x8, [sp, #16] sub x8, x29, #8 sub x9, x29, #4 stp x9, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldp w10, w9, [x29, #-8] ldur w8, [x29, #-12] cmp w9, w10 ccmp w10, w8, #0, le b.le LBB0_3 ; %bb.1: cmp w9, w8 b.le LBB0_4 ; %bb.2: cmp w10, w9 cset w11, gt cmp w10, w8 b.le LBB0_7 b LBB0_9 LBB0_3: stp x10, x8, [sp, #8] str x9, [sp] b LBB0_18 LBB0_4: cmp w8, w10 b.le LBB0_12 ; %bb.5: cmp w10, w9 b.le LBB0_16 ; %bb.6: mov w11, #1 cmp w10, w8 b.gt LBB0_9 LBB0_7: cmp w8, w9 b.gt LBB0_9 ; %bb.8: ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w8 killed $w8 killed $x8 def $x8 ; kill: def $w10 killed $w10 killed $x10 def $x10 stp x8, x9, [sp, #8] b LBB0_17 LBB0_9: cmp w8, w9 b.gt LBB0_13 ; %bb.10: cmp w9, w10 b.gt LBB0_13 ; %bb.11: ; kill: def $w10 killed $w10 killed $x10 def $x10 ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x9, x10, [sp, #8] b LBB0_15 LBB0_12: ; kill: def $w10 killed $w10 killed $x10 def $x10 ; kill: def $w8 killed $w8 killed $x8 def $x8 ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x8, x10, [sp, #8] str x9, [sp] b LBB0_18 LBB0_13: cmp w8, w10 cset w12, gt orr w11, w12, w11 tbnz w11, #0, LBB0_19 ; %bb.14: ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w10 killed $w10 killed $x10 def $x10 ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x10, x9, [sp, #8] LBB0_15: str x8, [sp] b LBB0_18 LBB0_16: ; kill: def $w8 killed $w8 killed $x8 def $x8 ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w10 killed $w10 killed $x10 def $x10 stp x9, x8, [sp, #8] LBB0_17: str x10, [sp] LBB0_18: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_19: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d%d%d" l_.str.1: ; @.str.1 .asciz "%d %d %d\n" .subsections_via_symbols
the_stack_data/117339.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function br_sysfs_renameif _br_sysfs_renameif: ## @br_sysfs_renameif .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _br_sysfs_renameif .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function br_sysfs_renameif _br_sysfs_renameif: ; @br_sysfs_renameif .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _br_sysfs_renameif .subsections_via_symbols
AnghaBench/linux/net/ipv6/extr_..bridgebr_private.h_br_sysfs_renameif.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cpu_has_vmx_flexpriority _cpu_has_vmx_flexpriority: ## @cpu_has_vmx_flexpriority .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %ebx, %ebx xorl %eax, %eax callq _cpu_has_vmx_tpr_shadow testq %rax, %rax je LBB0_2 ## %bb.1: xorl %eax, %eax callq _cpu_has_vmx_virtualize_apic_accesses xorl %ebx, %ebx testq %rax, %rax setne %bl LBB0_2: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cpu_has_vmx_flexpriority .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cpu_has_vmx_flexpriority _cpu_has_vmx_flexpriority: ; @cpu_has_vmx_flexpriority .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 _cpu_has_vmx_tpr_shadow cbz x0, LBB0_2 ; %bb.1: bl _cpu_has_vmx_virtualize_apic_accesses 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 _cpu_has_vmx_flexpriority .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_cpu_has_vmx_flexpriority.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dln2_irq_unmask _dln2_irq_unmask: ## @dln2_irq_unmask .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx callq _irq_data_get_irq_chip_data movq %rax, %rdi callq _gpiochip_get_data movq %rax, %r14 movq %rbx, %rdi callq _irqd_to_hwirq movl (%r14), %esi movl %eax, %edi popq %rbx popq %r14 popq %rbp jmp _set_bit ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _dln2_irq_unmask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dln2_irq_unmask _dln2_irq_unmask: ; @dln2_irq_unmask .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 _irq_data_get_irq_chip_data bl _gpiochip_get_data mov x20, x0 mov x0, x19 bl _irqd_to_hwirq ldr w1, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _set_bit .cfi_endproc ; -- End function .no_dead_strip _dln2_irq_unmask .subsections_via_symbols
AnghaBench/linux/drivers/gpio/extr_gpio-dln2.c_dln2_irq_unmask.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InEtherIpId ## -- Begin function InEtherIpId .p2align 4, 0x90 _InEtherIpId: ## @InEtherIpId .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testq %rdi, %rdi je LBB0_2 ## %bb.1: movq %rsi, %r14 testq %rsi, %rsi je LBB0_2 ## %bb.3: movq %rdi, %rbx movl $16, %esi callq _Zero movl 12(%rbx), %edx leaq L_.str(%rip), %rsi movq %r14, %rdi movl $4, %ecx callq _PackGetStr movl 8(%rbx), %edx leaq L_.str.1(%rip), %rsi movq %r14, %rdi movl $4, %ecx callq _PackGetStr movl 4(%rbx), %edx leaq L_.str.2(%rip), %rsi movq %r14, %rdi movl $4, %ecx callq _PackGetStr movl (%rbx), %edx leaq L_.str.3(%rip), %rsi movq %r14, %rdi movl $4, %ecx popq %rbx popq %r14 popq %rbp jmp _PackGetStr ## TAILCALL LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Id" L_.str.1: ## @.str.1 .asciz "HubName" L_.str.2: ## @.str.2 .asciz "UserName" L_.str.3: ## @.str.3 .asciz "Password" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _InEtherIpId ; -- Begin function InEtherIpId .p2align 2 _InEtherIpId: ; @InEtherIpId .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_3 ; %bb.1: mov x19, x1 cbz x1, LBB0_3 ; %bb.2: mov x20, x0 mov w1, #16 bl _Zero ldr w2, [x20, #12] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 mov w3, #4 bl _PackGetStr ldr w2, [x20, #8] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 mov w3, #4 bl _PackGetStr ldr w2, [x20, #4] Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 mov w3, #4 bl _PackGetStr ldr w2, [x20] Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 mov w3, #4 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _PackGetStr LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload 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: ; @.str .asciz "Id" l_.str.1: ; @.str.1 .asciz "HubName" l_.str.2: ; @.str.2 .asciz "UserName" l_.str.3: ; @.str.3 .asciz "Password" .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Cedar/extr_Admin.c_InEtherIpId.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pci_valid_pba_offset _pci_valid_pba_offset: ## @pci_valid_pba_offset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rcx xorl %eax, %eax cmpq %rsi, %rcx jg LBB0_2 ## %bb.1: addq 8(%rdi), %rcx xorl %eax, %eax cmpq %rsi, %rcx setg %al LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pci_valid_pba_offset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pci_valid_pba_offset _pci_valid_pba_offset: ; @pci_valid_pba_offset .cfi_startproc ; %bb.0: ldr x8, [x0] cmp x8, x1 b.le LBB0_2 ; %bb.1: mov w0, #0 ret LBB0_2: ldr x9, [x0, #8] add x8, x9, x8 cmp x8, x1 cset w0, gt ret .cfi_endproc ; -- End function .no_dead_strip _pci_valid_pba_offset .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bhyve/extr_pci_emul.c_pci_valid_pba_offset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpu_set_hardintr_mask_func ## -- Begin function cpu_set_hardintr_mask_func .p2align 4, 0x90 _cpu_set_hardintr_mask_func: ## @cpu_set_hardintr_mask_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _hardintr_mask_func@GOTPCREL(%rip), %rax movl %edi, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _hardintr_mask_func,4,2 ## @hardintr_mask_func .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cpu_set_hardintr_mask_func ; -- Begin function cpu_set_hardintr_mask_func .p2align 2 _cpu_set_hardintr_mask_func: ; @cpu_set_hardintr_mask_func .cfi_startproc ; %bb.0: Lloh0: adrp x8, _hardintr_mask_func@GOTPAGE Lloh1: ldr x8, [x8, _hardintr_mask_func@GOTPAGEOFF] Lloh2: str w0, [x8] ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _hardintr_mask_func,4,2 ; @hardintr_mask_func .subsections_via_symbols
AnghaBench/freebsd/sys/mips/mips/extr_intr_machdep.c_cpu_set_hardintr_mask_func.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pgoutput_truncate _pgoutput_truncate: ## @pgoutput_truncate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movq %rcx, -88(%rbp) ## 8-byte Spill movl %edx, %r14d movq %rdi, -64(%rbp) ## 8-byte Spill movq 8(%rdi), %rax movq %rax, -72(%rbp) ## 8-byte Spill movl (%rax), %edi callq _MemoryContextSwitchTo movl %eax, %r12d leal (,%r14,4), %edi callq _palloc0 movq %rax, -56(%rbp) ## 8-byte Spill testl %r14d, %r14d js LBB0_8 ## %bb.1: movq %rbx, -80(%rbp) ## 8-byte Spill movl %r12d, -44(%rbp) ## 4-byte Spill movl %r14d, %ebx xorl %r13d, %r13d xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 decq %r13 cmpq %rbx, %r13 jg LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -88(%rbp), %rax ## 8-byte Reload movl (%rax,%r13,4), %r14d movl %r14d, %edi callq _RelationGetRelid movl %eax, %r12d movl %r14d, %edi callq _is_publishable_relation testl %eax, %eax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -72(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi callq _get_rel_sync_entry cmpl $0, (%rax) je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movslq %r15d, %rcx incl %r15d movq -56(%rbp), %rdx ## 8-byte Reload movl %r12d, (%rdx,%rcx,4) movq -64(%rbp), %rdi ## 8-byte Reload movl %r14d, %esi movq %rax, %rdx callq _maybe_send_schema jmp LBB0_5 LBB0_6: testl %r15d, %r15d movl -44(%rbp), %r12d ## 4-byte Reload movq -80(%rbp), %r14 ## 8-byte Reload jle LBB0_8 ## %bb.7: movq -64(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi movl $1, %esi callq _OutputPluginPrepareWrite movl (%rbx), %edi movl (%r14), %r8d movl 4(%r14), %ecx movl %r15d, %esi movq -56(%rbp), %rdx ## 8-byte Reload callq _logicalrep_write_truncate movq %rbx, %rdi movl $1, %esi callq _OutputPluginWrite LBB0_8: movl %r12d, %edi callq _MemoryContextSwitchTo movq -72(%rbp), %rax ## 8-byte Reload movl (%rax), %edi addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _MemoryContextReset ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _pgoutput_truncate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pgoutput_truncate _pgoutput_truncate: ; @pgoutput_truncate .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x4 mov x23, x3 mov x26, x2 mov x20, x0 ldr x19, [x0, #8] ldr w0, [x19] bl _MemoryContextSwitchTo mov x22, x0 lsl w0, w26, #2 bl _palloc0 tbnz w26, #31, LBB0_8 ; %bb.1: mov x24, x0 str x21, [sp] ; 8-byte Folded Spill str w22, [sp, #12] ; 4-byte Folded Spill mov x28, #0 ; =0x0 mov w21, #0 ; =0x0 mov w22, w26 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x28, x28, #1 cmp x28, x22 b.gt LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w26, [x23, x28, lsl #2] mov x0, x26 bl _RelationGetRelid mov x27, x0 mov x0, x26 bl _is_publishable_relation cbz w0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 mov x1, x27 bl _get_rel_sync_entry ldr w8, [x0] cbz w8, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x2, x0 add w25, w21, #1 str w27, [x24, w21, sxtw #2] mov x0, x20 mov x1, x26 bl _maybe_send_schema mov x21, x25 b LBB0_2 LBB0_6: cmp w21, #1 ldr w22, [sp, #12] ; 4-byte Folded Reload ldr x23, [sp] ; 8-byte Folded Reload b.lt LBB0_8 ; %bb.7: mov x0, x20 mov w1, #1 ; =0x1 bl _OutputPluginPrepareWrite ldr w0, [x20] ldp w4, w3, [x23] mov x1, x21 mov x2, x24 bl _logicalrep_write_truncate mov x0, x20 mov w1, #1 ; =0x1 bl _OutputPluginWrite LBB0_8: mov x0, x22 bl _MemoryContextSwitchTo ldr w0, [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 _MemoryContextReset .cfi_endproc ; -- End function .no_dead_strip _pgoutput_truncate .subsections_via_symbols
assembly_file_116461.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xstrtoul ## -- Begin function xstrtoul .p2align 4, 0x90 _xstrtoul: ## @xstrtoul .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 callq ___error movl (%rax), %r15d callq ___error movl $0, (%rax) leaq -32(%rbp), %rsi movq %r14, %rdi movl %ebx, %edx callq _strtoul movq %rax, %rbx callq ___error cmpl $0, (%rax) jne LBB0_4 ## %bb.1: movq -32(%rbp), %rax cmpq %r14, %rax je LBB0_5 ## %bb.2: cmpb $0, (%rax) jne LBB0_5 ## %bb.3: callq ___error movl %r15d, (%rax) movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_5: leaq L_.str.1(%rip), %rsi movl $1, %edi movq %r14, %rdx xorl %eax, %eax callq _errx LBB0_4: leaq L_.str(%rip), %rsi movl $1, %edi movq %r14, %rdx xorl %eax, %eax callq _err .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "Invalid number in given base: %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xstrtoul ; -- Begin function xstrtoul .p2align 2 _xstrtoul: ; @xstrtoul .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, x1 mov x19, x0 bl ___error ldr w21, [x0] bl ___error str wzr, [x0] add x1, sp, #8 mov x0, x19 mov x2, x20 bl _strtoul mov x20, x0 bl ___error ldr w8, [x0] cbnz w8, LBB0_5 ; %bb.1: ldr x8, [sp, #8] cmp x8, x19 b.eq LBB0_4 ; %bb.2: ldrb w8, [x8] cbnz w8, LBB0_4 ; %bb.3: bl ___error str w21, [x0] mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_4: str x19, [sp] Lloh0: adrp x1, l_.str.1@PAGE Lloh1: add x1, x1, l_.str.1@PAGEOFF mov w0, #1 bl _errx LBB0_5: str x19, [sp] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF mov w0, #1 bl _err .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "Invalid number in given base: %s" .subsections_via_symbols
the_stack_data/949651.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ldm_parse_privhead _ldm_parse_privhead: ## @ldm_parse_privhead .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, %r15 movq %rdi, %r14 testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl movzbl %cl, %edi callq _BUG_ON movq _MAGIC_PRIVHEAD@GOTPCREL(%rip), %rax movq (%rax), %rbx movq %r14, %rdi callq _get_unaligned_be64 cmpq %rax, %rbx jne LBB0_1 ## %bb.3: leaq 48(%r14), %rdi callq _get_unaligned_be16 movl %eax, (%r15) leaq 56(%r14), %rdi callq _get_unaligned_be16 movl %eax, 4(%r15) leaq 1132(%r14), %rdi callq _get_unaligned_be64 movq %rax, 8(%r15) leaq 1164(%r14), %rdi callq _get_unaligned_be64 movq %rax, 16(%r15) leaq 1196(%r14), %rdi callq _get_unaligned_be64 movq %rax, 24(%r15) leaq 1228(%r14), %rdi callq _get_unaligned_be64 movq %rax, 32(%r15) movl (%r15), %esi movl 4(%r15), %edx cmpl $2, %esi jne LBB0_7 ## %bb.4: cmpl $11, %edx je LBB0_8 ## %bb.5: cmpl $12, %edx jne LBB0_7 ## %bb.6: leaq L_.str.3(%rip), %rcx jmp LBB0_9 LBB0_1: leaq L_.str(%rip), %rdi LBB0_2: xorl %ebx, %ebx xorl %eax, %eax callq _ldm_error jmp LBB0_17 LBB0_7: leaq L_.str.1(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _ldm_error LBB0_17: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_8: leaq L_.str.4(%rip), %rcx LBB0_9: leaq L_.str.2(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _ldm_debug movq 32(%r15), %rdx movq _LDM_DB_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rsi cmpq %rsi, %rdx je LBB0_11 ## %bb.10: leaq L_.str.5(%rip), %rdi callq _ldm_info LBB0_11: movq 16(%r15), %rax testq %rax, %rax je LBB0_13 ## %bb.12: addq 8(%r15), %rax cmpq 24(%r15), %rax jle LBB0_14 LBB0_13: leaq L_.str.6(%rip), %rdi jmp LBB0_2 LBB0_14: addq $192, %r14 movl 40(%r15), %esi movq %r14, %rdi callq _ldm_parse_guid testl %eax, %eax je LBB0_15 ## %bb.16: leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _ldm_debug movl $1, %ebx jmp LBB0_17 LBB0_15: leaq L_.str.7(%rip), %rdi jmp LBB0_2 .cfi_endproc ## -- End function .comm _MAGIC_PRIVHEAD,8,3 ## @MAGIC_PRIVHEAD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting." L_.str.1: ## @.str.1 .asciz "Expected PRIVHEAD version 2.11 or 2.12, got %d.%d. Aborting." L_.str.2: ## @.str.2 .asciz "PRIVHEAD version %d.%d (Windows %s)." L_.str.3: ## @.str.3 .asciz "Vista" L_.str.4: ## @.str.4 .asciz "2000/XP" .comm _LDM_DB_SIZE,8,3 ## @LDM_DB_SIZE L_.str.5: ## @.str.5 .asciz "Database is normally %u bytes, it claims to be %llu bytes." L_.str.6: ## @.str.6 .asciz "PRIVHEAD disk size doesn't match real disk size" L_.str.7: ## @.str.7 .asciz "PRIVHEAD contains an invalid GUID." L_.str.8: ## @.str.8 .asciz "Parsed PRIVHEAD successfully." .no_dead_strip _ldm_parse_privhead .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ldm_parse_privhead _ldm_parse_privhead: ; @ldm_parse_privhead .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 cmp x0, #0 ccmp x1, #0, #4, ne cset w0, eq bl _BUG_ON Lloh0: adrp x8, _MAGIC_PRIVHEAD@GOTPAGE Lloh1: ldr x8, [x8, _MAGIC_PRIVHEAD@GOTPAGEOFF] Lloh2: ldr x21, [x8] mov x0, x20 bl _get_unaligned_be64 cmp x21, x0 b.ne LBB0_5 ; %bb.1: add x0, x20, #48 bl _get_unaligned_be16 str w0, [x19] add x0, x20, #56 bl _get_unaligned_be16 str w0, [x19, #4] add x0, x20, #1132 bl _get_unaligned_be64 str x0, [x19, #8] add x0, x20, #1164 bl _get_unaligned_be64 str x0, [x19, #16] add x0, x20, #1196 bl _get_unaligned_be64 str x0, [x19, #24] add x0, x20, #1228 bl _get_unaligned_be64 str x0, [x19, #32] ldp w9, w8, [x19] cmp w9, #2 b.ne LBB0_6 ; %bb.2: cmp w8, #11 b.eq LBB0_7 ; %bb.3: cmp w8, #12 b.ne LBB0_6 ; %bb.4: Lloh3: adrp x9, l_.str.3@PAGE Lloh4: add x9, x9, l_.str.3@PAGEOFF b LBB0_8 LBB0_5: Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF b LBB0_13 LBB0_6: ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x9, x8, [sp] Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF b LBB0_13 LBB0_7: Lloh9: adrp x9, l_.str.4@PAGE Lloh10: add x9, x9, l_.str.4@PAGEOFF LBB0_8: stp x8, x9, [sp, #8] mov w9, #2 str x9, [sp] Lloh11: adrp x0, l_.str.2@PAGE Lloh12: add x0, x0, l_.str.2@PAGEOFF bl _ldm_debug ldr x2, [x19, #32] Lloh13: adrp x8, _LDM_DB_SIZE@GOTPAGE Lloh14: ldr x8, [x8, _LDM_DB_SIZE@GOTPAGEOFF] Lloh15: ldr x1, [x8] cmp x2, x1 b.eq LBB0_10 ; %bb.9: Lloh16: adrp x0, l_.str.5@PAGE Lloh17: add x0, x0, l_.str.5@PAGEOFF bl _ldm_info LBB0_10: ldr x8, [x19, #16] cbz x8, LBB0_12 ; %bb.11: ldr x9, [x19, #8] ldr x10, [x19, #24] add x8, x9, x8 cmp x8, x10 b.le LBB0_15 LBB0_12: Lloh18: adrp x0, l_.str.6@PAGE Lloh19: add x0, x0, l_.str.6@PAGEOFF LBB0_13: bl _ldm_error mov w0, #0 LBB0_14: 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 LBB0_15: add x0, x20, #192 ldr w1, [x19, #40] bl _ldm_parse_guid cbz w0, LBB0_17 ; %bb.16: Lloh20: adrp x0, l_.str.8@PAGE Lloh21: add x0, x0, l_.str.8@PAGEOFF bl _ldm_debug mov w0, #1 b LBB0_14 LBB0_17: Lloh22: adrp x0, l_.str.7@PAGE Lloh23: add x0, x0, l_.str.7@PAGEOFF b LBB0_13 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _MAGIC_PRIVHEAD,8,3 ; @MAGIC_PRIVHEAD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting." l_.str.1: ; @.str.1 .asciz "Expected PRIVHEAD version 2.11 or 2.12, got %d.%d. Aborting." l_.str.2: ; @.str.2 .asciz "PRIVHEAD version %d.%d (Windows %s)." l_.str.3: ; @.str.3 .asciz "Vista" l_.str.4: ; @.str.4 .asciz "2000/XP" .comm _LDM_DB_SIZE,8,3 ; @LDM_DB_SIZE l_.str.5: ; @.str.5 .asciz "Database is normally %u bytes, it claims to be %llu bytes." l_.str.6: ; @.str.6 .asciz "PRIVHEAD disk size doesn't match real disk size" l_.str.7: ; @.str.7 .asciz "PRIVHEAD contains an invalid GUID." l_.str.8: ; @.str.8 .asciz "Parsed PRIVHEAD successfully." .no_dead_strip _ldm_parse_privhead .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/partitions/extr_ldm.c_ldm_parse_privhead.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/93887409.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gen_address_of _gen_address_of: ## @gen_address_of .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq 8(%rsi), %rdi callq _TYPE_CODE movq _TYPE_CODE_FUNC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.1: movl (%rbx), %eax cmpl $130, %eax je LBB0_6 ## %bb.2: cmpl $129, %eax je LBB0_5 ## %bb.3: cmpl $128, %eax jne LBB0_8 ## %bb.4: leaq L_.str(%rip), %rdi callq _error LBB0_5: leaq L_.str.1(%rip), %rdi callq _error LBB0_6: movl $128, (%rbx) LBB0_7: movq 8(%rbx), %rdi callq _lookup_pointer_type movq %rax, 8(%rbx) LBB0_8: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _TYPE_CODE_FUNC,8,3 ## @TYPE_CODE_FUNC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Operand of `&' is an rvalue, which has no address." L_.str.1: ## @.str.1 .asciz "Operand of `&' is in a register, and has no address." .no_dead_strip _gen_address_of .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gen_address_of _gen_address_of: ; @gen_address_of .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr x0, [x1, #8] bl _TYPE_CODE Lloh0: adrp x8, _TYPE_CODE_FUNC@GOTPAGE Lloh1: ldr x8, [x8, _TYPE_CODE_FUNC@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.eq LBB0_7 ; %bb.1: ldr w8, [x19] cmp w8, #130 b.eq LBB0_6 ; %bb.2: cmp w8, #129 b.eq LBB0_5 ; %bb.3: cmp w8, #128 b.ne LBB0_8 ; %bb.4: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _error LBB0_5: Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _error LBB0_6: mov w8, #128 str w8, [x19] LBB0_7: ldr x0, [x19, #8] bl _lookup_pointer_type str x0, [x19, #8] LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _TYPE_CODE_FUNC,8,3 ; @TYPE_CODE_FUNC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Operand of `&' is an rvalue, which has no address." l_.str.1: ; @.str.1 .asciz "Operand of `&' is in a register, and has no address." .no_dead_strip _gen_address_of .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_ax-gdb.c_gen_address_of.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $1008, %rsp ## imm = 0x3F0 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx leaq L_.str.3(%rip), %rsi leaq -1024(%rbp), %r14 movq %rax, %rdi movq %r14, %rdx xorl %eax, %eax callq _fscanf leaq L_.str.4(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi callq _fclose movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_4 ## %bb.2: xorl %eax, %eax addq $1008, %rsp ## imm = 0x3F0 popq %rbx popq %r14 popq %rbp retq LBB0_3: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movl $1, %edi callq _exit LBB0_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "program.txt" L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "Error! opening file" L_.str.3: ## @.str.3 .asciz "%[^\n]" L_.str.4: ## @.str.4 .asciz "Data from the file:\n%s" .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, #-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 w27, -40 .cfi_offset w28, -48 sub sp, sp, #1024 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 Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _fopen cbz x0, LBB0_3 ; %bb.1: mov x19, x0 add x20, sp, #16 str x20, [sp] Lloh7: adrp x1, l_.str.3@PAGE Lloh8: add x1, x1, l_.str.3@PAGEOFF bl _fscanf str x20, [sp] Lloh9: adrp x0, l_.str.4@PAGE Lloh10: add x0, x0, l_.str.4@PAGEOFF bl _printf mov x0, x19 bl _fclose ldur x8, [x29, #-40] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_4 ; %bb.2: mov w0, #0 add sp, sp, #1024 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #48 ; 16-byte Folded Reload ret LBB0_3: Lloh14: adrp x0, l_.str.2@PAGE Lloh15: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_4: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "program.txt" l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "Error! opening file" l_.str.3: ; @.str.3 .asciz "%[^\n]" l_.str.4: ; @.str.4 .asciz "Data from the file:\n%s" .subsections_via_symbols
the_stack_data/167331155.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function coreaudio_get_device_name _coreaudio_get_device_name: ## @coreaudio_get_device_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq $0, -32(%rbp) movl $8, -36(%rbp) movq _kAudioDevicePropertyDeviceNameCFString@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) movq _kAudioObjectPropertyScopeInput@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movq _kAudioObjectPropertyElementMaster@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movl 8(%rdi), %edi xorl %r14d, %r14d leaq -48(%rbp), %rsi leaq -36(%rbp), %r8 leaq -32(%rbp), %r9 xorl %edx, %edx xorl %ecx, %ecx callq _AudioObjectGetPropertyData movq _noErr@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 ## %bb.2: movq -32(%rbp), %rdi movq _kCFStringEncodingUTF8@GOTPCREL(%rip), %rax movl (%rax), %esi callq _cfstr_copy_cstr testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %rbx movq (%r15), %rdi callq _bfree movq %rbx, (%r15) movq -32(%rbp), %rdi movl $1, %r14d testq %rdi, %rdi je LBB0_6 ## %bb.5: callq _CFRelease jmp LBB0_6 LBB0_1: movq _LOG_WARNING@GOTPCREL(%rip), %rcx movl (%rcx), %edi leaq L_.str(%rip), %rsi movl %eax, %edx xorl %eax, %eax callq _blog jmp LBB0_6 LBB0_3: movq _LOG_WARNING@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi xorl %r14d, %r14d xorl %eax, %eax callq _blog LBB0_6: movl %r14d, %eax addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _kAudioDevicePropertyDeviceNameCFString,4,2 ## @kAudioDevicePropertyDeviceNameCFString .comm _kAudioObjectPropertyScopeInput,4,2 ## @kAudioObjectPropertyScopeInput .comm _kAudioObjectPropertyElementMaster,4,2 ## @kAudioObjectPropertyElementMaster .comm _noErr,8,3 ## @noErr .comm _LOG_WARNING,4,2 ## @LOG_WARNING .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[coreaudio_get_device_name] failed to get name: %d" .comm _kCFStringEncodingUTF8,4,2 ## @kCFStringEncodingUTF8 L_.str.1: ## @.str.1 .asciz "[coreaudio_get_device_name] failed to convert name to cstr for some reason" .no_dead_strip _coreaudio_get_device_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function coreaudio_get_device_name _coreaudio_get_device_name: ; @coreaudio_get_device_name .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 str xzr, [sp, #24] mov w8, #8 Lloh0: adrp x9, _kAudioDevicePropertyDeviceNameCFString@GOTPAGE Lloh1: ldr x9, [x9, _kAudioDevicePropertyDeviceNameCFString@GOTPAGEOFF] str w8, [sp, #20] Lloh2: ldr w8, [x9] Lloh3: adrp x9, _kAudioObjectPropertyScopeInput@GOTPAGE Lloh4: ldr x9, [x9, _kAudioObjectPropertyScopeInput@GOTPAGEOFF] Lloh5: ldr w9, [x9] stp w8, w9, [sp, #8] Lloh6: adrp x8, _kAudioObjectPropertyElementMaster@GOTPAGE Lloh7: ldr x8, [x8, _kAudioObjectPropertyElementMaster@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [sp, #16] ldr w0, [x0, #8] add x1, sp, #8 add x4, sp, #20 add x5, sp, #24 mov w2, #0 mov x3, #0 bl _AudioObjectGetPropertyData Lloh9: adrp x8, _noErr@GOTPAGE Lloh10: ldr x8, [x8, _noErr@GOTPAGEOFF] Lloh11: ldr x8, [x8] cmp x0, x8 b.ne LBB0_5 ; %bb.1: ldr x0, [sp, #24] Lloh12: adrp x8, _kCFStringEncodingUTF8@GOTPAGE Lloh13: ldr x8, [x8, _kCFStringEncodingUTF8@GOTPAGEOFF] Lloh14: ldr w1, [x8] bl _cfstr_copy_cstr cbz x0, LBB0_6 ; %bb.2: mov x20, x0 ldr x0, [x19] bl _bfree str x20, [x19] ldr x0, [sp, #24] cbz x0, LBB0_4 ; %bb.3: bl _CFRelease LBB0_4: mov w0, #1 b LBB0_8 LBB0_5: Lloh15: adrp x8, _LOG_WARNING@GOTPAGE Lloh16: ldr x8, [x8, _LOG_WARNING@GOTPAGEOFF] Lloh17: ldr w8, [x8] str x0, [sp] Lloh18: adrp x1, l_.str@PAGE Lloh19: add x1, x1, l_.str@PAGEOFF mov x0, x8 b LBB0_7 LBB0_6: Lloh20: adrp x8, _LOG_WARNING@GOTPAGE Lloh21: ldr x8, [x8, _LOG_WARNING@GOTPAGEOFF] Lloh22: ldr w0, [x8] Lloh23: adrp x1, l_.str.1@PAGE Lloh24: add x1, x1, l_.str.1@PAGEOFF LBB0_7: bl _blog mov w0, #0 LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _kAudioDevicePropertyDeviceNameCFString,4,2 ; @kAudioDevicePropertyDeviceNameCFString .comm _kAudioObjectPropertyScopeInput,4,2 ; @kAudioObjectPropertyScopeInput .comm _kAudioObjectPropertyElementMaster,4,2 ; @kAudioObjectPropertyElementMaster .comm _noErr,8,3 ; @noErr .comm _LOG_WARNING,4,2 ; @LOG_WARNING .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[coreaudio_get_device_name] failed to get name: %d" .comm _kCFStringEncodingUTF8,4,2 ; @kCFStringEncodingUTF8 l_.str.1: ; @.str.1 .asciz "[coreaudio_get_device_name] failed to convert name to cstr for some reason" .no_dead_strip _coreaudio_get_device_name .subsections_via_symbols
AnghaBench/obs-studio/plugins/mac-capture/extr_mac-audio.c_coreaudio_get_device_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fz_clone_pixmap ## -- Begin function fz_clone_pixmap .p2align 4, 0x90 _fz_clone_pixmap: ## @fz_clone_pixmap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movl 32(%rsi), %r15d movl 28(%rsi), %edi movl 24(%rsi), %esi movl (%rbx), %ecx movl 20(%rbx), %edx callq _fz_make_irect movl 12(%rbx), %r8d movl 16(%rbx), %ecx movq %r14, %rdi movl %r15d, %esi movl %eax, %edx callq _fz_new_pixmap_with_bbox movq %rax, %r14 movl (%rax), %edx movl 8(%rax), %edi movl 8(%rbx), %esi imull 4(%rax), %edx callq _memcpy movq %r14, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fz_clone_pixmap ; -- Begin function fz_clone_pixmap .p2align 2 _fz_clone_pixmap: ; @fz_clone_pixmap .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 ldp w0, w21, [x1, #28] ldr w1, [x1, #24] ldr w2, [x19, #20] ldr w3, [x19] bl _fz_make_irect mov x2, x0 ldp w4, w3, [x19, #12] mov x0, x20 mov x1, x21 bl _fz_new_pixmap_with_bbox mov x20, x0 ldr w0, [x0, #8] ldr w1, [x19, #8] ldp w9, w8, [x20] mul w2, w9, w8 bl _memcpy mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/fitz/extr_pixmap.c_fz_clone_pixmap.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rt2661_mcu_wakeup _rt2661_mcu_wakeup: ## @rt2661_mcu_wakeup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _RT2661_MAC_CSR11@GOTPCREL(%rip), %rax movl (%rax), %esi movl $327680, %edx ## imm = 0x50000 callq _RAL_WRITE movq _RT2661_SOFT_RESET_CSR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $7, %edx callq _RAL_WRITE movq _RT2661_IO_CNTL_CSR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $24, %edx callq _RAL_WRITE movq _RT2661_PCI_USEC_CSR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $32, %edx callq _RAL_WRITE movq _RT2661_MCU_CMD_WAKEUP@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx addq $8, %rsp popq %rbx popq %rbp jmp _rt2661_tx_cmd ## TAILCALL .cfi_endproc ## -- End function .comm _RT2661_MAC_CSR11,4,2 ## @RT2661_MAC_CSR11 .comm _RT2661_SOFT_RESET_CSR,4,2 ## @RT2661_SOFT_RESET_CSR .comm _RT2661_IO_CNTL_CSR,4,2 ## @RT2661_IO_CNTL_CSR .comm _RT2661_PCI_USEC_CSR,4,2 ## @RT2661_PCI_USEC_CSR .comm _RT2661_MCU_CMD_WAKEUP,4,2 ## @RT2661_MCU_CMD_WAKEUP .no_dead_strip _rt2661_mcu_wakeup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rt2661_mcu_wakeup _rt2661_mcu_wakeup: ; @rt2661_mcu_wakeup .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _RT2661_MAC_CSR11@GOTPAGE Lloh1: ldr x8, [x8, _RT2661_MAC_CSR11@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #327680 bl _RAL_WRITE Lloh3: adrp x8, _RT2661_SOFT_RESET_CSR@GOTPAGE Lloh4: ldr x8, [x8, _RT2661_SOFT_RESET_CSR@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 mov w2, #7 bl _RAL_WRITE Lloh6: adrp x8, _RT2661_IO_CNTL_CSR@GOTPAGE Lloh7: ldr x8, [x8, _RT2661_IO_CNTL_CSR@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x19 mov w2, #24 bl _RAL_WRITE Lloh9: adrp x8, _RT2661_PCI_USEC_CSR@GOTPAGE Lloh10: ldr x8, [x8, _RT2661_PCI_USEC_CSR@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov x0, x19 mov w2, #32 bl _RAL_WRITE Lloh12: adrp x8, _RT2661_MCU_CMD_WAKEUP@GOTPAGE Lloh13: ldr x8, [x8, _RT2661_MCU_CMD_WAKEUP@GOTPAGEOFF] Lloh14: ldr w1, [x8] mov x0, x19 mov w2, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _rt2661_tx_cmd .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RT2661_MAC_CSR11,4,2 ; @RT2661_MAC_CSR11 .comm _RT2661_SOFT_RESET_CSR,4,2 ; @RT2661_SOFT_RESET_CSR .comm _RT2661_IO_CNTL_CSR,4,2 ; @RT2661_IO_CNTL_CSR .comm _RT2661_PCI_USEC_CSR,4,2 ; @RT2661_PCI_USEC_CSR .comm _RT2661_MCU_CMD_WAKEUP,4,2 ; @RT2661_MCU_CMD_WAKEUP .no_dead_strip _rt2661_mcu_wakeup .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ral/extr_rt2661.c_rt2661_mcu_wakeup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function autofs_dev_ioctl_catatonic _autofs_dev_ioctl_catatonic: ## @autofs_dev_ioctl_catatonic .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdi callq _autofs_catatonic_mode xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _autofs_dev_ioctl_catatonic .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function autofs_dev_ioctl_catatonic _autofs_dev_ioctl_catatonic: ; @autofs_dev_ioctl_catatonic .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x0, x1 bl _autofs_catatonic_mode mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _autofs_dev_ioctl_catatonic .subsections_via_symbols
AnghaBench/linux/fs/autofs/extr_dev-ioctl.c_autofs_dev_ioctl_catatonic.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 callq _test_dnssec_canonicalize 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: 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 _test_dnssec_canonicalize mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/systemd/src/resolve/extr_test-dnssec.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -28(%rbp), %rsi leaq -24(%rbp), %rdx leaq -20(%rbp), %rcx xorl %eax, %eax callq _scanf movl -28(%rbp), %edi leal -50(%rdi), %eax cmpl $150, %eax ja LBB0_18 ## %bb.1: movl -24(%rbp), %edx cmpl $50, %edx jl LBB0_18 ## %bb.2: cmpl $200, %edx jg LBB0_18 ## %bb.3: movl -20(%rbp), %eax cmpl $50, %eax jl LBB0_18 ## %bb.4: cmpl $200, %eax jg LBB0_18 ## %bb.5: cmpl %edx, %edi sete %cl xorl %esi, %esi cmpl %eax, %edi setne %sil sete %bl andb %cl, %bl xorl %r14d, %r14d cmpl %eax, %edx setne %r14b sete %cl andb %bl, %cl movzbl %cl, %ebx leal 1(%rbx), %ecx cmpl %edx, %edi cmovel %ebx, %ecx jbe LBB0_6 ## %bb.7: movl %edi, -24(%rbp) movl %edx, -28(%rbp) movl %edi, %r8d jmp LBB0_8 LBB0_18: leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_19 LBB0_6: movl %edx, %r8d movl %edi, %edx LBB0_8: addl %esi, %r14d cmpl %eax, %edx jbe LBB0_9 ## %bb.10: movl %edx, -20(%rbp) movl %eax, -28(%rbp) movl %eax, %esi jmp LBB0_11 LBB0_9: movl %edx, %esi movl %eax, %edx LBB0_11: addl %ecx, %r14d cmpl %edx, %r8d jbe LBB0_12 ## %bb.13: movl %r8d, -20(%rbp) movl %edx, -24(%rbp) movl %r8d, %ecx jmp LBB0_14 LBB0_12: movl %edx, %ecx movl %r8d, %edx LBB0_14: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf cmpl $1, %r14d jne LBB0_17 ## %bb.15: leaq L_.str.3(%rip), %rdi movl $1, %esi jmp LBB0_16 LBB0_17: leaq L_.str.4(%rip), %rdi movl %r14d, %esi LBB0_16: xorl %eax, %eax callq _printf LBB0_19: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unesite tri broja: " L_.str.1: ## @.str.1 .asciz "%d %d %d" L_.str.2: ## @.str.2 .asciz "Brojevi poredani po velicini glase: %d,%d,%d\n" L_.str.3: ## @.str.3 .asciz "Unesen je %d razlicit broj" L_.str.4: ## @.str.4 .asciz "Unesena su %d razlicita broja" L_.str.5: ## @.str.5 .asciz "Svi brojevi nisu iz intervala 50 do 200" .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 x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #28 str x8, [sp, #16] sub x8, x29, #24 sub x9, x29, #20 stp x9, x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w9, [x29, #-20] sub w8, w9, #50 cmp w8, #150 b.hi LBB0_8 ; %bb.1: ldur w8, [x29, #-24] cmp w8, #50 b.lt LBB0_8 ; %bb.2: cmp w8, #200 b.gt LBB0_8 ; %bb.3: ldur w10, [x29, #-28] cmp w10, #50 b.lt LBB0_8 ; %bb.4: cmp w10, #200 b.gt LBB0_8 ; %bb.5: cmp w9, w8 cset w11, eq cmp w9, w10 cset w12, ne cset w13, eq and w13, w11, w13 cmp w8, w10 cset w14, eq cinc w11, w12, ne ands w12, w13, w14 mov w13, #1 cinc w13, w13, ne cmp w9, w8 csel w13, w12, w13, eq b.ls LBB0_9 ; %bb.6: stp w9, w8, [x29, #-24] mov x12, x9 cmp w8, w10 b.hi LBB0_10 LBB0_7: mov x9, x8 mov x8, x10 b LBB0_11 LBB0_8: Lloh4: adrp x0, l_.str.5@PAGE Lloh5: add x0, x0, l_.str.5@PAGEOFF b LBB0_17 LBB0_9: mov x12, x8 mov x8, x9 cmp w8, w10 b.ls LBB0_7 LBB0_10: stur w8, [x29, #-28] stur w10, [x29, #-20] mov x9, x10 LBB0_11: add w19, w11, w13 cmp w12, w8 b.ls LBB0_13 ; %bb.12: stp w12, w8, [x29, #-28] mov x10, x12 b LBB0_14 LBB0_13: mov x10, x8 mov x8, x12 LBB0_14: stp x8, x10, [sp, #8] str x9, [sp] Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _printf cmp w19, #1 b.ne LBB0_16 ; %bb.15: mov w8, #1 str x8, [sp] Lloh8: adrp x0, l_.str.3@PAGE Lloh9: add x0, x0, l_.str.3@PAGEOFF b LBB0_17 LBB0_16: str x19, [sp] Lloh10: adrp x0, l_.str.4@PAGE Lloh11: add x0, x0, l_.str.4@PAGEOFF LBB0_17: bl _printf mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unesite tri broja: " l_.str.1: ; @.str.1 .asciz "%d %d %d" l_.str.2: ; @.str.2 .asciz "Brojevi poredani po velicini glase: %d,%d,%d\n" l_.str.3: ; @.str.3 .asciz "Unesen je %d razlicit broj" l_.str.4: ; @.str.4 .asciz "Unesena su %d razlicita broja" l_.str.5: ; @.str.5 .asciz "Svi brojevi nisu iz intervala 50 do 200" .subsections_via_symbols
the_stack_data/643017.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTD_calloc ## -- Begin function ZSTD_calloc .p2align 4, 0x90 _ZSTD_calloc: ## @ZSTD_calloc .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 testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %rsi, %rax movl %edx, %edi movq %rbx, %rsi callq *%rax movq %rax, %r14 movq %rax, %rdi xorl %esi, %esi movq %rbx, %rdx callq _memset movq %r14, %rax popq %rbx popq %r14 popq %rbp retq LBB0_2: movl $1, %edi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _calloc ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTD_calloc ; -- Begin function ZSTD_calloc .p2align 2 _ZSTD_calloc: ; @ZSTD_calloc .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 cbz x1, LBB0_2 ; %bb.1: mov x8, x1 mov x0, x2 mov x1, x19 blr x8 mov x20, x0 mov w1, #0 mov x2, x19 bl _memset mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: mov w0, #1 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _calloc .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/borg/src/borg/algorithms/zstd/lib/common/extr_zstd_common.c_ZSTD_calloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function SetNodeState _SetNodeState: ## @SetNodeState .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 callq _FindWorkerNodeAnyCluster movq %rax, %r15 movq _Anum_pg_dist_node_isactive@GOTPCREL(%rip), %rax movl (%rax), %ebx movl %r14d, %edi callq _BoolGetDatum movq %r15, %rdi movl %ebx, %esi movl %eax, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _SetWorkerColumn ## TAILCALL .cfi_endproc ## -- End function .comm _Anum_pg_dist_node_isactive,4,2 ## @Anum_pg_dist_node_isactive .no_dead_strip _SetNodeState .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function SetNodeState _SetNodeState: ; @SetNodeState .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 bl _FindWorkerNodeAnyCluster mov x20, x0 Lloh0: adrp x8, _Anum_pg_dist_node_isactive@GOTPAGE Lloh1: ldr x8, [x8, _Anum_pg_dist_node_isactive@GOTPAGEOFF] Lloh2: ldr w21, [x8] mov x0, x19 bl _BoolGetDatum mov x2, x0 mov x0, x20 mov x1, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _SetWorkerColumn .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _Anum_pg_dist_node_isactive,4,2 ; @Anum_pg_dist_node_isactive .no_dead_strip _SetNodeState .subsections_via_symbols
AnghaBench/citus/src/backend/distributed/utils/extr_node_metadata.c_SetNodeState.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mediaVetor ## -- Begin function mediaVetor .p2align 4, 0x90 _mediaVetor: ## @mediaVetor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movl %edi, %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 testl %ebx, %ebx je LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 jmp LBB0_1 LBB0_2: leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_4 ## %bb.3: xorl %eax, %eax leaq -16(%rbp), %rsp popq %rbx popq %r14 popq %rbp retq LBB0_4: callq ___stack_chk_fail .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 subq $16, %rsp leaq L_str.4(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movl -4(%rbp), %edi callq _mediaVetor 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.2: ## @.str.2 .asciz "Media: %i " L_str: ## @str .asciz "Digite aqui o n\303\272mero logo: " L_str.4: ## @str.4 .asciz "Digite aqui o n\303\272mero: " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mediaVetor ; -- Begin function mediaVetor .p2align 2 _mediaVetor: ; @mediaVetor .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 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, #-24] mov w8, w0 lsl x8, x8, #2 mov x9, x8 Lloh3: adrp x16, ___chkstk_darwin@GOTPAGE Lloh4: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x19, x9, x8 mov sp, x19 cbz w0, LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 b LBB0_1 LBB0_2: Lloh5: adrp x0, l_str@PAGE Lloh6: add x0, x0, l_str@PAGEOFF bl _puts str x19, [sp, #-16]! Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF bl _scanf add sp, sp, #16 sub sp, sp, #16 Lloh9: adrp x0, l_.str.2@PAGE Lloh10: add x0, x0, l_.str.2@PAGEOFF bl _printf add sp, sp, #16 ldur x8, [x29, #-24] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_4 ; %bb.3: mov w0, #0 sub sp, x29, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .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 Lloh14: adrp x0, l_str.4@PAGE Lloh15: add x0, x0, l_str.4@PAGEOFF bl _puts sub x8, x29, #4 str x8, [sp] Lloh16: adrp x0, l_.str.1@PAGE Lloh17: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur w0, [x29, #-4] bl _mediaVetor mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Media: %i " l_str: ; @str .asciz "Digite aqui o n\303\272mero logo: " l_str.4: ; @str.4 .asciz "Digite aqui o n\303\272mero: " .subsections_via_symbols
the_stack_data/31386981.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function EncodeVideo _EncodeVideo: ## @EncodeVideo .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 _VLC_UNUSED movq %rbx, %rdi callq _VLC_UNUSED xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _EncodeVideo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function EncodeVideo _EncodeVideo: ; @EncodeVideo .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 _VLC_UNUSED mov x0, x19 bl _VLC_UNUSED mov x0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _EncodeVideo .subsections_via_symbols
AnghaBench/vlc/modules/codec/extr_edummy.c_EncodeVideo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gl_save_CopyTexImage2D ## -- Begin function gl_save_CopyTexImage2D .p2align 4, 0x90 _gl_save_CopyTexImage2D: ## @gl_save_CopyTexImage2D .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -72(%rbp) ## 8-byte Spill movq %r8, %r12 movq %rcx, %r13 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movq 32(%rbp), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq 24(%rbp), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq 16(%rbp), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq _OPCODE_COPY_TEX_IMAGE2D@GOTPCREL(%rip), %rax movl (%rax), %esi movl $8, %edx callq _alloc_instruction movq -72(%rbp), %r9 ## 8-byte Reload testq %rax, %rax je LBB0_2 ## %bb.1: movq %r15, 24(%rax) movq %rbx, 32(%rax) movq %r13, 56(%rax) movq %r12, 64(%rax) movq %r9, 80(%rax) movq -48(%rbp), %rdi ## 8-byte Reload movq %rdi, 96(%rax) movq -56(%rbp), %rdi ## 8-byte Reload movq %rdi, 112(%rax) movq -64(%rbp), %rdi ## 8-byte Reload movq %rdi, 128(%rax) LBB0_2: cmpq $0, 8(%r14) je LBB0_3 ## %bb.4: movq (%r14), %rax movq %r14, %rdi movq %r15, %rsi movq %rbx, %rdx movq %r13, %rcx movq %r12, %r8 addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL LBB0_3: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OPCODE_COPY_TEX_IMAGE2D,4,2 ## @OPCODE_COPY_TEX_IMAGE2D .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gl_save_CopyTexImage2D ; -- Begin function gl_save_CopyTexImage2D .p2align 2 _gl_save_CopyTexImage2D: ; @gl_save_CopyTexImage2D .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, x7 mov x20, x6 mov x21, x5 mov x22, x4 mov x23, x3 mov x24, x2 mov x25, x1 mov x26, x0 ldr x27, [x29, #16] Lloh0: adrp x8, _OPCODE_COPY_TEX_IMAGE2D@GOTPAGE Lloh1: ldr x8, [x8, _OPCODE_COPY_TEX_IMAGE2D@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #8 bl _alloc_instruction cbz x0, LBB0_2 ; %bb.1: stp x25, x24, [x0, #24] stp x23, x22, [x0, #56] str x21, [x0, #80] str x20, [x0, #96] str x19, [x0, #112] str x27, [x0, #128] LBB0_2: ldr x8, [x26, #8] cbz x8, LBB0_4 ; %bb.3: ldr x8, [x26] str x27, [x29, #16] mov x0, x26 mov x1, x25 mov x2, x24 mov x3, x23 mov x4, x22 mov x5, x21 mov x6, x20 mov x7, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload br x8 LBB0_4: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _OPCODE_COPY_TEX_IMAGE2D,4,2 ; @OPCODE_COPY_TEX_IMAGE2D .subsections_via_symbols
AnghaBench/reactos/dll/opengl/mesa/extr_dlist.c_gl_save_CopyTexImage2D.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function show_wlan _show_wlan: ## @show_wlan .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 leaq -12(%rbp), %rdi xorl %esi, %esi callq _get_wireless_state testl %eax, %eax js LBB0_2 ## %bb.1: movl -12(%rbp), %edx leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _sprintf LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%i\n" .no_dead_strip _show_wlan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function show_wlan _show_wlan: ; @show_wlan .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, x2 add x0, sp, #12 mov x1, #0 bl _get_wireless_state tbnz w0, #31, LBB0_2 ; %bb.1: ldr w2, [sp, #12] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _sprintf LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%i\n" .no_dead_strip _show_wlan .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/platform/x86/extr_msi-laptop.c_show_wlan.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function nvc0_graph_trap_intr _nvc0_graph_trap_intr: ## @nvc0_graph_trap_intr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl $4194568, %esi ## imm = 0x400108 callq _nv_rd32 movl %eax, %r14d movq %rbx, %rdi movl $4210688, %esi ## imm = 0x404000 callq _nv_rd32 leaq L_.str(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4210688, %esi ## imm = 0x404000 movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $1, %edx callq _nv_wr32 testb $2, %r14b jne LBB0_2 ## %bb.1: andl $-2, %r14d testb $8, %r14b jne LBB0_4 jmp LBB0_5 LBB0_2: movq %rbx, %rdi movl $4212224, %esi ## imm = 0x404600 callq _nv_rd32 leaq L_.str.1(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4212224, %esi ## imm = 0x404600 movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $2, %edx callq _nv_wr32 andl $-4, %r14d testb $8, %r14b je LBB0_5 LBB0_4: movq %rbx, %rdi movl $4227120, %esi ## imm = 0x408030 callq _nv_rd32 leaq L_.str.2(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4227120, %esi ## imm = 0x408030 movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $8, %edx callq _nv_wr32 andl $-10, %r14d LBB0_5: testb $16, %r14b jne LBB0_6 ## %bb.7: testb $64, %r14b jne LBB0_8 LBB0_9: testb %r14b, %r14b js LBB0_10 LBB0_11: testl $16777216, %r14d ## imm = 0x1000000 jne LBB0_12 LBB0_19: testl $33554432, %r14d ## imm = 0x2000000 jne LBB0_20 LBB0_24: testl %r14d, %r14d je LBB0_25 LBB0_26: leaq L_.str.7(%rip), %rsi movq %rbx, %rdi movl %r14d, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl %r14d, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _nv_wr32 ## TAILCALL LBB0_6: movq %rbx, %rdi movl $4216896, %esi ## imm = 0x405840 callq _nv_rd32 leaq L_.str.3(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4216896, %esi ## imm = 0x405840 movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $16, %edx callq _nv_wr32 andl $-17, %r14d testb $64, %r14b je LBB0_9 LBB0_8: movq %rbx, %rdi movl $4218908, %esi ## imm = 0x40601C callq _nv_rd32 leaq L_.str.4(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4218908, %esi ## imm = 0x40601C movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $64, %edx callq _nv_wr32 andl $-65, %r14d testb %r14b, %r14b jns LBB0_11 LBB0_10: movq %rbx, %rdi movl $4211856, %esi ## imm = 0x404490 callq _nv_rd32 leaq L_.str.5(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _nv_error movq %rbx, %rdi movl $4211856, %esi ## imm = 0x404490 movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $128, %edx callq _nv_wr32 andl $-129, %r14d testl $16777216, %r14d ## imm = 0x1000000 je LBB0_19 LBB0_12: movq %rbx, %rdi movl $4194584, %esi ## imm = 0x400118 callq _nv_rd32 testl %eax, %eax je LBB0_18 ## %bb.13: movl %eax, %r15d xorl %r12d, %r12d jmp LBB0_14 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_14 Depth=1 decl %r12d testl %r15d, %r15d je LBB0_18 LBB0_14: ## =>This Inner Loop Header: Depth=1 cmpl (%rbx), %r12d jge LBB0_18 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movl $1, %r13d movl %r12d, %ecx shll %cl, %r13d btl %r12d, %r15d jae LBB0_17 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movq %rbx, %rdi movl %r12d, %esi callq _nvc0_graph_trap_gpc movq %rbx, %rdi movl $4194584, %esi ## imm = 0x400118 movl %r13d, %edx callq _nv_wr32 notl %r13d andl %r13d, %r15d jmp LBB0_17 LBB0_18: movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $16777216, %edx ## imm = 0x1000000 callq _nv_wr32 andl $-16777217, %r14d ## imm = 0xFEFFFFFF testl $33554432, %r14d ## imm = 0x2000000 je LBB0_24 LBB0_20: cmpl $0, 4(%rbx) jle LBB0_23 ## %bb.21: leaq L_.str.6(%rip), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movl %r12d, %edi movl $112, %esi callq _ROP_UNIT movq %rbx, %rdi movl %eax, %esi callq _nv_rd32 movl %eax, %r13d movl %r12d, %edi movl $324, %esi ## imm = 0x144 callq _ROP_UNIT movq %rbx, %rdi movl %eax, %esi callq _nv_rd32 movq %rbx, %rdi movq %r15, %rsi movl %r12d, %edx movl %r13d, %ecx movl %eax, %r8d xorl %eax, %eax callq _nv_error movl %r12d, %edi movl $112, %esi callq _ROP_UNIT movq %rbx, %rdi movl %eax, %esi movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 movl %r12d, %edi movl $324, %esi ## imm = 0x144 callq _ROP_UNIT movq %rbx, %rdi movl %eax, %esi movl $-1073741824, %edx ## imm = 0xC0000000 callq _nv_wr32 incl %r12d cmpl 4(%rbx), %r12d jl LBB0_22 LBB0_23: movq %rbx, %rdi movl $4194568, %esi ## imm = 0x400108 movl $33554432, %edx ## imm = 0x2000000 callq _nv_wr32 andl $-33554433, %r14d ## imm = 0xFDFFFFFF testl %r14d, %r14d jne LBB0_26 LBB0_25: 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 "DISPATCH 0x%08x\n" L_.str.1: ## @.str.1 .asciz "M2MF 0x%08x\n" L_.str.2: ## @.str.2 .asciz "CCACHE 0x%08x\n" L_.str.3: ## @.str.3 .asciz "SHADER 0x%08x\n" L_.str.4: ## @.str.4 .asciz "UNK6 0x%08x\n" L_.str.5: ## @.str.5 .asciz "MACRO 0x%08x\n" L_.str.6: ## @.str.6 .asciz "ROP%d 0x%08x 0x%08x\n" L_.str.7: ## @.str.7 .asciz "TRAP UNHANDLED 0x%08x\n" .no_dead_strip _nvc0_graph_trap_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function nvc0_graph_trap_intr _nvc0_graph_trap_intr: ; @nvc0_graph_trap_intr .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 mov w21, #16384 ; =0x4000 movk w21, #64, lsl #16 mov w24, #264 ; =0x108 movk w24, #64, lsl #16 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 bl _nv_rd32 mov x20, x0 mov x0, x19 mov w1, #16384 ; =0x4000 movk w1, #64, lsl #16 bl _nv_rd32 mov x2, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _nv_error mov x0, x19 mov w1, #16384 ; =0x4000 movk w1, #64, lsl #16 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #1 ; =0x1 bl _nv_wr32 tbnz w20, #1, LBB0_2 ; %bb.1: and w20, w20, #0xfffffffe tbnz w20, #3, LBB0_3 b LBB0_4 LBB0_2: add w1, w21, #1536 mov x0, x19 bl _nv_rd32 mov x2, x0 Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _nv_error add w1, w21, #1536 mov x0, x19 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #2 ; =0x2 bl _nv_wr32 and w20, w20, #0xfffffffc tbz w20, #3, LBB0_4 LBB0_3: mov x0, x19 mov w1, #32816 ; =0x8030 movk w1, #64, lsl #16 bl _nv_rd32 mov x2, x0 Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _nv_error mov x0, x19 mov w1, #32816 ; =0x8030 movk w1, #64, lsl #16 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #8 ; =0x8 bl _nv_wr32 mov w8, #-10 ; =0xfffffff6 and w20, w20, w8 LBB0_4: mov w22, #22592 ; =0x5840 movk w22, #64, lsl #16 tbnz w20, #4, LBB0_11 ; %bb.5: tbnz w20, #6, LBB0_12 LBB0_6: tbnz w20, #7, LBB0_13 LBB0_7: tbnz w20, #24, LBB0_14 LBB0_8: tbnz w20, #25, LBB0_21 LBB0_9: cbz w20, LBB0_25 LBB0_10: Lloh6: adrp x1, l_.str.7@PAGE Lloh7: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 mov x2, x20 bl _nv_error mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov x2, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 b _nv_wr32 LBB0_11: mov x0, x19 mov w1, #22592 ; =0x5840 movk w1, #64, lsl #16 bl _nv_rd32 mov x2, x0 Lloh8: adrp x1, l_.str.3@PAGE Lloh9: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _nv_error mov x0, x19 mov w1, #22592 ; =0x5840 movk w1, #64, lsl #16 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #16 ; =0x10 bl _nv_wr32 and w20, w20, #0xffffffef tbz w20, #6, LBB0_6 LBB0_12: add w1, w22, #2012 mov x0, x19 bl _nv_rd32 mov x2, x0 Lloh10: adrp x1, l_.str.4@PAGE Lloh11: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _nv_error add w1, w22, #2012 mov x0, x19 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #64 ; =0x40 bl _nv_wr32 and w20, w20, #0xffffffbf tbz w20, #7, LBB0_7 LBB0_13: add w1, w21, #1168 mov x0, x19 bl _nv_rd32 mov x2, x0 Lloh12: adrp x1, l_.str.5@PAGE Lloh13: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _nv_error add w1, w21, #1168 mov x0, x19 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #128 ; =0x80 bl _nv_wr32 and w20, w20, #0xffffff7f tbz w20, #24, LBB0_8 LBB0_14: add w1, w24, #16 mov x0, x19 bl _nv_rd32 cbz w0, LBB0_20 ; %bb.15: mov x21, x0 mov w22, #0 ; =0x0 mov w25, #1 ; =0x1 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 sub w22, w22, #1 cbz w21, LBB0_20 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cmp w22, w8 b.ge LBB0_20 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 lsl w23, w25, w22 tst w23, w21 b.eq LBB0_16 ; %bb.19: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov x1, x22 bl _nvc0_graph_trap_gpc add w1, w24, #16 mov x0, x19 mov x2, x23 bl _nv_wr32 bic w21, w21, w23 b LBB0_16 LBB0_20: mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #16777216 ; =0x1000000 bl _nv_wr32 and w20, w20, #0xfeffffff tbz w20, #25, LBB0_9 LBB0_21: ldr w8, [x19, #4] cmp w8, #1 b.lt LBB0_24 ; %bb.22: mov w21, #0 ; =0x0 Lloh14: adrp x22, l_.str.6@PAGE Lloh15: add x22, x22, l_.str.6@PAGEOFF LBB0_23: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov w1, #112 ; =0x70 bl _ROP_UNIT mov x1, x0 mov x0, x19 bl _nv_rd32 mov x23, x0 mov x0, x21 mov w1, #324 ; =0x144 bl _ROP_UNIT mov x1, x0 mov x0, x19 bl _nv_rd32 ; kill: def $w0 killed $w0 def $x0 stp x23, x0, [sp] mov x0, x19 mov x1, x22 mov x2, x21 bl _nv_error mov x0, x21 mov w1, #112 ; =0x70 bl _ROP_UNIT mov x1, x0 mov x0, x19 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 mov x0, x21 mov w1, #324 ; =0x144 bl _ROP_UNIT mov x1, x0 mov x0, x19 mov w2, #-1073741824 ; =0xc0000000 bl _nv_wr32 add w21, w21, #1 ldr w8, [x19, #4] cmp w21, w8 b.lt LBB0_23 LBB0_24: mov x0, x19 mov w1, #264 ; =0x108 movk w1, #64, lsl #16 mov w2, #33554432 ; =0x2000000 bl _nv_wr32 and w20, w20, #0xfdffffff cbnz w20, LBB0_10 LBB0_25: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DISPATCH 0x%08x\n" l_.str.1: ; @.str.1 .asciz "M2MF 0x%08x\n" l_.str.2: ; @.str.2 .asciz "CCACHE 0x%08x\n" l_.str.3: ; @.str.3 .asciz "SHADER 0x%08x\n" l_.str.4: ; @.str.4 .asciz "UNK6 0x%08x\n" l_.str.5: ; @.str.5 .asciz "MACRO 0x%08x\n" l_.str.6: ; @.str.6 .asciz "ROP%d 0x%08x 0x%08x\n" l_.str.7: ; @.str.7 .asciz "TRAP UNHANDLED 0x%08x\n" .no_dead_strip _nvc0_graph_trap_intr .subsections_via_symbols
assembly_file_74369.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mvebu_sei_cp_domain_alloc _mvebu_sei_cp_domain_alloc: ## @mvebu_sei_cp_domain_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 cmpl $1, %edx jne LBB0_1 ## %bb.2: movq 8(%rdi), %rbx leaq 8(%rbx), %r14 movq %r14, %rdi callq _mutex_lock movl 12(%rbx), %edi movq (%rbx), %rax movq (%rax), %rsi callq _find_first_zero_bit movq (%rbx), %rcx cmpq (%rcx), %rax jae LBB0_4 ## %bb.3: movl 12(%rbx), %esi movq %rax, %rdi callq _set_bit LBB0_4: movq %r14, %rdi callq _mutex_unlock movq _ENOSPC@GOTPCREL(%rip), %rcx jmp LBB0_5 LBB0_1: movq _ENOTSUPP@GOTPCREL(%rip), %rcx LBB0_5: xorl %eax, %eax subl (%rcx), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOTSUPP,4,2 ## @ENOTSUPP .comm _ENOSPC,4,2 ## @ENOSPC .comm _mvebu_sei_cp_irq_chip,4,2 ## @mvebu_sei_cp_irq_chip .comm _handle_edge_irq,4,2 ## @handle_edge_irq .no_dead_strip _mvebu_sei_cp_domain_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mvebu_sei_cp_domain_alloc _mvebu_sei_cp_domain_alloc: ; @mvebu_sei_cp_domain_alloc .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 w2, #1 b.ne LBB0_4 ; %bb.1: ldr x20, [x0, #8] add x19, x20, #8 mov x0, x19 bl _mutex_lock ldr w0, [x20, #12] ldr x8, [x20] ldr x1, [x8] bl _find_first_zero_bit ldr x8, [x20] ldr x8, [x8] cmp x0, x8 b.hs LBB0_3 ; %bb.2: ldr w1, [x20, #12] bl _set_bit LBB0_3: mov x0, x19 bl _mutex_unlock Lloh0: adrp x8, _ENOSPC@GOTPAGE Lloh1: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh2: adrp x8, _ENOTSUPP@GOTPAGE Lloh3: ldr x8, [x8, _ENOTSUPP@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w0, w8 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 _ENOTSUPP,4,2 ; @ENOTSUPP .comm _ENOSPC,4,2 ; @ENOSPC .comm _mvebu_sei_cp_irq_chip,4,2 ; @mvebu_sei_cp_irq_chip .comm _handle_edge_irq,4,2 ; @handle_edge_irq .no_dead_strip _mvebu_sei_cp_domain_alloc .subsections_via_symbols
AnghaBench/linux/drivers/irqchip/extr_irq-mvebu-sei.c_mvebu_sei_cp_domain_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _seaf_fs_manager_verify_seafile ## -- Begin function seaf_fs_manager_verify_seafile .p2align 4, 0x90 _seaf_fs_manager_verify_seafile: ## @seaf_fs_manager_verify_seafile .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -64(%rbp) ## 8-byte Spill movl %r8d, %r14d movq %rcx, %rbx movl %edx, %r12d movq %rsi, %r13 movq %rdi, %r15 movq _EMPTY_SHA1@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rcx, %rdi movl $40, %edx callq _memcmp testq %rax, %rax je LBB0_3 ## %bb.1: movl (%r15), %edi leaq -56(%rbp), %r8 leaq -44(%rbp), %r9 movq %r13, %rsi movl %r12d, %edx movq %rbx, %rcx callq _seaf_obj_store_read_obj testq %rax, %rax js LBB0_4 ## %bb.2: movq -56(%rbp), %rsi movl -44(%rbp), %edx xorl %r8d, %r8d testl %r12d, %r12d setg %r8b movq %rbx, %rdi movl %r14d, %ecx callq _verify_seafile movl %eax, %ebx movq -56(%rbp), %rdi callq _g_free jmp LBB0_6 LBB0_3: movq _TRUE@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_4: leaq L_.str(%rip), %rdi movq %r13, %rsi movq %rbx, %rdx callq _seaf_warning movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movq -64(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) movq _FALSE@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %ebx LBB0_6: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EMPTY_SHA1,4,2 ## @EMPTY_SHA1 .comm _TRUE,4,2 ## @TRUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[fs mgr] Failed to read file %s:%s.\n" .comm _FALSE,4,2 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _seaf_fs_manager_verify_seafile ; -- Begin function seaf_fs_manager_verify_seafile .p2align 2 _seaf_fs_manager_verify_seafile: ; @seaf_fs_manager_verify_seafile .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, x5 mov x21, x4 mov x20, x3 mov x23, x2 mov x22, x1 mov x24, x0 Lloh0: adrp x8, _EMPTY_SHA1@GOTPAGE Lloh1: ldr x8, [x8, _EMPTY_SHA1@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x3 mov w2, #40 bl _memcmp cbz x0, LBB0_3 ; %bb.1: ldr w0, [x24] add x4, sp, #8 add x5, sp, #4 mov x1, x22 mov x2, x23 mov x3, x20 bl _seaf_obj_store_read_obj tbnz x0, #63, LBB0_4 ; %bb.2: ldr x1, [sp, #8] ldr w2, [sp, #4] cmp w23, #0 cset w4, gt mov x0, x20 mov x3, x21 bl _verify_seafile mov x19, x0 ldr x0, [sp, #8] bl _g_free b LBB0_6 LBB0_3: Lloh3: adrp x8, _TRUE@GOTPAGE Lloh4: ldr x8, [x8, _TRUE@GOTPAGEOFF] b LBB0_5 LBB0_4: Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov x1, x22 mov x2, x20 bl _seaf_warning Lloh7: adrp x8, _TRUE@GOTPAGE Lloh8: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh9: ldr w8, [x8] str w8, [x19] Lloh10: adrp x8, _FALSE@GOTPAGE Lloh11: ldr x8, [x8, _FALSE@GOTPAGEOFF] LBB0_5: ldr w19, [x8] LBB0_6: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _EMPTY_SHA1,4,2 ; @EMPTY_SHA1 .comm _TRUE,4,2 ; @TRUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[fs mgr] Failed to read file %s:%s.\n" .comm _FALSE,4,2 ; @FALSE .subsections_via_symbols
AnghaBench/seafile/common/extr_fs-mgr.c_seaf_fs_manager_verify_seafile.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function max2820_rf_calc_rssi _max2820_rf_calc_rssi: ## @max2820_rf_calc_rssi .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax sarl %eax leal 76(%rax), %ecx addl $66, %eax testb $1, %dil cmovnel %ecx, %eax movl %eax, %ecx shll $6, %ecx addl %eax, %ecx movslq %ecx, %rax imulq $1374389535, %rax, %rax ## imm = 0x51EB851F movq %rax, %rcx shrq $63, %rcx sarq $37, %rax addl %ecx, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _max2820_rf_calc_rssi .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function max2820_rf_calc_rssi _max2820_rf_calc_rssi: ; @max2820_rf_calc_rssi .cfi_startproc ; %bb.0: tst w0, #0x1 mov w8, #76 mov w9, #66 csel w8, w9, w8, eq add w8, w8, w0, asr #1 add w8, w8, w8, lsl #6 mov w9, #34079 movk w9, #20971, lsl #16 smull x8, w8, w9 lsr x9, x8, #63 asr x8, x8, #37 add w0, w8, w9 ret .cfi_endproc ; -- End function .no_dead_strip _max2820_rf_calc_rssi .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/extr_max2820.c_max2820_rf_calc_rssi.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cb_pcimdas_attach _cb_pcimdas_attach: ## @cb_pcimdas_attach .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movl 24(%rdi), %esi leaq L_.str(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printk movq %r14, %rdi movl $4, %esi callq _alloc_private testq %rax, %rax js LBB0_1 ## %bb.2: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printk movq _PCI_ANY_ID@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, %esi xorl %edx, %edx callq _pci_get_device testq %rax, %rax je LBB0_3 ## %bb.4: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printk movq _EIO@GOTPCREL(%rip), %rax jmp LBB0_5 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 jmp LBB0_3 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_5: subl (%rax), %ebx movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "comedi%d: cb_pcimdas: " .comm _ENOMEM,4,2 ## @ENOMEM L_.str.1: ## @.str.1 .asciz "\n" .comm _PCI_ANY_ID,4,2 ## @PCI_ANY_ID .comm _PCI_VENDOR_ID_COMPUTERBOARDS,8,3 ## @PCI_VENDOR_ID_COMPUTERBOARDS .comm _N_BOARDS,4,2 ## @N_BOARDS .comm _cb_pcimdas_boards,8,3 ## @cb_pcimdas_boards .comm _devpriv,8,3 ## @devpriv L_.str.2: ## @.str.2 .asciz "No supported ComputerBoards/MeasurementComputing card found on requested position\n" .comm _EIO,4,2 ## @EIO .comm _thisboard,8,3 ## @thisboard .comm _COMEDI_SUBD_AI,4,2 ## @COMEDI_SUBD_AI .comm _SDF_READABLE,4,2 ## @SDF_READABLE .comm _SDF_GROUND,4,2 ## @SDF_GROUND .comm _range_unknown,4,2 ## @range_unknown .comm _cb_pcimdas_ai_rinsn,8,3 ## @cb_pcimdas_ai_rinsn .comm _COMEDI_SUBD_AO,4,2 ## @COMEDI_SUBD_AO .comm _SDF_WRITABLE,4,2 ## @SDF_WRITABLE .comm _cb_pcimdas_ao_winsn,4,2 ## @cb_pcimdas_ao_winsn .comm _cb_pcimdas_ao_rinsn,4,2 ## @cb_pcimdas_ao_rinsn .comm _COMEDI_SUBD_UNUSED,4,2 ## @COMEDI_SUBD_UNUSED .no_dead_strip _cb_pcimdas_attach .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cb_pcimdas_attach _cb_pcimdas_attach: ; @cb_pcimdas_attach .cfi_startproc ; %bb.0: sub sp, sp, #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, #24] str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printk mov x0, x19 mov w1, #4 ; =0x4 bl _alloc_private tbnz x0, #63, LBB0_4 ; %bb.1: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printk Lloh4: adrp x8, _PCI_ANY_ID@GOTPAGE Lloh5: ldr x8, [x8, _PCI_ANY_ID@GOTPAGEOFF] Lloh6: ldr w0, [x8] mov x1, x0 mov x2, #0 ; =0x0 bl _pci_get_device cbz x0, LBB0_3 ; %bb.2: Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printk Lloh9: adrp x8, _EIO@GOTPAGE Lloh10: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 b LBB0_3 LBB0_4: Lloh11: adrp x8, _ENOMEM@GOTPAGE Lloh12: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh11, Lloh12 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "comedi%d: cb_pcimdas: " .comm _ENOMEM,4,2 ; @ENOMEM l_.str.1: ; @.str.1 .asciz "\n" .comm _PCI_ANY_ID,4,2 ; @PCI_ANY_ID .comm _PCI_VENDOR_ID_COMPUTERBOARDS,8,3 ; @PCI_VENDOR_ID_COMPUTERBOARDS .comm _N_BOARDS,4,2 ; @N_BOARDS .comm _cb_pcimdas_boards,8,3 ; @cb_pcimdas_boards .comm _devpriv,8,3 ; @devpriv l_.str.2: ; @.str.2 .asciz "No supported ComputerBoards/MeasurementComputing card found on requested position\n" .comm _EIO,4,2 ; @EIO .comm _thisboard,8,3 ; @thisboard .comm _COMEDI_SUBD_AI,4,2 ; @COMEDI_SUBD_AI .comm _SDF_READABLE,4,2 ; @SDF_READABLE .comm _SDF_GROUND,4,2 ; @SDF_GROUND .comm _range_unknown,4,2 ; @range_unknown .comm _cb_pcimdas_ai_rinsn,8,3 ; @cb_pcimdas_ai_rinsn .comm _COMEDI_SUBD_AO,4,2 ; @COMEDI_SUBD_AO .comm _SDF_WRITABLE,4,2 ; @SDF_WRITABLE .comm _cb_pcimdas_ao_winsn,4,2 ; @cb_pcimdas_ao_winsn .comm _cb_pcimdas_ao_rinsn,4,2 ; @cb_pcimdas_ao_rinsn .comm _COMEDI_SUBD_UNUSED,4,2 ; @COMEDI_SUBD_UNUSED .no_dead_strip _cb_pcimdas_attach .subsections_via_symbols
assembly_file_120633.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bcmfb_probe _bcmfb_probe: ## @bcmfb_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _bcmfb_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bcmfb_probe _bcmfb_probe: ; @bcmfb_probe .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _bcmfb_probe .subsections_via_symbols
AnghaBench/freebsd/sys/arm/broadcom/bcm2835/extr_bcm2835_fb.c_bcmfb_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function emu_wr _emu_wr: ## @emu_wr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edx, %eax movl %esi, %edx cmpl $4, %ecx je LBB0_5 ## %bb.1: cmpl $2, %ecx je LBB0_4 ## %bb.2: cmpl $1, %ecx jne LBB0_6 ## %bb.3: movl (%rdi), %esi movl 4(%rdi), %edi movl %eax, %ecx popq %rbp jmp _bus_space_write_1 ## TAILCALL LBB0_5: movl (%rdi), %esi movl 4(%rdi), %edi movl %eax, %ecx popq %rbp jmp _bus_space_write_4 ## TAILCALL LBB0_4: movl (%rdi), %esi movl 4(%rdi), %edi movl %eax, %ecx popq %rbp jmp _bus_space_write_2 ## TAILCALL LBB0_6: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _emu_wr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function emu_wr _emu_wr: ; @emu_wr .cfi_startproc ; %bb.0: mov x8, x2 mov x2, x1 cmp w3, #4 b.eq LBB0_4 ; %bb.1: cmp w3, #2 b.eq LBB0_5 ; %bb.2: cmp w3, #1 b.ne LBB0_6 ; %bb.3: ldp w1, w9, [x0] mov x0, x9 mov x3, x8 b _bus_space_write_1 LBB0_4: ldp w1, w9, [x0] mov x0, x9 mov x3, x8 b _bus_space_write_4 LBB0_5: ldp w1, w9, [x0] mov x0, x9 mov x3, x8 b _bus_space_write_2 LBB0_6: ret .cfi_endproc ; -- End function .no_dead_strip _emu_wr .subsections_via_symbols
AnghaBench/freebsd/sys/dev/sound/pci/extr_emu10k1.c_emu_wr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function yygrowstack _yygrowstack: ## @yygrowstack .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl (%rdi), %r12d testl %r12d, %r12d je LBB0_1 ## %bb.2: movq _YYMAXDEPTH@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl %eax, %r12d jae LBB0_3 ## %bb.4: addl %r12d, %r12d cmpl %eax, %r12d cmovael %eax, %r12d jmp LBB0_5 LBB0_1: movq _YYINITSTACKSIZE@GOTPCREL(%rip), %rax movl (%rax), %r12d LBB0_5: movq 8(%rbx), %r15 movq 56(%rbx), %r13 leal (,%r12,4), %r14d movq %r15, %rdi movl %r14d, %esi callq _realloc testq %rax, %rax je LBB0_3 ## %bb.6: subq %r15, %r13 movq %rax, 8(%rbx) shrq $2, %r13 movslq %r13d, %r15 leaq (%rax,%r15,4), %rax movq %rax, 56(%rbx) movq 48(%rbx), %rdi movl %r14d, %esi callq _realloc testq %rax, %rax je LBB0_3 ## %bb.7: movl %r12d, %ecx movq %rax, 48(%rbx) leaq (%rax,%r15,4), %rax movq %rax, 40(%rbx) movl %r12d, (%rbx) movq 8(%rbx), %rax leaq (%rax,%rcx,4), %rax addq $-4, %rax movq %rax, 16(%rbx) xorl %eax, %eax jmp LBB0_8 LBB0_3: movq _YYENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _YYINITSTACKSIZE,4,2 ## @YYINITSTACKSIZE .comm _YYMAXDEPTH,4,2 ## @YYMAXDEPTH .comm _YYENOMEM,4,2 ## @YYENOMEM .comm _YYPREFIX,8,3 ## @YYPREFIX .comm _stderr,4,2 ## @stderr .comm _yydebug,8,3 ## @yydebug .no_dead_strip _yygrowstack .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function yygrowstack _yygrowstack: ; @yygrowstack .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w8, [x0] cbz w8, LBB0_3 ; %bb.1: Lloh0: adrp x9, _YYMAXDEPTH@GOTPAGE Lloh1: ldr x9, [x9, _YYMAXDEPTH@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w8, w9 b.hs LBB0_7 ; %bb.2: lsl w8, w8, #1 cmp w8, w9 csel w22, w8, w9, lo b LBB0_4 LBB0_3: Lloh3: adrp x8, _YYINITSTACKSIZE@GOTPAGE Lloh4: ldr x8, [x8, _YYINITSTACKSIZE@GOTPAGEOFF] Lloh5: ldr w22, [x8] LBB0_4: ldr x23, [x19, #56] ldr x21, [x19, #8] lsl w20, w22, #2 mov x0, x21 mov x1, x20 bl _realloc cbz x0, LBB0_7 ; %bb.5: sub x21, x23, x21 str x0, [x19, #8] lsr x8, x21, #2 add x8, x0, w8, sxtw #2 str x8, [x19, #56] ldr x0, [x19, #48] mov x1, x20 bl _realloc cbz x0, LBB0_7 ; %bb.6: mov x8, x0 mov w0, #0 ; =0x0 mov w9, w22 sbfx x10, x21, #2, #32 add x10, x8, x10, lsl #2 stp x10, x8, [x19, #40] str w22, [x19] ldr x8, [x19, #8] add x8, x8, x9, lsl #2 sub x8, x8, #4 str x8, [x19, #16] b LBB0_8 LBB0_7: Lloh6: adrp x8, _YYENOMEM@GOTPAGE Lloh7: ldr x8, [x8, _YYENOMEM@GOTPAGEOFF] Lloh8: ldr w0, [x8] LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _YYINITSTACKSIZE,4,2 ; @YYINITSTACKSIZE .comm _YYMAXDEPTH,4,2 ; @YYMAXDEPTH .comm _YYENOMEM,4,2 ; @YYENOMEM .comm _YYPREFIX,8,3 ; @YYPREFIX .comm _stderr,4,2 ; @stderr .comm _yydebug,8,3 ; @yydebug .no_dead_strip _yygrowstack .subsections_via_symbols
assembly_file_82174.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3async_shutdown ## -- Begin function sqlite3async_shutdown .p2align 4, 0x90 _sqlite3async_shutdown: ## @sqlite3async_shutdown .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 _async_vfs@GOTPCREL(%rip), %rbx cmpq $0, (%rbx) je LBB0_2 ## %bb.1: xorl %eax, %eax callq _async_os_shutdown movq %rbx, %rdi callq _sqlite3_vfs_unregister movq $0, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _async_vfs,8,3 ## @async_vfs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3async_shutdown ; -- Begin function sqlite3async_shutdown .p2align 2 _sqlite3async_shutdown: ; @sqlite3async_shutdown .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, _async_vfs@GOTPAGE Lloh1: ldr x19, [x19, _async_vfs@GOTPAGEOFF] ldr x8, [x19] cbz x8, LBB0_2 ; %bb.1: bl _async_os_shutdown mov x0, x19 bl _sqlite3_vfs_unregister str xzr, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _async_vfs,8,3 ; @async_vfs .subsections_via_symbols
AnghaBench/sqlcipher/ext/async/extr_sqlite3async.c_sqlite3async_shutdown.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function verity_io_hints _verity_io_hints: ## @verity_io_hints .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 (%rdi), %rcx movl (%rsi), %esi movb (%rcx), %cl movl $1, %edx shll %cl, %edx cmpl %edx, %esi jge LBB0_2 ## %bb.1: movl %edx, (%rax) movl %edx, %esi LBB0_2: cmpl %edx, 4(%rax) jge LBB0_4 ## %bb.3: movl %edx, 4(%rax) LBB0_4: movq %rax, %rdi popq %rbp jmp _blk_limits_io_min ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _verity_io_hints .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function verity_io_hints _verity_io_hints: ; @verity_io_hints .cfi_startproc ; %bb.0: mov x8, x1 ldr x9, [x0] ldr w1, [x1] ldr w9, [x9] mov w10, #1 lsl w9, w10, w9 cmp w1, w9 b.ge LBB0_2 ; %bb.1: str w9, [x8] mov x1, x9 LBB0_2: ldr w10, [x8, #4] cmp w10, w9 b.ge LBB0_4 ; %bb.3: str w9, [x8, #4] LBB0_4: mov x0, x8 b _blk_limits_io_min .cfi_endproc ; -- End function .no_dead_strip _verity_io_hints .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_dm-verity-target.c_verity_io_hints.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function whc_qset_set_link_ptr _whc_qset_set_link_ptr: ## @whc_qset_set_link_ptr .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 testl %esi, %esi je LBB0_2 ## %bb.1: movq _QH_LINK_PTR_MASK@GOTPCREL(%rip), %rax movq _QH_LINK_T@GOTPCREL(%rip), %rcx movl (%rcx), %ebx orl (%rax), %ebx notl %ebx andl (%r14), %ebx movl %esi, %edi callq _QH_LINK_PTR orl %ebx, %eax jmp LBB0_3 LBB0_2: movq _QH_LINK_T@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_3: movl %eax, (%r14) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _QH_LINK_PTR_MASK,4,2 ## @QH_LINK_PTR_MASK .comm _QH_LINK_T,4,2 ## @QH_LINK_T .no_dead_strip _whc_qset_set_link_ptr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function whc_qset_set_link_ptr _whc_qset_set_link_ptr: ; @whc_qset_set_link_ptr .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 cbz w1, LBB0_2 ; %bb.1: ldr w8, [x19] Lloh0: adrp x9, _QH_LINK_PTR_MASK@GOTPAGE Lloh1: ldr x9, [x9, _QH_LINK_PTR_MASK@GOTPAGEOFF] Lloh2: ldr w9, [x9] Lloh3: adrp x10, _QH_LINK_T@GOTPAGE Lloh4: ldr x10, [x10, _QH_LINK_T@GOTPAGEOFF] Lloh5: ldr w10, [x10] orr w9, w10, w9 bic w20, w8, w9 mov x0, x1 bl _QH_LINK_PTR orr w8, w20, w0 b LBB0_3 LBB0_2: Lloh6: adrp x8, _QH_LINK_T@GOTPAGE Lloh7: ldr x8, [x8, _QH_LINK_T@GOTPAGEOFF] Lloh8: ldr w8, [x8] LBB0_3: str w8, [x19] 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 Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _QH_LINK_PTR_MASK,4,2 ; @QH_LINK_PTR_MASK .comm _QH_LINK_T,4,2 ; @QH_LINK_T .no_dead_strip _whc_qset_set_link_ptr .subsections_via_symbols
AnghaBench/linux/drivers/staging/wusbcore/host/whci/extr_whci-hc.h_whc_qset_set_link_ptr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qlcnic_pf_set_interface_id_del_rx_ctx ## -- Begin function qlcnic_pf_set_interface_id_del_rx_ctx .p2align 4, 0x90 _qlcnic_pf_set_interface_id_del_rx_ctx: ## @qlcnic_pf_set_interface_id_del_rx_ctx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq (%rdi), %rax movl (%rax), %esi callq _qlcnic_sriov_pf_get_vport_handle shll $16, %eax orl %eax, (%rbx) 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 _qlcnic_pf_set_interface_id_del_rx_ctx ; -- Begin function qlcnic_pf_set_interface_id_del_rx_ctx .p2align 2 _qlcnic_pf_set_interface_id_del_rx_ctx: ; @qlcnic_pf_set_interface_id_del_rx_ctx .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr x8, [x0] ldr w1, [x8] bl _qlcnic_sriov_pf_get_vport_handle ldr w8, [x19] orr w8, w8, w0, lsl #16 str w8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_pf_set_interface_id_del_rx_ctx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vk_aspell_config_replace _vk_aspell_config_replace: ## @vk_aspell_config_replace .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq _aspell_config_replace movl $1, %r14d testl %eax, %eax jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi xorl %r14d, %r14d movl $1, %edi movl %ebx, %edx movq %r12, %rcx movq %r15, %r8 xorl %eax, %eax callq _vkprintf movq %rbx, %rdi callq _aspell_config_error_message leaq L_.str.1(%rip), %rsi movl $1, %edi movl %eax, %edx xorl %eax, %eax callq _vkprintf LBB0_2: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "aspell_config_replace (%p, %s, %s) fail.\n" L_.str.1: ## @.str.1 .asciz "%s\n" .no_dead_strip _vk_aspell_config_replace .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vk_aspell_config_replace _vk_aspell_config_replace: ; @vk_aspell_config_replace .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 x21, x2 mov x20, x1 mov x19, x0 bl _aspell_config_replace cbz w0, LBB0_2 ; %bb.1: mov w0, #1 b LBB0_3 LBB0_2: stp x20, x21, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #1 mov x2, x19 bl _vkprintf mov x0, x19 bl _aspell_config_error_message mov x2, x0 Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov w0, #1 bl _vkprintf mov w0, #0 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "aspell_config_replace (%p, %s, %s) fail.\n" l_.str.1: ; @.str.1 .asciz "%s\n" .no_dead_strip _vk_aspell_config_replace .subsections_via_symbols
AnghaBench/kphp-kdb/spell/extr_spell-data.c_vk_aspell_config_replace.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bnxt_set_rxnfc _bnxt_set_rxnfc: ## @bnxt_set_rxnfc .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 _netdev_priv cmpl $128, (%rbx) jne LBB0_1 ## %bb.2: movq %rax, %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _bnxt_srxfh ## TAILCALL LBB0_1: movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP .no_dead_strip _bnxt_set_rxnfc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bnxt_set_rxnfc _bnxt_set_rxnfc: ; @bnxt_set_rxnfc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _netdev_priv ldr w8, [x19] cmp w8, #128 b.ne LBB0_2 ; %bb.1: mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bnxt_srxfh LBB0_2: Lloh0: adrp x8, _EOPNOTSUPP@GOTPAGE Lloh1: ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 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 _EOPNOTSUPP,4,2 ; @EOPNOTSUPP .no_dead_strip _bnxt_set_rxnfc .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/broadcom/bnxt/extr_bnxt_ethtool.c_bnxt_set_rxnfc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ath5k_conf_tx _ath5k_conf_tx: ## @ath5k_conf_tx .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %r12 xorl %ebx, %ebx cmpq %rdx, 8(%r12) jle LBB0_5 ## %bb.1: movq %rcx, %r13 movq %rdx, %r14 movq %r12, %rdi callq _mutex_lock leaq -56(%rbp), %r15 movq %r12, %rdi movq %r14, %rsi movq %r15, %rdx callq _ath5k_hw_get_tx_queueprops movl 12(%r13), %r8d movl %r8d, -44(%rbp) movl 8(%r13), %r9d movl %r9d, -48(%rbp) movl 4(%r13), %eax movl %eax, -52(%rbp) movl (%r13), %ebx movl %ebx, %ecx shll $5, %ecx movl %ecx, -56(%rbp) movq _ATH5K_DEBUG_ANY@GOTPCREL(%rip), %rcx movl (%rcx), %esi leaq L_.str(%rip), %rdx movq %r12, %rdi movq %r14, %rcx pushq %rbx pushq %rax callq _ATH5K_DBG addq $16, %rsp movq %r12, %rdi movq %r14, %rsi movq %r15, %rdx callq _ath5k_hw_set_tx_queueprops testq %rax, %rax je LBB0_3 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %r12, %rdi movq %r14, %rdx callq _ATH5K_ERR movq _EIO@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_4 LBB0_3: movq %r12, %rdi movq %r14, %rsi callq _ath5k_hw_reset_tx_queue xorl %ebx, %ebx LBB0_4: movq %r12, %rdi callq _mutex_unlock LBB0_5: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ATH5K_DEBUG_ANY,4,2 ## @ATH5K_DEBUG_ANY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Configure tx [queue %d], aifs: %d, cw_min: %d, cw_max: %d, txop: %d\n" L_.str.1: ## @.str.1 .asciz "Unable to update hardware queue %u!\n" .comm _EIO,4,2 ## @EIO .no_dead_strip _ath5k_conf_tx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ath5k_conf_tx _ath5k_conf_tx: ; @ath5k_conf_tx .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 x19, [x0] ldr x8, [x19, #8] cmp x8, x2 b.le LBB0_3 ; %bb.1: mov x21, x3 mov x20, x2 mov x0, x19 bl _mutex_lock mov x2, sp mov x0, x19 mov x1, x20 bl _ath5k_hw_get_tx_queueprops ldp w5, w4, [x21, #8] stp w5, w4, [sp, #8] ldp w7, w6, [x21] lsl w8, w7, #5 stp w8, w6, [sp] Lloh0: adrp x8, _ATH5K_DEBUG_ANY@GOTPAGE Lloh1: ldr x8, [x8, _ATH5K_DEBUG_ANY@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov x3, x20 bl _ATH5K_DBG mov x2, sp mov x0, x19 mov x1, x20 bl _ath5k_hw_set_tx_queueprops cbz x0, LBB0_4 ; %bb.2: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 mov x2, x20 bl _ATH5K_ERR Lloh7: adrp x8, _EIO@GOTPAGE Lloh8: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh9: ldr w8, [x8] neg w20, w8 b LBB0_5 LBB0_3: mov w20, #0 b LBB0_6 LBB0_4: mov x0, x19 mov x1, x20 bl _ath5k_hw_reset_tx_queue mov w20, #0 LBB0_5: mov x0, x19 bl _mutex_unlock LBB0_6: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _ATH5K_DEBUG_ANY,4,2 ; @ATH5K_DEBUG_ANY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Configure tx [queue %d], aifs: %d, cw_min: %d, cw_max: %d, txop: %d\n" l_.str.1: ; @.str.1 .asciz "Unable to update hardware queue %u!\n" .comm _EIO,4,2 ; @EIO .no_dead_strip _ath5k_conf_tx .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/ath/ath5k/extr_mac80211-ops.c_ath5k_conf_tx.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _OMXCodec_GetQuirks ## -- Begin function OMXCodec_GetQuirks .p2align 4, 0x90 _OMXCodec_GetQuirks: ## @OMXCodec_GetQuirks .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _OMXCODEC_NO_QUIRKS@GOTPCREL(%rip), %rax movl (%rax), %eax movq _VIDEO_ES@GOTPCREL(%rip), %rcx cmpl %edi, (%rcx) jne LBB0_2 ## %bb.1: orl $2, %esi cmpl $131, %esi je LBB0_4 LBB0_5: popq %rbp retq LBB0_2: movq _AUDIO_ES@GOTPCREL(%rip), %rcx cmpl %edi, (%rcx) jne LBB0_5 ## %bb.3: orl $2, %esi cmpl $130, %esi jne LBB0_5 LBB0_4: orl $134, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _OMXCODEC_NO_QUIRKS,4,2 ## @OMXCODEC_NO_QUIRKS .comm _VIDEO_ES,4,2 ## @VIDEO_ES .comm _AUDIO_ES,4,2 ## @AUDIO_ES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _OMXCodec_GetQuirks ; -- Begin function OMXCodec_GetQuirks .p2align 2 _OMXCodec_GetQuirks: ; @OMXCodec_GetQuirks .cfi_startproc ; %bb.0: Lloh0: adrp x8, _OMXCODEC_NO_QUIRKS@GOTPAGE Lloh1: ldr x8, [x8, _OMXCODEC_NO_QUIRKS@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _VIDEO_ES@GOTPAGE Lloh4: ldr x9, [x9, _VIDEO_ES@GOTPAGEOFF] Lloh5: ldr w9, [x9] cmp w9, w0 b.ne LBB0_2 ; %bb.1: orr w9, w1, #0x2 mov w10, #134 ; =0x86 orr w10, w8, w10 cmp w9, #131 csel w0, w10, w8, eq ret LBB0_2: Lloh6: adrp x9, _AUDIO_ES@GOTPAGE Lloh7: ldr x9, [x9, _AUDIO_ES@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w10, w1, #0x2 mov w11, #134 ; =0x86 orr w11, w8, w11 cmp w10, #130 csel w10, w11, w8, eq cmp w9, w0 csel w0, w8, w10, ne ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _OMXCODEC_NO_QUIRKS,4,2 ; @OMXCODEC_NO_QUIRKS .comm _VIDEO_ES,4,2 ; @VIDEO_ES .comm _AUDIO_ES,4,2 ; @AUDIO_ES .subsections_via_symbols
assembly_file_65184.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vdp_write _vdp_write: ## @vdp_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edx, %r14d movl %esi, %ebx callq _to_state movq (%rax), %rax movq _ADV7604_PAGE_VDP@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi movl %ebx, %esi movl %r14d, %edx popq %rbx popq %r14 popq %rbp jmp _regmap_write ## TAILCALL .cfi_endproc ## -- End function .comm _ADV7604_PAGE_VDP,8,3 ## @ADV7604_PAGE_VDP .no_dead_strip _vdp_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vdp_write _vdp_write: ; @vdp_write .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x1 bl _to_state ldr x8, [x0] Lloh0: adrp x9, _ADV7604_PAGE_VDP@GOTPAGE Lloh1: ldr x9, [x9, _ADV7604_PAGE_VDP@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _regmap_write .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ADV7604_PAGE_VDP,8,3 ; @ADV7604_PAGE_VDP .no_dead_strip _vdp_write .subsections_via_symbols
AnghaBench/linux/drivers/media/i2c/extr_adv7604.c_vdp_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PacketGetAdapterNames ## -- Begin function PacketGetAdapterNames .p2align 4, 0x90 _PacketGetAdapterNames: ## @PacketGetAdapterNames .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl (%rsi), %esi callq _bzero movq $0, -96(%rbp) movq _CTL_NET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -80(%rbp) movq _PF_ROUTE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -76(%rbp) movq $0, -72(%rbp) movq _NET_RT_IFLIST@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movl $0, -60(%rbp) leaq -80(%rbp), %rdi leaq -96(%rbp), %rcx movl $6, %esi xorl %edx, %edx xorl %r8d, %r8d xorl %r9d, %r9d callq _sysctl movq _FALSE@GOTPCREL(%rip), %r15 testq %rax, %rax js LBB0_23 ## %bb.1: movq -96(%rbp), %rdi callq _malloc testq %rax, %rax je LBB0_23 ## %bb.2: movq %rax, %rbx leaq -80(%rbp), %rdi leaq -96(%rbp), %rcx movl $6, %esi movq %rax, %rdx xorl %r8d, %r8d xorl %r9d, %r9d callq _sysctl testq %rax, %rax js LBB0_3 ## %bb.4: movq -96(%rbp), %rax testq %rax, %rax movq %rbx, -88(%rbp) ## 8-byte Spill jle LBB0_5 ## %bb.6: movq %rbx, %r15 movq %rax, -104(%rbp) ## 8-byte Spill addq %rax, %r15 xorl %r13d, %r13d movq _RTM_IFINFO@GOTPCREL(%rip), %rcx jmp LBB0_7 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movq _RTM_IFINFO@GOTPCREL(%rip), %rcx LBB0_13: ## in Loop: Header=BB0_7 Depth=1 movslq 8(%rbx), %rax addq %rax, %rbx cmpq %r15, %rbx jae LBB0_14 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax cmpq (%rcx), %rax jne LBB0_13 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl 16(%rbx), %edx movl 20(%rbx), %edi leaq L_.str(%rip), %rsi callq _strnstr testq %rax, %rax je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl 16(%rbx), %edx leal (%rdx,%r13), %eax cmpl (%r14), %eax jg LBB0_10 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movl 20(%rbx), %esi movq %r12, %rdi ## kill: def $edx killed $edx killed $rdx callq _strncpy movslq 16(%rbx), %rax addq %rax, %r12 incq %r12 incq %rax addl %r13d, %eax movl %eax, %r13d jmp LBB0_12 LBB0_3: movq %rbx, %rdi callq _free jmp LBB0_23 LBB0_14: movq %r14, %rbx incl %r13d cmpq $0, -104(%rbp) ## 8-byte Folded Reload jle LBB0_22 ## %bb.15: incq %r12 movq -88(%rbp), %r14 ## 8-byte Reload jmp LBB0_16 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_16 Depth=1 movl 20(%r14), %esi movq %r12, %rdi ## kill: def $edx killed $edx killed $rdx callq _strncpy movslq 16(%r14), %rax addq %rax, %r12 incq %r12 incq %rax addl %r13d, %eax movl %eax, %r13d LBB0_20: ## in Loop: Header=BB0_16 Depth=1 movq _RTM_IFINFO@GOTPCREL(%rip), %rcx LBB0_21: ## in Loop: Header=BB0_16 Depth=1 movslq 8(%r14), %rax addq %rax, %r14 cmpq %r15, %r14 jae LBB0_22 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rax cmpq (%rcx), %rax jne LBB0_21 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movl 16(%r14), %edx movl 20(%r14), %edi leaq L_.str(%rip), %rsi callq _strnstr testq %rax, %rax je LBB0_20 ## %bb.18: ## in Loop: Header=BB0_16 Depth=1 movl 16(%r14), %edx leal (%rdx,%r13), %eax cmpl (%rbx), %eax jle LBB0_19 LBB0_10: movq -88(%rbp), %rdi ## 8-byte Reload callq _free movq _FALSE@GOTPCREL(%rip), %r15 jmp LBB0_23 LBB0_5: movq %r14, %rbx movl $1, %r13d LBB0_22: movq -88(%rbp), %rdi ## 8-byte Reload callq _free incl %r13d movl %r13d, (%rbx) movq _TRUE@GOTPCREL(%rip), %r15 LBB0_23: movl (%r15), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_25 ## %bb.24: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_25: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _CTL_NET,4,2 ## @CTL_NET .comm _PF_ROUTE,4,2 ## @PF_ROUTE .comm _NET_RT_IFLIST,4,2 ## @NET_RT_IFLIST .comm _FALSE,4,2 ## @FALSE .comm _RTM_IFINFO,8,3 ## @RTM_IFINFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "wlan" .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PacketGetAdapterNames ; -- Begin function PacketGetAdapterNames .p2align 2 _PacketGetAdapterNames: ; @PacketGetAdapterNames .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 mov x19, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] ldr w1, [x1] bl _bzero str xzr, [sp, #8] Lloh3: adrp x8, _CTL_NET@GOTPAGE Lloh4: ldr x8, [x8, _CTL_NET@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _PF_ROUTE@GOTPAGE Lloh7: ldr x9, [x9, _PF_ROUTE@GOTPAGEOFF] Lloh8: ldr w9, [x9] stp w8, w9, [sp, #16] str xzr, [sp, #24] Lloh9: adrp x8, _NET_RT_IFLIST@GOTPAGE Lloh10: ldr x8, [x8, _NET_RT_IFLIST@GOTPAGEOFF] Lloh11: ldr w8, [x8] stp w8, wzr, [sp, #32] add x0, sp, #16 add x3, sp, #8 mov w1, #6 mov x2, #0 mov x4, #0 mov w5, #0 bl _sysctl tbnz x0, #63, LBB0_18 ; %bb.1: ldr x0, [sp, #8] bl _malloc cbz x0, LBB0_18 ; %bb.2: mov x20, x0 add x0, sp, #16 add x3, sp, #8 mov w1, #6 mov x2, x20 mov x4, #0 mov w5, #0 bl _sysctl tbnz x0, #63, LBB0_17 ; %bb.3: ldr x26, [sp, #8] cmp x26, #1 b.lt LBB0_21 ; %bb.4: mov w25, #0 add x23, x20, x26 Lloh12: adrp x24, _RTM_IFINFO@GOTPAGE Lloh13: ldr x24, [x24, _RTM_IFINFO@GOTPAGEOFF] mov x27, x20 Lloh14: adrp x22, l_.str@PAGE Lloh15: add x22, x22, l_.str@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldrsw x8, [x27, #8] add x27, x27, x8 cmp x27, x23 b.hs LBB0_10 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x27] ldr x9, [x24] cmp x8, x9 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldp w2, w0, [x27, #16] mov x1, x22 bl _strnstr cbz x0, LBB0_5 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 ldr w2, [x27, #16] ldr w8, [x19] add w9, w2, w25 cmp w9, w8 b.gt LBB0_17 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldr w1, [x27, #20] mov x0, x21 bl _strncpy ldrsw x8, [x27, #16] add x8, x8, #1 add x21, x21, x8 add w25, w8, w25 b LBB0_5 LBB0_10: add w25, w25, #1 cmp x26, #1 b.lt LBB0_22 ; %bb.11: add x21, x21, #1 Lloh16: adrp x22, l_.str@PAGE Lloh17: add x22, x22, l_.str@PAGEOFF mov x26, x20 b LBB0_14 LBB0_12: ; in Loop: Header=BB0_14 Depth=1 ldr w1, [x26, #20] mov x0, x21 bl _strncpy ldrsw x8, [x26, #16] add x8, x8, #1 add x21, x21, x8 add w25, w8, w25 LBB0_13: ; in Loop: Header=BB0_14 Depth=1 ldrsw x8, [x26, #8] add x26, x26, x8 cmp x26, x23 b.hs LBB0_22 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldr x8, [x26] ldr x9, [x24] cmp x8, x9 b.ne LBB0_13 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 ldp w2, w0, [x26, #16] mov x1, x22 bl _strnstr cbz x0, LBB0_13 ; %bb.16: ; in Loop: Header=BB0_14 Depth=1 ldr w2, [x26, #16] ldr w8, [x19] add w9, w2, w25 cmp w9, w8 b.le LBB0_12 LBB0_17: mov x0, x20 bl _free LBB0_18: Lloh18: adrp x8, _FALSE@GOTPAGE Lloh19: ldr x8, [x8, _FALSE@GOTPAGEOFF] LBB0_19: ldr w0, [x8] ldr x8, [sp, #40] Lloh20: adrp x9, ___stack_chk_guard@GOTPAGE Lloh21: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x9, x8 b.ne LBB0_23 ; %bb.20: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_21: mov w25, #1 LBB0_22: mov x0, x20 bl _free add w8, w25, #1 str w8, [x19] Lloh23: adrp x8, _TRUE@GOTPAGE Lloh24: ldr x8, [x8, _TRUE@GOTPAGEOFF] b LBB0_19 LBB0_23: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _CTL_NET,4,2 ; @CTL_NET .comm _PF_ROUTE,4,2 ; @PF_ROUTE .comm _NET_RT_IFLIST,4,2 ; @NET_RT_IFLIST .comm _FALSE,4,2 ; @FALSE .comm _RTM_IFINFO,8,3 ; @RTM_IFINFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "wlan" .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/wpa/wpa_supplicant/extr_Packet32.c_PacketGetAdapterNames.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nn_global_hold_socket_locked ## -- Begin function nn_global_hold_socket_locked .p2align 4, 0x90 _nn_global_hold_socket_locked: ## @nn_global_hold_socket_locked .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx testl %esi, %esi sets %al movq _NN_MAX_SOCKETS@GOTPCREL(%rip), %rcx cmpl %esi, (%rcx) setle %cl orb %al, %cl movq _self@GOTPCREL(%rip), %r15 cmpq $0, (%r15) movq %rdi, %r14 sete %al orb %cl, %al movzbl %al, %edi callq _nn_slow testq %rax, %rax jne LBB0_1 ## %bb.2: movq (%r15), %rax movslq %ebx, %rcx movq (%rax,%rcx,8), %rbx xorl %edi, %edi testq %rbx, %rbx sete %dil callq _nn_slow testq %rax, %rax jne LBB0_1 ## %bb.3: movq %rbx, %rdi callq _nn_sock_hold xorl %edi, %edi testq %rax, %rax setne %dil callq _nn_slow testq %rax, %rax je LBB0_4 LBB0_1: movq _EBADF@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %rbx, (%r14) xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .comm _NN_MAX_SOCKETS,4,2 ## @NN_MAX_SOCKETS .comm _self,8,3 ## @self .comm _EBADF,4,2 ## @EBADF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nn_global_hold_socket_locked ; -- Begin function nn_global_hold_socket_locked .p2align 2 _nn_global_hold_socket_locked: ; @nn_global_hold_socket_locked .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 cmp w1, #0 Lloh0: adrp x8, _NN_MAX_SOCKETS@GOTPAGE Lloh1: ldr x8, [x8, _NN_MAX_SOCKETS@GOTPAGEOFF] Lloh2: ldr w8, [x8] ccmp w8, w1, #4, ge Lloh3: adrp x21, _self@GOTPAGE Lloh4: ldr x21, [x21, _self@GOTPAGEOFF] ldr x8, [x21] ccmp x8, #0, #4, gt cset w0, eq bl _nn_slow cbnz x0, LBB0_3 ; %bb.1: ldr x8, [x21] ldr x20, [x8, w20, sxtw #3] cmp x20, #0 cset w0, eq bl _nn_slow cbnz x0, LBB0_3 ; %bb.2: mov x0, x20 bl _nn_sock_hold cmp x0, #0 cset w0, ne bl _nn_slow cbz x0, LBB0_5 LBB0_3: Lloh5: adrp x8, _EBADF@GOTPAGE Lloh6: ldr x8, [x8, _EBADF@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: str x20, [x19] b LBB0_4 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _NN_MAX_SOCKETS,4,2 ; @NN_MAX_SOCKETS .comm _self,8,3 ; @self .comm _EBADF,4,2 ; @EBADF .subsections_via_symbols
AnghaBench/nanomsg/src/core/extr_global.c_nn_global_hold_socket_locked.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _afs_silly_iput ## -- Begin function afs_silly_iput .p2align 4, 0x90 _afs_silly_iput: ## @afs_silly_iput .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx movl 12(%rdi), %edi callq _d_inode movq %rax, %rdi callq _AFS_FS_I movq %rax, %r14 movq %r15, %rdi callq _AFS_FS_I movq %rax, %r12 movq _wq@GOTPCREL(%rip), %r15 movl (%r15), %edi callq _DECLARE_WAIT_QUEUE_HEAD_ONSTACK movl 16(%r12), %ecx leaq L_.str(%rip), %rdi movq %rbx, %rsi movq %rbx, %rdx callq __enter movq %r14, %rdi callq _down_read movl 12(%rbx), %edi leaq 8(%rbx), %rsi movq %r15, %rdx callq _d_alloc_parallel movq %rax, %r15 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_2 ## %bb.1: movq %r14, %rdi callq _up_read xorl %ebx, %ebx jmp LBB0_8 LBB0_2: movq %r15, %rdi callq _d_in_lookup testl %eax, %eax je LBB0_3 ## %bb.7: movq %r12, %r13 addq $8, %r13 movq %r13, %rdi callq _spin_lock movq _AFS_VNODE_LOCK_DELETED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%r12) movq _afs_flock_silly_delete@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi xorl %esi, %esi xorl %ecx, %ecx callq _trace_afs_flock_ev movq %r13, %rdi callq _spin_unlock movl 4(%r14), %ecx movq %r14, %rdi movq %r12, %rsi movq %rbx, %rdx callq _afs_do_silly_unlink movq %r14, %rdi callq _up_read movq %r15, %rdi callq _d_lookup_done movq %r15, %rdi callq _dput movl $1, %ebx jmp LBB0_8 LBB0_3: movq %r15, %r12 addq $4, %r12 movq %r12, %rdi callq _spin_lock movq %r15, %rdi callq _d_really_is_positive xorl %ebx, %ebx testq %rax, %rax je LBB0_6 ## %bb.4: movl (%r15), %eax movq _DCACHE_NFSFS_RENAMED@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %eax, %ecx jne LBB0_6 ## %bb.5: orl %eax, %ecx movl %ecx, (%r15) movl $1, %ebx LBB0_6: movq %r12, %rdi callq _spin_unlock movq %r14, %rdi callq _up_read movq %r15, %rdi callq _dput LBB0_8: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _wq,4,2 ## @wq .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%p{%pd},%llx" .comm _DCACHE_NFSFS_RENAMED,4,2 ## @DCACHE_NFSFS_RENAMED .comm _AFS_VNODE_LOCK_DELETED,4,2 ## @AFS_VNODE_LOCK_DELETED .comm _afs_flock_silly_delete,4,2 ## @afs_flock_silly_delete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _afs_silly_iput ; -- Begin function afs_silly_iput .p2align 2 _afs_silly_iput: ; @afs_silly_iput .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 x21, x0 ldr w0, [x0, #12] bl _d_inode bl _AFS_FS_I mov x19, x0 mov x0, x20 bl _AFS_FS_I mov x22, x0 Lloh0: adrp x20, _wq@GOTPAGE Lloh1: ldr x20, [x20, _wq@GOTPAGEOFF] ldr w0, [x20] bl _DECLARE_WAIT_QUEUE_HEAD_ONSTACK ldr w3, [x22, #16] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x2, x21 bl __enter mov x0, x19 bl _down_read ldr w0, [x21, #12] add x1, x21, #8 mov x2, x20 bl _d_alloc_parallel mov x20, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: mov x0, x19 bl _up_read mov w22, #0 b LBB0_9 LBB0_2: mov x0, x20 bl _d_in_lookup cbz w0, LBB0_4 ; %bb.3: add x23, x22, #8 mov x0, x23 bl _spin_lock Lloh4: adrp x8, _AFS_VNODE_LOCK_DELETED@GOTPAGE Lloh5: ldr x8, [x8, _AFS_VNODE_LOCK_DELETED@GOTPAGEOFF] Lloh6: ldr w8, [x8] str w8, [x22, #12] Lloh7: adrp x8, _afs_flock_silly_delete@GOTPAGE Lloh8: ldr x8, [x8, _afs_flock_silly_delete@GOTPAGEOFF] Lloh9: ldr w2, [x8] mov x0, x22 mov x1, #0 mov w3, #0 bl _trace_afs_flock_ev mov x0, x23 bl _spin_unlock ldr w3, [x19, #4] mov x0, x19 mov x1, x22 mov x2, x21 bl _afs_do_silly_unlink mov x0, x19 bl _up_read mov x0, x20 bl _d_lookup_done mov x0, x20 bl _dput mov w22, #1 b LBB0_9 LBB0_4: add x21, x20, #4 mov x0, x21 bl _spin_lock mov x0, x20 bl _d_really_is_positive cbz x0, LBB0_6 ; %bb.5: ldr w8, [x20] Lloh10: adrp x9, _DCACHE_NFSFS_RENAMED@GOTPAGE Lloh11: ldr x9, [x9, _DCACHE_NFSFS_RENAMED@GOTPAGEOFF] Lloh12: ldr w9, [x9] tst w9, w8 b.eq LBB0_7 LBB0_6: mov w22, #0 b LBB0_8 LBB0_7: orr w8, w9, w8 str w8, [x20] mov w22, #1 LBB0_8: mov x0, x21 bl _spin_unlock mov x0, x19 bl _up_read mov x0, x20 bl _dput LBB0_9: mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _wq,4,2 ; @wq .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%p{%pd},%llx" .comm _DCACHE_NFSFS_RENAMED,4,2 ; @DCACHE_NFSFS_RENAMED .comm _AFS_VNODE_LOCK_DELETED,4,2 ; @AFS_VNODE_LOCK_DELETED .comm _afs_flock_silly_delete,4,2 ; @afs_flock_silly_delete .subsections_via_symbols
AnghaBench/linux/fs/afs/extr_dir_silly.c_afs_silly_iput.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mgmtGetStreamMeta ## -- Begin function mgmtGetStreamMeta .p2align 4, 0x90 _mgmtGetStreamMeta: ## @mgmtGetStreamMeta .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -48(%rbp) ## 8-byte Spill movq %rsi, %r14 movq %rdi, %r15 callq _tsGetSchema movq %rax, %r12 movq _TSDB_USER_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax movq (%r14), %rcx movl %eax, (%rcx) movq _TSDB_DATA_TYPE_BINARY@GOTPCREL(%rip), %r13 movq (%r13), %rax movq %rax, 16(%r12) movl 8(%r12), %edi leaq L_.str(%rip), %rsi callq _strcpy movq (%r14), %rax movl (%rax), %edi callq _htons movq %rax, (%r12) movq _TSDB_IPv4ADDR_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax addl $14, %eax movq (%r14), %rcx movl %eax, -4(%rcx) movq (%r13), %rax movq %rax, -8(%r12) movl -16(%r12), %edi leaq L_.str.1(%rip), %rsi callq _strcpy movq (%r14), %rax movl -4(%rax), %edi callq _htons movq %rax, -24(%r12) movq (%r14), %rax movl $8, (%rax) movq _TSDB_DATA_TYPE_TIMESTAMP@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq %rax, 16(%r12) movl 8(%r12), %edi leaq L_.str.2(%rip), %rsi callq _strcpy movq (%r14), %rax movl (%rax), %edi callq _htons movq %rax, (%r12) movq (%r14), %rax movl $8, 4(%rax) movq (%rbx), %rax movq %rax, 40(%r12) movl 32(%r12), %edi leaq L_.str.3(%rip), %rsi callq _strcpy movq (%r14), %rax movl 4(%rax), %edi callq _htons movq %rax, 24(%r12) movq (%r14), %rax movl $8, 8(%rax) movq _TSDB_DATA_TYPE_INT@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq %rax, 64(%r12) movl 56(%r12), %edi leaq L_.str.4(%rip), %rsi callq _strcpy movq (%r14), %rax movl 8(%rax), %edi callq _htons movq %rax, 48(%r12) movq _TSDB_SHOW_SQL_LEN@GOTPCREL(%rip), %rax movl (%rax), %eax movq (%r14), %rcx movl %eax, 12(%rcx) movq (%r13), %rax movq %rax, 88(%r12) movl 80(%r12), %edi leaq L_.str.5(%rip), %rsi callq _strcpy movq (%r14), %rax movl 12(%rax), %edi callq _htons movq %rax, 72(%r12) movq (%r14), %rax movl $4, 16(%rax) movq (%rbx), %rax movq %rax, 112(%r12) movl 104(%r12), %edi leaq L_.str.6(%rip), %rsi callq _strcpy movq (%r14), %rax movl 16(%rax), %edi callq _htons movq %rax, 96(%r12) movl $5, %edi callq _htons movq %rax, (%r15) movl $5, 8(%r14) movq 16(%r14), %rax movl $0, (%rax) movq (%r14), %rcx movl (%rcx), %edx movl %edx, 4(%rax) addl 4(%rcx), %edx movl %edx, 8(%rax) addl 8(%rcx), %edx movl %edx, 12(%rax) addl 12(%rcx), %edx movl %edx, 16(%rax) addl 16(%rcx), %edx movl %edx, 20(%rax) movl $1000000, 24(%r14) ## imm = 0xF4240 movq $0, 32(%r14) movl 16(%rcx), %ecx addl 16(%rax), %ecx movl %ecx, 28(%r14) movq %r14, %rdi movq -48(%rbp), %rsi ## 8-byte Reload callq _mgmtGetStreams xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TSDB_USER_LEN,4,2 ## @TSDB_USER_LEN .comm _TSDB_DATA_TYPE_BINARY,8,3 ## @TSDB_DATA_TYPE_BINARY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "user" .comm _TSDB_IPv4ADDR_LEN,4,2 ## @TSDB_IPv4ADDR_LEN L_.str.1: ## @.str.1 .asciz "ip:port:id" .comm _TSDB_DATA_TYPE_TIMESTAMP,8,3 ## @TSDB_DATA_TYPE_TIMESTAMP L_.str.2: ## @.str.2 .asciz "created time" L_.str.3: ## @.str.3 .asciz "exec time" .comm _TSDB_DATA_TYPE_INT,8,3 ## @TSDB_DATA_TYPE_INT L_.str.4: ## @.str.4 .asciz "time(us)" .comm _TSDB_SHOW_SQL_LEN,4,2 ## @TSDB_SHOW_SQL_LEN L_.str.5: ## @.str.5 .asciz "sql" L_.str.6: ## @.str.6 .asciz "cycles" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mgmtGetStreamMeta ; -- Begin function mgmtGetStreamMeta .p2align 2 _mgmtGetStreamMeta: ; @mgmtGetStreamMeta .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 bl _tsGetSchema mov x22, x0 Lloh0: adrp x8, _TSDB_USER_LEN@GOTPAGE Lloh1: ldr x8, [x8, _TSDB_USER_LEN@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr x9, [x20] str w8, [x9] Lloh3: adrp x23, _TSDB_DATA_TYPE_BINARY@GOTPAGE Lloh4: ldr x23, [x23, _TSDB_DATA_TYPE_BINARY@GOTPAGEOFF] ldr x8, [x23] str x8, [x0, #16] ldr w0, [x0, #8] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF bl _strcpy ldr x8, [x20] ldr w0, [x8] bl _htons str x0, [x22] Lloh7: adrp x8, _TSDB_IPv4ADDR_LEN@GOTPAGE Lloh8: ldr x8, [x8, _TSDB_IPv4ADDR_LEN@GOTPAGEOFF] Lloh9: ldr w8, [x8] add w8, w8, #14 ldr x9, [x20] stur w8, [x9, #-4] ldr x8, [x23] stur x8, [x22, #-8] ldur w0, [x22, #-16] Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF bl _strcpy ldr x8, [x20] ldur w0, [x8, #-4] bl _htons stur x0, [x22, #-24] ldr x8, [x20] mov w24, #8 ; =0x8 str w24, [x8] Lloh12: adrp x25, _TSDB_DATA_TYPE_TIMESTAMP@GOTPAGE Lloh13: ldr x25, [x25, _TSDB_DATA_TYPE_TIMESTAMP@GOTPAGEOFF] ldr x8, [x25] str x8, [x22, #16] ldr w0, [x22, #8] Lloh14: adrp x1, l_.str.2@PAGE Lloh15: add x1, x1, l_.str.2@PAGEOFF bl _strcpy ldr x8, [x20] ldr w0, [x8] bl _htons str x0, [x22] ldr x8, [x20] str w24, [x8, #4] ldr x8, [x25] str x8, [x22, #40] ldr w0, [x22, #32] Lloh16: adrp x1, l_.str.3@PAGE Lloh17: add x1, x1, l_.str.3@PAGEOFF bl _strcpy ldr x8, [x20] ldr w0, [x8, #4] bl _htons str x0, [x22, #24] ldr x8, [x20] str w24, [x8, #8] Lloh18: adrp x24, _TSDB_DATA_TYPE_INT@GOTPAGE Lloh19: ldr x24, [x24, _TSDB_DATA_TYPE_INT@GOTPAGEOFF] ldr x8, [x24] str x8, [x22, #64] ldr w0, [x22, #56] Lloh20: adrp x1, l_.str.4@PAGE Lloh21: add x1, x1, l_.str.4@PAGEOFF bl _strcpy ldr x8, [x20] ldr w0, [x8, #8] bl _htons str x0, [x22, #48] Lloh22: adrp x8, _TSDB_SHOW_SQL_LEN@GOTPAGE Lloh23: ldr x8, [x8, _TSDB_SHOW_SQL_LEN@GOTPAGEOFF] Lloh24: ldr w8, [x8] ldr x9, [x20] str w8, [x9, #12] ldr x8, [x23] str x8, [x22, #88] ldr w0, [x22, #80] Lloh25: adrp x1, l_.str.5@PAGE Lloh26: add x1, x1, l_.str.5@PAGEOFF bl _strcpy ldr x8, [x20] ldr w0, [x8, #12] bl _htons str x0, [x22, #72] ldr x8, [x20] mov w9, #4 ; =0x4 str w9, [x8, #16] ldr x8, [x24] str x8, [x22, #112] ldr w0, [x22, #104] Lloh27: adrp x1, l_.str.6@PAGE Lloh28: add x1, x1, l_.str.6@PAGEOFF bl _strcpy ldr x8, [x20] ldr w0, [x8, #16] bl _htons str x0, [x22, #96] mov w22, #5 ; =0x5 mov w0, #5 ; =0x5 bl _htons str x0, [x21] str w22, [x20, #8] ldr x8, [x20, #16] str wzr, [x8] ldr x9, [x20] ldr w10, [x9] str w10, [x8, #4] ldr w11, [x9, #4] add w10, w11, w10 str w10, [x8, #8] ldr w11, [x9, #8] add w10, w11, w10 str w10, [x8, #12] ldr w11, [x9, #12] add w10, w11, w10 str w10, [x8, #16] ldr w11, [x9, #16] add w10, w11, w10 str w10, [x8, #20] mov w10, #16960 ; =0x4240 movk w10, #15, lsl #16 str w10, [x20, #24] str xzr, [x20, #32] ldr w8, [x8, #16] ldr w9, [x9, #16] add w8, w9, w8 str w8, [x20, #28] mov x0, x20 mov x1, x19 bl _mgmtGetStreams mov w0, #0 ; =0x0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TSDB_USER_LEN,4,2 ; @TSDB_USER_LEN .comm _TSDB_DATA_TYPE_BINARY,8,3 ; @TSDB_DATA_TYPE_BINARY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "user" .comm _TSDB_IPv4ADDR_LEN,4,2 ; @TSDB_IPv4ADDR_LEN l_.str.1: ; @.str.1 .asciz "ip:port:id" .comm _TSDB_DATA_TYPE_TIMESTAMP,8,3 ; @TSDB_DATA_TYPE_TIMESTAMP l_.str.2: ; @.str.2 .asciz "created time" l_.str.3: ; @.str.3 .asciz "exec time" .comm _TSDB_DATA_TYPE_INT,8,3 ; @TSDB_DATA_TYPE_INT l_.str.4: ; @.str.4 .asciz "time(us)" .comm _TSDB_SHOW_SQL_LEN,4,2 ; @TSDB_SHOW_SQL_LEN l_.str.5: ; @.str.5 .asciz "sql" l_.str.6: ; @.str.6 .asciz "cycles" .subsections_via_symbols
assembly_file_59953.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal4,4byte_literals .p2align 2, 0x0 ## -- Begin function slasd5_ LCPI0_0: .long 0x40800000 ## float 4 LCPI0_1: .long 0x3f000000 ## float 0.5 LCPI0_4: .long 0x3f800000 ## float 1 LCPI0_5: .long 0xc0000000 ## float -2 LCPI0_6: .long 0xc0800000 ## float -4 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 LCPI0_2: .long 0x80000000 ## float -0 .long 0x80000000 ## float -0 .long 0x80000000 ## float -0 .long 0x80000000 ## float -0 LCPI0_3: .long 0x40400000 ## float 3 .long 0x40400000 ## float 3 .space 4 .space 4 .section __TEXT,__text,regular,pure_instructions .globl _slasd5_ .p2align 4, 0x90 _slasd5_: ## @slasd5_ .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r15 movq %rcx, %r14 movq %rsi, %rbx movq 16(%rbp), %r12 movsd (%rsi), %xmm3 ## xmm3 = mem[0],zero movshdup %xmm3, %xmm0 ## xmm0 = xmm3[1,1,3,3] movaps %xmm0, %xmm2 subss %xmm3, %xmm2 movss %xmm2, _slasd5_.del(%rip) addss %xmm3, %xmm0 mulss %xmm2, %xmm0 cmpl $1, (%rdi) jne LBB0_7 ## %bb.1: movss (%r8), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss LCPI0_0(%rip), %xmm5 ## xmm5 = [4.0E+0,0.0E+0,0.0E+0,0.0E+0] mulss %xmm1, %xmm5 movaps %xmm3, %xmm4 shufps $225, %xmm3, %xmm4 ## xmm4 = xmm4[1,0],xmm3[2,3] mulps LCPI0_3(%rip), %xmm3 addps %xmm4, %xmm3 movsd (%rdx), %xmm7 ## xmm7 = mem[0],zero movaps %xmm7, %xmm4 mulps %xmm7, %xmm4 movaps %xmm4, %xmm6 divps %xmm3, %xmm6 movshdup %xmm6, %xmm3 ## xmm3 = xmm6[1,1,3,3] subss %xmm6, %xmm3 mulss %xmm5, %xmm3 divss %xmm2, %xmm3 addss LCPI0_4(%rip), %xmm3 xorps %xmm2, %xmm2 ucomiss %xmm2, %xmm3 jbe LBB0_3 ## %bb.2: movshdup %xmm4, %xmm2 ## xmm2 = xmm4[1,1,3,3] movaps %xmm7, %xmm3 mulss %xmm7, %xmm3 addss %xmm2, %xmm3 mulss %xmm1, %xmm3 addss %xmm0, %xmm3 movaps %xmm3, -64(%rbp) ## 16-byte Spill mulss %xmm7, %xmm1 mulss %xmm7, %xmm1 mulss %xmm0, %xmm1 movaps %xmm1, %xmm0 mulss LCPI0_6(%rip), %xmm1 addss %xmm0, %xmm0 movss %xmm0, -48(%rbp) ## 4-byte Spill movaps %xmm3, %xmm0 mulss %xmm3, %xmm0 addss %xmm1, %xmm0 callq _dabs xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 callq _sqrt addss -64(%rbp), %xmm0 ## 16-byte Folded Reload movss -48(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero divss %xmm0, %xmm1 movss %xmm1, _slasd5_.tau(%rip) movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -48(%rbp) ## 4-byte Spill mulss %xmm0, %xmm0 addss %xmm1, %xmm0 callq _sqrt addss -48(%rbp), %xmm0 ## 4-byte Folded Reload movss _slasd5_.tau(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm0, %xmm1 movss %xmm1, _slasd5_.tau(%rip) movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm1, %xmm0 movss %xmm0, (%r15) movaps LCPI0_2(%rip), %xmm0 ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0] xorps %xmm1, %xmm0 movss %xmm0, (%r14) movss _slasd5_.del(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero subss %xmm1, %xmm0 movss %xmm0, 4(%r14) movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm0, %xmm0 addss %xmm1, %xmm0 movss %xmm0, (%r12) addss (%rbx), %xmm1 addss 4(%rbx), %xmm1 jmp LBB0_12 LBB0_7: movss (%r8), %xmm1 ## xmm1 = mem[0],zero,zero,zero movss (%rdx), %xmm4 ## xmm4 = mem[0],zero,zero,zero movss 4(%rdx), %xmm2 ## xmm2 = mem[0],zero,zero,zero movaps %xmm2, %xmm3 mulss %xmm2, %xmm3 mulss %xmm4, %xmm4 addss %xmm3, %xmm4 mulss %xmm1, %xmm4 subss %xmm0, %xmm4 mulss %xmm2, %xmm1 mulss %xmm2, %xmm1 mulss %xmm0, %xmm1 xorps %xmm0, %xmm0 ucomiss %xmm0, %xmm4 movss %xmm4, -48(%rbp) ## 4-byte Spill jbe LBB0_9 ## %bb.8: mulss LCPI0_0(%rip), %xmm1 movaps %xmm4, %xmm0 mulss %xmm4, %xmm0 addss %xmm1, %xmm0 callq _sqrt movaps %xmm0, %xmm1 addss -48(%rbp), %xmm1 ## 4-byte Folded Reload mulss LCPI0_1(%rip), %xmm1 jmp LBB0_10 LBB0_3: movshdup %xmm4, %xmm3 ## xmm3 = xmm4[1,1,3,3] movshdup %xmm7, %xmm4 ## xmm4 = xmm7[1,1,3,3] mulss %xmm7, %xmm7 addss %xmm3, %xmm7 mulss %xmm1, %xmm7 subss %xmm0, %xmm7 mulss %xmm4, %xmm1 mulss %xmm4, %xmm1 mulss %xmm0, %xmm1 ucomiss %xmm2, %xmm7 movaps %xmm7, -48(%rbp) ## 16-byte Spill jbe LBB0_5 ## %bb.4: movss LCPI0_5(%rip), %xmm0 ## xmm0 = [-2.0E+0,0.0E+0,0.0E+0,0.0E+0] mulss %xmm1, %xmm0 movss %xmm0, -64(%rbp) ## 4-byte Spill mulss LCPI0_0(%rip), %xmm1 movaps %xmm7, %xmm0 mulss %xmm7, %xmm0 addss %xmm1, %xmm0 callq _sqrt movss -64(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero addss -48(%rbp), %xmm0 ## 16-byte Folded Reload divss %xmm0, %xmm1 jmp LBB0_6 LBB0_9: movaps %xmm1, %xmm0 mulss LCPI0_0(%rip), %xmm1 addss %xmm0, %xmm0 movss %xmm0, -64(%rbp) ## 4-byte Spill movaps %xmm4, %xmm0 mulss %xmm4, %xmm0 addss %xmm1, %xmm0 callq _sqrt movss -64(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero subss -48(%rbp), %xmm0 ## 4-byte Folded Reload divss %xmm0, %xmm1 LBB0_10: movss %xmm1, _slasd5_.tau(%rip) movss 4(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -48(%rbp) ## 4-byte Spill mulss %xmm0, %xmm0 addss %xmm1, %xmm0 jmp LBB0_11 LBB0_5: mulss LCPI0_0(%rip), %xmm1 movaps %xmm7, %xmm0 mulss %xmm7, %xmm0 addss %xmm1, %xmm0 callq _sqrt movaps -48(%rbp), %xmm1 ## 16-byte Reload subss %xmm0, %xmm1 mulss LCPI0_1(%rip), %xmm1 LBB0_6: movss %xmm1, _slasd5_.tau(%rip) movss 4(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, -48(%rbp) ## 4-byte Spill mulss %xmm0, %xmm0 addss %xmm1, %xmm0 callq _dabs xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 LBB0_11: callq _sqrt addss -48(%rbp), %xmm0 ## 4-byte Folded Reload movss _slasd5_.tau(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero divss %xmm0, %xmm2 movss 4(%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm2, %xmm0 movss %xmm2, _slasd5_.tau(%rip) movss _slasd5_.del(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero addss %xmm2, %xmm1 movss %xmm0, (%r15) insertps $16, %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[2,3] xorps LCPI0_2(%rip), %xmm1 movlps %xmm1, (%r14) movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss %xmm2, %xmm0 addss 4(%rbx), %xmm0 movss %xmm0, (%r12) movss 4(%rbx), %xmm1 ## xmm1 = mem[0],zero,zero,zero addss %xmm1, %xmm1 addss %xmm2, %xmm1 LBB0_12: movss %xmm1, 4(%r12) xorl %eax, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_2137 ## @g_aug_volatile_2137 .p2align 2, 0x0 _g_aug_volatile_2137: .long 9 ## 0x9 .zerofill __DATA,__bss,_slasd5_.del,4,2 ## @slasd5_.del .zerofill __DATA,__bss,_slasd5_.tau,4,2 ## @slasd5_.tau .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _slasd5_ ; -- Begin function slasd5_ .p2align 2 _slasd5_: ; @slasd5_ .cfi_startproc ; %bb.0: stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset b8, -72 .cfi_offset b9, -80 mov x19, x6 mov x22, x5 mov x21, x3 mov x20, x1 ldp s4, s3, [x1] fsub s2, s3, s4 adrp x23, _slasd5_.del@PAGE str s2, [x23, _slasd5_.del@PAGEOFF] fadd s0, s3, s4 fmul s0, s2, s0 ldr w8, [x0] cmp w8, #1 b.ne LBB0_3 ; %bb.1: ldr s1, [x4] fmov s5, #4.00000000 fmul s16, s1, s5 ldp s6, s5, [x2] fmul s7, s5, s5 fmov s17, #3.00000000 fmadd s18, s3, s17, s4 fdiv s18, s7, s18 fmul s19, s6, s6 fmadd s3, s4, s17, s3 fdiv s3, s19, s3 fsub s3, s18, s3 fmul s3, s16, s3 fdiv s2, s3, s2 fmov s3, #1.00000000 fadd s2, s2, s3 fcmp s2, #0.0 b.le LBB0_5 ; %bb.2: fmadd s2, s6, s6, s7 fmadd s8, s1, s2, s0 fmul s1, s1, s6 fmul s1, s6, s1 fmul s0, s0, s1 fadd s9, s0, s0 fmov s1, #-4.00000000 fmul s0, s0, s1 fmadd s0, s8, s8, s0 bl _dabs scvtf s0, w0 bl _sqrt fadd s0, s8, s0 fdiv s0, s9, s0 adrp x24, _slasd5_.tau@PAGE str s0, [x24, _slasd5_.tau@PAGEOFF] ldr s8, [x20] fmadd s0, s8, s8, s0 bl _sqrt fadd s0, s8, s0 ldr s1, [x24, _slasd5_.tau@PAGEOFF] fdiv s0, s1, s0 str s0, [x24, _slasd5_.tau@PAGEOFF] ldr s1, [x20] fadd s1, s0, s1 str s1, [x22] fneg s1, s0 str s1, [x21] ldr s1, [x23, _slasd5_.del@PAGEOFF] fsub s1, s1, s0 str s1, [x21, #4] ldr s1, [x20] fmov s2, #2.00000000 fmadd s1, s1, s2, s0 str s1, [x19] ldp s1, s2, [x20] fadd s0, s0, s1 fadd s0, s0, s2 b LBB0_12 LBB0_3: ldr s1, [x4] ldp s2, s3, [x2] fmul s4, s3, s3 fmadd s2, s2, s2, s4 fnmsub s8, s1, s2, s0 fmul s1, s1, s3 fmul s1, s3, s1 fmul s0, s0, s1 fcmp s8, #0.0 b.le LBB0_7 ; %bb.4: fmov s1, #4.00000000 fmul s0, s0, s1 fmadd s0, s8, s8, s0 bl _sqrt fadd s0, s8, s0 fmov s1, #0.50000000 fmul s0, s0, s1 b LBB0_8 LBB0_5: fmadd s2, s6, s6, s7 fnmsub s8, s1, s2, s0 fmul s1, s1, s5 fmul s1, s5, s1 fmul s0, s0, s1 fcmp s8, #0.0 b.le LBB0_9 ; %bb.6: fmov s1, #-2.00000000 fmul s9, s0, s1 fmov s1, #4.00000000 fmul s0, s0, s1 fmadd s0, s8, s8, s0 bl _sqrt fadd s0, s8, s0 fdiv s0, s9, s0 b LBB0_10 LBB0_7: fadd s9, s0, s0 fmov s1, #4.00000000 fmul s0, s0, s1 fmadd s0, s8, s8, s0 bl _sqrt fsub s0, s0, s8 fdiv s0, s9, s0 LBB0_8: adrp x24, _slasd5_.tau@PAGE str s0, [x24, _slasd5_.tau@PAGEOFF] ldr s8, [x20, #4] fmadd s0, s8, s8, s0 b LBB0_11 LBB0_9: fmov s1, #4.00000000 fmul s0, s0, s1 fmadd s0, s8, s8, s0 bl _sqrt fsub s0, s8, s0 fmov s1, #0.50000000 fmul s0, s0, s1 LBB0_10: adrp x24, _slasd5_.tau@PAGE str s0, [x24, _slasd5_.tau@PAGEOFF] ldr s8, [x20, #4] fmadd s0, s8, s8, s0 bl _dabs scvtf s0, w0 LBB0_11: bl _sqrt fadd s0, s8, s0 ldr s1, [x24, _slasd5_.tau@PAGEOFF] fdiv s0, s1, s0 str s0, [x24, _slasd5_.tau@PAGEOFF] ldr s1, [x20, #4] fadd s1, s0, s1 str s1, [x22] ldr s1, [x23, _slasd5_.del@PAGEOFF] fadd s1, s0, s1 fneg s1, s1 fneg s2, s0 stp s1, s2, [x21] ldp s1, s2, [x20] fadd s1, s0, s1 fadd s1, s1, s2 str s1, [x19] ldr s1, [x20, #4] fmov s2, #2.00000000 fmadd s0, s1, s2, s0 LBB0_12: str s0, [x19, #4] mov w0, #0 ; =0x0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_2137 ; @g_aug_volatile_2137 .p2align 2, 0x0 _g_aug_volatile_2137: .long 9 ; 0x9 .zerofill __DATA,__bss,_slasd5_.del,4,2 ; @slasd5_.del .zerofill __DATA,__bss,_slasd5_.tau,4,2 ; @slasd5_.tau .subsections_via_symbols
assembly_file_47692.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _ccv_nnc_tensor_ref_version_has_this_alias_exclusively __ccv_nnc_tensor_ref_version_has_this_alias_exclusively: ## @_ccv_nnc_tensor_ref_version_has_this_alias_exclusively .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, -64(%rbp) ## 8-byte Spill movq %rsi, -72(%rbp) ## 8-byte Spill movq %rdi, %rbx xorl %edi, %edi cmpq $0, (%rcx) setg %dil callq _assert movq %rbx, -56(%rbp) ## 8-byte Spill movq (%rbx), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.1: movl $1, %eax cmpl $0, (%rdi) jle LBB0_9 ## %bb.2: movq _CCV_NNC_MAX_DIM_ALLOC@GOTPCREL(%rip), %r14 xorl %esi, %esi .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %esi, -44(%rbp) ## 4-byte Spill callq _ccv_array_get movq %r15, %r12 movl (%rax), %r13d xorl %edi, %edi movq -72(%rbp), %rbx ## 8-byte Reload cmpl (%rbx), %r13d setl %dil callq _assert movq %rbx, %rdi movl %r13d, %esi callq _ccv_array_get movq %rax, %r15 movq (%rax), %rax shlq $5, %rax movq -64(%rbp), %rbx ## 8-byte Reload movl (%rbx,%rax), %edi callq _assert movq (%r15), %rax movq %r12, %r15 shlq $5, %rax movq 8(%rbx,%rax), %rdi movq 16(%rbx,%rax), %r12 movq 24(%rbx,%rax), %r13 movq 8(%r15), %rsi movl (%r14), %edx shll $2, %edx callq _memcmp testq %rax, %rax jne LBB0_8 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq 16(%r15), %rsi movl (%r14), %edx shll $2, %edx movq %r12, %rdi callq _memcmp testq %rax, %rax jne LBB0_8 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq 24(%r15), %rsi movl (%r14), %edx shll $2, %edx movq %r13, %rdi callq _memcmp testq %rax, %rax jne LBB0_8 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %esi ## 4-byte Reload incl %esi movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rdi cmpl (%rdi), %esi jl LBB0_3 ## %bb.7: movl $1, %eax jmp LBB0_9 LBB0_8: xorl %eax, %eax LBB0_9: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CCV_NNC_MAX_DIM_ALLOC,4,2 ## @CCV_NNC_MAX_DIM_ALLOC .no_dead_strip __ccv_nnc_tensor_ref_version_has_this_alias_exclusively .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _ccv_nnc_tensor_ref_version_has_this_alias_exclusively __ccv_nnc_tensor_ref_version_has_this_alias_exclusively: ; @_ccv_nnc_tensor_ref_version_has_this_alias_exclusively .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 ldr x8, [x3] cmp x8, #0 cset w0, gt bl _assert ldr x0, [x22] cbz x0, LBB0_9 ; %bb.1: ldr w8, [x0] cmp w8, #1 b.lt LBB0_7 ; %bb.2: mov w23, #0 Lloh0: adrp x26, _CCV_NNC_MAX_DIM_ALLOC@GOTPAGE Lloh1: ldr x26, [x26, _CCV_NNC_MAX_DIM_ALLOC@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x1, x23 bl _ccv_array_get ldr w24, [x0] ldr w8, [x21] cmp w24, w8 cset w0, lt bl _assert mov x0, x21 mov x1, x24 bl _ccv_array_get mov x24, x0 ldr x8, [x0] lsl x8, x8, #5 ldr w0, [x20, x8] bl _assert ldr x8, [x24] add x8, x20, x8, lsl #5 ldp x0, x25, [x8, #8] ldr x24, [x8, #24] ldr x1, [x19, #8] ldr w8, [x26] lsl w2, w8, #2 bl _memcmp cbnz x0, LBB0_8 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x1, [x19, #16] ldr w8, [x26] lsl w2, w8, #2 mov x0, x25 bl _memcmp cbnz x0, LBB0_8 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x1, [x19, #24] ldr w8, [x26] lsl w2, w8, #2 mov x0, x24 bl _memcmp cbnz x0, LBB0_8 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 add w23, w23, #1 ldr x0, [x22] ldr w8, [x0] cmp w23, w8 b.lt LBB0_3 LBB0_7: mov w0, #1 b LBB0_9 LBB0_8: mov w0, #0 LBB0_9: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _CCV_NNC_MAX_DIM_ALLOC,4,2 ; @CCV_NNC_MAX_DIM_ALLOC .no_dead_strip __ccv_nnc_tensor_ref_version_has_this_alias_exclusively .subsections_via_symbols
AnghaBench/ccv/lib/nnc/extr_ccv_nnc_symbolic_graph_backward.c__ccv_nnc_tensor_ref_version_has_this_alias_exclusively.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/688732.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function PartialIPAddress _PartialIPAddress: ## @PartialIPAddress .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 $264, %rsp ## imm = 0x108 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %rsi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movb $46, -304(%rbp) leaq -303(%rbp), %rdi callq _strcpy xorl %ecx, %ecx cmpb $46, -303(%rbp) sete %cl movq %rcx, %rax negq %rax movl $-1, %r12d xorl %r14d, %r14d cmpb $46, -304(%rbp,%rax) movl $0, %r15d jne LBB0_7 ## %bb.1: leaq -304(%rbp), %rax subq %rcx, %rax xorl %r15d, %r15d .p2align 4, 0x90 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movzbl 1(%rax), %ecx leal -58(%rcx), %edx cmpb $-10, %dl jb LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 incq %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 leal (%rdx,%rdx,4), %edx movzbl %cl, %ecx leal (%rcx,%rdx,2), %edx addl $-48, %edx movzbl 1(%rax), %ecx incq %rax leal -58(%rcx), %esi cmpb $-11, %sil ja LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 shll $8, %r12d shll $8, %r15d addl %edx, %r15d cmpb $46, %cl je LBB0_2 LBB0_7: movq _AF_INET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq _net_hostport@GOTPCREL(%rip), %rax movl (%rax), %edi callq _htons movl %eax, 4(%rbx) movq _myAddr@GOTPCREL(%rip), %rax movl (%rax), %r13d movl %r12d, %edi callq _htonl movl %eax, %r12d andl %r13d, %r12d movl %r15d, %edi callq _htonl orl %r12d, %eax movl %eax, (%rbx) jmp LBB0_8 LBB0_3: movl $-1, %r14d LBB0_8: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_10 ## %bb.9: movl %r14d, %eax addq $264, %rsp ## imm = 0x108 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _AF_INET,4,2 ## @AF_INET .comm _net_hostport,8,3 ## @net_hostport .comm _myAddr,4,2 ## @myAddr .no_dead_strip _PartialIPAddress .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function PartialIPAddress _PartialIPAddress: ; @PartialIPAddress .cfi_startproc ; %bb.0: sub sp, sp, #336 stp x28, x27, [sp, #272] ; 16-byte Folded Spill stp x22, x21, [sp, #288] ; 16-byte Folded Spill stp x20, x19, [sp, #304] ; 16-byte Folded Spill stp x29, x30, [sp, #320] ; 16-byte Folded Spill add x29, sp, #320 .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 w27, -56 .cfi_offset w28, -64 mov x19, x1 mov x1, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] mov w8, #46 ; =0x2e strb w8, [sp, #8] add x20, sp, #8 add x0, x20, #1 bl _strcpy ldrb w8, [sp, #9] cmp w8, #46 cset w8, eq sub x8, x20, x8 ldrb w9, [x8] cmp w9, #46 b.ne LBB0_6 ; %bb.1: mov w20, #0 ; =0x0 mov w21, #-1 ; =0xffffffff mov w9, #10 ; =0xa LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ldrb w10, [x8, #1]! sub w11, w10, #58 cmn w11, #10 b.lo LBB0_8 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov w11, #0 ; =0x0 LBB0_4: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w12, [x8, #1]! madd w10, w11, w9, w10 sub w11, w10, #48 sub w13, w12, #58 mov x10, x12 cmn w13, #11 b.hi LBB0_4 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 lsl w21, w21, #8 add w20, w11, w20, lsl #8 cmp w12, #46 b.eq LBB0_2 b LBB0_7 LBB0_6: mov w20, #0 ; =0x0 mov w21, #-1 ; =0xffffffff LBB0_7: Lloh3: adrp x8, _AF_INET@GOTPAGE Lloh4: ldr x8, [x8, _AF_INET@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x19] Lloh6: adrp x8, _net_hostport@GOTPAGE Lloh7: ldr x8, [x8, _net_hostport@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _htons str w0, [x19, #4] Lloh9: adrp x8, _myAddr@GOTPAGE Lloh10: ldr x8, [x8, _myAddr@GOTPAGEOFF] Lloh11: ldr w22, [x8] mov x0, x21 bl _htonl and w21, w0, w22 mov x0, x20 bl _htonl mov x8, x0 mov w0, #0 ; =0x0 orr w8, w21, w8 str w8, [x19] b LBB0_9 LBB0_8: mov w0, #-1 ; =0xffffffff LBB0_9: ldur x8, [x29, #-56] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: ldp x29, x30, [sp, #320] ; 16-byte Folded Reload ldp x20, x19, [sp, #304] ; 16-byte Folded Reload ldp x22, x21, [sp, #288] ; 16-byte Folded Reload ldp x28, x27, [sp, #272] ; 16-byte Folded Reload add sp, sp, #336 ret LBB0_11: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _AF_INET,4,2 ; @AF_INET .comm _net_hostport,8,3 ; @net_hostport .comm _myAddr,4,2 ; @myAddr .no_dead_strip _PartialIPAddress .subsections_via_symbols
assembly_file_180332.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vcos_cmd_always_log_output ## -- Begin function vcos_cmd_always_log_output .p2align 4, 0x90 _vcos_cmd_always_log_output: ## @vcos_cmd_always_log_output .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _cmd_globals@GOTPCREL(%rip), %rax movq %rdi, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _cmd_globals,8,3 ## @cmd_globals .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vcos_cmd_always_log_output ; -- Begin function vcos_cmd_always_log_output .p2align 2 _vcos_cmd_always_log_output: ; @vcos_cmd_always_log_output .cfi_startproc ; %bb.0: Lloh0: adrp x8, _cmd_globals@GOTPAGE Lloh1: ldr x8, [x8, _cmd_globals@GOTPAGEOFF] Lloh2: str x0, [x8] ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _cmd_globals,8,3 ; @cmd_globals .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/interface/vcos/generic/extr_vcos_cmd.c_vcos_cmd_always_log_output.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smb_ctx_readrcsection _smb_ctx_readrcsection: ## @smb_ctx_readrcsection .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 movl %edx, %ebx movq %rsi, %r15 movq %rdi, %r14 testl %edx, %edx js LBB0_5 ## %bb.1: movq _smb_rc@GOTPCREL(%rip), %r12 movl (%r12), %edi leaq L_.str(%rip), %rdx leaq -40(%rbp), %rcx movq %r15, %rsi callq _rc_getstringptr movq -40(%rbp), %rsi testq %rsi, %rsi je LBB0_4 ## %bb.2: movq %r14, %rdi callq _smb_ctx_setcharset testl %eax, %eax je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi movl %eax, %esi movq %r15, %rdx callq _smb_error LBB0_4: cmpl $1, %ebx ja LBB0_9 LBB0_5: movq _smb_rc@GOTPCREL(%rip), %r12 movl (%r12), %edi leaq 4(%r14), %rcx leaq L_.str.2(%rip), %rdx movq %r15, %rsi callq _rc_getint movl (%r12), %edi leaq L_.str.3(%rip), %rdx movq %r15, %rsi movq %r14, %rcx callq _rc_getint cmpl $1, %ebx jne LBB0_11 ## %bb.6: movl (%r12), %edi leaq L_.str.4(%rip), %rdx leaq -40(%rbp), %rcx movq %r15, %rsi callq _rc_getstringptr movq -40(%rbp), %rsi testq %rsi, %rsi je LBB0_11 ## %bb.7: movq %r14, %rdi callq _smb_ctx_setsrvaddr testl %eax, %eax je LBB0_11 ## %bb.8: movl %eax, %ebx leaq L_.str.5(%rip), %rdi xorl %esi, %esi movq %r15, %rdx callq _smb_error jmp LBB0_13 LBB0_9: movl (%r12), %edi leaq L_.str.6(%rip), %rdx leaq -40(%rbp), %rcx movq %r15, %rsi callq _rc_getstringptr movq -40(%rbp), %rsi testq %rsi, %rsi je LBB0_11 ## %bb.10: movq %r14, %rdi callq _smb_ctx_setpassword LBB0_11: movq _smb_rc@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.7(%rip), %rdx leaq -40(%rbp), %rcx movq %r15, %rsi callq _rc_getstringptr movq -40(%rbp), %rsi xorl %ebx, %ebx testq %rsi, %rsi je LBB0_13 ## %bb.12: movq %r14, %rdi callq _smb_ctx_setworkgroup LBB0_13: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _smb_rc,4,2 ## @smb_rc .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "charsets" L_.str.1: ## @.str.1 .asciz "charset specification in the section '%s' ignored" L_.str.2: ## @.str.2 .asciz "timeout" L_.str.3: ## @.str.3 .asciz "retry_count" L_.str.4: ## @.str.4 .asciz "addr" L_.str.5: ## @.str.5 .asciz "invalid address specified in the section %s" L_.str.6: ## @.str.6 .asciz "password" L_.str.7: ## @.str.7 .asciz "workgroup" .no_dead_strip _smb_ctx_readrcsection .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smb_ctx_readrcsection _smb_ctx_readrcsection: ; @smb_ctx_readrcsection .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 x21, x2 mov x19, x1 mov x20, x0 Lloh0: adrp x22, _smb_rc@GOTPAGE Lloh1: ldr x22, [x22, _smb_rc@GOTPAGEOFF] tbnz w2, #31, LBB0_5 ; %bb.1: ldr w0, [x22] Lloh2: adrp x2, l_.str@PAGE Lloh3: add x2, x2, l_.str@PAGEOFF add x3, sp, #8 mov x1, x19 bl _rc_getstringptr ldr x1, [sp, #8] cbz x1, LBB0_4 ; %bb.2: mov x0, x20 bl _smb_ctx_setcharset cbz w0, LBB0_4 ; %bb.3: mov x1, x0 Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF mov x2, x19 bl _smb_error LBB0_4: cmp w21, #1 b.hi LBB0_9 LBB0_5: ldr w0, [x22] add x3, x20, #4 Lloh6: adrp x2, l_.str.2@PAGE Lloh7: add x2, x2, l_.str.2@PAGEOFF mov x1, x19 bl _rc_getint ldr w0, [x22] Lloh8: adrp x2, l_.str.3@PAGE Lloh9: add x2, x2, l_.str.3@PAGEOFF mov x1, x19 mov x3, x20 bl _rc_getint cmp w21, #1 b.ne LBB0_11 ; %bb.6: ldr w0, [x22] Lloh10: adrp x2, l_.str.4@PAGE Lloh11: add x2, x2, l_.str.4@PAGEOFF add x3, sp, #8 mov x1, x19 bl _rc_getstringptr ldr x1, [sp, #8] cbz x1, LBB0_11 ; %bb.7: mov x0, x20 bl _smb_ctx_setsrvaddr cbz w0, LBB0_11 ; %bb.8: mov x21, x0 Lloh12: adrp x0, l_.str.5@PAGE Lloh13: add x0, x0, l_.str.5@PAGEOFF mov w1, #0 mov x2, x19 bl _smb_error b LBB0_14 LBB0_9: ldr w0, [x22] Lloh14: adrp x2, l_.str.6@PAGE Lloh15: add x2, x2, l_.str.6@PAGEOFF add x3, sp, #8 mov x1, x19 bl _rc_getstringptr ldr x1, [sp, #8] cbz x1, LBB0_11 ; %bb.10: mov x0, x20 bl _smb_ctx_setpassword LBB0_11: ldr w0, [x22] Lloh16: adrp x2, l_.str.7@PAGE Lloh17: add x2, x2, l_.str.7@PAGEOFF add x3, sp, #8 mov x1, x19 bl _rc_getstringptr ldr x1, [sp, #8] cbz x1, LBB0_13 ; %bb.12: mov x0, x20 bl _smb_ctx_setworkgroup LBB0_13: mov w21, #0 LBB0_14: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _smb_rc,4,2 ; @smb_rc .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "charsets" l_.str.1: ; @.str.1 .asciz "charset specification in the section '%s' ignored" l_.str.2: ; @.str.2 .asciz "timeout" l_.str.3: ; @.str.3 .asciz "retry_count" l_.str.4: ; @.str.4 .asciz "addr" l_.str.5: ; @.str.5 .asciz "invalid address specified in the section %s" l_.str.6: ; @.str.6 .asciz "password" l_.str.7: ; @.str.7 .asciz "workgroup" .no_dead_strip _smb_ctx_readrcsection .subsections_via_symbols
AnghaBench/freebsd/contrib/smbfs/lib/smb/extr_ctx.c_smb_ctx_readrcsection.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cs35l33_probe _cs35l33_probe: ## @cs35l33_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _snd_soc_component_get_drvdata movq %rax, %rbx movq %rax, %r15 movq %r14, 40(%rax) movl (%r14), %edi callq _pm_runtime_get_sync movl (%rbx), %edi movq _CS35L33_PROTECT_CTL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CS35L33_ALIVE_WD_DIS@GOTPCREL(%rip), %rax movl (%rax), %edx movl $8, %ecx callq _regmap_update_bits movl (%rbx), %edi movq _CS35L33_BST_CTL2@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CS35L33_ALIVE_WD_DIS2@GOTPCREL(%rip), %rax movl (%rax), %ecx movl %ecx, %edx callq _regmap_update_bits movq _CS35L33_BST_CTL1@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CS35L33_BST_CTL_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%rbx), %edi movl 8(%rbx), %ecx callq _regmap_update_bits movq _CS35L33_CLASSD_CTL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CS35L33_AMP_DRV_SEL_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%rbx), %edi movl 12(%rbx), %eax movq _CS35L33_AMP_DRV_SEL_SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %eax movl %eax, %ecx callq _regmap_update_bits movq 24(%rbx), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %r14, %rdi callq _cs35l33_set_bst_ipk LBB0_2: cmpq $0, 32(%r15) movq _CS35L33_DAC_CTL@GOTPCREL(%rip), %r12 movl (%r12), %esi movq _CS35L33_DIGSFT@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi je LBB0_4 ## %bb.3: movl %edx, %ecx callq _snd_soc_component_update_bits movl (%r12), %esi movq _CS35L33_DSR_RATE@GOTPCREL(%rip), %rax movl (%rax), %edx movl 16(%r15), %ecx movq %r14, %rdi jmp LBB0_5 LBB0_4: xorl %ecx, %ecx LBB0_5: callq _snd_soc_component_update_bits addq $8, %rbx movl 20(%r15), %ecx cmpl $8, %ecx je LBB0_7 ## %bb.6: movq _CS35L33_ADC_CTL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CS35L33_IMON_SCALE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi callq _snd_soc_component_update_bits LBB0_7: movq %r14, %rdi movq %rbx, %rsi callq _cs35l33_set_hg_data movl (%r15), %edi movq _CS35L33_M_OTE@GOTPCREL(%rip), %rax movq _CS35L33_M_OTW@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx movq _CS35L33_INT_MASK_1@GOTPCREL(%rip), %rax movq _CS35L33_M_AMP_SHORT@GOTPCREL(%rip), %rcx orl (%rcx), %edx movl (%rax), %esi movq _CS35L33_M_CAL_ERR@GOTPCREL(%rip), %rax orl (%rax), %edx xorl %ecx, %ecx callq _regmap_update_bits movl (%r14), %edi callq _pm_runtime_put_sync xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CS35L33_PROTECT_CTL,4,2 ## @CS35L33_PROTECT_CTL .comm _CS35L33_ALIVE_WD_DIS,4,2 ## @CS35L33_ALIVE_WD_DIS .comm _CS35L33_BST_CTL2,4,2 ## @CS35L33_BST_CTL2 .comm _CS35L33_ALIVE_WD_DIS2,4,2 ## @CS35L33_ALIVE_WD_DIS2 .comm _CS35L33_BST_CTL1,4,2 ## @CS35L33_BST_CTL1 .comm _CS35L33_BST_CTL_MASK,4,2 ## @CS35L33_BST_CTL_MASK .comm _CS35L33_CLASSD_CTL,4,2 ## @CS35L33_CLASSD_CTL .comm _CS35L33_AMP_DRV_SEL_MASK,4,2 ## @CS35L33_AMP_DRV_SEL_MASK .comm _CS35L33_AMP_DRV_SEL_SHIFT,4,2 ## @CS35L33_AMP_DRV_SEL_SHIFT .comm _CS35L33_DAC_CTL,4,2 ## @CS35L33_DAC_CTL .comm _CS35L33_DIGSFT,4,2 ## @CS35L33_DIGSFT .comm _CS35L33_DSR_RATE,4,2 ## @CS35L33_DSR_RATE .comm _CS35L33_ADC_CTL,4,2 ## @CS35L33_ADC_CTL .comm _CS35L33_IMON_SCALE,4,2 ## @CS35L33_IMON_SCALE .comm _CS35L33_INT_MASK_1,4,2 ## @CS35L33_INT_MASK_1 .comm _CS35L33_M_OTE,4,2 ## @CS35L33_M_OTE .comm _CS35L33_M_OTW,4,2 ## @CS35L33_M_OTW .comm _CS35L33_M_AMP_SHORT,4,2 ## @CS35L33_M_AMP_SHORT .comm _CS35L33_M_CAL_ERR,4,2 ## @CS35L33_M_CAL_ERR .no_dead_strip _cs35l33_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cs35l33_probe _cs35l33_probe: ; @cs35l33_probe .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _snd_soc_component_get_drvdata mov x20, x0 str x19, [x0, #40] ldr w0, [x19] bl _pm_runtime_get_sync ldr w0, [x20] Lloh0: adrp x8, _CS35L33_PROTECT_CTL@GOTPAGE Lloh1: ldr x8, [x8, _CS35L33_PROTECT_CTL@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _CS35L33_ALIVE_WD_DIS@GOTPAGE Lloh4: ldr x8, [x8, _CS35L33_ALIVE_WD_DIS@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov w3, #8 bl _regmap_update_bits ldr w0, [x20] Lloh6: adrp x8, _CS35L33_BST_CTL2@GOTPAGE Lloh7: ldr x8, [x8, _CS35L33_BST_CTL2@GOTPAGEOFF] Lloh8: ldr w1, [x8] Lloh9: adrp x8, _CS35L33_ALIVE_WD_DIS2@GOTPAGE Lloh10: ldr x8, [x8, _CS35L33_ALIVE_WD_DIS2@GOTPAGEOFF] Lloh11: ldr w2, [x8] mov x3, x2 bl _regmap_update_bits ldr w0, [x20] Lloh12: adrp x8, _CS35L33_BST_CTL1@GOTPAGE Lloh13: ldr x8, [x8, _CS35L33_BST_CTL1@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x8, _CS35L33_BST_CTL_MASK@GOTPAGE Lloh16: ldr x8, [x8, _CS35L33_BST_CTL_MASK@GOTPAGEOFF] Lloh17: ldr w2, [x8] mov x21, x20 ldr w3, [x21, #8]! bl _regmap_update_bits ldr w0, [x20] Lloh18: adrp x8, _CS35L33_CLASSD_CTL@GOTPAGE Lloh19: ldr x8, [x8, _CS35L33_CLASSD_CTL@GOTPAGEOFF] Lloh20: ldr w1, [x8] Lloh21: adrp x8, _CS35L33_AMP_DRV_SEL_MASK@GOTPAGE Lloh22: ldr x8, [x8, _CS35L33_AMP_DRV_SEL_MASK@GOTPAGEOFF] Lloh23: ldr w2, [x8] ldr w8, [x20, #12] Lloh24: adrp x9, _CS35L33_AMP_DRV_SEL_SHIFT@GOTPAGE Lloh25: ldr x9, [x9, _CS35L33_AMP_DRV_SEL_SHIFT@GOTPAGEOFF] Lloh26: ldr w9, [x9] lsl w3, w8, w9 bl _regmap_update_bits ldr x1, [x20, #24] cbz x1, LBB0_2 ; %bb.1: mov x0, x19 bl _cs35l33_set_bst_ipk LBB0_2: ldr x8, [x20, #32] Lloh27: adrp x22, _CS35L33_DAC_CTL@GOTPAGE Lloh28: ldr x22, [x22, _CS35L33_DAC_CTL@GOTPAGEOFF] ldr w1, [x22] Lloh29: adrp x9, _CS35L33_DIGSFT@GOTPAGE Lloh30: ldr x9, [x9, _CS35L33_DIGSFT@GOTPAGEOFF] Lloh31: ldr w2, [x9] mov x0, x19 cbz x8, LBB0_4 ; %bb.3: mov x3, x2 bl _snd_soc_component_update_bits ldr w1, [x22] Lloh32: adrp x8, _CS35L33_DSR_RATE@GOTPAGE Lloh33: ldr x8, [x8, _CS35L33_DSR_RATE@GOTPAGEOFF] Lloh34: ldr w2, [x8] ldr w3, [x20, #16] mov x0, x19 b LBB0_5 LBB0_4: mov w3, #0 LBB0_5: bl _snd_soc_component_update_bits ldr w3, [x20, #20] cmp w3, #8 b.eq LBB0_7 ; %bb.6: Lloh35: adrp x8, _CS35L33_ADC_CTL@GOTPAGE Lloh36: ldr x8, [x8, _CS35L33_ADC_CTL@GOTPAGEOFF] Lloh37: ldr w1, [x8] Lloh38: adrp x8, _CS35L33_IMON_SCALE@GOTPAGE Lloh39: ldr x8, [x8, _CS35L33_IMON_SCALE@GOTPAGEOFF] Lloh40: ldr w2, [x8] mov x0, x19 bl _snd_soc_component_update_bits LBB0_7: mov x0, x19 mov x1, x21 bl _cs35l33_set_hg_data ldr w0, [x20] Lloh41: adrp x8, _CS35L33_INT_MASK_1@GOTPAGE Lloh42: ldr x8, [x8, _CS35L33_INT_MASK_1@GOTPAGEOFF] Lloh43: ldr w1, [x8] Lloh44: adrp x8, _CS35L33_M_OTE@GOTPAGE Lloh45: ldr x8, [x8, _CS35L33_M_OTE@GOTPAGEOFF] Lloh46: ldr w8, [x8] Lloh47: adrp x9, _CS35L33_M_OTW@GOTPAGE Lloh48: ldr x9, [x9, _CS35L33_M_OTW@GOTPAGEOFF] Lloh49: ldr w9, [x9] orr w8, w9, w8 Lloh50: adrp x9, _CS35L33_M_AMP_SHORT@GOTPAGE Lloh51: ldr x9, [x9, _CS35L33_M_AMP_SHORT@GOTPAGEOFF] Lloh52: ldr w9, [x9] orr w8, w8, w9 Lloh53: adrp x9, _CS35L33_M_CAL_ERR@GOTPAGE Lloh54: ldr x9, [x9, _CS35L33_M_CAL_ERR@GOTPAGEOFF] Lloh55: ldr w9, [x9] orr w2, w8, w9 mov w3, #0 bl _regmap_update_bits ldr w0, [x19] bl _pm_runtime_put_sync mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .cfi_endproc ; -- End function .comm _CS35L33_PROTECT_CTL,4,2 ; @CS35L33_PROTECT_CTL .comm _CS35L33_ALIVE_WD_DIS,4,2 ; @CS35L33_ALIVE_WD_DIS .comm _CS35L33_BST_CTL2,4,2 ; @CS35L33_BST_CTL2 .comm _CS35L33_ALIVE_WD_DIS2,4,2 ; @CS35L33_ALIVE_WD_DIS2 .comm _CS35L33_BST_CTL1,4,2 ; @CS35L33_BST_CTL1 .comm _CS35L33_BST_CTL_MASK,4,2 ; @CS35L33_BST_CTL_MASK .comm _CS35L33_CLASSD_CTL,4,2 ; @CS35L33_CLASSD_CTL .comm _CS35L33_AMP_DRV_SEL_MASK,4,2 ; @CS35L33_AMP_DRV_SEL_MASK .comm _CS35L33_AMP_DRV_SEL_SHIFT,4,2 ; @CS35L33_AMP_DRV_SEL_SHIFT .comm _CS35L33_DAC_CTL,4,2 ; @CS35L33_DAC_CTL .comm _CS35L33_DIGSFT,4,2 ; @CS35L33_DIGSFT .comm _CS35L33_DSR_RATE,4,2 ; @CS35L33_DSR_RATE .comm _CS35L33_ADC_CTL,4,2 ; @CS35L33_ADC_CTL .comm _CS35L33_IMON_SCALE,4,2 ; @CS35L33_IMON_SCALE .comm _CS35L33_INT_MASK_1,4,2 ; @CS35L33_INT_MASK_1 .comm _CS35L33_M_OTE,4,2 ; @CS35L33_M_OTE .comm _CS35L33_M_OTW,4,2 ; @CS35L33_M_OTW .comm _CS35L33_M_AMP_SHORT,4,2 ; @CS35L33_M_AMP_SHORT .comm _CS35L33_M_CAL_ERR,4,2 ; @CS35L33_M_CAL_ERR .no_dead_strip _cs35l33_probe .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_cs35l33.c_cs35l33_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _data_add_change ## -- Begin function data_add_change .p2align 4, 0x90 _data_add_change: ## @data_add_change .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rsi, %r15 movq %rdi, %r14 incl %ebx movl %ebx, %esi callq _map_int_vptr_add movq %rax, %r12 movq %r14, %rdi callq _DATA_FUNC movq %r12, %rdi movq %r15, %rsi callq *(%rax) cmpq $0, (%r12) jne LBB0_2 ## %bb.1: movq %r14, %rdi movl %ebx, %esi callq _map_int_vptr_del LBB0_2: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _data_add_change ; -- Begin function data_add_change .p2align 2 _data_add_change: ; @data_add_change .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x20, x0 add w19, w2, #1 mov x1, x19 bl _map_int_vptr_add mov x22, x0 mov x0, x20 bl _DATA_FUNC ldr x8, [x0] mov x0, x22 mov x1, x21 blr x8 ldr x8, [x22] cbnz x8, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x19 bl _map_int_vptr_del LBB0_2: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/kphp-kdb/photo/extr_utils.c_data_add_change.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/162644092.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_snow_frame_start ## -- Begin function ff_snow_frame_start .p2align 4, 0x90 _ff_snow_frame_start: ## @ff_snow_frame_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl 24(%rdi), %edi callq _ff_snow_release_buffer movq 32(%rbx), %rax movslq (%rbx), %rdx movq -8(%rax,%rdx,8), %r14 cmpq $2, %rdx jl LBB0_3 ## %bb.1: movq %rdx, %rax decq %rax movl %eax, %eax incq %rax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 32(%rbx), %rcx movq -16(%rcx,%rax,8), %rsi movq %rsi, -8(%rcx,%rax,8) decq %rax cmpq $1, %rax ja LBB0_2 LBB0_3: movq 40(%rbx), %rsi leaq 4(%rsi), %rdi shll $7, %edx addl $-128, %edx ## kill: def $edx killed $edx killed $rdx callq _memmove movq _USE_HALFPEL_PLANE@GOTPCREL(%rip), %rax cmpq $0, (%rax) movq 16(%rbx), %rdx jne LBB0_5 ## %bb.4: movq 8(%rdx), %rax cmpq $0, (%rax) je LBB0_7 LBB0_5: movq 40(%rbx), %rax movl (%rax), %esi movq %rbx, %rdi callq _halfpel_interpol testl %eax, %eax js LBB0_18 ## %bb.6: movq 16(%rbx), %rdx LBB0_7: movq 32(%rbx), %rax movq %rdx, (%rax) movq %r14, 16(%rbx) xorl %eax, %eax cmpq $0, 8(%rbx) je LBB0_8 LBB0_13: movl %eax, 4(%rbx) LBB0_14: movq %rbx, %rdi movq %r14, %rsi callq _ff_snow_get_buffer testl %eax, %eax js LBB0_18 ## %bb.15: movq 8(%rbx), %rax movq 16(%rbx), %rcx movq %rax, (%rcx) xorl %eax, %eax jmp LBB0_18 LBB0_8: movl (%rbx), %eax testl %eax, %eax js LBB0_9 ## %bb.10: movq 32(%rbx), %rcx incq %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%rcx,%rdx,8), %rsi movq 8(%rsi), %rsi cmpq $0, (%rsi) je LBB0_16 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 incq %rdx cmpq %rdx, %rax jne LBB0_11 jmp LBB0_13 LBB0_9: movl $0, 4(%rbx) jmp LBB0_17 LBB0_16: movl %edx, 4(%rbx) testq %rdx, %rdx jne LBB0_14 LBB0_17: movl 24(%rbx), %edi movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx callq _av_log movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_18: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _USE_HALFPEL_PLANE,8,3 ## @USE_HALFPEL_PLANE .comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "No reference frames\n" .comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_snow_frame_start ; -- Begin function ff_snow_frame_start .p2align 2 _ff_snow_frame_start: ; @ff_snow_frame_start .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #24] bl _ff_snow_release_buffer ldr x10, [x19, #32] ldr w8, [x19] sub w9, w8, #1 ldr x20, [x10, w9, sxtw #3] cmp w8, #2 b.lt LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x10, [x19, #32] add x10, x10, x9, lsl #3 ldur x11, [x10, #-8] str x11, [x10] subs x9, x9, #1 b.hi LBB0_1 LBB0_2: ldr x1, [x19, #40] lsl w8, w8, #7 sub w2, w8, #128 add x0, x1, #4 bl _memmove Lloh0: adrp x8, _USE_HALFPEL_PLANE@GOTPAGE Lloh1: ldr x8, [x8, _USE_HALFPEL_PLANE@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x2, [x19, #16] cbnz x8, LBB0_4 ; %bb.3: ldr x8, [x2, #8] ldr x8, [x8] cbz x8, LBB0_6 LBB0_4: ldr x8, [x19, #40] ldr w1, [x8] mov x0, x19 bl _halfpel_interpol tbnz w0, #31, LBB0_18 ; %bb.5: ldr x2, [x19, #16] LBB0_6: ldr x8, [x19, #32] str x2, [x8] str x20, [x19, #16] ldr x8, [x19, #8] cbz x8, LBB0_11 ; %bb.7: mov w8, #0 ; =0x0 LBB0_8: str w8, [x19, #4] LBB0_9: mov x0, x19 mov x1, x20 bl _ff_snow_get_buffer tbnz w0, #31, LBB0_18 ; %bb.10: mov w0, #0 ; =0x0 ldp x8, x9, [x19, #8] str x8, [x9] b LBB0_18 LBB0_11: ldr w8, [x19] tbnz w8, #31, LBB0_15 ; %bb.12: mov x9, #0 ; =0x0 ldr x10, [x19, #32] add x8, x8, #1 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10, x9, lsl #3] ldr x11, [x11, #8] ldr x11, [x11] cbz x11, LBB0_16 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 add x9, x9, #1 cmp x8, x9 b.ne LBB0_13 b LBB0_8 LBB0_15: str wzr, [x19, #4] b LBB0_17 LBB0_16: str w9, [x19, #4] cbnz x9, LBB0_9 LBB0_17: ldr w0, [x19, #24] Lloh3: adrp x8, _AV_LOG_ERROR@GOTPAGE Lloh4: ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x2, l_.str@PAGE Lloh7: add x2, x2, l_.str@PAGEOFF bl _av_log Lloh8: adrp x8, _AVERROR_INVALIDDATA@GOTPAGE Lloh9: ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF] Lloh10: ldr w0, [x8] LBB0_18: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _USE_HALFPEL_PLANE,8,3 ; @USE_HALFPEL_PLANE .comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No reference frames\n" .comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA .subsections_via_symbols
assembly_file_120702.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function handle_map _handle_map: ## @handle_map .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _map@GOTPCREL(%rip), %rax movl (%rax), %edx callq _wl_container_of movq %rax, %rbx movq 32(%rax), %r15 movq 32(%r15), %rax movq %rax, 56(%rbx) movq 24(%r15), %rcx movq %rcx, 48(%rbx) orq %rcx, %rax jne LBB0_2 ## %bb.1: movq 16(%r15), %rax movups 8(%rax), %xmm0 movups %xmm0, 48(%rbx) LBB0_2: leaq 32(%rbx), %r14 xorl %r8d, %r8d cmpl $0, 40(%rbx) jne LBB0_6 ## %bb.3: movq 16(%r15), %rdi callq _decoration_from_surface testq %rax, %rax je LBB0_4 ## %bb.5: movq (%rax), %rax movq (%rax), %rax movq _WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT@GOTPCREL(%rip), %rcx xorl %r8d, %r8d cmpq (%rcx), %rax sete %r8b jmp LBB0_6 LBB0_4: movl $1, %r8d LBB0_6: movq 32(%rbx), %rax movq 16(%rax), %rsi movq (%r15), %rax movl 20(%rax), %ecx movl 24(%rax), %edx movq %r14, %rdi callq _view_map xorl %eax, %eax callq _transaction_commit_dirty movq _handle_commit@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 24(%rbx), %rsi movl %eax, 24(%rbx) movq 16(%r15), %rdi callq _wl_signal_add movq _handle_new_popup@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 20(%rbx), %rsi movl %eax, 20(%rbx) leaq 8(%r15), %rdi callq _wl_signal_add movq _handle_request_fullscreen@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 16(%rbx), %rsi movl %eax, 16(%rbx) movq (%r15), %rdi addq $16, %rdi callq _wl_signal_add movq _handle_request_move@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 12(%rbx), %rsi movl %eax, 12(%rbx) movq (%r15), %rdi addq $12, %rdi callq _wl_signal_add movq _handle_request_resize@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 8(%rbx), %rsi movl %eax, 8(%rbx) movq (%r15), %rdi addq $8, %rdi callq _wl_signal_add movq _handle_set_title@GOTPCREL(%rip), %rax movl (%rax), %eax movq %rbx, %rsi addq $4, %rsi movl %eax, 4(%rbx) movq (%r15), %rdi addq $4, %rdi callq _wl_signal_add movq _handle_set_app_id@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq (%r15), %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _wl_signal_add ## TAILCALL .cfi_endproc ## -- End function .comm _map,4,2 ## @map .comm _WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT,8,3 ## @WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT .comm _handle_commit,4,2 ## @handle_commit .comm _handle_new_popup,4,2 ## @handle_new_popup .comm _handle_request_fullscreen,4,2 ## @handle_request_fullscreen .comm _handle_request_move,4,2 ## @handle_request_move .comm _handle_request_resize,4,2 ## @handle_request_resize .comm _handle_set_title,4,2 ## @handle_set_title .comm _handle_set_app_id,4,2 ## @handle_set_app_id .comm _xdg_shell_view,8,3 ## @xdg_shell_view .no_dead_strip _handle_map .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function handle_map _handle_map: ; @handle_map .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _map@GOTPAGE Lloh1: ldr x8, [x8, _map@GOTPAGEOFF] Lloh2: ldr w2, [x8] bl _wl_container_of mov x19, x0 mov x20, x0 ldr x21, [x20, #32]! ldp x9, x8, [x21, #24] stp x9, x8, [x0, #48] orr x8, x8, x9 cbnz x8, LBB0_2 ; %bb.1: ldr x8, [x21, #16] ldur q0, [x8, #8] str q0, [x19, #48] LBB0_2: ldr w8, [x19, #40] cbz w8, LBB0_4 ; %bb.3: mov w4, #0 b LBB0_7 LBB0_4: ldr x0, [x21, #16] bl _decoration_from_surface cbz x0, LBB0_6 ; %bb.5: ldr x8, [x0] ldr x8, [x8] Lloh3: adrp x9, _WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT@GOTPAGE Lloh4: ldr x9, [x9, _WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 cset w4, eq b LBB0_7 LBB0_6: mov w4, #1 LBB0_7: ldr x8, [x19, #32] ldr x1, [x8, #16] ldr x8, [x21] ldp w3, w2, [x8, #20] mov x0, x20 bl _view_map bl _transaction_commit_dirty Lloh6: adrp x8, _handle_commit@GOTPAGE Lloh7: ldr x8, [x8, _handle_commit@GOTPAGEOFF] Lloh8: ldr w8, [x8] mov x1, x19 str w8, [x1, #24]! ldr x0, [x21, #16] bl _wl_signal_add Lloh9: adrp x8, _handle_new_popup@GOTPAGE Lloh10: ldr x8, [x8, _handle_new_popup@GOTPAGEOFF] Lloh11: ldr w8, [x8] mov x1, x19 str w8, [x1, #20]! add x0, x21, #8 bl _wl_signal_add Lloh12: adrp x8, _handle_request_fullscreen@GOTPAGE Lloh13: ldr x8, [x8, _handle_request_fullscreen@GOTPAGEOFF] Lloh14: ldr w8, [x8] mov x1, x19 str w8, [x1, #16]! ldr x8, [x21] add x0, x8, #16 bl _wl_signal_add Lloh15: adrp x8, _handle_request_move@GOTPAGE Lloh16: ldr x8, [x8, _handle_request_move@GOTPAGEOFF] Lloh17: ldr w8, [x8] mov x1, x19 str w8, [x1, #12]! ldr x8, [x21] add x0, x8, #12 bl _wl_signal_add Lloh18: adrp x8, _handle_request_resize@GOTPAGE Lloh19: ldr x8, [x8, _handle_request_resize@GOTPAGEOFF] Lloh20: ldr w8, [x8] mov x1, x19 str w8, [x1, #8]! ldr x8, [x21] add x0, x8, #8 bl _wl_signal_add Lloh21: adrp x8, _handle_set_title@GOTPAGE Lloh22: ldr x8, [x8, _handle_set_title@GOTPAGEOFF] Lloh23: ldr w8, [x8] mov x1, x19 str w8, [x1, #4]! ldr x8, [x21] add x0, x8, #4 bl _wl_signal_add Lloh24: adrp x8, _handle_set_app_id@GOTPAGE Lloh25: ldr x8, [x8, _handle_set_app_id@GOTPAGEOFF] Lloh26: ldr w8, [x8] str w8, [x19] ldr x0, [x21] 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 _wl_signal_add .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _map,4,2 ; @map .comm _WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT,8,3 ; @WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT .comm _handle_commit,4,2 ; @handle_commit .comm _handle_new_popup,4,2 ; @handle_new_popup .comm _handle_request_fullscreen,4,2 ; @handle_request_fullscreen .comm _handle_request_move,4,2 ; @handle_request_move .comm _handle_request_resize,4,2 ; @handle_request_resize .comm _handle_set_title,4,2 ; @handle_set_title .comm _handle_set_app_id,4,2 ; @handle_set_app_id .comm _xdg_shell_view,8,3 ; @xdg_shell_view .no_dead_strip _handle_map .subsections_via_symbols
AnghaBench/sway/sway/desktop/extr_xdg_shell.c_handle_map.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nv_get_settings _nv_get_settings: ## @nv_get_settings .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r12 callq _netdev_priv movq %rax, %r15 leaq 16(%rax), %r14 movq %r14, %rdi callq _spin_lock_irq movq _PORT_MII@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%rbx) movq %r12, %rdi callq _netif_running testl %eax, %eax je LBB0_1 LBB0_6: movq %r12, %rdi callq _netif_carrier_ok testq %rax, %rax je LBB0_11 ## %bb.7: movq _NVREG_LINKSPEED_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax andl (%r15), %eax addl $-128, %eax cmpl $2, %eax ja LBB0_9 ## %bb.8: cltq leaq l_switch.table.nv_get_settings(%rip), %rcx movq (%rcx,%rax,8), %rax movl (%rax), %eax movl %eax, (%rbx) LBB0_9: movq _DUPLEX_HALF@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) cmpq $0, 32(%r15) je LBB0_12 ## %bb.10: movq _DUPLEX_FULL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) jmp LBB0_12 LBB0_1: movq %r12, %rdi callq _nv_update_linkspeed movq %rax, %r13 movq %r12, %rdi callq _netif_carrier_ok testq %r13, %r13 je LBB0_4 ## %bb.2: testq %rax, %rax jne LBB0_6 ## %bb.3: movq %r12, %rdi callq _netif_carrier_on jmp LBB0_6 LBB0_11: movq $-1, (%rbx) LBB0_12: movq 24(%r15), %rcx movq %rcx, 24(%rbx) movq _ADVERTISED_MII@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%rbx) testq %rcx, %rcx je LBB0_24 ## %bb.13: movq _ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, 20(%rbx) movl 20(%r15), %esi movq _MII_ADVERTISE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _MII_READ@GOTPCREL(%rip), %r13 movl (%r13), %ecx movq %r12, %rdi callq _mii_rw movq _ADVERTISE_10HALF@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_15 ## %bb.14: movq _ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, 20(%rbx) LBB0_15: movq _ADVERTISE_10FULL@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_17 ## %bb.16: movq _ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, 20(%rbx) LBB0_17: movq _ADVERTISE_100HALF@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_19 ## %bb.18: movq _ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, 20(%rbx) LBB0_19: movq _ADVERTISE_100FULL@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_21 ## %bb.20: movq _ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 20(%rbx) LBB0_21: movq 8(%r15), %rax movq _PHY_GIGABIT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_24 ## %bb.22: movl 20(%r15), %esi movq _MII_CTRL1000@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%r13), %ecx movq %r12, %rdi callq _mii_rw movq _ADVERTISE_1000FULL@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_24 ## %bb.23: movq _ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 20(%rbx) LBB0_24: movq _SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx movq _SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%rcx), %eax movq _SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _SUPPORTED_MII@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, 8(%rbx) movq 8(%r15), %rcx movq _PHY_GIGABIT@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_26 ## %bb.25: movq _SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, 8(%rbx) LBB0_26: movl 20(%r15), %eax movl %eax, 16(%rbx) movq _XCVR_EXTERNAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rbx) movq %r14, %rdi callq _spin_unlock_irq xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: testq %rax, %rax je LBB0_6 ## %bb.5: movq %r12, %rdi callq _netif_carrier_off jmp LBB0_6 .cfi_endproc ## -- End function .comm _PORT_MII,4,2 ## @PORT_MII .comm _NVREG_LINKSPEED_MASK,4,2 ## @NVREG_LINKSPEED_MASK .comm _SPEED_10,4,2 ## @SPEED_10 .comm _SPEED_100,4,2 ## @SPEED_100 .comm _SPEED_1000,4,2 ## @SPEED_1000 .comm _DUPLEX_HALF,4,2 ## @DUPLEX_HALF .comm _DUPLEX_FULL,4,2 ## @DUPLEX_FULL .comm _ADVERTISED_MII,4,2 ## @ADVERTISED_MII .comm _ADVERTISED_Autoneg,4,2 ## @ADVERTISED_Autoneg .comm _MII_ADVERTISE,4,2 ## @MII_ADVERTISE .comm _MII_READ,4,2 ## @MII_READ .comm _ADVERTISE_10HALF,4,2 ## @ADVERTISE_10HALF .comm _ADVERTISED_10baseT_Half,4,2 ## @ADVERTISED_10baseT_Half .comm _ADVERTISE_10FULL,4,2 ## @ADVERTISE_10FULL .comm _ADVERTISED_10baseT_Full,4,2 ## @ADVERTISED_10baseT_Full .comm _ADVERTISE_100HALF,4,2 ## @ADVERTISE_100HALF .comm _ADVERTISED_100baseT_Half,4,2 ## @ADVERTISED_100baseT_Half .comm _ADVERTISE_100FULL,4,2 ## @ADVERTISE_100FULL .comm _ADVERTISED_100baseT_Full,4,2 ## @ADVERTISED_100baseT_Full .comm _PHY_GIGABIT,8,3 ## @PHY_GIGABIT .comm _MII_CTRL1000,4,2 ## @MII_CTRL1000 .comm _ADVERTISE_1000FULL,4,2 ## @ADVERTISE_1000FULL .comm _ADVERTISED_1000baseT_Full,4,2 ## @ADVERTISED_1000baseT_Full .comm _SUPPORTED_Autoneg,4,2 ## @SUPPORTED_Autoneg .comm _SUPPORTED_10baseT_Half,4,2 ## @SUPPORTED_10baseT_Half .comm _SUPPORTED_10baseT_Full,4,2 ## @SUPPORTED_10baseT_Full .comm _SUPPORTED_100baseT_Half,4,2 ## @SUPPORTED_100baseT_Half .comm _SUPPORTED_100baseT_Full,4,2 ## @SUPPORTED_100baseT_Full .comm _SUPPORTED_MII,4,2 ## @SUPPORTED_MII .comm _SUPPORTED_1000baseT_Full,4,2 ## @SUPPORTED_1000baseT_Full .comm _XCVR_EXTERNAL,4,2 ## @XCVR_EXTERNAL .no_dead_strip _nv_get_settings .section __DATA,__const .p2align 3 ## @switch.table.nv_get_settings l_switch.table.nv_get_settings: .quad _SPEED_1000 .quad _SPEED_100 .quad _SPEED_10 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nv_get_settings _nv_get_settings: ; @nv_get_settings .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x22, x0 bl _netdev_priv mov x21, x0 add x20, x0, #16 mov x0, x20 bl _spin_lock_irq Lloh0: adrp x8, _PORT_MII@GOTPAGE Lloh1: ldr x8, [x8, _PORT_MII@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x19, #32] mov x0, x22 bl _netif_running cbz w0, LBB0_6 LBB0_1: mov x0, x22 bl _netif_carrier_ok cbz x0, LBB0_9 ; %bb.2: ldr w8, [x21] Lloh3: adrp x9, _NVREG_LINKSPEED_MASK@GOTPAGE Lloh4: ldr x9, [x9, _NVREG_LINKSPEED_MASK@GOTPAGEOFF] Lloh5: ldr w9, [x9] and w8, w9, w8 sub w8, w8, #128 cmp w8, #2 b.hi LBB0_4 ; %bb.3: Lloh6: adrp x9, l_switch.table.nv_get_settings@PAGE Lloh7: add x9, x9, l_switch.table.nv_get_settings@PAGEOFF ldr x8, [x9, w8, sxtw #3] ldr w8, [x8] str w8, [x19] LBB0_4: Lloh8: adrp x8, _DUPLEX_HALF@GOTPAGE Lloh9: ldr x8, [x8, _DUPLEX_HALF@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x19, #4] ldr x8, [x21, #32] cbz x8, LBB0_10 ; %bb.5: Lloh11: adrp x8, _DUPLEX_FULL@GOTPAGE Lloh12: ldr x8, [x8, _DUPLEX_FULL@GOTPAGEOFF] Lloh13: ldr w8, [x8] str w8, [x19, #4] b LBB0_10 LBB0_6: mov x0, x22 bl _nv_update_linkspeed mov x23, x0 mov x0, x22 bl _netif_carrier_ok cbz x23, LBB0_25 ; %bb.7: cbnz x0, LBB0_1 ; %bb.8: mov x0, x22 bl _netif_carrier_on b LBB0_1 LBB0_9: movi.2d v0, #0xffffffffffffffff str d0, [x19] LBB0_10: ldr x9, [x21, #24] str x9, [x19, #24] Lloh14: adrp x8, _ADVERTISED_MII@GOTPAGE Lloh15: ldr x8, [x8, _ADVERTISED_MII@GOTPAGEOFF] Lloh16: ldr w8, [x8] str w8, [x19, #20] Lloh17: adrp x23, _PHY_GIGABIT@GOTPAGE Lloh18: ldr x23, [x23, _PHY_GIGABIT@GOTPAGEOFF] cbz x9, LBB0_22 ; %bb.11: Lloh19: adrp x9, _ADVERTISED_Autoneg@GOTPAGE Lloh20: ldr x9, [x9, _ADVERTISED_Autoneg@GOTPAGEOFF] Lloh21: ldr w9, [x9] orr w8, w9, w8 str w8, [x19, #20] ldr w1, [x21, #20] Lloh22: adrp x8, _MII_ADVERTISE@GOTPAGE Lloh23: ldr x8, [x8, _MII_ADVERTISE@GOTPAGEOFF] Lloh24: ldr w2, [x8] Lloh25: adrp x24, _MII_READ@GOTPAGE Lloh26: ldr x24, [x24, _MII_READ@GOTPAGEOFF] ldr w3, [x24] mov x0, x22 bl _mii_rw Lloh27: adrp x8, _ADVERTISE_10HALF@GOTPAGE Lloh28: ldr x8, [x8, _ADVERTISE_10HALF@GOTPAGEOFF] Lloh29: ldr w8, [x8] tst w8, w0 b.eq LBB0_13 ; %bb.12: Lloh30: adrp x8, _ADVERTISED_10baseT_Half@GOTPAGE Lloh31: ldr x8, [x8, _ADVERTISED_10baseT_Half@GOTPAGEOFF] Lloh32: ldr w8, [x8] ldr w9, [x19, #20] orr w8, w9, w8 str w8, [x19, #20] LBB0_13: Lloh33: adrp x8, _ADVERTISE_10FULL@GOTPAGE Lloh34: ldr x8, [x8, _ADVERTISE_10FULL@GOTPAGEOFF] Lloh35: ldr w8, [x8] tst w8, w0 b.eq LBB0_15 ; %bb.14: Lloh36: adrp x8, _ADVERTISED_10baseT_Full@GOTPAGE Lloh37: ldr x8, [x8, _ADVERTISED_10baseT_Full@GOTPAGEOFF] Lloh38: ldr w8, [x8] ldr w9, [x19, #20] orr w8, w9, w8 str w8, [x19, #20] LBB0_15: Lloh39: adrp x8, _ADVERTISE_100HALF@GOTPAGE Lloh40: ldr x8, [x8, _ADVERTISE_100HALF@GOTPAGEOFF] Lloh41: ldr w8, [x8] tst w8, w0 b.eq LBB0_17 ; %bb.16: Lloh42: adrp x8, _ADVERTISED_100baseT_Half@GOTPAGE Lloh43: ldr x8, [x8, _ADVERTISED_100baseT_Half@GOTPAGEOFF] Lloh44: ldr w8, [x8] ldr w9, [x19, #20] orr w8, w9, w8 str w8, [x19, #20] LBB0_17: Lloh45: adrp x8, _ADVERTISE_100FULL@GOTPAGE Lloh46: ldr x8, [x8, _ADVERTISE_100FULL@GOTPAGEOFF] Lloh47: ldr w8, [x8] tst w8, w0 b.eq LBB0_19 ; %bb.18: Lloh48: adrp x8, _ADVERTISED_100baseT_Full@GOTPAGE Lloh49: ldr x8, [x8, _ADVERTISED_100baseT_Full@GOTPAGEOFF] Lloh50: ldr w8, [x8] ldr w9, [x19, #20] orr w8, w9, w8 str w8, [x19, #20] LBB0_19: ldr x8, [x21, #8] ldr x9, [x23] cmp x8, x9 b.ne LBB0_22 ; %bb.20: ldr w1, [x21, #20] Lloh51: adrp x8, _MII_CTRL1000@GOTPAGE Lloh52: ldr x8, [x8, _MII_CTRL1000@GOTPAGEOFF] Lloh53: ldr w2, [x8] ldr w3, [x24] mov x0, x22 bl _mii_rw Lloh54: adrp x8, _ADVERTISE_1000FULL@GOTPAGE Lloh55: ldr x8, [x8, _ADVERTISE_1000FULL@GOTPAGEOFF] Lloh56: ldr w8, [x8] tst w8, w0 b.eq LBB0_22 ; %bb.21: Lloh57: adrp x8, _ADVERTISED_1000baseT_Full@GOTPAGE Lloh58: ldr x8, [x8, _ADVERTISED_1000baseT_Full@GOTPAGEOFF] Lloh59: ldr w8, [x8] ldr w9, [x19, #20] orr w8, w9, w8 str w8, [x19, #20] LBB0_22: Lloh60: adrp x8, _SUPPORTED_Autoneg@GOTPAGE Lloh61: ldr x8, [x8, _SUPPORTED_Autoneg@GOTPAGEOFF] Lloh62: ldr w8, [x8] Lloh63: adrp x9, _SUPPORTED_10baseT_Half@GOTPAGE Lloh64: ldr x9, [x9, _SUPPORTED_10baseT_Half@GOTPAGEOFF] Lloh65: ldr w9, [x9] orr w8, w9, w8 Lloh66: adrp x9, _SUPPORTED_10baseT_Full@GOTPAGE Lloh67: ldr x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF] Lloh68: ldr w9, [x9] orr w8, w8, w9 Lloh69: adrp x9, _SUPPORTED_100baseT_Half@GOTPAGE Lloh70: ldr x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF] Lloh71: ldr w9, [x9] orr w8, w8, w9 Lloh72: adrp x9, _SUPPORTED_100baseT_Full@GOTPAGE Lloh73: ldr x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF] Lloh74: ldr w9, [x9] orr w8, w8, w9 Lloh75: adrp x9, _SUPPORTED_MII@GOTPAGE Lloh76: ldr x9, [x9, _SUPPORTED_MII@GOTPAGEOFF] Lloh77: ldr w9, [x9] orr w8, w8, w9 str w8, [x19, #8] ldr x9, [x21, #8] ldr x10, [x23] cmp x9, x10 b.ne LBB0_24 ; %bb.23: Lloh78: adrp x9, _SUPPORTED_1000baseT_Full@GOTPAGE Lloh79: ldr x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF] Lloh80: ldr w9, [x9] orr w8, w9, w8 str w8, [x19, #8] LBB0_24: ldr w8, [x21, #20] Lloh81: adrp x9, _XCVR_EXTERNAL@GOTPAGE Lloh82: ldr x9, [x9, _XCVR_EXTERNAL@GOTPAGEOFF] Lloh83: ldr w9, [x9] stp w9, w8, [x19, #12] mov x0, x20 bl _spin_unlock_irq mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_25: cbz x0, LBB0_1 ; %bb.26: mov x0, x22 bl _netif_carrier_off b LBB0_1 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .cfi_endproc ; -- End function .comm _PORT_MII,4,2 ; @PORT_MII .comm _NVREG_LINKSPEED_MASK,4,2 ; @NVREG_LINKSPEED_MASK .comm _SPEED_10,4,2 ; @SPEED_10 .comm _SPEED_100,4,2 ; @SPEED_100 .comm _SPEED_1000,4,2 ; @SPEED_1000 .comm _DUPLEX_HALF,4,2 ; @DUPLEX_HALF .comm _DUPLEX_FULL,4,2 ; @DUPLEX_FULL .comm _ADVERTISED_MII,4,2 ; @ADVERTISED_MII .comm _ADVERTISED_Autoneg,4,2 ; @ADVERTISED_Autoneg .comm _MII_ADVERTISE,4,2 ; @MII_ADVERTISE .comm _MII_READ,4,2 ; @MII_READ .comm _ADVERTISE_10HALF,4,2 ; @ADVERTISE_10HALF .comm _ADVERTISED_10baseT_Half,4,2 ; @ADVERTISED_10baseT_Half .comm _ADVERTISE_10FULL,4,2 ; @ADVERTISE_10FULL .comm _ADVERTISED_10baseT_Full,4,2 ; @ADVERTISED_10baseT_Full .comm _ADVERTISE_100HALF,4,2 ; @ADVERTISE_100HALF .comm _ADVERTISED_100baseT_Half,4,2 ; @ADVERTISED_100baseT_Half .comm _ADVERTISE_100FULL,4,2 ; @ADVERTISE_100FULL .comm _ADVERTISED_100baseT_Full,4,2 ; @ADVERTISED_100baseT_Full .comm _PHY_GIGABIT,8,3 ; @PHY_GIGABIT .comm _MII_CTRL1000,4,2 ; @MII_CTRL1000 .comm _ADVERTISE_1000FULL,4,2 ; @ADVERTISE_1000FULL .comm _ADVERTISED_1000baseT_Full,4,2 ; @ADVERTISED_1000baseT_Full .comm _SUPPORTED_Autoneg,4,2 ; @SUPPORTED_Autoneg .comm _SUPPORTED_10baseT_Half,4,2 ; @SUPPORTED_10baseT_Half .comm _SUPPORTED_10baseT_Full,4,2 ; @SUPPORTED_10baseT_Full .comm _SUPPORTED_100baseT_Half,4,2 ; @SUPPORTED_100baseT_Half .comm _SUPPORTED_100baseT_Full,4,2 ; @SUPPORTED_100baseT_Full .comm _SUPPORTED_MII,4,2 ; @SUPPORTED_MII .comm _SUPPORTED_1000baseT_Full,4,2 ; @SUPPORTED_1000baseT_Full .comm _XCVR_EXTERNAL,4,2 ; @XCVR_EXTERNAL .no_dead_strip _nv_get_settings .section __DATA,__const .p2align 3 ; @switch.table.nv_get_settings l_switch.table.nv_get_settings: .quad _SPEED_1000 .quad _SPEED_100 .quad _SPEED_10 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_forcedeth.c_nv_get_settings.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function update_context LCPI0_0: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _update_context: ## @update_context .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq (%rdi), %r13 movslq 8(%rdi), %rax movq %rax, -48(%rbp) ## 8-byte Spill testq %rdx, %rdx je LBB0_2 ## %bb.1: movq %rdx, %rbx movq 16(%r14), %rax movq 56(%r15), %rcx movq _VAR_N@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq %rax, (%rcx,%rdx,8) movl (%rbx), %edi movl 8(%r14), %esi callq _TS2T movq 56(%r15), %rcx movq _VAR_T@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq %rax, (%rcx,%rdx,8) movl (%rbx), %edi callq _TS2D jmp LBB0_3 LBB0_2: movq _NAN@GOTPCREL(%rip), %rax movq (%rax), %rcx movq 56(%r15), %rdx movq _VAR_N@GOTPCREL(%rip), %rsi movq (%rsi), %rsi movq %rcx, (%rdx,%rsi,8) movq (%rax), %rcx movq 56(%r15), %rdx movq _VAR_T@GOTPCREL(%rip), %rsi movq (%rsi), %rsi movq %rcx, (%rdx,%rsi,8) movq (%rax), %rax LBB0_3: movq 56(%r15), %rcx movq _VAR_PTS@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq %rax, (%rcx,%rdx,8) movl 72(%r15), %edi movq 56(%r15), %rsi xorl %edx, %edx callq _av_expr_eval movq %rax, 24(%r15) movl 68(%r15), %edi movq 56(%r15), %rsi xorl %edx, %edx callq _av_expr_eval movq %rax, 48(%r15) movl 64(%r15), %edi movq 56(%r15), %rsi xorl %edx, %edx callq _av_expr_eval movq %rax, 40(%r15) movq 48(%r15), %rdi callq _isnan testq %rax, %rax jne LBB0_6 ## %bb.4: movq 40(%r15), %rdi callq _isnan testq %rax, %rax jne LBB0_6 ## %bb.5: movq 24(%r15), %rdi callq _isnan testq %rax, %rax je LBB0_7 LBB0_6: movq _EVAL_MODE_FRAME@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%r15) LBB0_7: movq 24(%r15), %rdi movq _M_PI_2@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _av_clipf movq %rax, 24(%r15) cmpq $0, 16(%r15) movl (%r14), %eax je LBB0_15 ## %bb.8: testl %eax, %eax jle LBB0_22 ## %bb.9: movl 4(%r14), %ecx shlq $2, -48(%rbp) ## 8-byte Folded Spill xorl %r12d, %r12d jmp LBB0_10 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_10 Depth=1 incl %r12d addq -48(%rbp), %r13 ## 8-byte Folded Reload cmpl %eax, %r12d jge LBB0_22 LBB0_10: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 testl %ecx, %ecx jle LBB0_14 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_10 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movl %ebx, %esi movl %r12d, %edx callq _get_natural_factor movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero xorps %xmm0, %xmm0 cvtsi2sd %eax, %xmm0 divsd %xmm0, %xmm1 xorps %xmm0, %xmm0 cvtsd2ss %xmm1, %xmm0 movss %xmm0, (%r13,%rbx,4) incq %rbx movslq 4(%r14), %rcx cmpq %rcx, %rbx jl LBB0_12 ## %bb.13: ## in Loop: Header=BB0_10 Depth=1 movl (%r14), %eax jmp LBB0_14 LBB0_15: testl %eax, %eax jle LBB0_22 ## %bb.16: movl 4(%r14), %ecx shlq $2, -48(%rbp) ## 8-byte Folded Spill xorl %r12d, %r12d jmp LBB0_17 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_17 Depth=1 incl %r12d addq -48(%rbp), %r13 ## 8-byte Folded Reload cmpl %eax, %r12d jge LBB0_22 LBB0_17: ## =>This Loop Header: Depth=1 ## Child Loop BB0_19 Depth 2 testl %ecx, %ecx jle LBB0_21 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_19: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movl %ebx, %esi movl %r12d, %edx callq _get_natural_factor xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 movss %xmm0, (%r13,%rbx,4) incq %rbx movslq 4(%r14), %rcx cmpq %rcx, %rbx jl LBB0_19 ## %bb.20: ## in Loop: Header=BB0_17 Depth=1 movl (%r14), %eax jmp LBB0_21 LBB0_22: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VAR_N,8,3 ## @VAR_N .comm _VAR_T,8,3 ## @VAR_T .comm _VAR_PTS,8,3 ## @VAR_PTS .comm _NAN,8,3 ## @NAN .comm _EVAL_MODE_FRAME,4,2 ## @EVAL_MODE_FRAME .comm _M_PI_2,4,2 ## @M_PI_2 .no_dead_strip _update_context .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function update_context _update_context: ; @update_context .cfi_startproc ; %bb.0: stp d9, d8, [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 b8, -72 .cfi_offset b9, -80 mov x19, x1 mov x20, x0 ldr x23, [x0] ldrsw x22, [x0, #8] cbz x2, LBB0_2 ; %bb.1: mov x21, x2 ldr x8, [x19, #16] Lloh0: adrp x9, _VAR_N@GOTPAGE Lloh1: ldr x9, [x9, _VAR_N@GOTPAGEOFF] ldr x10, [x20, #56] Lloh2: ldr x9, [x9] str x8, [x10, x9, lsl #3] ldr w0, [x2] ldr w1, [x19, #8] bl _TS2T ldr x8, [x20, #56] Lloh3: adrp x9, _VAR_T@GOTPAGE Lloh4: ldr x9, [x9, _VAR_T@GOTPAGEOFF] Lloh5: ldr x9, [x9] str x0, [x8, x9, lsl #3] ldr w0, [x21] bl _TS2D b LBB0_3 LBB0_2: Lloh6: adrp x8, _NAN@GOTPAGE Lloh7: ldr x8, [x8, _NAN@GOTPAGEOFF] ldr x9, [x8] Lloh8: adrp x10, _VAR_N@GOTPAGE Lloh9: ldr x10, [x10, _VAR_N@GOTPAGEOFF] ldr x11, [x20, #56] Lloh10: ldr x10, [x10] str x9, [x11, x10, lsl #3] ldr x9, [x8] ldr x10, [x20, #56] Lloh11: adrp x11, _VAR_T@GOTPAGE Lloh12: ldr x11, [x11, _VAR_T@GOTPAGEOFF] Lloh13: ldr x11, [x11] str x9, [x10, x11, lsl #3] ldr x0, [x8] LBB0_3: Lloh14: adrp x8, _VAR_PTS@GOTPAGE Lloh15: ldr x8, [x8, _VAR_PTS@GOTPAGEOFF] ldr x9, [x20, #56] Lloh16: ldr x8, [x8] str x0, [x9, x8, lsl #3] ldr w0, [x20, #72] ldr x1, [x20, #56] mov x2, #0 bl _av_expr_eval str x0, [x20, #24] ldr w0, [x20, #68] ldr x1, [x20, #56] mov x2, #0 bl _av_expr_eval str x0, [x20, #48] ldr w0, [x20, #64] ldr x1, [x20, #56] mov x2, #0 bl _av_expr_eval str x0, [x20, #40] ldr x0, [x20, #48] bl _isnan cbnz x0, LBB0_6 ; %bb.4: ldr x0, [x20, #40] bl _isnan cbnz x0, LBB0_6 ; %bb.5: ldr x0, [x20, #24] bl _isnan cbz x0, LBB0_7 LBB0_6: Lloh17: adrp x8, _EVAL_MODE_FRAME@GOTPAGE Lloh18: ldr x8, [x8, _EVAL_MODE_FRAME@GOTPAGEOFF] Lloh19: ldr w8, [x8] str w8, [x20, #32] LBB0_7: ldr x0, [x20, #24] Lloh20: adrp x8, _M_PI_2@GOTPAGE Lloh21: ldr x8, [x8, _M_PI_2@GOTPAGEOFF] Lloh22: ldr w2, [x8] mov w1, #0 bl _av_clipf str x0, [x20, #24] ldr x9, [x20, #16] ldr w8, [x19] cmp w8, #1 cbz x9, LBB0_15 ; %bb.8: b.lt LBB0_22 ; %bb.9: mov w21, #0 ldr w9, [x19, #4] lsl x24, x22, #2 fmov d8, #1.00000000 b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 add w21, w21, #1 add x23, x23, x24 cmp w21, w8 b.ge LBB0_22 LBB0_11: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 cmp w9, #1 b.lt LBB0_10 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 mov x22, #0 LBB0_13: ; Parent Loop BB0_11 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x20 mov x1, x22 mov x2, x21 bl _get_natural_factor scvtf d0, w0 fdiv d0, d8, d0 fcvt s0, d0 str s0, [x23, x22, lsl #2] add x22, x22, #1 ldrsw x9, [x19, #4] cmp x22, x9 b.lt LBB0_13 ; %bb.14: ; in Loop: Header=BB0_11 Depth=1 ldr w8, [x19] b LBB0_10 LBB0_15: b.lt LBB0_22 ; %bb.16: mov w21, #0 ldr w9, [x19, #4] lsl x24, x22, #2 b LBB0_18 LBB0_17: ; in Loop: Header=BB0_18 Depth=1 add w21, w21, #1 add x23, x23, x24 cmp w21, w8 b.ge LBB0_22 LBB0_18: ; =>This Loop Header: Depth=1 ; Child Loop BB0_20 Depth 2 cmp w9, #1 b.lt LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 mov x22, #0 LBB0_20: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x20 mov x1, x22 mov x2, x21 bl _get_natural_factor scvtf s0, w0 str s0, [x23, x22, lsl #2] add x22, x22, #1 ldrsw x9, [x19, #4] cmp x22, x9 b.lt LBB0_20 ; %bb.21: ; in Loop: Header=BB0_18 Depth=1 ldr w8, [x19] b LBB0_17 LBB0_22: 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 d9, d8, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _VAR_N,8,3 ; @VAR_N .comm _VAR_T,8,3 ; @VAR_T .comm _VAR_PTS,8,3 ; @VAR_PTS .comm _NAN,8,3 ; @NAN .comm _EVAL_MODE_FRAME,4,2 ; @EVAL_MODE_FRAME .comm _M_PI_2,4,2 ; @M_PI_2 .no_dead_strip _update_context .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_vf_vignette.c_update_context.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function hw_set_grp_addr _hw_set_grp_addr: ## @hw_set_grp_addr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 16(%rdi), %rdi movq _HW_MULTICAST_SIZE@GOTPCREL(%rip), %r14 movl (%r14), %edx shll $2, %edx xorl %esi, %esi callq _memset cmpl $0, (%rbx) js LBB0_3 ## %bb.1: movq $-1, %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 24(%rbx), %rax movl 4(%rax,%r15,4), %esi movl $6, %edi callq _ether_crc sarl $29, %eax orl $7, %eax movq 16(%rbx), %rcx cltq orl $128, (%rcx,%rax,4) movslq (%rbx), %rax incq %r15 cmpq %rax, %r15 jl LBB0_2 LBB0_3: cmpl $0, (%r14) jle LBB0_6 ## %bb.4: xorl %r15d, %r15d movq _KS884X_MULTICAST_0_OFFSET@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rsi subq (%r12), %rsi movq 16(%rbx), %rax movl (%rax,%r15,4), %edi addq %r15, %rsi callq _writeb incq %r15 movslq (%r14), %rax cmpq %rax, %r15 jl LBB0_5 LBB0_6: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HW_MULTICAST_SIZE,4,2 ## @HW_MULTICAST_SIZE .comm _KS884X_MULTICAST_0_OFFSET,8,3 ## @KS884X_MULTICAST_0_OFFSET .no_dead_strip _hw_set_grp_addr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hw_set_grp_addr _hw_set_grp_addr: ; @hw_set_grp_addr .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x0, [x0, #16] Lloh0: adrp x20, _HW_MULTICAST_SIZE@GOTPAGE Lloh1: ldr x20, [x20, _HW_MULTICAST_SIZE@GOTPAGEOFF] ldr w8, [x20] lsl w2, w8, #2 mov w1, #0 ; =0x0 bl _memset ldr w8, [x19] tbnz w8, #31, LBB0_3 ; %bb.1: mov x21, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #24] ldr w1, [x8, x21, lsl #2] mov w0, #6 ; =0x6 bl _ether_crc asr w8, w0, #29 orr w8, w8, #0x7 ldr x9, [x19, #16] ldr w10, [x9, w8, sxtw #2] orr w10, w10, #0x80 str w10, [x9, w8, sxtw #2] add x8, x21, #1 ldrsw x9, [x19] cmp x21, x9 mov x21, x8 b.lt LBB0_2 LBB0_3: ldr w8, [x20] cmp w8, #1 b.lt LBB0_6 ; %bb.4: mov x21, #0 ; =0x0 Lloh2: adrp x22, _KS884X_MULTICAST_0_OFFSET@GOTPAGE Lloh3: ldr x22, [x22, _KS884X_MULTICAST_0_OFFSET@GOTPAGEOFF] LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp x9, x8, [x19, #8] ldr w0, [x8, x21, lsl #2] ldr x8, [x22] sub x8, x9, x8 add x1, x21, x8 bl _writeb add x21, x21, #1 ldrsw x8, [x20] cmp x21, x8 b.lt LBB0_5 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _HW_MULTICAST_SIZE,4,2 ; @HW_MULTICAST_SIZE .comm _KS884X_MULTICAST_0_OFFSET,8,3 ; @KS884X_MULTICAST_0_OFFSET .no_dead_strip _hw_set_grp_addr .subsections_via_symbols
assembly_file_47595.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mtk_pmx_set_mux _mtk_pmx_set_mux: ## @mtk_pmx_set_mux .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movl %esi, %r12d movq %rdi, -48(%rbp) ## 8-byte Spill callq _pinctrl_dev_get_drvdata movq %rax, %rbx movq 8(%rax), %r13 movl %r15d, %r14d movl (%r13,%r14,4), %esi movq %rax, %rdi movl %r12d, %edx callq _mtk_pctrl_is_function_valid testl %eax, %eax je LBB0_1 ## %bb.2: movl (%r13,%r14,4), %esi movq %rbx, %rdi movl %r12d, %edx callq _mtk_pctrl_find_function_by_pin testq %rax, %rax je LBB0_3 ## %bb.4: movl (%r13,%r14,4), %esi movl (%rax), %edx movq -48(%rbp), %rdi ## 8-byte Reload callq _mtk_pmx_set_mode xorl %eax, %eax jmp LBB0_5 LBB0_1: movl (%rbx), %edi leaq L_.str(%rip), %rsi movl %r12d, %edx movl %r15d, %ecx callq _dev_err LBB0_3: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid function %d on group %d .\n" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _mtk_pmx_set_mux .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mtk_pmx_set_mux _mtk_pmx_set_mux: ; @mtk_pmx_set_mux .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x20, x1 mov x19, x0 bl _pinctrl_dev_get_drvdata mov x22, x0 ldr x23, [x0, #8] ldr w1, [x23, w21, uxtw #2] mov x2, x20 bl _mtk_pctrl_is_function_valid cbz w0, LBB0_3 ; %bb.1: mov w21, w21 ldr w1, [x23, x21, lsl #2] mov x0, x22 mov x2, x20 bl _mtk_pctrl_find_function_by_pin cbz x0, LBB0_4 ; %bb.2: ldr w1, [x23, x21, lsl #2] ldr w2, [x0] mov x0, x19 bl _mtk_pmx_set_mode mov w0, #0 b LBB0_5 LBB0_3: ldr w0, [x22] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x2, x20 mov x3, x21 bl _dev_err LBB0_4: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid function %d on group %d .\n" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _mtk_pmx_set_mux .subsections_via_symbols
AnghaBench/linux/drivers/pinctrl/mediatek/extr_pinctrl-mtk-common.c_mtk_pmx_set_mux.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function icmpv6_mask_allow _icmpv6_mask_allow: ## @icmpv6_mask_allow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ICMPV6_MSG_MAX@GOTPCREL(%rip), %rcx movl $1, %eax cmpl %esi, (%rcx) jl LBB0_2 ## %bb.1: movl (%rdi), %eax movl %esi, %edi movl %eax, %esi callq _test_bit movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx sete %al LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _ICMPV6_MSG_MAX,4,2 ## @ICMPV6_MSG_MAX .no_dead_strip _icmpv6_mask_allow .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function icmpv6_mask_allow _icmpv6_mask_allow: ; @icmpv6_mask_allow .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, _ICMPV6_MSG_MAX@GOTPAGE Lloh1: ldr x8, [x8, _ICMPV6_MSG_MAX@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w1 b.ge LBB0_2 ; %bb.1: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: ldr w8, [x0] mov x0, x1 mov x1, x8 bl _test_bit cmp w0, #0 cset w0, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ICMPV6_MSG_MAX,4,2 ; @ICMPV6_MSG_MAX .no_dead_strip _icmpv6_mask_allow .subsections_via_symbols
AnghaBench/linux/net/ipv6/extr_icmp.c_icmpv6_mask_allow.c
anghabench
.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 0x4090000000000000 ## double 1024 LCPI0_1: .quad 0x4130000000000000 ## double 1048576 LCPI0_2: .quad 0x41d0000000000000 ## double 1073741824 LCPI0_3: .quad 0x3f50000000000000 ## double 9.765625E-4 LCPI0_4: .quad 0x3eb0000000000000 ## double 9.5367431640625E-7 LCPI0_5: .quad 0x3e10000000000000 ## double 9.3132257461547852E-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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %ebx xorps %xmm0, %xmm0 movsd %xmm0, -48(%rbp) ## 8-byte Spill leaq L_.str(%rip), %r15 leaq LJTI0_0(%rip), %r12 movq ___stdoutp@GOTPCREL(%rip), %r13 xorps %xmm0, %xmm0 movsd %xmm0, -64(%rbp) ## 8-byte Spill ## implicit-def: $xmm0 ## kill: killed $xmm0 jmp LBB0_1 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 cmpl $-1, %eax je LBB0_3 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r14, %rsi movq %r15, %rdx callq _getopt ## kill: def $eax killed $eax def $rax leal -104(%rax), %ecx cmpl $12, %ecx ja LBB0_2 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movslq (%r12,%rcx,4), %rax addq %r12, %rax jmpq *%rax LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movq (%r13), %rdi movq ___progname@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _fprintf movq (%r13), %rcx movl $19, %esi movl $1, %edx leaq L_.str.6(%rip), %rdi callq _fwrite movq (%r13), %rcx movl $27, %esi movl $1, %edx leaq L_.str.7(%rip), %rdi callq _fwrite movq (%r13), %rcx movl $21, %esi movl $1, %edx leaq L_.str.8(%rip), %rdi callq _fwrite movq (%r13), %rcx movl $75, %esi movl $1, %edx leaq L_.str.9(%rip), %rdi callq _fwrite jmp LBB0_1 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi xorl %esi, %esi movl $10, %edx callq _strtol xorps %xmm0, %xmm0 cvtsi2sd %rax, %xmm0 movsd %xmm0, -64(%rbp) ## 8-byte Spill jmp LBB0_1 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _atol xorps %xmm0, %xmm0 cvtsi2sd %rax, %xmm0 movsd %xmm0, -48(%rbp) ## 8-byte Spill jmp LBB0_1 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _atol xorps %xmm0, %xmm0 cvtsi2sd %rax, %xmm0 movsd %xmm0, -56(%rbp) ## 8-byte Spill jmp LBB0_1 LBB0_3: xorpd %xmm1, %xmm1 movsd -64(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero ucomisd %xmm1, %xmm2 movsd -48(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero jne LBB0_4 jnp LBB0_11 LBB0_4: ucomisd %xmm1, %xmm0 jne LBB0_5 jnp LBB0_11 LBB0_5: mulsd %xmm2, %xmm0 movsd %xmm0, -48(%rbp) ## 8-byte Spill movq (%r13), %rdi leaq L_.str.1(%rip), %rsi movb $1, %al callq _fprintf movq (%r13), %rdi movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero movsd -48(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero mulsd %xmm2, %xmm0 movsd LCPI0_4(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm1 mulsd LCPI0_5(%rip), %xmm2 leaq L_.str.2(%rip), %rsi jmp LBB0_14 LBB0_11: movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero ucomisd %xmm1, %xmm2 jne LBB0_12 jnp LBB0_15 LBB0_12: xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jne LBB0_13 jnp LBB0_15 LBB0_13: movq (%r13), %rdi leaq L_.str.3(%rip), %rsi movapd %xmm2, %xmm0 movb $1, %al movsd %xmm2, -56(%rbp) ## 8-byte Spill callq _fprintf movq (%r13), %rdi movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero mulsd %xmm2, %xmm0 movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm1 mulsd LCPI0_2(%rip), %xmm2 leaq L_.str.4(%rip), %rsi LBB0_14: movb $3, %al callq _fprintf LBB0_15: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_1, LBB0_1-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 LJTI0_0: .long L0_0_set_7 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_8 .long L0_0_set_1 .long L0_0_set_1 .long L0_0_set_9 .long L0_0_set_10 .end_data_region ## -- End function .globl _run_help ## -- Begin function run_help .p2align 4, 0x90 _run_help: ## @run_help .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 ___stdoutp@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movq ___progname@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _fprintf movq (%rbx), %rcx leaq L_.str.6(%rip), %rdi movl $19, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.7(%rip), %rdi movl $27, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.8(%rip), %rdi movl $21, %esi movl $1, %edx callq _fwrite movq (%rbx), %rcx leaq L_.str.9(%rip), %rdi movl $75, %esi movl $1, %edx addq $8, %rsp popq %rbx popq %rbp jmp _fwrite ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function print_meminfo LCPI2_0: .quad 0x3f50000000000000 ## double 9.765625E-4 LCPI2_1: .quad 0x3eb0000000000000 ## double 9.5367431640625E-7 LCPI2_2: .quad 0x3e10000000000000 ## double 9.3132257461547852E-10 .section __TEXT,__text,regular,pure_instructions .globl _print_meminfo .p2align 4, 0x90 _print_meminfo: ## @print_meminfo .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 movsd %xmm0, -16(%rbp) ## 8-byte Spill movq ___stdoutp@GOTPCREL(%rip), %rbx movq (%rbx), %rdi leaq L_.str.1(%rip), %rsi movb $1, %al callq _fprintf movq (%rbx), %rdi movsd LCPI2_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd -16(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero mulsd %xmm2, %xmm0 movsd LCPI2_1(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm1 mulsd LCPI2_2(%rip), %xmm2 leaq L_.str.2(%rip), %rsi movb $3, %al addq $8, %rsp popq %rbx popq %rbp jmp _fprintf ## TAILCALL .cfi_endproc ## -- End function .globl _memsize ## -- Begin function memsize .p2align 4, 0x90 _memsize: ## @memsize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp mulsd %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function print_shminfo LCPI4_0: .quad 0x4090000000000000 ## double 1024 LCPI4_1: .quad 0x4130000000000000 ## double 1048576 LCPI4_2: .quad 0x41d0000000000000 ## double 1073741824 .section __TEXT,__text,regular,pure_instructions .globl _print_shminfo .p2align 4, 0x90 _print_shminfo: ## @print_shminfo .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 movsd %xmm0, -16(%rbp) ## 8-byte Spill movq ___stdoutp@GOTPCREL(%rip), %rbx movq (%rbx), %rdi leaq L_.str.3(%rip), %rsi movb $1, %al callq _fprintf movq (%rbx), %rdi movsd LCPI4_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd -16(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero mulsd %xmm2, %xmm0 movsd LCPI4_1(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm2, %xmm1 mulsd LCPI4_2(%rip), %xmm2 leaq L_.str.4(%rip), %rsi movb $3, %al addq $8, %rsp popq %rbx popq %rbp jmp _fprintf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function mem_gb LCPI5_0: .quad 0x3e10000000000000 ## double 9.3132257461547852E-10 .section __TEXT,__text,regular,pure_instructions .globl _mem_gb .p2align 4, 0x90 _mem_gb: ## @mem_gb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp mulsd LCPI5_0(%rip), %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function mem_kb LCPI6_0: .quad 0x3f50000000000000 ## double 9.765625E-4 .section __TEXT,__text,regular,pure_instructions .globl _mem_kb .p2align 4, 0x90 _mem_kb: ## @mem_kb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp mulsd LCPI6_0(%rip), %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function mem_mb LCPI7_0: .quad 0x3eb0000000000000 ## double 9.5367431640625E-7 .section __TEXT,__text,regular,pure_instructions .globl _mem_mb .p2align 4, 0x90 _mem_mb: ## @mem_mb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp mulsd LCPI7_0(%rip), %xmm0 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hp:s:t:" L_.str.1: ## @.str.1 .asciz "%.3F bytes is:\n" L_.str.2: ## @.str.2 .asciz "\t%.3F KiB\n\t%.3F MiB\n\t%.3F GiB\n" L_.str.3: ## @.str.3 .asciz "Target of %.3FGiB:\n" L_.str.4: ## @.str.4 .asciz "\t%.3F MiB\n\t%.3F KiB\n\t%.3F B\n" L_.str.5: ## @.str.5 .asciz "%s: Simple utility to get memory size information in a human-readable format\n" L_.str.6: ## @.str.6 .asciz "\t-h\tThis help text\n" L_.str.7: ## @.str.7 .asciz "\t-p\tNumber of memory pages\n" L_.str.8: ## @.str.8 .asciz "\t-s\tMemory page size\n" L_.str.9: ## @.str.9 .asciz "\t-t\tCalculate from a desired total (only accepts gigabyte sizes right now)\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp d11, d10, [sp, #32] ; 16-byte Folded Spill stp d9, d8, [sp, #48] ; 16-byte Folded Spill stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 .cfi_offset b10, -120 .cfi_offset b11, -128 mov x19, x1 mov x20, x0 Lloh0: adrp x21, l_.str@PAGE Lloh1: add x21, x21, l_.str@PAGEOFF Lloh2: adrp x28, lJTI0_0@PAGE Lloh3: add x28, x28, lJTI0_0@PAGEOFF Lloh4: adrp x27, ___stdoutp@GOTPAGE Lloh5: ldr x27, [x27, ___stdoutp@GOTPAGEOFF] Lloh6: adrp x22, l_.str.5@PAGE Lloh7: add x22, x22, l_.str.5@PAGEOFF Lloh8: adrp x23, l_.str.6@PAGE Lloh9: add x23, x23, l_.str.6@PAGEOFF Lloh10: adrp x24, l_.str.7@PAGE Lloh11: add x24, x24, l_.str.7@PAGEOFF Lloh12: adrp x25, l_.str.8@PAGE Lloh13: add x25, x25, l_.str.8@PAGEOFF movi d9, #0000000000000000 movi d10, #0000000000000000 ; implicit-def: $d8 Lloh14: adrp x26, l_.str.9@PAGE Lloh15: add x26, x26, l_.str.9@PAGEOFF b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 cmn w0, #1 b.eq LBB0_8 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x19 mov x2, x21 bl _getopt sub w8, w0, #104 cmp w8, #12 b.hi LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 adr x9, LBB0_2 ldrb w10, [x28, x8] add x9, x9, x10, lsl #2 br x9 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldr x0, [x27] Lloh16: adrp x8, ___progname@GOTPAGE Lloh17: ldr x8, [x8, ___progname@GOTPAGEOFF] Lloh18: ldr x8, [x8] str x8, [sp] mov x1, x22 bl _fprintf ldr x3, [x27] mov x0, x23 mov w1, #19 mov w2, #1 bl _fwrite ldr x3, [x27] mov x0, x24 mov w1, #27 mov w2, #1 bl _fwrite ldr x3, [x27] mov x0, x25 mov w1, #21 mov w2, #1 bl _fwrite ldr x3, [x27] mov x0, x26 mov w1, #75 mov w2, #1 bl _fwrite b LBB0_2 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 Lloh19: adrp x8, _optarg@GOTPAGE Lloh20: ldr x8, [x8, _optarg@GOTPAGEOFF] Lloh21: ldr x0, [x8] mov x1, #0 mov w2, #10 bl _strtol scvtf d10, x0 b LBB0_2 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 Lloh22: adrp x8, _optarg@GOTPAGE Lloh23: ldr x8, [x8, _optarg@GOTPAGEOFF] Lloh24: ldr x0, [x8] bl _atol scvtf d9, x0 b LBB0_2 LBB0_7: ; in Loop: Header=BB0_2 Depth=1 Lloh25: adrp x8, _optarg@GOTPAGE Lloh26: ldr x8, [x8, _optarg@GOTPAGEOFF] Lloh27: ldr x0, [x8] bl _atol scvtf d8, x0 b LBB0_2 LBB0_8: fcmp d10, #0.0 b.eq LBB0_11 ; %bb.9: fcmp d9, #0.0 b.eq LBB0_11 ; %bb.10: fmul d8, d9, d10 ldr x0, [x27] str d8, [sp] Lloh28: adrp x1, l_.str.1@PAGE Lloh29: add x1, x1, l_.str.1@PAGEOFF bl _fprintf ldr x0, [x27] mov x8, #4562146422526312448 fmov d0, x8 fmul d0, d8, d0 mov x8, #4517110426252607488 fmov d1, x8 fmul d1, d8, d1 mov x8, #4472074429978902528 fmov d2, x8 fmul d2, d8, d2 stp d1, d2, [sp, #8] str d0, [sp] Lloh30: adrp x1, l_.str.2@PAGE Lloh31: add x1, x1, l_.str.2@PAGEOFF b LBB0_14 LBB0_11: fcmp d8, #0.0 b.eq LBB0_15 ; %bb.12: fcmp d9, #0.0 b.eq LBB0_15 ; %bb.13: ldr x0, [x27] str d8, [sp] Lloh32: adrp x1, l_.str.3@PAGE Lloh33: add x1, x1, l_.str.3@PAGEOFF bl _fprintf ldr x0, [x27] mov x8, #4652218415073722368 fmov d0, x8 fmul d0, d8, d0 mov x8, #4697254411347427328 fmov d1, x8 fmul d1, d8, d1 mov x8, #4742290407621132288 fmov d2, x8 fmul d2, d8, d2 stp d1, d2, [sp, #8] str d0, [sp] Lloh34: adrp x1, l_.str.4@PAGE Lloh35: add x1, x1, l_.str.4@PAGEOFF LBB0_14: bl _fprintf LBB0_15: mov w0, #0 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload ldp x28, x27, [sp, #64] ; 16-byte Folded Reload ldp d9, d8, [sp, #48] ; 16-byte Folded Reload ldp d11, d10, [sp, #32] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _run_help ; -- Begin function run_help .p2align 2 _run_help: ; @run_help .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 Lloh36: adrp x19, ___stdoutp@GOTPAGE Lloh37: ldr x19, [x19, ___stdoutp@GOTPAGEOFF] ldr x0, [x19] Lloh38: adrp x8, ___progname@GOTPAGE Lloh39: ldr x8, [x8, ___progname@GOTPAGEOFF] Lloh40: ldr x8, [x8] str x8, [sp] Lloh41: adrp x1, l_.str.5@PAGE Lloh42: add x1, x1, l_.str.5@PAGEOFF bl _fprintf ldr x3, [x19] Lloh43: adrp x0, l_.str.6@PAGE Lloh44: add x0, x0, l_.str.6@PAGEOFF mov w1, #19 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh45: adrp x0, l_.str.7@PAGE Lloh46: add x0, x0, l_.str.7@PAGEOFF mov w1, #27 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh47: adrp x0, l_.str.8@PAGE Lloh48: add x0, x0, l_.str.8@PAGEOFF mov w1, #21 mov w2, #1 bl _fwrite ldr x3, [x19] Lloh49: adrp x0, l_.str.9@PAGE Lloh50: add x0, x0, l_.str.9@PAGEOFF mov w1, #75 mov w2, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 b _fwrite .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGot Lloh36, Lloh37 .cfi_endproc ; -- End function .globl _print_meminfo ; -- Begin function print_meminfo .p2align 2 _print_meminfo: ; @print_meminfo .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp d9, d8, [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 b8, -40 .cfi_offset b9, -48 fmov d8, d0 Lloh51: adrp x19, ___stdoutp@GOTPAGE Lloh52: ldr x19, [x19, ___stdoutp@GOTPAGEOFF] ldr x0, [x19] str d0, [sp] Lloh53: adrp x1, l_.str.1@PAGE Lloh54: add x1, x1, l_.str.1@PAGEOFF bl _fprintf ldr x0, [x19] mov x8, #4562146422526312448 fmov d0, x8 fmul d0, d8, d0 mov x8, #4517110426252607488 fmov d1, x8 fmul d1, d8, d1 mov x8, #4472074429978902528 fmov d2, x8 fmul d2, d8, d2 stp d1, d2, [sp, #8] str d0, [sp] Lloh55: adrp x1, l_.str.2@PAGE Lloh56: add x1, x1, l_.str.2@PAGEOFF bl _fprintf ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp d9, d8, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGot Lloh51, Lloh52 .cfi_endproc ; -- End function .globl _memsize ; -- Begin function memsize .p2align 2 _memsize: ; @memsize .cfi_startproc ; %bb.0: fmul d0, d0, d1 ret .cfi_endproc ; -- End function .globl _print_shminfo ; -- Begin function print_shminfo .p2align 2 _print_shminfo: ; @print_shminfo .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp d9, d8, [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 b8, -40 .cfi_offset b9, -48 fmov d8, d0 Lloh57: adrp x19, ___stdoutp@GOTPAGE Lloh58: ldr x19, [x19, ___stdoutp@GOTPAGEOFF] ldr x0, [x19] str d0, [sp] Lloh59: adrp x1, l_.str.3@PAGE Lloh60: add x1, x1, l_.str.3@PAGEOFF bl _fprintf ldr x0, [x19] mov x8, #4652218415073722368 fmov d0, x8 fmul d0, d8, d0 mov x8, #4697254411347427328 fmov d1, x8 fmul d1, d8, d1 mov x8, #4742290407621132288 fmov d2, x8 fmul d2, d8, d2 stp d1, d2, [sp, #8] str d0, [sp] Lloh61: adrp x1, l_.str.4@PAGE Lloh62: add x1, x1, l_.str.4@PAGEOFF bl _fprintf ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp d9, d8, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpLdrGot Lloh57, Lloh58 .cfi_endproc ; -- End function .globl _mem_gb ; -- Begin function mem_gb .p2align 2 _mem_gb: ; @mem_gb .cfi_startproc ; %bb.0: mov x8, #4472074429978902528 fmov d1, x8 fmul d0, d0, d1 ret .cfi_endproc ; -- End function .globl _mem_kb ; -- Begin function mem_kb .p2align 2 _mem_kb: ; @mem_kb .cfi_startproc ; %bb.0: mov x8, #4562146422526312448 fmov d1, x8 fmul d0, d0, d1 ret .cfi_endproc ; -- End function .globl _mem_mb ; -- Begin function mem_mb .p2align 2 _mem_mb: ; @mem_mb .cfi_startproc ; %bb.0: mov x8, #4517110426252607488 fmov d1, x8 fmul d0, d0, d1 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hp:s:t:" l_.str.1: ; @.str.1 .asciz "%.3F bytes is:\n" l_.str.2: ; @.str.2 .asciz "\t%.3F KiB\n\t%.3F MiB\n\t%.3F GiB\n" l_.str.3: ; @.str.3 .asciz "Target of %.3FGiB:\n" l_.str.4: ; @.str.4 .asciz "\t%.3F MiB\n\t%.3F KiB\n\t%.3F B\n" l_.str.5: ; @.str.5 .asciz "%s: Simple utility to get memory size information in a human-readable format\n" l_.str.6: ; @.str.6 .asciz "\t-h\tThis help text\n" l_.str.7: ; @.str.7 .asciz "\t-p\tNumber of memory pages\n" l_.str.8: ; @.str.8 .asciz "\t-s\tMemory page size\n" l_.str.9: ; @.str.9 .asciz "\t-t\tCalculate from a desired total (only accepts gigabyte sizes right now)\n" .subsections_via_symbols
the_stack_data/181394210.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mv_read_ext_phy _mv_read_ext_phy: ## @mv_read_ext_phy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r12d movl %esi, %r15d movl %edi, -44(%rbp) ## 4-byte Spill callq _device_get_softc movq %rax, %rbx xorl %eax, %eax callq _MGE_SMI_LOCK movl (%rbx), %edi movq _MGE_REG_SMI@GOTPCREL(%rip), %r13 movl (%r13), %esi movq _MGE_SMI_MASK@GOTPCREL(%rip), %rax movq _MGE_SMI_READ@GOTPCREL(%rip), %rcx shll $21, %r12d shll $16, %r15d orl %r12d, %r15d orl (%rcx), %r15d andl (%rax), %r15d movl %r15d, %edx callq _MGE_WRITE movq _MGE_SMI_READ_RETRIES@GOTPCREL(%rip), %rax movq (%rax), %r15 decq %r15 je LBB0_4 ## %bb.1: movq _MGE_SMI_READVALID@GOTPCREL(%rip), %r12 movq _MGE_SMI_READ_DELAY@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %edi movl (%r13), %esi callq _MGE_READ orq (%r12), %rax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl (%r14), %edi callq _DELAY decq %r15 jne LBB0_2 LBB0_4: leaq L_.str(%rip), %rsi movl -44(%rbp), %edi ## 4-byte Reload callq _device_printf LBB0_5: movl (%rbx), %edi movl (%r13), %esi callq _MGE_READ movq %rax, %rbx movq _MGE_SMI_DATA_MASK@GOTPCREL(%rip), %rax andl (%rax), %ebx xorl %eax, %eax callq _MGE_SMI_UNLOCK movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MGE_REG_SMI,4,2 ## @MGE_REG_SMI .comm _MGE_SMI_MASK,4,2 ## @MGE_SMI_MASK .comm _MGE_SMI_READ,4,2 ## @MGE_SMI_READ .comm _MGE_SMI_READ_RETRIES,8,3 ## @MGE_SMI_READ_RETRIES .comm _MGE_SMI_READVALID,8,3 ## @MGE_SMI_READVALID .comm _MGE_SMI_READ_DELAY,4,2 ## @MGE_SMI_READ_DELAY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Timeout while reading from PHY\n" .comm _MGE_SMI_DATA_MASK,8,3 ## @MGE_SMI_DATA_MASK .no_dead_strip _mv_read_ext_phy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mv_read_ext_phy _mv_read_ext_phy: ; @mv_read_ext_phy .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x22, x1 mov x20, x0 bl _device_get_softc mov x19, x0 bl _MGE_SMI_LOCK ldr w0, [x19] Lloh0: adrp x23, _MGE_REG_SMI@GOTPAGE Lloh1: ldr x23, [x23, _MGE_REG_SMI@GOTPAGEOFF] ldr w1, [x23] Lloh2: adrp x8, _MGE_SMI_MASK@GOTPAGE Lloh3: ldr x8, [x8, _MGE_SMI_MASK@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: adrp x9, _MGE_SMI_READ@GOTPAGE Lloh6: ldr x9, [x9, _MGE_SMI_READ@GOTPAGEOFF] Lloh7: ldr w9, [x9] lsl w10, w21, #21 orr w10, w10, w22, lsl #16 orr w9, w10, w9 and w2, w9, w8 bl _MGE_WRITE Lloh8: adrp x8, _MGE_SMI_READ_RETRIES@GOTPAGE Lloh9: ldr x8, [x8, _MGE_SMI_READ_RETRIES@GOTPAGEOFF] Lloh10: ldr x8, [x8] subs x21, x8, #1 b.eq LBB0_4 ; %bb.1: Lloh11: adrp x22, _MGE_SMI_READVALID@GOTPAGE Lloh12: ldr x22, [x22, _MGE_SMI_READVALID@GOTPAGEOFF] Lloh13: adrp x24, _MGE_SMI_READ_DELAY@GOTPAGE Lloh14: ldr x24, [x24, _MGE_SMI_READ_DELAY@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x19] ldr w1, [x23] bl _MGE_READ ldr x8, [x22] orr x8, x8, x0 cbnz x8, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w0, [x24] bl _DELAY subs x21, x21, #1 b.ne LBB0_2 LBB0_4: Lloh15: adrp x1, l_.str@PAGE Lloh16: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _device_printf LBB0_5: ldr w0, [x19] ldr w1, [x23] bl _MGE_READ mov x19, x0 Lloh17: adrp x8, _MGE_SMI_DATA_MASK@GOTPAGE Lloh18: ldr x8, [x8, _MGE_SMI_DATA_MASK@GOTPAGEOFF] Lloh19: ldr w20, [x8] bl _MGE_SMI_UNLOCK and w0, w20, w19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _MGE_REG_SMI,4,2 ; @MGE_REG_SMI .comm _MGE_SMI_MASK,4,2 ; @MGE_SMI_MASK .comm _MGE_SMI_READ,4,2 ; @MGE_SMI_READ .comm _MGE_SMI_READ_RETRIES,8,3 ; @MGE_SMI_READ_RETRIES .comm _MGE_SMI_READVALID,8,3 ; @MGE_SMI_READVALID .comm _MGE_SMI_READ_DELAY,4,2 ; @MGE_SMI_READ_DELAY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Timeout while reading from PHY\n" .comm _MGE_SMI_DATA_MASK,8,3 ; @MGE_SMI_DATA_MASK .no_dead_strip _mv_read_ext_phy .subsections_via_symbols
assembly_file_48801.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function eg_cache_remove_entry _eg_cache_remove_entry: ## @eg_cache_remove_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx movq 16(%rdi), %r14 leaq L_.str(%rip), %rdi callq _dprintk movq (%rbx), %rax movq 8(%rbx), %rcx leaq 8(%r15), %r12 testq %rax, %rax movq %rax, %rdx cmoveq %r12, %rdx movq %rcx, (%rdx) testq %rcx, %rcx je LBB0_2 ## %bb.1: movq %rax, (%rcx) LBB0_2: movq 24(%r15), %rax movq %rbx, %rdi callq *(%rax) cmpq $0, 16(%r15) jne LBB0_5 ## %bb.3: cmpq $0, (%r12) jne LBB0_5 ## %bb.4: movq _STOP_KEEP_ALIVE_SM@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) leaq -40(%rbp), %rdi movq %r15, %rsi callq _msg_to_mpoad LBB0_5: testq %r14, %r14 je LBB0_9 ## %bb.6: movq (%r15), %rax movq %r14, %rdi movq %r15, %rsi callq *8(%rax) testq %rax, %rax je LBB0_8 ## %bb.7: movq (%r15), %rcx movq %rax, %rdi callq *(%rcx) jmp LBB0_9 LBB0_8: movq _EPIPE@GOTPCREL(%rip), %rax xorl %esi, %esi subl (%rax), %esi movq %r14, %rdi callq _vcc_release_async LBB0_9: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "mpoa: mpoa_caches.c: removing an egress entry.\n" .comm _STOP_KEEP_ALIVE_SM,4,2 ## @STOP_KEEP_ALIVE_SM .comm _EPIPE,4,2 ## @EPIPE .no_dead_strip _eg_cache_remove_entry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function eg_cache_remove_entry _eg_cache_remove_entry: ; @eg_cache_remove_entry .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, x1 mov x21, x0 ldr x19, [x0, #16] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _dprintk ldp x8, x9, [x21] add x22, x20, #8 cmp x8, #0 csel x10, x22, x8, eq str x9, [x10] cbz x9, LBB0_2 ; %bb.1: str x8, [x9] LBB0_2: ldr x8, [x20, #24] ldr x8, [x8] mov x0, x21 blr x8 ldr x8, [x20, #16] cbnz x8, LBB0_5 ; %bb.3: ldr x8, [x22] cbnz x8, LBB0_5 ; %bb.4: Lloh2: adrp x8, _STOP_KEEP_ALIVE_SM@GOTPAGE Lloh3: ldr x8, [x8, _STOP_KEEP_ALIVE_SM@GOTPAGEOFF] Lloh4: ldr w8, [x8] str w8, [sp, #8] add x0, sp, #8 mov x1, x20 bl _msg_to_mpoad LBB0_5: cbz x19, LBB0_9 ; %bb.6: ldr x8, [x20] ldr x8, [x8, #8] mov x0, x19 mov x1, x20 blr x8 cbz x0, LBB0_8 ; %bb.7: ldr x8, [x20] ldr x8, [x8] blr x8 b LBB0_9 LBB0_8: Lloh5: adrp x8, _EPIPE@GOTPAGE Lloh6: ldr x8, [x8, _EPIPE@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w1, w8 mov x0, x19 bl _vcc_release_async LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "mpoa: mpoa_caches.c: removing an egress entry.\n" .comm _STOP_KEEP_ALIVE_SM,4,2 ; @STOP_KEEP_ALIVE_SM .comm _EPIPE,4,2 ; @EPIPE .no_dead_strip _eg_cache_remove_entry .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/atm/extr_mpoa_caches.c_eg_cache_remove_entry.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SI_SetCommand ## -- Begin function SI_SetCommand .p2align 4, 0x90 _SI_SetCommand: ## @SI_SetCommand .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi movq __siReg@GOTPCREL(%rip), %rax movq (%rax), %rax leal (%rdi,%rdi,2), %ecx movslq %ecx, %rcx movl %esi, (%rax,%rcx,4) popq %rbp retq .cfi_endproc ## -- End function .comm __siReg,8,3 ## @_siReg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SI_SetCommand ; -- Begin function SI_SetCommand .p2align 2 _SI_SetCommand: ; @SI_SetCommand .cfi_startproc ; %bb.0: Lloh0: adrp x8, __siReg@GOTPAGE Lloh1: ldr x8, [x8, __siReg@GOTPAGEOFF] Lloh2: ldr x8, [x8] add w9, w0, w0, lsl #1 str w1, [x8, w9, sxtw #2] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm __siReg,8,3 ; @_siReg .subsections_via_symbols
AnghaBench/RetroArch/wii/libogc/libogc/extr_si.c_SI_SetCommand.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __event_del_current ___event_del_current: ## @__event_del_current .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 _EV_CURRENT@GOTPCREL(%rip), %r14 movl (%r14), %eax movq _EV_PENDING@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %eax, %ecx andl (%rdi), %ecx xorl %edi, %edi cmpl %eax, %ecx sete %dil callq _assert movq _next@GOTPCREL(%rip), %rax movl (%rax), %edx movq _current@GOTPCREL(%rip), %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movl (%r14), %eax notl %eax andl %eax, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EV_CURRENT,4,2 ## @EV_CURRENT .comm _EV_PENDING,4,2 ## @EV_PENDING .comm _current,4,2 ## @current .comm _next,4,2 ## @next .no_dead_strip ___event_del_current .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __event_del_current ___event_del_current: ; @__event_del_current .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 w8, [x0] Lloh0: adrp x20, _EV_CURRENT@GOTPAGE Lloh1: ldr x20, [x20, _EV_CURRENT@GOTPAGEOFF] Lloh2: adrp x9, _EV_PENDING@GOTPAGE Lloh3: ldr x9, [x9, _EV_PENDING@GOTPAGEOFF] ldr w10, [x20] Lloh4: ldr w9, [x9] orr w9, w9, w10 and w8, w9, w8 cmp w8, w10 cset w0, eq bl _assert Lloh5: adrp x8, _next@GOTPAGE Lloh6: ldr x8, [x8, _next@GOTPAGEOFF] Lloh7: ldr w2, [x8] Lloh8: adrp x0, _current@GOTPAGE Lloh9: ldr x0, [x0, _current@GOTPAGEOFF] mov x1, x19 bl _TAILQ_REMOVE ldr w8, [x20] ldr w9, [x19] bic w8, w9, w8 str w8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _EV_CURRENT,4,2 ; @EV_CURRENT .comm _EV_PENDING,4,2 ; @EV_PENDING .comm _current,4,2 ; @current .comm _next,4,2 ; @next .no_dead_strip ___event_del_current .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_event.c___event_del_current.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function socket_read _socket_read: ## @socket_read .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq 8(%rdi), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _SSL_read jmp LBB0_3 LBB0_2: movq (%r14), %rax movl (%rax), %edi callq _xread LBB0_3: movq %rax, %rbx testq %rax, %rax jg LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi movq %r14, %rsi movq %rbx, %rdx callq _socket_perror movq (%r14), %rax movl (%rax), %edi callq _close movq (%r14), %rax movl 4(%rax), %edi callq _close movq (%r14), %rax movq $-1, (%rax) LBB0_5: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "read" .no_dead_strip _socket_read .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function socket_read _socket_read: ; @socket_read .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 x0, [x0, #8] cbz x0, LBB0_2 ; %bb.1: bl _SSL_read b LBB0_3 LBB0_2: ldr x8, [x19] ldr w0, [x8] bl _xread LBB0_3: mov x20, x0 cmp x0, #0 b.gt LBB0_5 ; %bb.4: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x19 mov x2, x20 bl _socket_perror ldr x8, [x19] ldr w0, [x8] bl _close ldr x8, [x19] ldr w0, [x8, #4] bl _close ldr x8, [x19] movi.2d v0, #0xffffffffffffffff str d0, [x8] LBB0_5: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "read" .no_dead_strip _socket_read .subsections_via_symbols
AnghaBench/git/extr_imap-send.c_socket_read.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_init_user ## -- Begin function matrix_init_user .p2align 4, 0x90 _matrix_init_user: ## @matrix_init_user .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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_init_user ; -- Begin function matrix_init_user .p2align 2 _matrix_init_user: ; @matrix_init_user .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/crkbd/keymaps/jarred/extr_keymap.c_matrix_init_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sscanf_key _sscanf_key: ## @sscanf_key .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -60(%rbp), %rcx leaq -56(%rbp), %r8 leaq -52(%rbp), %r9 leaq L_.str(%rip), %rsi leaq -64(%rbp), %rdx callq _sscanf cmpl $4, %eax jne LBB0_6 ## %bb.1: leaq -64(%rbp), %rdi callq _ARRAY_SIZE xorl %r15d, %r15d testl %eax, %eax jle LBB0_4 ## %bb.2: leaq -64(%rbp), %r12 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -64(%rbp,%rbx,4), %edi callq _cpu_to_le32 movl %eax, (%r13,%rbx,4) incq %rbx movq %r12, %rdi callq _ARRAY_SIZE cltq cmpq %rax, %rbx jl LBB0_3 jmp LBB0_4 LBB0_6: movq _EINVAL@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d LBB0_4: movl -64(%rbp), %esi movl -60(%rbp), %edx movl -56(%rbp), %ecx movl -52(%rbp), %r8d movl %r15d, (%rsp) leaq L_.str.1(%rip), %rdi movq %r14, %r9 callq _pr_debug movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_5 ## %bb.7: movl %r15d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%x-%x-%x-%x" .comm _EINVAL,4,2 ## @EINVAL L_.str.1: ## @.str.1 .asciz "proc TFO key set 0x%x-%x-%x-%x <- 0x%s: %u\n" .no_dead_strip _sscanf_key .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sscanf_key _sscanf_key: ; @sscanf_key .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] add x8, sp, #8 add x3, x8, #4 add x4, x8, #8 add x5, x8, #12 Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF add x2, sp, #8 bl _sscanf cmp w0, #4 b.ne LBB0_5 ; %bb.1: add x21, sp, #8 add x0, sp, #8 bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_4 ; %bb.2: mov x22, #0 LBB0_3: ; =>This Inner Loop Header: Depth=1 lsl x23, x22, #2 ldr w0, [x21, x23] bl _cpu_to_le32 str w0, [x20, x23] add x22, x22, #1 add x0, sp, #8 bl _ARRAY_SIZE cmp x22, w0, sxtw b.lt LBB0_3 LBB0_4: mov w20, #0 b LBB0_6 LBB0_5: Lloh5: adrp x8, _EINVAL@GOTPAGE Lloh6: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w20, w8 LBB0_6: ldp w1, w2, [sp, #8] ldp w3, w4, [sp, #16] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF mov x5, x19 mov x6, x20 bl _pr_debug ldr x8, [sp, #24] Lloh10: adrp x9, ___stack_chk_guard@GOTPAGE Lloh11: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh12: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_8: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%x-%x-%x-%x" .comm _EINVAL,4,2 ; @EINVAL l_.str.1: ; @.str.1 .asciz "proc TFO key set 0x%x-%x-%x-%x <- 0x%s: %u\n" .no_dead_strip _sscanf_key .subsections_via_symbols
AnghaBench/linux/net/ipv4/extr_sysctl_net_ipv4.c_sscanf_key.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function necp_route_is_allowed_inner _necp_route_is_allowed_inner: ## @necp_route_is_allowed_inner .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, -56(%rbp) ## 8-byte Spill movl %edx, %ebx movq %rsi, %r14 movq %rdi, %r15 movq _NECP_ROUTE_RULE_NONE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) ## 8-byte Spill movq _necp_route_rules@GOTPCREL(%rip), %rdi movl %edx, %esi callq _necp_lookup_route_rule_locked testq %rax, %rax je LBB0_100 ## %bb.1: movq %rax, %r12 movq (%rax), %rax movq _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.2: movq _FALSE@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_4: movq _TRUE@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %r13d testq %r14, %r14 jne LBB0_7 ## %bb.6: movq (%r15), %r14 testq %r14, %r14 je LBB0_29 LBB0_7: movl %r13d, -76(%rbp) ## 4-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill movq 8(%r14), %rsi movq _MAX_ROUTE_RULE_INTERFACES@GOTPCREL(%rip), %r15 movl (%r15), %eax testl %eax, %eax movq %rsi, -72(%rbp) ## 8-byte Spill jle LBB0_17 ## %bb.8: xorl %ebx, %ebx movq _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPCREL(%rip), %r13 jmp LBB0_10 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_10 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_17 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rcx movq (%rcx,%rbx,8), %rcx testq %rcx, %rcx je LBB0_17 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 cmpq (%r14), %rcx je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 testq %rsi, %rsi je LBB0_9 ## %bb.13: ## in Loop: Header=BB0_10 Depth=1 cmpq (%rsi), %rcx jne LBB0_9 LBB0_14: ## in Loop: Header=BB0_10 Depth=1 movq 16(%r12), %rax movq (%rax,%rbx,8), %rdi cmpq (%r13), %rdi je LBB0_32 ## %bb.15: ## in Loop: Header=BB0_10 Depth=1 callq _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY testq %rax, %rax jne LBB0_35 ## %bb.16: ## in Loop: Header=BB0_10 Depth=1 movl (%r15), %eax movq -72(%rbp), %rsi ## 8-byte Reload jmp LBB0_9 LBB0_17: movq %r14, %rdi callq _IFNET_IS_CELLULAR testq %rax, %rax je LBB0_23 ## %bb.18: movq 24(%r12), %rdi movq _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPCREL(%rip), %rax cmpq (%rax), %rdi jne LBB0_24 ## %bb.19: movq %r14, %rdi movq -72(%rbp), %rsi ## 8-byte Reload callq _necp_route_is_lqm_abort testl %eax, %eax movq -64(%rbp), %r15 ## 8-byte Reload movq _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPCREL(%rip), %r13 movq _NECP_ROUTE_RULE_NONE@GOTPCREL(%rip), %rbx je LBB0_41 ## %bb.20: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_22 ## %bb.21: movq _IFRTYPE_FUNCTIONAL_CELLULAR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) LBB0_22: movq (%r13), %rax jmp LBB0_40 LBB0_23: movq -64(%rbp), %r15 ## 8-byte Reload movq _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPCREL(%rip), %r13 movq _NECP_ROUTE_RULE_NONE@GOTPCREL(%rip), %rbx jmp LBB0_41 LBB0_24: callq _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY testq %rax, %rax movq -64(%rbp), %r15 ## 8-byte Reload movq _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPCREL(%rip), %r13 movq _NECP_ROUTE_RULE_NONE@GOTPCREL(%rip), %rbx je LBB0_41 ## %bb.25: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_27 ## %bb.26: movq _IFRTYPE_FUNCTIONAL_CELLULAR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) LBB0_27: movq -48(%rbp), %rcx ## 8-byte Reload cmpq (%rbx), %rcx jne LBB0_38 ## %bb.28: movq 24(%r12), %rax jmp LBB0_40 LBB0_29: movq _necp_debug@GOTPCREL(%rip), %rax cmpl $2, (%rax) jl LBB0_102 ## %bb.30: testl %r13d, %r13d jne LBB0_102 ## %bb.31: movq _LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi xorl %r13d, %r13d movl %ebx, %edx jmp LBB0_85 LBB0_32: movq %r14, %rdi callq _necp_route_is_lqm_abort movq _necp_debug@GOTPCREL(%rip), %rcx xorl %r13d, %r13d cmpl $2, (%rcx) jl LBB0_102 ## %bb.33: testl %eax, %eax movq -64(%rbp), %rcx ## 8-byte Reload je LBB0_102 ## %bb.34: movq _LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r12), %rax movl (%rax,%rbx,8), %edx leaq L_.str.1(%rip), %rsi xorl %r13d, %r13d ## kill: def $ecx killed $ecx killed $rcx jmp LBB0_86 LBB0_35: movq _necp_debug@GOTPCREL(%rip), %rax cmpl $2, (%rax) movq -64(%rbp), %rcx ## 8-byte Reload movq _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPCREL(%rip), %r14 jl LBB0_98 ## %bb.36: movq _LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 8(%r12), %rax movq 16(%r12), %rsi movl (%rax,%rbx,8), %edx movq (%rsi,%rbx,8), %rax cmpq (%r14), %rax jne LBB0_96 ## %bb.37: movq _FALSE@GOTPCREL(%rip), %rax jmp LBB0_97 LBB0_38: movq _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPCREL(%rip), %rax cmpq (%rax), %rcx jne LBB0_41 ## %bb.39: movq 24(%r12), %rax cmpq (%r13), %rax jne LBB0_41 LBB0_40: movq %rax, -48(%rbp) ## 8-byte Spill LBB0_41: movq %r14, %rdi callq _IFNET_IS_WIFI testq %rax, %rax je LBB0_55 ## %bb.42: movq 32(%r12), %rdi movq _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPCREL(%rip), %rax cmpq (%rax), %rdi jne LBB0_47 ## %bb.43: movq %r14, %rdi movq -72(%rbp), %rsi ## 8-byte Reload callq _necp_route_is_lqm_abort testl %eax, %eax je LBB0_55 ## %bb.44: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_46 ## %bb.45: movq _IFRTYPE_FUNCTIONAL_WIFI_INFRA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) LBB0_46: movq (%r13), %rax jmp LBB0_54 LBB0_47: callq _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY testq %rax, %rax je LBB0_55 ## %bb.48: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_50 ## %bb.49: movq _IFRTYPE_FUNCTIONAL_WIFI_INFRA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) LBB0_50: movq -48(%rbp), %rcx ## 8-byte Reload cmpq (%rbx), %rcx jne LBB0_52 ## %bb.51: movq 32(%r12), %rax jmp LBB0_54 LBB0_52: movq _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPCREL(%rip), %rax cmpq (%rax), %rcx jne LBB0_55 ## %bb.53: movq 32(%r12), %rax cmpq (%r13), %rax jne LBB0_55 LBB0_54: movq %rax, -48(%rbp) ## 8-byte Spill LBB0_55: movq %r14, %rdi callq _IFNET_IS_WIRED testq %rax, %rax je LBB0_69 ## %bb.56: movq 40(%r12), %rdi movq _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPCREL(%rip), %rax cmpq (%rax), %rdi jne LBB0_61 ## %bb.57: movq %r14, %rdi movq -72(%rbp), %rsi ## 8-byte Reload callq _necp_route_is_lqm_abort testl %eax, %eax je LBB0_69 ## %bb.58: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_60 ## %bb.59: movq _IFRTYPE_FUNCTIONAL_WIRED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) LBB0_60: movq (%r13), %rax jmp LBB0_68 LBB0_61: callq _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY testq %rax, %rax je LBB0_69 ## %bb.62: movq -56(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_64 ## %bb.63: movq _IFRTYPE_FUNCTIONAL_WIRED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rcx) LBB0_64: movq -48(%rbp), %rcx ## 8-byte Reload cmpq (%rbx), %rcx jne LBB0_66 ## %bb.65: movq 40(%r12), %rax jmp LBB0_68 LBB0_66: movq _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPCREL(%rip), %rax cmpq (%rax), %rcx jne LBB0_69 ## %bb.67: movq 40(%r12), %rax cmpq (%r13), %rax jne LBB0_69 LBB0_68: movq %rax, -48(%rbp) ## 8-byte Spill LBB0_69: movq %r14, %rdi callq _IFNET_IS_EXPENSIVE testq %rax, %rax je LBB0_73 ## %bb.70: movq 48(%r12), %rdi movq _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPCREL(%rip), %rax cmpq (%rax), %rdi jne LBB0_74 ## %bb.71: movq %r14, %rdi movq -72(%rbp), %rsi ## 8-byte Reload callq _necp_route_is_lqm_abort testl %eax, %eax movq -48(%rbp), %rsi ## 8-byte Reload je LBB0_81 ## %bb.72: movq (%r13), %rsi jmp LBB0_81 LBB0_74: callq _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY testq %rax, %rax je LBB0_73 ## %bb.75: movq -48(%rbp), %rsi ## 8-byte Reload cmpq (%rbx), %rsi jne LBB0_78 ## %bb.76: movq 48(%r12), %rax jmp LBB0_80 LBB0_73: movq -48(%rbp), %rsi ## 8-byte Reload jmp LBB0_81 LBB0_78: movq _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPCREL(%rip), %rax cmpq (%rax), %rsi jne LBB0_81 ## %bb.79: movq 48(%r12), %rax cmpq (%r13), %rax jne LBB0_81 LBB0_80: movq %rax, %rsi LBB0_81: movq _necp_debug@GOTPCREL(%rip), %rax movl (%rax), %eax cmpq (%rbx), %rsi jne LBB0_87 ## %bb.82: cmpl $2, %eax jl LBB0_90 ## %bb.83: movl -76(%rbp), %r13d ## 4-byte Reload testl %r13d, %r13d jne LBB0_102 ## %bb.84: movq _LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi xorl %r13d, %r13d movl %r15d, %edx LBB0_85: xorl %ecx, %ecx LBB0_86: xorl %eax, %eax callq _NECPLOG jmp LBB0_102 LBB0_87: cmpl $2, %eax jl LBB0_93 ## %bb.88: movq _LOG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movl 24(%r12), %edx movl 32(%r12), %ecx movq 40(%r12), %r8 movq 48(%r12), %r9 cmpq (%r13), %rsi jne LBB0_91 ## %bb.89: movq %rsi, %r14 movq _FALSE@GOTPCREL(%rip), %rax jmp LBB0_92 LBB0_90: movl -76(%rbp), %r13d ## 4-byte Reload jmp LBB0_102 LBB0_91: movq %rsi, %r14 movq _TRUE@GOTPCREL(%rip), %rax LBB0_92: movl (%rax), %ebx leaq L_.str.3(%rip), %rsi xorl %eax, %eax pushq %rbx pushq %r15 callq _NECPLOG addq $16, %rsp movq %r14, %rsi LBB0_93: cmpq (%r13), %rsi jne LBB0_100 LBB0_99: movq _FALSE@GOTPCREL(%rip), %rax jmp LBB0_101 LBB0_96: movq _TRUE@GOTPCREL(%rip), %rax LBB0_97: movl (%rax), %r8d leaq L_.str.2(%rip), %rsi ## kill: def $ecx killed $ecx killed $rcx xorl %eax, %eax callq _NECPLOG LBB0_98: movq 16(%r12), %rax movq (%rax,%rbx,8), %rax cmpq (%r14), %rax je LBB0_99 LBB0_100: movq _TRUE@GOTPCREL(%rip), %rax LBB0_101: movl (%rax), %r13d LBB0_102: movl %r13d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .comm _NECP_ROUTE_RULE_NONE,8,3 ## @NECP_ROUTE_RULE_NONE .comm _necp_route_rules,4,2 ## @necp_route_rules .comm _NECP_ROUTE_RULE_DENY_INTERFACE,8,3 ## @NECP_ROUTE_RULE_DENY_INTERFACE .comm _FALSE,4,2 ## @FALSE .comm _necp_debug,4,2 ## @necp_debug .comm _LOG_DEBUG,4,2 ## @LOG_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Route Allowed: No interface for route, using default for Rule %d Allowed %d" .comm _MAX_ROUTE_RULE_INTERFACES,4,2 ## @MAX_ROUTE_RULE_INTERFACES .comm _NECP_ROUTE_RULE_DENY_LQM_ABORT,8,3 ## @NECP_ROUTE_RULE_DENY_LQM_ABORT L_.str.1: ## @.str.1 .asciz "Route Allowed: Interface match %d for Rule %d Deny LQM Abort" L_.str.2: ## @.str.2 .asciz "Route Allowed: Interface match %d for Rule %d Allowed %d" .comm _IFRTYPE_FUNCTIONAL_CELLULAR,4,2 ## @IFRTYPE_FUNCTIONAL_CELLULAR .comm _NECP_ROUTE_RULE_ALLOW_INTERFACE,8,3 ## @NECP_ROUTE_RULE_ALLOW_INTERFACE .comm _IFRTYPE_FUNCTIONAL_WIFI_INFRA,4,2 ## @IFRTYPE_FUNCTIONAL_WIFI_INFRA .comm _IFRTYPE_FUNCTIONAL_WIRED,4,2 ## @IFRTYPE_FUNCTIONAL_WIRED L_.str.3: ## @.str.3 .asciz "Route Allowed: C:%d WF:%d W:%d E:%d for Rule %d Allowed %d" L_.str.4: ## @.str.4 .asciz "Route Allowed: Using default for Rule %d Allowed %d" .no_dead_strip _necp_route_is_allowed_inner .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function necp_route_is_allowed_inner _necp_route_is_allowed_inner: ; @necp_route_is_allowed_inner .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 mov x24, x3 mov x26, x2 mov x22, x1 mov x23, x0 Lloh0: adrp x8, _NECP_ROUTE_RULE_NONE@GOTPAGE Lloh1: ldr x8, [x8, _NECP_ROUTE_RULE_NONE@GOTPAGEOFF] Lloh2: ldr x25, [x8] Lloh3: adrp x0, _necp_route_rules@GOTPAGE Lloh4: ldr x0, [x0, _necp_route_rules@GOTPAGEOFF] mov x1, x2 bl _necp_lookup_route_rule_locked cbz x0, LBB0_19 ; %bb.1: mov x20, x0 ldr x8, [x0] Lloh5: adrp x19, _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPAGE Lloh6: ldr x19, [x19, _NECP_ROUTE_RULE_DENY_INTERFACE@GOTPAGEOFF] Lloh7: adrp x10, _FALSE@GOTPAGE Lloh8: ldr x10, [x10, _FALSE@GOTPAGEOFF] ldr x9, [x19] Lloh9: adrp x11, _TRUE@GOTPAGE Lloh10: ldr x11, [x11, _TRUE@GOTPAGEOFF] cmp x8, x9 csel x8, x10, x11, eq ldr w21, [x8] cbnz x22, LBB0_3 ; %bb.2: ldr x22, [x23] cbz x22, LBB0_26 LBB0_3: str x26, [sp, #40] ; 8-byte Folded Spill ldr x23, [x22, #8] Lloh11: adrp x28, _MAX_ROUTE_RULE_INTERFACES@GOTPAGE Lloh12: ldr x28, [x28, _MAX_ROUTE_RULE_INTERFACES@GOTPAGEOFF] ldr w8, [x28] Lloh13: adrp x26, _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPAGE Lloh14: ldr x26, [x26, _NECP_ROUTE_RULE_DENY_LQM_ABORT@GOTPAGEOFF] cmp w8, #1 b.lt LBB0_13 ; %bb.4: mov x27, #0 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x27, x27, #1 cmp x27, w8, sxtw b.ge LBB0_13 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x9, [x20, #8] ldr x9, [x9, x27, lsl #3] cbz x9, LBB0_13 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x10, [x22] cmp x9, x10 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 cbz x23, LBB0_5 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldr x10, [x23] cmp x9, x10 b.ne LBB0_5 LBB0_10: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x20, #16] ldr x0, [x8, x27, lsl #3] ldr x8, [x26] cmp x0, x8 b.eq LBB0_28 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 bl _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY cbnz x0, LBB0_30 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x28] b LBB0_5 LBB0_13: mov x0, x22 bl _IFNET_IS_CELLULAR cbz x0, LBB0_20 ; %bb.14: ldr x0, [x20, #24] ldr x8, [x26] cmp x0, x8 mov x27, x19 Lloh15: adrp x19, _NECP_ROUTE_RULE_NONE@GOTPAGE Lloh16: ldr x19, [x19, _NECP_ROUTE_RULE_NONE@GOTPAGEOFF] b.ne LBB0_21 ; %bb.15: mov x0, x22 mov x1, x23 bl _necp_route_is_lqm_abort cbz w0, LBB0_36 ; %bb.16: cbz x24, LBB0_18 ; %bb.17: Lloh17: adrp x8, _IFRTYPE_FUNCTIONAL_CELLULAR@GOTPAGE Lloh18: ldr x8, [x8, _IFRTYPE_FUNCTIONAL_CELLULAR@GOTPAGEOFF] Lloh19: ldr w8, [x8] str w8, [x24] LBB0_18: ldr x25, [x27] b LBB0_36 LBB0_19: Lloh20: adrp x8, _TRUE@GOTPAGE Lloh21: ldr x8, [x8, _TRUE@GOTPAGEOFF] b LBB0_78 LBB0_20: mov x27, x19 Lloh22: adrp x19, _NECP_ROUTE_RULE_NONE@GOTPAGE Lloh23: ldr x19, [x19, _NECP_ROUTE_RULE_NONE@GOTPAGEOFF] b LBB0_36 LBB0_21: bl _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY cbz x0, LBB0_36 ; %bb.22: cbz x24, LBB0_24 ; %bb.23: Lloh24: adrp x8, _IFRTYPE_FUNCTIONAL_CELLULAR@GOTPAGE Lloh25: ldr x8, [x8, _IFRTYPE_FUNCTIONAL_CELLULAR@GOTPAGEOFF] Lloh26: ldr w8, [x8] str w8, [x24] LBB0_24: ldr x8, [x19] cmp x25, x8 b.ne LBB0_33 ; %bb.25: ldr x8, [x20, #24] b LBB0_35 LBB0_26: Lloh27: adrp x8, _necp_debug@GOTPAGE Lloh28: ldr x8, [x8, _necp_debug@GOTPAGEOFF] Lloh29: ldr w8, [x8] cmp w8, #2 ccmp w21, #0, #0, ge b.ne LBB0_79 ; %bb.27: Lloh30: adrp x8, _LOG_DEBUG@GOTPAGE Lloh31: ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF] Lloh32: ldr w0, [x8] Lloh33: adrp x1, l_.str@PAGE Lloh34: add x1, x1, l_.str@PAGEOFF mov x2, x26 b LBB0_71 LBB0_28: mov x0, x22 mov x1, x23 bl _necp_route_is_lqm_abort Lloh35: adrp x8, _necp_debug@GOTPAGE Lloh36: ldr x8, [x8, _necp_debug@GOTPAGEOFF] Lloh37: ldr w8, [x8] cmp w8, #2 ccmp w0, #0, #4, ge b.eq LBB0_73 ; %bb.29: Lloh38: adrp x8, _LOG_DEBUG@GOTPAGE Lloh39: ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF] Lloh40: ldr w0, [x8] ldr x8, [x20, #8] ldr x2, [x8, x27, lsl #3] Lloh41: adrp x1, l_.str.1@PAGE Lloh42: add x1, x1, l_.str.1@PAGEOFF ; kill: def $w2 killed $w2 killed $x2 ldr x3, [sp, #40] ; 8-byte Folded Reload ; kill: def $w3 killed $w3 killed $x3 b LBB0_72 LBB0_30: Lloh43: adrp x8, _necp_debug@GOTPAGE Lloh44: ldr x8, [x8, _necp_debug@GOTPAGEOFF] Lloh45: ldr w8, [x8] cmp w8, #2 Lloh46: adrp x21, _FALSE@GOTPAGE Lloh47: ldr x21, [x21, _FALSE@GOTPAGEOFF] Lloh48: adrp x22, _TRUE@GOTPAGE Lloh49: ldr x22, [x22, _TRUE@GOTPAGEOFF] b.lt LBB0_32 ; %bb.31: Lloh50: adrp x8, _LOG_DEBUG@GOTPAGE Lloh51: ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF] Lloh52: ldr w0, [x8] lsl x8, x27, #3 ldp x9, x10, [x20, #8] ldr w2, [x9, x8] ldr x8, [x10, x8] ldr x9, [x19] cmp x8, x9 csel x8, x21, x22, eq ldr w8, [x8] str x8, [sp] Lloh53: adrp x1, l_.str.2@PAGE Lloh54: add x1, x1, l_.str.2@PAGEOFF ldr x3, [sp, #40] ; 8-byte Folded Reload ; kill: def $w3 killed $w3 killed $x3 bl _NECPLOG LBB0_32: ldr x8, [x20, #16] ldr x8, [x8, x27, lsl #3] ldr x9, [x19] cmp x8, x9 b LBB0_77 LBB0_33: Lloh55: adrp x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGE Lloh56: ldr x8, [x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGEOFF] Lloh57: ldr x8, [x8] cmp x25, x8 b.ne LBB0_36 ; %bb.34: ldr x8, [x20, #24] ldr x9, [x27] cmp x8, x9 b.ne LBB0_36 LBB0_35: mov x25, x8 LBB0_36: mov x0, x22 bl _IFNET_IS_WIFI cbz x0, LBB0_50 ; %bb.37: ldr x0, [x20, #32] ldr x8, [x26] cmp x0, x8 b.ne LBB0_42 ; %bb.38: mov x0, x22 mov x1, x23 bl _necp_route_is_lqm_abort cbz w0, LBB0_50 ; %bb.39: cbz x24, LBB0_41 ; %bb.40: Lloh58: adrp x8, _IFRTYPE_FUNCTIONAL_WIFI_INFRA@GOTPAGE Lloh59: ldr x8, [x8, _IFRTYPE_FUNCTIONAL_WIFI_INFRA@GOTPAGEOFF] Lloh60: ldr w8, [x8] str w8, [x24] LBB0_41: ldr x25, [x27] b LBB0_50 LBB0_42: bl _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY cbz x0, LBB0_50 ; %bb.43: cbz x24, LBB0_45 ; %bb.44: Lloh61: adrp x8, _IFRTYPE_FUNCTIONAL_WIFI_INFRA@GOTPAGE Lloh62: ldr x8, [x8, _IFRTYPE_FUNCTIONAL_WIFI_INFRA@GOTPAGEOFF] Lloh63: ldr w8, [x8] str w8, [x24] LBB0_45: ldr x8, [x19] cmp x25, x8 b.ne LBB0_47 ; %bb.46: ldr x8, [x20, #32] b LBB0_49 LBB0_47: Lloh64: adrp x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGE Lloh65: ldr x8, [x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGEOFF] Lloh66: ldr x8, [x8] cmp x25, x8 b.ne LBB0_50 ; %bb.48: ldr x8, [x20, #32] ldr x9, [x27] cmp x8, x9 b.ne LBB0_50 LBB0_49: mov x25, x8 LBB0_50: mov x0, x22 bl _IFNET_IS_WIRED cbz x0, LBB0_64 ; %bb.51: ldr x0, [x20, #40] ldr x8, [x26] cmp x0, x8 b.ne LBB0_56 ; %bb.52: mov x0, x22 mov x1, x23 bl _necp_route_is_lqm_abort cbz w0, LBB0_64 ; %bb.53: cbz x24, LBB0_55 ; %bb.54: Lloh67: adrp x8, _IFRTYPE_FUNCTIONAL_WIRED@GOTPAGE Lloh68: ldr x8, [x8, _IFRTYPE_FUNCTIONAL_WIRED@GOTPAGEOFF] Lloh69: ldr w8, [x8] str w8, [x24] LBB0_55: ldr x25, [x27] b LBB0_64 LBB0_56: bl _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY cbz x0, LBB0_64 ; %bb.57: cbz x24, LBB0_59 ; %bb.58: Lloh70: adrp x8, _IFRTYPE_FUNCTIONAL_WIRED@GOTPAGE Lloh71: ldr x8, [x8, _IFRTYPE_FUNCTIONAL_WIRED@GOTPAGEOFF] Lloh72: ldr w8, [x8] str w8, [x24] LBB0_59: ldr x8, [x19] cmp x25, x8 b.ne LBB0_61 ; %bb.60: ldr x8, [x20, #40] b LBB0_63 LBB0_61: Lloh73: adrp x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGE Lloh74: ldr x8, [x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGEOFF] Lloh75: ldr x8, [x8] cmp x25, x8 b.ne LBB0_64 ; %bb.62: ldr x8, [x20, #40] ldr x9, [x27] cmp x8, x9 b.ne LBB0_64 LBB0_63: mov x25, x8 LBB0_64: mov x0, x22 bl _IFNET_IS_EXPENSIVE cbz x0, LBB0_67 ; %bb.65: ldr x0, [x20, #48] ldr x8, [x26] cmp x0, x8 b.ne LBB0_80 ; %bb.66: mov x0, x22 mov x1, x23 bl _necp_route_is_lqm_abort ldr x8, [x27] cmp w0, #0 csel x25, x25, x8, eq LBB0_67: Lloh76: adrp x22, _TRUE@GOTPAGE Lloh77: ldr x22, [x22, _TRUE@GOTPAGEOFF] LBB0_68: ldr x9, [x19] Lloh78: adrp x8, _necp_debug@GOTPAGE Lloh79: ldr x8, [x8, _necp_debug@GOTPAGEOFF] Lloh80: ldr w8, [x8] cmp x25, x9 b.ne LBB0_74 ; %bb.69: cmp w8, #2 ccmp w21, #0, #0, ge ldr x2, [sp, #40] ; 8-byte Folded Reload b.ne LBB0_79 ; %bb.70: Lloh81: adrp x8, _LOG_DEBUG@GOTPAGE Lloh82: ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF] Lloh83: ldr w0, [x8] Lloh84: adrp x1, l_.str.4@PAGE Lloh85: add x1, x1, l_.str.4@PAGEOFF ; kill: def $w2 killed $w2 killed $x2 LBB0_71: mov w3, #0 LBB0_72: bl _NECPLOG LBB0_73: mov w21, #0 b LBB0_79 LBB0_74: cmp w8, #2 Lloh86: adrp x21, _FALSE@GOTPAGE Lloh87: ldr x21, [x21, _FALSE@GOTPAGEOFF] b.lt LBB0_76 ; %bb.75: Lloh88: adrp x8, _LOG_DEBUG@GOTPAGE Lloh89: ldr x8, [x8, _LOG_DEBUG@GOTPAGEOFF] Lloh90: ldr w0, [x8] ldr w2, [x20, #24] ldr w3, [x20, #32] ldp x8, x9, [x20, #40] ldr x10, [x27] cmp x25, x10 csel x10, x21, x22, eq ldr w11, [x10] ldr x10, [sp, #40] ; 8-byte Folded Reload stp x10, x11, [sp, #16] stp x8, x9, [sp] Lloh91: adrp x1, l_.str.3@PAGE Lloh92: add x1, x1, l_.str.3@PAGEOFF bl _NECPLOG LBB0_76: ldr x8, [x27] cmp x25, x8 LBB0_77: csel x8, x21, x22, eq LBB0_78: ldr w21, [x8] LBB0_79: mov x0, x21 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_80: bl _IS_NECP_ROUTE_RULE_ALLOW_OR_DENY Lloh93: adrp x22, _TRUE@GOTPAGE Lloh94: ldr x22, [x22, _TRUE@GOTPAGEOFF] cbz x0, LBB0_68 ; %bb.81: ldr x8, [x19] cmp x25, x8 b.ne LBB0_83 ; %bb.82: ldr x8, [x20, #48] b LBB0_85 LBB0_83: Lloh95: adrp x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGE Lloh96: ldr x8, [x8, _NECP_ROUTE_RULE_ALLOW_INTERFACE@GOTPAGEOFF] Lloh97: ldr x8, [x8] cmp x25, x8 b.ne LBB0_68 ; %bb.84: ldr x8, [x20, #48] ldr x9, [x27] cmp x8, x9 b.ne LBB0_68 LBB0_85: mov x25, x8 b LBB0_68 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGot Lloh48, Lloh49 .loh AdrpLdrGot Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .loh AdrpLdrGotLdr Lloh70, Lloh71, Lloh72 .loh AdrpLdrGotLdr Lloh73, Lloh74, Lloh75 .loh AdrpLdrGot Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpLdrGot Lloh86, Lloh87 .loh AdrpAdd Lloh91, Lloh92 .loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90 .loh AdrpLdrGot Lloh93, Lloh94 .loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .comm _NECP_ROUTE_RULE_NONE,8,3 ; @NECP_ROUTE_RULE_NONE .comm _necp_route_rules,4,2 ; @necp_route_rules .comm _NECP_ROUTE_RULE_DENY_INTERFACE,8,3 ; @NECP_ROUTE_RULE_DENY_INTERFACE .comm _FALSE,4,2 ; @FALSE .comm _necp_debug,4,2 ; @necp_debug .comm _LOG_DEBUG,4,2 ; @LOG_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Route Allowed: No interface for route, using default for Rule %d Allowed %d" .comm _MAX_ROUTE_RULE_INTERFACES,4,2 ; @MAX_ROUTE_RULE_INTERFACES .comm _NECP_ROUTE_RULE_DENY_LQM_ABORT,8,3 ; @NECP_ROUTE_RULE_DENY_LQM_ABORT l_.str.1: ; @.str.1 .asciz "Route Allowed: Interface match %d for Rule %d Deny LQM Abort" l_.str.2: ; @.str.2 .asciz "Route Allowed: Interface match %d for Rule %d Allowed %d" .comm _IFRTYPE_FUNCTIONAL_CELLULAR,4,2 ; @IFRTYPE_FUNCTIONAL_CELLULAR .comm _NECP_ROUTE_RULE_ALLOW_INTERFACE,8,3 ; @NECP_ROUTE_RULE_ALLOW_INTERFACE .comm _IFRTYPE_FUNCTIONAL_WIFI_INFRA,4,2 ; @IFRTYPE_FUNCTIONAL_WIFI_INFRA .comm _IFRTYPE_FUNCTIONAL_WIRED,4,2 ; @IFRTYPE_FUNCTIONAL_WIRED l_.str.3: ; @.str.3 .asciz "Route Allowed: C:%d WF:%d W:%d E:%d for Rule %d Allowed %d" l_.str.4: ; @.str.4 .asciz "Route Allowed: Using default for Rule %d Allowed %d" .no_dead_strip _necp_route_is_allowed_inner .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/net/extr_necp.c_necp_route_is_allowed_inner.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function auxch_init _auxch_init: ## @auxch_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 pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r15 leal (%r14,%r14,4), %r12d shll $4, %r12d addl $58596, %r12d ## imm = 0xE4E4 movl $-1001, %ebx ## imm = 0xFC17 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %r12d, %esi callq _nv_rd32 movl %eax, %r13d movl $1, %edi callq _udelay incl %ebx je LBB0_2 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 testl $50397184, %r13d ## imm = 0x3010000 jne LBB0_1 ## %bb.5: movq %r15, %rdi movl %r12d, %esi movl $3145728, %edx ## imm = 0x300000 movl $1048576, %ecx ## imm = 0x100000 callq _nv_mask movl $-1001, %r13d ## imm = 0xFC17 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %r12d, %esi callq _nv_rd32 movl %eax, %ebx movl $1, %edi callq _udelay incl %r13d je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 andl $50331648, %ebx ## imm = 0x3000000 cmpl $16777216, %ebx ## imm = 0x1000000 jne LBB0_6 ## %bb.9: xorl %eax, %eax jmp LBB0_10 LBB0_2: leaq L_.str(%rip), %rdi movl %r13d, %esi callq _AUX_ERR jmp LBB0_3 LBB0_7: leaq L_.str.1(%rip), %rdi movl %ebx, %esi callq _AUX_ERR movq %r15, %rdi movl %r14d, %esi callq _auxch_fini LBB0_3: movq _EBUSY@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_10: 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 "begin idle timeout 0x%08x\n" .comm _EBUSY,4,2 ## @EBUSY L_.str.1: ## @.str.1 .asciz "magic wait 0x%08x\n" .no_dead_strip _auxch_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function auxch_init _auxch_init: ; @auxch_init .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 mov w8, #80 mov w9, #58596 madd w21, w1, w8, w9 mov w23, #-1001 mov w24, #50397184 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _nv_rd32 mov x22, x0 mov w0, #1 bl _udelay adds w23, w23, #1 b.hs LBB0_7 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 tst w22, w24 b.ne LBB0_1 ; %bb.3: mov x0, x20 mov x1, x21 mov w2, #3145728 mov w3, #1048576 bl _nv_mask mov w23, #-1001 mov w24, #16777216 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _nv_rd32 mov x22, x0 mov w0, #1 bl _udelay adds w23, w23, #1 b.hs LBB0_8 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 and w8, w22, #0x3000000 cmp w8, w24 b.ne LBB0_4 ; %bb.6: mov w0, #0 b LBB0_10 LBB0_7: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x22 bl _AUX_ERR b LBB0_9 LBB0_8: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF mov x1, x22 bl _AUX_ERR mov x0, x20 mov x1, x19 bl _auxch_fini LBB0_9: Lloh4: adrp x8, _EBUSY@GOTPAGE Lloh5: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w0, w8 LBB0_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "begin idle timeout 0x%08x\n" .comm _EBUSY,4,2 ; @EBUSY l_.str.1: ; @.str.1 .asciz "magic wait 0x%08x\n" .no_dead_strip _auxch_init .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/subdev/i2c/extr_nv94.c_auxch_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function move_by_chars _move_by_chars: ## @move_by_chars .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 xorl %ebx, %ebx testq %rsi, %rsi jns LBB0_5 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _move_prev_char testq %rax, %rax je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 decq %rbx cmpq %r14, %rbx jg LBB0_1 ## %bb.3: movq %r14, %rbx jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 incq %rbx LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpq %r14, %rbx jl LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq %r15, %rdi callq _move_next_char testq %rax, %rax jne LBB0_7 LBB0_4: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _move_by_chars .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function move_by_chars _move_by_chars: ; @move_by_chars .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 mov x21, #0 ; =0x0 tbz x1, #63, LBB0_5 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _move_prev_char cbz x0, LBB0_7 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 sub x21, x21, #1 cmp x21, x19 b.gt LBB0_1 ; %bb.3: mov x21, x19 b LBB0_7 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x21, x21, #1 LBB0_5: ; =>This Inner Loop Header: Depth=1 cmp x21, x19 b.lt LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 bl _move_next_char cbnz x0, LBB0_4 LBB0_7: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _move_by_chars .subsections_via_symbols
assembly_file_51652.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ocfs2_super_lock_res_init _ocfs2_super_lock_res_init: ## @ocfs2_super_lock_res_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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _ocfs2_lock_res_init_once movq _OCFS2_LOCK_TYPE_SUPER@GOTPCREL(%rip), %r15 movl (%r15), %edi movq _OCFS2_SUPER_BLOCK_BLKNO@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%rbx), %ecx xorl %edx, %edx callq _ocfs2_build_lock_name movl (%r15), %edx movq _ocfs2_super_lops@GOTPCREL(%rip), %rcx movq %r14, %rdi movq %rbx, %rsi movq %r14, %r8 addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ocfs2_lock_res_init_common ## TAILCALL .cfi_endproc ## -- End function .comm _OCFS2_LOCK_TYPE_SUPER,4,2 ## @OCFS2_LOCK_TYPE_SUPER .comm _OCFS2_SUPER_BLOCK_BLKNO,4,2 ## @OCFS2_SUPER_BLOCK_BLKNO .comm _ocfs2_super_lops,4,2 ## @ocfs2_super_lops .no_dead_strip _ocfs2_super_lock_res_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ocfs2_super_lock_res_init _ocfs2_super_lock_res_init: ; @ocfs2_super_lock_res_init .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 _ocfs2_lock_res_init_once Lloh0: adrp x21, _OCFS2_LOCK_TYPE_SUPER@GOTPAGE Lloh1: ldr x21, [x21, _OCFS2_LOCK_TYPE_SUPER@GOTPAGEOFF] ldr w0, [x21] Lloh2: adrp x8, _OCFS2_SUPER_BLOCK_BLKNO@GOTPAGE Lloh3: ldr x8, [x8, _OCFS2_SUPER_BLOCK_BLKNO@GOTPAGEOFF] Lloh4: ldr w1, [x8] ldr w3, [x20] mov w2, #0 bl _ocfs2_build_lock_name Lloh5: adrp x3, _ocfs2_super_lops@GOTPAGE Lloh6: ldr x3, [x3, _ocfs2_super_lops@GOTPAGEOFF] ldr w2, [x21] mov x0, x19 mov x1, x20 mov x4, 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 _ocfs2_lock_res_init_common .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _OCFS2_LOCK_TYPE_SUPER,4,2 ; @OCFS2_LOCK_TYPE_SUPER .comm _OCFS2_SUPER_BLOCK_BLKNO,4,2 ; @OCFS2_SUPER_BLOCK_BLKNO .comm _ocfs2_super_lops,4,2 ; @ocfs2_super_lops .no_dead_strip _ocfs2_super_lock_res_init .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_super_lock_res_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _il_clear_bit ## -- Begin function il_clear_bit .p2align 4, 0x90 _il_clear_bit: ## @il_clear_bit .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 callq _spin_lock_irqsave movq %rbx, %rdi movl %r15d, %esi movl %r14d, %edx callq __il_clear_bit movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irqrestore ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _il_clear_bit ; -- Begin function il_clear_bit .p2align 2 _il_clear_bit: ; @il_clear_bit .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 bl _spin_lock_irqsave mov x0, x21 mov x1, x20 mov x2, x19 bl __il_clear_bit mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _spin_unlock_irqrestore .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intel/iwlegacy/extr_common.c_il_clear_bit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_username _get_username: ## @get_username .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 callq _getuid movq %rax, %r14 xorl %eax, %eax callq _getlogin testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx movq %rax, %rdi callq _getpwnam testq %rax, %rax je LBB0_3 ## %bb.2: cmpq %r14, (%rax) je LBB0_6 LBB0_3: movq %r14, %rdi callq _getpwuid testq %rax, %rax je LBB0_4 ## %bb.5: movq 8(%rax), %rbx jmp LBB0_6 LBB0_4: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_username .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_username _get_username: ; @get_username .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 _getuid mov x19, x0 bl _getlogin cbz x0, LBB0_3 ; %bb.1: mov x20, x0 bl _getpwnam cbz x0, LBB0_3 ; %bb.2: ldr x8, [x0] cmp x8, x19 b.eq LBB0_6 LBB0_3: mov x0, x19 bl _getpwuid cbz x0, LBB0_5 ; %bb.4: ldr x20, [x0, #8] b LBB0_6 LBB0_5: mov x20, #0 LBB0_6: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _get_username .subsections_via_symbols
AnghaBench/freebsd/libexec/ulog-helper/extr_ulog-helper.c_get_username.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_arena_pdirty _get_arena_pdirty: ## @get_arena_pdirty .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 $80, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) xorl %eax, %eax callq _do_epoch movq $4, -72(%rbp) leaq L_.str(%rip), %rdi leaq -64(%rbp), %r14 leaq -72(%rbp), %rdx movq %r14, %rsi callq _mallctlnametomib leaq L_.str.1(%rip), %rdx movl %eax, %edi xorl %esi, %esi callq _assert_d_eq movl %ebx, %eax movq %rax, -48(%rbp) movq $8, -80(%rbp) movq -72(%rbp), %rsi leaq -88(%rbp), %rdx leaq -80(%rbp), %rcx movq %r14, %rdi xorl %r8d, %r8d xorl %r9d, %r9d callq _mallctlbymib leaq L_.str.2(%rip), %rdx movl %eax, %edi xorl %esi, %esi callq _assert_d_eq movq -88(%rbp), %rax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -24(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $80, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "stats.arenas.0.pdirty" L_.str.1: ## @.str.1 .asciz "Unexpected mallctlnametomib() failure" L_.str.2: ## @.str.2 .asciz "Unexpected mallctlbymib() failure" .no_dead_strip _get_arena_pdirty .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_arena_pdirty _get_arena_pdirty: ; @get_arena_pdirty .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] bl _do_epoch mov w8, #4 str x8, [sp, #16] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF add x1, sp, #24 add x2, sp, #16 bl _mallctlnametomib Lloh5: adrp x2, l_.str.1@PAGE Lloh6: add x2, x2, l_.str.1@PAGEOFF mov w1, #0 bl _assert_d_eq mov w8, w19 str x8, [sp, #40] mov w8, #8 str x8, [sp] ldr x1, [sp, #16] add x0, sp, #24 add x2, sp, #8 mov x3, sp mov x4, #0 mov w5, #0 bl _mallctlbymib Lloh7: adrp x2, l_.str.2@PAGE Lloh8: add x2, x2, l_.str.2@PAGEOFF mov w1, #0 bl _assert_d_eq ldr x0, [sp, #8] ldur x8, [x29, #-24] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "stats.arenas.0.pdirty" l_.str.1: ; @.str.1 .asciz "Unexpected mallctlnametomib() failure" l_.str.2: ; @.str.2 .asciz "Unexpected mallctlbymib() failure" .no_dead_strip _get_arena_pdirty .subsections_via_symbols
AnghaBench/jemalloc/test/unit/extr_decay.c_get_arena_pdirty.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EVP_des_ede_cfb ## -- Begin function EVP_des_ede_cfb .p2align 4, 0x90 _EVP_des_ede_cfb: ## @EVP_des_ede_cfb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _EVP_des_ede_cfb64 ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _EVP_des_ede_cfb ; -- Begin function EVP_des_ede_cfb .p2align 2 _EVP_des_ede_cfb: ; @EVP_des_ede_cfb .cfi_startproc ; %bb.0: b _EVP_des_ede_cfb64 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/openssl/crypto/evp/extr_e_old.c_EVP_des_ede_cfb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gen_eh_region _gen_eh_region: ## @gen_eh_region .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movl %edi, %r14d movl $40, %edi callq _ggc_alloc_cleared movl %r14d, (%rax) movq %rbx, 32(%rax) testq %rbx, %rbx je LBB0_2 ## %bb.1: movq 24(%rbx), %rdx movq %rax, 24(%rbx) movq _cfun@GOTPCREL(%rip), %rcx movq (%rcx), %rcx jmp LBB0_3 LBB0_2: movq _cfun@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rcx), %rsi movq 8(%rsi), %rdx movq %rax, 8(%rsi) LBB0_3: movq %rdx, 16(%rax) movq (%rcx), %rcx movq (%rcx), %rdx incq %rdx movq %rdx, (%rcx) movq %rdx, 8(%rax) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _cfun,8,3 ## @cfun .no_dead_strip _gen_eh_region .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gen_eh_region _gen_eh_region: ; @gen_eh_region .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, #40 bl _ggc_alloc_cleared str w20, [x0] str x19, [x0, #32] cbz x19, LBB0_2 ; %bb.1: ldr x9, [x19, #24] str x0, [x19, #24] Lloh0: adrp x8, _cfun@GOTPAGE Lloh1: ldr x8, [x8, _cfun@GOTPAGEOFF] Lloh2: ldr x8, [x8] b LBB0_3 LBB0_2: Lloh3: adrp x8, _cfun@GOTPAGE Lloh4: ldr x8, [x8, _cfun@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldr x10, [x8] ldr x9, [x10, #8] str x0, [x10, #8] LBB0_3: str x9, [x0, #16] ldr x8, [x8] ldr x9, [x8] add x9, x9, #1 str x9, [x8] str x9, [x0, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _cfun,8,3 ; @cfun .no_dead_strip _gen_eh_region .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_except.c_gen_eh_region.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CRC16 ## -- Begin function CRC16 .p2align 4, 0x90 _CRC16: ## @CRC16 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movzbl (%rdi), %eax shll $8, %eax movsbl 1(%rdi), %edx orl %eax, %edx cmpl $17, %esi jl LBB0_6 ## %bb.1: movl $16, %eax movl _X(%rip), %r8d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movzbl (%rdi,%rdx), %r10d notb %cl andb $7, %cl movzbl %cl, %ecx xorl %edx, %edx btl %ecx, %r10d setb %dl leal (%rdx,%r9,2), %edx LBB0_5: ## in Loop: Header=BB0_2 Depth=1 incl %eax cmpl %eax, %esi je LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal -16(%rax), %ecx movzwl %dx, %r9d movl %eax, %edx shrq $3, %rdx testl $32768, %r9d ## imm = 0x8000 je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movsbl (%rdi,%rdx), %r10d notb %cl andb $7, %cl movzbl %cl, %ecx xorl %edx, %edx btl %ecx, %r10d setb %dl leal (%rdx,%r9,2), %edx xorl %r8d, %edx jmp LBB0_5 LBB0_6: movzwl %dx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _GetBit ## -- Begin function GetBit .p2align 4, 0x90 _GetBit: ## @GetBit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi leal 7(%rsi), %eax testl %esi, %esi cmovnsl %esi, %eax movl %eax, %ecx sarl $3, %ecx movslq %ecx, %rcx movsbl (%rdi,%rcx), %ecx andl $-8, %eax subl %eax, %esi movb $7, %al subb %sil, %al movzbl %al, %edx xorl %eax, %eax btl %edx, %ecx setb %al popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $280, %rsp ## imm = 0x118 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq l___const.main.str(%rip), %rsi leaq -304(%rbp), %rbx movl $256, %edx ## imm = 0x100 movq %rbx, %rdi callq _memcpy movq %rbx, %rdi callq _strlen leal (,%rax,8), %r13d leal 16(,%rax,8), %ecx cltq movb $0, -304(%rbp,%rax) movq %rax, -320(%rbp) ## 8-byte Spill incl %eax movslq %eax, %r12 movb $0, -304(%rbp,%r12) movl -304(%rbp), %eax shll $8, %eax movsbl -303(%rbp), %r15d orl %eax, %r15d movl %ecx, -308(%rbp) ## 4-byte Spill cmpl $17, %ecx jl LBB2_6 ## %bb.1: xorl %eax, %eax movl _X(%rip), %ecx jmp LBB2_2 .p2align 4, 0x90 LBB2_4: ## in Loop: Header=BB2_2 Depth=1 movzbl -304(%rbp,%rsi), %esi movl %eax, %ebx notb %bl andb $7, %bl movzbl %bl, %edi xorl %ebx, %ebx btl %edi, %esi setb %bl leal (%rbx,%rdx,2), %r15d LBB2_5: ## in Loop: Header=BB2_2 Depth=1 incl %eax cmpl %eax, %r13d je LBB2_6 LBB2_2: ## =>This Inner Loop Header: Depth=1 movzwl %r15w, %edx leal 16(%rax), %esi shrq $3, %rsi testl $32768, %edx ## imm = 0x8000 je LBB2_4 ## %bb.3: ## in Loop: Header=BB2_2 Depth=1 movsbl -304(%rbp,%rsi), %esi movl %eax, %ebx notb %bl andb $7, %bl movzbl %bl, %edi xorl %ebx, %ebx btl %edi, %esi setb %bl leal (%rbx,%rdx,2), %r15d xorl %ecx, %r15d jmp LBB2_5 LBB2_6: movswl %r15w, %r14d leaq L_.str(%rip), %rdi xorl %ebx, %ebx movl %r14d, %esi xorl %eax, %eax callq _printf movb %r14b, -304(%rbp,%r12) movq -320(%rbp), %rax ## 8-byte Reload movl %r15d, %ecx movb %ch, -304(%rbp,%rax) movl -304(%rbp), %eax shll $8, %eax movsbl -303(%rbp), %ecx orl %eax, %ecx cmpl $17, -308(%rbp) ## 4-byte Folded Reload jl LBB2_12 ## %bb.7: movl _X(%rip), %esi jmp LBB2_8 .p2align 4, 0x90 LBB2_10: ## in Loop: Header=BB2_8 Depth=1 leal 16(%rbx), %eax shrq $3, %rax movzbl -304(%rbp,%rax), %eax movl %ebx, %edx notb %dl andb $7, %dl movzbl %dl, %edx xorl %edi, %edi btl %edx, %eax setb %dil leal (%rdi,%rcx,2), %ecx LBB2_11: ## in Loop: Header=BB2_8 Depth=1 incl %ebx cmpl %ebx, %r13d je LBB2_12 LBB2_8: ## =>This Inner Loop Header: Depth=1 movzwl %cx, %ecx testl $32768, %ecx ## imm = 0x8000 je LBB2_10 ## %bb.9: ## in Loop: Header=BB2_8 Depth=1 leal 16(%rbx), %edx shrq $3, %rdx movsbl -304(%rbp,%rdx), %edx movl %ebx, %eax notb %al andb $7, %al movzbl %al, %eax xorl %edi, %edi btl %eax, %edx setb %dil leal (%rdi,%rcx,2), %ecx xorl %esi, %ecx jmp LBB2_11 LBB2_12: movswl %cx, %esi leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB2_14 ## %bb.13: xorl %eax, %eax addq $280, %rsp ## imm = 0x118 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB2_14: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __DATA,__data .globl _X ## @X .p2align 2 _X: .long 32773 ## 0x8005 .section __TEXT,__const .p2align 4 ## @__const.main.str l___const.main.str: .asciz "very secret hash string.int Find(int v){int i=Hash(v); for(list<int>::iterator j=m[i].begin();j!=m[i].end();j++)if(*j==v)return 1; return 0;}\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\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\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\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "crc=%hd\n" L_.str.1: ## @.str.1 .asciz "check crc=%hd\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CRC16 ; -- Begin function CRC16 .p2align 2 _CRC16: ; @CRC16 .cfi_startproc ; %bb.0: ldrb w8, [x0] ldrsb w9, [x0, #1] orr w10, w9, w8, lsl #8 cmp w1, #17 b.lt LBB0_6 ; %bb.1: Lloh0: adrp x8, _X@PAGE Lloh1: ldr w8, [x8, _X@PAGEOFF] mov w9, #16 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov w10, w9 lsr x10, x10, #3 ldrb w10, [x0, x10] mvn w12, w12 and w12, w12, #0x7 lsr w10, w10, w12 and w10, w10, #0x1 bfi w10, w11, #1, #16 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w9, w9, #1 cmp w1, w9 b.eq LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 sub w12, w9, #16 and w11, w10, #0xffff tbz w10, #15, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov w10, w9 lsr x10, x10, #3 ldrsb w10, [x0, x10] mvn w12, w12 and w12, w12, #0x7 lsr w10, w10, w12 and w10, w10, #0x1 bfi w10, w11, #1, #16 eor w10, w10, w8 b LBB0_3 LBB0_6: and w0, w10, #0xffff ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _GetBit ; -- Begin function GetBit .p2align 2 _GetBit: ; @GetBit .cfi_startproc ; %bb.0: add w8, w1, #7 cmp w1, #0 csel w8, w8, w1, lt asr w9, w8, #3 ldrsb w9, [x0, w9, sxtw] and w8, w8, #0xfffffff8 sub w8, w8, w1 add w8, w8, #7 lsr w8, w9, w8 and w0, w8, #0x1 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #368 .cfi_def_cfa_offset 368 stp x26, x25, [sp, #288] ; 16-byte Folded Spill stp x24, x23, [sp, #304] ; 16-byte Folded Spill stp x22, x21, [sp, #320] ; 16-byte Folded Spill stp x20, x19, [sp, #336] ; 16-byte Folded Spill stp x29, x30, [sp, #352] ; 16-byte Folded Spill add x29, sp, #352 .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 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-72] Lloh5: adrp x8, l___const.main.str@PAGE Lloh6: add x8, x8, l___const.main.str@PAGEOFF ldp q0, q1, [x8, #192] stp q0, q1, [sp, #208] ldp q0, q1, [x8, #224] stp q0, q1, [sp, #240] ldp q0, q1, [x8, #128] stp q0, q1, [sp, #144] ldp q0, q1, [x8, #160] stp q0, q1, [sp, #176] ldp q0, q1, [x8, #64] stp q0, q1, [sp, #80] ldp q0, q1, [x8, #96] stp q0, q1, [sp, #112] ldp q0, q1, [x8] stp q0, q1, [sp, #16] ldp q0, q1, [x8, #32] stp q0, q1, [sp, #48] add x20, sp, #16 add x0, sp, #16 bl _strlen lsl w19, w0, #3 sxtw x21, w0 strb wzr, [x20, x21] add w8, w0, #1 sxtw x24, w8 strb wzr, [x20, x24] add w22, w19, #16 ldrb w8, [sp, #16] ldrsb w9, [sp, #17] orr w25, w9, w8, lsl #8 adrp x23, _X@PAGE cmp w22, #17 b.lt LBB2_6 ; %bb.1: mov w8, #0 ldr w9, [x23, _X@PAGEOFF] b LBB2_4 LBB2_2: ; in Loop: Header=BB2_4 Depth=1 mvn w11, w8 add w12, w8, #16 lsr x12, x12, #3 ldrb w12, [x20, x12] and w11, w11, #0x7 lsr w11, w12, w11 and w25, w11, #0x1 bfi w25, w10, #1, #16 LBB2_3: ; in Loop: Header=BB2_4 Depth=1 add w8, w8, #1 cmp w19, w8 b.eq LBB2_6 LBB2_4: ; =>This Inner Loop Header: Depth=1 and w10, w25, #0xffff tbz w25, #15, LBB2_2 ; %bb.5: ; in Loop: Header=BB2_4 Depth=1 add w11, w8, #16 lsr x11, x11, #3 ldrsb w11, [x20, x11] mvn w12, w8 and w12, w12, #0x7 lsr w11, w11, w12 and w11, w11, #0x1 bfi w11, w10, #1, #16 eor w25, w11, w9 b LBB2_3 LBB2_6: sxth x8, w25 str x8, [sp] Lloh7: adrp x0, l_.str@PAGE Lloh8: add x0, x0, l_.str@PAGEOFF bl _printf strb w25, [x20, x24] lsr w8, w25, #8 strb w8, [x20, x21] ldrb w8, [sp, #16] ldrsb w9, [sp, #17] orr w11, w9, w8, lsl #8 cmp w22, #17 b.lt LBB2_12 ; %bb.7: mov w8, #0 ldr w9, [x23, _X@PAGEOFF] add x10, sp, #16 b LBB2_10 LBB2_8: ; in Loop: Header=BB2_10 Depth=1 mvn w11, w8 add w13, w8, #16 lsr x13, x13, #3 ldrb w13, [x10, x13] and w11, w11, #0x7 lsr w11, w13, w11 and w11, w11, #0x1 bfi w11, w12, #1, #16 LBB2_9: ; in Loop: Header=BB2_10 Depth=1 add w8, w8, #1 cmp w19, w8 b.eq LBB2_12 LBB2_10: ; =>This Inner Loop Header: Depth=1 and w12, w11, #0xffff tbz w11, #15, LBB2_8 ; %bb.11: ; in Loop: Header=BB2_10 Depth=1 add w11, w8, #16 lsr x11, x11, #3 ldrsb w11, [x10, x11] mvn w13, w8 and w13, w13, #0x7 lsr w11, w11, w13 and w11, w11, #0x1 bfi w11, w12, #1, #16 eor w11, w11, w9 b LBB2_9 LBB2_12: sxth x8, w11 str x8, [sp] Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _printf ldur x8, [x29, #-72] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB2_14 ; %bb.13: mov w0, #0 ldp x29, x30, [sp, #352] ; 16-byte Folded Reload ldp x20, x19, [sp, #336] ; 16-byte Folded Reload ldp x22, x21, [sp, #320] ; 16-byte Folded Reload ldp x24, x23, [sp, #304] ; 16-byte Folded Reload ldp x26, x25, [sp, #288] ; 16-byte Folded Reload add sp, sp, #368 ret LBB2_14: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .section __DATA,__data .globl _X ; @X .p2align 2 _X: .long 32773 ; 0x8005 .section __TEXT,__const l___const.main.str: ; @__const.main.str .asciz "very secret hash string.int Find(int v){int i=Hash(v); for(list<int>::iterator j=m[i].begin();j!=m[i].end();j++)if(*j==v)return 1; return 0;}\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\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\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\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "crc=%hd\n" l_.str.1: ; @.str.1 .asciz "check crc=%hd\n" .subsections_via_symbols
the_stack_data/62636980.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _slanst_ ## -- Begin function slanst_ .p2align 4, 0x90 _slanst_: ## @slanst_ .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 cmpq $0, (%rsi) je LBB0_1 ## %bb.2: movq %rcx, %r14 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 leaq L_.str(%rip), %rsi callq _lsame_ testq %rax, %rax je LBB0_6 ## %bb.3: movq (%r15), %rax movl -4(%rbx,%rax,4), %edi callq _dabs movl %eax, %r12d movl %eax, _slanst_.anorm(%rip) movq (%r15), %r13 movq $1, _slanst_.i__(%rip) decq %r13 je LBB0_20 ## %bb.4: movl $1, %eax .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl -4(%rbx,%rax,4), %edi callq _dabs movl %r12d, %edi movl %eax, %esi callq _dmax movl %eax, %r15d movl %eax, _slanst_.anorm(%rip) movq _slanst_.i__(%rip), %rax movl -4(%r14,%rax,4), %edi callq _dabs movl %r15d, %edi movl %eax, %esi callq _dmax movl %eax, %r12d movl %eax, _slanst_.anorm(%rip) movq _slanst_.i__(%rip), %rax incq %rax movq %rax, _slanst_.i__(%rip) cmpq %r13, %rax jbe LBB0_5 jmp LBB0_20 LBB0_1: movl $0, _slanst_.anorm(%rip) xorl %r12d, %r12d jmp LBB0_20 LBB0_6: leaq L_.str.1(%rip), %rsi movq %r12, %rdi callq _lsame_ testq %rax, %rax je LBB0_8 ## %bb.7: cmpb $49, (%r12) je LBB0_9 LBB0_8: leaq L_.str.2(%rip), %rsi movq %r12, %rdi callq _lsame_ testq %rax, %rax je LBB0_13 LBB0_9: movq (%r15), %r13 movl (%rbx), %edi callq _dabs movl %eax, %r12d cmpq $1, %r13 je LBB0_19 ## %bb.10: movl (%r14), %edi callq _dabs addl %eax, %r12d movq (%r15), %rax movl -8(%r14,%rax,4), %edi callq _dabs movl %eax, %r13d movq (%r15), %rax movl -4(%rbx,%rax,4), %edi callq _dabs addl %eax, %r13d movl %r12d, %edi movl %r13d, %esi callq _dmax movl %eax, %r12d movl %eax, _slanst_.anorm(%rip) movq (%r15), %r13 decq %r13 movq $2, _slanst_.i__(%rip) cmpq $2, %r13 jb LBB0_20 ## %bb.11: movl $2, %eax .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movl -4(%rbx,%rax,4), %edi callq _dabs movl %eax, %r15d movq _slanst_.i__(%rip), %rax movl -4(%r14,%rax,4), %edi callq _dabs addl %eax, %r15d movq _slanst_.i__(%rip), %rax movl -8(%r14,%rax,4), %edi callq _dabs addl %eax, %r15d movl %r12d, %edi movl %r15d, %esi callq _dmax movl %eax, %r12d movl %eax, _slanst_.anorm(%rip) movq _slanst_.i__(%rip), %rax incq %rax movq %rax, _slanst_.i__(%rip) cmpq %r13, %rax jbe LBB0_12 jmp LBB0_20 LBB0_13: leaq L_.str.3(%rip), %rsi movq %r12, %rdi callq _lsame_ testq %rax, %rax jne LBB0_16 ## %bb.14: leaq L_.str.4(%rip), %rsi movq %r12, %rdi callq _lsame_ testq %rax, %rax je LBB0_15 LBB0_16: movl $0, _slanst_.scale(%rip) movl $1, _slanst_.sum(%rip) movq (%r15), %rax cmpq $2, %rax jb LBB0_18 ## %bb.17: decq %rax movq %rax, -48(%rbp) movq _c__1@GOTPCREL(%rip), %rdx leaq _slanst_.scale(%rip), %rcx leaq _slanst_.sum(%rip), %r8 leaq -48(%rbp), %rdi movq %r14, %rsi callq _slassq_ shll _slanst_.sum(%rip) LBB0_18: movq _c__1@GOTPCREL(%rip), %rdx leaq _slanst_.scale(%rip), %rcx leaq _slanst_.sum(%rip), %r8 movq %r15, %rdi movq %rbx, %rsi callq _slassq_ movl _slanst_.scale(%rip), %ebx movl _slanst_.sum(%rip), %edi callq _sqrt movl %eax, %r12d imull %ebx, %r12d LBB0_19: movl %r12d, _slanst_.anorm(%rip) LBB0_20: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: movl _slanst_.anorm(%rip), %r12d jmp LBB0_20 .cfi_endproc ## -- End function .zerofill __DATA,__bss,_slanst_.i__,8,3 ## @slanst_.i__ .zerofill __DATA,__bss,_slanst_.sum,4,2 ## @slanst_.sum .zerofill __DATA,__bss,_slanst_.scale,4,2 ## @slanst_.scale .zerofill __DATA,__bss,_slanst_.anorm,4,2 ## @slanst_.anorm .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "M" L_.str.1: ## @.str.1 .asciz "O" L_.str.2: ## @.str.2 .asciz "I" L_.str.3: ## @.str.3 .asciz "F" L_.str.4: ## @.str.4 .asciz "E" .comm _c__1,8,3 ## @c__1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _slanst_ ; -- Begin function slanst_ .p2align 2 _slanst_: ; @slanst_ .cfi_startproc ; %bb.0: sub sp, sp, #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 ldr x8, [x1] cbz x8, LBB0_5 ; %bb.1: mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 sub x24, x3, #4 sub x25, x2, #4 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _lsame_ cbz x0, LBB0_6 ; %bb.2: ldr x8, [x21] ldr w0, [x25, x8, lsl #2] bl _dabs mov x20, x0 adrp x22, _slanst_.anorm@PAGE str w0, [x22, _slanst_.anorm@PAGEOFF] ldr x8, [x21] mov w9, #1 ; =0x1 adrp x21, _slanst_.i__@PAGE str x9, [x21, _slanst_.i__@PAGEOFF] subs x23, x8, #1 b.eq LBB0_19 ; %bb.3: mov w8, #1 ; =0x1 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w0, [x25, x8, lsl #2] bl _dabs mov x1, x0 mov x0, x20 bl _dmax mov x19, x0 str w0, [x22, _slanst_.anorm@PAGEOFF] ldr x8, [x21, _slanst_.i__@PAGEOFF] ldr w0, [x24, x8, lsl #2] bl _dabs mov x1, x0 mov x0, x19 bl _dmax mov x20, x0 str w0, [x22, _slanst_.anorm@PAGEOFF] ldr x8, [x21, _slanst_.i__@PAGEOFF] add x8, x8, #1 str x8, [x21, _slanst_.i__@PAGEOFF] cmp x8, x23 b.ls LBB0_4 b LBB0_19 LBB0_5: mov w20, #0 ; =0x0 adrp x8, _slanst_.anorm@PAGE str wzr, [x8, _slanst_.anorm@PAGEOFF] b LBB0_19 LBB0_6: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x22 bl _lsame_ cbz x0, LBB0_8 ; %bb.7: ldrb w8, [x22] cmp w8, #49 b.eq LBB0_9 LBB0_8: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x22 bl _lsame_ cbz x0, LBB0_13 LBB0_9: ldr x22, [x21] ldr w0, [x20] bl _dabs mov x20, x0 cmp x22, #1 b.eq LBB0_18 ; %bb.10: ldr w0, [x19], #-8 bl _dabs mov x22, x0 ldr x8, [x21] add x8, x24, x8, lsl #2 ldur w0, [x8, #-4] bl _dabs mov x23, x0 ldr x8, [x21] ldr w0, [x25, x8, lsl #2] bl _dabs mov x8, x0 add w0, w22, w20 add w1, w8, w23 bl _dmax mov x20, x0 adrp x22, _slanst_.anorm@PAGE str w0, [x22, _slanst_.anorm@PAGEOFF] ldr x8, [x21] sub x23, x8, #1 mov w8, #2 ; =0x2 adrp x26, _slanst_.i__@PAGE str x8, [x26, _slanst_.i__@PAGEOFF] cmp x23, #2 b.lo LBB0_19 ; %bb.11: mov w8, #2 ; =0x2 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w0, [x25, x8, lsl #2] bl _dabs mov x21, x0 ldr x8, [x26, _slanst_.i__@PAGEOFF] ldr w0, [x24, x8, lsl #2] bl _dabs add w21, w0, w21 ldr x8, [x26, _slanst_.i__@PAGEOFF] ldr w0, [x19, x8, lsl #2] bl _dabs add w1, w21, w0 mov x0, x20 bl _dmax mov x20, x0 str w0, [x22, _slanst_.anorm@PAGEOFF] ldr x8, [x26, _slanst_.i__@PAGEOFF] add x8, x8, #1 str x8, [x26, _slanst_.i__@PAGEOFF] cmp x8, x23 b.ls LBB0_12 b LBB0_19 LBB0_13: Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x22 bl _lsame_ cbnz x0, LBB0_15 ; %bb.14: Lloh8: adrp x1, l_.str.4@PAGE Lloh9: add x1, x1, l_.str.4@PAGEOFF mov x0, x22 bl _lsame_ cbz x0, LBB0_20 LBB0_15: adrp x8, _slanst_.scale@PAGE str wzr, [x8, _slanst_.scale@PAGEOFF] mov w8, #1 ; =0x1 adrp x9, _slanst_.sum@PAGE str w8, [x9, _slanst_.sum@PAGEOFF] ldr x8, [x21] Lloh10: adrp x22, _slanst_.sum@PAGE Lloh11: add x22, x22, _slanst_.sum@PAGEOFF cmp x8, #2 b.lo LBB0_17 ; %bb.16: sub x8, x8, #1 str x8, [sp, #8] Lloh12: adrp x2, _c__1@GOTPAGE Lloh13: ldr x2, [x2, _c__1@GOTPAGEOFF] Lloh14: adrp x3, _slanst_.scale@PAGE Lloh15: add x3, x3, _slanst_.scale@PAGEOFF add x0, sp, #8 mov x1, x19 mov x4, x22 bl _slassq_ ldr w8, [x22] lsl w8, w8, #1 str w8, [x22] LBB0_17: Lloh16: adrp x2, _c__1@GOTPAGE Lloh17: ldr x2, [x2, _c__1@GOTPAGEOFF] Lloh18: adrp x19, _slanst_.scale@PAGE Lloh19: add x19, x19, _slanst_.scale@PAGEOFF mov x0, x21 mov x1, x20 mov x3, x19 mov x4, x22 bl _slassq_ ldr w19, [x19] ldr w0, [x22] bl _sqrt mul w20, w0, w19 LBB0_18: adrp x8, _slanst_.anorm@PAGE str w20, [x8, _slanst_.anorm@PAGEOFF] LBB0_19: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_20: Lloh20: adrp x8, _slanst_.anorm@PAGE Lloh21: ldr w20, [x8, _slanst_.anorm@PAGEOFF] b LBB0_19 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdr Lloh20, Lloh21 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_slanst_.i__,8,3 ; @slanst_.i__ .zerofill __DATA,__bss,_slanst_.sum,4,2 ; @slanst_.sum .zerofill __DATA,__bss,_slanst_.scale,4,2 ; @slanst_.scale .zerofill __DATA,__bss,_slanst_.anorm,4,2 ; @slanst_.anorm .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "M" l_.str.1: ; @.str.1 .asciz "O" l_.str.2: ; @.str.2 .asciz "I" l_.str.3: ; @.str.3 .asciz "F" l_.str.4: ; @.str.4 .asciz "E" .comm _c__1,8,3 ; @c__1 .subsections_via_symbols
assembly_file_175647.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mvs_release_task ## -- Begin function mvs_release_task .p2align 4, 0x90 _mvs_release_task: ## @mvs_release_task .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _WIDE_PORT_MAX_PHY@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movq %r15, %rdi movq %r12, %rsi callq _mvs_find_dev_phyno testl %eax, %eax jle LBB0_3 ## %bb.1: movl %eax, %r13d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r12,%rbx,4), %esi movq %r14, %rdi movq %r15, %rdx callq _mvs_do_release_task incq %rbx cmpq %rbx, %r13 jne LBB0_2 LBB0_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_5 ## %bb.4: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _WIDE_PORT_MAX_PHY,4,2 ## @WIDE_PORT_MAX_PHY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mvs_release_task ; -- Begin function mvs_release_task .p2align 2 _mvs_release_task: ; @mvs_release_task .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 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x8, _WIDE_PORT_MAX_PHY@GOTPAGE Lloh4: ldr x8, [x8, _WIDE_PORT_MAX_PHY@GOTPAGEOFF] Lloh5: ldr w8, [x8] lsl x8, x8, #2 mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x21, x9, x8 mov sp, x21 mov x0, x1 mov x1, x21 bl _mvs_find_dev_phyno cmp w0, #1 b.lt LBB0_3 ; %bb.1: mov w22, w0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w1, [x21], #4 mov x0, x20 mov x2, x19 bl _mvs_do_release_task subs x22, x22, #1 b.ne LBB0_2 LBB0_3: ldur x8, [x29, #-40] Lloh8: adrp x9, ___stack_chk_guard@GOTPAGE Lloh9: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x9, x8 b.ne LBB0_5 ; %bb.4: 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_5: bl ___stack_chk_fail .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _WIDE_PORT_MAX_PHY,4,2 ; @WIDE_PORT_MAX_PHY .subsections_via_symbols
AnghaBench/linux/drivers/scsi/mvsas/extr_mv_sas.c_mvs_release_task.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nfs_destroy_server _nfs_destroy_server: ## @nfs_destroy_server .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 movq _NFS_MOUNT_LOCAL_FLOCK@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_3 ## %bb.1: movq _NFS_MOUNT_LOCAL_FCNTL@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_3 ## %bb.2: popq %rbp retq LBB0_3: movl 4(%rdi), %edi popq %rbp jmp _nlmclnt_done ## TAILCALL .cfi_endproc ## -- End function .comm _NFS_MOUNT_LOCAL_FLOCK,4,2 ## @NFS_MOUNT_LOCAL_FLOCK .comm _NFS_MOUNT_LOCAL_FCNTL,4,2 ## @NFS_MOUNT_LOCAL_FCNTL .no_dead_strip _nfs_destroy_server .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nfs_destroy_server _nfs_destroy_server: ; @nfs_destroy_server .cfi_startproc ; %bb.0: ldr w8, [x0] Lloh0: adrp x9, _NFS_MOUNT_LOCAL_FLOCK@GOTPAGE Lloh1: ldr x9, [x9, _NFS_MOUNT_LOCAL_FLOCK@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.1: Lloh3: adrp x9, _NFS_MOUNT_LOCAL_FCNTL@GOTPAGE Lloh4: ldr x9, [x9, _NFS_MOUNT_LOCAL_FCNTL@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.2: ret LBB0_3: ldr w0, [x0, #4] b _nlmclnt_done .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _NFS_MOUNT_LOCAL_FLOCK,4,2 ; @NFS_MOUNT_LOCAL_FLOCK .comm _NFS_MOUNT_LOCAL_FCNTL,4,2 ; @NFS_MOUNT_LOCAL_FCNTL .no_dead_strip _nfs_destroy_server .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/nfs/extr_client.c_nfs_destroy_server.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function verify_revprops _verify_revprops: ## @verify_revprops .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 %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %r12 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r13 movq %r9, %rdi callq _svn_pool_create movq %rax, %r14 movq %r13, %rdi callq _svn_fs_fs__reset_revprop_cache cmpq %r15, %rbx jl LBB0_1 LBB0_6: movq %r14, %rdi callq _svn_pool_destroy movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 incq %rbx cmpq %rbx, %r15 je LBB0_6 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _svn_pool_clear movq _SVN_PROP_REVISION_DATE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r14, (%rsp) leaq -56(%rbp), %rdi movq %r13, %rsi movq %rbx, %rdx movq %r14, %r9 callq _svn_fs_fs__revision_prop movl %eax, %edi callq _SVN_ERR movq -56(%rbp), %rax testq %rax, %rax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl (%rax), %esi leaq -60(%rbp), %rdi movq %r14, %rdx callq _svn_time_from_cstring movl %eax, %edi callq _SVN_ERR LBB0_3: ## in Loop: Header=BB0_1 Depth=1 testq %r12, %r12 je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload callq *%r12 movl %eax, %edi callq _SVN_ERR jmp LBB0_5 .cfi_endproc ## -- End function .comm _SVN_PROP_REVISION_DATE,4,2 ## @SVN_PROP_REVISION_DATE .comm _FALSE,4,2 ## @FALSE .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .no_dead_strip _verify_revprops .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function verify_revprops _verify_revprops: ; @verify_revprops .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x4 mov x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 mov x0, x5 bl _svn_pool_create mov x24, x0 mov x0, x23 bl _svn_fs_fs__reset_revprop_cache cmp x22, x21 b.ge LBB0_7 ; %bb.1: Lloh0: adrp x25, _SVN_PROP_REVISION_DATE@GOTPAGE Lloh1: ldr x25, [x25, _SVN_PROP_REVISION_DATE@GOTPAGEOFF] Lloh2: adrp x26, _FALSE@GOTPAGE Lloh3: ldr x26, [x26, _FALSE@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x22, x22, #1 cmp x21, x22 b.eq LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x24 bl _svn_pool_clear ldr w3, [x25] ldr w4, [x26] add x0, sp, #8 mov x1, x23 mov x2, x22 mov x5, x24 mov x6, x24 bl _svn_fs_fs__revision_prop bl _SVN_ERR ldr x8, [sp, #8] cbz x8, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w1, [x8] add x0, sp, #4 mov x2, x24 bl _svn_time_from_cstring bl _SVN_ERR LBB0_5: ; in Loop: Header=BB0_3 Depth=1 cbz x20, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 blr x20 bl _SVN_ERR b LBB0_2 LBB0_7: mov x0, x24 bl _svn_pool_destroy Lloh4: adrp x8, _SVN_NO_ERROR@GOTPAGE Lloh5: ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] Lloh6: 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 add sp, sp, #96 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _SVN_PROP_REVISION_DATE,4,2 ; @SVN_PROP_REVISION_DATE .comm _FALSE,4,2 ; @FALSE .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .no_dead_strip _verify_revprops .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_verify.c_verify_revprops.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strcasecmp ## -- Begin function strcasecmp .p2align 4, 0x90 _strcasecmp: ## @strcasecmp .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 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movsbl (%r15,%rbx), %edi callq _tolower movl %eax, %r12d movsbl (%r14,%rbx), %edi callq _tolower testl %r12d, %r12d je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 incq %rbx cmpl %eax, %r12d je LBB0_1 LBB0_3: subl %eax, %r12d movl %r12d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strcasecmp ; -- Begin function strcasecmp .p2align 2 _strcasecmp: ; @strcasecmp .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 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x20], #1 bl _tolower mov x21, x0 ldrsb w0, [x19], #1 bl _tolower cmp w21, #0 ccmp w21, w0, #0, ne b.eq LBB0_1 ; %bb.2: sub w0, w21, w0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/lib/extr_string.c_strcasecmp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cea708_parse_h264 ## -- Begin function cea708_parse_h264 .p2align 4, 0x90 _cea708_parse_h264: ## @cea708_parse_h264 .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 _LIBCAPTION_ERROR@GOTPCREL(%rip), %r14 cmpq $3, %rsi jb LBB0_18 ## %bb.1: movq %rsi, %rax movslq (%rdi), %r10 movq %r10, (%rdx) movl 4(%rdi), %ecx shll $8, %ecx orl 8(%rdi), %ecx movslq %ecx, %r8 movq %r8, 8(%rdx) movq $0, 16(%rdx) addq $-3, %rsi movq _t35_provider_atsc@GOTPCREL(%rip), %rbx movq (%rbx), %r9 cmpq %r8, %r9 jne LBB0_2 ## %bb.3: cmpq $4, %rsi jb LBB0_18 ## %bb.4: movl 12(%rdi), %esi movl 16(%rdi), %ebx shll $24, %esi shll $16, %ebx orl %esi, %ebx movl 20(%rdi), %esi shll $8, %esi orl %ebx, %esi orl 24(%rdi), %esi movl %esi, 16(%rdx) addq $28, %rdi addq $-7, %rax movq %rax, %rsi orl %r10d, %ecx je LBB0_6 LBB0_8: movq _t35_provider_direct_tv@GOTPCREL(%rip), %rax movq (%rax), %rcx cmpq %r8, %r9 je LBB0_10 ## %bb.9: xorl %eax, %eax cmpq %r8, %rcx jne LBB0_12 LBB0_10: testq %rsi, %rsi je LBB0_18 ## %bb.11: movl (%rdi), %eax movl %eax, 20(%rdx) addq $4, %rdi decq %rsi LBB0_12: cmpq %r8, %rcx je LBB0_13 jmp LBB0_15 LBB0_2: addq $12, %rdi orl %r10d, %ecx jne LBB0_8 LBB0_6: testq %rsi, %rsi je LBB0_18 ## %bb.7: addq $4, %rdi decq %rsi movq _t35_provider_direct_tv@GOTPCREL(%rip), %rax movq (%rax), %rcx xorl %eax, %eax cmpq %r8, %rcx jne LBB0_15 LBB0_13: testq %rsi, %rsi je LBB0_18 ## %bb.14: movl (%rdi), %ecx movl %ecx, 24(%rdx) addq $4, %rdi decq %rsi LBB0_15: movq _LIBCAPTION_OK@GOTPCREL(%rip), %r14 cmpq $2, %rsi jb LBB0_18 ## %bb.16: cmpl $3, %eax jne LBB0_18 ## %bb.17: addq $28, %rdx callq _cea708_parse_user_data_type_strcture LBB0_18: movl (%r14), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _t35_provider_atsc,8,3 ## @t35_provider_atsc .comm _t35_provider_direct_tv,8,3 ## @t35_provider_direct_tv .comm _LIBCAPTION_OK,4,2 ## @LIBCAPTION_OK .comm _LIBCAPTION_ERROR,4,2 ## @LIBCAPTION_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cea708_parse_h264 ; -- Begin function cea708_parse_h264 .p2align 2 _cea708_parse_h264: ; @cea708_parse_h264 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, x1 subs x1, x1, #3 b.lo LBB0_16 ; %bb.1: ldp w10, w9, [x0] ; kill: def $w10 killed $w10 def $x10 sxtw x10, w10 ldr w11, [x0, #8] orr w11, w11, w9, lsl #8 sxtw x9, w11 stp x10, x9, [x2] str xzr, [x2, #16] Lloh0: adrp x12, _t35_provider_atsc@GOTPAGE Lloh1: ldr x12, [x12, _t35_provider_atsc@GOTPAGEOFF] Lloh2: ldr x12, [x12] cmp x12, x9 b.ne LBB0_7 ; %bb.2: cmp x1, #4 b.lo LBB0_16 ; %bb.3: ldp w13, w14, [x0, #12] lsl w14, w14, #16 orr w13, w14, w13, lsl #24 ldp w14, w15, [x0, #20] orr w13, w13, w14, lsl #8 orr w13, w13, w15 str w13, [x2, #16] add x0, x0, #28 sub x1, x8, #7 orr w8, w11, w10 cbz w8, LBB0_8 LBB0_4: Lloh3: adrp x8, _t35_provider_direct_tv@GOTPAGE Lloh4: ldr x8, [x8, _t35_provider_direct_tv@GOTPAGEOFF] Lloh5: ldr x10, [x8] cmp x12, x9 ccmp x10, x9, #4, ne b.ne LBB0_10 ; %bb.5: cbz x1, LBB0_16 ; %bb.6: ldr w8, [x0], #4 str w8, [x2, #20] sub x1, x1, #1 cmp x10, x9 b.eq LBB0_11 b LBB0_13 LBB0_7: add x0, x0, #12 orr w8, w11, w10 cbnz w8, LBB0_4 LBB0_8: cbz x1, LBB0_16 ; %bb.9: mov w8, #0 add x0, x0, #4 sub x1, x1, #1 Lloh6: adrp x10, _t35_provider_direct_tv@GOTPAGE Lloh7: ldr x10, [x10, _t35_provider_direct_tv@GOTPAGEOFF] Lloh8: ldr x10, [x10] cmp x10, x9 b.eq LBB0_11 b LBB0_13 LBB0_10: mov w8, #0 cmp x10, x9 b.ne LBB0_13 LBB0_11: cbz x1, LBB0_16 ; %bb.12: ldr w9, [x0], #4 str w9, [x2, #24] sub x1, x1, #1 LBB0_13: Lloh9: adrp x9, _LIBCAPTION_OK@GOTPAGE Lloh10: ldr x9, [x9, _LIBCAPTION_OK@GOTPAGEOFF] cmp x1, #2 b.lo LBB0_17 ; %bb.14: cmp w8, #3 b.ne LBB0_17 ; %bb.15: add x2, x2, #28 bl _cea708_parse_user_data_type_strcture Lloh11: adrp x9, _LIBCAPTION_OK@GOTPAGE Lloh12: ldr x9, [x9, _LIBCAPTION_OK@GOTPAGEOFF] b LBB0_17 LBB0_16: Lloh13: adrp x9, _LIBCAPTION_ERROR@GOTPAGE Lloh14: ldr x9, [x9, _LIBCAPTION_ERROR@GOTPAGEOFF] LBB0_17: ldr w0, [x9] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _t35_provider_atsc,8,3 ; @t35_provider_atsc .comm _t35_provider_direct_tv,8,3 ; @t35_provider_direct_tv .comm _LIBCAPTION_OK,4,2 ; @LIBCAPTION_OK .comm _LIBCAPTION_ERROR,4,2 ; @LIBCAPTION_ERROR .subsections_via_symbols
AnghaBench/obs-studio/deps/libcaption/src/extr_cea708.c_cea708_parse_h264.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function check _check: ## @check .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl %esi, (%rdi) jne LBB0_2 ## %bb.1: popq %rbp retq LBB0_2: popq %rbp jmp _error_expected ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _check .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function check _check: ; @check .cfi_startproc ; %bb.0: ldr w8, [x0] cmp w8, w1 b.ne LBB0_2 ; %bb.1: ret LBB0_2: b _error_expected .cfi_endproc ; -- End function .no_dead_strip _check .subsections_via_symbols
AnghaBench/mjolnir/Mjolnir/lua/extr_lparser.c_check.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pmu_dev_alloc _pmu_dev_alloc: ## @pmu_dev_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4, %edi callq _kzalloc movq %rax, (%r14) testq %rax, %rax je LBB0_4 ## %bb.1: movl 12(%r14), %ecx movl %ecx, 16(%rax) movq %rax, %rdi callq _device_initialize movq (%r14), %rdi movl 8(%r14), %edx leaq L_.str(%rip), %rsi callq _dev_set_name movl %eax, %ebx testl %eax, %eax jne LBB0_5 ## %bb.2: movq (%r14), %rdi movq %r14, %rsi callq _dev_set_drvdata movq (%r14), %rdi movq _pmu_bus@GOTPCREL(%rip), %rax movq %rax, 8(%rdi) movq _pmu_dev_release@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdi) callq _device_add movl %eax, %ebx testl %eax, %eax je LBB0_3 LBB0_5: movq (%r14), %rdi callq _put_device LBB0_4: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq LBB0_3: xorl %ebx, %ebx jmp LBB0_4 .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .comm _pmu_bus,4,2 ## @pmu_bus .comm _pmu_dev_release,4,2 ## @pmu_dev_release .no_dead_strip _pmu_dev_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pmu_dev_alloc _pmu_dev_alloc: ; @pmu_dev_alloc .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, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _GFP_KERNEL@GOTPAGE Lloh4: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov w0, #4 bl _kzalloc str x0, [x19] cbz x0, LBB0_4 ; %bb.1: ldr w8, [x19, #12] str w8, [x0, #16] bl _device_initialize ldr x0, [x19] ldr w2, [x19, #8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF bl _dev_set_name mov x20, x0 cbnz w0, LBB0_3 ; %bb.2: ldr x0, [x19] mov x1, x19 bl _dev_set_drvdata Lloh8: adrp x8, _pmu_bus@GOTPAGE Lloh9: ldr x8, [x8, _pmu_bus@GOTPAGEOFF] ldr x0, [x19] str x8, [x0, #8] Lloh10: adrp x8, _pmu_dev_release@GOTPAGE Lloh11: ldr x8, [x8, _pmu_dev_release@GOTPAGEOFF] Lloh12: ldr w8, [x8] str w8, [x0] bl _device_add mov x20, x0 cbz w0, LBB0_5 LBB0_3: ldr x0, [x19] bl _put_device b LBB0_5 LBB0_4: neg w20, w20 LBB0_5: mov x0, x20 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 AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .comm _pmu_bus,4,2 ; @pmu_bus .comm _pmu_dev_release,4,2 ; @pmu_dev_release .no_dead_strip _pmu_dev_alloc .subsections_via_symbols
AnghaBench/fastsocket/kernel/kernel/events/extr_core.c_pmu_dev_alloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _phpdbg_free_watch_element ## -- Begin function phpdbg_free_watch_element .p2align 4, 0x90 _phpdbg_free_watch_element: ## @phpdbg_free_watch_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rdi callq _zend_string_release movq (%rbx), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _zend_string_release LBB0_2: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _efree ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _phpdbg_free_watch_element ; -- Begin function phpdbg_free_watch_element .p2align 2 _phpdbg_free_watch_element: ; @phpdbg_free_watch_element .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 x0, [x0, #8] bl _zend_string_release ldr x0, [x19] cbz x0, LBB0_2 ; %bb.1: bl _zend_string_release LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _efree .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/php-src/sapi/phpdbg/extr_phpdbg_watch.c_phpdbg_free_watch_element.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function CommandHelp _CommandHelp: ## @CommandHelp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movq %rsi, %rdi callq _strlen leaq L_.str(%rip), %rdi movq %rbx, %rsi movq %rax, %rdx movq %rbx, %rcx callq _DPRINT1 cmpb $47, (%rbx) jne LBB0_4 ## %bb.1: cmpb $63, 1(%rbx) jne LBB0_4 ## %bb.2: cmpb $0, 2(%rbx) je LBB0_3 LBB0_4: leaq L_.str.2(%rip), %rdi callq _CONSOLE_ConOutPrintf leaq L_.str.3(%rip), %rdi callq _CONSOLE_ConOutPrintf leaq L_.str.4(%rip), %rdi callq _CONSOLE_ConOutPrintf leaq L_.str.5(%rip), %rdi callq _CONSOLE_ConOutPrintf leaq L_.str.6(%rip), %rdi callq _CONSOLE_ConOutPrintf LBB0_5: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB0_3: xorl %eax, %eax callq _HelpHelp jmp LBB0_5 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "param: %p %u '%s'\n" .comm _Commands,8,3 ## @Commands L_.str.2: ## @.str.2 .asciz "CLS\n" L_.str.3: ## @.str.3 .asciz "DUMPSECTOR\n" L_.str.4: ## @.str.4 .asciz "EXIT\n" L_.str.5: ## @.str.5 .asciz "HELP\n" L_.str.6: ## @.str.6 .asciz "\n" .no_dead_strip _CommandHelp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function CommandHelp _CommandHelp: ; @CommandHelp .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x0, x1 bl _strlen mov x2, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x19 mov x3, x19 bl _DPRINT1 ldrb w8, [x19] cmp w8, #47 b.ne LBB0_3 ; %bb.1: ldrb w8, [x19, #1] cmp w8, #63 b.ne LBB0_3 ; %bb.2: ldrb w8, [x19, #2] cbz w8, LBB0_5 LBB0_3: Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _CONSOLE_ConOutPrintf Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@PAGEOFF bl _CONSOLE_ConOutPrintf Lloh6: adrp x0, l_.str.4@PAGE Lloh7: add x0, x0, l_.str.4@PAGEOFF bl _CONSOLE_ConOutPrintf Lloh8: adrp x0, l_.str.5@PAGE Lloh9: add x0, x0, l_.str.5@PAGEOFF bl _CONSOLE_ConOutPrintf Lloh10: adrp x0, l_.str.6@PAGE Lloh11: add x0, x0, l_.str.6@PAGEOFF bl _CONSOLE_ConOutPrintf LBB0_4: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: bl _HelpHelp b LBB0_4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "param: %p %u '%s'\n" .comm _Commands,8,3 ; @Commands l_.str.2: ; @.str.2 .asciz "CLS\n" l_.str.3: ; @.str.3 .asciz "DUMPSECTOR\n" l_.str.4: ; @.str.4 .asciz "EXIT\n" l_.str.5: ; @.str.5 .asciz "HELP\n" l_.str.6: ; @.str.6 .asciz "\n" .no_dead_strip _CommandHelp .subsections_via_symbols
assembly_file_127848.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pbias_regulator_probe _pbias_regulator_probe: ## @pbias_regulator_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %r15 xorps %xmm0, %xmm0 movaps %xmm0, -112(%rbp) movq $0, -96(%rbp) movq _pbias_matches@GOTPCREL(%rip), %rax movq (%rax), %rdx movq _PBIAS_NUM_REGS@GOTPCREL(%rip), %r12 movl (%r12), %ecx movq %r15, %rsi callq _of_regulator_match testl %eax, %eax jle LBB0_16 ## %bb.1: movq _GFP_KERNEL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq %rbx, %rdi movl %eax, %r14d movl %eax, %esi movl $88, %edx callq _devm_kcalloc testq %rax, %rax je LBB0_2 ## %bb.4: movq %rax, %r13 leaq L_.str(%rip), %rsi movq %r15, %rdi callq _syscon_regmap_lookup_by_phandle movq %rax, %r15 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_5 ## %bb.17: movq %r15, %rdi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _PTR_ERR ## TAILCALL LBB0_2: movq _ENOMEM@GOTPCREL(%rip), %rcx LBB0_3: xorl %eax, %eax subl (%rcx), %eax jmp LBB0_16 LBB0_5: movq %r13, -56(%rbp) ## 8-byte Spill movq _pbias_of_match@GOTPCREL(%rip), %rax movl (%rax), %edi callq _of_match_ptr movl %eax, %edi movq %rbx, %rsi callq _of_match_device movq (%rax), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq %r15, -80(%rbp) movq %rbx, -88(%rbp) cmpl $0, (%r12) jle LBB0_15 ## %bb.6: movl %r14d, %eax movq %rax, -64(%rbp) ## 8-byte Spill movl $8, %r13d movl $1, %r14d movq -56(%rbp), %r12 ## 8-byte Reload .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq _pbias_matches@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq $0, (%rax,%r13) je LBB0_15 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 cmpq $0, -8(%rax,%r13) je LBB0_15 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movq 8(%rax,%r13), %rax testq %rax, %rax je LBB0_10 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movq %r15, 80(%r12) movq %rax, 72(%r12) movl 28(%rax), %ecx leaq 8(%r12), %rsi movl %ecx, 64(%r12) movq _THIS_MODULE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 60(%r12) movq _REGULATOR_VOLTAGE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 56(%r12) movq _pbias_regulator_voltage_ops@GOTPCREL(%rip), %rcx movq %rcx, 48(%r12) movl 24(%rax), %ecx movl %ecx, 40(%r12) movq 16(%rax), %rcx movq %rcx, 32(%r12) movl -44(%rbp), %ecx ## 4-byte Reload movl %ecx, 8(%r12) movl %ecx, 12(%r12) movups (%rax), %xmm0 movups %xmm0, 16(%r12) movq _pbias_matches@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r13), %rcx movq %rcx, -96(%rbp) movq %r12, -104(%rbp) movq -8(%rax,%r13), %rax movq %rax, -112(%rbp) movq %rbx, %rdi leaq -112(%rbp), %rdx callq _devm_regulator_register movq %rax, (%r12) movq %rax, %rdi callq _IS_ERR testq %rax, %rax jne LBB0_12 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 movq _PBIAS_NUM_REGS@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r14 jge LBB0_15 ## %bb.14: ## in Loop: Header=BB0_7 Depth=1 addq $24, %r13 addq $88, %r12 leaq 1(%r14), %rax cmpq -64(%rbp), %r14 ## 8-byte Folded Reload movq %rax, %r14 jb LBB0_7 LBB0_15: movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _platform_set_drvdata xorl %eax, %eax LBB0_16: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: movq _ENODEV@GOTPCREL(%rip), %rcx jmp LBB0_3 LBB0_12: movq (%r12), %rdi callq _PTR_ERR movl %eax, %r14d leaq L_.str.2(%rip), %rsi movq %rbx, %rdi movl %eax, %edx callq _dev_err movl %r14d, %eax jmp LBB0_16 .cfi_endproc ## -- End function .comm _pbias_matches,8,3 ## @pbias_matches .comm _PBIAS_NUM_REGS,4,2 ## @PBIAS_NUM_REGS .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "syscon" .comm _pbias_of_match,4,2 ## @pbias_of_match .comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM .comm _EINVAL,4,2 ## @EINVAL .comm _ENODEV,4,2 ## @ENODEV .comm _THIS_MODULE,4,2 ## @THIS_MODULE .comm _REGULATOR_VOLTAGE,4,2 ## @REGULATOR_VOLTAGE .comm _pbias_regulator_voltage_ops,4,2 ## @pbias_regulator_voltage_ops L_.str.2: ## @.str.2 .asciz "Failed to register regulator: %d\n" .no_dead_strip _pbias_regulator_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pbias_regulator_probe _pbias_regulator_probe: ; @pbias_regulator_probe .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 ldr x21, [x0] stp xzr, xzr, [sp, #8] str xzr, [sp, #24] Lloh0: adrp x23, _pbias_matches@GOTPAGE Lloh1: ldr x23, [x23, _pbias_matches@GOTPAGEOFF] ldr x2, [x23] Lloh2: adrp x24, _PBIAS_NUM_REGS@GOTPAGE Lloh3: ldr x24, [x24, _PBIAS_NUM_REGS@GOTPAGEOFF] ldr w3, [x24] mov x1, x21 bl _of_regulator_match mov x22, x0 cmp w0, #1 b.lt LBB0_15 ; %bb.1: Lloh4: adrp x8, _GFP_KERNEL@GOTPAGE Lloh5: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh6: ldr w3, [x8] mov x0, x19 mov x1, x22 mov w2, #88 ; =0x58 bl _devm_kcalloc cbz x0, LBB0_4 ; %bb.2: mov x27, x0 Lloh7: adrp x1, l_.str@PAGE Lloh8: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _syscon_regmap_lookup_by_phandle mov x21, x0 bl _IS_ERR cbz x0, LBB0_6 ; %bb.3: mov x0, x21 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 b _PTR_ERR LBB0_4: Lloh9: adrp x8, _ENOMEM@GOTPAGE Lloh10: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w22, w8 b LBB0_15 LBB0_6: Lloh11: adrp x8, _pbias_of_match@GOTPAGE Lloh12: ldr x8, [x8, _pbias_of_match@GOTPAGEOFF] Lloh13: ldr w0, [x8] bl _of_match_ptr mov x1, x19 bl _of_match_device ldr x8, [x0] ldr w25, [x8] stp x19, x21, [sp, #32] ldr w8, [x24] cmp w8, #1 b.lt LBB0_14 ; %bb.7: mov x26, #0 ; =0x0 mov w28, #1 ; =0x1 mov x20, x27 mov w22, w22 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr x8, [x23] add x9, x8, x26 ldr x9, [x9, #8] cbz x9, LBB0_14 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldr x9, [x8, x26] cbz x9, LBB0_14 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 add x8, x8, x26 ldr x8, [x8, #16] cbz x8, LBB0_16 ; %bb.11: ; in Loop: Header=BB0_8 Depth=1 stp x8, x21, [x20, #72] ldp w10, w9, [x8, #24] str w9, [x20, #64] Lloh14: adrp x9, _THIS_MODULE@GOTPAGE Lloh15: ldr x9, [x9, _THIS_MODULE@GOTPAGEOFF] Lloh16: ldr w9, [x9] str w9, [x20, #60] Lloh17: adrp x9, _REGULATOR_VOLTAGE@GOTPAGE Lloh18: ldr x9, [x9, _REGULATOR_VOLTAGE@GOTPAGEOFF] Lloh19: ldr w9, [x9] str w9, [x20, #56] Lloh20: adrp x9, _pbias_regulator_voltage_ops@GOTPAGE Lloh21: ldr x9, [x9, _pbias_regulator_voltage_ops@GOTPAGEOFF] str x9, [x20, #48] str w10, [x20, #40] ldr d0, [x8, #16] str d0, [x20, #32] mov x1, x20 str w25, [x1, #8]! str w25, [x20, #12] ldr q0, [x8] str q0, [x20, #16] ldr x8, [x23] add x8, x8, x26 ldp x8, x9, [x8] stp x20, x9, [sp, #16] str x8, [sp, #8] add x2, sp, #8 mov x0, x19 bl _devm_regulator_register str x0, [x20] bl _IS_ERR cbnz x0, LBB0_17 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 ldrsw x8, [x24] cmp x28, x8 b.ge LBB0_14 ; %bb.13: ; in Loop: Header=BB0_8 Depth=1 add x8, x28, #1 add x26, x26, #24 add x20, x20, #88 cmp x28, x22 mov x28, x8 b.lo LBB0_8 LBB0_14: mov x0, x19 mov x1, x27 bl _platform_set_drvdata mov w22, #0 ; =0x0 LBB0_15: mov x0, x22 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_16: Lloh22: adrp x8, _ENODEV@GOTPAGE Lloh23: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_5 LBB0_17: ldr x0, [x20] bl _PTR_ERR mov x22, x0 Lloh24: adrp x1, l_.str.2@PAGE Lloh25: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 mov x2, x22 bl _dev_err b LBB0_15 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _pbias_matches,8,3 ; @pbias_matches .comm _PBIAS_NUM_REGS,4,2 ; @PBIAS_NUM_REGS .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "syscon" .comm _pbias_of_match,4,2 ; @pbias_of_match .comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM .comm _EINVAL,4,2 ; @EINVAL .comm _ENODEV,4,2 ; @ENODEV .comm _THIS_MODULE,4,2 ; @THIS_MODULE .comm _REGULATOR_VOLTAGE,4,2 ; @REGULATOR_VOLTAGE .comm _pbias_regulator_voltage_ops,4,2 ; @pbias_regulator_voltage_ops l_.str.2: ; @.str.2 .asciz "Failed to register regulator: %d\n" .no_dead_strip _pbias_regulator_probe .subsections_via_symbols
assembly_file_64300.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _PCG_DEFAULT_MULTIPLIER_16,4,2 ## @PCG_DEFAULT_MULTIPLIER_16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .comm _PCG_DEFAULT_MULTIPLIER_16,4,2 ; @PCG_DEFAULT_MULTIPLIER_16 .subsections_via_symbols
AnghaBench/numpy/numpy/random/src/pcg64/extr_pcg64.orig.h_pcg_unique_16_advance_r.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dhcp6_lease_set_rapid_commit ## -- Begin function dhcp6_lease_set_rapid_commit .p2align 4, 0x90 _dhcp6_lease_set_rapid_commit: ## @dhcp6_lease_set_rapid_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 %rdi, %rbx movq _EINVAL@GOTPCREL(%rip), %rax xorl %esi, %esi subl (%rax), %esi callq _assert_return movl $1, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dhcp6_lease_set_rapid_commit ; -- Begin function dhcp6_lease_set_rapid_commit .p2align 2 _dhcp6_lease_set_rapid_commit: ; @dhcp6_lease_set_rapid_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 mov x19, x0 Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w1, w8 bl _assert_return mov w8, #1 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp6-lease.c_dhcp6_lease_set_rapid_commit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function insert_vi_for_tree _insert_vi_for_tree: ## @insert_vi_for_tree .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 movl %edi, %esi movq _vi_for_tree@GOTPCREL(%rip), %rax movl (%rax), %edi callq _pointer_map_insert movq %rax, %rbx movq %r14, %rdi callq _gcc_assert xorl %edi, %edi cmpq $0, (%rbx) sete %dil callq _gcc_assert movq %r14, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _vi_for_tree,4,2 ## @vi_for_tree .no_dead_strip _insert_vi_for_tree .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function insert_vi_for_tree _insert_vi_for_tree: ; @insert_vi_for_tree .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 x1, x0 Lloh0: adrp x8, _vi_for_tree@GOTPAGE Lloh1: ldr x8, [x8, _vi_for_tree@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _pointer_map_insert mov x20, x0 mov x0, x19 bl _gcc_assert ldr x8, [x20] cmp x8, #0 cset w0, eq bl _gcc_assert str x19, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _vi_for_tree,4,2 ; @vi_for_tree .no_dead_strip _insert_vi_for_tree .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_tree-ssa-structalias.c_insert_vi_for_tree.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _m68k_op_bfffo_32_d ## -- Begin function m68k_op_bfffo_32_d .p2align 4, 0x90 _m68k_op_bfffo_32_d: ## @m68k_op_bfffo_32_d .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 _CPU_TYPE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _CPU_TYPE_IS_EC020_PLUS testq %rax, %rax je LBB0_10 ## %bb.1: xorl %eax, %eax callq _OPER_I_16 movl %eax, %ebx movl %eax, %r15d movl %eax, %r14d shrl $6, %r14d movq _DY@GOTPCREL(%rip), %rax movl (%rax), %r12d movl %ebx, %edi callq _BIT_B testq %rax, %rax je LBB0_3 ## %bb.2: movq _REG_D@GOTPCREL(%rip), %rax movq (%rax), %rax andl $7, %r14d movl (%rax,%r14,4), %r14d LBB0_3: andl $31, %r14d movl %r15d, %edi callq _BIT_5 testq %rax, %rax je LBB0_5 ## %bb.4: movq _REG_D@GOTPCREL(%rip), %rax movq (%rax), %rax movl %ebx, %ecx andl $7, %ecx movl (%rax,%rcx,4), %r15d LBB0_5: movl %r12d, %edi movl %r14d, %esi callq _ROL_32 movl %eax, %r12d movl %eax, %edi callq _NFLAG_32 decb %r15b orb $31, %r15b movb $33, %cl subb %r15b, %cl movq _FLAG_N@GOTPCREL(%rip), %rdx sarl %cl, %r12d movl %eax, (%rdx) movq _FLAG_Z@GOTPCREL(%rip), %rax movl %r12d, (%rax) movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FLAG_V@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _FLAG_C@GOTPCREL(%rip), %rcx movl %eax, (%rcx) testl $536870912, %r12d ## imm = 0x20000000 jne LBB0_9 ## %bb.6: movl $536870912, %eax ## imm = 0x20000000 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 decl %r14d cmpl $2, %eax jb LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 shrl %eax movl %eax, %ecx andl %r12d, %ecx je LBB0_7 LBB0_9: movq _REG_D@GOTPCREL(%rip), %rax movq (%rax), %rax shrl $10, %ebx andl $28, %ebx movl %r14d, (%rax,%rbx) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_10: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _m68ki_exception_illegal ## TAILCALL .cfi_endproc ## -- End function .comm _CPU_TYPE,4,2 ## @CPU_TYPE .comm _DY,4,2 ## @DY .comm _REG_D,8,3 ## @REG_D .comm _FLAG_N,4,2 ## @FLAG_N .comm _FLAG_Z,4,2 ## @FLAG_Z .comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR .comm _FLAG_V,4,2 ## @FLAG_V .comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR .comm _FLAG_C,4,2 ## @FLAG_C .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _m68k_op_bfffo_32_d ; -- Begin function m68k_op_bfffo_32_d .p2align 2 _m68k_op_bfffo_32_d: ; @m68k_op_bfffo_32_d .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, _CPU_TYPE@GOTPAGE Lloh1: ldr x8, [x8, _CPU_TYPE@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _CPU_TYPE_IS_EC020_PLUS cbz x0, LBB0_3 ; %bb.1: bl _OPER_I_16 mov x19, x0 mov x22, x0 Lloh3: adrp x8, _DY@GOTPAGE Lloh4: ldr x8, [x8, _DY@GOTPAGEOFF] Lloh5: ldr w21, [x8] bl _BIT_B Lloh6: adrp x23, _REG_D@GOTPAGE Lloh7: ldr x23, [x23, _REG_D@GOTPAGEOFF] cbz x0, LBB0_4 ; %bb.2: ldr x8, [x23] ubfx w9, w19, #6, #3 ldr w8, [x8, w9, uxtw #2] b LBB0_5 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _m68ki_exception_illegal LBB0_4: lsr w8, w19, #6 LBB0_5: and w20, w8, #0x1f mov x0, x22 bl _BIT_5 cbz x0, LBB0_7 ; %bb.6: ldr x8, [x23] and w9, w19, #0x7 ldr w22, [x8, w9, uxtw #2] LBB0_7: sub w8, w22, #1 orr w22, w8, #0x1f mov x0, x21 mov x1, x20 bl _ROL_32 mov x21, x0 bl _NFLAG_32 Lloh8: adrp x8, _FLAG_N@GOTPAGE Lloh9: ldr x8, [x8, _FLAG_N@GOTPAGEOFF] Lloh10: str w0, [x8] mov w8, #33 ; =0x21 sub w8, w8, w22 asr w8, w21, w8 Lloh11: adrp x9, _FLAG_Z@GOTPAGE Lloh12: ldr x9, [x9, _FLAG_Z@GOTPAGEOFF] Lloh13: str w8, [x9] Lloh14: adrp x9, _VFLAG_CLEAR@GOTPAGE Lloh15: ldr x9, [x9, _VFLAG_CLEAR@GOTPAGEOFF] Lloh16: ldr w9, [x9] Lloh17: adrp x10, _FLAG_V@GOTPAGE Lloh18: ldr x10, [x10, _FLAG_V@GOTPAGEOFF] Lloh19: str w9, [x10] Lloh20: adrp x9, _CFLAG_CLEAR@GOTPAGE Lloh21: ldr x9, [x9, _CFLAG_CLEAR@GOTPAGEOFF] Lloh22: ldr w9, [x9] Lloh23: adrp x10, _FLAG_C@GOTPAGE Lloh24: ldr x10, [x10, _FLAG_C@GOTPAGEOFF] Lloh25: str w9, [x10] tbnz w8, #29, LBB0_11 ; %bb.8: mov w9, #536870912 ; =0x20000000 LBB0_9: ; =>This Inner Loop Header: Depth=1 sub w20, w20, #1 cmp w9, #2 b.lo LBB0_11 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 lsr w9, w9, #1 and w10, w9, w8 cbz w10, LBB0_9 LBB0_11: ldr x8, [x23] ubfx w9, w19, #12, #3 str w20, [x8, w9, uxtw #2] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _CPU_TYPE,4,2 ; @CPU_TYPE .comm _DY,4,2 ; @DY .comm _REG_D,8,3 ; @REG_D .comm _FLAG_N,4,2 ; @FLAG_N .comm _FLAG_Z,4,2 ; @FLAG_Z .comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR .comm _FLAG_V,4,2 ; @FLAG_V .comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR .comm _FLAG_C,4,2 ; @FLAG_C .subsections_via_symbols
assembly_file_66430.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function HUF_fillDTableX4Level2 _HUF_fillDTableX4Level2: ## @HUF_fillDTableX4Level2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -120(%rbp) ## 8-byte Spill movl %r8d, %r14d movq %rcx, %r15 movq %rdx, -88(%rbp) ## 8-byte Spill movq %rsi, -112(%rbp) ## 8-byte Spill movq %rdi, -80(%rbp) ## 8-byte Spill movq %rsp, -96(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _HUF_ABSOLUTEMAX_TABLELOG@GOTPCREL(%rip), %rax movl (%rax), %ebx leal -1(%rbx), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 leal -8(,%rbx,8), %edx movq %r13, %rdi movq %r15, %rsi callq _memcpy cmpl $2, %r14d jl LBB0_3 ## %bb.1: movl %r14d, %eax movq (%r13,%rax,8), %rbx leaq -56(%rbp), %rdi movq 32(%rbp), %rsi callq _MEM_writeLE16 movq -88(%rbp), %rax ## 8-byte Reload movq %rax, -64(%rbp) movl $1, -72(%rbp) xorl %eax, %eax movq -80(%rbp), %rcx ## 8-byte Reload .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq -56(%rbp), %rdx movq %rdx, 16(%rcx) movl -72(%rbp), %edx movl %edx, (%rcx) movl -68(%rbp), %edx movl %edx, 4(%rcx) movq -64(%rbp), %rdx movq %rdx, 8(%rcx) incq %rax addq $24, %rcx cmpq %rbx, %rax jbe LBB0_2 LBB0_3: cmpq $0, 16(%rbp) je LBB0_8 ## %bb.4: xorl %r15d, %r15d movq %r13, -104(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movq %r15, %rax shlq $4, %rax movq -120(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax), %rsi movq 8(%rcx,%rax), %r14 movq 24(%rbp), %r12 subq %r14, %r12 movq -112(%rbp), %rax ## 8-byte Reload movl %eax, %ecx subl %r12d, %ecx movl $1, %eax ## kill: def $cl killed $cl killed $ecx shll %cl, %eax cltq movq (%r13,%r14,8), %rbx movq %rax, -128(%rbp) ## 8-byte Spill leaq (%rbx,%rax), %r13 shlq $8, %rsi addq 32(%rbp), %rsi leaq -56(%rbp), %rdi callq _MEM_writeLE16 addq -88(%rbp), %r12 ## 8-byte Folded Reload movq %r12, -64(%rbp) movl $2, -72(%rbp) leaq (%rbx,%rbx,2), %rax movq -80(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,8), %rax .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 incq %rbx movq -56(%rbp), %rcx movq %rcx, 16(%rax) movl -72(%rbp), %ecx movl %ecx, (%rax) movl -68(%rbp), %ecx movl %ecx, 4(%rax) movq -64(%rbp), %rcx movq %rcx, 8(%rax) addq $24, %rax cmpq %r13, %rbx jb LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq -104(%rbp), %r13 ## 8-byte Reload movq -128(%rbp), %rax ## 8-byte Reload addq %rax, (%r13,%r14,8) incq %r15 cmpq 16(%rbp), %r15 jne LBB0_5 LBB0_8: movq -96(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_10 ## %bb.9: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _HUF_ABSOLUTEMAX_TABLELOG,4,2 ## @HUF_ABSOLUTEMAX_TABLELOG .no_dead_strip _HUF_fillDTableX4Level2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function HUF_fillDTableX4Level2 _HUF_fillDTableX4Level2: ; @HUF_fillDTableX4Level2 .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #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 stp x7, x6, [x29, #-128] ; 16-byte Folded Spill stp x1, x5, [x29, #-144] ; 16-byte Folded Spill mov x27, x4 mov x22, x2 mov x24, x0 mov x8, sp stur x8, [x29, #-152] ; 8-byte Folded Spill ldr x25, [x29, #16] Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _HUF_ABSOLUTEMAX_TABLELOG@GOTPAGE Lloh4: ldr x9, [x9, _HUF_ABSOLUTEMAX_TABLELOG@GOTPAGEOFF] stur x8, [x29, #-88] Lloh5: ldr w8, [x9] sub w8, w8, #1 ubfiz x9, x8, #3, #32 add x10, x9, #15 and x12, x10, #0xffffffff0 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x26, x9, x12 mov sp, x26 lsl w2, w8, #3 mov x0, x26 mov x1, x3 bl _memcpy cmp w27, #2 b.lt LBB0_3 ; %bb.1: ldr x19, [x26, w27, uxtw #3] sub x8, x29, #112 add x0, x8, #16 mov x1, x25 bl _MEM_writeLE16 mov x8, #0 ; =0x0 stur x22, [x29, #-104] mov w9, #1 ; =0x1 stur w9, [x29, #-112] mov x9, x24 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur q0, [x29, #-112] str q0, [x9] ldur x10, [x29, #-96] str x10, [x9, #16] add x8, x8, #1 add x9, x9, #24 cmp x8, x19 b.ls LBB0_2 LBB0_3: ldur x8, [x29, #-120] ; 8-byte Folded Reload cbz x8, LBB0_8 ; %bb.4: mov x27, #0 ; =0x0 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ldur x8, [x29, #-136] ; 8-byte Folded Reload add x8, x8, x27, lsl #4 ldp x9, x28, [x8] ldur x8, [x29, #-128] ; 8-byte Folded Reload sub x20, x8, x28 ldur x8, [x29, #-144] ; 8-byte Folded Reload sub w8, w8, w20 mov w10, #1 ; =0x1 lsl w8, w10, w8 sxtw x19, w8 ldr x21, [x26, x28, lsl #3] add x23, x21, x19 add x1, x25, x9, lsl #8 sub x8, x29, #112 add x0, x8, #16 bl _MEM_writeLE16 add x8, x20, x22 stur x8, [x29, #-104] mov w8, #2 ; =0x2 stur w8, [x29, #-112] mov w8, #24 ; =0x18 madd x8, x21, x8, x24 LBB0_6: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 add x21, x21, #1 ldur q0, [x29, #-112] str q0, [x8] ldur x9, [x29, #-96] str x9, [x8, #16] add x8, x8, #24 cmp x21, x23 b.lo LBB0_6 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x26, x28, lsl #3] add x8, x8, x19 str x8, [x26, x28, lsl #3] add x27, x27, #1 ldur x8, [x29, #-120] ; 8-byte Folded Reload cmp x27, x8 b.ne LBB0_5 LBB0_8: ldur x8, [x29, #-152] ; 8-byte Folded Reload mov sp, x8 ldur x8, [x29, #-88] Lloh8: adrp x9, ___stack_chk_guard@GOTPAGE Lloh9: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x9, x8 b.ne LBB0_10 ; %bb.9: sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_10: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _HUF_ABSOLUTEMAX_TABLELOG,4,2 ; @HUF_ABSOLUTEMAX_TABLELOG .no_dead_strip _HUF_fillDTableX4Level2 .subsections_via_symbols
assembly_file_79226.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ikcp_segment_new _ikcp_segment_new: ## @ikcp_segment_new .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi leal 4(%rsi), %edi popq %rbp jmp _ikcp_malloc ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ikcp_segment_new .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ikcp_segment_new _ikcp_segment_new: ; @ikcp_segment_new .cfi_startproc ; %bb.0: add w0, w1, #4 b _ikcp_malloc .cfi_endproc ; -- End function .no_dead_strip _ikcp_segment_new .subsections_via_symbols
AnghaBench/kcp/extr_ikcp.c_ikcp_segment_new.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ftdi_elan_abandon_completions _ftdi_elan_abandon_completions: ## @ftdi_elan_abandon_completions .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq 16(%rdi), %r14 movq %r14, %rdi callq _mutex_lock movq 8(%rbx), %rax cmpq %rax, (%rbx) jle LBB0_3 ## %bb.1: movq _RESPOND_MASK@GOTPCREL(%rip), %r15 movq _ESHUTDOWN@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 24(%rbx), %rcx leaq 1(%rax), %rdx andq (%r15), %rax movq %rdx, 8(%rbx) xorl %edx, %edx subl (%r12), %edx leaq (%rax,%rax,2), %rax leaq (%rcx,%rax,8), %rdi movq 16(%rcx,%rax,8), %rsi movl %edx, (%rsi) movq 8(%rcx,%rax,8), %rax movq $0, (%rax) callq _complete movq 8(%rbx), %rax cmpq %rax, (%rbx) jg LBB0_2 LBB0_3: movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _RESPOND_MASK,8,3 ## @RESPOND_MASK .comm _ESHUTDOWN,4,2 ## @ESHUTDOWN .no_dead_strip _ftdi_elan_abandon_completions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ftdi_elan_abandon_completions _ftdi_elan_abandon_completions: ; @ftdi_elan_abandon_completions .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, x0 add x19, x0, #16 mov x0, x19 bl _mutex_lock ldp x9, x8, [x20] cmp x9, x8 b.le LBB0_3 ; %bb.1: Lloh0: adrp x21, _RESPOND_MASK@GOTPAGE Lloh1: ldr x21, [x21, _RESPOND_MASK@GOTPAGEOFF] Lloh2: adrp x22, _ESHUTDOWN@GOTPAGE Lloh3: ldr x22, [x22, _ESHUTDOWN@GOTPAGEOFF] mov w23, #24 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x9, [x20, #24] ldr x10, [x21] add x11, x8, #1 str x11, [x20, #8] and x8, x10, x8 ldr w10, [x22] neg w10, w10 madd x0, x8, x23, x9 ldp x9, x8, [x0, #8] str w10, [x8] str xzr, [x9] bl _complete ldp x9, x8, [x20] cmp x9, x8 b.gt LBB0_2 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _mutex_unlock .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _RESPOND_MASK,8,3 ; @RESPOND_MASK .comm _ESHUTDOWN,4,2 ; @ESHUTDOWN .no_dead_strip _ftdi_elan_abandon_completions .subsections_via_symbols
AnghaBench/linux/drivers/usb/misc/extr_ftdi-elan.c_ftdi_elan_abandon_completions.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _translate_image ## -- Begin function translate_image .p2align 4, 0x90 _translate_image: ## @translate_image .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 20(%rbp), %edx imull 16(%rbp), %edx imull 24(%rbp), %edx testl %edx, %edx jle LBB0_11 ## %bb.1: leaq 16(%rbp), %rax movq 16(%rax), %rax movl %edx, %ecx cmpl $8, %edx jae LBB0_3 ## %bb.2: xorl %edx, %edx jmp LBB0_10 LBB0_3: movl %ecx, %edx andl $-8, %edx movaps %xmm0, %xmm1 shufps $0, %xmm0, %xmm1 ## xmm1 = xmm1[0,0],xmm0[0,0] leaq -8(%rdx), %rsi movq %rsi, %r8 shrq $3, %r8 incq %r8 testq %rsi, %rsi je LBB0_4 ## %bb.5: movq %r8, %rdi andq $-2, %rdi xorl %esi, %esi .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movups (%rax,%rsi,4), %xmm2 movups 16(%rax,%rsi,4), %xmm3 movups 32(%rax,%rsi,4), %xmm4 movups 48(%rax,%rsi,4), %xmm5 addps %xmm1, %xmm2 addps %xmm1, %xmm3 movups %xmm2, (%rax,%rsi,4) movups %xmm3, 16(%rax,%rsi,4) addps %xmm1, %xmm4 addps %xmm1, %xmm5 movups %xmm4, 32(%rax,%rsi,4) movups %xmm5, 48(%rax,%rsi,4) addq $16, %rsi addq $-2, %rdi jne LBB0_6 ## %bb.7: testb $1, %r8b je LBB0_9 LBB0_8: movups (%rax,%rsi,4), %xmm2 movups 16(%rax,%rsi,4), %xmm3 addps %xmm1, %xmm2 addps %xmm1, %xmm3 movups %xmm2, (%rax,%rsi,4) movups %xmm3, 16(%rax,%rsi,4) LBB0_9: cmpq %rcx, %rdx je LBB0_11 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movss (%rax,%rdx,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero addss %xmm0, %xmm1 movss %xmm1, (%rax,%rdx,4) incq %rdx cmpq %rdx, %rcx jne LBB0_10 LBB0_11: popq %rbp retq LBB0_4: xorl %esi, %esi testb $1, %r8b jne LBB0_8 jmp LBB0_9 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _translate_image ; -- Begin function translate_image .p2align 2 _translate_image: ; @translate_image .cfi_startproc ; %bb.0: ; kill: def $s0 killed $s0 def $q0 ldp w8, w9, [x0] mul w8, w9, w8 ldr w9, [x0, #8] mul w8, w8, w9 cmp w8, #1 b.lt LBB0_8 ; %bb.1: ldr x9, [x0, #16] cmp w8, #16 b.hs LBB0_3 ; %bb.2: mov x10, #0 b LBB0_6 LBB0_3: and x10, x8, #0xfffffff0 dup.4s v1, v0[0] add x11, x9, #32 mov x12, x10 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldp q2, q3, [x11, #-32] ldp q4, q5, [x11] fadd.4s v2, v2, v1 fadd.4s v3, v3, v1 fadd.4s v4, v4, v1 fadd.4s v5, v5, v1 stp q2, q3, [x11, #-32] stp q4, q5, [x11], #64 subs x12, x12, #16 b.ne LBB0_4 ; %bb.5: cmp x10, x8 b.eq LBB0_8 LBB0_6: add x9, x9, x10, lsl #2 sub x8, x8, x10 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr s1, [x9] fadd s1, s1, s0 str s1, [x9], #4 subs x8, x8, #1 b.ne LBB0_7 LBB0_8: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/darknet/src/extr_image.c_translate_image.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function btf_dedup_is_equiv _btf_dedup_is_equiv: ## @btf_dedup_is_equiv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 callq _resolve_type_id movq %rax, %r14 movq %r12, %rdi movq %rbx, %rsi callq _resolve_type_id cmpq %rax, %r14 jne LBB0_3 LBB0_1: movl $1, %r12d LBB0_2: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r12, -48(%rbp) ## 8-byte Spill LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movq %rbx, %rsi callq _resolve_fwd_id movq %rax, %rbx movq (%r12), %rax movq (%rax,%rbx,8), %rax movq _BTF_MAX_NR_TYPES@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jbe LBB0_18 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movq %rbx, %rsi movq %r15, %rdx callq _btf_dedup_hypot_map_add testq %rax, %rax jne LBB0_19 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq 16(%r12), %rax movq (%rax), %rax movq (%rax,%r15,8), %r13 movq (%rax,%rbx,8), %r15 movq %r13, %rdi callq _btf_kind movq %rax, %rbx movq %r15, %rdi callq _btf_kind movq %rax, %r14 movq (%r13), %rax movq %r12, %rcx xorl %r12d, %r12d cmpq (%r15), %rax jne LBB0_2 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movq 8(%rcx), %rax testq %rax, %rax jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 cmpq $135, %rbx setne %cl cmpq $135, %r14 setne %dl testb %dl, %cl jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 cmpq %r14, %rbx jne LBB0_22 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 cmpq %r14, %rbx jne LBB0_2 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 addq $-128, %rbx cmpq $12, %rbx ja LBB0_29 ## %bb.12: ## in Loop: Header=BB0_4 Depth=1 leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rbx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB0_13: ## in Loop: Header=BB0_4 Depth=1 movl 16(%r13), %eax cmpl 16(%r15), %eax jne LBB0_2 LBB0_14: ## in Loop: Header=BB0_4 Depth=1 addq $8, %r13 addq $8, %r15 movq (%r15), %rbx movq (%r13), %r15 movq -48(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi movq %r15, %rsi callq _resolve_type_id movq %rax, %r14 movq %r12, %rdi movq %rbx, %rsi callq _resolve_type_id cmpq %rax, %r14 jne LBB0_4 jmp LBB0_1 LBB0_15: ## in Loop: Header=BB0_4 Depth=1 movq %r13, %rdi movq %r15, %rsi callq _btf_compat_array testl %eax, %eax je LBB0_2 ## %bb.16: ## in Loop: Header=BB0_4 Depth=1 movq %r13, %rdi callq _btf_array movq %rax, %r13 movq %r15, %rdi callq _btf_array movq %rax, %r15 movq (%r13), %rsi movq (%rax), %rdx movq -48(%rbp), %rdi ## 8-byte Reload callq _btf_dedup_is_equiv testl %eax, %eax jg LBB0_14 LBB0_17: movl %eax, %r12d jmp LBB0_2 LBB0_18: xorl %r12d, %r12d cmpq %r15, %rax sete %r12b jmp LBB0_2 LBB0_19: movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_20: xorl %r12d, %r12d subl (%rax), %r12d jmp LBB0_2 LBB0_22: cmpq $135, %rbx cmoveq %r13, %r15 cmovneq %rbx, %r14 movq %r15, %rdi callq _btf_fwd_kind xorl %r12d, %r12d cmpq %r14, %rax sete %r12b jmp LBB0_2 LBB0_23: movq %r13, %rdi movq %r15, %rsi callq _btf_shallow_equal_struct testl %eax, %eax je LBB0_2 ## %bb.24: movq %r13, %rdi callq _btf_vlen movq %rax, %r14 movq %r13, %rdi callq _btf_members movq %rax, %r13 movq %r15, %rdi callq _btf_members testq %r14, %r14 jle LBB0_1 ## %bb.25: movq %rax, %r15 xorl %ebx, %ebx LBB0_26: ## =>This Inner Loop Header: Depth=1 movq (%r13,%rbx,8), %rsi movq (%r15,%rbx,8), %rdx movq -48(%rbp), %rdi ## 8-byte Reload callq _btf_dedup_is_equiv testl %eax, %eax jle LBB0_17 ## %bb.27: ## in Loop: Header=BB0_26 Depth=1 incq %rbx cmpq %rbx, %r14 jne LBB0_26 jmp LBB0_1 LBB0_29: movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_20 LBB0_30: movq %r13, %rdi movq %r15, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _btf_equal_int ## TAILCALL LBB0_31: movq %r13, %rdi movq %r15, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _btf_equal_common ## TAILCALL LBB0_32: movq %r13, %rdi movq %r15, %rsi callq _btf_compat_fnproto testl %eax, %eax je LBB0_2 ## %bb.33: movq 8(%r13), %rsi movq 8(%r15), %rdx movq -48(%rbp), %rdi ## 8-byte Reload callq _btf_dedup_is_equiv testl %eax, %eax jle LBB0_17 ## %bb.34: movq %r13, %rdi callq _btf_vlen movq %rax, %r14 movq %r13, %rdi callq _btf_params movq %rax, %r13 movq %r15, %rdi callq _btf_params testq %r14, %r14 jle LBB0_1 ## %bb.35: movq %rax, %r15 xorl %ebx, %ebx LBB0_36: ## =>This Inner Loop Header: Depth=1 movq (%r13,%rbx,8), %rsi movq (%r15,%rbx,8), %rdx movq -48(%rbp), %rdi ## 8-byte Reload callq _btf_dedup_is_equiv testl %eax, %eax jle LBB0_17 ## %bb.37: ## in Loop: Header=BB0_36 Depth=1 incq %rbx cmpq %rbx, %r14 jne LBB0_36 jmp LBB0_1 LBB0_39: movq %r13, %rdi movq %r15, %rsi addq $8, %rsp testq %rax, %rax je LBB0_43 ## %bb.40: popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _btf_equal_enum ## TAILCALL LBB0_43: popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _btf_compat_enum ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_30, LBB0_30-LJTI0_0 .set L0_0_set_31, LBB0_31-LJTI0_0 .set L0_0_set_32, LBB0_32-LJTI0_0 .set L0_0_set_39, LBB0_39-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 LJTI0_0: .long L0_0_set_13 .long L0_0_set_23 .long L0_0_set_13 .long L0_0_set_23 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_30 .long L0_0_set_31 .long L0_0_set_32 .long L0_0_set_13 .long L0_0_set_39 .long L0_0_set_13 .long L0_0_set_15 .end_data_region ## -- End function .comm _BTF_MAX_NR_TYPES,8,3 ## @BTF_MAX_NR_TYPES .comm _ENOMEM,4,2 ## @ENOMEM .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _btf_dedup_is_equiv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function btf_dedup_is_equiv _btf_dedup_is_equiv: ; @btf_dedup_is_equiv .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x2 mov x20, x1 mov x19, x0 bl _resolve_type_id mov x22, x0 mov x0, x19 mov x1, x21 bl _resolve_type_id cmp x22, x0 b.ne LBB0_2 LBB0_1: mov w0, #1 b LBB0_34 LBB0_2: Lloh0: adrp x23, _BTF_MAX_NR_TYPES@GOTPAGE Lloh1: ldr x23, [x23, _BTF_MAX_NR_TYPES@GOTPAGEOFF] mov w24, #135 Lloh2: adrp x25, lJTI0_0@PAGE Lloh3: add x25, x25, lJTI0_0@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 bl _resolve_fwd_id ldr x8, [x19] ldr x8, [x8, x0, lsl #3] ldr x9, [x23] cmp x8, x9 b.ls LBB0_16 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x22, x0 mov x0, x19 mov x1, x22 mov x2, x20 bl _btf_dedup_hypot_map_add cbnz x0, LBB0_17 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #16] ldr x8, [x8] ldr x21, [x8, x20, lsl #3] ldr x20, [x8, x22, lsl #3] mov x0, x21 bl _btf_kind mov x22, x0 mov x0, x20 bl _btf_kind ldr x8, [x21] ldr x9, [x20] cmp x8, x9 b.ne LBB0_15 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #8] cbnz x8, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 cmp x0, #135 ccmp x22, x24, #4, ne ccmp x22, x0, #4, eq b.ne LBB0_19 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 cmp x22, x0 b.ne LBB0_15 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 sub x9, x22, #128 cmp x9, #12 b.hi LBB0_25 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 adr x10, LBB0_11 ldrb w11, [x25, x9] add x10, x10, x11, lsl #2 br x10 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x21, #16] ldr w9, [x20, #16] cmp w8, w9 b.ne LBB0_15 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 add x8, x21, #8 add x9, x20, #8 ldr x21, [x9] ldr x20, [x8] mov x0, x19 mov x1, x20 bl _resolve_type_id mov x22, x0 mov x0, x19 mov x1, x21 bl _resolve_type_id cmp x22, x0 b.ne LBB0_3 b LBB0_1 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 mov x1, x20 bl _btf_compat_array cbz w0, LBB0_34 ; %bb.14: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 bl _btf_array mov x21, x0 mov x0, x20 bl _btf_array mov x20, x0 ldr x1, [x21] ldr x2, [x0] mov x0, x19 bl _btf_dedup_is_equiv cmp w0, #1 b.ge LBB0_12 b LBB0_34 LBB0_15: mov w0, #0 b LBB0_34 LBB0_16: cmp x8, x20 cset w0, eq b LBB0_34 LBB0_17: Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_18: ldr w8, [x8] neg w0, w8 b LBB0_34 LBB0_19: cmp x22, #135 csel x8, x21, x20, eq csel x19, x0, x22, eq mov x0, x8 bl _btf_fwd_kind cmp x0, x19 cset w0, eq b LBB0_34 LBB0_20: mov x0, x21 mov x1, x20 bl _btf_shallow_equal_struct cbz w0, LBB0_34 ; %bb.21: mov x0, x21 bl _btf_vlen mov x22, x0 mov x0, x21 bl _btf_members mov x21, x0 mov x0, x20 bl _btf_members cmp x22, #1 b.lt LBB0_1 ; %bb.22: mov x20, x0 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr x1, [x21] ldr x2, [x20] mov x0, x19 bl _btf_dedup_is_equiv cmp w0, #1 b.lt LBB0_34 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 add x21, x21, #8 add x20, x20, #8 mov w0, #1 subs x22, x22, #1 b.ne LBB0_23 b LBB0_34 LBB0_25: Lloh6: adrp x8, _EINVAL@GOTPAGE Lloh7: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_18 LBB0_26: mov x0, x21 mov x1, 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _btf_equal_int LBB0_27: mov x0, x21 mov x1, 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _btf_equal_common LBB0_28: mov x0, x21 mov x1, x20 bl _btf_compat_fnproto cbz w0, LBB0_34 ; %bb.29: ldr x1, [x21, #8] ldr x2, [x20, #8] mov x0, x19 bl _btf_dedup_is_equiv cmp w0, #1 b.lt LBB0_34 ; %bb.30: mov x0, x21 bl _btf_vlen mov x22, x0 mov x0, x21 bl _btf_params mov x21, x0 mov x0, x20 bl _btf_params cmp x22, #1 b.lt LBB0_1 ; %bb.31: mov x20, x0 LBB0_32: ; =>This Inner Loop Header: Depth=1 ldr x1, [x21] ldr x2, [x20] mov x0, x19 bl _btf_dedup_is_equiv cmp w0, #1 b.lt LBB0_34 ; %bb.33: ; in Loop: Header=BB0_32 Depth=1 add x21, x21, #8 add x20, x20, #8 mov w0, #1 subs x22, x22, #1 b.ne LBB0_32 LBB0_34: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_35: mov x0, x21 mov x1, x20 cbz x8, LBB0_37 ; %bb.36: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _btf_equal_enum LBB0_37: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _btf_compat_enum .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_20-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_20-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_26-LBB0_11)>>2 .byte (LBB0_27-LBB0_11)>>2 .byte (LBB0_28-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_35-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_13-LBB0_11)>>2 ; -- End function .comm _BTF_MAX_NR_TYPES,8,3 ; @BTF_MAX_NR_TYPES .comm _ENOMEM,4,2 ; @ENOMEM .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _btf_dedup_is_equiv .subsections_via_symbols
AnghaBench/linux/tools/lib/bpf/extr_btf.c_btf_dedup_is_equiv.c
anghabench