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 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x42480000 ## float 50 LCPI0_1: .long 0xc1f00000 ## float -30 LCPI0_2: .long 0x42200000 ## float 40 LCPI0_3: .long 0x44bb8000 ## float 1500 LCPI0_4: .long 0x41f00000 ## float 30 .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 subq $16, %rsp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss %xmm0, %xmm1 movss LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero,zero,zero addss %xmm0, %xmm2 mulss LCPI0_2(%rip), %xmm2 addss LCPI0_3(%rip), %xmm2 cmpnless LCPI0_4(%rip), %xmm0 movaps %xmm0, %xmm3 andnps %xmm1, %xmm3 andps %xmm2, %xmm0 orps %xmm3, %xmm0 cvtss2sd %xmm0, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter distance travelled : " L_.str.1: ## @.str.1 .asciz "%f" L_.str.2: ## @.str.2 .asciz "Amount to be paid : %.2f\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, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur s0, [x29, #-4] mov w8, #1112014848 fmov s1, w8 fmul s1, s0, s1 fmov s2, #-30.00000000 fadd s2, s0, s2 mov w8, #32768 movk w8, #17595, lsl #16 fmov s3, w8 mov w8, #1109393408 fmov s4, w8 fmadd s2, s2, s4, s3 fmov s3, #30.00000000 fcmp s0, s3 fcsel s0, s2, s1, hi fcvt d0, s0 str d0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter distance travelled : " l_.str.1: ; @.str.1 .asciz "%f" l_.str.2: ; @.str.2 .asciz "Amount to be paid : %.2f\n" .subsections_via_symbols
the_stack_data/1109772.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _fdt_mem_rsv __fdt_mem_rsv: ## @_fdt_mem_rsv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx callq _fdt_off_mem_rsvmap cltq addq %rbx, %rax movslq %r14d, %rcx leaq (%rax,%rcx,4), %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip __fdt_mem_rsv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _fdt_mem_rsv __fdt_mem_rsv: ; @_fdt_mem_rsv .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _fdt_off_mem_rsvmap add x8, x20, w0, sxtw add x0, x8, w19, sxtw #2 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 __fdt_mem_rsv .subsections_via_symbols
AnghaBench/fastsocket/kernel/scripts/dtc/libfdt/extr_libfdt_internal.h__fdt_mem_rsv.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sym_elem_global _sym_elem_global: ## @sym_elem_global .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movzbl %dil, %ebx movl %ebx, %edi callq _IS_SYM_TYPE movl %eax, %edi callq _assert movq %r15, %rdi callq _UNUSED movq %r14, %rdi callq _UNUSED movl %ebx, %edi callq _isupper testq %rax, %rax setne %al cmpb $119, %bl sete %cl orb %al, %cl movzbl %cl, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sym_elem_global .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sym_elem_global _sym_elem_global: ; @sym_elem_global .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 and w22, w0, #0xff mov x0, x22 bl _IS_SYM_TYPE bl _assert mov x0, x20 bl _UNUSED mov x0, x19 bl _UNUSED mov x0, x22 bl _isupper cmp w21, #119 ccmp x0, #0, #0, ne cset w0, ne 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 _sym_elem_global .subsections_via_symbols
AnghaBench/freebsd/contrib/elftoolchain/nm/extr_nm.c_sym_elem_global.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zppsv_ ## -- Begin function zppsv_ .p2align 4, 0x90 _zppsv_: ## @zppsv_ .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, %r14 movq %r8, -64(%rbp) ## 8-byte Spill movq %rcx, -56(%rbp) ## 8-byte Spill movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 movq 16(%rbp), %r13 movl $0, (%r13) leaq L_.str(%rip), %rsi callq _lsame_ testl %eax, %eax jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rsi movq %r12, %rdi callq _lsame_ testl %eax, %eax je LBB0_10 LBB0_2: movl (%r15), %eax testl %eax, %eax js LBB0_8 ## %bb.3: cmpl $0, (%rbx) js LBB0_9 ## %bb.4: cmpl $2, %eax movl $1, %ecx cmovael %eax, %ecx movl $-6, %eax cmpl %ecx, (%r14) jl LBB0_11 ## %bb.5: movl (%r13), %eax testl %eax, %eax jne LBB0_12 ## %bb.6: movq %r12, %rdi movq %r15, %rsi movq -56(%rbp), %rdx ## 8-byte Reload movq %r13, %rcx callq _zpptrf_ cmpl $0, (%r13) jne LBB0_13 ## %bb.7: movq %r13, (%rsp) movq %r12, %rdi movq %r15, %rsi movq %rbx, %rdx movq -56(%rbp), %rcx ## 8-byte Reload movq -64(%rbp), %r8 ## 8-byte Reload movq %r14, %r9 callq _zpptrs_ jmp LBB0_13 LBB0_8: movl $-2, %eax jmp LBB0_11 LBB0_9: movl $-3, %eax jmp LBB0_11 LBB0_10: movl $-1, %eax LBB0_11: movl %eax, (%r13) LBB0_12: negl %eax movl %eax, -44(%rbp) leaq L_.str.2(%rip), %rdi leaq -44(%rbp), %rsi movl $6, %edx callq _xerbla_ LBB0_13: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "U" L_.str.1: ## @.str.1 .asciz "L" L_.str.2: ## @.str.2 .asciz "ZPPSV " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zppsv_ ; -- Begin function zppsv_ .p2align 2 _zppsv_: ; @zppsv_ .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, x6 mov x20, x5 mov x21, x4 mov x22, x3 mov x23, x2 mov x24, x1 mov x25, x0 str wzr, [x6] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _lsame_ cbnz w0, LBB0_2 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x25 bl _lsame_ cbz w0, LBB0_11 LBB0_2: ldr w8, [x24] tbnz w8, #31, LBB0_6 ; %bb.3: ldr w9, [x23] tbnz w9, #31, LBB0_7 ; %bb.4: ldr w9, [x20] cmp w8, #1 csinc w8, w8, wzr, hi cmp w9, w8 b.ge LBB0_8 ; %bb.5: mov w8, #-6 b LBB0_12 LBB0_6: mov w8, #-2 b LBB0_12 LBB0_7: mov w8, #-3 b LBB0_12 LBB0_8: ldr w8, [x19] cbnz w8, LBB0_13 ; %bb.9: mov x0, x25 mov x1, x24 mov x2, x22 mov x3, x19 bl _zpptrf_ ldr w8, [x19] cbnz w8, LBB0_14 ; %bb.10: mov x0, x25 mov x1, x24 mov x2, x23 mov x3, x22 mov x4, x21 mov x5, x20 mov x6, x19 bl _zpptrs_ b LBB0_14 LBB0_11: mov w8, #-1 LBB0_12: str w8, [x19] LBB0_13: neg w8, w8 str w8, [sp, #12] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF add x1, sp, #12 mov w2, #6 bl _xerbla_ LBB0_14: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload 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 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "U" l_.str.1: ; @.str.1 .asciz "L" l_.str.2: ; @.str.2 .asciz "ZPPSV " .subsections_via_symbols
the_stack_data/945153.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ctimeFunc _ctimeFunc: ## @ctimeFunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl %esi, %edi movq %rdx, %rsi callq _UNUSED_PARAMETER2 movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx addq $8, %rsp popq %rbx popq %rbp jmp _timeFunc ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ctimeFunc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ctimeFunc _ctimeFunc: ; @ctimeFunc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, x1 mov x1, x2 bl _UNUSED_PARAMETER2 mov x0, x19 mov w1, #0 mov w2, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _timeFunc .cfi_endproc ; -- End function .no_dead_strip _ctimeFunc .subsections_via_symbols
AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_ctimeFunc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r14d, %r14d cmpl $2, %edi jl LBB0_5 ## %bb.1: movq %rsi, %r15 movl %edi, %r12d movl $1, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15,%rbx,8), %rdi movl $493, %esi ## imm = 0x1ED callq _mkdir testl %eax, %eax jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 incq %rbx cmpq %rbx, %r12 jne LBB0_2 LBB0_5: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq (%r15,%rbx,8), %rdi callq _perror movl $1, %r14d jmp LBB0_5 .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 x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w0, #2 b.lt LBB0_4 ; %bb.1: mov w8, w0 add x19, x1, #8 sub x20, x8, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] mov w1, #493 bl _mkdir cbnz w0, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x19, x19, #8 subs x20, x20, #1 b.ne LBB0_2 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_6: ldr x0, [x19] bl _perror mov w0, #1 b LBB0_5 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/242330818.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uwb_drp_avail_init ## -- Begin function uwb_drp_avail_init .p2align 4, 0x90 _uwb_drp_avail_init: ## @uwb_drp_avail_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movl 8(%rdi), %edi movq _UWB_NUM_MAS@GOTPCREL(%rip), %r14 movl (%r14), %esi callq _bitmap_fill movl 4(%rbx), %edi movl (%r14), %esi callq _bitmap_fill movl (%rbx), %edi movl (%r14), %esi popq %rbx popq %r14 popq %rbp jmp _bitmap_fill ## TAILCALL .cfi_endproc ## -- End function .comm _UWB_NUM_MAS,4,2 ## @UWB_NUM_MAS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uwb_drp_avail_init ; -- Begin function uwb_drp_avail_init .p2align 2 _uwb_drp_avail_init: ; @uwb_drp_avail_init .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #8] Lloh0: adrp x20, _UWB_NUM_MAS@GOTPAGE Lloh1: ldr x20, [x20, _UWB_NUM_MAS@GOTPAGEOFF] ldr w1, [x20] bl _bitmap_fill ldr w0, [x19, #4] ldr w1, [x20] bl _bitmap_fill ldr w0, [x19] ldr w1, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bitmap_fill .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _UWB_NUM_MAS,4,2 ; @UWB_NUM_MAS .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/uwb/extr_drp-avail.c_uwb_drp_avail_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sdpu_get_list_len ## -- Begin function sdpu_get_list_len .p2align 4, 0x90 _sdpu_get_list_len: ## @sdpu_get_list_len .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 xorl %ebx, %ebx xorl %edi, %edi movq %r15, %rsi callq _sdp_db_service_search testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %r12 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movq %r14, %rsi callq _sdpu_get_attrib_seq_len ## kill: def $eax killed $eax def $rax testl %eax, %eax leal 3(%r13,%rax), %ebx cmovel %r13d, %ebx movq %r12, %rdi movq %r15, %rsi callq _sdp_db_service_search movq %rax, %r12 movl %ebx, %r13d testq %rax, %rax jne LBB0_2 LBB0_3: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sdpu_get_list_len ; -- Begin function sdpu_get_list_len .p2align 2 _sdpu_get_list_len: ; @sdpu_get_list_len .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 mov x0, #0 mov x1, x20 bl _sdp_db_service_search cbz x0, LBB0_3 ; %bb.1: mov x22, x0 mov w21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x19 bl _sdpu_get_attrib_seq_len add w8, w21, w0 add w8, w8, #3 cmp w0, #0 csel w21, w21, w8, eq mov x0, x22 mov x1, x20 bl _sdp_db_service_search mov x22, x0 cbnz x0, LBB0_2 b LBB0_4 LBB0_3: mov w21, #0 LBB0_4: 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 .subsections_via_symbols
AnghaBench/esp-idf/components/bt/host/bluedroid/stack/sdp/extr_sdp_utils.c_sdpu_get_list_len.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_ifattach ## -- Begin function ieee80211_ifattach .p2align 4, 0x90 _ieee80211_ifattach: ## @ieee80211_ifattach .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl 48(%rdi), %esi callq _IEEE80211_LOCK_INIT movl 48(%rbx), %esi movq %rbx, %rdi callq _IEEE80211_TX_LOCK_INIT leaq 56(%rbx), %rdi callq _TAILQ_INIT movq _M_WAITOK@GOTPCREL(%rip), %r15 movq _M_ZERO@GOTPCREL(%rip), %rax movl (%rax), %esi orl (%r15), %esi movq _taskqueue_thread_enqueue@GOTPCREL(%rip), %rax movl (%rax), %edx leaq 52(%rbx), %r14 leaq L_.str(%rip), %rdi movq %r14, %rcx callq _taskqueue_create movl %eax, 52(%rbx) movq _PI_NET@GOTPCREL(%rip), %rax movl (%rax), %edx movl 48(%rbx), %r8d leaq L_.str.1(%rip), %rcx movq %r14, %rdi movl $1, %esi callq _taskqueue_start_threads movl (%r15), %edi callq _counter_u64_alloc movq %rax, 40(%rbx) movl (%r15), %edi callq _counter_u64_alloc movq %rax, 32(%rbx) movq %rbx, %rdi callq _ieee80211_chan_init movq _null_update_mcast@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%rbx) movq _null_update_promisc@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%rbx) movq _null_update_chw@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rbx) xorl %eax, %eax callq _arc4random movl %eax, 12(%rbx) movq _IEEE80211_BINTVAL_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movl %eax, 8(%rbx) movq _IEEE80211_TXPOWER_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq %rbx, %rdi callq _ieee80211_crypto_attach movq %rbx, %rdi callq _ieee80211_node_attach movq %rbx, %rdi callq _ieee80211_power_attach movq %rbx, %rdi callq _ieee80211_proto_attach movq %rbx, %rdi callq _ieee80211_ht_attach movq %rbx, %rdi callq _ieee80211_vht_attach movq %rbx, %rdi callq _ieee80211_scan_attach movq %rbx, %rdi callq _ieee80211_regdomain_attach movq %rbx, %rdi callq _ieee80211_dfs_attach movq %rbx, %rdi callq _ieee80211_sysctl_attach movq _ic_list_mtx@GOTPCREL(%rip), %r14 movq %r14, %rdi callq _mtx_lock movq _ic_next@GOTPCREL(%rip), %rax movl (%rax), %edx movq _ic_head@GOTPCREL(%rip), %rdi movq %rbx, %rsi callq _LIST_INSERT_HEAD movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _mtx_unlock ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ic_taskq" .comm _M_WAITOK,4,2 ## @M_WAITOK .comm _M_ZERO,4,2 ## @M_ZERO .comm _taskqueue_thread_enqueue,4,2 ## @taskqueue_thread_enqueue .comm _PI_NET,4,2 ## @PI_NET L_.str.1: ## @.str.1 .asciz "%s net80211 taskq" .comm _null_update_mcast,4,2 ## @null_update_mcast .comm _null_update_promisc,4,2 ## @null_update_promisc .comm _null_update_chw,4,2 ## @null_update_chw .comm _IEEE80211_BINTVAL_DEFAULT,4,2 ## @IEEE80211_BINTVAL_DEFAULT .comm _IEEE80211_TXPOWER_MAX,4,2 ## @IEEE80211_TXPOWER_MAX .comm _ic_list_mtx,4,2 ## @ic_list_mtx .comm _ic_head,4,2 ## @ic_head .comm _ic_next,4,2 ## @ic_next .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_ifattach ; -- Begin function ieee80211_ifattach .p2align 2 _ieee80211_ifattach: ; @ieee80211_ifattach .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr w1, [x0, #48] bl _IEEE80211_LOCK_INIT ldr w1, [x19, #48] mov x0, x19 bl _IEEE80211_TX_LOCK_INIT add x0, x19, #56 bl _TAILQ_INIT Lloh0: adrp x21, _M_WAITOK@GOTPAGE Lloh1: ldr x21, [x21, _M_WAITOK@GOTPAGEOFF] ldr w8, [x21] Lloh2: adrp x9, _M_ZERO@GOTPAGE Lloh3: ldr x9, [x9, _M_ZERO@GOTPAGEOFF] Lloh4: ldr w9, [x9] orr w1, w9, w8 Lloh5: adrp x8, _taskqueue_thread_enqueue@GOTPAGE Lloh6: ldr x8, [x8, _taskqueue_thread_enqueue@GOTPAGEOFF] Lloh7: ldr w2, [x8] add x20, x19, #52 Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF mov x3, x20 bl _taskqueue_create str w0, [x19, #52] Lloh10: adrp x8, _PI_NET@GOTPAGE Lloh11: ldr x8, [x8, _PI_NET@GOTPAGEOFF] Lloh12: ldr w2, [x8] ldr w4, [x19, #48] Lloh13: adrp x3, l_.str.1@PAGE Lloh14: add x3, x3, l_.str.1@PAGEOFF mov x0, x20 mov w1, #1 bl _taskqueue_start_threads ldr w0, [x21] bl _counter_u64_alloc str x0, [x19, #40] ldr w0, [x21] bl _counter_u64_alloc str x0, [x19, #32] mov x0, x19 bl _ieee80211_chan_init Lloh15: adrp x8, _null_update_mcast@GOTPAGE Lloh16: ldr x8, [x8, _null_update_mcast@GOTPAGEOFF] Lloh17: ldr w8, [x8] str w8, [x19, #24] Lloh18: adrp x8, _null_update_promisc@GOTPAGE Lloh19: ldr x8, [x8, _null_update_promisc@GOTPAGEOFF] Lloh20: ldr w8, [x8] Lloh21: adrp x9, _null_update_chw@GOTPAGE Lloh22: ldr x9, [x9, _null_update_chw@GOTPAGEOFF] Lloh23: ldr w9, [x9] stp w9, w8, [x19, #16] bl _arc4random Lloh24: adrp x8, _IEEE80211_BINTVAL_DEFAULT@GOTPAGE Lloh25: ldr x8, [x8, _IEEE80211_BINTVAL_DEFAULT@GOTPAGEOFF] Lloh26: ldr w8, [x8] stp w8, w0, [x19, #8] Lloh27: adrp x9, _IEEE80211_TXPOWER_MAX@GOTPAGE Lloh28: ldr x9, [x9, _IEEE80211_TXPOWER_MAX@GOTPAGEOFF] Lloh29: ldr w9, [x9] stp w9, w8, [x19] mov x0, x19 bl _ieee80211_crypto_attach mov x0, x19 bl _ieee80211_node_attach mov x0, x19 bl _ieee80211_power_attach mov x0, x19 bl _ieee80211_proto_attach mov x0, x19 bl _ieee80211_ht_attach mov x0, x19 bl _ieee80211_vht_attach mov x0, x19 bl _ieee80211_scan_attach mov x0, x19 bl _ieee80211_regdomain_attach mov x0, x19 bl _ieee80211_dfs_attach mov x0, x19 bl _ieee80211_sysctl_attach Lloh30: adrp x20, _ic_list_mtx@GOTPAGE Lloh31: ldr x20, [x20, _ic_list_mtx@GOTPAGEOFF] mov x0, x20 bl _mtx_lock Lloh32: adrp x8, _ic_next@GOTPAGE Lloh33: ldr x8, [x8, _ic_next@GOTPAGEOFF] Lloh34: ldr w2, [x8] Lloh35: adrp x0, _ic_head@GOTPAGE Lloh36: ldr x0, [x0, _ic_head@GOTPAGEOFF] mov x1, x19 bl _LIST_INSERT_HEAD 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 b _mtx_unlock .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ic_taskq" .comm _M_WAITOK,4,2 ; @M_WAITOK .comm _M_ZERO,4,2 ; @M_ZERO .comm _taskqueue_thread_enqueue,4,2 ; @taskqueue_thread_enqueue .comm _PI_NET,4,2 ; @PI_NET l_.str.1: ; @.str.1 .asciz "%s net80211 taskq" .comm _null_update_mcast,4,2 ; @null_update_mcast .comm _null_update_promisc,4,2 ; @null_update_promisc .comm _null_update_chw,4,2 ; @null_update_chw .comm _IEEE80211_BINTVAL_DEFAULT,4,2 ; @IEEE80211_BINTVAL_DEFAULT .comm _IEEE80211_TXPOWER_MAX,4,2 ; @IEEE80211_TXPOWER_MAX .comm _ic_list_mtx,4,2 ; @ic_list_mtx .comm _ic_head,4,2 ; @ic_head .comm _ic_next,4,2 ; @ic_next .subsections_via_symbols
AnghaBench/freebsd/sys/net80211/extr_ieee80211.c_ieee80211_ifattach.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function delta_destroy _delta_destroy: ## @delta_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp decl (%rdi) movq %rsi, %rdi popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _delta_destroy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function delta_destroy _delta_destroy: ; @delta_destroy .cfi_startproc ; %bb.0: ldr w8, [x0] sub w8, w8, #1 str w8, [x0] mov x0, x1 b _kfree .cfi_endproc ; -- End function .no_dead_strip _delta_destroy .subsections_via_symbols
AnghaBench/linux/lib/extr_test_objagg.c_delta_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function lrc_write_header _lrc_write_header: ## @lrc_write_header .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 cmpl $1, (%rdi) movq 16(%rdi), %rax movq (%rax), %rdi movq (%rdi), %rax je LBB0_4 ## %bb.1: movq (%rax), %rcx movq _AVMEDIA_TYPE_SUBTITLE@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jne LBB0_2 LBB0_4: movq 8(%rax), %rax movq _AV_CODEC_ID_SUBRIP@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.5: movq _AV_CODEC_ID_TEXT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.6: movq _AV_LOG_ERROR@GOTPCREL(%rip), %rcx movl (%rcx), %r14d movq %rax, %rdi callq _avcodec_get_name leaq L_.str.1(%rip), %rdx movq %rbx, %rdi movl %r14d, %esi movl %eax, %ecx xorl %eax, %eax callq _av_log jmp LBB0_3 LBB0_7: movl $64, %esi movl $1, %edx movl $100, %ecx callq _avpriv_set_pts_info movq %rbx, %rdi callq _ff_standardize_creation_time movq _ff_lrc_metadata_conv@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %r15d, %r15d movq %rbx, %rdi xorl %edx, %edx callq _ff_metadata_conv_ctx movq _AVFMT_FLAG_BITEXACT@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 12(%rbx), %r14 orl 4(%rbx), %eax jne LBB0_9 ## %bb.8: movq _LIBAVFORMAT_VERSION@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AV_STRINGIFY movq %rax, %r15 LBB0_9: leaq L_.str.2(%rip), %rsi movq %r14, %rdi movq %r15, %rdx xorl %ecx, %ecx callq _av_dict_set movl (%r14), %edi movq _AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r13 movl (%r13), %ecx leaq L_.str.3(%rip), %rsi xorl %edx, %edx callq _av_dict_get testq %rax, %rax je LBB0_17 ## %bb.10: movq %rax, %r14 leaq L_.str.4(%rip), %r15 leaq L_.str.3(%rip), %r12 .p2align 4, 0x90 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 ## Child Loop BB0_15 Depth 2 movq (%r14), %rdi cmpl $0, (%rdi) je LBB0_17 .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movl $10, %esi callq _strchr testq %rax, %rax je LBB0_15 ## %bb.13: ## in Loop: Header=BB0_12 Depth=2 movb $32, (%rax) movq (%r14), %rdi jmp LBB0_12 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_15 Depth=2 movb $32, (%rax) LBB0_15: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r14), %rdi movl $13, %esi callq _strchr testq %rax, %rax jne LBB0_14 ## %bb.16: ## in Loop: Header=BB0_11 Depth=1 movl 8(%rbx), %edi movl 8(%r14), %edx movq (%r14), %rcx movq %r15, %rsi xorl %eax, %eax callq _avio_printf movl 12(%rbx), %edi movl (%r13), %ecx movq %r12, %rsi movq %r14, %rdx callq _av_dict_get movq %rax, %r14 testq %rax, %rax jne LBB0_11 LBB0_17: movl 8(%rbx), %edi leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _avio_printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx movq %rbx, %rdi xorl %eax, %eax callq _av_log LBB0_3: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _AVERROR ## TAILCALL .cfi_endproc ## -- End function .comm _AVMEDIA_TYPE_SUBTITLE,8,3 ## @AVMEDIA_TYPE_SUBTITLE .comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "LRC supports only a single subtitle stream.\n" .comm _EINVAL,4,2 ## @EINVAL .comm _AV_CODEC_ID_SUBRIP,8,3 ## @AV_CODEC_ID_SUBRIP .comm _AV_CODEC_ID_TEXT,8,3 ## @AV_CODEC_ID_TEXT L_.str.1: ## @.str.1 .asciz "Unsupported subtitle codec: %s\n" .comm _ff_lrc_metadata_conv,4,2 ## @ff_lrc_metadata_conv .comm _AVFMT_FLAG_BITEXACT,4,2 ## @AVFMT_FLAG_BITEXACT L_.str.2: ## @.str.2 .asciz "ve" .comm _LIBAVFORMAT_VERSION,4,2 ## @LIBAVFORMAT_VERSION L_.str.3: ## @.str.3 .space 1 .comm _AV_DICT_IGNORE_SUFFIX,4,2 ## @AV_DICT_IGNORE_SUFFIX L_.str.4: ## @.str.4 .asciz "[%s:%s]\n" L_.str.5: ## @.str.5 .asciz "\n" .no_dead_strip _lrc_write_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function lrc_write_header _lrc_write_header: ; @lrc_write_header .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w9, [x0] ldr x8, [x0, #16] ldr x0, [x8] ldr x8, [x0] cmp w9, #1 b.eq LBB0_2 ; %bb.1: ldr x9, [x8] Lloh0: adrp x10, _AVMEDIA_TYPE_SUBTITLE@GOTPAGE Lloh1: ldr x10, [x10, _AVMEDIA_TYPE_SUBTITLE@GOTPAGEOFF] Lloh2: ldr x10, [x10] cmp x9, x10 b.ne LBB0_15 LBB0_2: ldr x8, [x8, #8] Lloh3: adrp x9, _AV_CODEC_ID_SUBRIP@GOTPAGE Lloh4: ldr x9, [x9, _AV_CODEC_ID_SUBRIP@GOTPAGEOFF] Lloh5: ldr x9, [x9] Lloh6: adrp x10, _AV_CODEC_ID_TEXT@GOTPAGE Lloh7: ldr x10, [x10, _AV_CODEC_ID_TEXT@GOTPAGEOFF] Lloh8: ldr x10, [x10] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_14 ; %bb.3: mov w1, #64 ; =0x40 mov w2, #1 ; =0x1 mov w3, #100 ; =0x64 bl _avpriv_set_pts_info mov x0, x19 bl _ff_standardize_creation_time Lloh9: adrp x8, _ff_lrc_metadata_conv@GOTPAGE Lloh10: ldr x8, [x8, _ff_lrc_metadata_conv@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov x0, x19 mov x2, #0 ; =0x0 bl _ff_metadata_conv_ctx mov x2, #0 ; =0x0 ldr w8, [x19, #4] Lloh12: adrp x9, _AVFMT_FLAG_BITEXACT@GOTPAGE Lloh13: ldr x9, [x9, _AVFMT_FLAG_BITEXACT@GOTPAGEOFF] Lloh14: ldr w9, [x9] orr w8, w9, w8 cbnz w8, LBB0_5 ; %bb.4: Lloh15: adrp x8, _LIBAVFORMAT_VERSION@GOTPAGE Lloh16: ldr x8, [x8, _LIBAVFORMAT_VERSION@GOTPAGEOFF] Lloh17: ldr w0, [x8] bl _AV_STRINGIFY mov x2, x0 LBB0_5: Lloh18: adrp x1, l_.str.2@PAGE Lloh19: add x1, x1, l_.str.2@PAGEOFF add x0, x19, #12 mov w3, #0 ; =0x0 bl _av_dict_set ldur w0, [x19, #12] Lloh20: adrp x23, _AV_DICT_IGNORE_SUFFIX@GOTPAGE Lloh21: ldr x23, [x23, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF] ldr w3, [x23] Lloh22: adrp x1, l_.str.3@PAGE Lloh23: add x1, x1, l_.str.3@PAGEOFF mov x2, #0 ; =0x0 bl _av_dict_get cbz x0, LBB0_13 ; %bb.6: mov x20, x0 Lloh24: adrp x21, l_.str.4@PAGE Lloh25: add x21, x21, l_.str.4@PAGEOFF mov w24, #32 ; =0x20 Lloh26: adrp x22, l_.str.3@PAGE Lloh27: add x22, x22, l_.str.3@PAGEOFF LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_11 Depth 2 ldr x0, [x20] ldr w8, [x0] cbz w8, LBB0_13 LBB0_8: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 mov w1, #10 ; =0xa bl _strchr cbz x0, LBB0_11 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 strb w24, [x0] ldr x0, [x20] b LBB0_8 LBB0_10: ; in Loop: Header=BB0_11 Depth=2 strb w24, [x0] LBB0_11: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x0, [x20] mov w1, #13 ; =0xd bl _strchr cbnz x0, LBB0_10 ; %bb.12: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [x19, #8] ldr x8, [x20] ldr w9, [x20, #8] stp x9, x8, [sp] mov x1, x21 bl _avio_printf ldr w0, [x19, #12] ldr w3, [x23] mov x1, x22 mov x2, x20 bl _av_dict_get mov x20, x0 cbnz x0, LBB0_7 LBB0_13: ldr w0, [x19, #8] Lloh28: adrp x1, l_.str.5@PAGE Lloh29: add x1, x1, l_.str.5@PAGEOFF bl _avio_printf 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 add sp, sp, #80 ret LBB0_14: Lloh30: adrp x9, _AV_LOG_ERROR@GOTPAGE Lloh31: ldr x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF] Lloh32: ldr w20, [x9] mov x0, x8 bl _avcodec_get_name ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh33: adrp x2, l_.str.1@PAGE Lloh34: add x2, x2, l_.str.1@PAGEOFF mov x0, x19 mov x1, x20 b LBB0_16 LBB0_15: Lloh35: adrp x8, _AV_LOG_ERROR@GOTPAGE Lloh36: ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF] Lloh37: ldr w1, [x8] Lloh38: adrp x2, l_.str@PAGE Lloh39: add x2, x2, l_.str@PAGEOFF mov x0, x19 LBB0_16: bl _av_log Lloh40: adrp x8, _EINVAL@GOTPAGE Lloh41: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh42: ldr w0, [x8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b _AVERROR .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .cfi_endproc ; -- End function .comm _AVMEDIA_TYPE_SUBTITLE,8,3 ; @AVMEDIA_TYPE_SUBTITLE .comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "LRC supports only a single subtitle stream.\n" .comm _EINVAL,4,2 ; @EINVAL .comm _AV_CODEC_ID_SUBRIP,8,3 ; @AV_CODEC_ID_SUBRIP .comm _AV_CODEC_ID_TEXT,8,3 ; @AV_CODEC_ID_TEXT l_.str.1: ; @.str.1 .asciz "Unsupported subtitle codec: %s\n" .comm _ff_lrc_metadata_conv,4,2 ; @ff_lrc_metadata_conv .comm _AVFMT_FLAG_BITEXACT,4,2 ; @AVFMT_FLAG_BITEXACT l_.str.2: ; @.str.2 .asciz "ve" .comm _LIBAVFORMAT_VERSION,4,2 ; @LIBAVFORMAT_VERSION l_.str.3: ; @.str.3 .space 1 .comm _AV_DICT_IGNORE_SUFFIX,4,2 ; @AV_DICT_IGNORE_SUFFIX l_.str.4: ; @.str.4 .asciz "[%s:%s]\n" l_.str.5: ; @.str.5 .asciz "\n" .no_dead_strip _lrc_write_header .subsections_via_symbols
assembly_file_74631.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print_data _print_data: ## @print_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testl %esi, %esi je LBB0_12 ## %bb.1: movl %esi, %ebx movq %rdi, %r14 callq _util_is_printable_string testq %rax, %rax je LBB0_2 ## %bb.13: leaq L_.str(%rip), %rdi movq %r14, %rsi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _printf ## TAILCALL LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: testb $3, %bl je LBB0_3 ## %bb.8: leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf testl %ebx, %ebx jle LBB0_11 ## %bb.9: movl %ebx, %r12d decl %ebx leaq L_.str.7(%rip), %r15 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movsbl (%r14,%r13), %esi cmpl %ebx, %r13d leaq L_.str.4(%rip), %rdx leaq L_.str.3(%rip), %rax cmovlq %rax, %rdx movq %r15, %rdi xorl %eax, %eax callq _printf incq %r13 cmpl %r13d, %r12d jne LBB0_10 LBB0_11: movl $93, %edi jmp LBB0_7 LBB0_3: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf testl %ebx, %ebx jle LBB0_6 ## %bb.4: leal -4(%rbx), %r12d leaq L_.str.2(%rip), %r15 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _GET_CELL movl %eax, %edi callq _fdt32_to_cpu cmpl %r12d, %r13d leaq L_.str.4(%rip), %rdx leaq L_.str.3(%rip), %rcx cmovlq %rcx, %rdx movq %r15, %rdi movl %eax, %esi xorl %eax, %eax callq _printf addl $4, %r13d cmpl %ebx, %r13d jl LBB0_5 LBB0_6: movl $62, %edi LBB0_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " = \"%s\"" L_.str.1: ## @.str.1 .asciz " = <" L_.str.2: ## @.str.2 .asciz "0x%08x%s" L_.str.3: ## @.str.3 .asciz " " L_.str.4: ## @.str.4 .space 1 L_.str.6: ## @.str.6 .asciz " = [" L_.str.7: ## @.str.7 .asciz "%02x%s" .no_dead_strip _print_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print_data _print_data: ; @print_data .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 cbz w1, LBB0_3 ; %bb.1: mov x20, x1 mov x19, x0 bl _util_is_printable_string cbz x0, LBB0_4 ; %bb.2: str x19, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf LBB0_3: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_4: tst w20, #0x3 b.eq LBB0_9 ; %bb.5: Lloh2: adrp x0, l_.str.6@PAGE Lloh3: add x0, x0, l_.str.6@PAGEOFF bl _printf subs w21, w20, #1 b.lt LBB0_8 ; %bb.6: mov x22, #0 mov w23, w20 Lloh4: adrp x24, l_.str.4@PAGE Lloh5: add x24, x24, l_.str.4@PAGEOFF Lloh6: adrp x25, l_.str.3@PAGE Lloh7: add x25, x25, l_.str.3@PAGEOFF Lloh8: adrp x20, l_.str.7@PAGE Lloh9: add x20, x20, l_.str.7@PAGEOFF LBB0_7: ; =>This Inner Loop Header: Depth=1 ldrsb x8, [x19, x22] cmp w22, w21 csel x9, x25, x24, lt stp x8, x9, [sp] mov x0, x20 bl _printf add x22, x22, #1 cmp w23, w22 b.ne LBB0_7 LBB0_8: mov w0, #93 b LBB0_13 LBB0_9: Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF bl _printf cmp w20, #1 b.lt LBB0_12 ; %bb.10: mov w22, #0 sub w23, w20, #4 Lloh12: adrp x24, l_.str.4@PAGE Lloh13: add x24, x24, l_.str.4@PAGEOFF Lloh14: adrp x25, l_.str.3@PAGE Lloh15: add x25, x25, l_.str.3@PAGEOFF Lloh16: adrp x21, l_.str.2@PAGE Lloh17: add x21, x21, l_.str.2@PAGEOFF LBB0_11: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _GET_CELL bl _fdt32_to_cpu ; kill: def $w0 killed $w0 def $x0 cmp w22, w23 csel x8, x25, x24, lt stp x0, x8, [sp] mov x0, x21 bl _printf add w22, w22, #4 cmp w22, w20 b.lt LBB0_11 LBB0_12: mov w0, #62 LBB0_13: 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 _putchar .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " = \"%s\"" l_.str.1: ; @.str.1 .asciz " = <" l_.str.2: ; @.str.2 .asciz "0x%08x%s" l_.str.3: ; @.str.3 .asciz " " l_.str.4: ; @.str.4 .space 1 l_.str.6: ; @.str.6 .asciz " = [" l_.str.7: ; @.str.7 .asciz "%02x%s" .no_dead_strip _print_data .subsections_via_symbols
AnghaBench/linux/scripts/dtc/extr_fdtdump.c_print_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function _ccv_precomputed_expn LCPI0_0: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 __ccv_precomputed_expn: ## @_ccv_precomputed_expn .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 _EXPN_SZ@GOTPCREL(%rip), %rbx movl (%rbx), %ecx testl %ecx, %ecx js LBB0_3 ## %bb.1: xorl %r14d, %r14d movq _EXPN_MAX@GOTPCREL(%rip), %r15 movq __ccv_expn_tab@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 xorps %xmm1, %xmm1 cvtsi2sd %r14d, %xmm1 xorpd LCPI0_0(%rip), %xmm1 movl (%r15), %eax cltd idivl %ecx xorps %xmm0, %xmm0 cvtsi2sd %eax, %xmm0 mulsd %xmm1, %xmm0 callq _exp movq (%r12), %rcx movl %eax, (%rcx,%r14,4) leaq 1(%r14), %rax movslq (%rbx), %rcx cmpq %rcx, %r14 movq %rax, %r14 jl LBB0_2 LBB0_3: movq __ccv_expn_init@GOTPCREL(%rip), %rax movl $1, (%rax) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_3941 ## @g_aug_volatile_3941 .p2align 2, 0x0 _g_aug_volatile_3941: .long 3 ## 0x3 .comm _EXPN_SZ,4,2 ## @EXPN_SZ .comm _EXPN_MAX,4,2 ## @EXPN_MAX .comm __ccv_expn_tab,8,3 ## @_ccv_expn_tab .comm __ccv_expn_init,4,2 ## @_ccv_expn_init .no_dead_strip __ccv_precomputed_expn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _ccv_precomputed_expn __ccv_precomputed_expn: ; @_ccv_precomputed_expn .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 Lloh0: adrp x19, _EXPN_SZ@GOTPAGE Lloh1: ldr x19, [x19, _EXPN_SZ@GOTPAGEOFF] ldr w8, [x19] tbnz w8, #31, LBB0_3 ; %bb.1: mov x20, #0 ; =0x0 Lloh2: adrp x21, _EXPN_MAX@GOTPAGE Lloh3: ldr x21, [x21, _EXPN_MAX@GOTPAGEOFF] Lloh4: adrp x22, __ccv_expn_tab@GOTPAGE Lloh5: ldr x22, [x22, __ccv_expn_tab@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ucvtf d0, w20 ldr w9, [x21] sdiv w8, w9, w8 scvtf d1, w8 fnmul d0, d0, d1 bl _exp ldr x8, [x22] str w0, [x8, x20, lsl #2] add x9, x20, #1 ldrsw x8, [x19] cmp x20, x8 mov x20, x9 b.lt LBB0_2 LBB0_3: Lloh6: adrp x8, __ccv_expn_init@GOTPAGE Lloh7: ldr x8, [x8, __ccv_expn_init@GOTPAGEOFF] mov w9, #1 ; =0x1 Lloh8: str w9, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_3941 ; @g_aug_volatile_3941 .p2align 2, 0x0 _g_aug_volatile_3941: .long 3 ; 0x3 .comm _EXPN_SZ,4,2 ; @EXPN_SZ .comm _EXPN_MAX,4,2 ; @EXPN_MAX .comm __ccv_expn_tab,8,3 ; @_ccv_expn_tab .comm __ccv_expn_init,4,2 ; @_ccv_expn_init .no_dead_strip __ccv_precomputed_expn .subsections_via_symbols
assembly_file_80627.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function aindex _aindex: ## @aindex .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 $48, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movslq %edx, %rdx movb $0, -80(%rbp,%rdx) movq (%rsi), %rsi leaq -80(%rbp), %rdi ## kill: def $edx killed $edx killed $rdx callq _strncpy movl %eax, %edi callq _strlen testl %eax, %eax js LBB0_3 ## %bb.1: movl %eax, %r14d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl -80(%rbp,%r12), %edi callq _tolower movb %al, -80(%rbp,%r12) decq %r12 cmpq %r14, %r12 jle LBB0_2 LBB0_3: movq (%r15), %rsi testq %rsi, %rsi je LBB0_4 ## %bb.5: xorl %r12d, %r12d leaq -80(%rbp), %r14 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _strcmp testq %rax, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq 8(%r15,%r12,8), %rsi incq %r12 testq %rsi, %rsi jne LBB0_6 jmp LBB0_9 LBB0_4: xorl %r14d, %r14d jmp LBB0_10 LBB0_8: movl $-1, %r14d cmpq $0, (%r15,%r12,8) jne LBB0_19 LBB0_9: movl %r12d, %r14d LBB0_10: movq (%rbx), %rax movzbl (%rax), %ecx testb %cl, %cl je LBB0_14 .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movzbl %cl, %edi callq _isalpha movq (%rbx), %rcx testq %rax, %rax je LBB0_13 ## %bb.21: ## in Loop: Header=BB0_12 Depth=1 leaq 1(%rcx), %rax movq %rax, (%rbx) movzbl 1(%rcx), %ecx testb %cl, %cl jne LBB0_12 jmp LBB0_14 LBB0_13: movq %rcx, %rax jmp LBB0_14 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_14 Depth=1 movq (%rbx), %rax LBB0_18: ## in Loop: Header=BB0_14 Depth=1 incq %rax movq %rax, (%rbx) LBB0_14: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %ecx cmpl $44, %ecx je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 testl %ecx, %ecx je LBB0_19 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movzbl %cl, %edi callq _isspace testq %rax, %rax jne LBB0_17 LBB0_19: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_20 ## %bb.22: movl %r14d, %eax addq $48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _aindex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function aindex _aindex: ; @aindex .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 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] add x20, sp, #8 strb wzr, [x20, w2, sxtw] ldr x1, [x1] add x0, sp, #8 bl _strncpy bl _strlen tbnz w0, #31, LBB0_3 ; %bb.1: mov x22, #0 ; =0x0 mov w23, w0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w0, [x20, x22] bl _tolower strb w0, [x20, x22] sub x22, x22, #1 cmp x22, x23 b.le LBB0_2 LBB0_3: ldr x1, [x21] cbz x1, LBB0_7 ; %bb.4: mov w20, #0 ; =0x0 add x21, x21, #8 LBB0_5: ; =>This Inner Loop Header: Depth=1 add x0, sp, #8 bl _strcmp cbz x0, LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x1, [x21], #8 add w20, w20, #1 cbnz x1, LBB0_5 b LBB0_12 LBB0_7: mov w20, #0 ; =0x0 b LBB0_12 LBB0_8: ldur x8, [x21, #-8] cbz x8, LBB0_12 ; %bb.9: mov w20, #-1 ; =0xffffffff LBB0_10: ldr x8, [sp, #40] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.11: mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_12: ldr x8, [x19] ldrb w9, [x8] cbz w9, LBB0_17 LBB0_13: ; =>This Inner Loop Header: Depth=1 and w0, w9, #0xff bl _isalpha ldr x8, [x19] cbz x0, LBB0_17 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 add x10, x8, #1 str x10, [x19] ldrb w9, [x8, #1] cbnz w9, LBB0_13 ; %bb.15: mov x8, x10 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 add x8, x8, #1 str x8, [x19] LBB0_17: ; =>This Inner Loop Header: Depth=1 ldrb w0, [x8] cmp w0, #44 b.eq LBB0_16 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 cbz w0, LBB0_10 ; %bb.19: ; in Loop: Header=BB0_17 Depth=1 bl _isspace cbz x0, LBB0_10 ; %bb.20: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x19] b LBB0_16 LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .no_dead_strip _aindex .subsections_via_symbols
assembly_file_19251.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf cmpl $25, -12(%rbp) leaq L_str.5(%rip), %rax leaq L_str(%rip), %rdi cmovgeq %rax, %rdi cmpl $6, -16(%rbp) cmovgeq %rax, %rdi callq _puts xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Digite quantos litros de gasolina no tanque: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Digite o limite disponivel no cartao: " L_str: ## @str .asciz "Va nao." L_str.5: ## @str.5 .asciz "Pode ir." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #8] cmp w9, #24 ccmp w8, #5, #0, le Lloh6: adrp x8, l_str@PAGE Lloh7: add x8, x8, l_str@PAGEOFF Lloh8: adrp x9, l_str.5@PAGE Lloh9: add x9, x9, l_str.5@PAGEOFF csel x0, x9, x8, gt bl _puts mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Digite quantos litros de gasolina no tanque: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Digite o limite disponivel no cartao: " l_str: ; @str .asciz "Va nao." l_str.5: ; @str.5 .asciz "Pode ir." .subsections_via_symbols
the_stack_data/138852.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _print_cert_checks ## -- Begin function print_cert_checks .p2align 4, 0x90 _print_cert_checks: ## @print_cert_checks .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 testq %rsi, %rsi je LBB0_6 ## %bb.1: movq %r8, %r15 movq %rcx, %r12 movq %rdx, %rbx movq %rsi, %r13 movq %rdi, %r14 testq %rdx, %rdx je LBB0_3 ## %bb.2: movq %r13, %rdi movq %rbx, %rsi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _X509_check_host cmpl $1, %eax leaq L_.str.1(%rip), %rax leaq L_.str.2(%rip), %rcx cmoveq %rax, %rcx leaq L_.str(%rip), %rsi movq %r14, %rdi movq %rbx, %rdx callq _BIO_printf LBB0_3: testq %r12, %r12 je LBB0_5 ## %bb.4: movq %r13, %rdi movq %r12, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _X509_check_email testq %rax, %rax leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rcx cmoveq %rax, %rcx leaq L_.str.3(%rip), %rsi movq %r14, %rdi movq %r12, %rdx callq _BIO_printf LBB0_5: testq %r15, %r15 je LBB0_6 ## %bb.7: movq %r13, %rdi movq %r15, %rsi xorl %edx, %edx callq _X509_check_ip_asc testq %rax, %rax leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rcx cmoveq %rax, %rcx leaq L_.str.4(%rip), %rsi movq %r14, %rdi movq %r15, %rdx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _BIO_printf ## TAILCALL LBB0_6: 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 "Hostname %s does%s match certificate\n" L_.str.1: ## @.str.1 .space 1 L_.str.2: ## @.str.2 .asciz " NOT" L_.str.3: ## @.str.3 .asciz "Email %s does%s match certificate\n" L_.str.4: ## @.str.4 .asciz "IP %s does%s match certificate\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _print_cert_checks ; -- Begin function print_cert_checks .p2align 2 _print_cert_checks: ; @print_cert_checks .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 cbz x1, LBB0_7 ; %bb.1: mov x19, x4 mov x22, x3 mov x23, x2 mov x21, x1 mov x20, x0 Lloh0: adrp x24, l_.str.1@PAGE Lloh1: add x24, x24, l_.str.1@PAGEOFF Lloh2: adrp x25, l_.str.2@PAGE Lloh3: add x25, x25, l_.str.2@PAGEOFF cbz x2, LBB0_3 ; %bb.2: mov x0, x21 mov x1, x23 mov w2, #0 mov w3, #0 mov x4, #0 bl _X509_check_host cmp w0, #1 csel x3, x24, x25, eq Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov x2, x23 bl _BIO_printf LBB0_3: cbz x22, LBB0_5 ; %bb.4: mov x0, x21 mov x1, x22 mov w2, #0 mov w3, #0 bl _X509_check_email cmp x0, #0 csel x3, x25, x24, eq Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 mov x2, x22 bl _BIO_printf LBB0_5: cbz x19, LBB0_7 ; %bb.6: mov x0, x21 mov x1, x19 mov w2, #0 bl _X509_check_ip_asc cmp x0, #0 csel x3, x25, x24, eq Lloh8: adrp x1, l_.str.4@PAGE Lloh9: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 mov x2, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _BIO_printf LBB0_7: 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 Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hostname %s does%s match certificate\n" l_.str.1: ; @.str.1 .space 1 l_.str.2: ; @.str.2 .asciz " NOT" l_.str.3: ; @.str.3 .asciz "Email %s does%s match certificate\n" l_.str.4: ; @.str.4 .asciz "IP %s does%s match certificate\n" .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/apps/extr_apps.c_print_cert_checks.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _getpid leaq L_.str(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _printf xorl %edi, %edi callq _sbrk leaq L_.str.1(%rip), %rbx movq %rbx, %rdi movq %rax, %rsi xorl %eax, %eax callq _printf xorl %edi, %edi callq _sbrk leaq 1024(%rax), %rdi callq _brk xorl %edi, %edi callq _sbrk movq %rbx, %rdi movq %rax, %rsi xorl %eax, %eax callq _printf callq _getchar xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Current program pid %d\n" L_.str.1: ## @.str.1 .asciz "Current break location %p\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _getpid ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 bl _sbrk str x0, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _printf mov w0, #0 bl _sbrk add x0, x0, #1024 bl _brk mov w0, #0 bl _sbrk str x0, [sp] mov x0, x19 bl _printf bl _getchar mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Current program pid %d\n" l_.str.1: ; @.str.1 .asciz "Current break location %p\n" .subsections_via_symbols
the_stack_data/167329369.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function fetch_aton_digit _fetch_aton_digit: ## @fetch_aton_digit .cfi_startproc ## %bb.0: cmpq %rsi, %rdi setne %cl movzbl (%rdi), %eax leal -48(%rax), %r8d cmpb $10, %r8b setb %r8b orb %cl, %r8b cmpb $1, %r8b jne LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %ecx, %ecx movl $1, %r8d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 leal (%rcx,%rcx,4), %ecx movsbl %al, %r9d movzbl 1(%rdi), %eax incq %rdi leal (%r9,%rcx,2), %ecx addl $-48, %ecx cmpq %rsi, %rdi setne %r9b movl %eax, %r10d addb $-48, %r10b cmpb $10, %r10b setb %r10b orb %r9b, %r10b decq %r8 testb %r10b, %r10b jne LBB0_3 ## %bb.4: negq %r8 cmpq $3, %r8 setae %sil popq %rbp jmp LBB0_5 LBB0_1: xorl %ecx, %ecx movb $1, %sil LBB0_5: xorl %eax, %eax testb %sil, %sil jne LBB0_8 ## %bb.6: cmpl $254, %ecx jg LBB0_8 ## %bb.7: movb %cl, (%rdx) movq %rdi, %rax LBB0_8: retq .cfi_endproc ## -- End function .no_dead_strip _fetch_aton_digit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function fetch_aton_digit _fetch_aton_digit: ; @fetch_aton_digit .cfi_startproc ; %bb.0: ldrb w9, [x0] cmp x0, x1 b.ne LBB0_4 ; %bb.1: sub w8, w9, #48 and w8, w8, #0xff cmp w8, #9 b.ls LBB0_4 ; %bb.2: mov w8, #0 ; =0x0 mov w9, #1 ; =0x1 mov x1, #0 ; =0x0 tbz w9, #0, LBB0_8 LBB0_3: mov x0, x1 ret LBB0_4: mov w8, #0 ; =0x0 mov w10, #1 ; =0x1 mov w11, #10 ; =0xa LBB0_5: ; =>This Inner Loop Header: Depth=1 mul w8, w8, w11 add w8, w8, w9, sxtb ldrb w9, [x0, #1]! sub w8, w8, #48 sub x10, x10, #1 cmp x0, x1 b.ne LBB0_5 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 sub w12, w9, #48 and w12, w12, #0xff cmp w12, #10 b.lo LBB0_5 ; %bb.7: neg x9, x10 cmp x9, #2 cset w9, hi mov x1, #0 ; =0x0 tbnz w9, #0, LBB0_3 LBB0_8: cmp w8, #254 b.gt LBB0_3 ; %bb.9: strb w8, [x2] mov x1, x0 mov x0, x1 ret .cfi_endproc ; -- End function .no_dead_strip _fetch_aton_digit .subsections_via_symbols
assembly_file_70941.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hw_ep_get_halt _hw_ep_get_halt: ## @hw_ep_get_halt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %esi, %esi jne LBB0_1 ## %bb.2: movq _ENDPTCTRL_RXS@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _ENDPTCTRL_TXS@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %esi movq _CAP_ENDPTCTRL@GOTPCREL(%rip), %rax movslq %edi, %rdi shlq $2, %rdi addq (%rax), %rdi callq _hw_cread xorl %ecx, %ecx testq %rax, %rax setne %cl movl %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENDPTCTRL_TXS,4,2 ## @ENDPTCTRL_TXS .comm _ENDPTCTRL_RXS,4,2 ## @ENDPTCTRL_RXS .comm _CAP_ENDPTCTRL,8,3 ## @CAP_ENDPTCTRL .no_dead_strip _hw_ep_get_halt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hw_ep_get_halt _hw_ep_get_halt: ; @hw_ep_get_halt .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, _ENDPTCTRL_TXS@GOTPAGE Lloh1: ldr x8, [x8, _ENDPTCTRL_TXS@GOTPAGEOFF] Lloh2: adrp x9, _ENDPTCTRL_RXS@GOTPAGE Lloh3: ldr x9, [x9, _ENDPTCTRL_RXS@GOTPAGEOFF] cmp w1, #0 csel x8, x9, x8, eq ldr w1, [x8] Lloh4: adrp x8, _CAP_ENDPTCTRL@GOTPAGE Lloh5: ldr x8, [x8, _CAP_ENDPTCTRL@GOTPAGEOFF] Lloh6: ldr x8, [x8] add x0, x8, w0, sxtw #2 bl _hw_cread cmp x0, #0 cset w0, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ENDPTCTRL_TXS,4,2 ; @ENDPTCTRL_TXS .comm _ENDPTCTRL_RXS,4,2 ; @ENDPTCTRL_RXS .comm _CAP_ENDPTCTRL,8,3 ; @CAP_ENDPTCTRL .no_dead_strip _hw_ep_get_halt .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_ci13xxx_udc.c_hw_ep_get_halt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $104, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) leaq L_.str(%rip), %rdi leaq -116(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -116(%rbp) jle LBB0_6 ## %bb.1: leaq -112(%rbp), %r15 leaq L_.str(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf incq %rbx movslq -116(%rbp), %rax addq $4, %r15 cmpq %rax, %rbx jl LBB0_2 ## %bb.3: movl %eax, %ebx testl %ebx, %ebx jle LBB0_6 ## %bb.4: incq %rbx leaq L_.str.1(%rip), %r14 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 leal -2(%rbx), %eax movl -112(%rbp,%rax,4), %esi movq %r14, %rdi xorl %eax, %eax callq _printf decq %rbx cmpq $1, %rbx ja LBB0_5 LBB0_6: movl $10, %edi callq _putchar movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_8 ## %bb.7: xorl %eax, %eax addq $104, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x8, sp, #20 str x8, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #20] cmp w8, #1 b.lt LBB0_6 ; %bb.1: mov x20, #0 add x21, sp, #24 Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x19 bl _scanf add x20, x20, #1 ldrsw x8, [sp, #20] add x21, x21, #4 cmp x20, x8 b.lt LBB0_2 ; %bb.3: and x8, x8, #0xffffffff cmp w8, #1 b.lt LBB0_6 ; %bb.4: add x20, x8, #1 add x21, sp, #24 Lloh7: adrp x19, l_.str.1@PAGE Lloh8: add x19, x19, l_.str.1@PAGEOFF LBB0_5: ; =>This Inner Loop Header: Depth=1 sub w8, w20, #2 ldr w8, [x21, w8, uxtw #2] str x8, [sp] mov x0, x19 bl _printf sub x20, x20, #1 cmp x20, #1 b.hi LBB0_5 LBB0_6: mov w0, #10 bl _putchar ldur x8, [x29, #-40] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_8 ; %bb.7: 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 add sp, sp, #160 ret LBB0_8: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d " .subsections_via_symbols
the_stack_data/19140.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hpfs_rename _hpfs_rename: ## @hpfs_rename .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -72(%rbp) ## 8-byte Spill movq %rdi, %r15 movq 16(%rsi), %r14 movl 8(%rsi), %eax movl %eax, -80(%rbp) movq 16(%rcx), %rbx movl 8(%rcx), %eax movl %eax, -44(%rbp) movq (%rsi), %r13 movq (%rcx), %r12 leaq -44(%rbp), %rsi movq %rbx, %rdi callq _hpfs_chk_name ## kill: def $eax killed $eax def $rax testl %eax, %eax jne LBB0_45 ## %bb.1: movq %rbx, -88(%rbp) ## 8-byte Spill movq %r15, -96(%rbp) ## 8-byte Spill leaq -80(%rbp), %rsi movq %r14, %rdi callq _hpfs_adjust_length xorl %eax, %eax callq _lock_kernel movq %r13, -64(%rbp) ## 8-byte Spill movq %r13, %rdi callq _hpfs_i movq %rax, %rdi callq _mutex_lock testq %r12, %r12 movq %r12, %rbx je LBB0_3 ## %bb.2: movq %rbx, %rdi callq _hpfs_i movq %rax, %rdi callq _mutex_lock LBB0_3: movq -96(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi callq _hpfs_i leaq 4(%rax), %rdi callq _mutex_lock movq -72(%rbp), %rdi ## 8-byte Reload cmpq %r13, %rdi je LBB0_5 ## %bb.4: callq _hpfs_i leaq 4(%rax), %rdi callq _mutex_lock LBB0_5: testq %rbx, %rbx je LBB0_8 ## %bb.6: movl 8(%rbx), %edi callq _S_ISDIR testq %rax, %rax je LBB0_8 ## %bb.7: movq _EINVAL@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d jmp LBB0_12 LBB0_8: movq %rbx, -56(%rbp) ## 8-byte Spill movq %r13, %rdi callq _hpfs_i movl 16(%rax), %esi movl -80(%rbp), %ecx leaq -76(%rbp), %r8 leaq -48(%rbp), %r9 movq %r13, %rdi movq %r14, %rdx callq _map_dirent testq %rax, %rax je LBB0_14 ## %bb.9: movq %rax, %rbx leaq -136(%rbp), %rdi movq %rax, %rsi callq _copy_de xorl %eax, %eax movq -88(%rbp), %rcx ## 8-byte Reload cmpb $46, (%rcx) sete %al movl %eax, -136(%rbp) cmpq $0, -56(%rbp) ## 8-byte Folded Reload je LBB0_15 ## %bb.10: movl -76(%rbp), %esi leaq -48(%rbp), %rcx movq %r13, %rdi movq %rbx, %rdx movl $1, %r8d callq _hpfs_remove_dirent cmpl $2, %eax jne LBB0_22 ## %bb.11: movq _ENOSPC@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d movq -56(%rbp), %rbx ## 8-byte Reload LBB0_12: movq -64(%rbp), %r15 ## 8-byte Reload jmp LBB0_13 LBB0_14: movq -64(%rbp), %r15 ## 8-byte Reload movl (%r15), %edi leaq L_.str(%rip), %rsi callq _hpfs_error movq _ENOENT@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d movq -56(%rbp), %rbx ## 8-byte Reload LBB0_13: movq -72(%rbp), %r14 ## 8-byte Reload cmpq %r13, %r14 je LBB0_42 LBB0_41: movq %r14, %rdi callq _hpfs_i leaq 4(%rax), %rdi callq _mutex_unlock LBB0_42: movq %r13, %rdi callq _hpfs_i leaq 4(%rax), %rdi callq _mutex_unlock movq %r15, %rdi callq _hpfs_i movq %rax, %rdi callq _mutex_unlock testq %rbx, %rbx je LBB0_44 ## %bb.43: movq %rbx, %rdi callq _hpfs_i movq %rax, %rdi callq _mutex_unlock LBB0_44: xorl %eax, %eax callq _unlock_kernel movq %r12, %rax LBB0_45: ## kill: def $eax killed $eax killed $rax addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: movq %r14, -120(%rbp) ## 8-byte Spill movq -72(%rbp), %r14 ## 8-byte Reload cmpq %r13, %r14 jne LBB0_17 ## %bb.16: leaq -48(%rbp), %rdi callq _hpfs_brelse4 LBB0_17: movq -64(%rbp), %r15 ## 8-byte Reload movl (%r15), %edi callq _hpfs_lock_creation movl -44(%rbp), %edx leaq -136(%rbp), %rcx movq %r14, %rdi movq -88(%rbp), %rsi ## 8-byte Reload movl $1, %r8d callq _hpfs_add_dirent testl %eax, %eax je LBB0_31 ## %bb.18: movl %eax, %r13d movl (%r15), %edi callq _hpfs_unlock_creation cmpl $-1, %r13d jne LBB0_20 ## %bb.19: movq -72(%rbp), %rax ## 8-byte Reload movl (%rax), %edi leaq L_.str.2(%rip), %rsi callq _hpfs_error LBB0_20: cmpl $1, %r13d movq -56(%rbp), %rbx ## 8-byte Reload jne LBB0_36 ## %bb.21: movq _ENOSPC@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_22: movq -72(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi callq _hpfs_i movl 16(%rax), %esi movl -44(%rbp), %ecx xorl %r12d, %r12d leaq -104(%rbp), %r9 movq %r14, %rdi movq -88(%rbp), %rdx ## 8-byte Reload xorl %r8d, %r8d callq _map_dirent testq %rax, %rax movq -64(%rbp), %r15 ## 8-byte Reload je LBB0_39 ## %bb.23: movq %rax, %rbx movq -56(%rbp), %rdi ## 8-byte Reload callq _clear_nlink leaq -136(%rbp), %rsi movq %rbx, %rdi callq _copy_de movq 8(%rbx), %rdi movl -44(%rbp), %edx movq -88(%rbp), %r12 ## 8-byte Reload movq %r12, %rsi callq _memcpy leaq -104(%rbp), %rbx movq %rbx, %rdi callq _hpfs_mark_4buffers_dirty movq %rbx, %rdi callq _hpfs_brelse4 LBB0_24: movl 4(%r14), %ebx movq %r15, %rdi callq _hpfs_i movl %ebx, 12(%rax) movl 8(%r15), %edi callq _S_ISDIR testq %rax, %rax je LBB0_26 ## %bb.25: movq %r14, %rdi callq _inc_nlink movq %r13, %rdi callq _drop_nlink LBB0_26: movl (%r15), %edi movl 4(%r15), %esi leaq -112(%rbp), %rdx callq _hpfs_map_fnode testq %rax, %rax je LBB0_30 ## %bb.27: movq %rax, %rbx movl 4(%r14), %eax movl %eax, 16(%rbx) movl -44(%rbp), %eax movl %eax, (%rbx) movq 8(%rbx), %rdi movl -44(%rbp), %edx cmpl $15, %edx movl $15, %r15d cmovgel %r15d, %edx movq %r12, %rsi callq _memcpy movslq -44(%rbp), %rax cmpq $14, %rax jg LBB0_29 ## %bb.28: movq %rax, %rdi shlq $2, %rdi addq 8(%rbx), %rdi subl %eax, %r15d xorl %esi, %esi movl %r15d, %edx callq _memset LBB0_29: movq -112(%rbp), %rdi callq _mark_buffer_dirty movq -112(%rbp), %rdi callq _brelse movq -64(%rbp), %r15 ## 8-byte Reload LBB0_30: movl (%r15), %edi callq _hpfs_sb movl (%rax), %ebx movq %r15, %rdi callq _hpfs_i movl %ebx, 8(%rax) movl -44(%rbp), %edx movq %r15, %rdi movq %r12, %rsi callq _hpfs_decide_conv xorl %r12d, %r12d jmp LBB0_40 LBB0_31: movq -96(%rbp), %r13 ## 8-byte Reload cmpq %r13, %r14 jne LBB0_33 ## %bb.32: movq %r14, %rdi callq _hpfs_i movl 16(%rax), %esi movl -80(%rbp), %ecx leaq -76(%rbp), %r8 leaq -48(%rbp), %r9 movq %r14, %rdi movq -120(%rbp), %rdx ## 8-byte Reload callq _map_dirent movq %rax, %rbx testq %rax, %rax je LBB0_48 LBB0_33: movl -76(%rbp), %esi leaq -48(%rbp), %rcx movq %r13, %rdi movq %rbx, %rdx xorl %r8d, %r8d callq _hpfs_remove_dirent movl %eax, %ebx movq -64(%rbp), %r15 ## 8-byte Reload movl (%r15), %edi callq _hpfs_unlock_creation testl %ebx, %ebx movq -88(%rbp), %r12 ## 8-byte Reload je LBB0_24 ## %bb.34: movl (%r15), %edi leaq L_.str.4(%rip), %rsi callq _hpfs_error cmpl $2, %ebx jne LBB0_46 ## %bb.35: movq _ENOSPC@GOTPCREL(%rip), %rax jmp LBB0_47 LBB0_36: movq _EFSERROR@GOTPCREL(%rip), %rax LBB0_37: movq -96(%rbp), %r13 ## 8-byte Reload xorl %r12d, %r12d subl (%rax), %r12d movq -72(%rbp), %r14 ## 8-byte Reload cmpq %r13, %r14 je LBB0_42 ## %bb.38: leaq -48(%rbp), %rdi callq _hpfs_brelse4 jmp LBB0_41 LBB0_39: movl (%r14), %edi leaq L_.str.1(%rip), %rsi callq _hpfs_error movq _EFSERROR@GOTPCREL(%rip), %rax subl (%rax), %r12d LBB0_40: movq -56(%rbp), %rbx ## 8-byte Reload cmpq %r13, %r14 jne LBB0_41 jmp LBB0_42 LBB0_46: movq _EFSERROR@GOTPCREL(%rip), %rax LBB0_47: movq -56(%rbp), %rbx ## 8-byte Reload xorl %r12d, %r12d subl (%rax), %r12d cmpq %r13, %r14 jne LBB0_41 jmp LBB0_42 LBB0_48: movq -64(%rbp), %r15 ## 8-byte Reload movl (%r15), %edi callq _hpfs_unlock_creation movl (%r15), %edi leaq L_.str.3(%rip), %rsi callq _hpfs_error movq _ENOENT@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d movq -56(%rbp), %rbx ## 8-byte Reload jmp LBB0_42 .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lookup succeeded but map dirent failed" .comm _ENOENT,4,2 ## @ENOENT L_.str.1: ## @.str.1 .asciz "hpfs_rename: could not find dirent" .comm _EFSERROR,4,2 ## @EFSERROR .comm _ENOSPC,4,2 ## @ENOSPC L_.str.2: ## @.str.2 .asciz "hpfs_rename: dirent already exists!" L_.str.3: ## @.str.3 .asciz "lookup succeeded but map dirent failed at #2" L_.str.4: ## @.str.4 .asciz "hpfs_rename: could not remove dirent" .no_dead_strip _hpfs_rename .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hpfs_rename _hpfs_rename: ; @hpfs_rename .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 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 mov x22, x2 mov x21, x0 ldr x24, [x1, #16] ldr w9, [x1, #8] ldr x23, [x3, #16] ldr w8, [x3, #8] stp w8, w9, [sp, #56] ldr x20, [x1] ldr x19, [x3] add x1, sp, #56 mov x0, x23 bl _hpfs_chk_name mov x25, x0 cbnz w0, LBB0_18 ; %bb.1: add x1, sp, #60 mov x0, x24 bl _hpfs_adjust_length bl _lock_kernel mov x0, x20 bl _hpfs_i bl _mutex_lock cbz x19, LBB0_3 ; %bb.2: mov x0, x19 bl _hpfs_i bl _mutex_lock LBB0_3: mov x0, x21 bl _hpfs_i add x0, x0, #4 bl _mutex_lock cmp x22, x21 b.eq LBB0_5 ; %bb.4: mov x0, x22 bl _hpfs_i add x0, x0, #4 bl _mutex_lock LBB0_5: cbz x19, LBB0_8 ; %bb.6: ldr w0, [x19, #8] bl _S_ISDIR cbz x0, LBB0_8 ; %bb.7: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_13 LBB0_8: mov x0, x21 bl _hpfs_i ldr w1, [x0, #16] ldr w3, [sp, #60] add x4, sp, #20 add x5, sp, #48 mov x0, x21 mov x2, x24 bl _map_dirent cbz x0, LBB0_12 ; %bb.9: mov x25, x0 add x0, sp, #24 mov x1, x25 bl _copy_de ldrb w8, [x23] cmp w8, #46 cset w8, eq str w8, [sp, #24] cbz x19, LBB0_19 ; %bb.10: ldr w1, [sp, #20] add x3, sp, #48 mov x0, x21 mov x2, x25 mov w4, #1 bl _hpfs_remove_dirent cmp w0, #2 b.ne LBB0_26 ; %bb.11: Lloh2: adrp x8, _ENOSPC@GOTPAGE Lloh3: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] b LBB0_13 LBB0_12: ldr w0, [x20] Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF bl _hpfs_error Lloh6: adrp x8, _ENOENT@GOTPAGE Lloh7: ldr x8, [x8, _ENOENT@GOTPAGEOFF] LBB0_13: ldr w8, [x8] neg w25, w8 cmp x22, x21 b.eq LBB0_15 LBB0_14: mov x0, x22 bl _hpfs_i add x0, x0, #4 bl _mutex_unlock LBB0_15: mov x0, x21 bl _hpfs_i add x0, x0, #4 bl _mutex_unlock mov x0, x20 bl _hpfs_i bl _mutex_unlock cbz x19, LBB0_17 ; %bb.16: mov x0, x19 bl _hpfs_i bl _mutex_unlock LBB0_17: bl _unlock_kernel LBB0_18: mov x0, x25 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 add sp, sp, #144 ret LBB0_19: cmp x22, x21 b.ne LBB0_21 ; %bb.20: add x0, sp, #48 bl _hpfs_brelse4 LBB0_21: ldr w0, [x20] bl _hpfs_lock_creation ldr w2, [sp, #56] add x3, sp, #24 mov x0, x22 mov x1, x23 mov w4, #1 bl _hpfs_add_dirent cbz w0, LBB0_35 ; %bb.22: mov x26, x0 ldr w0, [x20] bl _hpfs_unlock_creation cmn w26, #1 b.ne LBB0_24 ; %bb.23: ldr w0, [x22] Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF bl _hpfs_error LBB0_24: Lloh10: adrp x8, _ENOSPC@GOTPAGE Lloh11: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] Lloh12: adrp x9, _EFSERROR@GOTPAGE Lloh13: ldr x9, [x9, _EFSERROR@GOTPAGEOFF] cmp w26, #1 csel x8, x8, x9, eq ldr w8, [x8] neg w25, w8 cmp x22, x21 b.eq LBB0_15 ; %bb.25: add x0, sp, #48 bl _hpfs_brelse4 b LBB0_14 LBB0_26: mov x0, x22 bl _hpfs_i ldr w1, [x0, #16] ldr w3, [sp, #56] add x5, sp, #40 mov x0, x22 mov x2, x23 mov x4, #0 bl _map_dirent cbz x0, LBB0_39 ; %bb.27: mov x24, x0 mov x0, x19 bl _clear_nlink add x1, sp, #24 mov x0, x24 bl _copy_de ldr x0, [x24, #8] ldr w2, [sp, #56] mov x1, x23 bl _memcpy add x0, sp, #40 bl _hpfs_mark_4buffers_dirty add x0, sp, #40 bl _hpfs_brelse4 LBB0_28: ldr w24, [x22, #4] mov x0, x20 bl _hpfs_i str w24, [x0, #12] ldr w0, [x20, #8] bl _S_ISDIR cbz x0, LBB0_30 ; %bb.29: mov x0, x22 bl _inc_nlink mov x0, x21 bl _drop_nlink LBB0_30: ldp w0, w1, [x20] add x2, sp, #8 bl _hpfs_map_fnode cbz x0, LBB0_34 ; %bb.31: mov x24, x0 ldr w8, [x22, #4] str w8, [x0, #16] ldr w8, [sp, #56] str w8, [x0] ldr x0, [x0, #8] ldr w8, [sp, #56] mov w25, #15 cmp w8, #15 csel w2, w8, w25, lt mov x1, x23 bl _memcpy ldrsw x8, [sp, #56] cmp w8, #14 b.gt LBB0_33 ; %bb.32: ldr x9, [x24, #8] add x0, x9, x8, lsl #2 sub w2, w25, w8 mov w1, #0 bl _memset LBB0_33: ldr x0, [sp, #8] bl _mark_buffer_dirty ldr x0, [sp, #8] bl _brelse LBB0_34: ldr w0, [x20] bl _hpfs_sb ldr w24, [x0] mov x0, x20 bl _hpfs_i str w24, [x0, #8] ldr w2, [sp, #56] mov x0, x20 mov x1, x23 bl _hpfs_decide_conv mov w25, #0 cmp x22, x21 b.ne LBB0_14 b LBB0_15 LBB0_35: cmp x22, x21 b.ne LBB0_37 ; %bb.36: mov x0, x22 bl _hpfs_i ldr w1, [x0, #16] ldr w3, [sp, #60] add x4, sp, #20 add x5, sp, #48 mov x0, x22 mov x2, x24 bl _map_dirent mov x25, x0 cbz x0, LBB0_40 LBB0_37: ldr w1, [sp, #20] add x3, sp, #48 mov x0, x21 mov x2, x25 mov w4, #0 bl _hpfs_remove_dirent mov x24, x0 ldr w0, [x20] bl _hpfs_unlock_creation cbz w24, LBB0_28 ; %bb.38: ldr w0, [x20] Lloh14: adrp x1, l_.str.4@PAGE Lloh15: add x1, x1, l_.str.4@PAGEOFF bl _hpfs_error Lloh16: adrp x8, _ENOSPC@GOTPAGE Lloh17: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] Lloh18: adrp x9, _EFSERROR@GOTPAGE Lloh19: ldr x9, [x9, _EFSERROR@GOTPAGEOFF] cmp w24, #2 csel x8, x8, x9, eq b LBB0_13 LBB0_39: ldr w0, [x22] Lloh20: adrp x1, l_.str.1@PAGE Lloh21: add x1, x1, l_.str.1@PAGEOFF bl _hpfs_error Lloh22: adrp x8, _EFSERROR@GOTPAGE Lloh23: ldr x8, [x8, _EFSERROR@GOTPAGEOFF] b LBB0_13 LBB0_40: ldr w0, [x20] bl _hpfs_unlock_creation ldr w0, [x20] Lloh24: adrp x1, l_.str.3@PAGE Lloh25: add x1, x1, l_.str.3@PAGEOFF bl _hpfs_error Lloh26: adrp x8, _ENOENT@GOTPAGE Lloh27: ldr x8, [x8, _ENOENT@GOTPAGEOFF] Lloh28: ldr w8, [x8] neg w25, w8 b LBB0_15 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "lookup succeeded but map dirent failed" .comm _ENOENT,4,2 ; @ENOENT l_.str.1: ; @.str.1 .asciz "hpfs_rename: could not find dirent" .comm _EFSERROR,4,2 ; @EFSERROR .comm _ENOSPC,4,2 ; @ENOSPC l_.str.2: ; @.str.2 .asciz "hpfs_rename: dirent already exists!" l_.str.3: ; @.str.3 .asciz "lookup succeeded but map dirent failed at #2" l_.str.4: ; @.str.4 .asciz "hpfs_rename: could not remove dirent" .no_dead_strip _hpfs_rename .subsections_via_symbols
the_stack_data/725853.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xenvif_idx_unmap ## -- Begin function xenvif_idx_unmap .p2align 4, 0x90 _xenvif_idx_unmap: ## @xenvif_idx_unmap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 callq _idx_to_kaddr movq _GNTMAP_host_map@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq 16(%r15), %rcx leaq (,%r14,4), %rbx movl (%rcx,%r14,4), %ecx leaq -48(%rbp), %r12 movq %r12, %rdi movl %eax, %esi callq _gnttab_set_unmap_op movq %r15, %rdi movq %r14, %rsi callq _xenvif_grant_handle_reset addq 8(%r15), %rbx movq %r12, %rdi xorl %esi, %esi movq %rbx, %rdx movl $1, %ecx callq _gnttab_unmap_refs testl %eax, %eax je LBB0_2 ## %bb.1: movq (%r15), %rcx movl (%rcx), %edi movl -40(%rbp), %r8d movl -48(%rbp), %ecx movl -44(%rbp), %r9d movl %ecx, (%rsp) leaq L_.str(%rip), %rsi movl %eax, %edx movq %r14, %rcx callq _netdev_err xorl %eax, %eax callq _BUG LBB0_2: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GNTMAP_host_map,4,2 ## @GNTMAP_host_map .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unmap fail: ret: %d pending_idx: %d host_addr: %llx handle: 0x%x status: %d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xenvif_idx_unmap ; -- Begin function xenvif_idx_unmap .p2align 2 _xenvif_idx_unmap: ; @xenvif_idx_unmap .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _idx_to_kaddr mov x1, x0 Lloh0: adrp x8, _GNTMAP_host_map@GOTPAGE Lloh1: ldr x8, [x8, _GNTMAP_host_map@GOTPAGEOFF] Lloh2: ldr w2, [x8] ldr x8, [x20, #16] lsl x21, x19, #2 ldr w3, [x8, x21] mov x0, sp bl _gnttab_set_unmap_op mov x0, x20 mov x1, x19 bl _xenvif_grant_handle_reset ldr x8, [x20, #8] add x2, x8, x21 mov x0, sp mov x1, #0 mov w3, #1 bl _gnttab_unmap_refs cbz w0, LBB0_2 ; %bb.1: mov x2, x0 ldr x8, [x20] ldr w0, [x8] ldp w5, w4, [sp, #4] ldr w6, [sp] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x3, x19 bl _netdev_err bl _BUG LBB0_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 add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GNTMAP_host_map,4,2 ; @GNTMAP_host_map .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unmap fail: ret: %d pending_idx: %d host_addr: %llx handle: 0x%x status: %d\n" .subsections_via_symbols
AnghaBench/linux/drivers/net/xen-netback/extr_netback.c_xenvif_idx_unmap.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function emit_jsrjmp _emit_jsrjmp: ## @emit_jsrjmp .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 movl %esi, %r15d movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testl %esi, %esi movq %rdx, -104(%rbp) ## 8-byte Spill jns LBB0_2 ## %bb.1: movq (%r14), %rax movq _O_register@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 LBB0_2: movl 8(%r14), %edi callq _regno movl %eax, %edx movl $-1, %ebx LBB0_7: callq _set_tok_reg movslq %ebx, %rsi cmpl %r15d, %ebx jge LBB0_11 ## %bb.8: movq %rsi, %rax shlq $4, %rax movq (%r14,%rax), %rcx movq _O_pregister@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx je LBB0_10 ## %bb.9: movq _O_cpregister@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx je LBB0_10 LBB0_11: movq _alpha_gp_register@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -96(%rbp) movq _AXP_REG_PV@GOTPCREL(%rip), %rax movl (%rax), %r13d shlq $4, %rsi addq %r14, %rsi leaq -96(%rbp), %rdx movl %r13d, %edi xorl %ecx, %ecx callq _load_expression movq %rax, %r12 jmp LBB0_12 LBB0_10: addq %r14, %rax incl %ebx movl 8(%rax), %edi callq _regno movl %eax, %r13d xorl %r12d, %r12d LBB0_12: movl %r13d, %edx callq _set_tok_cpreg cmpl %r15d, %ebx jge LBB0_14 ## %bb.13: movslq %ebx, %rax shlq $4, %rax movups (%r14,%rax), %xmm0 movaps %xmm0, -64(%rbp) jmp LBB0_15 LBB0_14: xorl %edx, %edx callq _set_tok_const LBB0_15: movq -104(%rbp), %rdi ## 8-byte Reload leaq -96(%rbp), %rsi leaq -128(%rbp), %rcx movl $3, %edx callq _assemble_tokens_to_insn testq %r12, %r12 je LBB0_17 ## %bb.16: movq -128(%rbp), %rax movq _MAX_INSN_FIXUPS@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax setb %dil callq _assert movq _DUMMY_RELOC_LITUSE_JSR@GOTPCREL(%rip), %rax movl (%rax), %eax movq -128(%rbp), %rcx movq -112(%rbp), %rdx movl %eax, 4(%rdx,%rcx,8) movq _O_absent@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdx,%rcx,8) incq %rcx movq %rcx, -128(%rbp) movq %r12, -120(%rbp) LBB0_17: leaq -128(%rbp), %rdi callq _emit_insn movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_19 ## %bb.18: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: leaq L_.str(%rip), %rsi movq %rdx, %rdi callq _strcmp testq %rax, %rax jne LBB0_4 ## %bb.5: movq _AXP_REG_ZERO@GOTPCREL(%rip), %rax jmp LBB0_6 LBB0_4: movq _AXP_REG_RA@GOTPCREL(%rip), %rax LBB0_6: movl (%rax), %edx xorl %ebx, %ebx jmp LBB0_7 LBB0_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _O_register,8,3 ## @O_register .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "jmp" .comm _AXP_REG_ZERO,4,2 ## @AXP_REG_ZERO .comm _AXP_REG_RA,4,2 ## @AXP_REG_RA .comm _O_pregister,8,3 ## @O_pregister .comm _O_cpregister,8,3 ## @O_cpregister .comm _alpha_gp_register,4,2 ## @alpha_gp_register .comm _AXP_REG_PV,4,2 ## @AXP_REG_PV .comm _MAX_INSN_FIXUPS,8,3 ## @MAX_INSN_FIXUPS .comm _DUMMY_RELOC_LITUSE_JSR,4,2 ## @DUMMY_RELOC_LITUSE_JSR .comm _O_absent,4,2 ## @O_absent .no_dead_strip _emit_jsrjmp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function emit_jsrjmp _emit_jsrjmp: ; @emit_jsrjmp .cfi_startproc ; %bb.0: sub sp, sp, #144 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 mov x19, x2 mov x21, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] tbz w1, #31, LBB0_2 ; %bb.1: ldr x8, [x20] Lloh3: adrp x9, _O_register@GOTPAGE Lloh4: ldr x9, [x9, _O_register@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_14 LBB0_2: ldr w0, [x20, #8] bl _regno mov x2, x0 mov w24, #-1 ; =0xffffffff LBB0_3: bl _set_tok_reg sxtw x8, w24 add x1, x20, x8, lsl #4 cmp w24, w21 b.ge LBB0_6 ; %bb.4: ldr x8, [x1] Lloh6: adrp x9, _O_pregister@GOTPAGE Lloh7: ldr x9, [x9, _O_pregister@GOTPAGEOFF] Lloh8: ldr x9, [x9] Lloh9: adrp x10, _O_cpregister@GOTPAGE Lloh10: ldr x10, [x10, _O_cpregister@GOTPAGEOFF] Lloh11: ldr x10, [x10] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_6 ; %bb.5: add w24, w24, #1 ldr w0, [x1, #8] bl _regno mov x23, x0 mov x22, #0 ; =0x0 b LBB0_7 LBB0_6: Lloh12: adrp x8, _alpha_gp_register@GOTPAGE Lloh13: ldr x8, [x8, _alpha_gp_register@GOTPAGEOFF] Lloh14: ldr w8, [x8] str w8, [sp, #24] Lloh15: adrp x8, _AXP_REG_PV@GOTPAGE Lloh16: ldr x8, [x8, _AXP_REG_PV@GOTPAGEOFF] Lloh17: ldr w23, [x8] add x2, sp, #24 mov x0, x23 mov x3, #0 ; =0x0 bl _load_expression mov x22, x0 LBB0_7: mov x2, x23 bl _set_tok_cpreg cmp w24, w21 b.ge LBB0_9 ; %bb.8: ldr q0, [x20, w24, sxtw #4] stur q0, [sp, #56] b LBB0_10 LBB0_9: mov w2, #0 ; =0x0 bl _set_tok_const LBB0_10: add x1, sp, #24 mov x3, sp mov x0, x19 mov w2, #3 ; =0x3 bl _assemble_tokens_to_insn cbz x22, LBB0_12 ; %bb.11: ldr x8, [sp] Lloh18: adrp x9, _MAX_INSN_FIXUPS@GOTPAGE Lloh19: ldr x9, [x9, _MAX_INSN_FIXUPS@GOTPAGEOFF] Lloh20: ldr x9, [x9] cmp x8, x9 cset w0, lo bl _assert Lloh21: adrp x8, _DUMMY_RELOC_LITUSE_JSR@GOTPAGE Lloh22: ldr x8, [x8, _DUMMY_RELOC_LITUSE_JSR@GOTPAGEOFF] Lloh23: ldr w8, [x8] ldr x9, [sp, #16] ldr x10, [sp] add x9, x9, x10, lsl #3 Lloh24: adrp x11, _O_absent@GOTPAGE Lloh25: ldr x11, [x11, _O_absent@GOTPAGEOFF] str w8, [x9, #4] Lloh26: ldr w8, [x11] str w8, [x9] add x8, x10, #1 stp x8, x22, [sp] LBB0_12: mov x0, sp bl _emit_insn ldur x8, [x29, #-56] Lloh27: adrp x9, ___stack_chk_guard@GOTPAGE Lloh28: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh29: ldr x9, [x9] cmp x9, x8 b.ne LBB0_15 ; %bb.13: 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 add sp, sp, #144 ret LBB0_14: Lloh30: adrp x1, l_.str@PAGE Lloh31: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _strcmp mov w24, #0 ; =0x0 Lloh32: adrp x8, _AXP_REG_ZERO@GOTPAGE Lloh33: ldr x8, [x8, _AXP_REG_ZERO@GOTPAGEOFF] Lloh34: adrp x9, _AXP_REG_RA@GOTPAGE Lloh35: ldr x9, [x9, _AXP_REG_RA@GOTPAGEOFF] cmp x0, #0 csel x8, x8, x9, eq ldr w2, [x8] b LBB0_3 LBB0_15: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc ; -- End function .comm _O_register,8,3 ; @O_register .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "jmp" .comm _AXP_REG_ZERO,4,2 ; @AXP_REG_ZERO .comm _AXP_REG_RA,4,2 ; @AXP_REG_RA .comm _O_pregister,8,3 ; @O_pregister .comm _O_cpregister,8,3 ; @O_cpregister .comm _alpha_gp_register,4,2 ; @alpha_gp_register .comm _AXP_REG_PV,4,2 ; @AXP_REG_PV .comm _MAX_INSN_FIXUPS,8,3 ; @MAX_INSN_FIXUPS .comm _DUMMY_RELOC_LITUSE_JSR,4,2 ; @DUMMY_RELOC_LITUSE_JSR .comm _O_absent,4,2 ; @O_absent .no_dead_strip _emit_jsrjmp .subsections_via_symbols
assembly_file_43517.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ERR_load_PEM_strings ## -- Begin function ERR_load_PEM_strings .p2align 4, 0x90 _ERR_load_PEM_strings: ## @ERR_load_PEM_strings .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 _PEM_str_reasons@GOTPCREL(%rip), %rbx movq (%rbx), %rax movl (%rax), %edi callq _ERR_reason_error_string testq %rax, %rax jne LBB0_2 ## %bb.1: movq (%rbx), %rdi callq _ERR_load_strings_const LBB0_2: movl $1, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _PEM_str_reasons,8,3 ## @PEM_str_reasons .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ERR_load_PEM_strings ; -- Begin function ERR_load_PEM_strings .p2align 2 _ERR_load_PEM_strings: ; @ERR_load_PEM_strings .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, _PEM_str_reasons@GOTPAGE Lloh1: ldr x19, [x19, _PEM_str_reasons@GOTPAGEOFF] ldr x8, [x19] ldr w0, [x8] bl _ERR_reason_error_string cbnz x0, LBB0_2 ; %bb.1: ldr x0, [x19] bl _ERR_load_strings_const LBB0_2: mov w0, #1 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 _PEM_str_reasons,8,3 ; @PEM_str_reasons .subsections_via_symbols
AnghaBench/openssl/crypto/pem/extr_pem_err.c_ERR_load_PEM_strings.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mtk_ppe_busy_wait _mtk_ppe_busy_wait: ## @mtk_ppe_busy_wait .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq _jiffies@GOTPCREL(%rip), %r15 movq (%r15), %rbx movq _MTK_REG_PPE_GLO_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq _mtk_r32 movq _MTK_PPE_GLO_CFG_BUSY@GOTPCREL(%rip), %r14 xorl %ecx, %ecx testl %eax, (%r14) je LBB0_6 ## %bb.1: movq _HZ@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rdi movq (%r13), %rsi addq %rbx, %rsi callq _time_after testq %rax, %rax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl $10, %edi movl $20, %esi callq _usleep_range movq _MTK_REG_PPE_GLO_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _mtk_r32 testl %eax, (%r14) jne LBB0_2 ## %bb.4: xorl %ecx, %ecx jmp LBB0_6 LBB0_5: movl 4(%r12), %edi leaq L_.str(%rip), %rsi callq _dev_err movl (%r12), %edi callq _reset_control_reset movq _ETIMEDOUT@GOTPCREL(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx LBB0_6: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _jiffies,8,3 ## @jiffies .comm _MTK_REG_PPE_GLO_CFG,4,2 ## @MTK_REG_PPE_GLO_CFG .comm _MTK_PPE_GLO_CFG_BUSY,4,2 ## @MTK_PPE_GLO_CFG_BUSY .comm _HZ,8,3 ## @HZ .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ppe: table busy timeout - resetting\n" .comm _ETIMEDOUT,4,2 ## @ETIMEDOUT .no_dead_strip _mtk_ppe_busy_wait .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mtk_ppe_busy_wait _mtk_ppe_busy_wait: ; @mtk_ppe_busy_wait .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 Lloh0: adrp x20, _jiffies@GOTPAGE Lloh1: ldr x20, [x20, _jiffies@GOTPAGEOFF] ldr x21, [x20] Lloh2: adrp x22, _MTK_REG_PPE_GLO_CFG@GOTPAGE Lloh3: ldr x22, [x22, _MTK_REG_PPE_GLO_CFG@GOTPAGEOFF] ldr w1, [x22] bl _mtk_r32 Lloh4: adrp x23, _MTK_PPE_GLO_CFG_BUSY@GOTPAGE Lloh5: ldr x23, [x23, _MTK_PPE_GLO_CFG_BUSY@GOTPAGEOFF] ldr w8, [x23] tst w8, w0 b.eq LBB0_4 ; %bb.1: Lloh6: adrp x24, _HZ@GOTPAGE Lloh7: ldr x24, [x24, _HZ@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20] ldr x8, [x24] add x1, x8, x21 bl _time_after cbnz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov w0, #10 mov w1, #20 bl _usleep_range ldr w1, [x22] mov x0, x19 bl _mtk_r32 ldr w8, [x23] tst w8, w0 b.ne LBB0_2 LBB0_4: mov w0, #0 b LBB0_6 LBB0_5: ldr w0, [x19, #4] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _dev_err ldr w0, [x19] bl _reset_control_reset Lloh10: adrp x8, _ETIMEDOUT@GOTPAGE Lloh11: ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF] Lloh12: ldr w8, [x8] neg w0, w8 LBB0_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _jiffies,8,3 ; @jiffies .comm _MTK_REG_PPE_GLO_CFG,4,2 ; @MTK_REG_PPE_GLO_CFG .comm _MTK_PPE_GLO_CFG_BUSY,4,2 ; @MTK_PPE_GLO_CFG_BUSY .comm _HZ,8,3 ; @HZ .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ppe: table busy timeout - resetting\n" .comm _ETIMEDOUT,4,2 ; @ETIMEDOUT .no_dead_strip _mtk_ppe_busy_wait .subsections_via_symbols
AnghaBench/lede/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/extr_mtk_offload.c_mtk_ppe_busy_wait.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hostif_power_mgmt_confirm _hostif_power_mgmt_confirm: ## @hostif_power_mgmt_confirm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rax movq _POWER_MGMT_ACTIVE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jle LBB0_2 ## %bb.1: movq 16(%rbx), %rax movq _MODE_INFRASTRUCTURE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.3: leaq 4(%rbx), %rdi xorl %esi, %esi callq _atomic_set movq _DEVICE_STATE_SLEEP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _ks_wlan_hw_power_save ## TAILCALL LBB0_2: movq _DEVICE_STATE_READY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _POWER_MGMT_ACTIVE,8,3 ## @POWER_MGMT_ACTIVE .comm _MODE_INFRASTRUCTURE,8,3 ## @MODE_INFRASTRUCTURE .comm _DEVICE_STATE_SLEEP,4,2 ## @DEVICE_STATE_SLEEP .comm _DEVICE_STATE_READY,4,2 ## @DEVICE_STATE_READY .no_dead_strip _hostif_power_mgmt_confirm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hostif_power_mgmt_confirm _hostif_power_mgmt_confirm: ; @hostif_power_mgmt_confirm .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #8] Lloh0: adrp x9, _POWER_MGMT_ACTIVE@GOTPAGE Lloh1: ldr x9, [x9, _POWER_MGMT_ACTIVE@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.le LBB0_3 ; %bb.1: ldr x8, [x19, #16] Lloh3: adrp x9, _MODE_INFRASTRUCTURE@GOTPAGE Lloh4: ldr x9, [x9, _MODE_INFRASTRUCTURE@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_3 ; %bb.2: add x0, x19, #4 mov w1, #0 bl _atomic_set Lloh6: adrp x8, _DEVICE_STATE_SLEEP@GOTPAGE Lloh7: ldr x8, [x8, _DEVICE_STATE_SLEEP@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x19] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ks_wlan_hw_power_save LBB0_3: Lloh9: adrp x8, _DEVICE_STATE_READY@GOTPAGE Lloh10: ldr x8, [x8, _DEVICE_STATE_READY@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [x19] 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 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _POWER_MGMT_ACTIVE,8,3 ; @POWER_MGMT_ACTIVE .comm _MODE_INFRASTRUCTURE,8,3 ; @MODE_INFRASTRUCTURE .comm _DEVICE_STATE_SLEEP,4,2 ; @DEVICE_STATE_SLEEP .comm _DEVICE_STATE_READY,4,2 ; @DEVICE_STATE_READY .no_dead_strip _hostif_power_mgmt_confirm .subsections_via_symbols
AnghaBench/linux/drivers/staging/ks7010/extr_ks_hostif.c_hostif_power_mgmt_confirm.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/54825209.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _readscan_report ## -- Begin function readscan_report .p2align 4, 0x90 _readscan_report: ## @readscan_report .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 (%rcx), %rbx movq (%rdx), %r14 movq _PROTO_X509_CERT@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_5 ## %bb.1: movl %edi, -44(%rbp) ## 4-byte Spill movq %rbx, %rdi callq _MALLOC movq %rax, %r13 leaq -48(%rbp), %r12 movq %r12, %rdi callq _banout_init movq %r13, %rdi movq %rbx, %rsi movq %r14, %rdx movq %rbx, %rcx callq _base64_decode movq %rax, %r14 leaq -56(%rbp), %r15 movq %r15, %rdi movq %rbx, %rsi callq _x509_decode_init movabsq $4294967297, %rax ## imm = 0x100000001 movq %rax, -56(%rbp) movq %r15, %rdi movq %r13, %rsi movq %r14, %rdx movq %r12, %rcx callq _x509_decode movq _PROTO_SSL3@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %r12, %rdi callq _banout_string movq %rax, %rbx movl (%r14), %esi movq %r12, %rdi callq _banout_string_length testq %rax, %rax je LBB0_4 ## %bb.2: movq %rax, %r14 movq %rbx, %rdi movq %rax, %rsi callq _found_type testl %eax, %eax jne LBB0_4 ## %bb.3: movl -44(%rbp), %edi ## 4-byte Reload movq %rbx, %rsi movq %r14, %rdx callq _cndb_add LBB0_4: leaq -48(%rbp), %rdi callq _banout_release jmp LBB0_12 LBB0_5: movq _PROTO_VULN@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_12 ## %bb.6: callq _cndb_lookup movq %rax, %r15 cmpq $15, %rbx jne LBB0_8 ## %bb.7: leaq L_.str(%rip), %rsi movq %r14, %rdi movl $15, %edx callq _memcmp testq %rax, %rax je LBB0_12 LBB0_8: testq %r15, %r15 je LBB0_11 ## %bb.9: movq %r15, %rdi callq _strlen cmpl $299, %eax ## imm = 0x12B jg LBB0_11 ## %bb.10: movb $32, (%r14,%rbx) leaq (%r14,%rbx), %r12 incq %r12 movq %r15, %rdi callq _strlen ## kill: def $eax killed $eax def $rax leal 1(%rax), %edx movq %r12, %rdi movq %r15, %rsi callq _memcpy movq %r15, %rdi callq _strlen cltq addq %rax, %rbx incq %rbx LBB0_11: cmpq $31, %rbx jne LBB0_12 ## %bb.13: leaq L_.str.1(%rip), %rsi movq %r14, %rdi movl $31, %edx addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memcmp ## TAILCALL LBB0_12: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PROTO_X509_CERT,4,2 ## @PROTO_X509_CERT .comm _PROTO_SSL3,4,2 ## @PROTO_SSL3 .comm _PROTO_VULN,4,2 ## @PROTO_VULN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SSL[heartbeat] " L_.str.1: ## @.str.1 .asciz "SSL[heartbeat] SSL[HEARTBLEED] " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _readscan_report ; -- Begin function readscan_report .p2align 2 _readscan_report: ; @readscan_report .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x19, [x3] ldr x20, [x2] Lloh0: adrp x8, _PROTO_X509_CERT@GOTPAGE Lloh1: ldr x8, [x8, _PROTO_X509_CERT@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w1 b.ne LBB0_5 ; %bb.1: mov x21, x0 mov x0, x19 bl _MALLOC mov x22, x0 add x0, sp, #4 bl _banout_init mov x0, x22 mov x1, x19 mov x2, x20 mov x3, x19 bl _base64_decode mov x20, x0 add x0, sp, #8 mov x1, x19 bl _x509_decode_init movi.2s v0, #1 str d0, [sp, #8] add x0, sp, #8 add x3, sp, #4 mov x1, x22 mov x2, x20 bl _x509_decode Lloh3: adrp x20, _PROTO_SSL3@GOTPAGE Lloh4: ldr x20, [x20, _PROTO_SSL3@GOTPAGEOFF] ldr w1, [x20] add x0, sp, #4 bl _banout_string mov x19, x0 ldr w1, [x20] add x0, sp, #4 bl _banout_string_length cbz x0, LBB0_4 ; %bb.2: mov x20, x0 mov x0, x19 mov x1, x20 bl _found_type cbnz w0, LBB0_4 ; %bb.3: mov x0, x21 mov x1, x19 mov x2, x20 bl _cndb_add LBB0_4: add x0, sp, #4 bl _banout_release b LBB0_13 LBB0_5: Lloh5: adrp x8, _PROTO_VULN@GOTPAGE Lloh6: ldr x8, [x8, _PROTO_VULN@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w8, w1 b.ne LBB0_13 ; %bb.6: bl _cndb_lookup mov x21, x0 cmp x19, #15 b.ne LBB0_8 ; %bb.7: Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov w2, #15 ; =0xf bl _memcmp cbz x0, LBB0_13 LBB0_8: cbz x21, LBB0_11 ; %bb.9: mov x0, x21 bl _strlen cmp w0, #299 b.gt LBB0_11 ; %bb.10: add x22, x20, x19 mov w8, #32 ; =0x20 strb w8, [x22], #1 mov x0, x21 bl _strlen add w2, w0, #1 mov x0, x22 mov x1, x21 bl _memcpy mov x0, x21 bl _strlen add w8, w0, #1 add x19, x19, w8, sxtw LBB0_11: cmp x19, #31 b.ne LBB0_13 ; %bb.12: Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 mov w2, #31 ; =0x1f ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _memcmp LBB0_13: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _PROTO_X509_CERT,4,2 ; @PROTO_X509_CERT .comm _PROTO_SSL3,4,2 ; @PROTO_SSL3 .comm _PROTO_VULN,4,2 ; @PROTO_VULN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SSL[heartbeat] " l_.str.1: ; @.str.1 .asciz "SSL[heartbeat] SSL[HEARTBLEED] " .subsections_via_symbols
assembly_file_121260.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function query_formats _query_formats: ## @query_formats .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, %rbx movq $0, -48(%rbp) xorl %r14d, %r14d xorl %edi, %edi callq _av_pix_fmt_desc_get testq %rax, %rax je LBB0_11 ## %bb.1: movq %rbx, -56(%rbp) ## 8-byte Spill movl $1, %ebx movq _AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %r14 movq _AV_PIX_FMT_FLAG_BITSTREAM@GOTPCREL(%rip), %r15 movq _AV_PIX_FMT_FLAG_PAL@GOTPCREL(%rip), %r13 jmp LBB0_2 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 orl $2, %eax cmpl $10, %eax jne LBB0_9 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 leaq -48(%rbp), %rdi movl %r12d, %esi callq _ff_add_format testl %eax, %eax js LBB0_12 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %edi callq _av_pix_fmt_desc_get incl %ebx testq %rax, %rax je LBB0_10 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal -1(%rbx), %r12d movl %r12d, %edi callq _av_pix_fmt_desc_get movl (%r14), %edx movq _AV_PIX_FMT_FLAG_RGB@GOTPCREL(%rip), %rcx orl (%rcx), %edx orl (%r15), %edx movl (%rax), %ecx orl (%r13), %edx testl %ecx, %edx jne LBB0_9 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq _AV_PIX_FMT_FLAG_PLANAR@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpl $1, 4(%rax) jne LBB0_9 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq _AV_PIX_FMT_FLAG_BE@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) setne %cl movq _HAVE_BIGENDIAN@GOTPCREL(%rip), %rdx cmpl $0, (%rdx) sete %dl xorb %cl, %dl movq 8(%rax), %rax movl (%rax), %eax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 cmpl $8, %eax je LBB0_8 jmp LBB0_9 LBB0_10: movq -48(%rbp), %r14 movq -56(%rbp), %rbx ## 8-byte Reload LBB0_11: movq %rbx, %rdi movq %r14, %rsi callq _ff_set_common_formats LBB0_12: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AV_PIX_FMT_FLAG_RGB,4,2 ## @AV_PIX_FMT_FLAG_RGB .comm _AV_PIX_FMT_FLAG_HWACCEL,4,2 ## @AV_PIX_FMT_FLAG_HWACCEL .comm _AV_PIX_FMT_FLAG_BITSTREAM,4,2 ## @AV_PIX_FMT_FLAG_BITSTREAM .comm _AV_PIX_FMT_FLAG_PAL,4,2 ## @AV_PIX_FMT_FLAG_PAL .comm _AV_PIX_FMT_FLAG_PLANAR,4,2 ## @AV_PIX_FMT_FLAG_PLANAR .comm _AV_PIX_FMT_FLAG_BE,4,2 ## @AV_PIX_FMT_FLAG_BE .comm _HAVE_BIGENDIAN,4,2 ## @HAVE_BIGENDIAN .no_dead_strip _query_formats .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function query_formats _query_formats: ; @query_formats .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 str xzr, [sp, #8] mov w0, #0 bl _av_pix_fmt_desc_get cbz x0, LBB0_11 ; %bb.1: mov w20, #1 Lloh0: adrp x22, _AV_PIX_FMT_FLAG_RGB@GOTPAGE Lloh1: ldr x22, [x22, _AV_PIX_FMT_FLAG_RGB@GOTPAGEOFF] Lloh2: adrp x23, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE Lloh3: ldr x23, [x23, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF] Lloh4: adrp x24, _AV_PIX_FMT_FLAG_BITSTREAM@GOTPAGE Lloh5: ldr x24, [x24, _AV_PIX_FMT_FLAG_BITSTREAM@GOTPAGEOFF] Lloh6: adrp x25, _AV_PIX_FMT_FLAG_PAL@GOTPAGE Lloh7: ldr x25, [x25, _AV_PIX_FMT_FLAG_PAL@GOTPAGEOFF] Lloh8: adrp x26, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGE Lloh9: ldr x26, [x26, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGEOFF] Lloh10: adrp x27, _AV_PIX_FMT_FLAG_BE@GOTPAGE Lloh11: ldr x27, [x27, _AV_PIX_FMT_FLAG_BE@GOTPAGEOFF] Lloh12: adrp x28, _HAVE_BIGENDIAN@GOTPAGE Lloh13: ldr x28, [x28, _HAVE_BIGENDIAN@GOTPAGEOFF] b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 orr w8, w8, #0x2 cmp w8, #10 b.ne LBB0_4 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 add x0, sp, #8 mov x1, x21 bl _ff_add_format tbnz w0, #31, LBB0_13 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 bl _av_pix_fmt_desc_get add w20, w20, #1 cbz x0, LBB0_10 LBB0_5: ; =>This Inner Loop Header: Depth=1 sub w21, w20, #1 mov x0, x21 bl _av_pix_fmt_desc_get ldr w8, [x0] ldr w9, [x22] ldr w10, [x23] orr w9, w10, w9 ldr w10, [x24] orr w9, w9, w10 ldr w10, [x25] orr w9, w9, w10 tst w9, w8 b.ne LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w9, [x26] tst w9, w8 b.ne LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr w9, [x0, #4] cmp w9, #1 b.ne LBB0_4 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr w9, [x27] tst w9, w8 cset w8, ne ldr w9, [x28] cmp w9, #0 cset w9, eq eor w9, w8, w9 ldr x8, [x0, #8] ldr w8, [x8] tbnz w9, #0, LBB0_2 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 cmp w8, #8 b.eq LBB0_3 b LBB0_4 LBB0_10: ldr x1, [sp, #8] b LBB0_12 LBB0_11: mov x1, #0 LBB0_12: mov x0, x19 bl _ff_set_common_formats LBB0_13: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _AV_PIX_FMT_FLAG_RGB,4,2 ; @AV_PIX_FMT_FLAG_RGB .comm _AV_PIX_FMT_FLAG_HWACCEL,4,2 ; @AV_PIX_FMT_FLAG_HWACCEL .comm _AV_PIX_FMT_FLAG_BITSTREAM,4,2 ; @AV_PIX_FMT_FLAG_BITSTREAM .comm _AV_PIX_FMT_FLAG_PAL,4,2 ; @AV_PIX_FMT_FLAG_PAL .comm _AV_PIX_FMT_FLAG_PLANAR,4,2 ; @AV_PIX_FMT_FLAG_PLANAR .comm _AV_PIX_FMT_FLAG_BE,4,2 ; @AV_PIX_FMT_FLAG_BE .comm _HAVE_BIGENDIAN,4,2 ; @HAVE_BIGENDIAN .no_dead_strip _query_formats .subsections_via_symbols
AnghaBench/FFmpeg/libavfilter/extr_vf_vmafmotion.c_query_formats.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bbr_google_mode_off _bbr_google_mode_off: ## @bbr_google_mode_off .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq $0, 48(%rdi) movq _bbr_no_pacing_until@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 56(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 64(%rdi) xorl %ecx, %ecx testq %rax, %rax setne %cl movl %ecx, (%rdi) movq _bbr_use_rack_resend_cheat@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpq $0, (%rax) setne %cl movl %ecx, 4(%rdi) movq _bbr_incr_timers@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpq $0, (%rax) setne %cl movl %ecx, 16(%rdi) movq _bbr_include_tcp_oh@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpq $0, (%rax) setne %cl movl %ecx, 20(%rdi) movq _bbr_include_ip_oh@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpq $0, (%rax) setne %cl movl %ecx, 24(%rdi) movq _bbr_include_enet_oh@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpq $0, (%rax) setne %cl movl %ecx, 28(%rdi) movq _bbr_rtt_probe_limit@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 40(%rdi) addq $36, %rdi movq _bbr_num_pktepo_for_del_limit@GOTPCREL(%rip), %rax movl (%rax), %esi callq _reset_time leaq 32(%rbx), %rdi movq _bbr_filter_len_sec@GOTPCREL(%rip), %rax movq _USECS_IN_SECOND@GOTPCREL(%rip), %rcx movl (%rcx), %esi imull (%rax), %esi callq _reset_time_small leaq 8(%rbx), %rdi callq _tcp_get_usecs movq %rbx, %rdi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _tcp_bbr_tso_size_check ## TAILCALL .cfi_endproc ## -- End function .comm _bbr_no_pacing_until,8,3 ## @bbr_no_pacing_until .comm _bbr_use_rack_resend_cheat,8,3 ## @bbr_use_rack_resend_cheat .comm _bbr_incr_timers,8,3 ## @bbr_incr_timers .comm _bbr_include_tcp_oh,8,3 ## @bbr_include_tcp_oh .comm _bbr_include_ip_oh,8,3 ## @bbr_include_ip_oh .comm _bbr_include_enet_oh,8,3 ## @bbr_include_enet_oh .comm _bbr_rtt_probe_limit,4,2 ## @bbr_rtt_probe_limit .comm _bbr_num_pktepo_for_del_limit,4,2 ## @bbr_num_pktepo_for_del_limit .comm _bbr_filter_len_sec,4,2 ## @bbr_filter_len_sec .comm _USECS_IN_SECOND,4,2 ## @USECS_IN_SECOND .no_dead_strip _bbr_google_mode_off .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bbr_google_mode_off _bbr_google_mode_off: ; @bbr_google_mode_off .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _bbr_no_pacing_until@GOTPAGE Lloh1: ldr x8, [x8, _bbr_no_pacing_until@GOTPAGEOFF] Lloh2: ldr x8, [x8] stp xzr, x8, [x0, #48] cmp x8, #0 cset w8, ne str w8, [x0] Lloh3: adrp x8, _bbr_use_rack_resend_cheat@GOTPAGE Lloh4: ldr x8, [x8, _bbr_use_rack_resend_cheat@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x8, #0 cset w8, ne str w8, [x0, #4] Lloh6: adrp x8, _bbr_incr_timers@GOTPAGE Lloh7: ldr x8, [x8, _bbr_incr_timers@GOTPAGEOFF] Lloh8: adrp x9, _bbr_include_tcp_oh@GOTPAGE Lloh9: ldr x9, [x9, _bbr_include_tcp_oh@GOTPAGEOFF] Lloh10: adrp x10, _bbr_include_ip_oh@GOTPAGE Lloh11: ldr x10, [x10, _bbr_include_ip_oh@GOTPAGEOFF] Lloh12: ldr d0, [x8] Lloh13: adrp x8, _bbr_include_enet_oh@GOTPAGE Lloh14: ldr x8, [x8, _bbr_include_enet_oh@GOTPAGEOFF] ld1.d { v0 }[1], [x9] stp xzr, xzr, [x0, #64] Lloh15: ldr d1, [x10] ld1.d { v1 }[1], [x8] cmtst.2d v1, v1, v1 cmtst.2d v0, v0, v0 uzp1.4s v0, v0, v1 movi.4s v1, #1 and.16b v0, v0, v1 str q0, [x0, #16] Lloh16: adrp x8, _bbr_rtt_probe_limit@GOTPAGE Lloh17: ldr x8, [x8, _bbr_rtt_probe_limit@GOTPAGEOFF] Lloh18: ldr w8, [x8] str w8, [x0, #40] add x0, x0, #36 Lloh19: adrp x8, _bbr_num_pktepo_for_del_limit@GOTPAGE Lloh20: ldr x8, [x8, _bbr_num_pktepo_for_del_limit@GOTPAGEOFF] Lloh21: ldr w1, [x8] bl _reset_time Lloh22: adrp x8, _bbr_filter_len_sec@GOTPAGE Lloh23: ldr x8, [x8, _bbr_filter_len_sec@GOTPAGEOFF] add x0, x19, #32 Lloh24: ldr w8, [x8] Lloh25: adrp x9, _USECS_IN_SECOND@GOTPAGE Lloh26: ldr x9, [x9, _USECS_IN_SECOND@GOTPAGEOFF] Lloh27: ldr w9, [x9] mul w1, w9, w8 bl _reset_time_small add x0, x19, #8 bl _tcp_get_usecs mov x1, x0 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _tcp_bbr_tso_size_check .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh15 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh12 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _bbr_no_pacing_until,8,3 ; @bbr_no_pacing_until .comm _bbr_use_rack_resend_cheat,8,3 ; @bbr_use_rack_resend_cheat .comm _bbr_incr_timers,8,3 ; @bbr_incr_timers .comm _bbr_include_tcp_oh,8,3 ; @bbr_include_tcp_oh .comm _bbr_include_ip_oh,8,3 ; @bbr_include_ip_oh .comm _bbr_include_enet_oh,8,3 ; @bbr_include_enet_oh .comm _bbr_rtt_probe_limit,4,2 ; @bbr_rtt_probe_limit .comm _bbr_num_pktepo_for_del_limit,4,2 ; @bbr_num_pktepo_for_del_limit .comm _bbr_filter_len_sec,4,2 ; @bbr_filter_len_sec .comm _USECS_IN_SECOND,4,2 ; @USECS_IN_SECOND .no_dead_strip _bbr_google_mode_off .subsections_via_symbols
AnghaBench/freebsd/sys/netinet/tcp_stacks/extr_bbr.c_bbr_google_mode_off.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m3_uninit _m3_uninit: ## @m3_uninit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _CHANGE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _M3_DEBUG xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _CHANGE,4,2 ## @CHANGE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "m3_uninit\n" .no_dead_strip _m3_uninit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m3_uninit _m3_uninit: ; @m3_uninit .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, _CHANGE@GOTPAGE Lloh1: ldr x8, [x8, _CHANGE@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _M3_DEBUG mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CHANGE,4,2 ; @CHANGE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "m3_uninit\n" .no_dead_strip _m3_uninit .subsections_via_symbols
AnghaBench/freebsd/sys/dev/sound/pci/extr_maestro3.c_m3_uninit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function SHA256_Init_fn _SHA256_Init_fn: ## @SHA256_Init_fn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _SHA256_Init ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _SHA256_Init_fn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function SHA256_Init_fn _SHA256_Init_fn: ; @SHA256_Init_fn .cfi_startproc ; %bb.0: b _SHA256_Init .cfi_endproc ; -- End function .no_dead_strip _SHA256_Init_fn .subsections_via_symbols
AnghaBench/freebsd/sys/crypto/aesni/extr_aesni.c_SHA256_Init_fn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wmid_v2_set_u32 _wmid_v2_set_u32: ## @wmid_v2_set_u32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp addl $-128, %esi cmpl $3, %esi jae LBB0_1 ## %bb.2: movslq %esi, %rax leaq l_switch.table.wmid_v2_set_u32(%rip), %rcx movq (%rcx,%rax,8), %rax movl (%rax), %esi popq %rbp jmp _wmid3_set_device_status ## TAILCALL LBB0_1: movq _AE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ACER_WMID3_GDS_WIRELESS,4,2 ## @ACER_WMID3_GDS_WIRELESS .comm _ACER_WMID3_GDS_BLUETOOTH,4,2 ## @ACER_WMID3_GDS_BLUETOOTH .comm _ACER_WMID3_GDS_THREEG,4,2 ## @ACER_WMID3_GDS_THREEG .comm _AE_ERROR,4,2 ## @AE_ERROR .no_dead_strip _wmid_v2_set_u32 .section __DATA,__const .p2align 3 ## @switch.table.wmid_v2_set_u32 l_switch.table.wmid_v2_set_u32: .quad _ACER_WMID3_GDS_WIRELESS .quad _ACER_WMID3_GDS_THREEG .quad _ACER_WMID3_GDS_BLUETOOTH .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wmid_v2_set_u32 _wmid_v2_set_u32: ; @wmid_v2_set_u32 .cfi_startproc ; %bb.0: sub w8, w1, #128 cmp w8, #3 b.hs LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.wmid_v2_set_u32@PAGE Lloh1: add x9, x9, l_switch.table.wmid_v2_set_u32@PAGEOFF ldr x8, [x9, w8, sxtw #3] ldr w1, [x8] b _wmid3_set_device_status LBB0_2: Lloh2: adrp x8, _AE_ERROR@GOTPAGE Lloh3: ldr x8, [x8, _AE_ERROR@GOTPAGEOFF] Lloh4: ldr w0, [x8] ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ACER_WMID3_GDS_WIRELESS,4,2 ; @ACER_WMID3_GDS_WIRELESS .comm _ACER_WMID3_GDS_BLUETOOTH,4,2 ; @ACER_WMID3_GDS_BLUETOOTH .comm _ACER_WMID3_GDS_THREEG,4,2 ; @ACER_WMID3_GDS_THREEG .comm _AE_ERROR,4,2 ; @AE_ERROR .no_dead_strip _wmid_v2_set_u32 .section __DATA,__const .p2align 3 ; @switch.table.wmid_v2_set_u32 l_switch.table.wmid_v2_set_u32: .quad _ACER_WMID3_GDS_WIRELESS .quad _ACER_WMID3_GDS_THREEG .quad _ACER_WMID3_GDS_BLUETOOTH .subsections_via_symbols
AnghaBench/linux/drivers/platform/x86/extr_acer-wmi.c_wmid_v2_set_u32.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wm8728_set_dai_fmt _wm8728_set_dai_fmt: ## @wm8728_set_dai_fmt .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 movq _WM8728_IFCTL@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %r14, %rdi callq _snd_soc_component_read32 movq _SND_SOC_DAIFMT_FORMAT_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl %ebx, %ecx cmpl $132, %ecx jne LBB0_7 ## %bb.1: movq _SND_SOC_DAIFMT_MASTER_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl %ebx, %ecx cmpl $133, %ecx jne LBB0_7 ## %bb.2: movq _SND_SOC_DAIFMT_INV_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %ebx addl $-128, %ebx cmpl $3, %ebx ja LBB0_7 ## %bb.3: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rbx,4), %rdx addq %rcx, %rdx jmpq *%rdx LBB0_8: andl $-36, %eax orl $1, %eax jmp LBB0_9 LBB0_7: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_10 LBB0_5: andl $-36, %eax orl $3, %eax jmp LBB0_9 LBB0_4: andl $-36, %eax orl $33, %eax jmp LBB0_9 LBB0_6: orl $35, %eax LBB0_9: movl (%r15), %esi movq %r14, %rdi movl %eax, %edx callq _snd_soc_component_write xorl %eax, %eax LBB0_10: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 LJTI0_0: .long L0_0_set_8 .long L0_0_set_5 .long L0_0_set_4 .long L0_0_set_6 .end_data_region ## -- End function .comm _WM8728_IFCTL,4,2 ## @WM8728_IFCTL .comm _SND_SOC_DAIFMT_FORMAT_MASK,4,2 ## @SND_SOC_DAIFMT_FORMAT_MASK .comm _EINVAL,4,2 ## @EINVAL .comm _SND_SOC_DAIFMT_MASTER_MASK,4,2 ## @SND_SOC_DAIFMT_MASTER_MASK .comm _SND_SOC_DAIFMT_INV_MASK,4,2 ## @SND_SOC_DAIFMT_INV_MASK .no_dead_strip _wm8728_set_dai_fmt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wm8728_set_dai_fmt _wm8728_set_dai_fmt: ; @wm8728_set_dai_fmt .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 ldr x19, [x0] Lloh0: adrp x21, _WM8728_IFCTL@GOTPAGE Lloh1: ldr x21, [x21, _WM8728_IFCTL@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 bl _snd_soc_component_read32 Lloh2: adrp x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGE Lloh3: ldr x8, [x8, _SND_SOC_DAIFMT_FORMAT_MASK@GOTPAGEOFF] Lloh4: ldr w8, [x8] and w8, w8, w20 cmp w8, #132 b.ne LBB0_5 ; %bb.1: Lloh5: adrp x8, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGE Lloh6: ldr x8, [x8, _SND_SOC_DAIFMT_MASTER_MASK@GOTPAGEOFF] Lloh7: ldr w8, [x8] and w8, w8, w20 cmp w8, #133 b.ne LBB0_5 ; %bb.2: Lloh8: adrp x8, _SND_SOC_DAIFMT_INV_MASK@GOTPAGE Lloh9: ldr x8, [x8, _SND_SOC_DAIFMT_INV_MASK@GOTPAGEOFF] Lloh10: ldr w8, [x8] and w8, w8, w20 sub w8, w8, #128 cmp w8, #3 b.hi LBB0_5 ; %bb.3: Lloh11: adrp x9, lJTI0_0@PAGE Lloh12: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_4 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_4: mov w8, #-36 and w8, w0, w8 orr w2, w8, #0x1 b LBB0_9 LBB0_5: Lloh13: adrp x8, _EINVAL@GOTPAGE Lloh14: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh15: ldr w8, [x8] neg w0, w8 b LBB0_10 LBB0_6: and w8, w0, #0xffffffdf orr w2, w8, #0x3 b LBB0_9 LBB0_7: and w8, w0, #0xfffffffd mov w9, #33 orr w2, w8, w9 b LBB0_9 LBB0_8: mov w8, #35 orr w2, w0, w8 LBB0_9: ldr w1, [x21] mov x0, x19 bl _snd_soc_component_write mov w0, #0 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_4)>>2 .byte (LBB0_6-LBB0_4)>>2 .byte (LBB0_7-LBB0_4)>>2 .byte (LBB0_8-LBB0_4)>>2 ; -- End function .comm _WM8728_IFCTL,4,2 ; @WM8728_IFCTL .comm _SND_SOC_DAIFMT_FORMAT_MASK,4,2 ; @SND_SOC_DAIFMT_FORMAT_MASK .comm _EINVAL,4,2 ; @EINVAL .comm _SND_SOC_DAIFMT_MASTER_MASK,4,2 ; @SND_SOC_DAIFMT_MASTER_MASK .comm _SND_SOC_DAIFMT_INV_MASK,4,2 ; @SND_SOC_DAIFMT_INV_MASK .no_dead_strip _wm8728_set_dai_fmt .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_wm8728.c_wm8728_set_dai_fmt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_print ## -- Begin function matrix_print .p2align 4, 0x90 _matrix_print: ## @matrix_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %eax, %eax callq _print_matrix_header movq _MATRIX_ROWS@GOTPCREL(%rip), %r12 cmpq $0, (%r12) jle LBB0_3 ## %bb.1: xorl %ebx, %ebx leaq L_.str(%rip), %r14 leaq L_.str.1(%rip), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _phex movq %r14, %rdi callq _print movq %rbx, %rdi callq _print_matrix_row movq %r15, %rdi callq _print incq %rbx cmpq (%r12), %rbx jl LBB0_2 LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MATRIX_ROWS,8,3 ## @MATRIX_ROWS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz ": " L_.str.1: ## @.str.1 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_print ; -- Begin function matrix_print .p2align 2 _matrix_print: ; @matrix_print .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 bl _print_matrix_header Lloh0: adrp x22, _MATRIX_ROWS@GOTPAGE Lloh1: ldr x22, [x22, _MATRIX_ROWS@GOTPAGEOFF] ldr x8, [x22] cmp x8, #1 b.lt LBB0_3 ; %bb.1: mov x19, #0 Lloh2: adrp x20, l_.str@PAGE Lloh3: add x20, x20, l_.str@PAGEOFF Lloh4: adrp x21, l_.str.1@PAGE Lloh5: add x21, x21, l_.str.1@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _phex mov x0, x20 bl _print mov x0, x19 bl _print_matrix_row mov x0, x21 bl _print add x19, x19, #1 ldr x8, [x22] cmp x19, x8 b.lt LBB0_2 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _MATRIX_ROWS,8,3 ; @MATRIX_ROWS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz ": " l_.str.1: ; @.str.1 .asciz "\n" .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/dc01/left/extr_matrix.c_matrix_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _map_tbolt_cmd_status ## -- Begin function map_tbolt_cmd_status .p2align 4, 0x90 _map_tbolt_cmd_status: ## @map_tbolt_cmd_status .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 -128(%rsi), %eax cmpl $5, %eax ja LBB0_5 ## %bb.1: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_3: movq 8(%rdi), %rax movl %esi, 8(%rax) movl %edx, 12(%rax) movl %esi, (%rax) movl %edx, 4(%rax) popq %rbp retq LBB0_5: movq 8(%rdi), %rax movl %esi, 8(%rax) movl %esi, (%rax) popq %rbp retq LBB0_2: movq 8(%rdi), %rax movl $130, 8(%rax) movl $130, (%rax) movl $130, (%rdi) popq %rbp retq LBB0_4: movq 8(%rdi), %rax movl %edx, 8(%rax) movl %edx, (%rax) popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_4 .long L0_0_set_2 .long L0_0_set_5 .long L0_0_set_3 .long L0_0_set_5 .end_data_region ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _map_tbolt_cmd_status ; -- Begin function map_tbolt_cmd_status .p2align 2 _map_tbolt_cmd_status: ; @map_tbolt_cmd_status .cfi_startproc ; %bb.0: sub w8, w1, #128 cmp w8, #5 b.hi LBB0_3 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr x8, [x0, #8] stp w1, w2, [x8, #8] stp w1, w2, [x8] ret LBB0_3: ldr x8, [x0, #8] str w1, [x8, #8] str w1, [x8] ret LBB0_4: ldr x8, [x0, #8] mov w9, #130 str w9, [x8, #8] str w9, [x8] str w9, [x0] ret LBB0_5: ldr x8, [x0, #8] str w2, [x8, #8] str w2, [x8] ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/dev/mfi/extr_mfi_tbolt.c_map_tbolt_cmd_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_nth_interface_name _find_nth_interface_name: ## @find_nth_interface_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx .cfi_offset %rbx, -24 movq _MAX_CHASSIS@GOTPCREL(%rip), %rax movl (%rax), %r11d xorl %eax, %eax testl %r11d, %r11d js LBB0_13 ## %bb.1: testl %edi, %edi cmovlel %eax, %edi movq _MAX_GEOSLOT@GOTPCREL(%rip), %rcx movl (%rcx), %r9d movq _units@GOTPCREL(%rip), %rcx movq (%rcx), %r8 leal 1(%r9), %r10d incq %r11 xorl %edx, %edx LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_7 Depth 3 testl %r9d, %r9d js LBB0_12 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%r8,%rdx,8), %rsi xorl %ecx, %ecx jmp LBB0_4 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_4 Depth=2 incq %rcx cmpq %r10, %rcx je LBB0_12 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_7 Depth 3 movq %rcx, %rbx shlq $4, %rbx cmpq $0, 8(%rsi,%rbx) je LBB0_11 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movq (%rsi,%rbx), %rbx testq %rbx, %rbx je LBB0_11 .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 cmpq $0, 16(%rbx) je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=3 movq (%rbx), %rax LBB0_9: ## in Loop: Header=BB0_7 Depth=3 subl $1, %edi jb LBB0_14 ## %bb.10: ## in Loop: Header=BB0_7 Depth=3 movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB0_7 jmp LBB0_11 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 incq %rdx cmpq %r11, %rdx jne LBB0_2 LBB0_13: testq %rax, %rax leaq L_.str(%rip), %rcx cmoveq %rcx, %rax LBB0_14: popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_CHASSIS,4,2 ## @MAX_CHASSIS .comm _MAX_GEOSLOT,4,2 ## @MAX_GEOSLOT .comm _units,8,3 ## @units .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .no_dead_strip _find_nth_interface_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_nth_interface_name _find_nth_interface_name: ; @find_nth_interface_name .cfi_startproc ; %bb.0: Lloh0: adrp x9, _MAX_CHASSIS@GOTPAGE Lloh1: ldr x9, [x9, _MAX_CHASSIS@GOTPAGEOFF] Lloh2: ldr w13, [x9] tbnz w13, #31, LBB0_12 ; %bb.1: mov x8, x0 mov x9, #0 mov x0, #0 cmp w8, #0 csel w8, w8, wzr, gt Lloh3: adrp x10, _MAX_GEOSLOT@GOTPAGE Lloh4: ldr x10, [x10, _MAX_GEOSLOT@GOTPAGEOFF] Lloh5: ldr w10, [x10] Lloh6: adrp x11, _units@GOTPAGE Lloh7: ldr x11, [x11, _units@GOTPAGEOFF] Lloh8: ldr x11, [x11] add w12, w10, #1 add x13, x13, #1 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_7 Depth 3 tbnz w10, #31, LBB0_11 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x14, #0 ldr x15, [x11, x9, lsl #3] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=2 add x14, x14, #1 cmp x14, x12 b.eq LBB0_11 LBB0_5: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_7 Depth 3 add x16, x15, x14, lsl #4 ldr x16, [x16, #8] cbz x16, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 lsl x16, x14, #4 ldr x16, [x15, x16] cbz x16, LBB0_4 LBB0_7: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_5 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x17, [x16, #16] cbz x17, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=3 ldr x0, [x16] LBB0_9: ; in Loop: Header=BB0_7 Depth=3 cbz w8, LBB0_14 ; %bb.10: ; in Loop: Header=BB0_7 Depth=3 sub w8, w8, #1 ldr x16, [x16, #8] cbnz x16, LBB0_7 b LBB0_4 LBB0_11: ; in Loop: Header=BB0_2 Depth=1 add x9, x9, #1 cmp x9, x13 b.ne LBB0_2 b LBB0_13 LBB0_12: mov x0, #0 LBB0_13: Lloh9: adrp x8, l_.str@PAGE Lloh10: add x8, x8, l_.str@PAGEOFF cmp x0, #0 csel x0, x8, x0, eq LBB0_14: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _MAX_CHASSIS,4,2 ; @MAX_CHASSIS .comm _MAX_GEOSLOT,4,2 ; @MAX_GEOSLOT .comm _units,8,3 ; @units .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .no_dead_strip _find_nth_interface_name .subsections_via_symbols
AnghaBench/freebsd/contrib/libpcap/extr_pcap-sita.c_find_nth_interface_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mv_cesa_cbc_des_op _mv_cesa_cbc_des_op: ## @mv_cesa_cbc_des_op .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movq _CESA_SA_DESC_CFG_CRYPTCM_CBC@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CESA_SA_DESC_CFG_CRYPTCM_MSK@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq _mv_cesa_update_op_cfg movl (%rbx), %edi movl (%r14), %esi movq _DES_BLOCK_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edx callq _memcpy movq %r14, %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _mv_cesa_des_op ## TAILCALL .cfi_endproc ## -- End function .comm _CESA_SA_DESC_CFG_CRYPTCM_CBC,4,2 ## @CESA_SA_DESC_CFG_CRYPTCM_CBC .comm _CESA_SA_DESC_CFG_CRYPTCM_MSK,4,2 ## @CESA_SA_DESC_CFG_CRYPTCM_MSK .comm _DES_BLOCK_SIZE,4,2 ## @DES_BLOCK_SIZE .no_dead_strip _mv_cesa_cbc_des_op .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mv_cesa_cbc_des_op _mv_cesa_cbc_des_op: ; @mv_cesa_cbc_des_op .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _CESA_SA_DESC_CFG_CRYPTCM_CBC@GOTPAGE Lloh1: ldr x8, [x8, _CESA_SA_DESC_CFG_CRYPTCM_CBC@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _CESA_SA_DESC_CFG_CRYPTCM_MSK@GOTPAGE Lloh4: ldr x8, [x8, _CESA_SA_DESC_CFG_CRYPTCM_MSK@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x19 bl _mv_cesa_update_op_cfg ldr w0, [x19] ldr w1, [x20] Lloh6: adrp x8, _DES_BLOCK_SIZE@GOTPAGE Lloh7: ldr x8, [x8, _DES_BLOCK_SIZE@GOTPAGEOFF] Lloh8: ldr w2, [x8] bl _memcpy mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mv_cesa_des_op .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CESA_SA_DESC_CFG_CRYPTCM_CBC,4,2 ; @CESA_SA_DESC_CFG_CRYPTCM_CBC .comm _CESA_SA_DESC_CFG_CRYPTCM_MSK,4,2 ; @CESA_SA_DESC_CFG_CRYPTCM_MSK .comm _DES_BLOCK_SIZE,4,2 ; @DES_BLOCK_SIZE .no_dead_strip _mv_cesa_cbc_des_op .subsections_via_symbols
AnghaBench/linux/drivers/crypto/marvell/extr_cipher.c_mv_cesa_cbc_des_op.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function phy_mdm6600_irq_thread _phy_mdm6600_irq_thread: ## @phy_mdm6600_irq_thread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movl $10, %edi callq _msecs_to_jiffies movq %rbx, %rdi movl %eax, %esi callq _schedule_delayed_work movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _phy_mdm6600_irq_thread .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function phy_mdm6600_irq_thread _phy_mdm6600_irq_thread: ; @phy_mdm6600_irq_thread .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov w0, #10 bl _msecs_to_jiffies mov x1, x0 mov x0, x19 bl _schedule_delayed_work Lloh0: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh1: ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _phy_mdm6600_irq_thread .subsections_via_symbols
AnghaBench/linux/drivers/phy/motorola/extr_phy-mapphone-mdm6600.c_phy_mdm6600_irq_thread.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 0x3810000000000000 ## double 1.1754943508222875E-38 LCPI0_1: .quad 0x36a0000000000000 ## double 1.4012984643248171E-45 LCPI0_2: .quad 0x47efffffe0000000 ## double 3.4028234663852886E+38 LCPI0_3: .quad 0x3e80000000000000 ## double 1.1920928955078125E-7 LCPI0_4: .quad 0x0010000000000000 ## double 2.2250738585072014E-308 LCPI0_5: .quad 0x0000000000000001 ## double 4.9406564584124654E-324 LCPI0_6: .quad 0x7fefffffffffffff ## double 1.7976931348623157E+308 LCPI0_7: .quad 0x3cb0000000000000 ## double 2.2204460492503131E-16 .section __TEXT,__literal16,16byte_literals .p2align 4 LCPI0_8: .quad 0x8000000000000000 ## x86_fp80 3.36210314311209350626E-4932 .short 0x0001 .space 6 LCPI0_9: .quad 0x0000000000000001 ## x86_fp80 3.64519953188247460253E-4951 .short 0x0000 .space 6 LCPI0_10: .quad 0xffffffffffffffff ## x86_fp80 1.18973149535723176502E+4932 .short 0x7ffe .space 6 .section __TEXT,__literal4,4byte_literals .p2align 2 LCPI0_11: .long 0x20000000 ## float 1.08420217E-19 .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 subq $32, %rsp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _printf leaq L_str.62(%rip), %rdi callq _puts leaq L_.str.4(%rip), %rdi movl $8, %esi xorl %eax, %eax callq _printf leaq L_.str.5(%rip), %rdi movl $16, %esi xorl %eax, %eax callq _printf leaq L_.str.6(%rip), %rdi movl $32, %esi xorl %eax, %eax callq _printf leaq L_.str.7(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_.str.8(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_.str.10(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_.str.11(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_str.63(%rip), %rdi callq _puts leaq L_.str.13(%rip), %rdi movl $8, %esi xorl %eax, %eax callq _printf leaq L_.str.14(%rip), %rdi movl $16, %esi xorl %eax, %eax callq _printf leaq L_.str.15(%rip), %rdi movl $32, %esi xorl %eax, %eax callq _printf leaq L_.str.16(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_str.64(%rip), %rdi callq _puts leaq L_.str.18(%rip), %rdi movl $32, %esi xorl %eax, %eax callq _printf leaq L_.str.19(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_.str.20(%rip), %rdi movl $128, %esi xorl %eax, %eax callq _printf leaq L_.str.21(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _printf fnstcw -2(%rbp) movzwl -2(%rbp), %ecx shrl $9, %ecx andb $6, %cl movl $45, %esi ## kill: def $cl killed $cl killed $ecx shrl %cl, %esi andl $3, %esi leaq L_.str.22(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.23(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf leaq L_.str.24(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_str.65(%rip), %rdi callq _puts leaq L_.str.26(%rip), %rdi movl $9, %esi xorl %eax, %eax callq _printf leaq L_.str.27(%rip), %rdi movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.28(%rip), %rdi movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.29(%rip), %rdi movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.30(%rip), %rdi movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.31(%rip), %rdi movl $6, %esi xorl %eax, %eax callq _printf leaq L_.str.32(%rip), %rdi movl $24, %esi xorl %eax, %eax callq _printf leaq L_.str.33(%rip), %rdi movl $-125, %esi xorl %eax, %eax callq _printf leaq L_.str.34(%rip), %rdi movl $-37, %esi xorl %eax, %eax callq _printf leaq L_.str.35(%rip), %rdi movl $128, %esi xorl %eax, %eax callq _printf leaq L_.str.36(%rip), %rdi movl $38, %esi xorl %eax, %eax callq _printf leaq L_str.66(%rip), %rdi callq _puts leaq L_.str.38(%rip), %rdi movl $17, %esi xorl %eax, %eax callq _printf leaq L_.str.39(%rip), %rdi movsd LCPI0_4(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.40(%rip), %rdi movsd LCPI0_5(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.41(%rip), %rdi movsd LCPI0_6(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.42(%rip), %rdi movsd LCPI0_7(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf leaq L_.str.43(%rip), %rdi movl $15, %esi xorl %eax, %eax callq _printf leaq L_.str.44(%rip), %rdi movl $53, %esi xorl %eax, %eax callq _printf leaq L_.str.45(%rip), %rdi movl $-1021, %esi ## imm = 0xFC03 xorl %eax, %eax callq _printf leaq L_.str.46(%rip), %rdi movl $-307, %esi ## imm = 0xFECD xorl %eax, %eax callq _printf leaq L_.str.47(%rip), %rdi movl $1024, %esi ## imm = 0x400 xorl %eax, %eax callq _printf leaq L_.str.48(%rip), %rdi movl $308, %esi ## imm = 0x134 xorl %eax, %eax callq _printf leaq L_str.67(%rip), %rdi callq _puts leaq L_.str.50(%rip), %rdi movl $21, %esi xorl %eax, %eax callq _printf fldt LCPI0_8(%rip) fstpt (%rsp) leaq L_.str.51(%rip), %rdi xorl %eax, %eax callq _printf fldt LCPI0_9(%rip) fstpt (%rsp) leaq L_.str.52(%rip), %rdi xorl %eax, %eax callq _printf fldt LCPI0_10(%rip) fstpt (%rsp) leaq L_.str.53(%rip), %rdi xorl %eax, %eax callq _printf flds LCPI0_11(%rip) fstpt (%rsp) leaq L_.str.54(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.55(%rip), %rdi movl $18, %esi xorl %eax, %eax callq _printf leaq L_.str.56(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_.str.57(%rip), %rdi movl $-16381, %esi ## imm = 0xC003 xorl %eax, %eax callq _printf leaq L_.str.58(%rip), %rdi movl $-4931, %esi ## imm = 0xECBD xorl %eax, %eax callq _printf leaq L_.str.59(%rip), %rdi movl $16384, %esi ## imm = 0x4000 xorl %eax, %eax callq _printf leaq L_.str.60(%rip), %rdi movl $4932, %esi ## imm = 0x1344 xorl %eax, %eax callq _printf movl $10, %edi callq _putchar xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "char == %ssigned char\n" L_.str.2: ## @.str.2 .space 1 L_.str.4: ## @.str.4 .asciz "char = %zu\n" L_.str.5: ## @.str.5 .asciz "short = %zu\n" L_.str.6: ## @.str.6 .asciz "int = %zu\n" L_.str.7: ## @.str.7 .asciz "long = %zu\n" L_.str.8: ## @.str.8 .asciz "long long = %zu\n" L_.str.9: ## @.str.9 .asciz "size_t = %zu\n" L_.str.10: ## @.str.10 .asciz "intptr_t = %zu\n" L_.str.11: ## @.str.11 .asciz "intmax_t = %zu\n" L_.str.13: ## @.str.13 .asciz "int_fast8_t = %zu\n" L_.str.14: ## @.str.14 .asciz "int_fast16_t = %zu\n" L_.str.15: ## @.str.15 .asciz "int_fast32_t = %zu\n" L_.str.16: ## @.str.16 .asciz "int_fast64_t = %zu\n" L_.str.18: ## @.str.18 .asciz "float = %zu\n" L_.str.19: ## @.str.19 .asciz "double = %zu\n" L_.str.20: ## @.str.20 .asciz "long double = %zu\n" L_.str.21: ## @.str.21 .asciz "FLT_RADIX = %d\n" L_.str.22: ## @.str.22 .asciz "FLT_ROUNDS = %d (-1,0,1,2,3 = ?,to 0,nearest,+inf,-inf)\n" L_.str.23: ## @.str.23 .asciz "FLT_EVAL_METHOD = %d (0,1,2 = none,double,long double)\n" L_.str.24: ## @.str.24 .asciz "FLT_HAS_SUBNORM = %d (-1,0,1 = ?,no,yes)\n" L_.str.26: ## @.str.26 .asciz "FLT_DECIMAL_DIG = %d\n" L_.str.27: ## @.str.27 .asciz "FLT_MIN = %.8e\n" L_.str.28: ## @.str.28 .asciz "FLT_TRUE_MIN = %.8e\n" L_.str.29: ## @.str.29 .asciz "FLT_MAX = %.8e\n" L_.str.30: ## @.str.30 .asciz "FLT_EPSILON = %.8e\n" L_.str.31: ## @.str.31 .asciz "FLT_DIG = %d\n" L_.str.32: ## @.str.32 .asciz "FLT_MANT_DIG = %d\n" L_.str.33: ## @.str.33 .asciz "FLT_MIN_EXP = %d\n" L_.str.34: ## @.str.34 .asciz "FLT_MIN_10_EXP = %d\n" L_.str.35: ## @.str.35 .asciz "FLT_MAX_EXP = %d\n" L_.str.36: ## @.str.36 .asciz "FLT_MAX_10_EXP = %d\n" L_.str.38: ## @.str.38 .asciz "DBL_DECIMAL_DIG = %d\n" L_.str.39: ## @.str.39 .asciz "DBL_MIN = %.8e\n" L_.str.40: ## @.str.40 .asciz "DBL_TRUE_MIN = %.8e\n" L_.str.41: ## @.str.41 .asciz "DBL_MAX = %.8e\n" L_.str.42: ## @.str.42 .asciz "DBL_EPSILON = %.8e\n" L_.str.43: ## @.str.43 .asciz "DBL_DIG = %d\n" L_.str.44: ## @.str.44 .asciz "DBL_MANT_DIG = %d\n" L_.str.45: ## @.str.45 .asciz "DBL_MIN_EXP = %d\n" L_.str.46: ## @.str.46 .asciz "DBL_MIN_10_EXP = %d\n" L_.str.47: ## @.str.47 .asciz "DBL_MAX_EXP = %d\n" L_.str.48: ## @.str.48 .asciz "DBL_MAX_10_EXP = %d\n" L_.str.50: ## @.str.50 .asciz "LDBL_DECIMAL_DIG = %d\n" L_.str.51: ## @.str.51 .asciz "LDBL_MIN = %.8Le\n" L_.str.52: ## @.str.52 .asciz "LDBL_TRUE_MIN = %.8Le\n" L_.str.53: ## @.str.53 .asciz "LDBL_MAX = %.8Le\n" L_.str.54: ## @.str.54 .asciz "LDBL_EPSILON = %.8Le\n" L_.str.55: ## @.str.55 .asciz "LDBL_DIG = %d\n" L_.str.56: ## @.str.56 .asciz "LDBL_MANT_DIG = %d\n" L_.str.57: ## @.str.57 .asciz "LDBL_MIN_EXP = %d\n" L_.str.58: ## @.str.58 .asciz "LDBL_MIN_10_EXP = %d\n" L_.str.59: ## @.str.59 .asciz "LDBL_MAX_EXP = %d\n" L_.str.60: ## @.str.60 .asciz "LDBL_MAX_10_EXP = %d\n" L_str: ## @str .asciz "\n----- Char is Signed or Unsigned ------" L_str.62: ## @str.62 .asciz "\n----- Integer Sizes -------------------" L_str.63: ## @str.63 .asciz "\n----- Fast Integer Sizes --------------" L_str.64: ## @str.64 .asciz "\n----- Floating Point Types ------------" L_str.65: ## @str.65 .asciz "\n----- Float Limits --------------------" L_str.66: ## @str.66 .asciz "\n----- Double Limits -------------------" L_str.67: ## @str.67 .asciz "\n----- Long Double Limits --------------" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp 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 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x8, l_.str.2@PAGE Lloh3: add x8, x8, l_.str.2@PAGEOFF str x8, [sp] Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _printf Lloh6: adrp x0, l_str.62@PAGE Lloh7: add x0, x0, l_str.62@PAGEOFF bl _puts mov w21, #8 str x21, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _printf mov w22, #16 str x22, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf mov w20, #32 str x20, [sp] Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _printf mov w19, #64 str x19, [sp] Lloh14: adrp x0, l_.str.7@PAGE Lloh15: add x0, x0, l_.str.7@PAGEOFF bl _printf str x19, [sp] Lloh16: adrp x0, l_.str.8@PAGE Lloh17: add x0, x0, l_.str.8@PAGEOFF bl _printf str x19, [sp] Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF bl _printf str x19, [sp] Lloh20: adrp x0, l_.str.10@PAGE Lloh21: add x0, x0, l_.str.10@PAGEOFF bl _printf str x19, [sp] Lloh22: adrp x0, l_.str.11@PAGE Lloh23: add x0, x0, l_.str.11@PAGEOFF bl _printf Lloh24: adrp x0, l_str.63@PAGE Lloh25: add x0, x0, l_str.63@PAGEOFF bl _puts str x21, [sp] Lloh26: adrp x0, l_.str.13@PAGE Lloh27: add x0, x0, l_.str.13@PAGEOFF bl _printf str x22, [sp] Lloh28: adrp x0, l_.str.14@PAGE Lloh29: add x0, x0, l_.str.14@PAGEOFF bl _printf str x20, [sp] Lloh30: adrp x0, l_.str.15@PAGE Lloh31: add x0, x0, l_.str.15@PAGEOFF bl _printf str x19, [sp] Lloh32: adrp x0, l_.str.16@PAGE Lloh33: add x0, x0, l_.str.16@PAGEOFF bl _printf Lloh34: adrp x0, l_str.64@PAGE Lloh35: add x0, x0, l_str.64@PAGEOFF bl _puts str x20, [sp] Lloh36: adrp x0, l_.str.18@PAGE Lloh37: add x0, x0, l_.str.18@PAGEOFF bl _printf str x19, [sp] Lloh38: adrp x0, l_.str.19@PAGE Lloh39: add x0, x0, l_.str.19@PAGEOFF bl _printf str x19, [sp] Lloh40: adrp x0, l_.str.20@PAGE Lloh41: add x0, x0, l_.str.20@PAGEOFF bl _printf mov w8, #2 str x8, [sp] Lloh42: adrp x0, l_.str.21@PAGE Lloh43: add x0, x0, l_.str.21@PAGEOFF bl _printf mrs x8, FPCR add w8, w8, #1024, lsl #12 ; =4194304 ubfx w8, w8, #22, #2 str x8, [sp] Lloh44: adrp x0, l_.str.22@PAGE Lloh45: add x0, x0, l_.str.22@PAGEOFF bl _printf str xzr, [sp] Lloh46: adrp x0, l_.str.23@PAGE Lloh47: add x0, x0, l_.str.23@PAGEOFF bl _printf mov w8, #1 str x8, [sp] mov w19, #1 Lloh48: adrp x0, l_.str.24@PAGE Lloh49: add x0, x0, l_.str.24@PAGEOFF bl _printf Lloh50: adrp x0, l_str.65@PAGE Lloh51: add x0, x0, l_str.65@PAGEOFF bl _puts mov w8, #9 str x8, [sp] Lloh52: adrp x0, l_.str.26@PAGE Lloh53: add x0, x0, l_.str.26@PAGEOFF bl _printf mov x8, #4039728865751334912 str x8, [sp] Lloh54: adrp x0, l_.str.27@PAGE Lloh55: add x0, x0, l_.str.27@PAGEOFF bl _printf mov x8, #3936146074321813504 str x8, [sp] Lloh56: adrp x0, l_.str.28@PAGE Lloh57: add x0, x0, l_.str.28@PAGEOFF bl _printf mov x8, #281474439839744 movk x8, #18415, lsl #48 str x8, [sp] Lloh58: adrp x0, l_.str.29@PAGE Lloh59: add x0, x0, l_.str.29@PAGEOFF bl _printf mov x8, #4503599627370496000 str x8, [sp] Lloh60: adrp x0, l_.str.30@PAGE Lloh61: add x0, x0, l_.str.30@PAGEOFF bl _printf mov w8, #6 str x8, [sp] Lloh62: adrp x0, l_.str.31@PAGE Lloh63: add x0, x0, l_.str.31@PAGEOFF bl _printf mov w8, #24 str x8, [sp] Lloh64: adrp x0, l_.str.32@PAGE Lloh65: add x0, x0, l_.str.32@PAGEOFF bl _printf mov w8, #-125 str x8, [sp] Lloh66: adrp x0, l_.str.33@PAGE Lloh67: add x0, x0, l_.str.33@PAGEOFF bl _printf mov w8, #-37 str x8, [sp] Lloh68: adrp x0, l_.str.34@PAGE Lloh69: add x0, x0, l_.str.34@PAGEOFF bl _printf mov w8, #128 str x8, [sp] Lloh70: adrp x0, l_.str.35@PAGE Lloh71: add x0, x0, l_.str.35@PAGEOFF bl _printf mov w8, #38 str x8, [sp] Lloh72: adrp x0, l_.str.36@PAGE Lloh73: add x0, x0, l_.str.36@PAGEOFF bl _printf Lloh74: adrp x0, l_str.66@PAGE Lloh75: add x0, x0, l_str.66@PAGEOFF bl _puts mov w20, #17 str x20, [sp] Lloh76: adrp x0, l_.str.38@PAGE Lloh77: add x0, x0, l_.str.38@PAGEOFF bl _printf mov x21, #4503599627370496 str x21, [sp] Lloh78: adrp x0, l_.str.39@PAGE Lloh79: add x0, x0, l_.str.39@PAGEOFF bl _printf str x19, [sp] Lloh80: adrp x0, l_.str.40@PAGE Lloh81: add x0, x0, l_.str.40@PAGEOFF bl _printf mov x22, #9218868437227405311 str x22, [sp] Lloh82: adrp x0, l_.str.41@PAGE Lloh83: add x0, x0, l_.str.41@PAGEOFF bl _printf mov x23, #4372995238176751616 str x23, [sp] Lloh84: adrp x0, l_.str.42@PAGE Lloh85: add x0, x0, l_.str.42@PAGEOFF bl _printf mov w24, #15 str x24, [sp] Lloh86: adrp x0, l_.str.43@PAGE Lloh87: add x0, x0, l_.str.43@PAGEOFF bl _printf mov w25, #53 str x25, [sp] Lloh88: adrp x0, l_.str.44@PAGE Lloh89: add x0, x0, l_.str.44@PAGEOFF bl _printf mov w26, #-1021 str x26, [sp] Lloh90: adrp x0, l_.str.45@PAGE Lloh91: add x0, x0, l_.str.45@PAGEOFF bl _printf mov w27, #-307 str x27, [sp] Lloh92: adrp x0, l_.str.46@PAGE Lloh93: add x0, x0, l_.str.46@PAGEOFF bl _printf mov w28, #1024 str x28, [sp] Lloh94: adrp x0, l_.str.47@PAGE Lloh95: add x0, x0, l_.str.47@PAGEOFF bl _printf mov w19, #308 str x19, [sp] Lloh96: adrp x0, l_.str.48@PAGE Lloh97: add x0, x0, l_.str.48@PAGEOFF bl _printf Lloh98: adrp x0, l_str.67@PAGE Lloh99: add x0, x0, l_str.67@PAGEOFF bl _puts str x20, [sp] Lloh100: adrp x0, l_.str.50@PAGE Lloh101: add x0, x0, l_.str.50@PAGEOFF bl _printf str x21, [sp] Lloh102: adrp x0, l_.str.51@PAGE Lloh103: add x0, x0, l_.str.51@PAGEOFF bl _printf mov w8, #1 str x8, [sp] Lloh104: adrp x0, l_.str.52@PAGE Lloh105: add x0, x0, l_.str.52@PAGEOFF bl _printf str x22, [sp] Lloh106: adrp x0, l_.str.53@PAGE Lloh107: add x0, x0, l_.str.53@PAGEOFF bl _printf str x23, [sp] Lloh108: adrp x0, l_.str.54@PAGE Lloh109: add x0, x0, l_.str.54@PAGEOFF bl _printf str x24, [sp] Lloh110: adrp x0, l_.str.55@PAGE Lloh111: add x0, x0, l_.str.55@PAGEOFF bl _printf str x25, [sp] Lloh112: adrp x0, l_.str.56@PAGE Lloh113: add x0, x0, l_.str.56@PAGEOFF bl _printf str x26, [sp] Lloh114: adrp x0, l_.str.57@PAGE Lloh115: add x0, x0, l_.str.57@PAGEOFF bl _printf str x27, [sp] Lloh116: adrp x0, l_.str.58@PAGE Lloh117: add x0, x0, l_.str.58@PAGEOFF bl _printf str x28, [sp] Lloh118: adrp x0, l_.str.59@PAGE Lloh119: add x0, x0, l_.str.59@PAGEOFF bl _printf str x19, [sp] Lloh120: adrp x0, l_.str.60@PAGE Lloh121: add x0, x0, l_.str.60@PAGEOFF bl _printf mov w0, #10 bl _putchar mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh120, Lloh121 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpAdd Lloh114, Lloh115 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "char == %ssigned char\n" l_.str.2: ; @.str.2 .space 1 l_.str.4: ; @.str.4 .asciz "char = %zu\n" l_.str.5: ; @.str.5 .asciz "short = %zu\n" l_.str.6: ; @.str.6 .asciz "int = %zu\n" l_.str.7: ; @.str.7 .asciz "long = %zu\n" l_.str.8: ; @.str.8 .asciz "long long = %zu\n" l_.str.9: ; @.str.9 .asciz "size_t = %zu\n" l_.str.10: ; @.str.10 .asciz "intptr_t = %zu\n" l_.str.11: ; @.str.11 .asciz "intmax_t = %zu\n" l_.str.13: ; @.str.13 .asciz "int_fast8_t = %zu\n" l_.str.14: ; @.str.14 .asciz "int_fast16_t = %zu\n" l_.str.15: ; @.str.15 .asciz "int_fast32_t = %zu\n" l_.str.16: ; @.str.16 .asciz "int_fast64_t = %zu\n" l_.str.18: ; @.str.18 .asciz "float = %zu\n" l_.str.19: ; @.str.19 .asciz "double = %zu\n" l_.str.20: ; @.str.20 .asciz "long double = %zu\n" l_.str.21: ; @.str.21 .asciz "FLT_RADIX = %d\n" l_.str.22: ; @.str.22 .asciz "FLT_ROUNDS = %d (-1,0,1,2,3 = ?,to 0,nearest,+inf,-inf)\n" l_.str.23: ; @.str.23 .asciz "FLT_EVAL_METHOD = %d (0,1,2 = none,double,long double)\n" l_.str.24: ; @.str.24 .asciz "FLT_HAS_SUBNORM = %d (-1,0,1 = ?,no,yes)\n" l_.str.26: ; @.str.26 .asciz "FLT_DECIMAL_DIG = %d\n" l_.str.27: ; @.str.27 .asciz "FLT_MIN = %.8e\n" l_.str.28: ; @.str.28 .asciz "FLT_TRUE_MIN = %.8e\n" l_.str.29: ; @.str.29 .asciz "FLT_MAX = %.8e\n" l_.str.30: ; @.str.30 .asciz "FLT_EPSILON = %.8e\n" l_.str.31: ; @.str.31 .asciz "FLT_DIG = %d\n" l_.str.32: ; @.str.32 .asciz "FLT_MANT_DIG = %d\n" l_.str.33: ; @.str.33 .asciz "FLT_MIN_EXP = %d\n" l_.str.34: ; @.str.34 .asciz "FLT_MIN_10_EXP = %d\n" l_.str.35: ; @.str.35 .asciz "FLT_MAX_EXP = %d\n" l_.str.36: ; @.str.36 .asciz "FLT_MAX_10_EXP = %d\n" l_.str.38: ; @.str.38 .asciz "DBL_DECIMAL_DIG = %d\n" l_.str.39: ; @.str.39 .asciz "DBL_MIN = %.8e\n" l_.str.40: ; @.str.40 .asciz "DBL_TRUE_MIN = %.8e\n" l_.str.41: ; @.str.41 .asciz "DBL_MAX = %.8e\n" l_.str.42: ; @.str.42 .asciz "DBL_EPSILON = %.8e\n" l_.str.43: ; @.str.43 .asciz "DBL_DIG = %d\n" l_.str.44: ; @.str.44 .asciz "DBL_MANT_DIG = %d\n" l_.str.45: ; @.str.45 .asciz "DBL_MIN_EXP = %d\n" l_.str.46: ; @.str.46 .asciz "DBL_MIN_10_EXP = %d\n" l_.str.47: ; @.str.47 .asciz "DBL_MAX_EXP = %d\n" l_.str.48: ; @.str.48 .asciz "DBL_MAX_10_EXP = %d\n" l_.str.50: ; @.str.50 .asciz "LDBL_DECIMAL_DIG = %d\n" l_.str.51: ; @.str.51 .asciz "LDBL_MIN = %.8Le\n" l_.str.52: ; @.str.52 .asciz "LDBL_TRUE_MIN = %.8Le\n" l_.str.53: ; @.str.53 .asciz "LDBL_MAX = %.8Le\n" l_.str.54: ; @.str.54 .asciz "LDBL_EPSILON = %.8Le\n" l_.str.55: ; @.str.55 .asciz "LDBL_DIG = %d\n" l_.str.56: ; @.str.56 .asciz "LDBL_MANT_DIG = %d\n" l_.str.57: ; @.str.57 .asciz "LDBL_MIN_EXP = %d\n" l_.str.58: ; @.str.58 .asciz "LDBL_MIN_10_EXP = %d\n" l_.str.59: ; @.str.59 .asciz "LDBL_MAX_EXP = %d\n" l_.str.60: ; @.str.60 .asciz "LDBL_MAX_10_EXP = %d\n" l_str: ; @str .asciz "\n----- Char is Signed or Unsigned ------" l_str.62: ; @str.62 .asciz "\n----- Integer Sizes -------------------" l_str.63: ; @str.63 .asciz "\n----- Fast Integer Sizes --------------" l_str.64: ; @str.64 .asciz "\n----- Floating Point Types ------------" l_str.65: ; @str.65 .asciz "\n----- Float Limits --------------------" l_str.66: ; @str.66 .asciz "\n----- Double Limits -------------------" l_str.67: ; @str.67 .asciz "\n----- Long Double Limits --------------" .subsections_via_symbols
the_stack_data/232956193.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dump_write_message _dump_write_message: ## @dump_write_message .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 movzbl 1(%rsi), %esi leaq L_.str.52(%rip), %rdi xorl %eax, %eax callq _tuner_info testb $1, 1(%r15) leaq L_.str.55(%rip), %rax leaq L_.str.54(%rip), %rsi cmoveq %rax, %rsi leaq L_.str.53(%rip), %rdi xorl %eax, %eax callq _tuner_info testb $2, 1(%r15) leaq L_.str.35(%rip), %rbx leaq L_.str.57(%rip), %r14 movq %r14, %rsi cmoveq %rbx, %rsi leaq L_.str.56(%rip), %rdi xorl %eax, %eax callq _tuner_info testb $4, 1(%r15) leaq L_.str.60(%rip), %rax leaq L_.str.59(%rip), %rsi cmoveq %rax, %rsi leaq L_.str.58(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 1(%r15), %eax shrq %rax andl $12, %eax leaq _reltable.dump_write_message(%rip), %rcx movslq (%rax,%rcx), %rsi addq %rcx, %rsi leaq L_.str.61(%rip), %rdi xorl %eax, %eax callq _tuner_info testb $32, 1(%r15) cmoveq %rbx, %r14 leaq L_.str.62(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _tuner_info testb $64, 1(%r15) leaq L_.str.65(%rip), %r14 leaq L_.str.64(%rip), %rbx movq %rbx, %rsi cmoveq %r14, %rsi leaq L_.str.63(%rip), %rdi xorl %eax, %eax callq _tuner_info cmpb $0, 1(%r15) cmovnsq %r14, %rbx leaq L_.str.66(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _tuner_info movzbl 2(%r15), %esi leaq L_.str.67(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 2(%r15), %eax andl $31, %eax leaq _reltable.dump_write_message.89(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi leaq L_.str.68(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 2(%r15), %eax shrq $3, %rax andl $12, %eax leaq _reltable.dump_write_message.90(%rip), %rcx movslq (%rax,%rcx), %rsi addq %rcx, %rsi leaq L_.str.69(%rip), %rdi xorl %eax, %eax callq _tuner_info cmpb $0, 2(%r15) leaq L_.str.19(%rip), %rax leaq L_.str.13(%rip), %rsi cmovnsq %rax, %rsi leaq L_.str.70(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 3(%r15), %esi leaq L_.str.71(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 3(%r15), %eax andl $3, %eax leaq _reltable.dump_write_message.91(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi leaq L_.str.72(%rip), %rdi xorl %eax, %eax callq _tuner_info testb $64, 3(%r15) leaq L_.str.75(%rip), %rax leaq L_.str.74(%rip), %rsi cmoveq %rax, %rsi leaq L_.str.73(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 3(%r15), %eax shrq $2, %rax testb $8, 1(%r15) jne LBB0_1 ## %bb.2: andb $7, %al movzbl %al, %eax leaq _reltable.dump_write_message.92(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi leaq L_.str.76(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 3(%r15), %eax testb $-128, %al leaq L_.str.84(%rip), %rcx leaq L_.str.82(%rip), %rdx cmoveq %rcx, %rdx testb $32, %al leaq L_.str.83(%rip), %rsi cmovneq %rdx, %rsi leaq L_.str.81(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 3(%r15), %eax testb $32, %al leaq L_.str.86(%rip), %rcx leaq L_.str.85(%rip), %rdx cmoveq %rcx, %rdx testb $-128, %al leaq L_.str.87(%rip), %rsi jmp LBB0_3 LBB0_1: andl $3, %eax leaq _reltable.dump_write_message.93(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi leaq L_.str.76(%rip), %rdi xorl %eax, %eax callq _tuner_info movzbl 3(%r15), %eax testb $16, %al leaq L_.str.79(%rip), %rcx leaq L_.str.78(%rip), %rdx cmoveq %rcx, %rdx testb $-128, %al leaq L_.str.80(%rip), %rsi LBB0_3: cmovneq %rdx, %rsi leaq L_.str.77(%rip), %rdi xorl %eax, %eax callq _tuner_info leaq L_.str.88(%rip), %rdi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _tuner_info ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @reltable.dump_write_message _reltable.dump_write_message: .long L_.str-_reltable.dump_write_message .long L_.str.1-_reltable.dump_write_message .long L_.str.2-_reltable.dump_write_message .long L_.str.1-_reltable.dump_write_message .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "AM/TV" L_.str.1: ## @.str.1 .asciz "FM/radio" L_.str.2: ## @.str.2 .asciz "FM/TV" .section __TEXT,__const .p2align 2 ## @reltable.dump_write_message.89 _reltable.dump_write_message.89: .long L_.str.3-_reltable.dump_write_message.89 .long L_.str.4-_reltable.dump_write_message.89 .long L_.str.5-_reltable.dump_write_message.89 .long L_.str.6-_reltable.dump_write_message.89 .long L_.str.7-_reltable.dump_write_message.89 .long L_.str.8-_reltable.dump_write_message.89 .long L_.str.9-_reltable.dump_write_message.89 .long L_.str.10-_reltable.dump_write_message.89 .long L_.str.11-_reltable.dump_write_message.89 .long L_.str.12-_reltable.dump_write_message.89 .long L_.str.13-_reltable.dump_write_message.89 .long L_.str.14-_reltable.dump_write_message.89 .long L_.str.15-_reltable.dump_write_message.89 .long L_.str.16-_reltable.dump_write_message.89 .long L_.str.17-_reltable.dump_write_message.89 .long L_.str.18-_reltable.dump_write_message.89 .long L_.str.19-_reltable.dump_write_message.89 .long L_.str.20-_reltable.dump_write_message.89 .long L_.str.21-_reltable.dump_write_message.89 .long L_.str.22-_reltable.dump_write_message.89 .long L_.str.23-_reltable.dump_write_message.89 .long L_.str.24-_reltable.dump_write_message.89 .long L_.str.25-_reltable.dump_write_message.89 .long L_.str.26-_reltable.dump_write_message.89 .long L_.str.27-_reltable.dump_write_message.89 .long L_.str.28-_reltable.dump_write_message.89 .long L_.str.29-_reltable.dump_write_message.89 .long L_.str.30-_reltable.dump_write_message.89 .long L_.str.31-_reltable.dump_write_message.89 .long L_.str.32-_reltable.dump_write_message.89 .long L_.str.33-_reltable.dump_write_message.89 .long L_.str.34-_reltable.dump_write_message.89 .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "-16" L_.str.4: ## @.str.4 .asciz "-15" L_.str.5: ## @.str.5 .asciz "-14" L_.str.6: ## @.str.6 .asciz "-13" L_.str.7: ## @.str.7 .asciz "-12" L_.str.8: ## @.str.8 .asciz "-11" L_.str.9: ## @.str.9 .asciz "-10" L_.str.10: ## @.str.10 .asciz "-9" L_.str.11: ## @.str.11 .asciz "-8" L_.str.12: ## @.str.12 .asciz "-7" L_.str.13: ## @.str.13 .asciz "-6" L_.str.14: ## @.str.14 .asciz "-5" L_.str.15: ## @.str.15 .asciz "-4" L_.str.16: ## @.str.16 .asciz "-3" L_.str.17: ## @.str.17 .asciz "-2" L_.str.18: ## @.str.18 .asciz "-1" L_.str.19: ## @.str.19 .asciz "0" L_.str.20: ## @.str.20 .asciz "+1" L_.str.21: ## @.str.21 .asciz "+2" L_.str.22: ## @.str.22 .asciz "+3" L_.str.23: ## @.str.23 .asciz "+4" L_.str.24: ## @.str.24 .asciz "+5" L_.str.25: ## @.str.25 .asciz "+6" L_.str.26: ## @.str.26 .asciz "+7" L_.str.27: ## @.str.27 .asciz "+8" L_.str.28: ## @.str.28 .asciz "+9" L_.str.29: ## @.str.29 .asciz "+10" L_.str.30: ## @.str.30 .asciz "+11" L_.str.31: ## @.str.31 .asciz "+12" L_.str.32: ## @.str.32 .asciz "+13" L_.str.33: ## @.str.33 .asciz "+14" L_.str.34: ## @.str.34 .asciz "+15" .section __TEXT,__const .p2align 2 ## @reltable.dump_write_message.90 _reltable.dump_write_message.90: .long L_.str.35-_reltable.dump_write_message.90 .long L_.str.35-_reltable.dump_write_message.90 .long L_.str.36-_reltable.dump_write_message.90 .long L_.str.37-_reltable.dump_write_message.90 .section __TEXT,__cstring,cstring_literals L_.str.35: ## @.str.35 .asciz "no" L_.str.36: ## @.str.36 .asciz "75" L_.str.37: ## @.str.37 .asciz "50" .section __TEXT,__const .p2align 2 ## @reltable.dump_write_message.91 _reltable.dump_write_message.91: .long L_.str.38-_reltable.dump_write_message.91 .long L_.str.39-_reltable.dump_write_message.91 .long L_.str.40-_reltable.dump_write_message.91 .long L_.str.41-_reltable.dump_write_message.91 .section __TEXT,__cstring,cstring_literals L_.str.38: ## @.str.38 .asciz "4.5 MHz" L_.str.39: ## @.str.39 .asciz "5.5 MHz" L_.str.40: ## @.str.40 .asciz "6.0 MHz" L_.str.41: ## @.str.41 .asciz "6.5 MHz / AM" .section __TEXT,__const .p2align 2 ## @reltable.dump_write_message.92 _reltable.dump_write_message.92: .long L_.str.42-_reltable.dump_write_message.92 .long L_.str.43-_reltable.dump_write_message.92 .long L_.str.44-_reltable.dump_write_message.92 .long L_.str.45-_reltable.dump_write_message.92 .long L_.str.46-_reltable.dump_write_message.92 .long L_.str.47-_reltable.dump_write_message.92 .long L_.str.48-_reltable.dump_write_message.92 .long L_.str.49-_reltable.dump_write_message.92 .section __TEXT,__cstring,cstring_literals L_.str.42: ## @.str.42 .asciz "58.75 MHz" L_.str.43: ## @.str.43 .asciz "45.75 MHz" L_.str.44: ## @.str.44 .asciz "38.9 MHz" L_.str.45: ## @.str.45 .asciz "38.0 MHz" L_.str.46: ## @.str.46 .asciz "33.9 MHz" L_.str.47: ## @.str.47 .asciz "33.4 MHz" L_.str.48: ## @.str.48 .asciz "45.75 MHz + pin13" L_.str.49: ## @.str.49 .asciz "38.9 MHz + pin13" .section __TEXT,__const .p2align 2 ## @reltable.dump_write_message.93 _reltable.dump_write_message.93: .long L_.str.50-_reltable.dump_write_message.93 .long L_.str.51-_reltable.dump_write_message.93 .long L_.str.51-_reltable.dump_write_message.93 .long L_.str.50-_reltable.dump_write_message.93 .section __TEXT,__cstring,cstring_literals L_.str.50: ## @.str.50 .asciz "44 MHz" L_.str.51: ## @.str.51 .asciz "52 MHz" L_.str.52: ## @.str.52 .asciz "write: byte B 0x%02x\n" L_.str.53: ## @.str.53 .asciz " B0 video mode : %s\n" L_.str.54: ## @.str.54 .asciz "video trap" L_.str.55: ## @.str.55 .asciz "sound trap" L_.str.56: ## @.str.56 .asciz " B1 auto mute fm : %s\n" L_.str.57: ## @.str.57 .asciz "yes" L_.str.58: ## @.str.58 .asciz " B2 carrier mode : %s\n" L_.str.59: ## @.str.59 .asciz "QSS" L_.str.60: ## @.str.60 .asciz "Intercarrier" L_.str.61: ## @.str.61 .asciz " B3-4 tv sound/radio : %s\n" L_.str.62: ## @.str.62 .asciz " B5 force mute audio: %s\n" L_.str.63: ## @.str.63 .asciz " B6 output port 1 : %s\n" L_.str.64: ## @.str.64 .asciz "high (inactive)" L_.str.65: ## @.str.65 .asciz "low (active)" L_.str.66: ## @.str.66 .asciz " B7 output port 2 : %s\n" L_.str.67: ## @.str.67 .asciz "write: byte C 0x%02x\n" L_.str.68: ## @.str.68 .asciz " C0-4 top adjustment : %s dB\n" L_.str.69: ## @.str.69 .asciz " C5-6 de-emphasis : %s\n" L_.str.70: ## @.str.70 .asciz " C7 audio gain : %s\n" L_.str.71: ## @.str.71 .asciz "write: byte E 0x%02x\n" L_.str.72: ## @.str.72 .asciz " E0-1 sound carrier : %s\n" L_.str.73: ## @.str.73 .asciz " E6 l pll gating : %s\n" L_.str.74: ## @.str.74 .asciz "36" L_.str.75: ## @.str.75 .asciz "13" L_.str.76: ## @.str.76 .asciz " E2-4 video if : %s\n" L_.str.77: ## @.str.77 .asciz " E7 vif agc output : %s\n" L_.str.78: ## @.str.78 .asciz "fm-agc radio" L_.str.79: ## @.str.79 .asciz "sif-agc radio" L_.str.80: ## @.str.80 .asciz "fm radio carrier afc" L_.str.81: ## @.str.81 .asciz " E5 tuner gain : %s\n" L_.str.82: ## @.str.82 .asciz "external" L_.str.83: ## @.str.83 .asciz "normal" L_.str.84: ## @.str.84 .asciz "minimum" L_.str.85: ## @.str.85 .asciz "pin3 port, pin22 vif agc out" L_.str.86: ## @.str.86 .asciz "pin22 port, pin3 vif acg ext in" L_.str.87: ## @.str.87 .asciz "pin3+pin22 port" L_.str.88: ## @.str.88 .asciz "--\n" .no_dead_strip _dump_write_message .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dump_write_message _dump_write_message: ; @dump_write_message .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 ldrb w8, [x1, #1] str x8, [sp] Lloh0: adrp x0, l_.str.52@PAGE Lloh1: add x0, x0, l_.str.52@PAGEOFF bl _tuner_info ldrb w8, [x19, #1] Lloh2: adrp x9, l_.str.54@PAGE Lloh3: add x9, x9, l_.str.54@PAGEOFF Lloh4: adrp x10, l_.str.55@PAGE Lloh5: add x10, x10, l_.str.55@PAGEOFF tst w8, #0x1 csel x8, x10, x9, eq str x8, [sp] Lloh6: adrp x0, l_.str.53@PAGE Lloh7: add x0, x0, l_.str.53@PAGEOFF bl _tuner_info ldrb w8, [x19, #1] Lloh8: adrp x20, l_.str.57@PAGE Lloh9: add x20, x20, l_.str.57@PAGEOFF Lloh10: adrp x21, l_.str.35@PAGE Lloh11: add x21, x21, l_.str.35@PAGEOFF tst w8, #0x2 csel x8, x21, x20, eq str x8, [sp] Lloh12: adrp x0, l_.str.56@PAGE Lloh13: add x0, x0, l_.str.56@PAGEOFF bl _tuner_info ldrb w8, [x19, #1] Lloh14: adrp x9, l_.str.59@PAGE Lloh15: add x9, x9, l_.str.59@PAGEOFF Lloh16: adrp x10, l_.str.60@PAGE Lloh17: add x10, x10, l_.str.60@PAGEOFF tst w8, #0x4 csel x8, x10, x9, eq str x8, [sp] Lloh18: adrp x0, l_.str.58@PAGE Lloh19: add x0, x0, l_.str.58@PAGEOFF bl _tuner_info ldrb w8, [x19, #1] ubfx x8, x8, #3, #2 Lloh20: adrp x9, _dump_write_message.sound@PAGE Lloh21: add x9, x9, _dump_write_message.sound@PAGEOFF ldr x8, [x9, x8, lsl #3] str x8, [sp] Lloh22: adrp x0, l_.str.61@PAGE Lloh23: add x0, x0, l_.str.61@PAGEOFF bl _tuner_info ldrb w8, [x19, #1] tst w8, #0x20 csel x8, x21, x20, eq str x8, [sp] Lloh24: adrp x0, l_.str.62@PAGE Lloh25: add x0, x0, l_.str.62@PAGEOFF bl _tuner_info ldrb w8, [x19, #1] Lloh26: adrp x20, l_.str.64@PAGE Lloh27: add x20, x20, l_.str.64@PAGEOFF Lloh28: adrp x21, l_.str.65@PAGE Lloh29: add x21, x21, l_.str.65@PAGEOFF tst w8, #0x40 csel x8, x21, x20, eq str x8, [sp] Lloh30: adrp x0, l_.str.63@PAGE Lloh31: add x0, x0, l_.str.63@PAGEOFF bl _tuner_info ldrsb w8, [x19, #1] cmp w8, #0 csel x8, x21, x20, ge str x8, [sp] Lloh32: adrp x0, l_.str.66@PAGE Lloh33: add x0, x0, l_.str.66@PAGEOFF bl _tuner_info ldrb w8, [x19, #2] str x8, [sp] Lloh34: adrp x0, l_.str.67@PAGE Lloh35: add x0, x0, l_.str.67@PAGEOFF bl _tuner_info ldrb w8, [x19, #2] and x8, x8, #0x1f Lloh36: adrp x9, _dump_write_message.adjust@PAGE Lloh37: add x9, x9, _dump_write_message.adjust@PAGEOFF ldr x8, [x9, x8, lsl #3] str x8, [sp] Lloh38: adrp x0, l_.str.68@PAGE Lloh39: add x0, x0, l_.str.68@PAGEOFF bl _tuner_info ldrb w8, [x19, #2] ubfx x8, x8, #5, #2 Lloh40: adrp x9, _dump_write_message.deemph@PAGE Lloh41: add x9, x9, _dump_write_message.deemph@PAGEOFF ldr x8, [x9, x8, lsl #3] str x8, [sp] Lloh42: adrp x0, l_.str.69@PAGE Lloh43: add x0, x0, l_.str.69@PAGEOFF bl _tuner_info ldrsb w8, [x19, #2] Lloh44: adrp x9, l_.str.13@PAGE Lloh45: add x9, x9, l_.str.13@PAGEOFF Lloh46: adrp x10, l_.str.19@PAGE Lloh47: add x10, x10, l_.str.19@PAGEOFF cmp w8, #0 csel x8, x10, x9, ge str x8, [sp] Lloh48: adrp x0, l_.str.70@PAGE Lloh49: add x0, x0, l_.str.70@PAGEOFF bl _tuner_info ldrb w8, [x19, #3] str x8, [sp] Lloh50: adrp x0, l_.str.71@PAGE Lloh51: add x0, x0, l_.str.71@PAGEOFF bl _tuner_info ldrb w8, [x19, #3] and x8, x8, #0x3 Lloh52: adrp x9, _dump_write_message.carrier@PAGE Lloh53: add x9, x9, _dump_write_message.carrier@PAGEOFF ldr x8, [x9, x8, lsl #3] str x8, [sp] Lloh54: adrp x0, l_.str.72@PAGE Lloh55: add x0, x0, l_.str.72@PAGEOFF bl _tuner_info ldrb w8, [x19, #3] Lloh56: adrp x9, l_.str.74@PAGE Lloh57: add x9, x9, l_.str.74@PAGEOFF Lloh58: adrp x10, l_.str.75@PAGE Lloh59: add x10, x10, l_.str.75@PAGEOFF tst w8, #0x40 csel x8, x10, x9, eq str x8, [sp] Lloh60: adrp x0, l_.str.73@PAGE Lloh61: add x0, x0, l_.str.73@PAGEOFF bl _tuner_info ldrb w9, [x19, #1] ldrb w8, [x19, #3] tbnz w9, #3, LBB0_2 ; %bb.1: ubfx w8, w8, #2, #3 Lloh62: adrp x9, _dump_write_message.vif@PAGE Lloh63: add x9, x9, _dump_write_message.vif@PAGEOFF ldr x8, [x9, w8, uxtw #3] str x8, [sp] Lloh64: adrp x0, l_.str.76@PAGE Lloh65: add x0, x0, l_.str.76@PAGEOFF bl _tuner_info ldrb w8, [x19, #3] Lloh66: adrp x9, l_.str.82@PAGE Lloh67: add x9, x9, l_.str.82@PAGEOFF Lloh68: adrp x10, l_.str.84@PAGE Lloh69: add x10, x10, l_.str.84@PAGEOFF tst w8, #0x80 csel x9, x10, x9, eq Lloh70: adrp x10, l_.str.83@PAGE Lloh71: add x10, x10, l_.str.83@PAGEOFF tst w8, #0x20 csel x8, x10, x9, eq str x8, [sp] Lloh72: adrp x0, l_.str.81@PAGE Lloh73: add x0, x0, l_.str.81@PAGEOFF bl _tuner_info ldrb w8, [x19, #3] Lloh74: adrp x9, l_.str.85@PAGE Lloh75: add x9, x9, l_.str.85@PAGEOFF Lloh76: adrp x10, l_.str.86@PAGE Lloh77: add x10, x10, l_.str.86@PAGEOFF tst w8, #0x20 csel x9, x10, x9, eq Lloh78: adrp x10, l_.str.87@PAGE Lloh79: add x10, x10, l_.str.87@PAGEOFF b LBB0_3 LBB0_2: ubfx w8, w8, #2, #2 Lloh80: adrp x9, _dump_write_message.rif@PAGE Lloh81: add x9, x9, _dump_write_message.rif@PAGEOFF ldr x8, [x9, w8, uxtw #3] str x8, [sp] Lloh82: adrp x0, l_.str.76@PAGE Lloh83: add x0, x0, l_.str.76@PAGEOFF bl _tuner_info ldrb w8, [x19, #3] Lloh84: adrp x9, l_.str.78@PAGE Lloh85: add x9, x9, l_.str.78@PAGEOFF Lloh86: adrp x10, l_.str.79@PAGE Lloh87: add x10, x10, l_.str.79@PAGEOFF tst w8, #0x10 csel x9, x10, x9, eq Lloh88: adrp x10, l_.str.80@PAGE Lloh89: add x10, x10, l_.str.80@PAGEOFF LBB0_3: tst w8, #0x80 csel x8, x10, x9, eq str x8, [sp] Lloh90: adrp x0, l_.str.77@PAGE Lloh91: add x0, x0, l_.str.77@PAGEOFF bl _tuner_info Lloh92: adrp x0, l_.str.88@PAGE Lloh93: add x0, x0, l_.str.88@PAGEOFF ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _tuner_info .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .cfi_endproc ; -- End function .section __DATA,__const .p2align 3 ; @dump_write_message.sound _dump_write_message.sound: .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad l_.str.1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "AM/TV" l_.str.1: ; @.str.1 .asciz "FM/radio" l_.str.2: ; @.str.2 .asciz "FM/TV" .section __DATA,__const .p2align 3 ; @dump_write_message.adjust _dump_write_message.adjust: .quad l_.str.3 .quad l_.str.4 .quad l_.str.5 .quad l_.str.6 .quad l_.str.7 .quad l_.str.8 .quad l_.str.9 .quad l_.str.10 .quad l_.str.11 .quad l_.str.12 .quad l_.str.13 .quad l_.str.14 .quad l_.str.15 .quad l_.str.16 .quad l_.str.17 .quad l_.str.18 .quad l_.str.19 .quad l_.str.20 .quad l_.str.21 .quad l_.str.22 .quad l_.str.23 .quad l_.str.24 .quad l_.str.25 .quad l_.str.26 .quad l_.str.27 .quad l_.str.28 .quad l_.str.29 .quad l_.str.30 .quad l_.str.31 .quad l_.str.32 .quad l_.str.33 .quad l_.str.34 .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "-16" l_.str.4: ; @.str.4 .asciz "-15" l_.str.5: ; @.str.5 .asciz "-14" l_.str.6: ; @.str.6 .asciz "-13" l_.str.7: ; @.str.7 .asciz "-12" l_.str.8: ; @.str.8 .asciz "-11" l_.str.9: ; @.str.9 .asciz "-10" l_.str.10: ; @.str.10 .asciz "-9" l_.str.11: ; @.str.11 .asciz "-8" l_.str.12: ; @.str.12 .asciz "-7" l_.str.13: ; @.str.13 .asciz "-6" l_.str.14: ; @.str.14 .asciz "-5" l_.str.15: ; @.str.15 .asciz "-4" l_.str.16: ; @.str.16 .asciz "-3" l_.str.17: ; @.str.17 .asciz "-2" l_.str.18: ; @.str.18 .asciz "-1" l_.str.19: ; @.str.19 .asciz "0" l_.str.20: ; @.str.20 .asciz "+1" l_.str.21: ; @.str.21 .asciz "+2" l_.str.22: ; @.str.22 .asciz "+3" l_.str.23: ; @.str.23 .asciz "+4" l_.str.24: ; @.str.24 .asciz "+5" l_.str.25: ; @.str.25 .asciz "+6" l_.str.26: ; @.str.26 .asciz "+7" l_.str.27: ; @.str.27 .asciz "+8" l_.str.28: ; @.str.28 .asciz "+9" l_.str.29: ; @.str.29 .asciz "+10" l_.str.30: ; @.str.30 .asciz "+11" l_.str.31: ; @.str.31 .asciz "+12" l_.str.32: ; @.str.32 .asciz "+13" l_.str.33: ; @.str.33 .asciz "+14" l_.str.34: ; @.str.34 .asciz "+15" .section __DATA,__const .p2align 3 ; @dump_write_message.deemph _dump_write_message.deemph: .quad l_.str.35 .quad l_.str.35 .quad l_.str.36 .quad l_.str.37 .section __TEXT,__cstring,cstring_literals l_.str.35: ; @.str.35 .asciz "no" l_.str.36: ; @.str.36 .asciz "75" l_.str.37: ; @.str.37 .asciz "50" .section __DATA,__const .p2align 3 ; @dump_write_message.carrier _dump_write_message.carrier: .quad l_.str.38 .quad l_.str.39 .quad l_.str.40 .quad l_.str.41 .section __TEXT,__cstring,cstring_literals l_.str.38: ; @.str.38 .asciz "4.5 MHz" l_.str.39: ; @.str.39 .asciz "5.5 MHz" l_.str.40: ; @.str.40 .asciz "6.0 MHz" l_.str.41: ; @.str.41 .asciz "6.5 MHz / AM" .section __DATA,__const .p2align 3 ; @dump_write_message.vif _dump_write_message.vif: .quad l_.str.42 .quad l_.str.43 .quad l_.str.44 .quad l_.str.45 .quad l_.str.46 .quad l_.str.47 .quad l_.str.48 .quad l_.str.49 .section __TEXT,__cstring,cstring_literals l_.str.42: ; @.str.42 .asciz "58.75 MHz" l_.str.43: ; @.str.43 .asciz "45.75 MHz" l_.str.44: ; @.str.44 .asciz "38.9 MHz" l_.str.45: ; @.str.45 .asciz "38.0 MHz" l_.str.46: ; @.str.46 .asciz "33.9 MHz" l_.str.47: ; @.str.47 .asciz "33.4 MHz" l_.str.48: ; @.str.48 .asciz "45.75 MHz + pin13" l_.str.49: ; @.str.49 .asciz "38.9 MHz + pin13" .section __DATA,__const .p2align 3 ; @dump_write_message.rif _dump_write_message.rif: .quad l_.str.50 .quad l_.str.51 .quad l_.str.51 .quad l_.str.50 .section __TEXT,__cstring,cstring_literals l_.str.50: ; @.str.50 .asciz "44 MHz" l_.str.51: ; @.str.51 .asciz "52 MHz" l_.str.52: ; @.str.52 .asciz "write: byte B 0x%02x\n" l_.str.53: ; @.str.53 .asciz " B0 video mode : %s\n" l_.str.54: ; @.str.54 .asciz "video trap" l_.str.55: ; @.str.55 .asciz "sound trap" l_.str.56: ; @.str.56 .asciz " B1 auto mute fm : %s\n" l_.str.57: ; @.str.57 .asciz "yes" l_.str.58: ; @.str.58 .asciz " B2 carrier mode : %s\n" l_.str.59: ; @.str.59 .asciz "QSS" l_.str.60: ; @.str.60 .asciz "Intercarrier" l_.str.61: ; @.str.61 .asciz " B3-4 tv sound/radio : %s\n" l_.str.62: ; @.str.62 .asciz " B5 force mute audio: %s\n" l_.str.63: ; @.str.63 .asciz " B6 output port 1 : %s\n" l_.str.64: ; @.str.64 .asciz "high (inactive)" l_.str.65: ; @.str.65 .asciz "low (active)" l_.str.66: ; @.str.66 .asciz " B7 output port 2 : %s\n" l_.str.67: ; @.str.67 .asciz "write: byte C 0x%02x\n" l_.str.68: ; @.str.68 .asciz " C0-4 top adjustment : %s dB\n" l_.str.69: ; @.str.69 .asciz " C5-6 de-emphasis : %s\n" l_.str.70: ; @.str.70 .asciz " C7 audio gain : %s\n" l_.str.71: ; @.str.71 .asciz "write: byte E 0x%02x\n" l_.str.72: ; @.str.72 .asciz " E0-1 sound carrier : %s\n" l_.str.73: ; @.str.73 .asciz " E6 l pll gating : %s\n" l_.str.74: ; @.str.74 .asciz "36" l_.str.75: ; @.str.75 .asciz "13" l_.str.76: ; @.str.76 .asciz " E2-4 video if : %s\n" l_.str.77: ; @.str.77 .asciz " E7 vif agc output : %s\n" l_.str.78: ; @.str.78 .asciz "fm-agc radio" l_.str.79: ; @.str.79 .asciz "sif-agc radio" l_.str.80: ; @.str.80 .asciz "fm radio carrier afc" l_.str.81: ; @.str.81 .asciz " E5 tuner gain : %s\n" l_.str.82: ; @.str.82 .asciz "external" l_.str.83: ; @.str.83 .asciz "normal" l_.str.84: ; @.str.84 .asciz "minimum" l_.str.85: ; @.str.85 .asciz "pin3 port, pin22 vif agc out" l_.str.86: ; @.str.86 .asciz "pin22 port, pin3 vif acg ext in" l_.str.87: ; @.str.87 .asciz "pin3+pin22 port" l_.str.88: ; @.str.88 .asciz "--\n" .no_dead_strip _dump_write_message .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_tda9887.c_dump_write_message.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dump_info _dump_info: ## @dump_info .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 _info_threads@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: xorl %ebx, %ebx xorl %eax, %eax callq _dump_threads jmp LBB0_5 LBB0_2: movq _info_map@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: xorl %ebx, %ebx xorl %eax, %eax callq _dump_map jmp LBB0_5 LBB0_4: leaq L_.str(%rip), %rdi callq _pr_err movl $-1, %ebx LBB0_5: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _info_threads,8,3 ## @info_threads .comm _info_map,8,3 ## @info_map .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unknown type of information\n" .no_dead_strip _dump_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dump_info _dump_info: ; @dump_info .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, _info_threads@GOTPAGE Lloh1: ldr x8, [x8, _info_threads@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_2 ; %bb.1: bl _dump_threads b LBB0_4 LBB0_2: Lloh3: adrp x8, _info_map@GOTPAGE Lloh4: ldr x8, [x8, _info_map@GOTPAGEOFF] Lloh5: ldr x8, [x8] cbz x8, LBB0_5 ; %bb.3: bl _dump_map LBB0_4: mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_5: Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _pr_err mov w0, #-1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _info_threads,8,3 ; @info_threads .comm _info_map,8,3 ; @info_map .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unknown type of information\n" .no_dead_strip _dump_info .subsections_via_symbols
AnghaBench/linux/tools/perf/extr_builtin-lock.c_dump_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function rndtest_monobit LCPI0_0: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _rndtest_monobit: ## @rndtest_monobit .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 _RNDTEST_NBYTES@GOTPCREL(%rip), %rax movl (%rax), %r9d testl %r9d, %r9d jle LBB0_1 ## %bb.2: movq (%rdi), %r10 cmpl $8, %r9d jae LBB0_4 ## %bb.3: xorl %r11d, %r11d xorl %r8d, %r8d jmp LBB0_7 LBB0_1: xorl %r8d, %r8d jmp LBB0_9 LBB0_4: movl %r9d, %r11d andl $-8, %r11d leaq (,%r9,4), %rsi andq $-32, %rsi pxor %xmm3, %xmm3 xorl %ebx, %ebx movdqa LCPI0_0(%rip), %xmm8 ## xmm8 = [1,1,1,1] pxor %xmm4, %xmm4 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movdqu (%r10,%rbx), %xmm2 movdqu 16(%r10,%rbx), %xmm0 movdqa %xmm2, %xmm6 psrld $7, %xmm6 movdqa %xmm0, %xmm5 psrld $7, %xmm5 pand %xmm8, %xmm6 paddd %xmm3, %xmm6 pand %xmm8, %xmm5 paddd %xmm4, %xmm5 movdqa %xmm2, %xmm7 psrld $6, %xmm7 movdqa %xmm0, %xmm1 psrld $6, %xmm1 pand %xmm8, %xmm7 pand %xmm8, %xmm1 movdqa %xmm2, %xmm4 psrld $5, %xmm4 movdqa %xmm0, %xmm3 psrld $5, %xmm3 pand %xmm8, %xmm4 paddd %xmm7, %xmm4 paddd %xmm6, %xmm4 pand %xmm8, %xmm3 paddd %xmm1, %xmm3 paddd %xmm5, %xmm3 movdqa %xmm2, %xmm1 psrld $4, %xmm1 movdqa %xmm0, %xmm5 psrld $4, %xmm5 pand %xmm8, %xmm1 pand %xmm8, %xmm5 movdqa %xmm2, %xmm6 psrld $3, %xmm6 movdqa %xmm0, %xmm7 psrld $3, %xmm7 pand %xmm8, %xmm6 paddd %xmm1, %xmm6 pand %xmm8, %xmm7 paddd %xmm5, %xmm7 movdqa %xmm2, %xmm1 psrld $2, %xmm1 movdqa %xmm0, %xmm5 psrld $2, %xmm5 pand %xmm8, %xmm1 paddd %xmm6, %xmm1 paddd %xmm4, %xmm1 pand %xmm8, %xmm5 paddd %xmm7, %xmm5 paddd %xmm3, %xmm5 movdqa %xmm2, %xmm3 psrld $1, %xmm3 movdqa %xmm0, %xmm4 psrld $1, %xmm4 pand %xmm8, %xmm3 pand %xmm8, %xmm4 pand %xmm8, %xmm2 paddd %xmm3, %xmm2 movdqa %xmm2, %xmm3 paddd %xmm1, %xmm3 pand %xmm8, %xmm0 paddd %xmm4, %xmm0 movdqa %xmm0, %xmm4 paddd %xmm5, %xmm4 addq $32, %rbx cmpq %rbx, %rsi jne LBB0_5 ## %bb.6: paddd %xmm3, %xmm4 pshufd $238, %xmm4, %xmm0 ## xmm0 = xmm4[2,3,2,3] paddd %xmm4, %xmm0 pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1] paddd %xmm0, %xmm1 movd %xmm1, %r8d cmpq %r9, %r11 je LBB0_9 LBB0_7: movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [1,1,1,1] .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movl (%r10,%r11,4), %esi movl %esi, %r15d shrl $7, %r15d movl %esi, %eax shrl $6, %eax movl %esi, %ecx shrl $5, %ecx movl %esi, %edx shrl $4, %edx movl %esi, %r14d shrl $3, %r14d movl %esi, %ebx shrl $2, %ebx movd %edx, %xmm1 pinsrd $1, %ecx, %xmm1 pinsrd $2, %eax, %xmm1 pinsrd $3, %r15d, %xmm1 movd %esi, %xmm2 shrl %esi pinsrd $1, %esi, %xmm2 pinsrd $2, %ebx, %xmm2 pinsrd $3, %r14d, %xmm2 pand %xmm0, %xmm2 pand %xmm0, %xmm1 paddd %xmm2, %xmm1 pshufd $238, %xmm1, %xmm2 ## xmm2 = xmm1[2,3,2,3] paddd %xmm1, %xmm2 pshufd $85, %xmm2, %xmm1 ## xmm1 = xmm2[1,1,1,1] paddd %xmm2, %xmm1 movd %xmm1, %eax addl %eax, %r8d incq %r11 cmpq %r11, %r9 jne LBB0_8 LBB0_9: movq _RNDTEST_MONOBIT_MINONES@GOTPCREL(%rip), %rax movl (%rax), %ecx cmpl %ecx, %r8d jle LBB0_13 ## %bb.10: movq _RNDTEST_MONOBIT_MAXONES@GOTPCREL(%rip), %rax movl (%rax), %r9d cmpl %r9d, %r8d jge LBB0_13 ## %bb.11: movq _rndtest_verbose@GOTPCREL(%rip), %rax xorl %ebx, %ebx cmpl $2, (%rax) jl LBB0_16 ## %bb.12: leaq L_.str(%rip), %rdx xorl %ebx, %ebx xorl %esi, %esi xorl %eax, %eax callq _rndtest_report jmp LBB0_16 LBB0_13: movq _rndtest_verbose@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_15 ## %bb.14: leaq L_.str.1(%rip), %rdx movl $1, %esi movl %r8d, %ecx xorl %eax, %eax callq _rndtest_report LBB0_15: movq _rndstats@GOTPCREL(%rip), %rax incl (%rax) movl $-1, %ebx LBB0_16: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _RNDTEST_NBYTES,4,2 ## @RNDTEST_NBYTES .comm _RNDTEST_MONOBIT_MINONES,4,2 ## @RNDTEST_MONOBIT_MINONES .comm _RNDTEST_MONOBIT_MAXONES,4,2 ## @RNDTEST_MONOBIT_MAXONES .comm _rndtest_verbose,4,2 ## @rndtest_verbose .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "monobit pass (%d < %d < %d)" L_.str.1: ## @.str.1 .asciz "monobit failed (%d ones)" .comm _rndstats,4,2 ## @rndstats .no_dead_strip _rndtest_monobit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function rndtest_monobit lCPI0_0: .long 4294967295 ; 0xffffffff .long 4294967294 ; 0xfffffffe .long 4294967293 ; 0xfffffffd .long 4294967292 ; 0xfffffffc .section __TEXT,__text,regular,pure_instructions .p2align 2 _rndtest_monobit: ; @rndtest_monobit .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _RNDTEST_NBYTES@GOTPAGE Lloh1: ldr x8, [x8, _RNDTEST_NBYTES@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, #1 b.lt LBB0_3 ; %bb.1: ldr x9, [x0] cmp w8, #16 b.hs LBB0_4 ; %bb.2: mov x10, #0 mov w3, #0 b LBB0_7 LBB0_3: mov w3, #0 b LBB0_9 LBB0_4: and x10, x8, #0xfffffff0 add x11, x9, #32 movi.2d v5, #0000000000000000 movi.4s v0, #1 mov x12, x10 movi.2d v6, #0000000000000000 movi.2d v7, #0000000000000000 movi.2d v16, #0000000000000000 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp q1, q2, [x11, #-32] ushr.4s v17, v1, #7 ushr.4s v18, v2, #7 ldp q4, q3, [x11], #64 ushr.4s v19, v4, #7 ushr.4s v20, v3, #7 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 ushr.4s v17, v1, #6 ushr.4s v18, v2, #6 ushr.4s v19, v4, #6 ushr.4s v20, v3, #6 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 ushr.4s v17, v1, #5 ushr.4s v18, v2, #5 ushr.4s v19, v4, #5 ushr.4s v20, v3, #5 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 ushr.4s v17, v1, #4 ushr.4s v18, v2, #4 ushr.4s v19, v4, #4 ushr.4s v20, v3, #4 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 ushr.4s v17, v1, #3 ushr.4s v18, v2, #3 ushr.4s v19, v4, #3 ushr.4s v20, v3, #3 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 ushr.4s v17, v1, #2 ushr.4s v18, v2, #2 ushr.4s v19, v4, #2 ushr.4s v20, v3, #2 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 ushr.4s v17, v1, #1 ushr.4s v18, v2, #1 ushr.4s v19, v4, #1 ushr.4s v20, v3, #1 and.16b v17, v17, v0 and.16b v18, v18, v0 and.16b v19, v19, v0 and.16b v20, v20, v0 add.4s v5, v17, v5 add.4s v6, v18, v6 add.4s v7, v19, v7 add.4s v16, v20, v16 and.16b v1, v1, v0 and.16b v2, v2, v0 and.16b v4, v4, v0 and.16b v3, v3, v0 add.4s v5, v1, v5 add.4s v6, v2, v6 add.4s v7, v4, v7 add.4s v16, v3, v16 subs x12, x12, #16 b.ne LBB0_5 ; %bb.6: add.4s v0, v6, v5 add.4s v0, v7, v0 add.4s v0, v16, v0 addv.4s s0, v0 fmov w3, s0 cmp x10, x8 b.eq LBB0_9 LBB0_7: add x9, x9, x10, lsl #2 sub x8, x8, x10 Lloh3: adrp x10, lCPI0_0@PAGE Lloh4: ldr q0, [x10, lCPI0_0@PAGEOFF] movi.4s v1, #1 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w10, [x9], #4 ubfx w11, w10, #7, #1 ubfx w12, w10, #6, #1 dup.4s v2, w10 ubfx w13, w10, #5, #1 ushl.4s v2, v2, v0 and.16b v2, v2, v1 addv.4s s2, v2 fmov w14, s2 add w13, w14, w13 add w12, w13, w12 add w11, w12, w11 add w11, w11, w3 and w10, w10, #0x1 add w3, w10, w11 subs x8, x8, #1 b.ne LBB0_8 LBB0_9: Lloh5: adrp x8, _RNDTEST_MONOBIT_MINONES@GOTPAGE Lloh6: ldr x8, [x8, _RNDTEST_MONOBIT_MINONES@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w3, w8 b.le LBB0_13 ; %bb.10: Lloh8: adrp x9, _RNDTEST_MONOBIT_MAXONES@GOTPAGE Lloh9: ldr x9, [x9, _RNDTEST_MONOBIT_MAXONES@GOTPAGEOFF] Lloh10: ldr w9, [x9] cmp w3, w9 b.ge LBB0_13 ; %bb.11: Lloh11: adrp x10, _rndtest_verbose@GOTPAGE Lloh12: ldr x10, [x10, _rndtest_verbose@GOTPAGEOFF] Lloh13: ldr w10, [x10] cmp w10, #2 b.lt LBB0_17 ; %bb.12: stp x3, x9, [sp] Lloh14: adrp x2, l_.str@PAGE Lloh15: add x2, x2, l_.str@PAGEOFF mov w1, #0 mov x3, x8 bl _rndtest_report mov w0, #0 b LBB0_16 LBB0_13: Lloh16: adrp x8, _rndtest_verbose@GOTPAGE Lloh17: ldr x8, [x8, _rndtest_verbose@GOTPAGEOFF] Lloh18: ldr w8, [x8] cbz w8, LBB0_15 ; %bb.14: Lloh19: adrp x2, l_.str.1@PAGE Lloh20: add x2, x2, l_.str.1@PAGEOFF mov w1, #1 ; kill: def $w3 killed $w3 killed $x3 bl _rndtest_report LBB0_15: Lloh21: adrp x8, _rndstats@GOTPAGE Lloh22: ldr x8, [x8, _rndstats@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] mov w0, #-1 LBB0_16: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB0_17: mov w0, #0 b LBB0_16 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _RNDTEST_NBYTES,4,2 ; @RNDTEST_NBYTES .comm _RNDTEST_MONOBIT_MINONES,4,2 ; @RNDTEST_MONOBIT_MINONES .comm _RNDTEST_MONOBIT_MAXONES,4,2 ; @RNDTEST_MONOBIT_MAXONES .comm _rndtest_verbose,4,2 ; @rndtest_verbose .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "monobit pass (%d < %d < %d)" l_.str.1: ; @.str.1 .asciz "monobit failed (%d ones)" .comm _rndstats,4,2 ; @rndstats .no_dead_strip _rndtest_monobit .subsections_via_symbols
AnghaBench/freebsd/sys/dev/rndtest/extr_rndtest.c_rndtest_monobit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function test_playWaveTypeMpegvideo _test_playWaveTypeMpegvideo: ## @test_playWaveTypeMpegvideo .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 $1064, %rsp ## imm = 0x428 .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 -1072(%rbp), %rdi xorl %esi, %esi movl $1024, %edx ## imm = 0x400 callq _memset leaq L_.str(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq _mciSendStringA movq %rax, %rbx movq _ok_saved@GOTPCREL(%rip), %rax xorl %r14d, %r14d cmpq (%rax), %rbx sete %r14b movq %rbx, %rdi callq _dbg_mcierr leaq L_.str.1(%rip), %rsi movl %r14d, %edi movq %rax, %rdx xorl %eax, %eax callq _ok testq %rbx, %rbx je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _dbg_mcierr leaq L_.str.2(%rip), %rdi movq %rax, %rsi callq _skip jmp LBB0_3 LBB0_2: leaq L_.str.3(%rip), %rdi callq _mciGetDeviceIDA movl %eax, %r13d xorl %edi, %edi cmpl $1, %eax sete %dil leaq L_.str.4(%rip), %rsi movl %eax, %edx xorl %eax, %eax callq _ok movq _MCI_PLAY@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -1076(%rbp), %rcx movl %r13d, %edi xorl %edx, %edx ## kill: def $ecx killed $ecx killed $rcx callq _mciSendCommandA xorl %ebx, %ebx testq %rax, %rax sete %bl movq %rax, %rdi callq _dbg_mcierr leaq L_.str.5(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _ok leaq L_.str.6(%rip), %r15 leaq -1072(%rbp), %rbx movq %r15, %rdi movq %rbx, %rsi movl $1024, %edx ## imm = 0x400 xorl %ecx, %ecx callq _mciSendStringA xorl %r12d, %r12d testq %rax, %rax sete %r12b movq %rax, %rdi callq _dbg_mcierr leaq L_.str.7(%rip), %rsi movl %r12d, %edi movq %rax, %rdx xorl %eax, %eax callq _ok movabsq $29113321888246896, %r12 ## imm = 0x676E6979616C70 xorl %edi, %edi cmpq %r12, -1072(%rbp) sete %dil leaq L_.str.9(%rip), %r14 movq %r14, %rsi movq %rbx, %rdx xorl %eax, %eax callq _ok movq _MCI_STATUS_MODE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -1088(%rbp) movq _MCI_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MCI_STATUS_ITEM@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -1096(%rbp), %rcx movl %r13d, %edi ## kill: def $ecx killed $ecx killed $rcx callq _mciSendCommandA xorl %r13d, %r13d testq %rax, %rax sete %r13b movq %rax, %rdi callq _dbg_mcierr leaq L_.str.10(%rip), %rsi movl %r13d, %edi movq %rax, %rdx xorl %eax, %eax callq _ok movq -1096(%rbp), %rdx movq _MCI_MODE_PLAY@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq (%rax), %rdx sete %dil leaq L_.str.11(%rip), %rsi xorl %eax, %eax callq _ok leaq L_.str.12(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq _mciSendStringA xorl %r13d, %r13d testq %rax, %rax sete %r13b movq %rax, %rdi callq _dbg_mcierr leaq L_.str.13(%rip), %rsi movl %r13d, %edi movq %rax, %rdx xorl %eax, %eax callq _ok movq %r15, %rdi movq %rbx, %rsi movl $1024, %edx ## imm = 0x400 xorl %ecx, %ecx callq _mciSendStringA xorl %r13d, %r13d testq %rax, %rax sete %r13b movq %rax, %rdi callq _dbg_mcierr movl %r13d, %edi leaq L_.str.7(%rip), %rsi movq %rax, %rdx xorl %eax, %eax callq _ok xorl %edi, %edi cmpq %r12, -1072(%rbp) sete %dil movq %r14, %rsi movq %rbx, %rdx xorl %eax, %eax callq _ok leaq L_.str.14(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq _mciSendStringA movq _MCIERR_OUTOFRANGE@GOTPCREL(%rip), %rcx xorl %r13d, %r13d cmpq (%rcx), %rax sete %r13b movq %rax, %rdi callq _dbg_mcierr leaq L_.str.15(%rip), %rsi movl %r13d, %edi movq %rax, %rdx xorl %eax, %eax callq _ok movq %r15, %rdi movq %rbx, %rsi movl $1024, %edx ## imm = 0x400 xorl %ecx, %ecx callq _mciSendStringA xorl %r14d, %r14d testq %rax, %rax sete %r14b movq %rax, %rdi callq _dbg_mcierr movl %r14d, %edi leaq L_.str.7(%rip), %rsi movq %rax, %rdx xorl %eax, %eax callq _ok xorl %edi, %edi cmpq %r12, -1072(%rbp) sete %dil leaq L_.str.9(%rip), %rsi movq %rbx, %rdx xorl %eax, %eax callq _ok leaq L_.str.16(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq _mciSendStringA xorl %ebx, %ebx testq %rax, %rax sete %bl movq %rax, %rdi callq _dbg_mcierr leaq L_.str.17(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _ok LBB0_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_5 ## %bb.4: addq $1064, %rsp ## imm = 0x428 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 "open tempfile.wav type MPEGVideo alias mysound" .comm _ok_saved,8,3 ## @ok_saved L_.str.1: ## @.str.1 .asciz "mci open tempfile.wav type MPEGVideo returned %s\n" L_.str.2: ## @.str.2 .asciz "Cannot open tempfile.wav type MPEGVideo for playing (%s), skipping\n" L_.str.3: ## @.str.3 .asciz "mysound" L_.str.4: ## @.str.4 .asciz "mciGetDeviceIDA mysound returned %u, expected 1\n" .comm _MCI_PLAY,4,2 ## @MCI_PLAY L_.str.5: ## @.str.5 .asciz "mciCommand play returned %s\n" L_.str.6: ## @.str.6 .asciz "status mysound mode" L_.str.7: ## @.str.7 .asciz "mci status mode returned %s\n" L_.str.9: ## @.str.9 .asciz "mci status mode: %s\n" .comm _MCI_STATUS_MODE,4,2 ## @MCI_STATUS_MODE .comm _MCI_STATUS,4,2 ## @MCI_STATUS .comm _MCI_STATUS_ITEM,4,2 ## @MCI_STATUS_ITEM L_.str.10: ## @.str.10 .asciz "mciCommand status mode returned %s\n" .comm _MCI_MODE_PLAY,8,3 ## @MCI_MODE_PLAY L_.str.11: ## @.str.11 .asciz "mciCommand status mode: %u\n" L_.str.12: ## @.str.12 .asciz "setaudio mysound volume to 1000" L_.str.13: ## @.str.13 .asciz "mci setaudio volume to 1000 returned %s\n" L_.str.14: ## @.str.14 .asciz "setaudio mysound volume to 1001" .comm _MCIERR_OUTOFRANGE,8,3 ## @MCIERR_OUTOFRANGE L_.str.15: ## @.str.15 .asciz "mci setaudio volume to 1001 returned %s\n" L_.str.16: ## @.str.16 .asciz "close mysound" L_.str.17: ## @.str.17 .asciz "mci close returned %s\n" .no_dead_strip _test_playWaveTypeMpegvideo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function test_playWaveTypeMpegvideo _test_playWaveTypeMpegvideo: ; @test_playWaveTypeMpegvideo .cfi_startproc ; %bb.0: stp x28, x27, [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 sub sp, sp, #1072 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w27, -72 .cfi_offset w28, -80 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] add x23, sp, #40 add x0, sp, #40 mov w1, #0 ; =0x0 mov w2, #1024 ; =0x400 bl _memset Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF mov x1, #0 ; =0x0 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _mciSendStringA mov x19, x0 Lloh5: adrp x8, _ok_saved@GOTPAGE Lloh6: ldr x8, [x8, _ok_saved@GOTPAGEOFF] Lloh7: ldr x8, [x8] cmp x0, x8 cset w20, eq bl _dbg_mcierr str x0, [sp] Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _ok cbz x19, LBB0_2 ; %bb.1: mov x0, x19 bl _dbg_mcierr mov x1, x0 Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _skip b LBB0_3 LBB0_2: Lloh12: adrp x0, l_.str.3@PAGE Lloh13: add x0, x0, l_.str.3@PAGEOFF bl _mciGetDeviceIDA mov x22, x0 cmp w0, #1 cset w0, eq str x22, [sp] Lloh14: adrp x1, l_.str.4@PAGE Lloh15: add x1, x1, l_.str.4@PAGEOFF bl _ok Lloh16: adrp x8, _MCI_PLAY@GOTPAGE Lloh17: ldr x8, [x8, _MCI_PLAY@GOTPAGEOFF] Lloh18: ldr w1, [x8] add x3, sp, #36 mov x0, x22 mov w2, #0 ; =0x0 bl _mciSendCommandA cmp x0, #0 cset w19, eq bl _dbg_mcierr str x0, [sp] Lloh19: adrp x1, l_.str.5@PAGE Lloh20: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _ok Lloh21: adrp x19, l_.str.6@PAGE Lloh22: add x19, x19, l_.str.6@PAGEOFF add x1, sp, #40 mov x0, x19 mov w2, #1024 ; =0x400 mov x3, #0 ; =0x0 bl _mciSendStringA cmp x0, #0 cset w21, eq bl _dbg_mcierr str x0, [sp] Lloh23: adrp x20, l_.str.7@PAGE Lloh24: add x20, x20, l_.str.7@PAGEOFF mov x0, x21 mov x1, x20 bl _ok ldr x8, [sp, #40] mov x24, #27760 ; =0x6c70 movk x24, #31073, lsl #16 movk x24, #28265, lsl #32 movk x24, #103, lsl #48 cmp x8, x24 cset w0, eq str x23, [sp] Lloh25: adrp x21, l_.str.9@PAGE Lloh26: add x21, x21, l_.str.9@PAGEOFF mov x1, x21 bl _ok Lloh27: adrp x8, _MCI_STATUS_MODE@GOTPAGE Lloh28: ldr x8, [x8, _MCI_STATUS_MODE@GOTPAGEOFF] Lloh29: ldr w8, [x8] str w8, [sp, #24] Lloh30: adrp x8, _MCI_STATUS@GOTPAGE Lloh31: ldr x8, [x8, _MCI_STATUS@GOTPAGEOFF] Lloh32: ldr w1, [x8] Lloh33: adrp x8, _MCI_STATUS_ITEM@GOTPAGE Lloh34: ldr x8, [x8, _MCI_STATUS_ITEM@GOTPAGEOFF] Lloh35: ldr w2, [x8] add x3, sp, #16 mov x0, x22 bl _mciSendCommandA cmp x0, #0 cset w22, eq bl _dbg_mcierr str x0, [sp] Lloh36: adrp x1, l_.str.10@PAGE Lloh37: add x1, x1, l_.str.10@PAGEOFF mov x0, x22 bl _ok ldr x8, [sp, #16] Lloh38: adrp x9, _MCI_MODE_PLAY@GOTPAGE Lloh39: ldr x9, [x9, _MCI_MODE_PLAY@GOTPAGEOFF] Lloh40: ldr x9, [x9] cmp x8, x9 cset w0, eq str x8, [sp] Lloh41: adrp x1, l_.str.11@PAGE Lloh42: add x1, x1, l_.str.11@PAGEOFF bl _ok Lloh43: adrp x0, l_.str.12@PAGE Lloh44: add x0, x0, l_.str.12@PAGEOFF mov x1, #0 ; =0x0 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _mciSendStringA cmp x0, #0 cset w22, eq bl _dbg_mcierr str x0, [sp] Lloh45: adrp x1, l_.str.13@PAGE Lloh46: add x1, x1, l_.str.13@PAGEOFF mov x0, x22 bl _ok add x1, sp, #40 mov x0, x19 mov w2, #1024 ; =0x400 mov x3, #0 ; =0x0 bl _mciSendStringA cmp x0, #0 cset w22, eq bl _dbg_mcierr str x0, [sp] mov x0, x22 mov x1, x20 bl _ok ldr x8, [sp, #40] cmp x8, x24 cset w0, eq str x23, [sp] mov x1, x21 bl _ok Lloh47: adrp x0, l_.str.14@PAGE Lloh48: add x0, x0, l_.str.14@PAGEOFF mov x1, #0 ; =0x0 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _mciSendStringA Lloh49: adrp x8, _MCIERR_OUTOFRANGE@GOTPAGE Lloh50: ldr x8, [x8, _MCIERR_OUTOFRANGE@GOTPAGEOFF] Lloh51: ldr x8, [x8] cmp x0, x8 cset w22, eq bl _dbg_mcierr str x0, [sp] Lloh52: adrp x1, l_.str.15@PAGE Lloh53: add x1, x1, l_.str.15@PAGEOFF mov x0, x22 bl _ok add x1, sp, #40 mov x0, x19 mov w2, #1024 ; =0x400 mov x3, #0 ; =0x0 bl _mciSendStringA cmp x0, #0 cset w19, eq bl _dbg_mcierr str x0, [sp] mov x0, x19 mov x1, x20 bl _ok ldr x8, [sp, #40] cmp x8, x24 cset w0, eq str x23, [sp] mov x1, x21 bl _ok Lloh54: adrp x0, l_.str.16@PAGE Lloh55: add x0, x0, l_.str.16@PAGEOFF mov x1, #0 ; =0x0 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _mciSendStringA cmp x0, #0 cset w19, eq bl _dbg_mcierr str x0, [sp] Lloh56: adrp x1, l_.str.17@PAGE Lloh57: add x1, x1, l_.str.17@PAGEOFF mov x0, x19 bl _ok LBB0_3: ldur x8, [x29, #-72] Lloh58: adrp x9, ___stack_chk_guard@GOTPAGE Lloh59: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh60: ldr x9, [x9] cmp x9, x8 b.ne LBB0_5 ; %bb.4: add sp, sp, #1072 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #80 ; 16-byte Folded Reload ret LBB0_5: bl ___stack_chk_fail .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "open tempfile.wav type MPEGVideo alias mysound" .comm _ok_saved,8,3 ; @ok_saved l_.str.1: ; @.str.1 .asciz "mci open tempfile.wav type MPEGVideo returned %s\n" l_.str.2: ; @.str.2 .asciz "Cannot open tempfile.wav type MPEGVideo for playing (%s), skipping\n" l_.str.3: ; @.str.3 .asciz "mysound" l_.str.4: ; @.str.4 .asciz "mciGetDeviceIDA mysound returned %u, expected 1\n" .comm _MCI_PLAY,4,2 ; @MCI_PLAY l_.str.5: ; @.str.5 .asciz "mciCommand play returned %s\n" l_.str.6: ; @.str.6 .asciz "status mysound mode" l_.str.7: ; @.str.7 .asciz "mci status mode returned %s\n" l_.str.8: ; @.str.8 .asciz "playing" l_.str.9: ; @.str.9 .asciz "mci status mode: %s\n" .comm _MCI_STATUS_MODE,4,2 ; @MCI_STATUS_MODE .comm _MCI_STATUS,4,2 ; @MCI_STATUS .comm _MCI_STATUS_ITEM,4,2 ; @MCI_STATUS_ITEM l_.str.10: ; @.str.10 .asciz "mciCommand status mode returned %s\n" .comm _MCI_MODE_PLAY,8,3 ; @MCI_MODE_PLAY l_.str.11: ; @.str.11 .asciz "mciCommand status mode: %u\n" l_.str.12: ; @.str.12 .asciz "setaudio mysound volume to 1000" l_.str.13: ; @.str.13 .asciz "mci setaudio volume to 1000 returned %s\n" l_.str.14: ; @.str.14 .asciz "setaudio mysound volume to 1001" .comm _MCIERR_OUTOFRANGE,8,3 ; @MCIERR_OUTOFRANGE l_.str.15: ; @.str.15 .asciz "mci setaudio volume to 1001 returned %s\n" l_.str.16: ; @.str.16 .asciz "close mysound" l_.str.17: ; @.str.17 .asciz "mci close returned %s\n" .no_dead_strip _test_playWaveTypeMpegvideo .subsections_via_symbols
assembly_file_35384.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _UI_TierCompleted ## -- Begin function UI_TierCompleted .p2align 4, 0x90 _UI_TierCompleted: ## @UI_TierCompleted .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d movq _ARENAS_PER_TIER@GOTPCREL(%rip), %r12 movl (%r12), %ebx movl %edi, %eax cltd idivl %ebx movl %eax, %r15d xorl %r13d, %r13d xorl %eax, %eax callq _UI_GetNumSPTiers cmpl %eax, %r15d jne LBB0_5 ## %bb.1: leaq L_.str(%rip), %rdi callq _UI_GetSpecialArenaInfo leaq L_.str.1(%rip), %rsi movq %rax, %rdi callq _Info_ValueForKey movl %eax, %edi callq _atoi cmpl %r14d, %eax je LBB0_11 ## %bb.2: leaq L_.str.2(%rip), %rdi callq _UI_GetSpecialArenaInfo testq %rax, %rax je LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rsi movq %rax, %rdi callq _Info_ValueForKey movl %eax, %edi callq _atoi movl $-1, %r13d cmpl %r14d, %eax jne LBB0_11 LBB0_4: incl %r15d movl %r15d, %r13d jmp LBB0_11 LBB0_5: movl %r15d, -44(%rbp) ## 4-byte Spill cmpl $0, (%r12) jle LBB0_10 ## %bb.6: imull -44(%rbp), %ebx ## 4-byte Folded Reload xorl %r15d, %r15d leaq -48(%rbp), %r14 leaq -52(%rbp), %r13 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 leal (%rbx,%r15), %edi movq %r14, %rsi movq %r13, %rdx callq _UI_GetBestScore cmpl $1, -48(%rbp) jne LBB0_8 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 incl %r15d cmpl (%r12), %r15d jl LBB0_7 LBB0_10: movl -44(%rbp), %r13d ## 4-byte Reload incl %r13d jmp LBB0_11 LBB0_8: movl $-1, %r13d LBB0_11: movl %r13d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ARENAS_PER_TIER,4,2 ## @ARENAS_PER_TIER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "training" L_.str.1: ## @.str.1 .asciz "num" L_.str.2: ## @.str.2 .asciz "final" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _UI_TierCompleted ; -- Begin function UI_TierCompleted .p2align 2 _UI_TierCompleted: ; @UI_TierCompleted .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x21, _ARENAS_PER_TIER@GOTPAGE Lloh1: ldr x21, [x21, _ARENAS_PER_TIER@GOTPAGEOFF] ldr w22, [x21] sdiv w20, w0, w22 bl _UI_GetNumSPTiers cmp w20, w0 b.ne LBB0_3 ; %bb.1: Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _UI_GetSpecialArenaInfo Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF bl _Info_ValueForKey bl _atoi cmp w0, w19 b.ne LBB0_7 ; %bb.2: mov w0, #0 b LBB0_11 LBB0_3: ldr w8, [x21] cmp w8, #1 b.lt LBB0_9 ; %bb.4: mov w19, #0 mul w22, w20, w22 LBB0_5: ; =>This Inner Loop Header: Depth=1 add w0, w22, w19 add x1, sp, #12 add x2, sp, #8 bl _UI_GetBestScore ldr w8, [sp, #12] cmp w8, #1 b.ne LBB0_10 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add w19, w19, #1 ldr w8, [x21] cmp w19, w8 b.lt LBB0_5 b LBB0_9 LBB0_7: Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _UI_GetSpecialArenaInfo cbz x0, LBB0_9 ; %bb.8: Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF bl _Info_ValueForKey bl _atoi cmp w0, w19 b.ne LBB0_10 LBB0_9: add w0, w20, #1 b LBB0_11 LBB0_10: mov w0, #-1 LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _ARENAS_PER_TIER,4,2 ; @ARENAS_PER_TIER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "training" l_.str.1: ; @.str.1 .asciz "num" l_.str.2: ; @.str.2 .asciz "final" .subsections_via_symbols
AnghaBench/lab/engine/code/q3_ui/extr_ui_gameinfo.c_UI_TierCompleted.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vm_object_memory_object_associate ## -- Begin function vm_object_memory_object_associate .p2align 4, 0x90 _vm_object_memory_object_associate: ## @vm_object_memory_object_associate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movl %edx, %r12d movq %rsi, %rbx movq %rdi, %r15 movq _MEMORY_OBJECT_NULL@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq %r15, (%rax) setne %dil callq _assert movq _VM_OBJECT_NULL@GOTPCREL(%rip), %r13 cmpq %rbx, (%r13) je LBB0_2 ## %bb.1: movl (%rbx), %edi callq _assert movl 4(%rbx), %edi callq _assert xorl %edi, %edi cmpq $0, 8(%rbx) sete %dil callq _assert xorl %edi, %edi cmpq $0, 16(%rbx) sete %dil callq _assert jmp LBB0_3 LBB0_2: movl %r12d, %edi callq _vm_object_allocate movq %rax, %rbx xorl %edi, %edi cmpq (%r13), %rax setne %dil callq _assert movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %rax movl %eax, (%rbx) movq %rax, 56(%rbx) movq _MEMORY_OBJECT_COPY_INVALID@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 48(%rbx) LBB0_3: movq %rbx, %rdi callq _memory_object_control_allocate movq %rax, %r12 movq _MEMORY_OBJECT_CONTROL_NULL@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq (%rax), %r12 setne %dil callq _assert movq %rbx, %rdi callq _vm_object_lock xorl %edi, %edi cmpq $0, 16(%rbx) sete %dil callq _assert xorl %edi, %edi cmpq $0, 8(%rbx) sete %dil callq _assert xorl %edi, %edi cmpq $0, 40(%rbx) sete %dil callq _assert xorl %edi, %edi cmpq $0, 32(%rbx) sete %dil callq _assert movq %r15, %rdi callq _memory_object_reference movq _TRUE@GOTPCREL(%rip), %r13 movl (%r13), %eax movl %eax, 4(%rbx) movq %r15, 40(%rbx) movq %r12, 32(%rbx) movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 16(%rbx) movq %rbx, %rdi callq _vm_object_unlock movq 32(%rbx), %rsi movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r15, %rdi callq _memory_object_init movq %rbx, %rdi callq _vm_object_lock testq %r14, %r14 je LBB0_5 ## %bb.4: movq (%r13), %rax movq %rax, 24(%rbx) LBB0_5: cmpl $0, (%rbx) je LBB0_7 ## %bb.6: movq (%r13), %rax movq %rax, 16(%rbx) movq _VM_OBJECT_EVENT_PAGER_READY@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _vm_object_wakeup LBB0_7: movq (%r13), %rax movq %rax, 8(%rbx) movq _VM_OBJECT_EVENT_INITIALIZED@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _vm_object_wakeup movq %rbx, %rdi callq _vm_object_unlock movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MEMORY_OBJECT_NULL,8,3 ## @MEMORY_OBJECT_NULL .comm _VM_OBJECT_NULL,8,3 ## @VM_OBJECT_NULL .comm _FALSE,8,3 ## @FALSE .comm _MEMORY_OBJECT_COPY_INVALID,4,2 ## @MEMORY_OBJECT_COPY_INVALID .comm _MEMORY_OBJECT_CONTROL_NULL,8,3 ## @MEMORY_OBJECT_CONTROL_NULL .comm _TRUE,8,3 ## @TRUE .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .comm _VM_OBJECT_EVENT_PAGER_READY,4,2 ## @VM_OBJECT_EVENT_PAGER_READY .comm _VM_OBJECT_EVENT_INITIALIZED,4,2 ## @VM_OBJECT_EVENT_INITIALIZED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vm_object_memory_object_associate ; -- Begin function vm_object_memory_object_associate .p2align 2 _vm_object_memory_object_associate: ; @vm_object_memory_object_associate .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, x3 mov x22, x2 mov x19, x1 mov x21, x0 Lloh0: adrp x8, _MEMORY_OBJECT_NULL@GOTPAGE Lloh1: ldr x8, [x8, _MEMORY_OBJECT_NULL@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x0 cset w0, ne bl _assert Lloh3: adrp x24, _VM_OBJECT_NULL@GOTPAGE Lloh4: ldr x24, [x24, _VM_OBJECT_NULL@GOTPAGEOFF] ldr x8, [x24] Lloh5: adrp x23, _FALSE@GOTPAGE Lloh6: ldr x23, [x23, _FALSE@GOTPAGEOFF] cmp x8, x19 b.eq LBB0_2 ; %bb.1: ldr w0, [x19] bl _assert ldr w0, [x19, #4] bl _assert ldr x8, [x19, #8] cmp x8, #0 cset w0, eq bl _assert ldr x8, [x19, #16] cmp x8, #0 cset w0, eq bl _assert b LBB0_3 LBB0_2: mov x0, x22 bl _vm_object_allocate mov x19, x0 ldr x8, [x24] cmp x0, x8 cset w0, ne bl _assert ldr x8, [x23] str w8, [x19] str x8, [x19, #56] Lloh7: adrp x8, _MEMORY_OBJECT_COPY_INVALID@GOTPAGE Lloh8: ldr x8, [x8, _MEMORY_OBJECT_COPY_INVALID@GOTPAGEOFF] Lloh9: ldr w8, [x8] str w8, [x19, #48] LBB0_3: mov x0, x19 bl _memory_object_control_allocate mov x22, x0 Lloh10: adrp x8, _MEMORY_OBJECT_CONTROL_NULL@GOTPAGE Lloh11: ldr x8, [x8, _MEMORY_OBJECT_CONTROL_NULL@GOTPAGEOFF] Lloh12: ldr x8, [x8] cmp x0, x8 cset w0, ne bl _assert mov x0, x19 bl _vm_object_lock ldr x8, [x19, #16] cmp x8, #0 cset w0, eq bl _assert ldr x8, [x19, #8] cmp x8, #0 cset w0, eq bl _assert ldr x8, [x19, #40] cmp x8, #0 cset w0, eq bl _assert ldr x8, [x19, #32] cmp x8, #0 cset w0, eq bl _assert mov x0, x21 bl _memory_object_reference Lloh13: adrp x24, _TRUE@GOTPAGE Lloh14: ldr x24, [x24, _TRUE@GOTPAGEOFF] ldr x8, [x24] str w8, [x19, #4] stp x22, x21, [x19, #32] ldr x8, [x23] str x8, [x19, #16] mov x0, x19 bl _vm_object_unlock ldr x1, [x19, #32] Lloh15: adrp x8, _PAGE_SIZE@GOTPAGE Lloh16: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh17: ldr w2, [x8] mov x0, x21 bl _memory_object_init mov x0, x19 bl _vm_object_lock cbz x20, LBB0_5 ; %bb.4: ldr x8, [x24] str x8, [x19, #24] LBB0_5: ldr w8, [x19] cbz w8, LBB0_7 ; %bb.6: ldr x8, [x24] str x8, [x19, #16] Lloh18: adrp x8, _VM_OBJECT_EVENT_PAGER_READY@GOTPAGE Lloh19: ldr x8, [x8, _VM_OBJECT_EVENT_PAGER_READY@GOTPAGEOFF] Lloh20: ldr w1, [x8] mov x0, x19 bl _vm_object_wakeup LBB0_7: ldr x8, [x24] str x8, [x19, #8] Lloh21: adrp x8, _VM_OBJECT_EVENT_INITIALIZED@GOTPAGE Lloh22: ldr x8, [x8, _VM_OBJECT_EVENT_INITIALIZED@GOTPAGEOFF] Lloh23: ldr w1, [x8] mov x0, x19 bl _vm_object_wakeup mov x0, x19 bl _vm_object_unlock mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _MEMORY_OBJECT_NULL,8,3 ; @MEMORY_OBJECT_NULL .comm _VM_OBJECT_NULL,8,3 ; @VM_OBJECT_NULL .comm _FALSE,8,3 ; @FALSE .comm _MEMORY_OBJECT_COPY_INVALID,4,2 ; @MEMORY_OBJECT_COPY_INVALID .comm _MEMORY_OBJECT_CONTROL_NULL,8,3 ; @MEMORY_OBJECT_CONTROL_NULL .comm _TRUE,8,3 ; @TRUE .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .comm _VM_OBJECT_EVENT_PAGER_READY,4,2 ; @VM_OBJECT_EVENT_PAGER_READY .comm _VM_OBJECT_EVENT_INITIALIZED,4,2 ; @VM_OBJECT_EVENT_INITIALIZED .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/vm/extr_vm_object.c_vm_object_memory_object_associate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function spi_reg _spi_reg: ## @spi_reg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx movq _EEPROM_DATA_OUT@GOTPCREL(%rip), %r12 movl (%r12), %esi callq _raise_gpio movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $2, %r15b jne LBB0_1 ## %bb.2: callq _drop_gpio jmp LBB0_3 LBB0_1: callq _raise_gpio LBB0_3: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $1, %r15b jne LBB0_4 ## %bb.5: callq _drop_gpio jmp LBB0_6 LBB0_4: callq _raise_gpio LBB0_6: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $32, %r14b jne LBB0_7 ## %bb.8: callq _drop_gpio jmp LBB0_9 LBB0_7: callq _raise_gpio LBB0_9: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $16, %r14b jne LBB0_10 ## %bb.11: callq _drop_gpio jmp LBB0_12 LBB0_10: callq _raise_gpio LBB0_12: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $8, %r14b jne LBB0_13 ## %bb.14: callq _drop_gpio jmp LBB0_15 LBB0_13: callq _raise_gpio LBB0_15: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $4, %r14b jne LBB0_16 ## %bb.17: callq _drop_gpio jmp LBB0_18 LBB0_16: callq _raise_gpio LBB0_18: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $2, %r14b jne LBB0_19 ## %bb.20: callq _drop_gpio jmp LBB0_21 LBB0_19: callq _raise_gpio LBB0_21: movq %rbx, %rdi callq _eeprom_clk movl (%r12), %esi movq %rbx, %rdi testb $1, %r14b jne LBB0_22 ## %bb.23: callq _drop_gpio jmp LBB0_24 LBB0_22: callq _raise_gpio LBB0_24: movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _eeprom_clk ## TAILCALL .cfi_endproc ## -- End function .comm _EEPROM_DATA_OUT,4,2 ## @EEPROM_DATA_OUT .no_dead_strip _spi_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function spi_reg _spi_reg: ; @spi_reg .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x22, _EEPROM_DATA_OUT@GOTPAGE Lloh1: ldr x22, [x22, _EEPROM_DATA_OUT@GOTPAGEOFF] ldr w1, [x22] bl _raise_gpio mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w21, #1, LBB0_2 ; %bb.1: bl _drop_gpio b LBB0_3 LBB0_2: bl _raise_gpio LBB0_3: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w21, #0, LBB0_5 ; %bb.4: bl _drop_gpio b LBB0_6 LBB0_5: bl _raise_gpio LBB0_6: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w20, #5, LBB0_8 ; %bb.7: bl _drop_gpio b LBB0_9 LBB0_8: bl _raise_gpio LBB0_9: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w20, #4, LBB0_11 ; %bb.10: bl _drop_gpio b LBB0_12 LBB0_11: bl _raise_gpio LBB0_12: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w20, #3, LBB0_14 ; %bb.13: bl _drop_gpio b LBB0_15 LBB0_14: bl _raise_gpio LBB0_15: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w20, #2, LBB0_17 ; %bb.16: bl _drop_gpio b LBB0_18 LBB0_17: bl _raise_gpio LBB0_18: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w20, #1, LBB0_20 ; %bb.19: bl _drop_gpio b LBB0_21 LBB0_20: bl _raise_gpio LBB0_21: mov x0, x19 bl _eeprom_clk ldr w1, [x22] mov x0, x19 tbnz w20, #0, LBB0_23 ; %bb.22: bl _drop_gpio b LBB0_24 LBB0_23: bl _raise_gpio LBB0_24: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _eeprom_clk .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _EEPROM_DATA_OUT,4,2 ; @EEPROM_DATA_OUT .no_dead_strip _spi_reg .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_spi_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fl_set_parms _fl_set_parms: ## @fl_set_parms .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, %r12 movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, -56(%rbp) ## 8-byte Spill movq %rdx, %r13 movq %rsi, %r14 movq %rdi, %rbx movl 40(%rbp), %r15d movq 16(%rbp), %rcx movl 24(%rbp), %r9d leaq 12(%rdx), %r8 movq %r12, %rdx pushq 48(%rbp) pushq %r15 callq _tcf_exts_validate addq $16, %rsp testl %eax, %eax js LBB0_8 ## %bb.1: movq _TCA_FLOWER_CLASSID@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r12,%rax,8), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.2: callq _nla_get_u32 leaq 8(%r13), %rsi movl %eax, 8(%r13) testl %r15d, %r15d je LBB0_3 ## %bb.4: movq %r14, %rdi movq -48(%rbp), %rdx ## 8-byte Reload callq _tcf_bind_filter jmp LBB0_5 LBB0_3: xorl %eax, %eax movq %rsi, %r15 callq _rtnl_lock movq %r14, %rdi movq %r15, %rsi movq -48(%rbp), %rdx ## 8-byte Reload callq _tcf_bind_filter xorl %eax, %eax callq _rtnl_unlock LBB0_5: movq %rbx, %rdi movq %r12, %rsi movq %r13, %rdx movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rcx movq 48(%rbp), %r15 movq %r15, %r8 callq _fl_set_key testl %eax, %eax jne LBB0_8 ## %bb.6: movq 32(%rbp), %r14 movq %rbx, %rdi callq _fl_mask_update_range leaq 4(%r13), %rdi movq %r13, %rsi movq %rbx, %rdx callq _fl_set_masked_key movq %r14, %rdi movq %rbx, %rsi callq _fl_mask_fits_tmplt movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB0_8 ## %bb.7: leaq L_.str(%rip), %rsi movq %r15, %rdi callq _NL_SET_ERR_MSG_MOD movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_8: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TCA_FLOWER_CLASSID,8,3 ## @TCA_FLOWER_CLASSID .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Mask does not fit the template" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _fl_set_parms .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fl_set_parms _fl_set_parms: ; @fl_set_parms .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 x22, x5 mov x24, x4 mov x20, x3 mov x21, x2 mov x25, x1 mov x23, x0 ldr x19, [x29, #32] ldr w26, [x29, #24] add x4, x2, #12 mov x2, x5 mov x3, x6 mov x5, x7 mov x6, x26 mov x7, x19 bl _tcf_exts_validate tbnz w0, #31, LBB0_9 ; %bb.1: Lloh0: adrp x8, _TCA_FLOWER_CLASSID@GOTPAGE Lloh1: ldr x8, [x8, _TCA_FLOWER_CLASSID@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x0, [x22, x8, lsl #3] cbz x0, LBB0_5 ; %bb.2: bl _nla_get_u32 mov x27, x21 str w0, [x27, #8]! cbz w26, LBB0_4 ; %bb.3: mov x0, x25 mov x1, x27 mov x2, x24 bl _tcf_bind_filter b LBB0_5 LBB0_4: bl _rtnl_lock mov x0, x25 mov x1, x27 mov x2, x24 bl _tcf_bind_filter bl _rtnl_unlock LBB0_5: mov x0, x23 mov x1, x22 mov x2, x21 mov x3, x20 mov x4, x19 bl _fl_set_key cbnz w0, LBB0_9 ; %bb.6: ldr x22, [x29, #16] mov x0, x20 bl _fl_mask_update_range add x0, x21, #4 mov x1, x21 mov x2, x20 bl _fl_set_masked_key mov x0, x22 mov x1, x20 bl _fl_mask_fits_tmplt cbz w0, LBB0_8 ; %bb.7: mov w0, #0 b LBB0_9 LBB0_8: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _NL_SET_ERR_MSG_MOD Lloh5: adrp x8, _EINVAL@GOTPAGE Lloh6: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 LBB0_9: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _TCA_FLOWER_CLASSID,8,3 ; @TCA_FLOWER_CLASSID .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Mask does not fit the template" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _fl_set_parms .subsections_via_symbols
AnghaBench/linux/net/sched/extr_cls_flower.c_fl_set_parms.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dummy_write _dummy_write: ## @dummy_write .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 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dummy_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dummy_write _dummy_write: ; @dummy_write .cfi_startproc ; %bb.0: mov x0, x2 ret .cfi_endproc ; -- End function .no_dead_strip _dummy_write .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/cris/arch-v10/kernel/extr_debugport.c_dummy_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function CHaddrange _CHaddrange: ## @CHaddrange .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq _NC@GOTPCREL(%rip), %r13 cmpq %rcx, %rdx jle LBB0_2 ## %bb.1: cmpq %rdx, (%r13) jl LBB0_4 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rdx, %r12 movq %r15, %rdi movq %r14, %rsi callq _CHadd leaq 1(%r12), %rdx cmpq %rbx, %r12 jl LBB0_2 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpq (%r13), %r12 jl LBB0_2 LBB0_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NC,8,3 ## @NC .comm _REG_ESPACE,4,2 ## @REG_ESPACE .no_dead_strip _CHaddrange .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function CHaddrange _CHaddrange: ; @CHaddrange .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, x3 mov x20, x1 mov x21, x0 Lloh0: adrp x23, _NC@GOTPAGE Lloh1: ldr x23, [x23, _NC@GOTPAGEOFF] cmp x2, x3 b.le LBB0_2 ; %bb.1: ldr x8, [x23] cmp x8, x2 b.lt LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x22, x2 mov x0, x21 mov x1, x20 bl _CHadd add x2, x22, #1 cmp x22, x19 b.lt LBB0_2 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x23] cmp x22, x8 b.lt LBB0_2 LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _NC,8,3 ; @NC .comm _REG_ESPACE,4,2 ; @REG_ESPACE .no_dead_strip _CHaddrange .subsections_via_symbols
assembly_file_29709.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function BotAddressedToBot LCPI0_0: .long 0x3f800000 ## float 1 .section __TEXT,__text,regular,pure_instructions .globl _BotAddressedToBot .p2align 4, 0x90 _BotAddressedToBot: ## @BotAddressedToBot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $184, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -192(%rbp) ## 8-byte Spill movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq _NETNAME@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi movq %r14, %rdx movl %ebx, %ecx callq _trap_BotMatchVariable movq %r12, -184(%rbp) ## 8-byte Spill movq %r12, %rdi movq %r14, %rsi callq _ClientOnSameTeamFromName testl %eax, %eax js LBB0_1 ## %bb.2: movq _ST_ADDRESSED@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r13) je LBB0_14 ## %bb.3: movq _ADDRESSEE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi movq -192(%rbp), %r14 ## 8-byte Reload movq %r14, %rdx movl %ebx, %ecx callq _trap_BotMatchVariable movq -184(%rbp), %rax ## 8-byte Reload movl 8(%rax), %edi leaq -176(%rbp), %rsi movl $128, %edx callq _ClientName movq _MTCONTEXT_ADDRESSEE@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -216(%rbp), %rsi movq %r14, %rdi callq _trap_BotFindMatch testq %rax, %rax je LBB0_1 ## %bb.4: movq _MSG_EVERYONE@GOTPCREL(%rip), %r14 leaq -216(%rbp), %r13 movq -192(%rbp), %r12 ## 8-byte Reload jmp LBB0_5 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movq _MORE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r13, %rdi movq %r12, %rdx callq _trap_BotMatchVariable movq _MTCONTEXT_ADDRESSEE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi movq %r13, %rsi callq _trap_BotFindMatch testq %rax, %rax je LBB0_1 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq -208(%rbp), %rax cmpq (%r14), %rax je LBB0_17 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq _TEAMMATE@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _MSG_MULTIPLENAMES@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq %r13, %rdi movq %r15, %rdx movl %ebx, %ecx callq _trap_BotMatchVariable cmpb $0, (%r15) je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 leaq -176(%rbp), %rdi movq %r15, %rsi callq _stristr testq %rax, %rax jne LBB0_17 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq -184(%rbp), %rax ## 8-byte Reload movq (%rax), %rdi movq %r15, %rsi callq _stristr testq %rax, %rax je LBB0_10 jmp LBB0_17 LBB0_14: movq $0, -168(%rbp) movq 16(%r13), %rdi movq _MTCONTEXT_REPLYCHAT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -176(%rbp), %rsi callq _trap_BotFindMatch testq %rax, %rax je LBB0_16 ## %bb.15: movq -168(%rbp), %rax movq _MSG_CHATTELL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 LBB0_16: xorl %eax, %eax callq _random movss %xmm0, -192(%rbp) ## 4-byte Spill movq -184(%rbp), %rdi ## 8-byte Reload callq _NumPlayersOnSameTeam decl %eax xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero divss %xmm0, %xmm1 movss -192(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 jbe LBB0_17 jmp LBB0_1 LBB0_11: movq _MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -216(%rbp), %rdi movq %r15, %rdx callq _trap_BotMatchVariable cmpb $0, (%r15) je LBB0_1 ## %bb.12: leaq -176(%rbp), %rdi movq %r15, %rsi callq _stristr testq %rax, %rax jne LBB0_17 ## %bb.13: movq -184(%rbp), %rax ## 8-byte Reload movq (%rax), %rdi movq %r15, %rsi callq _stristr testq %rax, %rax je LBB0_1 LBB0_17: movq _qtrue@GOTPCREL(%rip), %rax jmp LBB0_18 LBB0_1: movq _qfalse@GOTPCREL(%rip), %rax LBB0_18: movl (%rax), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_20 ## %bb.19: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_MESSAGE_SIZE,4,2 ## @MAX_MESSAGE_SIZE .comm _NETNAME,4,2 ## @NETNAME .comm _qfalse,4,2 ## @qfalse .comm _ST_ADDRESSED,4,2 ## @ST_ADDRESSED .comm _ADDRESSEE,4,2 ## @ADDRESSEE .comm _MTCONTEXT_ADDRESSEE,4,2 ## @MTCONTEXT_ADDRESSEE .comm _MSG_EVERYONE,8,3 ## @MSG_EVERYONE .comm _qtrue,4,2 ## @qtrue .comm _MSG_MULTIPLENAMES,8,3 ## @MSG_MULTIPLENAMES .comm _TEAMMATE,4,2 ## @TEAMMATE .comm _MORE,4,2 ## @MORE .comm _MTCONTEXT_REPLYCHAT,4,2 ## @MTCONTEXT_REPLYCHAT .comm _MSG_CHATTELL,8,3 ## @MSG_CHATTELL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BotAddressedToBot ; -- Begin function BotAddressedToBot .p2align 2 _BotAddressedToBot: ; @BotAddressedToBot .cfi_startproc ; %bb.0: stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 sub sp, sp, #176 mov x23, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-112] Lloh3: adrp x25, _MAX_MESSAGE_SIZE@GOTPAGE Lloh4: ldr x25, [x25, _MAX_MESSAGE_SIZE@GOTPAGEOFF] ldr w21, [x25] mov x9, x21 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x21, #15 and x12, x9, #0x1fffffff0 sub x22, x8, x12 mov sp, x22 mov x9, x21 Lloh7: adrp x16, ___chkstk_darwin@GOTPAGE Lloh8: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x24, x8, x12 mov sp, x24 mov x9, x21 Lloh9: adrp x16, ___chkstk_darwin@GOTPAGE Lloh10: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x20, x8, x12 mov sp, x20 Lloh11: adrp x8, _NETNAME@GOTPAGE Lloh12: ldr x8, [x8, _NETNAME@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x23 mov x2, x24 mov x3, x21 bl _trap_BotMatchVariable mov x0, x19 mov x1, x24 bl _ClientOnSameTeamFromName tbnz w0, #31, LBB0_17 ; %bb.1: ldr w8, [x23] Lloh14: adrp x9, _ST_ADDRESSED@GOTPAGE Lloh15: ldr x9, [x9, _ST_ADDRESSED@GOTPAGEOFF] Lloh16: ldr w9, [x9] tst w9, w8 b.eq LBB0_10 ; %bb.2: Lloh17: adrp x8, _ADDRESSEE@GOTPAGE Lloh18: ldr x8, [x8, _ADDRESSEE@GOTPAGEOFF] Lloh19: ldr w1, [x8] mov x0, x23 mov x2, x22 mov x3, x21 bl _trap_BotMatchVariable ldr w0, [x19, #8] sub x1, x29, #240 mov w2, #128 bl _ClientName Lloh20: adrp x23, _MTCONTEXT_ADDRESSEE@GOTPAGE Lloh21: ldr x23, [x23, _MTCONTEXT_ADDRESSEE@GOTPAGEOFF] ldr w2, [x23] sub x1, x29, #264 mov x0, x22 bl _trap_BotFindMatch cbz x0, LBB0_17 ; %bb.3: Lloh22: adrp x24, _MSG_EVERYONE@GOTPAGE Lloh23: ldr x24, [x24, _MSG_EVERYONE@GOTPAGEOFF] Lloh24: adrp x26, _MSG_MULTIPLENAMES@GOTPAGE Lloh25: ldr x26, [x26, _MSG_MULTIPLENAMES@GOTPAGEOFF] Lloh26: adrp x27, _TEAMMATE@GOTPAGE Lloh27: ldr x27, [x27, _TEAMMATE@GOTPAGEOFF] Lloh28: adrp x28, _MORE@GOTPAGE Lloh29: ldr x28, [x28, _MORE@GOTPAGEOFF] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x28] ldr w3, [x25] sub x0, x29, #264 mov x2, x22 bl _trap_BotMatchVariable ldr w2, [x23] sub x1, x29, #264 mov x0, x22 bl _trap_BotFindMatch cbz x0, LBB0_17 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-256] ldr x9, [x24] cmp x8, x9 b.eq LBB0_16 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [x26] ldr w1, [x27] cmp x8, x9 b.ne LBB0_13 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 sub x0, x29, #264 mov x2, x20 mov x3, x21 bl _trap_BotMatchVariable ldrb w8, [x20] cbz w8, LBB0_4 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 sub x0, x29, #240 mov x1, x20 bl _stristr cbnz x0, LBB0_16 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x19] mov x1, x20 bl _stristr cbz x0, LBB0_4 b LBB0_16 LBB0_10: stur xzr, [x29, #-232] ldr x0, [x23, #16] Lloh30: adrp x8, _MTCONTEXT_REPLYCHAT@GOTPAGE Lloh31: ldr x8, [x8, _MTCONTEXT_REPLYCHAT@GOTPAGEOFF] Lloh32: ldr w2, [x8] sub x1, x29, #240 bl _trap_BotFindMatch cbz x0, LBB0_12 ; %bb.11: ldur x8, [x29, #-232] Lloh33: adrp x9, _MSG_CHATTELL@GOTPAGE Lloh34: ldr x9, [x9, _MSG_CHATTELL@GOTPAGEOFF] Lloh35: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 LBB0_12: bl _random fmov s8, s0 mov x0, x19 bl _NumPlayersOnSameTeam sub w8, w0, #1 scvtf s0, w8 fmov s1, #1.00000000 fdiv s0, s1, s0 fcmp s8, s0 b.le LBB0_16 b LBB0_17 LBB0_13: ldr w3, [x25] sub x0, x29, #264 mov x2, x20 bl _trap_BotMatchVariable ldrb w8, [x20] cbz w8, LBB0_17 ; %bb.14: sub x0, x29, #240 mov x1, x20 bl _stristr cbnz x0, LBB0_16 ; %bb.15: ldr x0, [x19] mov x1, x20 bl _stristr cbz x0, LBB0_17 LBB0_16: Lloh36: adrp x8, _qtrue@GOTPAGE Lloh37: ldr x8, [x8, _qtrue@GOTPAGEOFF] b LBB0_18 LBB0_17: Lloh38: adrp x8, _qfalse@GOTPAGE Lloh39: ldr x8, [x8, _qfalse@GOTPAGEOFF] LBB0_18: ldr w0, [x8] ldur x8, [x29, #-112] Lloh40: adrp x9, ___stack_chk_guard@GOTPAGE Lloh41: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh42: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.19: sub sp, x29, #96 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 ldp d9, d8, [sp], #112 ; 16-byte Folded Reload ret LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .cfi_endproc ; -- End function .comm _MAX_MESSAGE_SIZE,4,2 ; @MAX_MESSAGE_SIZE .comm _NETNAME,4,2 ; @NETNAME .comm _qfalse,4,2 ; @qfalse .comm _ST_ADDRESSED,4,2 ; @ST_ADDRESSED .comm _ADDRESSEE,4,2 ; @ADDRESSEE .comm _MTCONTEXT_ADDRESSEE,4,2 ; @MTCONTEXT_ADDRESSEE .comm _MSG_EVERYONE,8,3 ; @MSG_EVERYONE .comm _qtrue,4,2 ; @qtrue .comm _MSG_MULTIPLENAMES,8,3 ; @MSG_MULTIPLENAMES .comm _TEAMMATE,4,2 ; @TEAMMATE .comm _MORE,4,2 ; @MORE .comm _MTCONTEXT_REPLYCHAT,4,2 ; @MTCONTEXT_REPLYCHAT .comm _MSG_CHATTELL,8,3 ; @MSG_CHATTELL .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/game/extr_ai_cmd.c_BotAddressedToBot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parse256 _parse256: ## @parse256 .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, %rbx movq %rdi, %r14 leaq L_.str(%rip), %rsi movl $2, %edx callq _strncmp testl %eax, %eax jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rsi movq %r14, %rdi movl $2, %edx callq _strncmp xorl %ecx, %ecx testl %eax, %eax sete %cl leaq (%r14,%rcx,2), %r14 LBB0_2: movzbl (%r14), %eax testb %al, %al movq %rbx, -56(%rbp) ## 8-byte Spill je LBB0_3 ## %bb.4: xorl %r12d, %r12d leaq L_.str.2(%rip), %rbx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _isxdigit testl %eax, %eax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movzbl -1(%r14,%r12), %eax decq %r12 testb %al, %al jne LBB0_5 ## %bb.8: cmpl $-63, %r12d jae LBB0_10 ## %bb.9: leaq L_.str.3(%rip), %rax jmp LBB0_17 LBB0_3: xorl %r12d, %r12d jmp LBB0_11 LBB0_6: movq %rbx, %rax jmp LBB0_17 LBB0_10: negq %r12 LBB0_11: movl %r12d, %ebx andl $1, %ebx movb $0, -42(%rbp) movw $0, -44(%rbp) movl $2, %edx subl %ebx, %edx leaq -44(%rbp), %r15 movq %r15, %rdi movq %r14, %rsi callq _memcpy leaq -48(%rbp), %rsi movq %r15, %rdi movl $1, %edx callq _parseint testq %rax, %rax jne LBB0_17 ## %bb.12: leal -1(%r12), %eax movl %eax, %ecx shrb $7, %cl addb %al, %cl sarb %cl movb $31, %al subb %cl, %al movzbl %al, %r13d movl -48(%rbp), %eax movq -56(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r13,4) cmpl $3, %r12d jb LBB0_16 ## %bb.13: subq %rbx, %r14 addq $2, %r14 leaq -48(%rbp), %r12 movq -56(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 movb $0, -42(%rbp) movw $0, -44(%rbp) movq %r15, %rdi movq %r14, %rsi movl $2, %edx callq _memcpy movq %r15, %rdi movq %r12, %rsi movl $1, %edx callq _parseint testq %rax, %rax jne LBB0_17 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 addq $2, %r14 movl -48(%rbp), %eax movl %eax, 4(%rbx,%r13,4) incq %r13 cmpl $31, %r13d jl LBB0_14 LBB0_16: xorl %eax, %eax LBB0_17: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0x" L_.str.1: ## @.str.1 .asciz "0X" L_.str.2: ## @.str.2 .asciz "invalid hex digit read" L_.str.3: ## @.str.3 .asciz "hex code too long" .no_dead_strip _parse256 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse256 _parse256: ; @parse256 .cfi_startproc ; %bb.0: sub sp, sp, #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, x1 mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w2, #2 ; =0x2 bl _strncmp cbz w0, LBB0_7 ; %bb.1: ldrb w8, [x20] cbz w8, LBB0_8 LBB0_2: sub x22, x20, #1 mov w21, #-1 ; =0xffffffff Lloh2: adrp x23, l_.str.2@PAGE Lloh3: add x23, x23, l_.str.2@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _isxdigit cbz w0, LBB0_9 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x22], #-1 add w21, w21, #1 cbnz w8, LBB0_3 ; %bb.5: cmp w21, #62 b.ls LBB0_10 ; %bb.6: Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@PAGEOFF b LBB0_17 LBB0_7: Lloh6: adrp x1, l_.str.1@PAGE Lloh7: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 mov w2, #2 ; =0x2 bl _strncmp cmp w0, #0 cset w8, eq add x20, x20, w8, uxtw #1 ldrb w8, [x20] cbnz w8, LBB0_2 LBB0_8: mov w22, #0 ; =0x0 b LBB0_11 LBB0_9: mov x0, x23 b LBB0_17 LBB0_10: add w22, w21, #1 LBB0_11: strb wzr, [sp, #14] strh wzr, [sp, #12] tst w22, #0x1 mov w8, #1 ; =0x1 cinc w2, w8, eq add x0, sp, #12 mov x1, x20 bl _memcpy add x0, sp, #12 add x1, sp, #8 mov w2, #1 ; =0x1 bl _parseint cbnz x0, LBB0_17 ; %bb.12: sub w8, w22, #1 and w9, w8, #0x80 add w8, w8, w9, lsr #7 sxtb w8, w8 mov w9, #31 ; =0x1f sub w8, w9, w8, lsr #1 and x21, x8, #0xff ldr w8, [sp, #8] str w8, [x19, x21, lsl #2] cmp w22, #3 b.lo LBB0_16 ; %bb.13: tst w22, #0x1 mov w8, #1 ; =0x1 cinc x8, x8, eq add x20, x20, x8 add x19, x19, #4 LBB0_14: ; =>This Inner Loop Header: Depth=1 strb wzr, [sp, #14] strh wzr, [sp, #12] add x0, sp, #12 mov x1, x20 mov w2, #2 ; =0x2 bl _memcpy add x0, sp, #12 add x1, sp, #8 mov w2, #1 ; =0x1 bl _parseint cbnz x0, LBB0_17 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 add x20, x20, #2 ldr w8, [sp, #8] str w8, [x19, x21, lsl #2] add x8, x21, #1 mov x21, x8 cmp w8, #31 b.lt LBB0_14 LBB0_16: mov x0, #0 ; =0x0 LBB0_17: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0x" l_.str.1: ; @.str.1 .asciz "0X" l_.str.2: ; @.str.2 .asciz "invalid hex digit read" l_.str.3: ; @.str.3 .asciz "hex code too long" .no_dead_strip _parse256 .subsections_via_symbols
assembly_file_80136.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m68k_op_bchg_8_r_pi7 _m68k_op_bchg_8_r_pi7: ## @m68k_op_bchg_8_r_pi7 .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 %eax, %eax callq _EA_A7_PI_8 movl %eax, %ebx movl %eax, %edi callq _m68ki_read_8 movq _DX@GOTPCREL(%rip), %rcx movb (%rcx), %cl andb $7, %cl movl $1, %edx shll %cl, %edx andl %eax, %edx movq _FLAG_Z@GOTPCREL(%rip), %rsi movl %edx, (%rsi) btcl %ecx, %eax movl %ebx, %edi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _m68ki_write_8 ## TAILCALL .cfi_endproc ## -- End function .comm _DX,4,2 ## @DX .comm _FLAG_Z,4,2 ## @FLAG_Z .no_dead_strip _m68k_op_bchg_8_r_pi7 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m68k_op_bchg_8_r_pi7 _m68k_op_bchg_8_r_pi7: ; @m68k_op_bchg_8_r_pi7 .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 _EA_A7_PI_8 mov x19, x0 bl _m68ki_read_8 Lloh0: adrp x8, _DX@GOTPAGE Lloh1: ldr x8, [x8, _DX@GOTPAGEOFF] Lloh2: ldr w8, [x8] and x8, x8, #0x7 mov w9, #1 lsl w8, w9, w8 and w9, w8, w0 Lloh3: adrp x10, _FLAG_Z@GOTPAGE Lloh4: ldr x10, [x10, _FLAG_Z@GOTPAGEOFF] Lloh5: str w9, [x10] eor w1, w8, w0 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _m68ki_write_8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DX,4,2 ; @DX .comm _FLAG_Z,4,2 ; @FLAG_Z .no_dead_strip _m68k_op_bchg_8_r_pi7 .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_bchg_8_r_pi7.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ath_get_rate _ath_get_rate: ## @ath_get_rate .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 %rcx, %r13 movq %rdx, %r15 movq %rsi, %r14 movq %rdi, -96(%rbp) ## 8-byte Spill movq (%rcx), %r12 movq %r12, %rdi callq _IEEE80211_SKB_CB movq %rax, -88(%rbp) ## 8-byte Spill movq 8(%rax), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq (%r12), %rbx movl 4(%rbx), %r12d movl $0, -52(%rbp) movq %r14, -120(%rbp) ## 8-byte Spill movq %r14, %rdi movq %r15, %rsi movq %r13, %rdx callq _rate_control_send_low testq %rax, %rax jne LBB0_23 ## %bb.1: movl %r12d, -68(%rbp) ## 4-byte Spill movq %rbx, -104(%rbp) ## 8-byte Spill movq (%r15), %rax movq %rax, -64(%rbp) ## 8-byte Spill leaq -52(%rbp), %rsi movq %r15, %rdi callq _ath_rc_get_highest_rix movl %eax, -48(%rbp) ## 4-byte Spill movl %eax, -44(%rbp) movq -96(%rbp), %rbx ## 8-byte Reload movq (%rbx), %rdi callq _conf_is_ht testq %rax, %rax movq %rbx, %rcx movq -88(%rbp), %rbx ## 8-byte Reload movq %r15, %r14 movq -120(%rbp), %r15 ## 8-byte Reload je LBB0_4 ## %bb.2: movq _IEEE80211_HT_CAP_LDPC_CODING@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%r15), %eax je LBB0_4 ## %bb.3: movq _IEEE80211_TX_CTL_LDPC@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%rbx) LBB0_4: movq (%rcx), %rdi callq _conf_is_ht testq %rax, %rax je LBB0_7 ## %bb.5: movq _IEEE80211_HT_CAP_TX_STBC@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) je LBB0_7 ## %bb.6: movq _IEEE80211_TX_CTL_STBC_SHIFT@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movl $1, %eax shll %cl, %eax orl %eax, (%rbx) LBB0_7: cmpl $0, -52(%rbp) movq -80(%rbp), %r12 ## 8-byte Reload movq %r14, -112(%rbp) ## 8-byte Spill je LBB0_9 ## %bb.8: movq -64(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movq %r12, %rsi movq %r13, %rdx movl $1, %ecx movl -48(%rbp), %r8d ## 4-byte Reload xorl %r9d, %r9d callq _ath_rc_rate_set_series movl -44(%rbp), %esi leaq -44(%rbp), %rdx movq %r14, %rdi callq _ath_rc_get_lower_rix leaq 24(%r12), %rsi movl -44(%rbp), %r8d movq %r15, %rdi movq %r13, %r14 movq %r13, %rdx movl $4, %ecx xorl %r9d, %r9d callq _ath_rc_rate_set_series movq _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%rbx) movl $2, %eax jmp LBB0_10 LBB0_9: movq -64(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq %r13, %r14 movq %r13, %rdx movl $4, %ecx movl -48(%rbp), %r8d ## 4-byte Reload xorl %r9d, %r9d callq _ath_rc_rate_set_series movl $1, %eax LBB0_10: shll $3, %eax leaq (%rax,%rax,2), %r12 movq -64(%rbp), %r15 ## 8-byte Reload movq -80(%rbp), %rbx ## 8-byte Reload movq -112(%rbp), %r13 ## 8-byte Reload .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %esi movq %r13, %rdi leaq -44(%rbp), %rdx callq _ath_rc_get_lower_rix leaq (%rbx,%r12), %rsi movl -44(%rbp), %r8d movq %r15, %rdi movq %r14, %rdx movl $4, %ecx movl $1, %r9d callq _ath_rc_rate_set_series addq $24, %r12 cmpq $96, %r12 jne LBB0_11 ## %bb.12: movq -96(%rbp), %r13 ## 8-byte Reload movq (%r13), %rdi movq (%rdi), %rax movq (%rax), %rax movq _IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax movq %r15, %r12 jne LBB0_19 ## %bb.13: callq _conf_is_ht testq %rax, %rax je LBB0_19 ## %bb.14: movq (%r12), %rax movslq -44(%rbp), %rdx movl (%rax,%rdx,8), %ecx movl 4(%rax,%rdx,8), %eax cmpl $2, %ecx jne LBB0_16 ## %bb.15: movq _WLAN_RC_PHY_HT_40_SS@GOTPCREL(%rip), %rdx cmpl (%rdx), %eax je LBB0_18 LBB0_16: cmpl $3, %ecx jne LBB0_19 ## %bb.17: movq _WLAN_RC_PHY_HT_20_SS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_19 LBB0_18: movq 56(%rbx), %rax movq %rax, 80(%rbx) movl 64(%rbx), %eax movl %eax, 88(%rbx) LBB0_19: movl -68(%rbp), %edi ## 4-byte Reload callq _ieee80211_has_morefrags testq %rax, %rax movq -88(%rbp), %r14 ## 8-byte Reload jne LBB0_21 ## %bb.20: movq -104(%rbp), %rax ## 8-byte Reload movl (%rax), %edi callq _le16_to_cpu movq _IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_22 LBB0_21: xorps %xmm0, %xmm0 movups %xmm0, 24(%rbx) movups %xmm0, 48(%rbx) movups %xmm0, 72(%rbx) movq _ATH_TXMAXTRY@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%rbx) LBB0_22: movq %r13, %rdi movq %r12, %rsi movq %r14, %rdx callq _ath_rc_rate_set_rtscts LBB0_23: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IEEE80211_HT_CAP_LDPC_CODING,4,2 ## @IEEE80211_HT_CAP_LDPC_CODING .comm _IEEE80211_TX_CTL_LDPC,4,2 ## @IEEE80211_TX_CTL_LDPC .comm _IEEE80211_HT_CAP_TX_STBC,4,2 ## @IEEE80211_HT_CAP_TX_STBC .comm _IEEE80211_TX_CTL_STBC_SHIFT,4,2 ## @IEEE80211_TX_CTL_STBC_SHIFT .comm _IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ## @IEEE80211_TX_CTL_RATE_CTRL_PROBE .comm _IEEE80211_BAND_2GHZ,8,3 ## @IEEE80211_BAND_2GHZ .comm _WLAN_RC_PHY_HT_40_SS,4,2 ## @WLAN_RC_PHY_HT_40_SS .comm _WLAN_RC_PHY_HT_20_SS,4,2 ## @WLAN_RC_PHY_HT_20_SS .comm _IEEE80211_SCTL_FRAG,4,2 ## @IEEE80211_SCTL_FRAG .comm _ATH_TXMAXTRY,8,3 ## @ATH_TXMAXTRY .no_dead_strip _ath_get_rate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ath_get_rate _ath_get_rate: ; @ath_get_rate .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x24, x3 mov x25, x2 mov x27, x1 mov x19, x0 ldr x22, [x3] mov x0, x22 bl _IEEE80211_SKB_CB mov x20, x0 ldr x21, [x0, #8] ldr x28, [x22] ldr w23, [x28, #4] str wzr, [sp, #8] mov x0, x27 mov x1, x25 mov x2, x24 bl _rate_control_send_low cbnz x0, LBB0_24 ; %bb.1: ldr x22, [x25] add x1, sp, #8 mov x0, x25 bl _ath_rc_get_highest_rix mov x26, x0 str w0, [sp, #12] ldr x0, [x19] bl _conf_is_ht cbz x0, LBB0_4 ; %bb.2: ldr w8, [x27] Lloh0: adrp x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGE Lloh1: ldr x9, [x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGEOFF] Lloh2: ldr w9, [x9] orr w8, w9, w8 cbz w8, LBB0_4 ; %bb.3: Lloh3: adrp x8, _IEEE80211_TX_CTL_LDPC@GOTPAGE Lloh4: ldr x8, [x8, _IEEE80211_TX_CTL_LDPC@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldr w9, [x20] orr w8, w9, w8 str w8, [x20] LBB0_4: ldr x0, [x19] bl _conf_is_ht cbz x0, LBB0_7 ; %bb.5: ldr w8, [x27] Lloh6: adrp x9, _IEEE80211_HT_CAP_TX_STBC@GOTPAGE Lloh7: ldr x9, [x9, _IEEE80211_HT_CAP_TX_STBC@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w8 b.eq LBB0_7 ; %bb.6: Lloh9: adrp x8, _IEEE80211_TX_CTL_STBC_SHIFT@GOTPAGE Lloh10: ldr x8, [x8, _IEEE80211_TX_CTL_STBC_SHIFT@GOTPAGEOFF] Lloh11: ldr w8, [x8] mov w9, #1 ; =0x1 lsl w8, w9, w8 ldr w9, [x20] orr w8, w9, w8 str w8, [x20] LBB0_7: ldr w8, [sp, #8] cbz w8, LBB0_9 ; %bb.8: mov x0, x22 mov x1, x21 mov x2, x24 mov w3, #1 ; =0x1 mov x4, x26 mov w5, #0 ; =0x0 bl _ath_rc_rate_set_series ldr w1, [sp, #12] add x2, sp, #12 mov x0, x25 bl _ath_rc_get_lower_rix ldr w4, [sp, #12] add x1, x21, #24 mov x0, x22 mov x2, x24 mov w3, #4 ; =0x4 mov w5, #0 ; =0x0 bl _ath_rc_rate_set_series Lloh12: adrp x8, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGE Lloh13: ldr x8, [x8, _IEEE80211_TX_CTL_RATE_CTRL_PROBE@GOTPAGEOFF] Lloh14: ldr w8, [x8] ldr w9, [x20] orr w8, w9, w8 str w8, [x20] mov w26, #2 ; =0x2 b LBB0_10 LBB0_9: mov x0, x22 mov x1, x21 mov x2, x24 mov w3, #4 ; =0x4 mov x4, x26 mov w5, #0 ; =0x0 bl _ath_rc_rate_set_series mov w26, #1 ; =0x1 LBB0_10: ldr w1, [sp, #12] add x2, sp, #12 mov x0, x25 bl _ath_rc_get_lower_rix mov w8, #24 ; =0x18 umaddl x1, w26, w8, x21 ldr w4, [sp, #12] mov x0, x22 mov x2, x24 mov w3, #4 ; =0x4 mov w5, #1 ; =0x1 bl _ath_rc_rate_set_series add x27, x26, #1 cmp x27, #4 b.eq LBB0_13 ; %bb.11: ldr w1, [sp, #12] add x2, sp, #12 mov x0, x25 bl _ath_rc_get_lower_rix mov w8, #24 ; =0x18 umaddl x1, w27, w8, x21 ldr w4, [sp, #12] mov x0, x22 mov x2, x24 mov w3, #4 ; =0x4 mov w5, #1 ; =0x1 bl _ath_rc_rate_set_series add x26, x26, #2 cmp x26, #4 b.eq LBB0_13 ; %bb.12: ldr w1, [sp, #12] add x2, sp, #12 mov x0, x25 bl _ath_rc_get_lower_rix mov w8, #24 ; =0x18 umaddl x1, w26, w8, x21 ldr w4, [sp, #12] mov x0, x22 mov x2, x24 mov w3, #4 ; =0x4 mov w5, #1 ; =0x1 bl _ath_rc_rate_set_series LBB0_13: ldr x0, [x19] ldr x8, [x0] ldr x8, [x8] Lloh15: adrp x9, _IEEE80211_BAND_2GHZ@GOTPAGE Lloh16: ldr x9, [x9, _IEEE80211_BAND_2GHZ@GOTPAGEOFF] Lloh17: ldr x9, [x9] cmp x8, x9 b.ne LBB0_20 ; %bb.14: bl _conf_is_ht cbz x0, LBB0_20 ; %bb.15: ldr x8, [x22] ldrsw x9, [sp, #12] add x8, x8, x9, lsl #3 ldp w9, w8, [x8] cmp w9, #2 b.ne LBB0_17 ; %bb.16: Lloh18: adrp x10, _WLAN_RC_PHY_HT_40_SS@GOTPAGE Lloh19: ldr x10, [x10, _WLAN_RC_PHY_HT_40_SS@GOTPAGEOFF] Lloh20: ldr w10, [x10] cmp w8, w10 b.eq LBB0_19 LBB0_17: cmp w9, #3 b.ne LBB0_20 ; %bb.18: Lloh21: adrp x9, _WLAN_RC_PHY_HT_20_SS@GOTPAGE Lloh22: ldr x9, [x9, _WLAN_RC_PHY_HT_20_SS@GOTPAGEOFF] Lloh23: ldr w9, [x9] cmp w8, w9 b.ne LBB0_20 LBB0_19: ldr x8, [x21, #56] str x8, [x21, #80] ldr w8, [x21, #64] str w8, [x21, #88] LBB0_20: mov x0, x23 bl _ieee80211_has_morefrags cbnz x0, LBB0_22 ; %bb.21: ldr w0, [x28] bl _le16_to_cpu Lloh24: adrp x8, _IEEE80211_SCTL_FRAG@GOTPAGE Lloh25: ldr x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF] Lloh26: ldr w8, [x8] tst w8, w0 b.eq LBB0_23 LBB0_22: stp xzr, xzr, [x21, #24] stp xzr, xzr, [x21, #48] stp xzr, xzr, [x21, #72] Lloh27: adrp x8, _ATH_TXMAXTRY@GOTPAGE Lloh28: ldr x8, [x8, _ATH_TXMAXTRY@GOTPAGEOFF] Lloh29: ldr x8, [x8] str x8, [x21] LBB0_23: mov x0, x19 mov x1, x22 mov x2, x20 bl _ath_rc_rate_set_rtscts LBB0_24: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .comm _IEEE80211_HT_CAP_LDPC_CODING,4,2 ; @IEEE80211_HT_CAP_LDPC_CODING .comm _IEEE80211_TX_CTL_LDPC,4,2 ; @IEEE80211_TX_CTL_LDPC .comm _IEEE80211_HT_CAP_TX_STBC,4,2 ; @IEEE80211_HT_CAP_TX_STBC .comm _IEEE80211_TX_CTL_STBC_SHIFT,4,2 ; @IEEE80211_TX_CTL_STBC_SHIFT .comm _IEEE80211_TX_CTL_RATE_CTRL_PROBE,4,2 ; @IEEE80211_TX_CTL_RATE_CTRL_PROBE .comm _IEEE80211_BAND_2GHZ,8,3 ; @IEEE80211_BAND_2GHZ .comm _WLAN_RC_PHY_HT_40_SS,4,2 ; @WLAN_RC_PHY_HT_40_SS .comm _WLAN_RC_PHY_HT_20_SS,4,2 ; @WLAN_RC_PHY_HT_20_SS .comm _IEEE80211_SCTL_FRAG,4,2 ; @IEEE80211_SCTL_FRAG .comm _ATH_TXMAXTRY,8,3 ; @ATH_TXMAXTRY .no_dead_strip _ath_get_rate .subsections_via_symbols
assembly_file_3452.c
assembly_dataset
.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/31011.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function r8a77980_phy_pcie_power_on _r8a77980_phy_pcie_power_on: ## @r8a77980_phy_pcie_power_on .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _PHY_CTRL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _PHY_CTRL_PHY_PWDN@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %ecx, %ecx callq _rcar_gen3_phy_pcie_modify_reg xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _PHY_CTRL,4,2 ## @PHY_CTRL .comm _PHY_CTRL_PHY_PWDN,4,2 ## @PHY_CTRL_PHY_PWDN .no_dead_strip _r8a77980_phy_pcie_power_on .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function r8a77980_phy_pcie_power_on _r8a77980_phy_pcie_power_on: ; @r8a77980_phy_pcie_power_on .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, _PHY_CTRL@GOTPAGE Lloh1: ldr x8, [x8, _PHY_CTRL@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _PHY_CTRL_PHY_PWDN@GOTPAGE Lloh4: ldr x8, [x8, _PHY_CTRL_PHY_PWDN@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov w3, #0 bl _rcar_gen3_phy_pcie_modify_reg mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PHY_CTRL,4,2 ; @PHY_CTRL .comm _PHY_CTRL_PHY_PWDN,4,2 ; @PHY_CTRL_PHY_PWDN .no_dead_strip _r8a77980_phy_pcie_power_on .subsections_via_symbols
AnghaBench/linux/drivers/phy/renesas/extr_phy-rcar-gen3-pcie.c_r8a77980_phy_pcie_power_on.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parse_command ## -- Begin function parse_command .p2align 4, 0x90 _parse_command: ## @parse_command .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $-1, %r12d cmpb $0, (%rdi) je LBB0_13 ## %bb.1: movq %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx leaq 1(%rdi), %rax movl $1, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %ecx xorl %edx, %edx cmpb %r15b, %cl sete %dl addl %edx, %r13d incq %rax testb %cl, %cl jne LBB0_2 ## %bb.3: movl %r13d, %edi movl $8, %esi callq _calloc movq %rax, (%r14) testq %rax, %rax je LBB0_13 ## %bb.4: cmpl $2, %r13d movl $1, %ecx cmovael %r13d, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movq %rbx, (%rax,%rdx,8) .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rbx), %eax incq %rbx cmpb %r15b, %al je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 testb %al, %al jne LBB0_6 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 leaq -1(%rbx), %rsi testb %al, %al je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 movb $0, (%rsi) jmp LBB0_11 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 movq %rsi, %rbx LBB0_11: ## in Loop: Header=BB0_5 Depth=1 incq %rdx cmpq %rcx, %rdx je LBB0_12 ## %bb.14: ## in Loop: Header=BB0_5 Depth=1 movq (%r14), %rax jmp LBB0_5 LBB0_12: movl %r13d, %r12d LBB0_13: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parse_command ; -- Begin function parse_command .p2align 2 _parse_command: ; @parse_command .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 ldrb w8, [x0] cbz w8, LBB0_12 ; %bb.1: mov x20, x2 mov x21, x0 and w22, w1, #0xff mov w8, #1 mov x19, x8 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x21, x8] cmp w9, w22 cinc w19, w19, eq add x8, x8, #1 cbnz w9, LBB0_2 ; %bb.3: mov x0, x19 mov w1, #8 bl _calloc str x0, [x20] cbz x0, LBB0_12 ; %bb.4: mov x8, #0 cmp w19, #1 csinc w9, w19, wzr, hi LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 str x21, [x0, x8, lsl #3] LBB0_6: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x21], #1 cmp w10, w22 ccmp w10, #0, #4, ne b.ne LBB0_6 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 sub x11, x21, #1 cbz w10, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 strb wzr, [x11] b LBB0_10 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 mov x21, x11 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 add x8, x8, #1 cmp x8, x9 b.eq LBB0_13 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x20] b LBB0_5 LBB0_12: mov w19, #-1 LBB0_13: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/14200774.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decimal32FromString ## -- Begin function decimal32FromString .p2align 4, 0x90 _decimal32FromString: ## @decimal32FromString .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq _DEC_INIT_DECIMAL32@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -64(%rbp), %r12 movq %r12, %rdi callq _decContextDefault movl 8(%r14), %eax movl %eax, -56(%rbp) leaq -44(%rbp), %r13 movq %r13, %rdi movq %r15, %rsi movq %r12, %rdx callq _decNumberFromString movq %rbx, %rdi movq %r13, %rsi movq %r12, %rdx callq _decimal32FromNumber movq -64(%rbp), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %r14, %rdi callq _decContextSetStatus LBB0_2: movq %rbx, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DEC_INIT_DECIMAL32,4,2 ## @DEC_INIT_DECIMAL32 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _decimal32FromString ; -- Begin function decimal32FromString .p2align 2 _decimal32FromString: ; @decimal32FromString .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _DEC_INIT_DECIMAL32@GOTPAGE Lloh1: ldr x8, [x8, _DEC_INIT_DECIMAL32@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x0, sp, #16 bl _decContextDefault ldr w8, [x20, #8] str w8, [sp, #24] add x0, sp, #12 add x2, sp, #16 mov x1, x21 bl _decNumberFromString add x1, sp, #12 add x2, sp, #16 mov x0, x19 bl _decimal32FromNumber ldr x1, [sp, #16] cbz x1, LBB0_2 ; %bb.1: mov x0, x20 bl _decContextSetStatus LBB0_2: 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 add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DEC_INIT_DECIMAL32,4,2 ; @DEC_INIT_DECIMAL32 .subsections_via_symbols
AnghaBench/jq/src/decNumber/extr_decimal32.c_decimal32FromString.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipvlan_process_v6_outbound _ipvlan_process_v6_outbound: ## @ipvlan_process_v6_outbound .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _NET_XMIT_DROP@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NET_XMIT_DROP,4,2 ## @NET_XMIT_DROP .no_dead_strip _ipvlan_process_v6_outbound .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipvlan_process_v6_outbound _ipvlan_process_v6_outbound: ; @ipvlan_process_v6_outbound .cfi_startproc ; %bb.0: Lloh0: adrp x8, _NET_XMIT_DROP@GOTPAGE Lloh1: ldr x8, [x8, _NET_XMIT_DROP@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NET_XMIT_DROP,4,2 ; @NET_XMIT_DROP .no_dead_strip _ipvlan_process_v6_outbound .subsections_via_symbols
AnghaBench/linux/drivers/net/ipvlan/extr_ipvlan_core.c_ipvlan_process_v6_outbound.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dtrace_invop_init ## -- Begin function dtrace_invop_init .p2align 4, 0x90 _dtrace_invop_init: ## @dtrace_invop_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _dtrace_invop_start@GOTPCREL(%rip), %rax movl (%rax), %eax movq _dtrace_invop_jump_addr@GOTPCREL(%rip), %rcx movl %eax, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _dtrace_invop_start,4,2 ## @dtrace_invop_start .comm _dtrace_invop_jump_addr,4,2 ## @dtrace_invop_jump_addr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dtrace_invop_init ; -- Begin function dtrace_invop_init .p2align 2 _dtrace_invop_init: ; @dtrace_invop_init .cfi_startproc ; %bb.0: Lloh0: adrp x8, _dtrace_invop_start@GOTPAGE Lloh1: ldr x8, [x8, _dtrace_invop_start@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _dtrace_invop_jump_addr@GOTPAGE Lloh4: ldr x9, [x9, _dtrace_invop_jump_addr@GOTPAGEOFF] Lloh5: str w8, [x9] ret .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _dtrace_invop_start,4,2 ; @dtrace_invop_start .comm _dtrace_invop_jump_addr,4,2 ; @dtrace_invop_jump_addr .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/dev/dtrace/mips/extr_dtrace_subr.c_dtrace_invop_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get16le _get16le: ## @get16le .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 _get8 movl %eax, %r14d movq %rbx, %rdi callq _get8 shll $8, %eax addl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get16le .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get16le _get16le: ; @get16le .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 _get8 mov x20, x0 mov x0, x19 bl _get8 add w0, w20, w0, lsl #8 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 _get16le .subsections_via_symbols
AnghaBench/stb/deprecated/extr_stb_image.c_get16le.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function substream_to_prtd _substream_to_prtd: ## @substream_to_prtd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _substream_to_prtd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function substream_to_prtd _substream_to_prtd: ; @substream_to_prtd .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x0, [x8] ret .cfi_endproc ; -- End function .no_dead_strip _substream_to_prtd .subsections_via_symbols
AnghaBench/linux/sound/core/extr_pcm_dmaengine.c_substream_to_prtd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _dtrace_str2attr ## -- Begin function dtrace_str2attr .p2align 4, 0x90 _dtrace_str2attr: ## @dtrace_str2attr .cfi_startproc ## %bb.0: testq %rdi, %rdi setne %cl testq %rsi, %rsi sete %dl movl $-1, %eax testb %dl, %cl jne LBB0_32 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq __dtrace_maxattr@GOTPCREL(%rip), %rax movq 16(%rax), %rcx movq %rcx, 16(%rsi) movups (%rax), %xmm0 movups %xmm0, (%rsi) movq %rdi, %r14 callq _strlen leaq 1(%rax), %rdi callq _alloca movq %rax, %r15 movq %rax, %rdi movq %r14, %rsi callq _strcpy leaq -40(%rbp), %rsi movq %r15, %rdi callq _dt_getstrattr testq %rax, %rax je LBB0_6 ## %bb.2: movq %rax, %r14 movq _DTRACE_STABILITY_MAX@GOTPCREL(%rip), %r12 movq (%r12), %rax testq %rax, %rax js LBB0_7 ## %bb.3: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _dtrace_stability_name movq %r14, %rdi movl %eax, %esi callq _strcasecmp testq %rax, %rax je LBB0_14 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 leaq 1(%r15), %rcx movq (%r12), %rax cmpq %rax, %r15 movq %rcx, %r15 jl LBB0_4 ## %bb.8: cmpq %rax, %rcx jge LBB0_15 jmp LBB0_9 LBB0_7: xorl %ecx, %ecx cmpq %rax, %rcx jge LBB0_15 jmp LBB0_9 LBB0_14: movq %r15, 16(%rbx) movq (%r12), %rax movq %r15, %rcx cmpq %rax, %rcx jge LBB0_15 LBB0_9: movq -40(%rbp), %rdi leaq -40(%rbp), %rsi callq _dt_getstrattr testq %rax, %rax je LBB0_6 ## %bb.10: movq %rax, %r14 movq (%r12), %rax testq %rax, %rax js LBB0_17 ## %bb.11: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _dtrace_stability_name movq %r14, %rdi movl %eax, %esi callq _strcasecmp testq %rax, %rax je LBB0_20 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 leaq 1(%r15), %rcx movq (%r12), %rax cmpq %rax, %r15 movq %rcx, %r15 jl LBB0_12 jmp LBB0_18 LBB0_17: xorl %ecx, %ecx LBB0_18: cmpq %rax, %rcx jle LBB0_21 LBB0_15: movl $-1, %eax jmp LBB0_31 LBB0_20: movq %r15, 8(%rbx) movq (%r12), %rax movq %r15, %rcx cmpq %rax, %rcx jg LBB0_15 LBB0_21: movq -40(%rbp), %rdi leaq -40(%rbp), %rsi callq _dt_getstrattr testq %rax, %rax je LBB0_6 ## %bb.22: movq %rax, %r14 movq _DTRACE_CLASS_MAX@GOTPCREL(%rip), %r12 movq (%r12), %rax testq %rax, %rax js LBB0_27 ## %bb.23: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_24: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _dtrace_class_name movq %r14, %rdi movl %eax, %esi callq _strcasecmp testq %rax, %rax je LBB0_28 ## %bb.25: ## in Loop: Header=BB0_24 Depth=1 leaq 1(%r15), %rcx movq (%r12), %rax cmpq %rax, %r15 movq %rcx, %r15 jl LBB0_24 jmp LBB0_29 LBB0_6: xorl %eax, %eax LBB0_31: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp LBB0_32: retq LBB0_27: xorl %ecx, %ecx jmp LBB0_29 LBB0_28: movq %r15, (%rbx) movq (%r12), %rax movq %r15, %rcx LBB0_29: cmpq %rax, %rcx movl $-1, %eax jg LBB0_31 ## %bb.30: movq -40(%rbp), %rdi leaq -40(%rbp), %rsi callq _dt_getstrattr movq %rax, %rcx xorl %eax, %eax negq %rcx sbbl %eax, %eax jmp LBB0_31 .cfi_endproc ## -- End function .comm __dtrace_maxattr,24,3 ## @_dtrace_maxattr .comm _DTRACE_STABILITY_MAX,8,3 ## @DTRACE_STABILITY_MAX .comm _DTRACE_CLASS_MAX,8,3 ## @DTRACE_CLASS_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _dtrace_str2attr ; -- Begin function dtrace_str2attr .p2align 2 _dtrace_str2attr: ; @dtrace_str2attr .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 cbz x0, LBB0_3 ; %bb.1: cbnz x19, LBB0_3 LBB0_2: mov w0, #-1 ; =0xffffffff b LBB0_29 LBB0_3: Lloh0: adrp x8, __dtrace_maxattr@GOTPAGE Lloh1: ldr x8, [x8, __dtrace_maxattr@GOTPAGEOFF] ldr q0, [x8] ldr x8, [x8, #16] str x8, [x19, #16] str q0, [x19] mov x20, x0 bl _strlen add x0, x0, #1 bl _alloca mov x21, x0 mov x1, x20 bl _strcpy add x1, sp, #8 mov x0, x21 bl _dt_getstrattr cbz x0, LBB0_29 ; %bb.4: Lloh2: adrp x22, _DTRACE_STABILITY_MAX@GOTPAGE Lloh3: ldr x22, [x22, _DTRACE_STABILITY_MAX@GOTPAGEOFF] ldr x8, [x22] tbnz x8, #63, LBB0_9 ; %bb.5: mov x21, x0 mov x20, #0 ; =0x0 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _dtrace_stability_name mov x1, x0 mov x0, x21 bl _strcasecmp cbz x0, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 add x9, x20, #1 ldr x8, [x22] cmp x20, x8 mov x20, x9 b.lt LBB0_6 ; %bb.8: mov x20, x9 cmp x20, x8 b.ge LBB0_2 b LBB0_11 LBB0_9: mov x20, #0 ; =0x0 cmp x20, x8 b.ge LBB0_2 b LBB0_11 LBB0_10: str x20, [x19, #16] ldr x8, [x22] cmp x20, x8 b.ge LBB0_2 LBB0_11: ldr x0, [sp, #8] add x1, sp, #8 bl _dt_getstrattr cbz x0, LBB0_29 ; %bb.12: ldr x8, [x22] tbnz x8, #63, LBB0_17 ; %bb.13: mov x21, x0 mov x20, #0 ; =0x0 LBB0_14: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _dtrace_stability_name mov x1, x0 mov x0, x21 bl _strcasecmp cbz x0, LBB0_18 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 add x9, x20, #1 ldr x8, [x22] cmp x20, x8 mov x20, x9 b.lt LBB0_14 ; %bb.16: mov x20, x9 cmp x20, x8 b.gt LBB0_2 b LBB0_19 LBB0_17: mov x20, #0 ; =0x0 cmp x20, x8 b.gt LBB0_2 b LBB0_19 LBB0_18: str x20, [x19, #8] ldr x8, [x22] cmp x20, x8 b.gt LBB0_2 LBB0_19: ldr x0, [sp, #8] add x1, sp, #8 bl _dt_getstrattr cbz x0, LBB0_29 ; %bb.20: Lloh4: adrp x22, _DTRACE_CLASS_MAX@GOTPAGE Lloh5: ldr x22, [x22, _DTRACE_CLASS_MAX@GOTPAGEOFF] ldr x8, [x22] tbnz x8, #63, LBB0_25 ; %bb.21: mov x21, x0 mov x20, #0 ; =0x0 LBB0_22: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _dtrace_class_name mov x1, x0 mov x0, x21 bl _strcasecmp cbz x0, LBB0_26 ; %bb.23: ; in Loop: Header=BB0_22 Depth=1 add x9, x20, #1 ldr x8, [x22] cmp x20, x8 mov x20, x9 b.lt LBB0_22 ; %bb.24: mov x20, x9 b LBB0_27 LBB0_25: mov x20, #0 ; =0x0 b LBB0_27 LBB0_26: str x20, [x19] ldr x8, [x22] LBB0_27: cmp x20, x8 b.gt LBB0_2 ; %bb.28: ldr x0, [sp, #8] add x1, sp, #8 bl _dt_getstrattr cmp x0, #0 csetm w0, ne LBB0_29: 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm __dtrace_maxattr,24,3 ; @_dtrace_maxattr .comm _DTRACE_STABILITY_MAX,8,3 ; @DTRACE_STABILITY_MAX .comm _DTRACE_CLASS_MAX,8,3 ; @DTRACE_CLASS_MAX .subsections_via_symbols
assembly_file_57285.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ubt_fwd_mbuf_up _ubt_fwd_mbuf_up: ## @ubt_fwd_mbuf_up .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 _UBT_NG_LOCK movq (%rbx), %r15 testq %r15, %r15 je LBB0_1 ## %bb.2: movq %r15, %rdi callq _NG_HOOK_REF movq %rbx, %rdi callq _UBT_NG_UNLOCK movq (%r14), %rdx movq %r15, %rsi callq _NG_SEND_DATA_ONLY movq %r15, %rdi callq _NG_HOOK_UNREF ## implicit-def: $eax jmp LBB0_3 LBB0_1: movq %rbx, %rdi callq _UBT_NG_UNLOCK movq (%r14), %rdi callq _NG_FREE_M movq _ENETDOWN@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENETDOWN,4,2 ## @ENETDOWN .no_dead_strip _ubt_fwd_mbuf_up .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ubt_fwd_mbuf_up _ubt_fwd_mbuf_up: ; @ubt_fwd_mbuf_up .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 bl _UBT_NG_LOCK ldr x20, [x21] cbz x20, LBB0_2 ; %bb.1: mov x0, x20 bl _NG_HOOK_REF mov x0, x21 bl _UBT_NG_UNLOCK ldr x2, [x19] mov x1, x20 bl _NG_SEND_DATA_ONLY mov x0, x20 bl _NG_HOOK_UNREF ; implicit-def: $w0 b LBB0_3 LBB0_2: mov x0, x21 bl _UBT_NG_UNLOCK ldr x0, [x19] bl _NG_FREE_M Lloh0: adrp x8, _ENETDOWN@GOTPAGE Lloh1: ldr x8, [x8, _ENETDOWN@GOTPAGEOFF] Lloh2: ldr w0, [x8] LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENETDOWN,4,2 ; @ENETDOWN .no_dead_strip _ubt_fwd_mbuf_up .subsections_via_symbols
AnghaBench/freebsd/sys/netgraph/bluetooth/drivers/ubt/extr_ng_ubt.c_ubt_fwd_mbuf_up.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mips_strict_matching_cpu_name_p _mips_strict_matching_cpu_name_p: ## @mips_strict_matching_cpu_name_p .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 movzbl (%rsi), %eax testb %al, %al je LBB0_5 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _TOLOWER movq %rax, %r15 movsbl (%r14), %edi callq _TOLOWER cmpq %rax, %r15 jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 incq %r14 movzbl -1(%rbx), %eax decq %rbx testb %al, %al jne LBB0_2 LBB0_5: cmpb $0, (%r14) jne LBB0_7 ## %bb.6: movl $1, %eax jmp LBB0_9 LBB0_4: cmpb $0, (%rbx) je LBB0_5 LBB0_7: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _strcmp movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_9 ## %bb.8: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _strcasecmp movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx sete %al LBB0_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "000" L_.str.1: ## @.str.1 .asciz "k" .no_dead_strip _mips_strict_matching_cpu_name_p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mips_strict_matching_cpu_name_p _mips_strict_matching_cpu_name_p: ; @mips_strict_matching_cpu_name_p .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 ldrb w8, [x1] cbz w8, LBB0_4 LBB0_1: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _TOLOWER mov x21, x0 ldrsb w0, [x20] bl _TOLOWER cmp x21, x0 b.ne LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldrb w8, [x19, #-1]! add x20, x20, #1 cbnz w8, LBB0_1 b LBB0_4 LBB0_3: ldrb w8, [x19] cbnz w8, LBB0_5 LBB0_4: ldrb w8, [x20] cbz w8, LBB0_7 LBB0_5: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _strcmp cbz x0, LBB0_8 ; %bb.6: mov w0, #0 ; =0x0 b LBB0_9 LBB0_7: mov w0, #1 ; =0x1 b LBB0_9 LBB0_8: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _strcasecmp cmp x0, #0 cset w0, eq LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "000" l_.str.1: ; @.str.1 .asciz "k" .no_dead_strip _mips_strict_matching_cpu_name_p .subsections_via_symbols
assembly_file_175934.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movb $0, -4(%rbp) movl $1684234849, -8(%rbp) ## imm = 0x64636261 movb $0, -20(%rbp) movl $1682137697, -24(%rbp) ## imm = 0x64436261 movb $0, -12(%rbp) movl $1684234849, -16(%rbp) ## imm = 0x64636261 leaq -8(%rbp), %rdi leaq -24(%rbp), %rsi callq _strcmp testl %eax, %eax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi leaq -24(%rbp), %rdx movl %eax, %ecx xorl %eax, %eax callq _printf LBB0_2: leaq -8(%rbp), %rdi leaq -16(%rbp), %rsi callq _strcmp testl %eax, %eax jne LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi leaq -16(%rbp), %rdx xorl %ecx, %ecx xorl %eax, %eax callq _printf LBB0_4: xorl %eax, %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___const.main.str2: ## @__const.main.str2 .asciz "abCd" L___const.main.str3: ## @__const.main.str3 .asciz "abcd" L_.str: ## @.str .asciz "\"%s\" and \"%s\" are DIFFERENT (comparison=%d)\n" L_.str.1: ## @.str.1 .asciz "\"%s\" and \"%s\" are IDENTICAL (comparison=%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, #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 sturb wzr, [x29, #-20] mov w8, #25185 movk w8, #25699, lsl #16 stur w8, [x29, #-24] strb wzr, [sp, #36] mov w9, #25185 movk w9, #25667, lsl #16 str w9, [sp, #32] strb wzr, [sp, #28] str w8, [sp, #24] sub x19, x29, #24 add x20, sp, #32 sub x0, x29, #24 add x1, sp, #32 bl _strcmp ; kill: def $w0 killed $w0 def $x0 cbz w0, LBB0_2 ; %bb.1: stp x20, x0, [sp, #8] str x19, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf LBB0_2: sub x19, x29, #24 add x20, sp, #24 sub x0, x29, #24 add x1, sp, #24 bl _strcmp cbnz w0, LBB0_4 ; %bb.3: stp x20, xzr, [sp, #8] str x19, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB0_4: 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 Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___const.main.str2: ; @__const.main.str2 .asciz "abCd" l___const.main.str3: ; @__const.main.str3 .asciz "abcd" l_.str: ; @.str .asciz "\"%s\" and \"%s\" are DIFFERENT (comparison=%d)\n" l_.str.1: ; @.str.1 .asciz "\"%s\" and \"%s\" are IDENTICAL (comparison=%d)\n" .subsections_via_symbols
the_stack_data/743294.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function BotTeamAI LCPI0_0: .quad 0x3fd999999999999a ## double 0.40000000000000002 LCPI0_1: .quad 0x4024000000000000 ## double 10 .section __TEXT,__text,regular,pure_instructions .globl _BotTeamAI .p2align 4, 0x90 _BotTeamAI: ## @BotTeamAI .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, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_NETNAME@GOTPCREL(%rip), %rax movl (%rax), %r15d movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq _gametype@GOTPCREL(%rip), %r12 cmpl $128, (%r12) jl LBB0_34 ## %bb.1: movq %rbx, %rdi callq _BotValidTeamLeader testl %eax, %eax jne LBB0_14 ## %bb.2: movq %rbx, %rdi callq _FindHumanTeamLeader testl %eax, %eax je LBB0_3 LBB0_14: xorpd %xmm0, %xmm0 movupd %xmm0, (%rbx) movl 80(%rbx), %edi movq %r14, %rsi movl %r15d, %edx callq _ClientName movq 24(%rbx), %rsi movq %r14, %rdi callq _Q_stricmp testq %rax, %rax je LBB0_15 LBB0_34: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_36 ## %bb.35: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: movq %rbx, %rdi callq _BotNumTeamMates movl %eax, %r14d movl (%r12), %eax cmpl $131, %eax je LBB0_24 ## %bb.16: cmpl $128, %eax jne LBB0_34 ## %bb.17: cmpl %r14d, 32(%rbx) jne LBB0_20 ## %bb.18: cmpq $0, 56(%rbx) je LBB0_19 LBB0_20: xorl %eax, %eax callq _FloatTime movq %rax, %r15 movq %rax, 40(%rbx) movl %r14d, 32(%rbx) movq _qfalse@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 56(%rbx) testq %r15, %r15 je LBB0_34 LBB0_22: xorl %eax, %eax callq _FloatTime addq $-5, %rax cmpq %rax, %r15 jge LBB0_34 ## %bb.23: movq %rbx, %rdi callq _BotTeamOrders xorl %eax, %eax callq _FloatTime addq $120, %rax movq %rax, 40(%rbx) jmp LBB0_34 LBB0_3: movq (%rbx), %r13 testq %r13, %r13 je LBB0_4 LBB0_9: xorl %eax, %eax callq _FloatTime cmpq %rax, %r13 jge LBB0_11 ## %bb.10: leaq L_.str(%rip), %rsi movq %rbx, %rdi xorl %edx, %edx callq _BotAI_BotInitialChat movl 84(%rbx), %edi movq _CHAT_TEAM@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _trap_BotEnterChat movq $0, (%rbx) xorl %eax, %eax callq _FloatTime addq $8, %rax xorps %xmm0, %xmm0 cvtsi2sd %rax, %xmm0 movsd %xmm0, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _random mulsd LCPI0_1(%rip), %xmm0 addsd -56(%rbp), %xmm0 ## 8-byte Folded Reload cvttsd2si %xmm0, %rax movq %rax, 8(%rbx) jmp LBB0_11 LBB0_24: cmpl %r14d, 32(%rbx) jne LBB0_27 ## %bb.25: cmpq $0, 72(%rbx) jne LBB0_27 ## %bb.26: cmpq $0, 56(%rbx) je LBB0_28 LBB0_27: xorl %eax, %eax callq _FloatTime movq %rax, 40(%rbx) movl %r14d, 32(%rbx) movq _qfalse@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 72(%rbx) movq %rax, 56(%rbx) LBB0_28: movq 48(%rbx), %r14 xorl %eax, %eax callq _FloatTime addq $-240, %rax cmpq %rax, %r14 jge LBB0_31 ## %bb.29: xorl %eax, %eax callq _FloatTime movq %rax, 48(%rbx) xorl %eax, %eax callq _random movsd LCPI0_0(%rip), %xmm1 ## xmm1 = [4.0000000000000002E-1,0.0E+0] ucomisd %xmm0, %xmm1 jbe LBB0_31 ## %bb.30: movq _CTFS_AGRESSIVE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %eax, 64(%rbx) xorl %eax, %eax callq _FloatTime movq %rax, 40(%rbx) LBB0_31: movq 40(%rbx), %r14 testq %r14, %r14 je LBB0_34 ## %bb.32: xorl %eax, %eax callq _FloatTime addq $-3, %rax cmpq %rax, %r14 jge LBB0_34 ## %bb.33: movq %rbx, %rdi callq _BotCTFOrders movq $0, 40(%rbx) jmp LBB0_34 LBB0_4: cmpq $0, 8(%rbx) je LBB0_5 LBB0_11: movq 8(%rbx), %r12 testq %r12, %r12 je LBB0_34 ## %bb.12: xorl %eax, %eax callq _FloatTime cmpq %rax, %r12 jge LBB0_34 ## %bb.13: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi xorl %edx, %edx callq _BotAI_BotInitialChat movl 84(%rbx), %edi movq _CHAT_TEAM@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _trap_BotEnterChat movq _VOICECHAT_STARTLEADER@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movl $-1, %esi callq _BotSayVoiceTeamOrder movl 80(%rbx), %edi movq %r14, %rsi movl %r15d, %edx callq _ClientName movq 24(%rbx), %rdi movq %r14, %rsi movl $8, %edx callq _strncpy movq 24(%rbx), %rax movb $0, 7(%rax) movq $0, 8(%rbx) jmp LBB0_34 LBB0_19: movq 40(%rbx), %r15 testq %r15, %r15 jne LBB0_22 jmp LBB0_34 LBB0_5: movq 16(%rbx), %r12 addq $10, %r12 xorl %eax, %eax callq _FloatTime movq %rax, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _FloatTime movq %rax, %r13 addq $5, %r13 xorl %eax, %eax callq _random cvtsi2sd %r13, %xmm1 mulsd LCPI0_1(%rip), %xmm0 addsd %xmm1, %xmm0 cvttsd2si %xmm0, %r13 cmpq -56(%rbp), %r12 ## 8-byte Folded Reload jle LBB0_7 ## %bb.6: movq %r13, (%rbx) jmp LBB0_8 LBB0_7: movq %r13, 8(%rbx) movq (%rbx), %r13 LBB0_8: testq %r13, %r13 jne LBB0_9 jmp LBB0_11 LBB0_36: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_NETNAME,4,2 ## @MAX_NETNAME .comm _gametype,4,2 ## @gametype .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "whoisteamleader" .comm _CHAT_TEAM,4,2 ## @CHAT_TEAM L_.str.1: ## @.str.1 .asciz "iamteamleader" .comm _VOICECHAT_STARTLEADER,4,2 ## @VOICECHAT_STARTLEADER .comm _qfalse,8,3 ## @qfalse .comm _CTFS_AGRESSIVE,4,2 ## @CTFS_AGRESSIVE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _BotTeamAI ; -- Begin function BotTeamAI .p2align 2 _BotTeamAI: ; @BotTeamAI .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 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset b8, -72 .cfi_offset b9, -80 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, #-72] Lloh3: adrp x8, _MAX_NETNAME@GOTPAGE Lloh4: ldr x8, [x8, _MAX_NETNAME@GOTPAGEOFF] Lloh5: ldr w21, [x8] mov x9, x21 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x21, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 Lloh8: adrp x22, _gametype@GOTPAGE Lloh9: ldr x22, [x22, _gametype@GOTPAGEOFF] ldr w8, [x22] cmp w8, #128 b.lt LBB0_4 ; %bb.1: mov x0, x19 bl _BotValidTeamLeader cbnz w0, LBB0_3 ; %bb.2: mov x0, x19 bl _FindHumanTeamLeader cbz w0, LBB0_13 LBB0_3: stp xzr, xzr, [x19] ldr w0, [x19, #80] mov x1, x20 mov x2, x21 bl _ClientName ldr x1, [x19, #24] mov x0, x20 bl _Q_stricmp cbz x0, LBB0_6 LBB0_4: ldur x8, [x29, #-72] 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_35 ; %bb.5: sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #80 ; 16-byte Folded Reload ret LBB0_6: mov x0, x19 bl _BotNumTeamMates mov x20, x0 ldr w8, [x22] cmp w8, #131 b.eq LBB0_16 ; %bb.7: cmp w8, #128 b.ne LBB0_4 ; %bb.8: ldr w8, [x19, #32] cmp w8, w20 b.ne LBB0_10 ; %bb.9: ldr x8, [x19, #56] cbz x8, LBB0_30 LBB0_10: bl _FloatTime mov x21, x0 str x0, [x19, #40] str w20, [x19, #32] Lloh13: adrp x8, _qfalse@GOTPAGE Lloh14: ldr x8, [x8, _qfalse@GOTPAGEOFF] Lloh15: ldr x8, [x8] str x8, [x19, #56] cbz x21, LBB0_4 LBB0_11: bl _FloatTime sub x8, x0, #5 cmp x21, x8 b.ge LBB0_4 ; %bb.12: mov x0, x19 bl _BotTeamOrders bl _FloatTime add x8, x0, #120 str x8, [x19, #40] b LBB0_4 LBB0_13: ldr x23, [x19] cbz x23, LBB0_26 LBB0_14: bl _FloatTime cmp x23, x0 b.ge LBB0_27 ; %bb.15: Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF mov x0, x19 mov x2, #0 ; =0x0 bl _BotAI_BotInitialChat ldr w0, [x19, #84] Lloh18: adrp x8, _CHAT_TEAM@GOTPAGE Lloh19: ldr x8, [x8, _CHAT_TEAM@GOTPAGEOFF] Lloh20: ldr w2, [x8] mov w1, #0 ; =0x0 bl _trap_BotEnterChat str xzr, [x19] bl _FloatTime add x8, x0, #8 scvtf d8, x8 bl _random fmov d1, #10.00000000 fmadd d0, d0, d1, d8 fcvtzs x8, d0 str x8, [x19, #8] b LBB0_27 LBB0_16: ldr w8, [x19, #32] cmp w8, w20 b.ne LBB0_19 ; %bb.17: ldr x8, [x19, #72] cbnz x8, LBB0_19 ; %bb.18: ldr x8, [x19, #56] cbz x8, LBB0_20 LBB0_19: bl _FloatTime str x0, [x19, #40] str w20, [x19, #32] Lloh21: adrp x8, _qfalse@GOTPAGE Lloh22: ldr x8, [x8, _qfalse@GOTPAGEOFF] Lloh23: ldr x8, [x8] str x8, [x19, #72] str x8, [x19, #56] LBB0_20: ldr x20, [x19, #48] bl _FloatTime sub x8, x0, #240 cmp x20, x8 b.ge LBB0_23 ; %bb.21: bl _FloatTime str x0, [x19, #48] bl _random mov x8, #-7378697629483820647 ; =0x9999999999999999 movk x8, #39322 movk x8, #16345, lsl #48 fmov d1, x8 fcmp d0, d1 b.pl LBB0_23 ; %bb.22: Lloh24: adrp x8, _CTFS_AGRESSIVE@GOTPAGE Lloh25: ldr x8, [x8, _CTFS_AGRESSIVE@GOTPAGEOFF] Lloh26: ldr w8, [x8] ldr w9, [x19, #64] eor w8, w9, w8 str w8, [x19, #64] bl _FloatTime str x0, [x19, #40] LBB0_23: ldr x20, [x19, #40] cbz x20, LBB0_4 ; %bb.24: bl _FloatTime sub x8, x0, #3 cmp x20, x8 b.ge LBB0_4 ; %bb.25: mov x0, x19 bl _BotCTFOrders str xzr, [x19, #40] b LBB0_4 LBB0_26: ldr x8, [x19, #8] cbz x8, LBB0_31 LBB0_27: ldr x22, [x19, #8] cbz x22, LBB0_4 ; %bb.28: bl _FloatTime cmp x22, x0 b.ge LBB0_4 ; %bb.29: Lloh27: adrp x1, l_.str.1@PAGE Lloh28: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 mov x2, #0 ; =0x0 bl _BotAI_BotInitialChat ldr w0, [x19, #84] Lloh29: adrp x8, _CHAT_TEAM@GOTPAGE Lloh30: ldr x8, [x8, _CHAT_TEAM@GOTPAGEOFF] Lloh31: ldr w2, [x8] mov w1, #0 ; =0x0 bl _trap_BotEnterChat Lloh32: adrp x8, _VOICECHAT_STARTLEADER@GOTPAGE Lloh33: ldr x8, [x8, _VOICECHAT_STARTLEADER@GOTPAGEOFF] Lloh34: ldr w2, [x8] mov x0, x19 mov w1, #-1 ; =0xffffffff bl _BotSayVoiceTeamOrder ldr w0, [x19, #80] mov x1, x20 mov x2, x21 bl _ClientName ldr x0, [x19, #24] mov x1, x20 mov w2, #8 ; =0x8 bl _strncpy ldr x8, [x19, #24] strb wzr, [x8, #7] str xzr, [x19, #8] b LBB0_4 LBB0_30: ldr x21, [x19, #40] cbnz x21, LBB0_11 b LBB0_4 LBB0_31: ldr x8, [x19, #16] add x24, x8, #10 bl _FloatTime mov x22, x0 bl _FloatTime add x8, x0, #5 scvtf d8, x8 bl _random fmov d1, #10.00000000 fmadd d0, d0, d1, d8 fcvtzs x23, d0 cmp x24, x22 b.le LBB0_33 ; %bb.32: str x23, [x19] b LBB0_34 LBB0_33: str x23, [x19, #8] ldr x23, [x19] LBB0_34: cbnz x23, LBB0_14 b LBB0_27 LBB0_35: bl ___stack_chk_fail .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _MAX_NETNAME,4,2 ; @MAX_NETNAME .comm _gametype,4,2 ; @gametype .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "whoisteamleader" .comm _CHAT_TEAM,4,2 ; @CHAT_TEAM l_.str.1: ; @.str.1 .asciz "iamteamleader" .comm _VOICECHAT_STARTLEADER,4,2 ; @VOICECHAT_STARTLEADER .comm _qfalse,8,3 ; @qfalse .comm _CTFS_AGRESSIVE,4,2 ; @CTFS_AGRESSIVE .subsections_via_symbols
assembly_file_183764.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_combine_notes_fn _parse_combine_notes_fn: ## @parse_combine_notes_fn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB0_1 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testl %eax, %eax je LBB0_3 ## %bb.4: leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testl %eax, %eax je LBB0_5 ## %bb.6: leaq L_.str.3(%rip), %rsi movq %rbx, %rdi callq _strcasecmp testl %eax, %eax jne LBB0_7 ## %bb.8: movq _combine_notes_cat_sort_uniq@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_1: movq _combine_notes_overwrite@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_3: movq _combine_notes_ignore@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_5: movq _combine_notes_concatenate@GOTPCREL(%rip), %rax LBB0_9: movq (%rax), %rax LBB0_10: addq $8, %rsp popq %rbx popq %rbp retq LBB0_7: xorl %eax, %eax jmp LBB0_10 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "overwrite" .comm _combine_notes_overwrite,8,3 ## @combine_notes_overwrite L_.str.1: ## @.str.1 .asciz "ignore" .comm _combine_notes_ignore,8,3 ## @combine_notes_ignore L_.str.2: ## @.str.2 .asciz "concatenate" .comm _combine_notes_concatenate,8,3 ## @combine_notes_concatenate L_.str.3: ## @.str.3 .asciz "cat_sort_uniq" .comm _combine_notes_cat_sort_uniq,8,3 ## @combine_notes_cat_sort_uniq .no_dead_strip _parse_combine_notes_fn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_combine_notes_fn _parse_combine_notes_fn: ; @parse_combine_notes_fn .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _strcasecmp cbz w0, LBB0_4 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _strcasecmp cbz w0, LBB0_5 ; %bb.2: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _strcasecmp cbz w0, LBB0_6 ; %bb.3: Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _strcasecmp Lloh8: adrp x8, _combine_notes_cat_sort_uniq@GOTPAGE Lloh9: ldr x8, [x8, _combine_notes_cat_sort_uniq@GOTPAGEOFF] Lloh10: ldr x8, [x8] cmp w0, #0 csel x0, x8, xzr, eq b LBB0_8 LBB0_4: Lloh11: adrp x8, _combine_notes_overwrite@GOTPAGE Lloh12: ldr x8, [x8, _combine_notes_overwrite@GOTPAGEOFF] b LBB0_7 LBB0_5: Lloh13: adrp x8, _combine_notes_ignore@GOTPAGE Lloh14: ldr x8, [x8, _combine_notes_ignore@GOTPAGEOFF] b LBB0_7 LBB0_6: Lloh15: adrp x8, _combine_notes_concatenate@GOTPAGE Lloh16: ldr x8, [x8, _combine_notes_concatenate@GOTPAGEOFF] LBB0_7: ldr x0, [x8] LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "overwrite" .comm _combine_notes_overwrite,8,3 ; @combine_notes_overwrite l_.str.1: ; @.str.1 .asciz "ignore" .comm _combine_notes_ignore,8,3 ; @combine_notes_ignore l_.str.2: ; @.str.2 .asciz "concatenate" .comm _combine_notes_concatenate,8,3 ; @combine_notes_concatenate l_.str.3: ; @.str.3 .asciz "cat_sort_uniq" .comm _combine_notes_cat_sort_uniq,8,3 ; @combine_notes_cat_sort_uniq .no_dead_strip _parse_combine_notes_fn .subsections_via_symbols
AnghaBench/git/extr_notes-utils.c_parse_combine_notes_fn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _octeon_i2c_set_clock ## -- Begin function octeon_i2c_set_clock .p2align 4, 0x90 _octeon_i2c_set_clock: ## @octeon_i2c_set_clock .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 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %ecx, %ecx movl $1000000, %eax ## imm = 0xF4240 jmp LBB0_1 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 decl %ecx movl %r10d, %eax LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movl $0, %r10d testl %eax, %eax je LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl (%rdi), %r9d movl 4(%rdi), %esi leal (%r9,%r9), %edx movl $1, %r11d shll %cl, %r11d leal (%rdx,%rdx,4), %ebx imull $140, %r9d, %r14d movl $15, %r15d movl %eax, %r10d .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl %r14d, %r8d shll %cl, %r8d addl %r8d, %r8d movl %esi, %eax cltd idivl %r8d movl %eax, %r8d leal -257(%r8), %eax cmpl $-251, %eax jb LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 leal 1(%r15), %r12d leal (%r8,%r8), %r13d movl %esi, %eax cltd idivl %r13d cltd idivl %r11d cltd idivl %r12d cltq imulq $1717986919, %rax, %rax ## imm = 0x66666667 movq %rax, %rdx shrq $63, %rdx sarq $34, %rax addl %edx, %eax subl %r9d, %eax movl %eax, %edx negl %edx cmovsl %eax, %edx cmpl %r10d, %edx cmovll %edx, %r10d addl $-256, %r8d cmpl $-251, %r8d jb LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 addl $2, %r13d movl %esi, %eax cltd idivl %r13d cltd idivl %r11d cltd idivl %r12d cltq imulq $1717986919, %rax, %rax ## imm = 0x66666667 movq %rax, %rdx shrq $63, %rdx sarq $34, %rax addl %edx, %eax subl %r9d, %eax movl %eax, %edx negl %edx cmovsl %eax, %edx cmpl %r10d, %edx cmovll %edx, %r10d LBB0_6: ## in Loop: Header=BB0_3 Depth=2 cmpl $3, %r15d jb LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=2 subl %ebx, %r14d decl %r15d testl %r10d, %r10d jne LBB0_3 jmp LBB0_8 .cfi_endproc ## -- End function .comm _SW_TWSI_OP_TWSI_CLK,4,2 ## @SW_TWSI_OP_TWSI_CLK .comm _SW_TWSI_EOP_TWSI_CLKCTL,4,2 ## @SW_TWSI_EOP_TWSI_CLKCTL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _octeon_i2c_set_clock ; -- Begin function octeon_i2c_set_clock .p2align 2 _octeon_i2c_set_clock: ; @octeon_i2c_set_clock .cfi_startproc ; %bb.0: mov w8, #0 ; =0x0 mov w10, #16960 ; =0x4240 movk w10, #15, lsl #16 ldp w9, w11, [x0] add w12, w9, w9, lsl #2 lsl w12, w12, #1 mov w13, #1 ; =0x1 mov w14, #140 ; =0x8c mul w14, w9, w14 mov w15, #26215 ; =0x6667 movk w15, #26214, lsl #16 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 sub w8, w8, #1 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 cbz w10, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 lsl w16, w13, w8 mov w17, #15 ; =0xf mov x0, x14 LBB0_4: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 lsl w1, w0, w8 lsl w1, w1, #1 sdiv w2, w11, w1 sub w1, w2, #257 cmn w1, #251 b.lo LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 add w1, w17, #1 lsl w3, w2, #1 sdiv w4, w11, w3 sdiv w4, w4, w16 sdiv w4, w4, w1 smull x4, w4, w15 lsr x5, x4, #63 asr x4, x4, #34 add w4, w4, w5 subs w4, w4, w9 cneg w4, w4, mi cmp w4, w10 csel w10, w4, w10, lt sub w2, w2, #256 cmn w2, #251 b.lo LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=2 add w2, w3, #2 sdiv w2, w11, w2 sdiv w2, w2, w16 sdiv w1, w2, w1 smull x1, w1, w15 lsr x2, x1, #63 asr x1, x1, #34 add w1, w1, w2 subs w1, w1, w9 cneg w1, w1, mi cmp w1, w10 csel w10, w1, w10, lt LBB0_7: ; in Loop: Header=BB0_4 Depth=2 cmp w17, #3 b.lo LBB0_1 ; %bb.8: ; in Loop: Header=BB0_4 Depth=2 sub w0, w0, w12 sub w17, w17, #1 cbnz w10, LBB0_4 b LBB0_1 .cfi_endproc ; -- End function .comm _SW_TWSI_OP_TWSI_CLK,4,2 ; @SW_TWSI_OP_TWSI_CLK .comm _SW_TWSI_EOP_TWSI_CLKCTL,4,2 ; @SW_TWSI_EOP_TWSI_CLKCTL .subsections_via_symbols
assembly_file_9104.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function avpriv_trc_iec61966_2_4 LCPI0_0: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 LCPI0_1: .quad 0x3fdccccccccccccd ## double 0.45000000000000001 LCPI0_2: .quad 0xbff0000000000000 ## double -1 LCPI0_3: .quad 0x4012000000000000 ## double 4.5 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _avpriv_trc_iec61966_2_4: ## @avpriv_trc_iec61966_2_4 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq _BT709_alpha@GOTPCREL(%rip), %rax movsd (%rax), %xmm3 ## xmm3 = mem[0],zero movq _BT709_beta@GOTPCREL(%rip), %rax movsd (%rax), %xmm1 ## xmm1 = mem[0],zero movapd LCPI0_0(%rip), %xmm2 ## xmm2 = [-0.0E+0,-0.0E+0] xorpd %xmm1, %xmm2 ucomisd %xmm0, %xmm2 jae LBB0_1 ## %bb.2: ucomisd %xmm0, %xmm1 jbe LBB0_5 ## %bb.3: mulsd LCPI0_3(%rip), %xmm0 jmp LBB0_4 LBB0_1: xorpd LCPI0_0(%rip), %xmm0 movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [4.5000000000000001E-1,0.0E+0] movsd %xmm3, -8(%rbp) ## 8-byte Spill callq _pow movsd LCPI0_2(%rip), %xmm1 ## xmm1 = [-1.0E+0,0.0E+0] movsd -8(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero addsd %xmm2, %xmm1 mulsd %xmm2, %xmm0 subsd %xmm0, %xmm1 movapd %xmm1, %xmm0 jmp LBB0_4 LBB0_5: movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [4.5000000000000001E-1,0.0E+0] movsd %xmm3, -8(%rbp) ## 8-byte Spill callq _pow movsd LCPI0_2(%rip), %xmm1 ## xmm1 = [-1.0E+0,0.0E+0] movsd -8(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero addsd %xmm2, %xmm1 mulsd %xmm2, %xmm0 subsd %xmm1, %xmm0 LBB0_4: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_7399 ## @g_aug_volatile_7399 .p2align 2, 0x0 _g_aug_volatile_7399: .long 9 ## 0x9 .comm _BT709_alpha,8,3 ## @BT709_alpha .comm _BT709_beta,8,3 ## @BT709_beta .no_dead_strip _avpriv_trc_iec61966_2_4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function avpriv_trc_iec61966_2_4 _avpriv_trc_iec61966_2_4: ; @avpriv_trc_iec61966_2_4 .cfi_startproc ; %bb.0: stp d9, d8, [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 b8, -24 .cfi_offset b9, -32 Lloh0: adrp x8, _BT709_alpha@GOTPAGE Lloh1: ldr x8, [x8, _BT709_alpha@GOTPAGEOFF] Lloh2: ldr d8, [x8] Lloh3: adrp x8, _BT709_beta@GOTPAGE Lloh4: ldr x8, [x8, _BT709_beta@GOTPAGEOFF] Lloh5: ldr d1, [x8] fneg d2, d1 fcmp d2, d0 b.ge LBB0_3 ; %bb.1: fcmp d1, d0 b.le LBB0_4 ; %bb.2: fmov d1, #4.50000000 fmul d0, d0, d1 b LBB0_5 LBB0_3: fneg d0, d0 mov x8, #-3689348814741910324 ; =0xcccccccccccccccc movk x8, #52429 movk x8, #16348, lsl #48 fmov d1, x8 bl _pow fmov d1, #-1.00000000 fadd d1, d8, d1 fmsub d0, d8, d0, d1 b LBB0_5 LBB0_4: mov x8, #-3689348814741910324 ; =0xcccccccccccccccc movk x8, #52429 movk x8, #16348, lsl #48 fmov d1, x8 bl _pow fmov d1, #-1.00000000 fadd d1, d8, d1 fnmsub d0, d8, d0, d1 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_7399 ; @g_aug_volatile_7399 .p2align 2, 0x0 _g_aug_volatile_7399: .long 9 ; 0x9 .comm _BT709_alpha,8,3 ; @BT709_alpha .comm _BT709_beta,8,3 ; @BT709_beta .no_dead_strip _avpriv_trc_iec61966_2_4 .subsections_via_symbols
assembly_file_17916.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qib_7220_eeprom_wen _qib_7220_eeprom_wen: ## @qib_7220_eeprom_wen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _qib_7220_eeprom_wen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qib_7220_eeprom_wen _qib_7220_eeprom_wen: ; @qib_7220_eeprom_wen .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .no_dead_strip _qib_7220_eeprom_wen .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_7220_eeprom_wen.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ulimit ## -- Begin function ulimit .p2align 4, 0x90 _ulimit: ## @ulimit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $232, %rsp .cfi_offset %rbx, -24 movq %rsi, -232(%rbp) movq %rdx, -224(%rbp) movq %rcx, -216(%rbp) movq %r8, -208(%rbp) movq %r9, -200(%rbp) testb %al, %al je LBB0_13 ## %bb.12: movaps %xmm0, -192(%rbp) movaps %xmm1, -176(%rbp) movaps %xmm2, -160(%rbp) movaps %xmm3, -144(%rbp) movaps %xmm4, -128(%rbp) movaps %xmm5, -112(%rbp) movaps %xmm6, -96(%rbp) movaps %xmm7, -80(%rbp) LBB0_13: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) movabsq $206158430216, %rax ## imm = 0x3000000008 movq %rax, -48(%rbp) leaq 16(%rbp), %rax movq %rax, -40(%rbp) leaq -240(%rbp), %rax movq %rax, -32(%rbp) cmpl $2, %edi je LBB0_4 ## %bb.1: cmpl $1, %edi jne LBB0_8 ## %bb.2: leaq -64(%rbp), %rsi movl $1, %edi callq _getrlimit movl %eax, %ecx movq $-1, %rax testl %ecx, %ecx jne LBB0_9 ## %bb.3: movq -64(%rbp), %rax shrq $9, %rax jmp LBB0_9 LBB0_4: movl -48(%rbp), %ecx cmpq $40, %rcx ja LBB0_6 ## %bb.5: movq %rcx, %rax addq -32(%rbp), %rax addl $8, %ecx movl %ecx, -48(%rbp) jmp LBB0_7 LBB0_8: callq ___error movl $22, (%rax) movq $-1, %rax jmp LBB0_9 LBB0_6: movq -40(%rbp), %rax leaq 8(%rax), %rcx movq %rcx, -40(%rbp) LBB0_7: movq (%rax), %rbx movq %rbx, %rax shlq $9, %rax movq %rax, -56(%rbp) movq %rax, -64(%rbp) leaq -64(%rbp), %rsi movl $1, %edi callq _setrlimit movl %eax, %ecx xorl %eax, %eax negl %ecx sbbq %rax, %rax orq %rbx, %rax LBB0_9: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -16(%rbp), %rcx jne LBB0_11 ## %bb.10: addq $232, %rsp popq %rbx popq %rbp retq LBB0_11: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ulimit ; -- Begin function ulimit .p2align 2 _ulimit: ; @ulimit .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 add x8, x29, #16 str x8, [sp, #24] cmp w0, #2 b.eq LBB0_4 ; %bb.1: cmp w0, #1 b.ne LBB0_5 ; %bb.2: add x1, sp, #8 bl _getrlimit cbnz w0, LBB0_6 ; %bb.3: ldr x8, [sp, #8] lsr x0, x8, #9 b LBB0_7 LBB0_4: ldr x8, [sp, #24] add x9, x8, #8 str x9, [sp, #24] ldr x19, [x8] lsl x8, x19, #9 stp x8, x8, [sp, #8] add x1, sp, #8 mov w0, #1 bl _setrlimit cmp w0, #0 csinv x0, x19, xzr, eq b LBB0_7 LBB0_5: bl ___error mov w8, #22 str w8, [x0] LBB0_6: mov x0, #-1 LBB0_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/38357.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _unused ## -- Begin function unused .p2align 4, 0x90 _unused: ## @unused .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 _stdout@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _compiler@GOTPCREL(%rip), %rdi callq _tl_schema_print_unused_types movl %eax, %ebx movq _log_file@GOTPCREL(%rip), %rax movq (%rax), %rsi testq %rsi, %rsi je LBB0_2 ## %bb.1: movq _compiler@GOTPCREL(%rip), %rdi callq _tl_schema_print_unused_types LBB0_2: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _compiler,4,2 ## @compiler .comm _stdout,8,3 ## @stdout .comm _log_file,8,3 ## @log_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _unused ; -- Begin function unused .p2align 2 _unused: ; @unused .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _stdout@GOTPAGE Lloh1: ldr x8, [x8, _stdout@GOTPAGEOFF] Lloh2: ldr x1, [x8] Lloh3: adrp x0, _compiler@GOTPAGE Lloh4: ldr x0, [x0, _compiler@GOTPAGEOFF] bl _tl_schema_print_unused_types mov x19, x0 Lloh5: adrp x8, _log_file@GOTPAGE Lloh6: ldr x8, [x8, _log_file@GOTPAGEOFF] Lloh7: ldr x1, [x8] cbz x1, LBB0_2 ; %bb.1: Lloh8: adrp x0, _compiler@GOTPAGE Lloh9: ldr x0, [x0, _compiler@GOTPAGEOFF] bl _tl_schema_print_unused_types LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _compiler,4,2 ; @compiler .comm _stdout,8,3 ; @stdout .comm _log_file,8,3 ; @log_file .subsections_via_symbols
AnghaBench/kphp-kdb/TL/extr_tlclient.c_unused.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function eap_tlv_build_nak _eap_tlv_build_nak: ## @eap_tlv_build_nak .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movl %edi, %r8d movq _EAP_VENDOR_IETF@GOTPCREL(%rip), %rax movl (%rax), %edi movq _EAP_TYPE_TLV@GOTPCREL(%rip), %rax movl (%rax), %esi movq _EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $10, %edx callq _eap_msg_alloc movq %rax, %rbx testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi movl $128, %esi callq _wpabuf_put_u8 movq _EAP_TLV_NAK_TLV@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _wpabuf_put_u8 movq %rbx, %rdi movl $6, %esi callq _wpabuf_put_be16 movq %rbx, %rdi xorl %esi, %esi callq _wpabuf_put_be32 movq %rbx, %rdi movl %r14d, %esi callq _wpabuf_put_be16 LBB0_2: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EAP_VENDOR_IETF,4,2 ## @EAP_VENDOR_IETF .comm _EAP_TYPE_TLV,4,2 ## @EAP_TYPE_TLV .comm _EAP_CODE_RESPONSE,4,2 ## @EAP_CODE_RESPONSE .comm _EAP_TLV_NAK_TLV,4,2 ## @EAP_TLV_NAK_TLV .no_dead_strip _eap_tlv_build_nak .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function eap_tlv_build_nak _eap_tlv_build_nak: ; @eap_tlv_build_nak .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 x4, x0 Lloh0: adrp x8, _EAP_VENDOR_IETF@GOTPAGE Lloh1: ldr x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _EAP_TYPE_TLV@GOTPAGE Lloh4: ldr x8, [x8, _EAP_TYPE_TLV@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x8, _EAP_CODE_RESPONSE@GOTPAGE Lloh7: ldr x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF] Lloh8: ldr w3, [x8] mov w2, #10 bl _eap_msg_alloc mov x20, x0 cbz x0, LBB0_2 ; %bb.1: mov x0, x20 mov w1, #128 bl _wpabuf_put_u8 Lloh9: adrp x8, _EAP_TLV_NAK_TLV@GOTPAGE Lloh10: ldr x8, [x8, _EAP_TLV_NAK_TLV@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov x0, x20 bl _wpabuf_put_u8 mov x0, x20 mov w1, #6 bl _wpabuf_put_be16 mov x0, x20 mov w1, #0 bl _wpabuf_put_be32 mov x0, x20 mov x1, x19 bl _wpabuf_put_be16 LBB0_2: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _EAP_VENDOR_IETF,4,2 ; @EAP_VENDOR_IETF .comm _EAP_TYPE_TLV,4,2 ; @EAP_TYPE_TLV .comm _EAP_CODE_RESPONSE,4,2 ; @EAP_CODE_RESPONSE .comm _EAP_TLV_NAK_TLV,4,2 ; @EAP_TLV_NAK_TLV .no_dead_strip _eap_tlv_build_nak .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/eap_peer/extr_eap_peap.c_eap_tlv_build_nak.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/153267616.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function bridge_rtnode_addr_cmp _bridge_rtnode_addr_cmp: ## @bridge_rtnode_addr_cmp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ETHER_ADDR_LEN@GOTPCREL(%rip), %rax movslq (%rax), %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rdx, %r8 decq %rdx cmpq %rcx, %r8 jle LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl (%rsi,%r8,8), %eax addl (%rdi,%r8,8), %eax je LBB0_1 ## %bb.3: popq %rbp retq .cfi_endproc ## -- End function .comm _ETHER_ADDR_LEN,4,2 ## @ETHER_ADDR_LEN .no_dead_strip _bridge_rtnode_addr_cmp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function bridge_rtnode_addr_cmp _bridge_rtnode_addr_cmp: ; @bridge_rtnode_addr_cmp .cfi_startproc ; %bb.0: mov x9, #0 ; =0x0 Lloh0: adrp x8, _ETHER_ADDR_LEN@GOTPAGE Lloh1: ldr x8, [x8, _ETHER_ADDR_LEN@GOTPAGEOFF] Lloh2: ldrsw x10, [x8] LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x8, x9 sub x9, x9, #1 cmp x8, x10 b.le LBB0_1 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 lsl x8, x8, #3 ldr w11, [x0, x8] ldr w8, [x1, x8] add w8, w8, w11 cbz w8, LBB0_1 ; %bb.3: mov x0, x8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ETHER_ADDR_LEN,4,2 ; @ETHER_ADDR_LEN .no_dead_strip _bridge_rtnode_addr_cmp .subsections_via_symbols
assembly_file_108612.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gasket_mmap_has_permissions _gasket_mmap_has_permissions: ## @gasket_mmap_has_permissions .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, %r15d movq %rsi, %r12 movq %rdi, %r14 movq _CAP_SYS_ADMIN@GOTPCREL(%rip), %rax movl (%rax), %edi callq _capable movl $1, %ebx testq %rax, %rax jne LBB0_9 ## %bb.1: movq (%r14), %rax movq _GASKET_STATUS_ALIVE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.3: movq _VM_WRITE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _VM_READ@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl %eax, %edx movq _VM_EXEC@GOTPCREL(%rip), %rcx orl (%rcx), %edx movl (%r12), %ecx andl %ecx, %edx movl %r15d, %esi notl %esi testl %esi, %edx je LBB0_5 ## %bb.4: movl 8(%r14), %edi leaq L_.str.1(%rip), %rsi xorl %ebx, %ebx movl %r15d, %ecx xorl %eax, %eax callq _dev_dbg jmp LBB0_9 LBB0_2: movl 8(%r14), %edi leaq L_.str(%rip), %rsi LBB0_8: xorl %ebx, %ebx xorl %eax, %eax callq _dev_dbg LBB0_9: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: testl %ecx, %eax je LBB0_9 ## %bb.6: leaq 12(%r14), %rdi callq _gasket_owned_by_current_tgid testl %eax, %eax jne LBB0_9 ## %bb.7: movl 8(%r14), %edi leaq L_.str.2(%rip), %rsi jmp LBB0_8 .cfi_endproc ## -- End function .comm _CAP_SYS_ADMIN,4,2 ## @CAP_SYS_ADMIN .comm _GASKET_STATUS_ALIVE,8,3 ## @GASKET_STATUS_ALIVE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Device is dead.\n" .comm _VM_WRITE,4,2 ## @VM_WRITE .comm _VM_READ,4,2 ## @VM_READ .comm _VM_EXEC,4,2 ## @VM_EXEC L_.str.1: ## @.str.1 .asciz "Attempting to map a region with requested permissions 0x%x, but region has permissions 0x%x.\n" L_.str.2: ## @.str.2 .asciz "Attempting to mmap a region for write without owning device.\n" .no_dead_strip _gasket_mmap_has_permissions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gasket_mmap_has_permissions _gasket_mmap_has_permissions: ; @gasket_mmap_has_permissions .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _CAP_SYS_ADMIN@GOTPAGE Lloh1: ldr x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _capable cbz x0, LBB0_2 LBB0_1: mov w0, #1 b LBB0_7 LBB0_2: ldr x8, [x19] Lloh3: adrp x9, _GASKET_STATUS_ALIVE@GOTPAGE Lloh4: ldr x9, [x9, _GASKET_STATUS_ALIVE@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 ; %bb.3: Lloh6: adrp x9, _VM_WRITE@GOTPAGE Lloh7: ldr x9, [x9, _VM_WRITE@GOTPAGEOFF] ldr w8, [x21] Lloh8: ldr w9, [x9] Lloh9: adrp x10, _VM_READ@GOTPAGE Lloh10: ldr x10, [x10, _VM_READ@GOTPAGEOFF] Lloh11: ldr w10, [x10] orr w10, w10, w9 Lloh12: adrp x11, _VM_EXEC@GOTPAGE Lloh13: ldr x11, [x11, _VM_EXEC@GOTPAGEOFF] Lloh14: ldr w11, [x11] orr w10, w10, w11 and w10, w10, w8 bics wzr, w10, w20 b.eq LBB0_8 ; %bb.4: ldr w0, [x19, #8] stp x10, x20, [sp] Lloh15: adrp x1, l_.str.1@PAGE Lloh16: add x1, x1, l_.str.1@PAGEOFF b LBB0_6 LBB0_5: ldr w0, [x19, #8] Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF LBB0_6: bl _dev_dbg mov w0, #0 LBB0_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_8: tst w9, w8 b.eq LBB0_1 ; %bb.9: add x0, x19, #12 bl _gasket_owned_by_current_tgid cbnz w0, LBB0_1 ; %bb.10: ldr w0, [x19, #8] Lloh19: adrp x1, l_.str.2@PAGE Lloh20: add x1, x1, l_.str.2@PAGEOFF b LBB0_6 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _CAP_SYS_ADMIN,4,2 ; @CAP_SYS_ADMIN .comm _GASKET_STATUS_ALIVE,8,3 ; @GASKET_STATUS_ALIVE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Device is dead.\n" .comm _VM_WRITE,4,2 ; @VM_WRITE .comm _VM_READ,4,2 ; @VM_READ .comm _VM_EXEC,4,2 ; @VM_EXEC l_.str.1: ; @.str.1 .asciz "Attempting to map a region with requested permissions 0x%x, but region has permissions 0x%x.\n" l_.str.2: ; @.str.2 .asciz "Attempting to mmap a region for write without owning device.\n" .no_dead_strip _gasket_mmap_has_permissions .subsections_via_symbols
AnghaBench/linux/drivers/staging/gasket/extr_gasket_core.c_gasket_mmap_has_permissions.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 0x40700d1b60000000 ## double 256.81918334960938 .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 leaq L_.str(%rip), %rdi movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero movb $1, %al callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "m vaut : %f\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, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov x8, #1610612736 movk x8, #3355, lsl #32 movk x8, #16496, lsl #48 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "m vaut : %f\n" .subsections_via_symbols
the_stack_data/918678.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function scsi_trace_rw16 _scsi_trace_rw16: ## @scsi_trace_rw16 .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, %rbx movq %rdi, %r15 movq (%rdi), %r14 movslq 8(%rdi), %r12 movzbl 10(%rsi), %eax shll $24, %eax movzbl 11(%rsi), %ecx shlq $16, %rcx cltq orq %rcx, %rax movzbl 12(%rsi), %edx shlq $8, %rdx orq %rax, %rdx movzbl 13(%rsi), %ecx orq %rdx, %rcx movzbl 1(%rsi), %r8d shrl $5, %r8d leaq L_.str(%rip), %rsi xorl %edx, %edx xorl %eax, %eax callq _trace_seq_printf movb (%rbx), %al movq _WRITE_SAME_16@GOTPCREL(%rip), %rcx cmpb (%rcx), %al jne LBB0_2 ## %bb.1: movzbl 1(%rbx), %edx shrl $3, %edx andl $1, %edx leaq L_.str.1(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _trace_seq_printf LBB0_2: addq %r12, %r14 movq %r15, %rdi xorl %esi, %esi callq _trace_seq_putc movq %r14, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lba=%llu txlen=%llu protect=%u" .comm _WRITE_SAME_16,1,0 ## @WRITE_SAME_16 L_.str.1: ## @.str.1 .asciz " unmap=%u" .no_dead_strip _scsi_trace_rw16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function scsi_trace_rw16 _scsi_trace_rw16: ; @scsi_trace_rw16 .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 ldr x21, [x0] ldrsw x22, [x0, #8] ldrb w8, [x1, #10] lsl w8, w8, #24 ldrb w9, [x1, #11] sxtw x8, w8 bfi x8, x9, #16, #8 ldrb w9, [x1, #12] bfi x8, x9, #8, #8 ldrb w9, [x1, #13] orr x8, x8, x9 ldrb w9, [x1, #1] lsr w9, w9, #5 stp x8, x9, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w2, #0 bl _trace_seq_printf ldrb w8, [x20] Lloh2: adrp x9, _WRITE_SAME_16@GOTPAGE Lloh3: ldr x9, [x9, _WRITE_SAME_16@GOTPAGEOFF] ldrb w9, [x9] cmp w8, w9 b.ne LBB0_2 ; %bb.1: ldrb w8, [x20, #1] ubfx w2, w8, #3, #1 Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _trace_seq_printf LBB0_2: add x20, x21, x22 mov x0, x19 mov w1, #0 bl _trace_seq_putc 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "lba=%llu txlen=%llu protect=%u" .comm _WRITE_SAME_16,1,0 ; @WRITE_SAME_16 l_.str.1: ; @.str.1 .asciz " unmap=%u" .no_dead_strip _scsi_trace_rw16 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_trace.c_scsi_trace_rw16.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function trng_open _trng_open: ## @trng_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _nonseekable_open ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _trng_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function trng_open _trng_open: ; @trng_open .cfi_startproc ; %bb.0: b _nonseekable_open .cfi_endproc ; -- End function .no_dead_strip _trng_open .subsections_via_symbols
AnghaBench/linux/drivers/char/hw_random/extr_s390-trng.c_trng_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fz_write_emit _fz_write_emit: ## @fz_write_emit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _fz_write_byte ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _fz_write_emit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fz_write_emit _fz_write_emit: ; @fz_write_emit .cfi_startproc ; %bb.0: b _fz_write_byte .cfi_endproc ; -- End function .no_dead_strip _fz_write_emit .subsections_via_symbols
AnghaBench/sumatrapdf/mupdf/source/fitz/extr_output.c_fz_write_emit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _exit_thread ## -- Begin function exit_thread .p2align 4, 0x90 _exit_thread: ## @exit_thread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _current@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq $0, (%rax) movq _ubc_usercnt@GOTPCREL(%rip), %rax decl (%rax) LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _current,8,3 ## @current .comm _ubc_usercnt,4,2 ## @ubc_usercnt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _exit_thread ; -- Begin function exit_thread .p2align 2 _exit_thread: ; @exit_thread .cfi_startproc ; %bb.0: Lloh0: adrp x8, _current@GOTPAGE Lloh1: ldr x8, [x8, _current@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x9, [x8] cbz x9, LBB0_2 ; %bb.1: str xzr, [x8] Lloh3: adrp x8, _ubc_usercnt@GOTPAGE Lloh4: ldr x8, [x8, _ubc_usercnt@GOTPAGEOFF] ldr w9, [x8] sub w9, w9, #1 str w9, [x8] LBB0_2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _current,8,3 ; @current .comm _ubc_usercnt,4,2 ; @ubc_usercnt .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/sh/kernel/extr_process_32.c_exit_thread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _llc_conn_ev_qlfy_retry_cnt_lt_n2 ## -- Begin function llc_conn_ev_qlfy_retry_cnt_lt_n2 .p2align 4, 0x90 _llc_conn_ev_qlfy_retry_cnt_lt_n2: ## @llc_conn_ev_qlfy_retry_cnt_lt_n2 .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 _llc_sk movq (%rax), %r14 movq %rbx, %rdi callq _llc_sk xorl %ecx, %ecx cmpq 8(%rax), %r14 setge %cl movl %ecx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _llc_conn_ev_qlfy_retry_cnt_lt_n2 ; -- Begin function llc_conn_ev_qlfy_retry_cnt_lt_n2 .p2align 2 _llc_conn_ev_qlfy_retry_cnt_lt_n2: ; @llc_conn_ev_qlfy_retry_cnt_lt_n2 .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 _llc_sk ldr x20, [x0] mov x0, x19 bl _llc_sk ldr x8, [x0, #8] cmp x20, x8 cset w0, ge 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/net/llc/extr_llc_c_ev.c_llc_conn_ev_qlfy_retry_cnt_lt_n2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ergodox_board_led_on ## -- Begin function ergodox_board_led_on .p2align 4, 0x90 _ergodox_board_led_on: ## @ergodox_board_led_on .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 _ergodox_board_led_on ; -- Begin function ergodox_board_led_on .p2align 2 _ergodox_board_led_on: ; @ergodox_board_led_on .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/ergodox_infinity/extr_visualizer.c_ergodox_board_led_on.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qlcnic_83xx_set_mac_filter_count _qlcnic_83xx_set_mac_filter_count: ## @qlcnic_83xx_set_mac_filter_count .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 movl (%rcx), %esi movq _QLC_83XX_MAX_MC_COUNT@GOTPCREL(%rip), %rax movl (%rax), %edx movl %edx, 4(%rcx) cmpl $3, %esi jge LBB0_1 ## %bb.2: movq _QLC_83XX_MAX_UC_COUNT@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _QLC_83XX_LB_MAX_FILTERS@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax subl %edx, %eax cltd idivl %esi movl %eax, 8(%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _QLC_83XX_MAX_MC_COUNT,4,2 ## @QLC_83XX_MAX_MC_COUNT .comm _QLC_83XX_MAX_UC_COUNT,4,2 ## @QLC_83XX_MAX_UC_COUNT .comm _QLC_83XX_LB_MAX_FILTERS,4,2 ## @QLC_83XX_LB_MAX_FILTERS .no_dead_strip _qlcnic_83xx_set_mac_filter_count .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qlcnic_83xx_set_mac_filter_count _qlcnic_83xx_set_mac_filter_count: ; @qlcnic_83xx_set_mac_filter_count .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w9, [x8] Lloh0: adrp x10, _QLC_83XX_MAX_MC_COUNT@GOTPAGE Lloh1: ldr x10, [x10, _QLC_83XX_MAX_MC_COUNT@GOTPAGEOFF] Lloh2: ldr w10, [x10] str w10, [x8, #4] Lloh3: adrp x11, _QLC_83XX_MAX_UC_COUNT@GOTPAGE Lloh4: ldr x11, [x11, _QLC_83XX_MAX_UC_COUNT@GOTPAGEOFF] Lloh5: adrp x12, _QLC_83XX_LB_MAX_FILTERS@GOTPAGE Lloh6: ldr x12, [x12, _QLC_83XX_LB_MAX_FILTERS@GOTPAGEOFF] cmp w9, #3 csel x11, x11, x12, lt ldr w11, [x11] sub w10, w11, w10 sdiv w9, w10, w9 str w9, [x8, #8] ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _QLC_83XX_MAX_MC_COUNT,4,2 ; @QLC_83XX_MAX_MC_COUNT .comm _QLC_83XX_MAX_UC_COUNT,4,2 ; @QLC_83XX_MAX_UC_COUNT .comm _QLC_83XX_LB_MAX_FILTERS,4,2 ; @QLC_83XX_LB_MAX_FILTERS .no_dead_strip _qlcnic_83xx_set_mac_filter_count .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_83xx_hw.c_qlcnic_83xx_set_mac_filter_count.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___dquot_free_space ## -- Begin function __dquot_free_space .p2align 4, 0x90 ___dquot_free_space: ## @__dquot_free_space .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movl %esi, %ebx movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAXQUOTAS@GOTPCREL(%rip), %r12 movl (%r12), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -72(%rbp) ## 8-byte Spill movq _DQUOT_SPACE_RESERVE@GOTPCREL(%rip), %rax andl (%rax), %r15d movq %r14, %rdi callq _dquot_active testl %eax, %eax je LBB0_1 ## %bb.6: movl %r15d, -56(%rbp) ## 4-byte Spill movq %r14, %rdi callq _i_dquot movq %rax, %r13 movq _dquot_srcu@GOTPCREL(%rip), %rdi callq _srcu_read_lock movl %eax, -52(%rbp) ## 4-byte Spill movq %r14, -64(%rbp) ## 8-byte Spill movq %r14, %rdi callq _spin_lock movl (%r12), %eax testl %eax, %eax je LBB0_16 ## %bb.7: xorl %r14d, %r14d movq _QUOTA_NL_NOWARN@GOTPCREL(%rip), %r12 movq -72(%rbp), %r15 ## 8-byte Reload jmp LBB0_8 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_8 Depth=1 movl %ebx, %esi callq _dquot_decr_space LBB0_14: ## in Loop: Header=BB0_8 Depth=1 movq (%r13,%r14,8), %rdi callq _spin_unlock movq _MAXQUOTAS@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_15: ## in Loop: Header=BB0_8 Depth=1 incq %r14 movl %eax, %ecx addq $4, %r15 cmpq %rcx, %r14 jae LBB0_16 LBB0_8: ## =>This Inner Loop Header: Depth=1 movl (%r12), %ecx movl %ecx, (%r15) movq (%r13,%r14,8), %rdi testq %rdi, %rdi je LBB0_15 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 callq _spin_lock movq (%r13,%r14,8), %rdi movl %ebx, %esi callq _info_bdq_free cmpl (%r12), %eax je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movq (%r13,%r14,8), %rsi movq %r15, %rdi movl %eax, %edx callq _prepare_warning LBB0_11: ## in Loop: Header=BB0_8 Depth=1 movq (%r13,%r14,8), %rdi cmpl $0, -56(%rbp) ## 4-byte Folded Reload je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 movl %ebx, %esi callq _dquot_free_reserved_space jmp LBB0_14 LBB0_16: cmpl $0, -56(%rbp) ## 4-byte Folded Reload je LBB0_18 ## %bb.17: movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi callq _inode_reserved_space subl %ebx, (%rax) movq %r14, %rdi callq _spin_unlock jmp LBB0_19 LBB0_1: testl %r15d, %r15d je LBB0_4 ## %bb.2: movq %r14, %rdi callq _spin_lock movq %r14, %rdi callq _inode_reserved_space subl %ebx, (%rax) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_21 ## %bb.3: movq %r14, %rdi leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _spin_unlock ## TAILCALL LBB0_18: movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl %ebx, %esi callq ___inode_sub_bytes movq %r14, %rdi callq _spin_unlock movq %r13, %rdi callq _mark_all_dquot_dirty LBB0_19: movl -52(%rbp), %esi ## 4-byte Reload movq _dquot_srcu@GOTPCREL(%rip), %rdi callq _srcu_read_unlock movq -72(%rbp), %rdi ## 8-byte Reload callq _flush_warnings movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_21 ## %bb.20: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_21 ## %bb.5: movq %r14, %rdi movl %ebx, %esi leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _inode_sub_bytes ## TAILCALL LBB0_21: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAXQUOTAS,4,2 ## @MAXQUOTAS .comm _DQUOT_SPACE_RESERVE,4,2 ## @DQUOT_SPACE_RESERVE .comm _dquot_srcu,4,2 ## @dquot_srcu .comm _QUOTA_NL_NOWARN,4,2 ## @QUOTA_NL_NOWARN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___dquot_free_space ; -- Begin function __dquot_free_space .p2align 2 ___dquot_free_space: ; @__dquot_free_space .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #16 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] stur x8, [x29, #-88] Lloh3: adrp x25, _MAXQUOTAS@GOTPAGE Lloh4: ldr x25, [x25, _MAXQUOTAS@GOTPAGEOFF] ldr w8, [x25] lsl x8, x8, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: 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 Lloh7: adrp x8, _DQUOT_SPACE_RESERVE@GOTPAGE Lloh8: ldr x8, [x8, _DQUOT_SPACE_RESERVE@GOTPAGEOFF] Lloh9: ldr w8, [x8] and w26, w8, w2 bl _dquot_active cbz w0, LBB0_13 ; %bb.1: mov x0, x19 bl _i_dquot mov x23, x0 Lloh10: adrp x0, _dquot_srcu@GOTPAGE Lloh11: ldr x0, [x0, _dquot_srcu@GOTPAGEOFF] bl _srcu_read_lock mov x22, x0 mov x0, x19 bl _spin_lock ldr w8, [x25] cbz w8, LBB0_11 ; %bb.2: mov x27, #0 Lloh12: adrp x28, _QUOTA_NL_NOWARN@GOTPAGE Lloh13: ldr x28, [x28, _QUOTA_NL_NOWARN@GOTPAGEOFF] mov x24, x21 b LBB0_6 LBB0_3: ; in Loop: Header=BB0_6 Depth=1 bl _dquot_decr_space LBB0_4: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x23, x27, lsl #3] bl _spin_unlock ldr w8, [x25] LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x27, x27, #1 add x24, x24, #4 cmp x27, w8, uxtw b.hs LBB0_11 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w9, [x28] str w9, [x24] ldr x0, [x23, x27, lsl #3] cbz x0, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 bl _spin_lock ldr x0, [x23, x27, lsl #3] mov x1, x20 bl _info_bdq_free ldr w8, [x28] cmp w0, w8 b.eq LBB0_9 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov x2, x0 ldr x1, [x23, x27, lsl #3] mov x0, x24 bl _prepare_warning LBB0_9: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [x23, x27, lsl #3] mov x1, x20 cbz w26, LBB0_3 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 bl _dquot_free_reserved_space b LBB0_4 LBB0_11: mov x0, x19 cbz w26, LBB0_16 ; %bb.12: bl _inode_reserved_space ldr w8, [x0] sub w8, w8, w20 str w8, [x0] mov x0, x19 bl _spin_unlock b LBB0_17 LBB0_13: cbz w26, LBB0_19 ; %bb.14: mov x0, x19 bl _spin_lock mov x0, x19 bl _inode_reserved_space ldr w8, [x0] sub w8, w8, w20 str w8, [x0] ldur x8, [x29, #-88] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.15: mov x0, x19 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 b _spin_unlock LBB0_16: mov x1, x20 bl ___inode_sub_bytes mov x0, x19 bl _spin_unlock mov x0, x23 bl _mark_all_dquot_dirty LBB0_17: Lloh17: adrp x0, _dquot_srcu@GOTPAGE Lloh18: ldr x0, [x0, _dquot_srcu@GOTPAGEOFF] mov x1, x22 bl _srcu_read_unlock mov x0, x21 bl _flush_warnings ldur x8, [x29, #-88] Lloh19: adrp x9, ___stack_chk_guard@GOTPAGE Lloh20: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.18: 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_19: ldur x8, [x29, #-88] Lloh22: adrp x9, ___stack_chk_guard@GOTPAGE Lloh23: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh24: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.20: mov x0, x19 mov x1, x20 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 b _inode_sub_bytes LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .cfi_endproc ; -- End function .comm _MAXQUOTAS,4,2 ; @MAXQUOTAS .comm _DQUOT_SPACE_RESERVE,4,2 ; @DQUOT_SPACE_RESERVE .comm _dquot_srcu,4,2 ; @dquot_srcu .comm _QUOTA_NL_NOWARN,4,2 ; @QUOTA_NL_NOWARN .subsections_via_symbols
AnghaBench/linux/fs/quota/extr_dquot.c___dquot_free_space.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ufshcd_dme_set_attr ## -- Begin function ufshcd_dme_set_attr .p2align 4, 0x90 _ufshcd_dme_set_attr: ## @ufshcd_dme_set_attr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -56(%rbp) ## 8-byte Spill movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, -88(%rbp) movq $0, -72(%rbp) xorl %eax, %eax leaq _ufshcd_dme_set_attr.action(%rip), %rcx movq _UFS_UIC_COMMAND_RETRIES@GOTPCREL(%rip), %rdi movq %r8, %r13 testq %r8, %r8 setne %al je LBB0_1 ## %bb.2: movq _UIC_CMD_DME_PEER_SET@GOTPCREL(%rip), %rsi jmp LBB0_3 LBB0_1: movq _UIC_CMD_DME_SET@GOTPCREL(%rip), %rsi LBB0_3: movq (%rcx,%rax,8), %rax movq %rax, -64(%rbp) ## 8-byte Spill movl (%rdi), %r12d movl (%rsi), %eax movl %eax, -72(%rbp) movq -48(%rbp), %rax ## 8-byte Reload movq %rax, -80(%rbp) movq %rdx, %rdi callq _UIC_ARG_ATTR_TYPE movl %eax, -88(%rbp) movq -56(%rbp), %rax ## 8-byte Reload movq %rax, -96(%rbp) .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi leaq -96(%rbp), %rsi callq _ufshcd_send_uic_cmd movl %eax, %r14d testl %eax, %eax je LBB0_9 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl (%rbx), %r15d movq -48(%rbp), %rdi ## 8-byte Reload callq _UIC_GET_ATTR_ID movl %r15d, %edi leaq L_.str.2(%rip), %rsi movq -64(%rbp), %rdx ## 8-byte Reload movl %eax, %ecx movq -56(%rbp), %r8 ## 8-byte Reload movl %r14d, %r9d callq _dev_dbg testq %r13, %r13 je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 decl %r12d jne LBB0_4 ## %bb.7: xorl %r12d, %r12d LBB0_8: movl (%rbx), %ebx movq -48(%rbp), %rdi ## 8-byte Reload callq _UIC_GET_ATTR_ID movq _UFS_UIC_COMMAND_RETRIES@GOTPCREL(%rip), %rcx movl (%rcx), %r9d subl %r12d, %r9d leaq L_.str.3(%rip), %rsi movl %ebx, %edi movq -64(%rbp), %rdx ## 8-byte Reload movl %eax, %ecx movq -56(%rbp), %r8 ## 8-byte Reload callq _dev_err LBB0_9: movl %r14d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__const .p2align 4 ## @ufshcd_dme_set_attr.action _ufshcd_dme_set_attr.action: .quad L_.str .quad L_.str.1 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "dme-set" L_.str.1: ## @.str.1 .asciz "dme-peer-set" .comm _UFS_UIC_COMMAND_RETRIES,4,2 ## @UFS_UIC_COMMAND_RETRIES .comm _UIC_CMD_DME_PEER_SET,4,2 ## @UIC_CMD_DME_PEER_SET .comm _UIC_CMD_DME_SET,4,2 ## @UIC_CMD_DME_SET L_.str.2: ## @.str.2 .asciz "%s: attr-id 0x%x val 0x%x error code %d\n" L_.str.3: ## @.str.3 .asciz "%s: attr-id 0x%x val 0x%x failed %d retries\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ufshcd_dme_set_attr ; -- Begin function ufshcd_dme_set_attr .p2align 2 _ufshcd_dme_set_attr: ; @ufshcd_dme_set_attr .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x23, x4 mov x19, x3 mov x20, x1 mov x21, x0 stp xzr, xzr, [sp, #16] str xzr, [sp, #8] Lloh0: adrp x8, _UIC_CMD_DME_PEER_SET@GOTPAGE Lloh1: ldr x8, [x8, _UIC_CMD_DME_PEER_SET@GOTPAGEOFF] Lloh2: adrp x9, _UIC_CMD_DME_SET@GOTPAGE Lloh3: ldr x9, [x9, _UIC_CMD_DME_SET@GOTPAGEOFF] cmp x4, #0 csel x8, x8, x9, ne cset w9, ne Lloh4: adrp x10, _ufshcd_dme_set_attr.action@PAGE Lloh5: add x10, x10, _ufshcd_dme_set_attr.action@PAGEOFF ldr x22, [x10, w9, uxtw #3] Lloh6: adrp x27, _UFS_UIC_COMMAND_RETRIES@GOTPAGE Lloh7: ldr x27, [x27, _UFS_UIC_COMMAND_RETRIES@GOTPAGEOFF] ldr w28, [x27] ldr w8, [x8] str w8, [sp, #24] str x1, [sp, #16] mov x0, x2 bl _UIC_ARG_ATTR_TYPE str w0, [sp, #8] str x19, [sp] Lloh8: adrp x25, l_.str.2@PAGE Lloh9: add x25, x25, l_.str.2@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x1, sp mov x0, x21 bl _ufshcd_send_uic_cmd mov x24, x0 cbz w0, LBB0_5 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldr w26, [x21] mov x0, x20 bl _UIC_GET_ATTR_ID mov x3, x0 mov x0, x26 mov x1, x25 mov x2, x22 mov x4, x19 mov x5, x24 bl _dev_dbg cbz x23, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 subs w28, w28, #1 b.ne LBB0_1 LBB0_4: ldr w21, [x21] mov x0, x20 bl _UIC_GET_ATTR_ID mov x3, x0 ldr w8, [x27] sub w5, w8, w28 Lloh10: adrp x1, l_.str.3@PAGE Lloh11: add x1, x1, l_.str.3@PAGEOFF mov x0, x21 mov x2, x22 mov x4, x19 bl _dev_err LBB0_5: mov x0, x24 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __DATA,__const .p2align 3 ; @ufshcd_dme_set_attr.action _ufshcd_dme_set_attr.action: .quad l_.str .quad l_.str.1 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "dme-set" l_.str.1: ; @.str.1 .asciz "dme-peer-set" .comm _UFS_UIC_COMMAND_RETRIES,4,2 ; @UFS_UIC_COMMAND_RETRIES .comm _UIC_CMD_DME_PEER_SET,4,2 ; @UIC_CMD_DME_PEER_SET .comm _UIC_CMD_DME_SET,4,2 ; @UIC_CMD_DME_SET l_.str.2: ; @.str.2 .asciz "%s: attr-id 0x%x val 0x%x error code %d\n" l_.str.3: ; @.str.3 .asciz "%s: attr-id 0x%x val 0x%x failed %d retries\n" .subsections_via_symbols
AnghaBench/linux/drivers/scsi/ufs/extr_ufshcd.c_ufshcd_dme_set_attr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vec3_sub _vec3_sub: ## @vec3_sub .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl 4(%rsi), %edi movl 4(%rdx), %esi callq __mm_sub_ps movl %eax, 4(%rbx) movl $0, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vec3_sub .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vec3_sub _vec3_sub: ; @vec3_sub .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x1, #4] ldr w1, [x2, #4] bl __mm_sub_ps stp wzr, w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _vec3_sub .subsections_via_symbols
AnghaBench/obs-studio/libobs/graphics/extr_vec3.h_vec3_sub.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function get_compound_interest LCPI0_0: .long 0x3f800000 ## float 1 .section __TEXT,__text,regular,pure_instructions .globl _get_compound_interest .p2align 4, 0x90 _get_compound_interest: ## @get_compound_interest .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi testl %edi, %edi jle LBB0_6 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp addss LCPI0_0(%rip), %xmm1 leal -1(%rdi), %ecx movl %edi, %eax andl $7, %eax cmpl $7, %ecx popq %rbp jb LBB0_4 ## %bb.2: andl $-8, %edi .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 addl $-8, %edi jne LBB0_3 LBB0_4: testl %eax, %eax je LBB0_6 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 mulss %xmm1, %xmm2 decl %eax jne LBB0_5 LBB0_6: mulss %xmm0, %xmm2 movaps %xmm2, %xmm0 retq .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function get_compound_interest_Recursive LCPI1_0: .long 0x3f800000 ## float 1 .section __TEXT,__text,regular,pure_instructions .globl _get_compound_interest_Recursive .p2align 4, 0x90 _get_compound_interest_Recursive: ## @get_compound_interest_Recursive .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi testl %edi, %edi je LBB1_7 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp addss LCPI1_0(%rip), %xmm1 leal -1(%rdi), %eax movl %edi, %ecx andl $7, %ecx popq %rbp je LBB1_5 ## %bb.2: xorl %edx, %edx .p2align 4, 0x90 LBB1_3: ## =>This Inner Loop Header: Depth=1 mulss %xmm1, %xmm2 incl %edx cmpl %edx, %ecx jne LBB1_3 ## %bb.4: subl %edx, %edi LBB1_5: cmpl $7, %eax jb LBB1_7 .p2align 4, 0x90 LBB1_6: ## =>This Inner Loop Header: Depth=1 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 mulss %xmm1, %xmm2 addl $-8, %edi jne LBB1_6 LBB1_7: mulss %xmm0, %xmm2 movaps %xmm2, %xmm0 retq .cfi_endproc ## -- End function .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI2_0: .long 0x3f800000 ## float 1 LCPI2_1: .long 0x3c23d70a ## float 0.00999999977 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str(%rip), %rdi callq _puts leaq L_str.8(%rip), %rdi callq _puts leaq L_.str.2(%rip), %rdi leaq -52(%rbp), %rsi leaq -48(%rbp), %rdx leaq -44(%rbp), %rcx xorl %eax, %eax callq _scanf cmpl $3, %eax jne LBB2_12 ## %bb.1: xorps %xmm0, %xmm0 movss %xmm0, -56(%rbp) ## 4-byte Spill leaq L_.str.7(%rip), %rbx leaq L_.str.2(%rip), %r12 leaq -52(%rbp), %r14 leaq -48(%rbp), %r15 leaq -44(%rbp), %r13 jmp LBB2_2 .p2align 4, 0x90 LBB2_10: ## in Loop: Header=BB2_2 Depth=1 mulss -52(%rbp), %xmm1 LBB2_11: ## in Loop: Header=BB2_2 Depth=1 movss %xmm1, -56(%rbp) ## 4-byte Spill xorps %xmm0, %xmm0 cvtss2sd %xmm1, %xmm0 movq %rbx, %rdi movb $1, %al callq _printf movq %r12, %rdi movq %r14, %rsi movq %r15, %rdx movq %r13, %rcx xorl %eax, %eax callq _scanf cmpl $3, %eax jne LBB2_12 LBB2_2: ## =>This Loop Header: Depth=1 ## Child Loop BB2_7 Depth 2 ## Child Loop BB2_9 Depth 2 movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.3(%rip), %rdi movb $1, %al callq _printf movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.4(%rip), %rdi movb $1, %al callq _printf movl -44(%rbp), %esi leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movl -44(%rbp), %ecx testl %ecx, %ecx js LBB2_3 ## %bb.4: ## in Loop: Header=BB2_2 Depth=1 movss LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero je LBB2_10 ## %bb.5: ## in Loop: Header=BB2_2 Depth=1 movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss LCPI2_1(%rip), %xmm0 movss LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero addss %xmm1, %xmm0 leal -1(%rcx), %edx movl %ecx, %eax andl $7, %eax cmpl $7, %edx jb LBB2_8 ## %bb.6: ## in Loop: Header=BB2_2 Depth=1 andl $-8, %ecx movss LCPI2_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero .p2align 4, 0x90 LBB2_7: ## Parent Loop BB2_2 Depth=1 ## => This Inner Loop Header: Depth=2 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 mulss %xmm0, %xmm1 addl $-8, %ecx jne LBB2_7 LBB2_8: ## in Loop: Header=BB2_2 Depth=1 testl %eax, %eax je LBB2_10 .p2align 4, 0x90 LBB2_9: ## Parent Loop BB2_2 Depth=1 ## => This Inner Loop Header: Depth=2 mulss %xmm0, %xmm1 decl %eax jne LBB2_9 jmp LBB2_10 .p2align 4, 0x90 LBB2_3: ## in Loop: Header=BB2_2 Depth=1 leaq L_str.9(%rip), %rdi callq _puts movss -56(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero jmp LBB2_11 LBB2_12: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "%f %f %d" L_.str.3: ## @.str.3 .asciz "\n\n\354\233\224 \353\202\251\354\236\205\354\225\241\t: %.f\n" L_.str.4: ## @.str.4 .asciz "\354\235\264\354\234\250 \t\t: %.2f%%\n" L_.str.5: ## @.str.5 .asciz "\352\270\260\352\260\204 \t\t: %d\n" L_.str.7: ## @.str.7 .asciz "\353\263\265\353\246\254\353\241\234 \352\263\204\354\202\260\354\213\234 \354\233\220\353\246\254\352\270\210 \355\225\251\352\263\204 : %.f\n\n" L_str: ## @str .asciz "\353\202\251\354\236\205\354\225\241, \354\235\264\354\234\250, \352\270\260\352\260\204\354\235\204 \354\260\250\353\241\200\353\214\200\353\241\234 \354\236\205\353\240\245\355\225\230\354\204\270\354\232\224. " L_str.8: ## @str.8 .asciz "\354\242\205\353\243\214\354\213\234 \353\254\270\354\236\220\353\245\274 \354\236\205\353\240\245!" L_str.9: ## @str.9 .asciz "\352\270\260\352\260\204 \354\204\244\354\240\225\354\235\264 \354\236\230\353\252\273\353\220\230\354\227\210\354\212\265\353\213\210\353\213\244.!!!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_compound_interest ; -- Begin function get_compound_interest .p2align 2 _get_compound_interest: ; @get_compound_interest .cfi_startproc ; %bb.0: cmp w0, #1 b.lt LBB0_3 ; %bb.1: fmov s3, #1.00000000 fadd s1, s1, s3 LBB0_2: ; =>This Inner Loop Header: Depth=1 fmul s2, s1, s2 subs w0, w0, #1 b.ne LBB0_2 LBB0_3: fmul s0, s2, s0 ret .cfi_endproc ; -- End function .globl _get_compound_interest_Recursive ; -- Begin function get_compound_interest_Recursive .p2align 2 _get_compound_interest_Recursive: ; @get_compound_interest_Recursive .cfi_startproc ; %bb.0: cbz w0, LBB1_3 ; %bb.1: fmov s3, #1.00000000 fadd s1, s1, s3 LBB1_2: ; =>This Inner Loop Header: Depth=1 fmul s2, s1, s2 subs w0, w0, #1 b.ne LBB1_2 LBB1_3: fmul s0, s2, s0 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp d9, d8, [sp, #48] ; 16-byte Folded Spill stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_str.8@PAGE Lloh3: add x0, x0, l_str.8@PAGEOFF bl _puts add x25, sp, #36 add x26, sp, #40 add x27, sp, #44 stp x26, x25, [sp, #8] str x27, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _scanf cmp w0, #3 b.ne LBB2_10 ; %bb.1: Lloh6: adrp x19, l_.str.3@PAGE Lloh7: add x19, x19, l_.str.3@PAGEOFF Lloh8: adrp x20, l_.str.4@PAGE Lloh9: add x20, x20, l_.str.4@PAGEOFF Lloh10: adrp x21, l_.str.5@PAGE Lloh11: add x21, x21, l_.str.5@PAGEOFF Lloh12: adrp x22, l_str.9@PAGE Lloh13: add x22, x22, l_str.9@PAGEOFF movi d8, #0000000000000000 Lloh14: adrp x23, l_.str.7@PAGE Lloh15: add x23, x23, l_.str.7@PAGEOFF mov w28, #55050 movk w28, #15395, lsl #16 Lloh16: adrp x24, l_.str.2@PAGE Lloh17: add x24, x24, l_.str.2@PAGEOFF b LBB2_4 LBB2_2: ; in Loop: Header=BB2_4 Depth=1 mov x0, x22 bl _puts LBB2_3: ; in Loop: Header=BB2_4 Depth=1 fcvt d0, s8 str d0, [sp] mov x0, x23 bl _printf stp x26, x25, [sp, #8] str x27, [sp] mov x0, x24 bl _scanf cmp w0, #3 b.ne LBB2_10 LBB2_4: ; =>This Loop Header: Depth=1 ; Child Loop BB2_7 Depth 2 ldr s0, [sp, #44] fcvt d0, s0 str d0, [sp] mov x0, x19 bl _printf ldr s0, [sp, #40] fcvt d0, s0 str d0, [sp] mov x0, x20 bl _printf ldr w8, [sp, #36] str x8, [sp] mov x0, x21 bl _printf ldr w8, [sp, #36] tbnz w8, #31, LBB2_2 ; %bb.5: ; in Loop: Header=BB2_4 Depth=1 cbz w8, LBB2_8 ; %bb.6: ; in Loop: Header=BB2_4 Depth=1 ldr s0, [sp, #40] fmov s1, w28 fmul s1, s0, s1 fmov s0, #1.00000000 fadd s1, s1, s0 LBB2_7: ; Parent Loop BB2_4 Depth=1 ; => This Inner Loop Header: Depth=2 fmul s0, s1, s0 subs w8, w8, #1 b.ne LBB2_7 b LBB2_9 LBB2_8: ; in Loop: Header=BB2_4 Depth=1 fmov s0, #1.00000000 LBB2_9: ; in Loop: Header=BB2_4 Depth=1 ldr s1, [sp, #44] fmul s8, s1, s0 b LBB2_3 LBB2_10: 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 add sp, sp, #160 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "%f %f %d" l_.str.3: ; @.str.3 .asciz "\n\n\354\233\224 \353\202\251\354\236\205\354\225\241\t: %.f\n" l_.str.4: ; @.str.4 .asciz "\354\235\264\354\234\250 \t\t: %.2f%%\n" l_.str.5: ; @.str.5 .asciz "\352\270\260\352\260\204 \t\t: %d\n" l_.str.7: ; @.str.7 .asciz "\353\263\265\353\246\254\353\241\234 \352\263\204\354\202\260\354\213\234 \354\233\220\353\246\254\352\270\210 \355\225\251\352\263\204 : %.f\n\n" l_str: ; @str .asciz "\353\202\251\354\236\205\354\225\241, \354\235\264\354\234\250, \352\270\260\352\260\204\354\235\204 \354\260\250\353\241\200\353\214\200\353\241\234 \354\236\205\353\240\245\355\225\230\354\204\270\354\232\224. " l_str.8: ; @str.8 .asciz "\354\242\205\353\243\214\354\213\234 \353\254\270\354\236\220\353\245\274 \354\236\205\353\240\245!" l_str.9: ; @str.9 .asciz "\352\270\260\352\260\204 \354\204\244\354\240\225\354\235\264 \354\236\230\353\252\273\353\220\230\354\227\210\354\212\265\353\213\210\353\213\244.!!!" .subsections_via_symbols
the_stack_data/660031.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mvneta_ethtool_set_link_ksettings _mvneta_ethtool_set_link_ksettings: ## @mvneta_ethtool_set_link_ksettings .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 movl (%rax), %edi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _phylink_ethtool_ksettings_set ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mvneta_ethtool_set_link_ksettings .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mvneta_ethtool_set_link_ksettings _mvneta_ethtool_set_link_ksettings: ; @mvneta_ethtool_set_link_ksettings .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 w0, [x0] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _phylink_ethtool_ksettings_set .cfi_endproc ; -- End function .no_dead_strip _mvneta_ethtool_set_link_ksettings .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/marvell/extr_mvneta.c_mvneta_ethtool_set_link_ksettings.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init ## -- Begin function init .p2align 4, 0x90 _init: ## @init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq $0, (%rdi) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _find ## -- Begin function find .p2align 4, 0x90 _find: ## @find .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rax .p2align 4, 0x90 LBB1_1: ## =>This Inner Loop Header: Depth=1 cmpl %esi, (%rax) je LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movq 8(%rax), %rax testq %rax, %rax jne LBB1_1 ## %bb.3: xorl %eax, %eax LBB1_4: popq %rbp retq .cfi_endproc ## -- End function .globl _removing ## -- Begin function removing .p2align 4, 0x90 _removing: ## @removing .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rax movq (%rdi), %rdi testq %rdi, %rdi je LBB2_10 ## %bb.1: movq 16(%rdi), %rcx movq %rdi, %rdx testq %rcx, %rcx je LBB2_5 ## %bb.2: movq 8(%rdi), %rdx testq %rdx, %rdx je LBB2_3 ## %bb.4: movq %rdx, 8(%rcx) movq (%rax), %rcx movq 8(%rcx), %rdx movq 16(%rcx), %rcx movq %rcx, 16(%rdx) movq (%rax), %rdx movq 16(%rdx), %rcx testq %rcx, %rcx jne LBB2_7 LBB2_5: movq 8(%rdx), %rcx testq %rcx, %rcx je LBB2_9 ## %bb.6: movq $0, 16(%rcx) movq (%rax), %rcx movq 8(%rcx), %rdx movq %rdx, (%rax) movq 16(%rdx), %rcx testq %rcx, %rcx je LBB2_9 LBB2_7: cmpq $0, 8(%rdx) je LBB2_8 LBB2_9: callq _free LBB2_10: movl $1, %eax popq %rbp retq LBB2_3: movq %rdi, %rdx cmpq $0, 8(%rdx) jne LBB2_9 LBB2_8: movq $0, 8(%rcx) jmp LBB2_9 .cfi_endproc ## -- End function .globl _isEmpty ## -- Begin function isEmpty .p2align 4, 0x90 _isEmpty: ## @isEmpty .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 testq %rdi, %rdi setne %al popq %rbp retq .cfi_endproc ## -- End function .globl _destroy ## -- Begin function destroy .p2align 4, 0x90 _destroy: ## @destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rdi testq %rdi, %rdi je LBB4_3 .p2align 4, 0x90 LBB4_1: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rax movq %rax, (%rbx) callq _free movq (%rbx), %rdi testq %rdi, %rdi jne LBB4_1 LBB4_3: movl $1, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _append ## -- Begin function append .p2align 4, 0x90 _append: ## @append .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r15 movq (%rdi), %rbx testq %rbx, %rbx je LBB5_1 ## %bb.2: movq 8(%rbx), %r12 movl $24, %edi callq _malloc testq %r12, %r12 je LBB5_3 ## %bb.4: movq %r12, 8(%rax) movl %r14d, (%rax) movq %rbx, 16(%rax) movq 8(%rbx), %rcx movq %rax, 16(%rcx) movq (%r15), %r15 addq $8, %r15 jmp LBB5_5 LBB5_1: movl $24, %edi callq _malloc movl %r14d, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) jmp LBB5_5 LBB5_3: movq $0, 8(%rax) movl %r14d, (%rax) movq %rbx, 16(%rax) addq $8, %rbx movq %rbx, %r15 LBB5_5: movq %rax, (%r15) movl $1, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _prepend ## -- Begin function prepend .p2align 4, 0x90 _prepend: ## @prepend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %r15 movq (%rdi), %rbx testq %rbx, %rbx je LBB6_3 ## %bb.1: movq 16(%rbx), %r12 movl $24, %edi callq _malloc testq %r12, %r12 je LBB6_4 ## %bb.2: movl %r14d, (%rax) movq %r12, 16(%rax) movq %rbx, 8(%rax) movq 16(%rbx), %rcx movq %rax, 8(%rcx) movq (%r15), %rcx movq %rax, 16(%rcx) jmp LBB6_6 LBB6_3: movl $24, %edi callq _malloc movl %r14d, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) jmp LBB6_5 LBB6_4: movq $0, 16(%rax) movl %r14d, (%rax) movq %rbx, 8(%rax) movq %rax, 16(%rbx) movq (%r15), %rax movq 16(%rax), %rax LBB6_5: movq %rax, (%r15) LBB6_6: movl $1, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _print ## -- Begin function print .p2align 4, 0x90 _print: ## @print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %rbx testq %rbx, %rbx je LBB7_3 ## %bb.1: leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB7_2: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB7_2 LBB7_3: movl $10, %edi callq _putchar movl $1, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI8_0: .space 16 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str.2(%rip), %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) jle LBB8_1 ## %bb.2: leaq L_.str.2(%rip), %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl $24, %edi callq _malloc movq %rax, %r12 movl %ebx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) movl -44(%rbp), %eax movq %r12, -72(%rbp) cmpl $2, %eax jl LBB8_12 ## %bb.3: movl $1, %ebx movq %r12, -64(%rbp) ## 8-byte Spill jmp LBB8_4 .p2align 4, 0x90 LBB8_5: ## in Loop: Header=BB8_4 Depth=1 movl $24, %edi callq _malloc movl %r15d, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) leaq -72(%rbp), %r14 LBB8_9: ## in Loop: Header=BB8_4 Depth=1 movq %rax, (%r14) movq -72(%rbp), %rax movq 8(%rax), %r12 movq %r12, -72(%rbp) incl %ebx cmpl -44(%rbp), %ebx jge LBB8_10 LBB8_4: ## =>This Inner Loop Header: Depth=1 leaq L_.str.2(%rip), %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %r15d testq %r12, %r12 je LBB8_5 ## %bb.6: ## in Loop: Header=BB8_4 Depth=1 leaq 8(%r12), %r14 movq 8(%r12), %r13 movl $24, %edi callq _malloc testq %r13, %r13 je LBB8_7 ## %bb.8: ## in Loop: Header=BB8_4 Depth=1 movq %r13, 8(%rax) movl %r15d, (%rax) movq %r12, 16(%rax) movq 8(%r12), %rcx movq %rax, 16(%rcx) jmp LBB8_9 .p2align 4, 0x90 LBB8_7: ## in Loop: Header=BB8_4 Depth=1 movq $0, 8(%rax) movl %r15d, (%rax) movq %r12, 16(%rax) jmp LBB8_9 LBB8_1: movq $0, -72(%rbp) jmp LBB8_11 LBB8_10: movq -64(%rbp), %r12 ## 8-byte Reload testq %r12, %r12 je LBB8_11 LBB8_12: leaq L_.str(%rip), %r14 movq %r12, %rbx xorl %r15d, %r15d .p2align 4, 0x90 LBB8_13: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB8_13 jmp LBB8_14 LBB8_11: movb $1, %r15b xorl %r12d, %r12d LBB8_14: movl $10, %edi callq _putchar leaq L_.str.2(%rip), %rdi leaq -92(%rbp), %rsi xorl %eax, %eax callq _scanf movl -92(%rbp), %edx cmpl $1, %edx jne LBB8_15 ## %bb.25: testb %r15b, %r15b jne LBB8_41 ## %bb.26: movq 8(%r12), %rax movq 16(%r12), %rcx testq %rcx, %rcx je LBB8_30 ## %bb.27: testq %rax, %rax je LBB8_28 ## %bb.29: movq %rax, 8(%rcx) movq 8(%r12), %rax movq %rcx, 16(%rax) cmpq $0, 16(%r12) movq %r12, %rbx jne LBB8_33 jmp LBB8_31 LBB8_15: movq %r12, %rdi jle LBB8_21 ## %bb.16: leal -1(%rdx), %ecx addl $-2, %edx movl %ecx, %eax andl $7, %eax movq %r12, %rdi cmpl $7, %edx jb LBB8_19 ## %bb.17: andl $-8, %ecx movq %r12, %rdi .p2align 4, 0x90 LBB8_18: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdi addl $-8, %ecx jne LBB8_18 LBB8_19: testl %eax, %eax je LBB8_21 .p2align 4, 0x90 LBB8_20: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rdi decl %eax jne LBB8_20 LBB8_21: testq %rdi, %rdi je LBB8_41 ## %bb.22: movq 8(%rdi), %rax movq 16(%rdi), %rcx testq %rcx, %rcx je LBB8_37 ## %bb.23: testq %rax, %rax je LBB8_24 ## %bb.36: movq %rax, 8(%rcx) movq 8(%rdi), %rax movq %rcx, 16(%rax) cmpq $0, 16(%rdi) jne LBB8_40 jmp LBB8_38 LBB8_37: testq %rax, %rax je LBB8_40 LBB8_38: addq $16, %rax jmp LBB8_39 LBB8_30: movq %r12, %rbx testq %rax, %rax je LBB8_33 LBB8_31: leaq 16(%rax), %rcx jmp LBB8_32 LBB8_24: addq $8, %rcx movq %rcx, %rax LBB8_39: movq $0, (%rax) LBB8_40: callq _free LBB8_41: testq %r12, %r12 jne LBB8_34 ## %bb.42: movb $1, %r15b xorl %r12d, %r12d jmp LBB8_43 LBB8_28: addq $8, %rcx movq %r12, %rax LBB8_32: movq $0, (%rcx) movq %rax, %rbx LBB8_33: movq %r12, %rdi callq _free movq %rbx, %r12 LBB8_34: leaq L_.str(%rip), %r14 movq %r12, %rbx xorl %r15d, %r15d .p2align 4, 0x90 LBB8_35: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB8_35 LBB8_43: movl $10, %edi callq _putchar leaq L_.str.2(%rip), %rdi leaq -88(%rbp), %rsi xorl %eax, %eax callq _scanf movl -88(%rbp), %eax movq %r12, %rdi .p2align 4, 0x90 LBB8_44: ## =>This Inner Loop Header: Depth=1 cmpl %eax, (%rdi) je LBB8_46 ## %bb.45: ## in Loop: Header=BB8_44 Depth=1 movq 8(%rdi), %rdi testq %rdi, %rdi jne LBB8_44 ## %bb.65: testq %r12, %r12 jne LBB8_66 jmp LBB8_48 LBB8_46: cmpq %r12, %rdi je LBB8_47 ## %bb.57: movq 8(%rdi), %rax movq 16(%rdi), %rcx testq %rcx, %rcx je LBB8_61 ## %bb.58: testq %rax, %rax je LBB8_59 ## %bb.60: movq %rax, 8(%rcx) movq 8(%rdi), %rax movq %rcx, 16(%rax) cmpq $0, 16(%rdi) jne LBB8_64 jmp LBB8_62 LBB8_47: testb %r15b, %r15b jne LBB8_48 ## %bb.49: movq 8(%r12), %rax movq 16(%r12), %rcx testq %rcx, %rcx je LBB8_53 ## %bb.50: testq %rax, %rax je LBB8_51 ## %bb.52: movq %rax, 8(%rcx) movq 8(%r12), %rax movq %rcx, 16(%rax) cmpq $0, 16(%r12) movq %r12, %rbx jne LBB8_56 jmp LBB8_54 LBB8_61: testq %rax, %rax je LBB8_64 LBB8_62: addq $16, %rax jmp LBB8_63 LBB8_59: addq $8, %rcx movq %rcx, %rax LBB8_63: movq $0, (%rax) LBB8_64: callq _free testq %r12, %r12 jne LBB8_66 LBB8_48: movb $1, %r15b xorl %r12d, %r12d jmp LBB8_68 LBB8_53: movq %r12, %rbx testq %rax, %rax je LBB8_56 LBB8_54: leaq 16(%rax), %rcx jmp LBB8_55 LBB8_51: addq $8, %rcx movq %r12, %rax LBB8_55: movq $0, (%rcx) movq %rax, %rbx LBB8_56: movq %r12, %rdi callq _free movq %rbx, %r12 LBB8_66: leaq L_.str(%rip), %r14 movq %r12, %rbx xorl %r15d, %r15d .p2align 4, 0x90 LBB8_67: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB8_67 LBB8_68: movl $10, %edi callq _putchar leaq L_.str.3(%rip), %rdi leaq -84(%rbp), %rsi leaq -80(%rbp), %rdx xorl %eax, %eax callq _scanf movl -84(%rbp), %edx movq %r12, %rbx cmpl $2, %edx jl LBB8_74 ## %bb.69: leal -1(%rdx), %ecx addl $-2, %edx movl %ecx, %eax andl $7, %eax movq %r12, %rbx cmpl $7, %edx jb LBB8_72 ## %bb.70: andl $-8, %ecx movq %r12, %rbx .p2align 4, 0x90 LBB8_71: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rbx addl $-8, %ecx jne LBB8_71 LBB8_72: testl %eax, %eax je LBB8_74 .p2align 4, 0x90 LBB8_73: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rbx decl %eax jne LBB8_73 LBB8_74: movq %r12, %r13 movq %rbx, -104(%rbp) movl -80(%rbp), %r12d testq %rbx, %rbx je LBB8_75 ## %bb.76: leaq 8(%rbx), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq 8(%rbx), %r14 movl $24, %edi callq _malloc testq %r14, %r14 je LBB8_77 ## %bb.78: movq %r14, 8(%rax) movl %r12d, (%rax) movq %rbx, 16(%rax) movq 8(%rbx), %rcx movq %rax, 16(%rcx) jmp LBB8_79 LBB8_75: movl $24, %edi callq _malloc movl %r12d, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) leaq -104(%rbp), %rcx jmp LBB8_80 LBB8_77: movq $0, 8(%rax) movl %r12d, (%rax) movq %rbx, 16(%rax) LBB8_79: movq -64(%rbp), %rcx ## 8-byte Reload LBB8_80: movq %rax, (%rcx) testb %r15b, %r15b movq %r13, %r12 jne LBB8_83 ## %bb.81: leaq L_.str(%rip), %r14 movq %r12, %rbx .p2align 4, 0x90 LBB8_82: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq 8(%rbx), %rbx testq %rbx, %rbx jne LBB8_82 LBB8_83: movl $10, %edi callq _putchar leaq L_.str.3(%rip), %rdi leaq -76(%rbp), %rsi leaq -52(%rbp), %rdx xorl %eax, %eax callq _scanf movl -76(%rbp), %edx cmpl $1, %edx jne LBB8_84 ## %bb.93: movl -52(%rbp), %ebx testb %r15b, %r15b je LBB8_95 ## %bb.94: movl $24, %edi callq _malloc movq %rax, %r12 movl %ebx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 8(%rax) jmp LBB8_101 LBB8_84: movq %r12, %rbx jle LBB8_90 ## %bb.85: leal -1(%rdx), %ecx addl $-2, %edx movl %ecx, %eax andl $7, %eax movq %r12, %rbx cmpl $7, %edx jb LBB8_88 ## %bb.86: andl $-8, %ecx movq %r12, %rbx .p2align 4, 0x90 LBB8_87: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rdx movq 8(%rdx), %rbx addl $-8, %ecx jne LBB8_87 LBB8_88: testl %eax, %eax je LBB8_90 .p2align 4, 0x90 LBB8_89: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rbx decl %eax jne LBB8_89 LBB8_90: testq %rbx, %rbx je LBB8_100 ## %bb.91: movl -52(%rbp), %r14d movq 16(%rbx), %r15 movl $24, %edi callq _malloc testq %r15, %r15 je LBB8_92 ## %bb.98: movl %r14d, (%rax) movq %r15, 16(%rax) movq %rbx, 8(%rax) movq 16(%rbx), %rcx movq %rax, 8(%rcx) jmp LBB8_99 LBB8_95: movq 16(%r12), %r14 movl $24, %edi callq _malloc testq %r14, %r14 je LBB8_96 ## %bb.97: movl %ebx, (%rax) movq %r14, 16(%rax) movq %r12, 8(%rax) movq 16(%r12), %rcx movq %rax, 8(%rcx) movq %rax, 16(%r12) jmp LBB8_101 LBB8_92: movq $0, 16(%rax) movl %r14d, (%rax) movq %rbx, 8(%rax) LBB8_99: movq %rax, 16(%rbx) LBB8_100: testq %r12, %r12 jne LBB8_101 jmp LBB8_103 LBB8_96: movq $0, 16(%rax) movl %ebx, (%rax) movq %r12, 8(%rax) movq %rax, 16(%r12) movq %rax, %r12 LBB8_101: leaq L_.str(%rip), %rbx .p2align 4, 0x90 LBB8_102: ## =>This Inner Loop Header: Depth=1 movl (%r12), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movq 8(%r12), %r12 testq %r12, %r12 jne LBB8_102 LBB8_103: movl $10, %edi callq _putchar xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d " L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz "%d%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _init ; -- Begin function init .p2align 2 _init: ; @init .cfi_startproc ; %bb.0: str xzr, [x0] mov w0, #1 ret .cfi_endproc ; -- End function .globl _find ; -- Begin function find .p2align 2 _find: ; @find .cfi_startproc ; %bb.0: LBB1_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [x0] cmp w8, w1 b.eq LBB1_3 ; %bb.2: ; in Loop: Header=BB1_1 Depth=1 ldr x0, [x0, #8] cbnz x0, LBB1_1 LBB1_3: ret .cfi_endproc ; -- End function .globl _removing ; -- Begin function removing .p2align 2 _removing: ; @removing .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, x0 ldr x0, [x0] cbz x0, LBB2_8 ; %bb.1: ldr x9, [x0, #16] mov x10, x0 cbz x9, LBB2_4 ; %bb.2: ldr x10, [x0, #8] cbz x10, LBB2_9 ; %bb.3: str x10, [x9, #8] ldr x9, [x8] ldp x9, x10, [x9, #8] str x10, [x9, #16] ldr x10, [x8] ldr x9, [x10, #16] cbnz x9, LBB2_6 LBB2_4: ldr x9, [x10, #8] cbz x9, LBB2_7 ; %bb.5: str xzr, [x9, #16] ldr x9, [x8] ldr x10, [x9, #8] str x10, [x8] ldr x9, [x10, #16] cbz x9, LBB2_7 LBB2_6: ldr x8, [x10, #8] cbz x8, LBB2_10 LBB2_7: bl _free LBB2_8: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB2_9: mov x10, x0 ldr x8, [x10, #8] cbnz x8, LBB2_7 LBB2_10: str xzr, [x9, #8] b LBB2_7 .cfi_endproc ; -- End function .globl _isEmpty ; -- Begin function isEmpty .p2align 2 _isEmpty: ; @isEmpty .cfi_startproc ; %bb.0: cmp x0, #0 cset w0, ne ret .cfi_endproc ; -- End function .globl _destroy ; -- Begin function destroy .p2align 2 _destroy: ; @destroy .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] cbz x0, LBB4_2 LBB4_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x0, #8] str x8, [x19] bl _free ldr x0, [x19] cbnz x0, LBB4_1 LBB4_2: mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _append ; -- Begin function append .p2align 2 _append: ; @append .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 ldr x21, [x0] cbz x21, LBB5_3 ; %bb.1: mov x22, x21 ldr x23, [x22, #8]! mov w0, #24 bl _malloc cbz x23, LBB5_4 ; %bb.2: str w20, [x0] stp x23, x21, [x0, #8] ldr x8, [x21, #8] str x0, [x8, #16] ldr x8, [x19] add x19, x8, #8 b LBB5_5 LBB5_3: mov w0, #24 bl _malloc stp xzr, xzr, [x0, #8] str w20, [x0] b LBB5_5 LBB5_4: str w20, [x0] mov x19, x22 stp xzr, x21, [x0, #8] LBB5_5: str x0, [x19] mov w0, #1 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _prepend ; -- Begin function prepend .p2align 2 _prepend: ; @prepend .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 ldr x21, [x0] cbz x21, LBB6_3 ; %bb.1: ldr x22, [x21, #16] mov w0, #24 bl _malloc cbz x22, LBB6_4 ; %bb.2: str w20, [x0] stp x21, x22, [x0, #8] ldr x8, [x21, #16] str x0, [x8, #8] ldr x8, [x19] str x0, [x8, #16] b LBB6_5 LBB6_3: mov w0, #24 bl _malloc stp xzr, xzr, [x0, #8] str w20, [x0] str x0, [x19] b LBB6_5 LBB6_4: str w20, [x0] stp x21, xzr, [x0, #8] str x0, [x21, #16] ldr x8, [x19] ldr x8, [x8, #16] str x8, [x19] LBB6_5: mov w0, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _print ; -- Begin function print .p2align 2 _print: ; @print .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x20, [x0] cbz x20, LBB7_3 ; %bb.1: Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF LBB7_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] str x8, [sp] mov x0, x19 bl _printf ldr x20, [x20, #8] cbnz x20, LBB7_2 LBB7_3: mov w0, #10 bl _putchar mov w0, #1 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 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 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 add x8, sp, #56 str x8, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _scanf ldr w8, [sp, #56] cmp w8, #1 b.lt LBB8_9 ; %bb.1: add x21, sp, #60 str x21, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _scanf ldr w20, [sp, #60] mov w0, #24 bl _malloc mov x19, x0 stp xzr, xzr, [x0, #8] str w20, [x0] ldr w8, [sp, #56] str x0, [sp, #24] cmp w8, #1 b.le LBB8_11 ; %bb.2: mov w22, #1 Lloh6: adrp x20, l_.str.2@PAGE Lloh7: add x20, x20, l_.str.2@PAGEOFF mov x23, x19 b LBB8_5 LBB8_3: ; in Loop: Header=BB8_5 Depth=1 mov w0, #24 bl _malloc stp xzr, xzr, [x0, #8] str w25, [x0] add x24, sp, #24 LBB8_4: ; in Loop: Header=BB8_5 Depth=1 str x0, [x24] ldr x8, [sp, #24] ldr x23, [x8, #8] str x23, [sp, #24] add w22, w22, #1 ldr w8, [sp, #56] cmp w22, w8 b.ge LBB8_10 LBB8_5: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x20 bl _scanf ldr w25, [sp, #60] cbz x23, LBB8_3 ; %bb.6: ; in Loop: Header=BB8_5 Depth=1 mov x24, x23 ldr x26, [x24, #8]! mov w0, #24 bl _malloc cbz x26, LBB8_8 ; %bb.7: ; in Loop: Header=BB8_5 Depth=1 str w25, [x0] stp x26, x23, [x0, #8] ldr x8, [x23, #8] str x0, [x8, #16] b LBB8_4 LBB8_8: ; in Loop: Header=BB8_5 Depth=1 str w25, [x0] stp xzr, x23, [x0, #8] b LBB8_4 LBB8_9: mov x19, #0 str xzr, [sp, #24] mov w20, #1 b LBB8_14 LBB8_10: cbz x19, LBB8_26 LBB8_11: Lloh8: adrp x20, l_.str@PAGE Lloh9: add x20, x20, l_.str@PAGEOFF mov x21, x19 LBB8_12: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] str x8, [sp] mov x0, x20 bl _printf ldr x21, [x21, #8] cbnz x21, LBB8_12 ; %bb.13: mov w20, #0 LBB8_14: mov w0, #10 bl _putchar add x8, sp, #52 str x8, [sp] Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _scanf ldr w9, [sp, #52] subs w8, w9, #1 b.ne LBB8_19 ; %bb.15: tbnz w20, #0, LBB8_34 ; %bb.16: ldp x8, x9, [x19, #8] cbz x9, LBB8_29 ; %bb.17: cbz x8, LBB8_36 ; %bb.18: str x8, [x9, #8] ldr x8, [x19, #8] str x9, [x8, #16] ldr x9, [x19, #16] mov x20, x19 cbnz x9, LBB8_38 b LBB8_30 LBB8_19: mov x0, x19 cmp w9, #2 b.lt LBB8_22 ; %bb.20: mov x0, x19 LBB8_21: ; =>This Inner Loop Header: Depth=1 ldr x0, [x0, #8] subs w8, w8, #1 b.ne LBB8_21 LBB8_22: cbz x0, LBB8_34 ; %bb.23: ldp x8, x9, [x0, #8] cbz x9, LBB8_27 ; %bb.24: cbz x8, LBB8_31 ; %bb.25: str x8, [x9, #8] ldr x8, [x0, #8] str x9, [x8, #16] ldr x9, [x0, #16] cbnz x9, LBB8_33 b LBB8_28 LBB8_26: mov w20, #1 b LBB8_14 LBB8_27: cbz x8, LBB8_33 LBB8_28: add x8, x8, #16 b LBB8_32 LBB8_29: mov x20, x19 cbz x8, LBB8_38 LBB8_30: add x9, x8, #16 b LBB8_37 LBB8_31: add x8, x9, #8 LBB8_32: str xzr, [x8] LBB8_33: bl _free LBB8_34: cbnz x19, LBB8_39 ; %bb.35: mov w20, #1 b LBB8_42 LBB8_36: add x9, x9, #8 mov x8, x19 LBB8_37: str xzr, [x9] mov x20, x8 LBB8_38: mov x0, x19 bl _free mov x19, x20 LBB8_39: Lloh12: adrp x20, l_.str@PAGE Lloh13: add x20, x20, l_.str@PAGEOFF mov x21, x19 LBB8_40: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] str x8, [sp] mov x0, x20 bl _printf ldr x21, [x21, #8] cbnz x21, LBB8_40 ; %bb.41: mov w20, #0 LBB8_42: mov w0, #10 bl _putchar add x8, sp, #48 str x8, [sp] Lloh14: adrp x0, l_.str.2@PAGE Lloh15: add x0, x0, l_.str.2@PAGEOFF bl _scanf ldr w8, [sp, #48] mov x0, x19 LBB8_43: ; =>This Inner Loop Header: Depth=1 ldr w9, [x0] cmp w9, w8 b.eq LBB8_46 ; %bb.44: ; in Loop: Header=BB8_43 Depth=1 ldr x0, [x0, #8] cbnz x0, LBB8_43 ; %bb.45: cbnz x19, LBB8_66 b LBB8_60 LBB8_46: cmp x0, x19 b.eq LBB8_50 ; %bb.47: ldp x8, x9, [x0, #8] cbz x9, LBB8_52 ; %bb.48: cbz x8, LBB8_57 ; %bb.49: str x8, [x9, #8] ldr x8, [x0, #8] str x9, [x8, #16] ldr x9, [x0, #16] cbnz x9, LBB8_59 b LBB8_53 LBB8_50: tbz w20, #0, LBB8_54 ; %bb.51: mov x19, #0 b LBB8_60 LBB8_52: cbz x8, LBB8_59 LBB8_53: add x8, x8, #16 b LBB8_58 LBB8_54: ldp x8, x9, [x19, #8] cbz x9, LBB8_61 ; %bb.55: cbz x8, LBB8_63 ; %bb.56: str x8, [x9, #8] ldr x8, [x19, #8] str x9, [x8, #16] ldr x9, [x19, #16] mov x20, x19 cbnz x9, LBB8_65 b LBB8_62 LBB8_57: add x8, x9, #8 LBB8_58: str xzr, [x8] LBB8_59: bl _free cbnz x19, LBB8_66 LBB8_60: mov w21, #1 b LBB8_68 LBB8_61: mov x20, x19 cbz x8, LBB8_65 LBB8_62: add x9, x8, #16 b LBB8_64 LBB8_63: add x9, x9, #8 mov x8, x19 LBB8_64: str xzr, [x9] mov x20, x8 LBB8_65: mov x0, x19 bl _free mov x19, x20 LBB8_66: Lloh16: adrp x20, l_.str@PAGE Lloh17: add x20, x20, l_.str@PAGEOFF mov x21, x19 LBB8_67: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] str x8, [sp] mov x0, x20 bl _printf ldr x21, [x21, #8] cbnz x21, LBB8_67 LBB8_68: mov w0, #10 bl _putchar add x8, sp, #40 add x9, sp, #44 stp x9, x8, [sp] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF bl _scanf ldr w8, [sp, #44] mov x20, x19 cmp w8, #2 b.lt LBB8_71 ; %bb.69: sub w8, w8, #1 mov x20, x19 LBB8_70: ; =>This Inner Loop Header: Depth=1 ldr x20, [x20, #8] subs w8, w8, #1 b.ne LBB8_70 LBB8_71: str x20, [sp, #16] ldr w23, [sp, #40] cbz x20, LBB8_74 ; %bb.72: mov x22, x20 ldr x24, [x22, #8]! mov w0, #24 bl _malloc cbz x24, LBB8_75 ; %bb.73: str w23, [x0] stp x24, x20, [x0, #8] ldr x8, [x20, #8] str x0, [x8, #16] str x0, [x22] tbz w21, #0, LBB8_76 b LBB8_78 LBB8_74: mov w0, #24 bl _malloc stp xzr, xzr, [x0, #8] str w23, [x0] add x22, sp, #16 str x0, [x22] tbz w21, #0, LBB8_76 b LBB8_78 LBB8_75: str w23, [x0] stp xzr, x20, [x0, #8] str x0, [x22] tbnz w21, #0, LBB8_78 LBB8_76: Lloh20: adrp x20, l_.str@PAGE Lloh21: add x20, x20, l_.str@PAGEOFF mov x22, x19 LBB8_77: ; =>This Inner Loop Header: Depth=1 ldr w8, [x22] str x8, [sp] mov x0, x20 bl _printf ldr x22, [x22, #8] cbnz x22, LBB8_77 LBB8_78: mov w0, #10 bl _putchar add x8, sp, #32 add x9, sp, #36 stp x9, x8, [sp] Lloh22: adrp x0, l_.str.3@PAGE Lloh23: add x0, x0, l_.str.3@PAGEOFF bl _scanf ldr w9, [sp, #36] subs w8, w9, #1 b.ne LBB8_81 ; %bb.79: ldr w20, [sp, #32] cbz w21, LBB8_87 ; %bb.80: mov w0, #24 bl _malloc mov x19, x0 stp xzr, xzr, [x0, #8] str w20, [x0] b LBB8_93 LBB8_81: mov x20, x19 cmp w9, #2 b.lt LBB8_84 ; %bb.82: mov x20, x19 LBB8_83: ; =>This Inner Loop Header: Depth=1 ldr x20, [x20, #8] subs w8, w8, #1 b.ne LBB8_83 LBB8_84: cbz x20, LBB8_91 ; %bb.85: ldr w21, [sp, #32] ldr x22, [x20, #16] mov w0, #24 bl _malloc cbz x22, LBB8_89 ; %bb.86: str w21, [x0] stp x20, x22, [x0, #8] ldr x8, [x20, #16] str x0, [x8, #8] b LBB8_90 LBB8_87: ldr x21, [x19, #16] mov w0, #24 bl _malloc cbz x21, LBB8_92 ; %bb.88: str w20, [x0] stp x19, x21, [x0, #8] ldr x8, [x19, #16] str x0, [x8, #8] str x0, [x19, #16] b LBB8_93 LBB8_89: str w21, [x0] stp x20, xzr, [x0, #8] LBB8_90: str x0, [x20, #16] LBB8_91: cbnz x19, LBB8_93 b LBB8_95 LBB8_92: str w20, [x0] stp x19, xzr, [x0, #8] str x0, [x19, #16] mov x19, x0 LBB8_93: Lloh24: adrp x20, l_.str@PAGE Lloh25: add x20, x20, l_.str@PAGEOFF LBB8_94: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] str x8, [sp] mov x0, x20 bl _printf ldr x19, [x19, #8] cbnz x19, LBB8_94 LBB8_95: mov w0, #10 bl _putchar mov w0, #0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload add sp, sp, #144 ret .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 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d " l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz "%d%d" .subsections_via_symbols
the_stack_data/148131.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq -1(%rbp), %rsi xorl %eax, %eax callq _scanf movzbl -1(%rbp), %esi cmpl $3, %esi je LBB0_6 ## %bb.1: cmpb $2, %sil je LBB0_5 ## %bb.2: cmpb $1, %sil jne LBB0_7 ## %bb.3: leaq L_.str.1(%rip), %rdi jmp LBB0_4 LBB0_6: leaq L_.str.3(%rip), %rdi jmp LBB0_4 LBB0_5: leaq L_.str.2(%rip), %rdi LBB0_4: xorl %eax, %eax callq _printf jmp LBB0_8 LBB0_7: leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf LBB0_8: xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%hhu" L_.str.1: ## @.str.1 .asciz "1st" L_.str.2: ## @.str.2 .asciz "2nd" L_.str.3: ## @.str.3 .asciz "3rd" L_.str.4: ## @.str.4 .asciz "%hhuth" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub x8, x29, #1 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldurb w8, [x29, #-1] cmp w8, #3 b.eq LBB0_4 ; %bb.1: cmp w8, #2 b.eq LBB0_5 ; %bb.2: cmp w8, #1 b.ne LBB0_6 ; %bb.3: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF b LBB0_7 LBB0_4: Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@PAGEOFF b LBB0_7 LBB0_5: Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF b LBB0_7 LBB0_6: str x8, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF LBB0_7: bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%hhu" l_.str.1: ; @.str.1 .asciz "1st" l_.str.2: ; @.str.2 .asciz "2nd" l_.str.3: ; @.str.3 .asciz "3rd" l_.str.4: ; @.str.4 .asciz "%hhuth" .subsections_via_symbols
the_stack_data/55296.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cpia_pp_streamRead _cpia_pp_streamRead: ## @cpia_pp_streamRead .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 testq %rdi, %rdi je LBB0_6 ## %bb.1: movq %rsi, %r14 testq %rsi, %rsi je LBB0_7 ## %bb.2: movq %rdi, %rbx cmpq $0, 16(%rdi) je LBB0_4 ## %bb.3: movl 8(%rbx), %esi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _DBG decl 8(%rbx) LBB0_4: movl $0, (%rbx) movq %rbx, %rdi movl $1, %esi callq _ReverseSetup testq %rax, %rax je LBB0_11 ## %bb.5: leaq L_.str.3(%rip), %rdi xorl %r14d, %r14d xorl %eax, %eax callq _DBG movq _EIO@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_6: leaq L_.str(%rip), %rdi jmp LBB0_8 LBB0_7: leaq L_.str.1(%rip), %rdi LBB0_8: xorl %r14d, %r14d xorl %eax, %eax callq _DBG movq _EINVAL@GOTPCREL(%rip), %rax LBB0_9: subl (%rax), %r14d LBB0_10: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movq _PARPORT_CHUNK_SIZE@GOTPCREL(%rip), %rax movl (%rax), %r15d xorl %r12d, %r12d xorl %r13d, %r13d .p2align 4, 0x90 LBB0_12: ## =>This Loop Header: Depth=1 ## Child Loop BB0_16 Depth 2 cmpl $0, (%rbx) jne LBB0_21 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 xorl %eax, %eax callq _cond_resched movl 4(%rbx), %edi movq %r14, %rsi movl %r15d, %edx callq _cpia_pp_read testl %eax, %eax jle LBB0_12 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 cmpl $3, %r13d jg LBB0_19 ## %bb.15: ## in Loop: Header=BB0_12 Depth=1 movq _EOI@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $1, %edx xorl %esi, %esi .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_12 Depth=1 ## => This Inner Loop Header: Depth=2 incl %r13d cmpq %rcx, (%r14) cmovnel %esi, %r13d addq $8, %r14 incl %r12d cmpl %eax, %edx jge LBB0_18 ## %bb.17: ## in Loop: Header=BB0_16 Depth=2 incl %edx cmpl $4, %r13d jl LBB0_16 LBB0_18: ## in Loop: Header=BB0_12 Depth=1 cmpl $4, %r13d je LBB0_20 LBB0_19: ## in Loop: Header=BB0_12 Depth=1 movq _CPIA_MAX_IMAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax subl %r12d, %eax movq _PARPORT_CHUNK_SIZE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax cmovlel %eax, %r15d jmp LBB0_12 LBB0_20: movl $1, (%rbx) LBB0_21: movq %rbx, %rdi callq _EndTransferMode movq _EIO@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d cmpl $0, (%rbx) cmovnel %r12d, %r14d jmp LBB0_10 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Internal driver error: cam is NULL\n" .comm _EINVAL,4,2 ## @EINVAL L_.str.1: ## @.str.1 .asciz "Internal driver error: buffer is NULL\n" L_.str.2: ## @.str.2 .asciz "%d\n" L_.str.3: ## @.str.3 .asciz "unable to ReverseSetup\n" .comm _EIO,4,2 ## @EIO .comm _PARPORT_CHUNK_SIZE,4,2 ## @PARPORT_CHUNK_SIZE .comm _EOI,8,3 ## @EOI .comm _CPIA_MAX_IMAGE_SIZE,4,2 ## @CPIA_MAX_IMAGE_SIZE .comm _EINTR,4,2 ## @EINTR .comm _EWOULDBLOCK,4,2 ## @EWOULDBLOCK .comm _current,4,2 ## @current .no_dead_strip _cpia_pp_streamRead .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cpia_pp_streamRead _cpia_pp_streamRead: ; @cpia_pp_streamRead .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 cbz x0, LBB0_6 ; %bb.1: mov x20, x1 cbz x1, LBB0_7 ; %bb.2: mov x19, x0 ldr x8, [x0, #16] cbz x8, LBB0_4 ; %bb.3: ldr w8, [x19, #8] str x8, [sp] Lloh0: adrp x0, l_.str.2@PAGE Lloh1: add x0, x0, l_.str.2@PAGEOFF bl _DBG ldr w8, [x19, #8] sub w8, w8, #1 str w8, [x19, #8] LBB0_4: str wzr, [x19] mov x0, x19 mov w1, #1 ; =0x1 bl _ReverseSetup cbz x0, LBB0_11 ; %bb.5: Lloh2: adrp x0, l_.str.3@PAGE Lloh3: add x0, x0, l_.str.3@PAGEOFF bl _DBG Lloh4: adrp x8, _EIO@GOTPAGE Lloh5: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_9 LBB0_6: Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF b LBB0_8 LBB0_7: Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF LBB0_8: bl _DBG Lloh10: adrp x8, _EINVAL@GOTPAGE Lloh11: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_9: ldr w8, [x8] neg w0, w8 LBB0_10: 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_11: mov w22, #0 ; =0x0 mov w23, #0 ; =0x0 Lloh12: adrp x24, _PARPORT_CHUNK_SIZE@GOTPAGE Lloh13: ldr x24, [x24, _PARPORT_CHUNK_SIZE@GOTPAGEOFF] ldr w21, [x24] Lloh14: adrp x25, _EOI@GOTPAGE Lloh15: ldr x25, [x25, _EOI@GOTPAGEOFF] Lloh16: adrp x26, _CPIA_MAX_IMAGE_SIZE@GOTPAGE Lloh17: ldr x26, [x26, _CPIA_MAX_IMAGE_SIZE@GOTPAGEOFF] LBB0_12: ; =>This Loop Header: Depth=1 ; Child Loop BB0_16 Depth 2 ldr w8, [x19] cbnz w8, LBB0_21 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 bl _cond_resched ldr w0, [x19, #4] mov x1, x20 mov x2, x21 bl _cpia_pp_read cmp w0, #1 b.lt LBB0_12 ; %bb.14: ; in Loop: Header=BB0_12 Depth=1 cmp w23, #3 b.gt LBB0_19 ; %bb.15: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [x25] mov w9, #1 ; =0x1 LBB0_16: ; Parent Loop BB0_12 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x10, [x20], #8 cmp x10, x8 csinc w23, wzr, w23, ne add w22, w22, #1 cmp w9, w0 b.ge LBB0_18 ; %bb.17: ; in Loop: Header=BB0_16 Depth=2 add w9, w9, #1 cmp w23, #4 b.lt LBB0_16 LBB0_18: ; in Loop: Header=BB0_12 Depth=1 cmp w23, #4 b.eq LBB0_20 LBB0_19: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [x26] ldr w9, [x24] sub w8, w8, w22 cmp w8, w9 csel w21, w21, w8, gt b LBB0_12 LBB0_20: mov w8, #1 ; =0x1 str w8, [x19] LBB0_21: mov x0, x19 bl _EndTransferMode ldr w8, [x19] Lloh18: adrp x9, _EIO@GOTPAGE Lloh19: ldr x9, [x9, _EIO@GOTPAGEOFF] Lloh20: ldr w9, [x9] cmp w8, #0 csneg w0, w22, w9, ne b LBB0_10 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Internal driver error: cam is NULL\n" .comm _EINVAL,4,2 ; @EINVAL l_.str.1: ; @.str.1 .asciz "Internal driver error: buffer is NULL\n" l_.str.2: ; @.str.2 .asciz "%d\n" l_.str.3: ; @.str.3 .asciz "unable to ReverseSetup\n" .comm _EIO,4,2 ; @EIO .comm _PARPORT_CHUNK_SIZE,4,2 ; @PARPORT_CHUNK_SIZE .comm _EOI,8,3 ; @EOI .comm _CPIA_MAX_IMAGE_SIZE,4,2 ; @CPIA_MAX_IMAGE_SIZE .comm _EINTR,4,2 ; @EINTR .comm _EWOULDBLOCK,4,2 ; @EWOULDBLOCK .comm _current,4,2 ; @current .no_dead_strip _cpia_pp_streamRead .subsections_via_symbols
assembly_file_157848.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dtrace_copycheck _dtrace_copycheck: ## @dtrace_copycheck .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq %rsi, %rdi callq _INKERNEL testq %rax, %rax setne %al notq %rbx cmpq %r15, %rbx setae %cl andb %al, %cl movzbl %cl, %edi callq _ASSERT addq %r14, %r15 jb LBB0_2 ## %bb.1: movq _VM_MAXUSER_ADDRESS@GOTPCREL(%rip), %rcx movl $1, %eax cmpq (%rcx), %r15 jbe LBB0_3 LBB0_2: movq _CPU_DTRACE_BADADDR@GOTPCREL(%rip), %rax movl (%rax), %edi callq _DTRACE_CPUFLAG_SET movq _cpu_core@GOTPCREL(%rip), %rax movq (%rax), %rax movq _curcpu@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %r14, (%rax,%rcx,8) xorl %eax, %eax LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VM_MAXUSER_ADDRESS,8,3 ## @VM_MAXUSER_ADDRESS .comm _CPU_DTRACE_BADADDR,4,2 ## @CPU_DTRACE_BADADDR .comm _cpu_core,8,3 ## @cpu_core .comm _curcpu,8,3 ## @curcpu .no_dead_strip _dtrace_copycheck .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dtrace_copycheck _dtrace_copycheck: ; @dtrace_copycheck .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x21, x1 mov x19, x0 mov x0, x1 bl _INKERNEL mvn x8, x21 cmp x8, x20 ccmp x0, #0, #4, hs cset w0, ne bl _ASSERT adds x8, x20, x19 b.hs LBB0_3 ; %bb.1: Lloh0: adrp x9, _VM_MAXUSER_ADDRESS@GOTPAGE Lloh1: ldr x9, [x9, _VM_MAXUSER_ADDRESS@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.hi LBB0_3 ; %bb.2: mov w0, #1 b LBB0_4 LBB0_3: Lloh3: adrp x8, _CPU_DTRACE_BADADDR@GOTPAGE Lloh4: ldr x8, [x8, _CPU_DTRACE_BADADDR@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _DTRACE_CPUFLAG_SET mov w0, #0 Lloh6: adrp x8, _cpu_core@GOTPAGE Lloh7: ldr x8, [x8, _cpu_core@GOTPAGEOFF] Lloh8: ldr x8, [x8] Lloh9: adrp x9, _curcpu@GOTPAGE Lloh10: ldr x9, [x9, _curcpu@GOTPAGEOFF] Lloh11: ldr x9, [x9] str x19, [x8, x9, lsl #3] LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _VM_MAXUSER_ADDRESS,8,3 ; @VM_MAXUSER_ADDRESS .comm _CPU_DTRACE_BADADDR,4,2 ; @CPU_DTRACE_BADADDR .comm _cpu_core,8,3 ; @cpu_core .comm _curcpu,8,3 ; @curcpu .no_dead_strip _dtrace_copycheck .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/dev/dtrace/powerpc/extr_dtrace_isa.c_dtrace_copycheck.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _RAGetNumberOfFlavors ## -- Begin function RAGetNumberOfFlavors .p2align 4, 0x90 _RAGetNumberOfFlavors: ## @RAGetNumberOfFlavors .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 _RAGetNumberOfFlavors ; -- Begin function RAGetNumberOfFlavors .p2align 2 _RAGetNumberOfFlavors: ; @RAGetNumberOfFlavors .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/local/extr_93.c_RAGetNumberOfFlavors.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nl802154_set_tx_power _nl802154_set_tx_power: ## @nl802154_set_tx_power .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq 8(%rsi), %rax movq (%rax), %rbx movq _WPAN_PHY_FLAG_TXPOWER@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_1 ## %bb.2: movq (%rsi), %rax movq _NL802154_ATTR_TX_POWER@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi testl %edi, %edi je LBB0_8 ## %bb.3: callq _nla_get_s32 movl 8(%rbx), %ecx testl %ecx, %ecx jle LBB0_8 ## %bb.4: movq 16(%rbx), %rdx xorl %esi, %esi .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpq (%rdx,%rsi,8), %rax je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_6 Depth=1 incq %rsi cmpq %rsi, %rcx jne LBB0_6 LBB0_8: movq _EINVAL@GOTPCREL(%rip), %rcx jmp LBB0_9 LBB0_1: movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx LBB0_9: xorl %eax, %eax subl (%rcx), %eax addq $8, %rsp popq %rbx popq %rbp retq LBB0_7: movq %rbx, %rdi movq %rax, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _rdev_set_tx_power ## TAILCALL .cfi_endproc ## -- End function .comm _WPAN_PHY_FLAG_TXPOWER,4,2 ## @WPAN_PHY_FLAG_TXPOWER .comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP .comm _NL802154_ATTR_TX_POWER,8,3 ## @NL802154_ATTR_TX_POWER .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _nl802154_set_tx_power .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nl802154_set_tx_power _nl802154_set_tx_power: ; @nl802154_set_tx_power .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x1, #8] ldr x19, [x8] ldr w8, [x19] Lloh0: adrp x9, _WPAN_PHY_FLAG_TXPOWER@GOTPAGE Lloh1: ldr x9, [x9, _WPAN_PHY_FLAG_TXPOWER@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_7 ; %bb.1: ldr x8, [x1] Lloh3: adrp x9, _NL802154_ATTR_TX_POWER@GOTPAGE Lloh4: ldr x9, [x9, _NL802154_ATTR_TX_POWER@GOTPAGEOFF] Lloh5: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] cbz w0, LBB0_6 ; %bb.2: bl _nla_get_s32 ldr w8, [x19, #8] cmp w8, #1 b.lt LBB0_6 ; %bb.3: mov x1, x0 ldr x9, [x19, #16] LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9] cmp x1, x10 b.eq LBB0_9 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x9, x9, #8 subs x8, x8, #1 b.ne LBB0_4 LBB0_6: Lloh6: adrp x8, _EINVAL@GOTPAGE Lloh7: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_8 LBB0_7: Lloh8: adrp x8, _EOPNOTSUPP@GOTPAGE Lloh9: ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF] LBB0_8: 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 LBB0_9: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _rdev_set_tx_power .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _WPAN_PHY_FLAG_TXPOWER,4,2 ; @WPAN_PHY_FLAG_TXPOWER .comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP .comm _NL802154_ATTR_TX_POWER,8,3 ; @NL802154_ATTR_TX_POWER .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _nl802154_set_tx_power .subsections_via_symbols
AnghaBench/linux/net/ieee802154/extr_nl802154.c_nl802154_set_tx_power.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function skylake_nau8825_hw_params _skylake_nau8825_hw_params: ## @skylake_nau8825_hw_params .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(%r14), %rdi movq _NAU8825_CLK_MCLK@GOTPCREL(%rip), %rax movl (%rax), %esi movq _SND_SOC_CLOCK_IN@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $24000000, %edx ## imm = 0x16E3600 callq _snd_soc_dai_set_sysclk movl %eax, %ebx testl %eax, %eax jns LBB0_2 ## %bb.1: movl (%r14), %edi leaq L_.str(%rip), %rsi movl %ebx, %edx callq _dev_err LBB0_2: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _NAU8825_CLK_MCLK,4,2 ## @NAU8825_CLK_MCLK .comm _SND_SOC_CLOCK_IN,4,2 ## @SND_SOC_CLOCK_IN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "snd_soc_dai_set_sysclk err = %d\n" .no_dead_strip _skylake_nau8825_hw_params .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function skylake_nau8825_hw_params _skylake_nau8825_hw_params: ; @skylake_nau8825_hw_params .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x20, [x0] ldr x0, [x20, #8] Lloh0: adrp x8, _NAU8825_CLK_MCLK@GOTPAGE Lloh1: ldr x8, [x8, _NAU8825_CLK_MCLK@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _SND_SOC_CLOCK_IN@GOTPAGE Lloh4: ldr x8, [x8, _SND_SOC_CLOCK_IN@GOTPAGEOFF] Lloh5: ldr w3, [x8] mov w2, #13824 movk w2, #366, lsl #16 bl _snd_soc_dai_set_sysclk mov x19, x0 tbz w0, #31, LBB0_2 ; %bb.1: ldr w0, [x20] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x2, x19 bl _dev_err LBB0_2: mov x0, 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 AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _NAU8825_CLK_MCLK,4,2 ; @NAU8825_CLK_MCLK .comm _SND_SOC_CLOCK_IN,4,2 ; @SND_SOC_CLOCK_IN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "snd_soc_dai_set_sysclk err = %d\n" .no_dead_strip _skylake_nau8825_hw_params .subsections_via_symbols
AnghaBench/linux/sound/soc/intel/boards/extr_skl_nau88l25_ssm4567.c_skylake_nau8825_hw_params.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function null_joypad_get_buttons _null_joypad_get_buttons: ## @null_joypad_get_buttons .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 popq %rbp jmp _BIT256_CLEAR_ALL_PTR ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _null_joypad_get_buttons .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function null_joypad_get_buttons _null_joypad_get_buttons: ; @null_joypad_get_buttons .cfi_startproc ; %bb.0: mov x0, x1 b _BIT256_CLEAR_ALL_PTR .cfi_endproc ; -- End function .no_dead_strip _null_joypad_get_buttons .subsections_via_symbols
AnghaBench/RetroArch/griffin/extr_..inputdrivers_joypadnull_joypad.c_null_joypad_get_buttons.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tak_read_header _tak_read_header: ## @tak_read_header .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 8(%rdi), %rbx movq 16(%rdi), %r14 xorl %esi, %esi callq _avformat_new_stream testq %rax, %rax je LBB0_7 ## %bb.1: movq _AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq 8(%rax), %rdx movl %ecx, 40(%rdx) movq _AV_CODEC_ID_TAK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 36(%rdx) movq _AVSTREAM_PARSE_FULL_RAW@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 24(%rax) movl $0, (%r14) movq %rbx, %rdi callq _avio_rl32 movq %rax, %r14 movl $116, %edi movl $66, %esi movl $97, %edx movl $75, %ecx callq _MKTAG cmpq %rax, %r14 jne LBB0_2 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _avio_feof testl %eax, %eax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %rdi callq _avio_r8 movq %rbx, %rdi callq _avio_rl24 movq %rbx, %rdi movl %eax, %esi callq _avio_skip testl %eax, %eax jns LBB0_3 jmp LBB0_6 LBB0_7: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbx popq %r14 popq %rbp jmp _AVERROR ## TAILCALL LBB0_2: movq _SEEK_CUR@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movl $-4, %esi callq _avio_seek xorl %eax, %eax jmp LBB0_6 LBB0_5: movq _AVERROR_EOF@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_6: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .comm _AVMEDIA_TYPE_AUDIO,4,2 ## @AVMEDIA_TYPE_AUDIO .comm _AV_CODEC_ID_TAK,4,2 ## @AV_CODEC_ID_TAK .comm _AVSTREAM_PARSE_FULL_RAW,4,2 ## @AVSTREAM_PARSE_FULL_RAW .comm _SEEK_CUR,4,2 ## @SEEK_CUR .comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA .comm _AV_INPUT_BUFFER_PADDING_SIZE,4,2 ## @AV_INPUT_BUFFER_PADDING_SIZE .comm _tak_check_crc,4,2 ## @tak_check_crc .comm _EIO,4,2 ## @EIO .comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR .comm _AV_EF_EXPLODE,4,2 ## @AV_EF_EXPLODE .comm _AV_LOG_VERBOSE,4,2 ## @AV_LOG_VERBOSE .comm _AVIO_SEEKABLE_NORMAL,4,2 ## @AVIO_SEEKABLE_NORMAL .comm _SEEK_SET,4,2 ## @SEEK_SET .comm _TAK_LAST_FRAME_POS_BITS,4,2 ## @TAK_LAST_FRAME_POS_BITS .comm _TAK_LAST_FRAME_SIZE_BITS,4,2 ## @TAK_LAST_FRAME_SIZE_BITS .comm _TAK_ENCODER_VERSION_BITS,4,2 ## @TAK_ENCODER_VERSION_BITS .comm _AVERROR_EOF,4,2 ## @AVERROR_EOF .no_dead_strip _tak_read_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tak_read_header _tak_read_header: ; @tak_read_header .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 ldp x19, x20, [x0, #8] mov w1, #0 bl _avformat_new_stream cbz x0, LBB0_4 ; %bb.1: Lloh0: adrp x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE Lloh1: ldr x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr x9, [x0, #8] Lloh3: adrp x10, _AV_CODEC_ID_TAK@GOTPAGE Lloh4: ldr x10, [x10, _AV_CODEC_ID_TAK@GOTPAGEOFF] Lloh5: ldr w10, [x10] stp w10, w8, [x9, #36] Lloh6: adrp x8, _AVSTREAM_PARSE_FULL_RAW@GOTPAGE Lloh7: ldr x8, [x8, _AVSTREAM_PARSE_FULL_RAW@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x0, #24] str wzr, [x20] mov x0, x19 bl _avio_rl32 mov x20, x0 mov w0, #116 mov w1, #66 mov w2, #97 mov w3, #75 bl _MKTAG cmp x20, x0 b.ne LBB0_5 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _avio_feof cbnz w0, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x19 bl _avio_r8 mov x0, x19 bl _avio_rl24 mov x1, x0 mov x0, x19 bl _avio_skip tbz w0, #31, LBB0_2 b LBB0_7 LBB0_4: Lloh9: adrp x8, _ENOMEM@GOTPAGE Lloh10: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh11: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _AVERROR LBB0_5: Lloh12: adrp x8, _SEEK_CUR@GOTPAGE Lloh13: ldr x8, [x8, _SEEK_CUR@GOTPAGEOFF] Lloh14: ldr w2, [x8] mov x0, x19 mov w1, #-4 bl _avio_seek mov w0, #0 b LBB0_7 LBB0_6: Lloh15: adrp x8, _AVERROR_EOF@GOTPAGE Lloh16: ldr x8, [x8, _AVERROR_EOF@GOTPAGEOFF] Lloh17: ldr w0, [x8] LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .comm _AVMEDIA_TYPE_AUDIO,4,2 ; @AVMEDIA_TYPE_AUDIO .comm _AV_CODEC_ID_TAK,4,2 ; @AV_CODEC_ID_TAK .comm _AVSTREAM_PARSE_FULL_RAW,4,2 ; @AVSTREAM_PARSE_FULL_RAW .comm _SEEK_CUR,4,2 ; @SEEK_CUR .comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA .comm _AV_INPUT_BUFFER_PADDING_SIZE,4,2 ; @AV_INPUT_BUFFER_PADDING_SIZE .comm _tak_check_crc,4,2 ; @tak_check_crc .comm _EIO,4,2 ; @EIO .comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR .comm _AV_EF_EXPLODE,4,2 ; @AV_EF_EXPLODE .comm _AV_LOG_VERBOSE,4,2 ; @AV_LOG_VERBOSE .comm _AVIO_SEEKABLE_NORMAL,4,2 ; @AVIO_SEEKABLE_NORMAL .comm _SEEK_SET,4,2 ; @SEEK_SET .comm _TAK_LAST_FRAME_POS_BITS,4,2 ; @TAK_LAST_FRAME_POS_BITS .comm _TAK_LAST_FRAME_SIZE_BITS,4,2 ; @TAK_LAST_FRAME_SIZE_BITS .comm _TAK_ENCODER_VERSION_BITS,4,2 ; @TAK_ENCODER_VERSION_BITS .comm _AVERROR_EOF,4,2 ; @AVERROR_EOF .no_dead_strip _tak_read_header .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_takdec.c_tak_read_header.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tegra_bpmp_handle_mrq _tegra_bpmp_handle_mrq: ## @tegra_bpmp_handle_mrq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx movl $0, -28(%rbp) callq _spin_lock movq %rbx, %rdi movl %r15d, %esi callq _tegra_bpmp_find_mrq testq %rax, %rax je LBB0_1 ## %bb.2: movl (%rax), %edx movl %r15d, %edi movq %r14, %rsi callq *8(%rax) movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _spin_unlock ## TAILCALL LBB0_1: movq %rbx, %rdi callq _spin_unlock movq _EINVAL@GOTPCREL(%rip), %rax xorl %esi, %esi subl (%rax), %esi leaq -28(%rbp), %rdx movq %r14, %rdi movl $4, %ecx callq _tegra_bpmp_mrq_return addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _tegra_bpmp_handle_mrq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tegra_bpmp_handle_mrq _tegra_bpmp_handle_mrq: ; @tegra_bpmp_handle_mrq .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x20, x0 str wzr, [sp, #12] bl _spin_lock mov x0, x20 mov x1, x21 bl _tegra_bpmp_find_mrq cbz x0, LBB0_2 ; %bb.1: ldr x8, [x0, #8] ldr w2, [x0] mov x0, x21 mov x1, x19 blr x8 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 b _spin_unlock LBB0_2: mov x0, x20 bl _spin_unlock Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w1, w8 add x2, sp, #12 mov x0, x19 mov w3, #4 bl _tegra_bpmp_mrq_return ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _tegra_bpmp_handle_mrq .subsections_via_symbols
AnghaBench/linux/drivers/firmware/tegra/extr_bpmp.c_tegra_bpmp_handle_mrq.c
anghabench