x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -96(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -92(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -88(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -84(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -80(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -76(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -72(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -68(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -64(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq -60(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl $10, %edi callq _putchar movl -60(%rbp), %r15d movl -64(%rbp), %r14d movl -68(%rbp), %r13d movl -72(%rbp), %r12d movl -76(%rbp), %eax movl %eax, -100(%rbp) ## 4-byte Spill movl -80(%rbp), %eax movl %eax, -104(%rbp) ## 4-byte Spill movl -84(%rbp), %eax movl %eax, -108(%rbp) ## 4-byte Spill movl -88(%rbp), %eax movl %eax, -112(%rbp) ## 4-byte Spill movl -96(%rbp), %eax movl %eax, -120(%rbp) ## 4-byte Spill movl -92(%rbp), %eax movl %eax, -116(%rbp) ## 4-byte Spill leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movl -96(%rbp), %esi leaq L_.str.4(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf movl -92(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -88(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -84(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -80(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -76(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -72(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -68(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -64(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -60(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl $10, %edi callq _putchar leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi movl %r15d, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl %r14d, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl %r13d, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl %r12d, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl -100(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf movq %rbx, %rdi movl -104(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf movq %rbx, %rdi movl -108(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf movq %rbx, %rdi movl -112(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf movq %rbx, %rdi movl -116(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf movq %rbx, %rdi movl -120(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf leaq L_str(%rip), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Digite 10 numeros: " L_.str.1: ## @.str.1 .asciz "%d" L_.str.3: ## @.str.3 .asciz "Vetor D: " L_.str.4: ## @.str.4 .asciz "%d\t" L_.str.5: ## @.str.5 .asciz "Vetor E: " L_str: ## @str .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #56] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf add x20, sp, #16 str x20, [sp] Lloh5: adrp x19, l_.str.1@PAGE Lloh6: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf add x8, x20, #4 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #8 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #12 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #16 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #20 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #24 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #28 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #32 str x8, [sp] mov x0, x19 bl _scanf add x8, x20, #36 str x8, [sp] mov x0, x19 bl _scanf mov w0, #10 bl _putchar ldp w28, w20, [sp, #48] ldp w26, w27, [sp, #40] ldp w24, w25, [sp, #32] ldp w22, w23, [sp, #24] ldp w8, w21, [sp, #16] str x8, [sp, #8] ; 8-byte Folded Spill Lloh7: adrp x0, l_.str.3@PAGE Lloh8: add x0, x0, l_.str.3@PAGEOFF bl _printf ldr w8, [sp, #16] str x8, [sp] Lloh9: adrp x19, l_.str.4@PAGE Lloh10: add x19, x19, l_.str.4@PAGEOFF mov x0, x19 bl _printf ldr w8, [sp, #20] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #24] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #28] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #32] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #36] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #40] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #44] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #48] str x8, [sp] mov x0, x19 bl _printf ldr w8, [sp, #52] str x8, [sp] mov x0, x19 bl _printf mov w0, #10 bl _putchar Lloh11: adrp x0, l_.str.5@PAGE Lloh12: add x0, x0, l_.str.5@PAGEOFF bl _printf str x20, [sp] mov x0, x19 bl _printf str x28, [sp] mov x0, x19 bl _printf str x27, [sp] mov x0, x19 bl _printf str x26, [sp] mov x0, x19 bl _printf str x25, [sp] mov x0, x19 bl _printf str x24, [sp] mov x0, x19 bl _printf str x23, [sp] mov x0, x19 bl _printf str x22, [sp] mov x0, x19 bl _printf str x21, [sp] mov x0, x19 bl _printf ldr x8, [sp, #8] ; 8-byte Folded Reload str x8, [sp] mov x0, x19 bl _printf Lloh13: adrp x0, l_str@PAGE Lloh14: add x0, x0, l_str@PAGEOFF bl _puts ldr x8, [sp, #56] Lloh15: adrp x9, ___stack_chk_guard@GOTPAGE Lloh16: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh17: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: 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 add sp, sp, #160 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Digite 10 numeros: " l_.str.1: ; @.str.1 .asciz "%d" l_.str.3: ; @.str.3 .asciz "Vetor D: " l_.str.4: ; @.str.4 .asciz "%d\t" l_.str.5: ; @.str.5 .asciz "Vetor E: " l_str: ; @str .asciz "\n" .subsections_via_symbols
the_stack_data/100141211.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function porter_stemmer _porter_stemmer: ## @porter_stemmer .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 $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdx, %r15 ## kill: def $esi killed $esi def $rsi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leal -21(%rsi), %eax cmpl $-18, %eax jb LBB0_6 ## %bb.1: movl %esi, %r9d leaq -58(%rbp), %rcx movabsq $98784247808, %r12 ## imm = 0x1700000000 xorl %edx, %edx movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000 jmp LBB0_4 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_4 Depth=1 addb $32, %al LBB0_3: ## in Loop: Header=BB0_4 Depth=1 movb %al, (%rcx) incq %rdx decq %rcx addq %r8, %r12 cmpq %rdx, %r9 je LBB0_8 LBB0_4: ## =>This Inner Loop Header: Depth=1 movzbl (%rdi,%rdx), %eax leal -65(%rax), %ebx cmpb $25, %bl jbe LBB0_2 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 leal -97(%rax), %ebx cmpb $26, %bl jb LBB0_3 LBB0_6: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_118 ## %bb.7: ## kill: def $esi killed $esi killed $rsi movq %r15, %rdx movq %r14, %rcx addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _copy_stemmer ## TAILCALL LBB0_8: leaq -57(%rbp), %rdi xorl %esi, %esi movl $5, %edx callq _memset sarq $32, %r12 leaq (%r12,%rbp), %rax addq $-80, %rax movq %rax, -88(%rbp) cmpb $115, -80(%rbp,%r12) jne LBB0_13 ## %bb.9: leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rdx leaq -88(%rbp), %rdi xorl %ecx, %ecx callq _stem testq %rax, %rax jne LBB0_13 ## %bb.10: leaq L_.str.2(%rip), %rsi leaq L_.str.3(%rip), %rdx leaq -88(%rbp), %rdi xorl %ecx, %ecx callq _stem testq %rax, %rax jne LBB0_13 ## %bb.11: leaq L_.str.1(%rip), %rdx leaq -88(%rbp), %rdi movq %rdx, %rsi xorl %ecx, %ecx callq _stem testq %rax, %rax jne LBB0_13 ## %bb.12: incq -88(%rbp) LBB0_13: movq -88(%rbp), %rbx leaq L_.str.4(%rip), %rsi leaq L_.str.5(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax je LBB0_21 LBB0_14: movq -88(%rbp), %rdi cmpb $121, (%rdi) jne LBB0_17 ## %bb.15: incq %rdi callq _hasVowel testq %rax, %rax je LBB0_17 ## %bb.16: movq -88(%rbp), %rax movb $105, (%rax) LBB0_17: movq -88(%rbp), %rax movsbl 1(%rax), %eax addl $-97, %eax cmpl $19, %eax ja LBB0_38 ## %bb.18: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_19: leaq L_.str.15(%rip), %rsi leaq L_.str.10(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.20: leaq L_.str.16(%rip), %rsi leaq L_.str.17(%rip), %rdx jmp LBB0_37 LBB0_21: leaq L_.str.6(%rip), %rsi leaq L_.str.7(%rip), %rdx movq _hasVowel@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_23 ## %bb.22: leaq L_.str.8(%rip), %rsi leaq L_.str.7(%rip), %rdx movq _hasVowel@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax je LBB0_14 LBB0_23: cmpq %rbx, -88(%rbp) je LBB0_14 ## %bb.24: leaq L_.str.9(%rip), %rsi leaq L_.str.10(%rip), %rdx leaq -88(%rbp), %rdi xorl %ecx, %ecx callq _stem testq %rax, %rax jne LBB0_14 ## %bb.25: leaq L_.str.11(%rip), %rsi leaq L_.str.12(%rip), %rdx leaq -88(%rbp), %rdi xorl %ecx, %ecx callq _stem testq %rax, %rax jne LBB0_14 ## %bb.26: leaq L_.str.13(%rip), %rsi leaq L_.str.14(%rip), %rdx leaq -88(%rbp), %rdi xorl %ecx, %ecx callq _stem testq %rax, %rax jne LBB0_14 ## %bb.27: movq -88(%rbp), %rdi callq _doubleConsonant movq -88(%rbp), %rdi testq %rax, %rax je LBB0_30 ## %bb.28: movb (%rdi), %al addb $-108, %al cmpb $14, %al ja LBB0_117 ## %bb.29: movzbl %al, %eax movl $16513, %ecx ## imm = 0x4081 btq %rax, %rcx jae LBB0_117 LBB0_30: callq _m_eq_1 testq %rax, %rax je LBB0_14 ## %bb.31: movq -88(%rbp), %rdi callq _star_oh testq %rax, %rax je LBB0_14 ## %bb.32: movq -88(%rbp), %rax leaq -1(%rax), %rcx movq %rcx, -88(%rbp) movb $101, -1(%rax) jmp LBB0_14 LBB0_33: leaq L_.str.18(%rip), %rsi leaq L_.str.19(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.34: leaq L_.str.20(%rip), %rsi leaq L_.str.21(%rip), %rdx jmp LBB0_37 LBB0_35: leaq L_.str.22(%rip), %rsi leaq L_.str.14(%rip), %rdx jmp LBB0_37 LBB0_36: leaq L_.str.23(%rip), %rsi leaq L_.str.24(%rip), %rdx LBB0_37: movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem LBB0_38: movq -88(%rbp), %rax movsbl (%rax), %eax addl $-101, %eax cmpl $14, %eax ja LBB0_49 ## %bb.39: leaq LJTI0_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_40: leaq L_.str.46(%rip), %rsi leaq L_.str.47(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_49 ## %bb.41: leaq L_.str.48(%rip), %rsi leaq L_.str.7(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_49 ## %bb.42: leaq L_.str.49(%rip), %rsi leaq L_.str.27(%rip), %rdx jmp LBB0_48 LBB0_43: leaq L_.str.50(%rip), %rsi leaq L_.str.47(%rip), %rdx jmp LBB0_48 LBB0_44: leaq L_.str.51(%rip), %rsi leaq L_.str.47(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_49 ## %bb.45: leaq L_.str.52(%rip), %rsi jmp LBB0_47 LBB0_46: leaq L_.str.53(%rip), %rsi LBB0_47: leaq L_.str.7(%rip), %rdx LBB0_48: movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem LBB0_49: movq -88(%rbp), %rdi movsbl 1(%rdi), %eax addl $-97, %eax cmpl $25, %eax ja LBB0_99 ## %bb.50: leaq LJTI0_2(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_51: cmpb $101, (%rdi) je LBB0_89 jmp LBB0_99 LBB0_52: leaq L_.str.25(%rip), %rsi leaq L_.str.12(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.53: leaq L_.str.26(%rip), %rsi leaq L_.str.27(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.54: leaq L_.str.28(%rip), %rsi leaq L_.str.29(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.55: leaq L_.str.30(%rip), %rsi leaq L_.str.31(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.56: leaq L_.str.32(%rip), %rsi leaq L_.str.33(%rip), %rdx jmp LBB0_37 LBB0_57: leaq L_.str.34(%rip), %rsi leaq L_.str.14(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.58: leaq L_.str.35(%rip), %rsi leaq L_.str.10(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.59: leaq L_.str.36(%rip), %rsi leaq L_.str.10(%rip), %rdx jmp LBB0_37 LBB0_60: leaq L_.str.37(%rip), %rsi leaq L_.str.27(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.61: leaq L_.str.38(%rip), %rsi leaq L_.str.39(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.62: leaq L_.str.40(%rip), %rsi leaq L_.str.41(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.63: leaq L_.str.42(%rip), %rsi leaq L_.str.33(%rip), %rdx jmp LBB0_37 LBB0_64: leaq L_.str.43(%rip), %rsi leaq L_.str.27(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.65: leaq L_.str.44(%rip), %rsi leaq L_.str.39(%rip), %rdx movq _m_gt_0@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_38 ## %bb.66: leaq L_.str.45(%rip), %rsi leaq L_.str.12(%rip), %rdx jmp LBB0_37 LBB0_67: cmpb $108, (%rdi) jne LBB0_99 jmp LBB0_68 LBB0_70: cmpb $101, (%rdi) jne LBB0_99 ## %bb.71: cmpb $110, 2(%rdi) jne LBB0_99 ## %bb.72: movb 3(%rdi), %al orb $4, %al cmpb $101, %al je LBB0_73 jmp LBB0_99 LBB0_75: cmpb $114, (%rdi) je LBB0_68 jmp LBB0_99 LBB0_77: cmpb $99, (%rdi) je LBB0_68 jmp LBB0_99 LBB0_79: cmpb $101, (%rdi) jne LBB0_99 ## %bb.80: cmpb $98, 2(%rdi) jne LBB0_99 ## %bb.81: movb 3(%rdi), %al orb $8, %al cmpb $105, %al jne LBB0_99 LBB0_73: addq $4, %rdi callq _m_gt_1 testq %rax, %rax je LBB0_99 ## %bb.74: addq $4, -88(%rbp) jmp LBB0_99 LBB0_83: cmpb $116, (%rdi) jne LBB0_99 ## %bb.84: movb 2(%rdi), %al cmpb $101, %al je LBB0_114 ## %bb.85: cmpb $97, %al je LBB0_94 jmp LBB0_99 LBB0_86: cmpb $117, (%rdi) jne LBB0_96 LBB0_68: addq $2, %rdi callq _m_gt_1 testq %rax, %rax je LBB0_99 ## %bb.69: addq $2, -88(%rbp) jmp LBB0_99 LBB0_88: cmpb $109, (%rdi) jne LBB0_99 LBB0_89: cmpb $105, 2(%rdi) je LBB0_94 jmp LBB0_99 LBB0_90: leaq L_.str.58(%rip), %rsi leaq L_.str.7(%rip), %rdx movq _m_gt_1@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_99 ## %bb.91: leaq L_.str.59(%rip), %rsi jmp LBB0_98 LBB0_92: cmpb $115, (%rdi) jne LBB0_99 ## %bb.93: cmpb $111, 2(%rdi) jne LBB0_99 LBB0_94: addq $3, %rdi callq _m_gt_1 testq %rax, %rax je LBB0_99 ## %bb.95: addq $3, -88(%rbp) jmp LBB0_99 LBB0_96: movb 3(%rdi), %al addb $-115, %al cmpb $1, %al ja LBB0_99 ## %bb.97: leaq L_.str.57(%rip), %rsi LBB0_98: leaq L_.str.7(%rip), %rdx movq _m_gt_1@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem LBB0_99: movq -88(%rbp), %rdi cmpb $101, (%rdi) jne LBB0_102 ## %bb.100: incq %rdi callq _m_gt_1 movq -88(%rbp), %rdi incq %rdi testq %rax, %rax je LBB0_111 ## %bb.101: movq %rdi, -88(%rbp) LBB0_102: movq -88(%rbp), %rdi callq _m_gt_1 movq -88(%rbp), %rdi testq %rax, %rax je LBB0_106 ## %bb.103: cmpb $108, (%rdi) jne LBB0_106 ## %bb.104: cmpb $108, 1(%rdi) jne LBB0_106 ## %bb.105: incq %rdi movq %rdi, -88(%rbp) LBB0_106: callq _strlen movl %eax, (%r14) movslq %eax, %rcx movb $0, (%r15,%rcx) movq -88(%rbp), %rax cmpb $0, (%rax) je LBB0_109 ## %bb.107: addq %r15, %rcx decq %rcx incq %rax .p2align 4, 0x90 LBB0_108: ## =>This Inner Loop Header: Depth=1 movq %rax, -88(%rbp) movzbl -1(%rax), %edx movb %dl, (%rcx) decq %rcx cmpb $0, (%rax) leaq 1(%rax), %rax jne LBB0_108 LBB0_109: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_118 ## %bb.110: addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_111: callq _m_eq_1 testq %rax, %rax je LBB0_102 ## %bb.112: movq -88(%rbp), %rdi incq %rdi callq _star_oh testq %rax, %rax jne LBB0_102 ## %bb.113: incq -88(%rbp) jmp LBB0_102 LBB0_114: leaq L_.str.54(%rip), %rsi leaq L_.str.7(%rip), %rdx movq _m_gt_1@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_99 ## %bb.115: leaq L_.str.55(%rip), %rsi leaq L_.str.7(%rip), %rdx movq _m_gt_1@GOTPCREL(%rip), %rcx leaq -88(%rbp), %rdi callq _stem testq %rax, %rax jne LBB0_99 ## %bb.116: leaq L_.str.56(%rip), %rsi jmp LBB0_98 LBB0_117: incq %rdi movq %rdi, -88(%rbp) jmp LBB0_14 LBB0_118: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_38, LBB0_38-LJTI0_0 .set L0_0_set_33, LBB0_33-LJTI0_0 .set L0_0_set_35, LBB0_35-LJTI0_0 .set L0_0_set_36, LBB0_36-LJTI0_0 .set L0_0_set_52, LBB0_52-LJTI0_0 .set L0_0_set_57, LBB0_57-LJTI0_0 .set L0_0_set_60, LBB0_60-LJTI0_0 .set L0_0_set_64, LBB0_64-LJTI0_0 LJTI0_0: .long L0_0_set_19 .long L0_0_set_38 .long L0_0_set_33 .long L0_0_set_38 .long L0_0_set_35 .long L0_0_set_38 .long L0_0_set_36 .long L0_0_set_38 .long L0_0_set_38 .long L0_0_set_38 .long L0_0_set_38 .long L0_0_set_52 .long L0_0_set_38 .long L0_0_set_38 .long L0_0_set_57 .long L0_0_set_38 .long L0_0_set_38 .long L0_0_set_38 .long L0_0_set_60 .long L0_0_set_64 .set L0_1_set_40, LBB0_40-LJTI0_1 .set L0_1_set_49, LBB0_49-LJTI0_1 .set L0_1_set_43, LBB0_43-LJTI0_1 .set L0_1_set_44, LBB0_44-LJTI0_1 .set L0_1_set_46, LBB0_46-LJTI0_1 LJTI0_1: .long L0_1_set_40 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_43 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_44 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_49 .long L0_1_set_46 .set L0_2_set_67, LBB0_67-LJTI0_2 .set L0_2_set_99, LBB0_99-LJTI0_2 .set L0_2_set_70, LBB0_70-LJTI0_2 .set L0_2_set_75, LBB0_75-LJTI0_2 .set L0_2_set_77, LBB0_77-LJTI0_2 .set L0_2_set_79, LBB0_79-LJTI0_2 .set L0_2_set_83, LBB0_83-LJTI0_2 .set L0_2_set_86, LBB0_86-LJTI0_2 .set L0_2_set_88, LBB0_88-LJTI0_2 .set L0_2_set_90, LBB0_90-LJTI0_2 .set L0_2_set_92, LBB0_92-LJTI0_2 .set L0_2_set_51, LBB0_51-LJTI0_2 LJTI0_2: .long L0_2_set_67 .long L0_2_set_99 .long L0_2_set_70 .long L0_2_set_99 .long L0_2_set_75 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_77 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_79 .long L0_2_set_99 .long L0_2_set_83 .long L0_2_set_86 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_88 .long L0_2_set_90 .long L0_2_set_92 .long L0_2_set_51 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_99 .long L0_2_set_51 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sess" L_.str.1: ## @.str.1 .asciz "ss" L_.str.2: ## @.str.2 .asciz "sei" L_.str.3: ## @.str.3 .asciz "i" L_.str.4: ## @.str.4 .asciz "dee" L_.str.5: ## @.str.5 .asciz "ee" L_.str.6: ## @.str.6 .asciz "gni" L_.str.7: ## @.str.7 .space 1 L_.str.8: ## @.str.8 .asciz "de" L_.str.9: ## @.str.9 .asciz "ta" L_.str.10: ## @.str.10 .asciz "ate" L_.str.11: ## @.str.11 .asciz "lb" L_.str.12: ## @.str.12 .asciz "ble" L_.str.13: ## @.str.13 .asciz "zi" L_.str.14: ## @.str.14 .asciz "ize" L_.str.15: ## @.str.15 .asciz "lanoita" L_.str.16: ## @.str.16 .asciz "lanoit" L_.str.17: ## @.str.17 .asciz "tion" L_.str.18: ## @.str.18 .asciz "icne" L_.str.19: ## @.str.19 .asciz "ence" L_.str.20: ## @.str.20 .asciz "icna" L_.str.21: ## @.str.21 .asciz "ance" L_.str.22: ## @.str.22 .asciz "rezi" L_.str.23: ## @.str.23 .asciz "igol" L_.str.24: ## @.str.24 .asciz "log" L_.str.25: ## @.str.25 .asciz "ilb" L_.str.26: ## @.str.26 .asciz "illa" L_.str.27: ## @.str.27 .asciz "al" L_.str.28: ## @.str.28 .asciz "iltne" L_.str.29: ## @.str.29 .asciz "ent" L_.str.30: ## @.str.30 .asciz "ile" L_.str.31: ## @.str.31 .asciz "e" L_.str.32: ## @.str.32 .asciz "ilsuo" L_.str.33: ## @.str.33 .asciz "ous" L_.str.34: ## @.str.34 .asciz "noitazi" L_.str.35: ## @.str.35 .asciz "noita" L_.str.36: ## @.str.36 .asciz "rota" L_.str.37: ## @.str.37 .asciz "msila" L_.str.38: ## @.str.38 .asciz "ssenevi" L_.str.39: ## @.str.39 .asciz "ive" L_.str.40: ## @.str.40 .asciz "ssenluf" L_.str.41: ## @.str.41 .asciz "ful" L_.str.42: ## @.str.42 .asciz "ssensuo" L_.str.43: ## @.str.43 .asciz "itila" L_.str.44: ## @.str.44 .asciz "itivi" L_.str.45: ## @.str.45 .asciz "itilib" L_.str.46: ## @.str.46 .asciz "etaci" L_.str.47: ## @.str.47 .asciz "ic" L_.str.48: ## @.str.48 .asciz "evita" L_.str.49: ## @.str.49 .asciz "ezila" L_.str.50: ## @.str.50 .asciz "itici" L_.str.51: ## @.str.51 .asciz "laci" L_.str.52: ## @.str.52 .asciz "luf" L_.str.53: ## @.str.53 .asciz "ssen" L_.str.54: ## @.str.54 .asciz "tneme" L_.str.55: ## @.str.55 .asciz "tnem" L_.str.56: ## @.str.56 .asciz "tne" L_.str.57: ## @.str.57 .asciz "noi" L_.str.58: ## @.str.58 .asciz "eta" L_.str.59: ## @.str.59 .asciz "iti" .no_dead_strip _porter_stemmer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function porter_stemmer _porter_stemmer: ; @porter_stemmer .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x3 mov x19, x2 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] sub w8, w1, #21 cmn w8, #18 b.lo LBB0_6 ; %bb.1: mov x8, #0 mov w9, w1 add x10, sp, #12 add x10, x10, #22 mov x21, #98784247808 mov x11, #-4294967296 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w12, w12, #32 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 strb w12, [x10], #-1 add x8, x8, #1 add x21, x21, x11 cmp x9, x8 b.eq LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x0, x8] sub w13, w12, #65 cmp w13, #25 b.ls LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 sub w13, w12, #97 cmp w13, #26 b.lo LBB0_3 LBB0_6: 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_116 ; %bb.7: mov x2, x19 mov x3, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 b _copy_stemmer LBB0_8: add x22, sp, #12 add x0, x22, #23 mov w1, #0 mov w2, #5 bl _memset add x8, x22, x21, asr #32 str x8, [sp] ldrb w8, [x8] cmp w8, #115 b.ne LBB0_13 ; %bb.9: Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF Lloh8: adrp x2, l_.str.1@PAGE Lloh9: add x2, x2, l_.str.1@PAGEOFF mov x0, sp mov x3, #0 bl _stem cbnz x0, LBB0_13 ; %bb.10: Lloh10: adrp x1, l_.str.2@PAGE Lloh11: add x1, x1, l_.str.2@PAGEOFF Lloh12: adrp x2, l_.str.3@PAGE Lloh13: add x2, x2, l_.str.3@PAGEOFF mov x0, sp mov x3, #0 bl _stem cbnz x0, LBB0_13 ; %bb.11: Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF mov x0, sp mov x2, x1 mov x3, #0 bl _stem cbnz x0, LBB0_13 ; %bb.12: ldr x8, [sp] add x8, x8, #1 str x8, [sp] LBB0_13: ldr x21, [sp] Lloh16: adrp x1, l_.str.4@PAGE Lloh17: add x1, x1, l_.str.4@PAGEOFF Lloh18: adrp x2, l_.str.5@PAGE Lloh19: add x2, x2, l_.str.5@PAGEOFF Lloh20: adrp x3, _m_gt_0@GOTPAGE Lloh21: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbz x0, LBB0_21 LBB0_14: ldr x8, [sp] ldrb w9, [x8] cmp w9, #121 b.ne LBB0_17 ; %bb.15: add x0, x8, #1 bl _hasVowel cbz x0, LBB0_17 ; %bb.16: ldr x8, [sp] mov w9, #105 strb w9, [x8] LBB0_17: ldr x8, [sp] ldrsb w8, [x8, #1] sub w8, w8, #97 cmp w8, #19 b.hi LBB0_38 ; %bb.18: Lloh22: adrp x9, lJTI0_0@PAGE Lloh23: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_19 ldrh w11, [x9, x8, lsl #1] add x10, x10, x11, lsl #2 br x10 LBB0_19: Lloh24: adrp x1, l_.str.15@PAGE Lloh25: add x1, x1, l_.str.15@PAGEOFF Lloh26: adrp x2, l_.str.10@PAGE Lloh27: add x2, x2, l_.str.10@PAGEOFF Lloh28: adrp x3, _m_gt_0@GOTPAGE Lloh29: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.20: Lloh30: adrp x1, l_.str.16@PAGE Lloh31: add x1, x1, l_.str.16@PAGEOFF Lloh32: adrp x2, l_.str.17@PAGE Lloh33: add x2, x2, l_.str.17@PAGEOFF b LBB0_37 LBB0_21: Lloh34: adrp x1, l_.str.6@PAGE Lloh35: add x1, x1, l_.str.6@PAGEOFF Lloh36: adrp x2, l_.str.7@PAGE Lloh37: add x2, x2, l_.str.7@PAGEOFF Lloh38: adrp x3, _hasVowel@GOTPAGE Lloh39: ldr x3, [x3, _hasVowel@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_23 ; %bb.22: Lloh40: adrp x1, l_.str.8@PAGE Lloh41: add x1, x1, l_.str.8@PAGEOFF Lloh42: adrp x2, l_.str.7@PAGE Lloh43: add x2, x2, l_.str.7@PAGEOFF Lloh44: adrp x3, _hasVowel@GOTPAGE Lloh45: ldr x3, [x3, _hasVowel@GOTPAGEOFF] mov x0, sp bl _stem cbz x0, LBB0_14 LBB0_23: ldr x8, [sp] cmp x8, x21 b.eq LBB0_14 ; %bb.24: Lloh46: adrp x1, l_.str.9@PAGE Lloh47: add x1, x1, l_.str.9@PAGEOFF Lloh48: adrp x2, l_.str.10@PAGE Lloh49: add x2, x2, l_.str.10@PAGEOFF mov x0, sp mov x3, #0 bl _stem cbnz x0, LBB0_14 ; %bb.25: Lloh50: adrp x1, l_.str.11@PAGE Lloh51: add x1, x1, l_.str.11@PAGEOFF Lloh52: adrp x2, l_.str.12@PAGE Lloh53: add x2, x2, l_.str.12@PAGEOFF mov x0, sp mov x3, #0 bl _stem cbnz x0, LBB0_14 ; %bb.26: Lloh54: adrp x1, l_.str.13@PAGE Lloh55: add x1, x1, l_.str.13@PAGEOFF Lloh56: adrp x2, l_.str.14@PAGE Lloh57: add x2, x2, l_.str.14@PAGEOFF mov x0, sp mov x3, #0 bl _stem cbnz x0, LBB0_14 ; %bb.27: ldr x0, [sp] bl _doubleConsonant mov x8, x0 ldr x0, [sp] cbz x8, LBB0_30 ; %bb.28: ldrb w8, [x0] sub w8, w8, #108 cmp w8, #14 b.hi LBB0_115 ; %bb.29: mov w9, #1 lsl w8, w9, w8 mov w9, #16513 tst w8, w9 b.eq LBB0_115 LBB0_30: bl _m_eq_1 cbz x0, LBB0_14 ; %bb.31: ldr x0, [sp] bl _star_oh cbz x0, LBB0_14 ; %bb.32: ldr x8, [sp] sub x9, x8, #1 str x9, [sp] mov w9, #101 sturb w9, [x8, #-1] b LBB0_14 LBB0_33: Lloh58: adrp x1, l_.str.18@PAGE Lloh59: add x1, x1, l_.str.18@PAGEOFF Lloh60: adrp x2, l_.str.19@PAGE Lloh61: add x2, x2, l_.str.19@PAGEOFF Lloh62: adrp x3, _m_gt_0@GOTPAGE Lloh63: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.34: Lloh64: adrp x1, l_.str.20@PAGE Lloh65: add x1, x1, l_.str.20@PAGEOFF Lloh66: adrp x2, l_.str.21@PAGE Lloh67: add x2, x2, l_.str.21@PAGEOFF b LBB0_37 LBB0_35: Lloh68: adrp x1, l_.str.22@PAGE Lloh69: add x1, x1, l_.str.22@PAGEOFF Lloh70: adrp x2, l_.str.14@PAGE Lloh71: add x2, x2, l_.str.14@PAGEOFF b LBB0_37 LBB0_36: Lloh72: adrp x1, l_.str.23@PAGE Lloh73: add x1, x1, l_.str.23@PAGEOFF Lloh74: adrp x2, l_.str.24@PAGE Lloh75: add x2, x2, l_.str.24@PAGEOFF LBB0_37: Lloh76: adrp x3, _m_gt_0@GOTPAGE Lloh77: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem LBB0_38: ldr x8, [sp] ldrsb w8, [x8] sub w8, w8, #101 cmp w8, #14 b.hi LBB0_49 ; %bb.39: Lloh78: adrp x9, lJTI0_1@PAGE Lloh79: add x9, x9, lJTI0_1@PAGEOFF adr x10, LBB0_40 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_40: Lloh80: adrp x1, l_.str.46@PAGE Lloh81: add x1, x1, l_.str.46@PAGEOFF Lloh82: adrp x2, l_.str.47@PAGE Lloh83: add x2, x2, l_.str.47@PAGEOFF Lloh84: adrp x3, _m_gt_0@GOTPAGE Lloh85: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_49 ; %bb.41: Lloh86: adrp x1, l_.str.48@PAGE Lloh87: add x1, x1, l_.str.48@PAGEOFF Lloh88: adrp x2, l_.str.7@PAGE Lloh89: add x2, x2, l_.str.7@PAGEOFF Lloh90: adrp x3, _m_gt_0@GOTPAGE Lloh91: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_49 ; %bb.42: Lloh92: adrp x1, l_.str.49@PAGE Lloh93: add x1, x1, l_.str.49@PAGEOFF Lloh94: adrp x2, l_.str.27@PAGE Lloh95: add x2, x2, l_.str.27@PAGEOFF b LBB0_48 LBB0_43: Lloh96: adrp x1, l_.str.50@PAGE Lloh97: add x1, x1, l_.str.50@PAGEOFF Lloh98: adrp x2, l_.str.47@PAGE Lloh99: add x2, x2, l_.str.47@PAGEOFF b LBB0_48 LBB0_44: Lloh100: adrp x1, l_.str.51@PAGE Lloh101: add x1, x1, l_.str.51@PAGEOFF Lloh102: adrp x2, l_.str.47@PAGE Lloh103: add x2, x2, l_.str.47@PAGEOFF Lloh104: adrp x3, _m_gt_0@GOTPAGE Lloh105: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_49 ; %bb.45: Lloh106: adrp x1, l_.str.52@PAGE Lloh107: add x1, x1, l_.str.52@PAGEOFF b LBB0_47 LBB0_46: Lloh108: adrp x1, l_.str.53@PAGE Lloh109: add x1, x1, l_.str.53@PAGEOFF LBB0_47: Lloh110: adrp x2, l_.str.7@PAGE Lloh111: add x2, x2, l_.str.7@PAGEOFF LBB0_48: Lloh112: adrp x3, _m_gt_0@GOTPAGE Lloh113: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem LBB0_49: ldr x8, [sp] ldrsb w9, [x8, #1] sub w9, w9, #97 cmp w9, #25 b.hi LBB0_97 ; %bb.50: Lloh114: adrp x10, lJTI0_2@PAGE Lloh115: add x10, x10, lJTI0_2@PAGEOFF adr x11, LBB0_51 ldrb w12, [x10, x9] add x11, x11, x12, lsl #2 br x11 LBB0_51: ldrb w9, [x8] cmp w9, #101 b.eq LBB0_86 b LBB0_97 LBB0_52: Lloh116: adrp x1, l_.str.25@PAGE Lloh117: add x1, x1, l_.str.25@PAGEOFF Lloh118: adrp x2, l_.str.12@PAGE Lloh119: add x2, x2, l_.str.12@PAGEOFF Lloh120: adrp x3, _m_gt_0@GOTPAGE Lloh121: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.53: Lloh122: adrp x1, l_.str.26@PAGE Lloh123: add x1, x1, l_.str.26@PAGEOFF Lloh124: adrp x2, l_.str.27@PAGE Lloh125: add x2, x2, l_.str.27@PAGEOFF Lloh126: adrp x3, _m_gt_0@GOTPAGE Lloh127: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.54: Lloh128: adrp x1, l_.str.28@PAGE Lloh129: add x1, x1, l_.str.28@PAGEOFF Lloh130: adrp x2, l_.str.29@PAGE Lloh131: add x2, x2, l_.str.29@PAGEOFF Lloh132: adrp x3, _m_gt_0@GOTPAGE Lloh133: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.55: Lloh134: adrp x1, l_.str.30@PAGE Lloh135: add x1, x1, l_.str.30@PAGEOFF Lloh136: adrp x2, l_.str.31@PAGE Lloh137: add x2, x2, l_.str.31@PAGEOFF Lloh138: adrp x3, _m_gt_0@GOTPAGE Lloh139: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.56: Lloh140: adrp x1, l_.str.32@PAGE Lloh141: add x1, x1, l_.str.32@PAGEOFF b LBB0_64 LBB0_57: Lloh142: adrp x1, l_.str.34@PAGE Lloh143: add x1, x1, l_.str.34@PAGEOFF Lloh144: adrp x2, l_.str.14@PAGE Lloh145: add x2, x2, l_.str.14@PAGEOFF Lloh146: adrp x3, _m_gt_0@GOTPAGE Lloh147: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.58: Lloh148: adrp x1, l_.str.35@PAGE Lloh149: add x1, x1, l_.str.35@PAGEOFF Lloh150: adrp x2, l_.str.10@PAGE Lloh151: add x2, x2, l_.str.10@PAGEOFF Lloh152: adrp x3, _m_gt_0@GOTPAGE Lloh153: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.59: Lloh154: adrp x1, l_.str.36@PAGE Lloh155: add x1, x1, l_.str.36@PAGEOFF Lloh156: adrp x2, l_.str.10@PAGE Lloh157: add x2, x2, l_.str.10@PAGEOFF b LBB0_37 LBB0_60: Lloh158: adrp x1, l_.str.37@PAGE Lloh159: add x1, x1, l_.str.37@PAGEOFF Lloh160: adrp x2, l_.str.27@PAGE Lloh161: add x2, x2, l_.str.27@PAGEOFF Lloh162: adrp x3, _m_gt_0@GOTPAGE Lloh163: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.61: Lloh164: adrp x1, l_.str.38@PAGE Lloh165: add x1, x1, l_.str.38@PAGEOFF Lloh166: adrp x2, l_.str.39@PAGE Lloh167: add x2, x2, l_.str.39@PAGEOFF Lloh168: adrp x3, _m_gt_0@GOTPAGE Lloh169: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.62: Lloh170: adrp x1, l_.str.40@PAGE Lloh171: add x1, x1, l_.str.40@PAGEOFF Lloh172: adrp x2, l_.str.41@PAGE Lloh173: add x2, x2, l_.str.41@PAGEOFF Lloh174: adrp x3, _m_gt_0@GOTPAGE Lloh175: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.63: Lloh176: adrp x1, l_.str.42@PAGE Lloh177: add x1, x1, l_.str.42@PAGEOFF LBB0_64: Lloh178: adrp x2, l_.str.33@PAGE Lloh179: add x2, x2, l_.str.33@PAGEOFF b LBB0_37 LBB0_65: Lloh180: adrp x1, l_.str.43@PAGE Lloh181: add x1, x1, l_.str.43@PAGEOFF Lloh182: adrp x2, l_.str.27@PAGE Lloh183: add x2, x2, l_.str.27@PAGEOFF Lloh184: adrp x3, _m_gt_0@GOTPAGE Lloh185: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.66: Lloh186: adrp x1, l_.str.44@PAGE Lloh187: add x1, x1, l_.str.44@PAGEOFF Lloh188: adrp x2, l_.str.39@PAGE Lloh189: add x2, x2, l_.str.39@PAGEOFF Lloh190: adrp x3, _m_gt_0@GOTPAGE Lloh191: ldr x3, [x3, _m_gt_0@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_38 ; %bb.67: Lloh192: adrp x1, l_.str.45@PAGE Lloh193: add x1, x1, l_.str.45@PAGEOFF Lloh194: adrp x2, l_.str.12@PAGE Lloh195: add x2, x2, l_.str.12@PAGEOFF b LBB0_37 LBB0_68: ldrb w9, [x8] cmp w9, #108 b.eq LBB0_83 b LBB0_97 LBB0_69: ldrb w9, [x8] cmp w9, #101 b.ne LBB0_97 ; %bb.70: ldrb w9, [x8, #2] cmp w9, #110 b.ne LBB0_97 ; %bb.71: ldrb w9, [x8, #3] orr w9, w9, #0x4 cmp w9, #101 b.eq LBB0_77 b LBB0_97 LBB0_72: ldrb w9, [x8] cmp w9, #114 b.eq LBB0_83 b LBB0_97 LBB0_73: ldrb w9, [x8] cmp w9, #99 b.eq LBB0_83 b LBB0_97 LBB0_74: ldrb w9, [x8] cmp w9, #101 b.ne LBB0_97 ; %bb.75: ldrb w9, [x8, #2] cmp w9, #98 b.ne LBB0_97 ; %bb.76: ldrb w9, [x8, #3] orr w9, w9, #0x8 cmp w9, #105 b.ne LBB0_97 LBB0_77: add x0, x8, #4 bl _m_gt_1 cbz x0, LBB0_97 ; %bb.78: ldr x8, [sp] add x8, x8, #4 b LBB0_93 LBB0_79: ldrb w9, [x8] cmp w9, #116 b.ne LBB0_97 ; %bb.80: ldrb w9, [x8, #2] cmp w9, #101 b.eq LBB0_112 ; %bb.81: cmp w9, #97 b.eq LBB0_91 b LBB0_97 LBB0_82: ldrb w9, [x8] cmp w9, #117 b.ne LBB0_94 LBB0_83: add x0, x8, #2 bl _m_gt_1 cbz x0, LBB0_97 ; %bb.84: ldr x8, [sp] add x8, x8, #2 b LBB0_93 LBB0_85: ldrb w9, [x8] cmp w9, #109 b.ne LBB0_97 LBB0_86: ldrb w9, [x8, #2] cmp w9, #105 b.eq LBB0_91 b LBB0_97 LBB0_87: Lloh196: adrp x1, l_.str.58@PAGE Lloh197: add x1, x1, l_.str.58@PAGEOFF Lloh198: adrp x2, l_.str.7@PAGE Lloh199: add x2, x2, l_.str.7@PAGEOFF Lloh200: adrp x3, _m_gt_1@GOTPAGE Lloh201: ldr x3, [x3, _m_gt_1@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_97 ; %bb.88: Lloh202: adrp x1, l_.str.59@PAGE Lloh203: add x1, x1, l_.str.59@PAGEOFF b LBB0_96 LBB0_89: ldrb w9, [x8] cmp w9, #115 b.ne LBB0_97 ; %bb.90: ldrb w9, [x8, #2] cmp w9, #111 b.ne LBB0_97 LBB0_91: add x0, x8, #3 bl _m_gt_1 cbz x0, LBB0_97 ; %bb.92: ldr x8, [sp] add x8, x8, #3 LBB0_93: str x8, [sp] b LBB0_97 LBB0_94: ldrb w8, [x8, #3] sub w8, w8, #115 cmp w8, #1 b.hi LBB0_97 ; %bb.95: Lloh204: adrp x1, l_.str.57@PAGE Lloh205: add x1, x1, l_.str.57@PAGEOFF LBB0_96: Lloh206: adrp x2, l_.str.7@PAGE Lloh207: add x2, x2, l_.str.7@PAGEOFF Lloh208: adrp x3, _m_gt_1@GOTPAGE Lloh209: ldr x3, [x3, _m_gt_1@GOTPAGEOFF] mov x0, sp bl _stem LBB0_97: ldr x8, [sp] ldrb w9, [x8] cmp w9, #101 b.ne LBB0_100 ; %bb.98: add x0, x8, #1 bl _m_gt_1 mov x8, x0 ldr x9, [sp] add x0, x9, #1 cbz x8, LBB0_109 ; %bb.99: str x0, [sp] LBB0_100: ldr x0, [sp] bl _m_gt_1 mov x8, x0 ldr x0, [sp] cbz x8, LBB0_104 ; %bb.101: ldrb w8, [x0] cmp w8, #108 b.ne LBB0_104 ; %bb.102: mov x8, x0 ldrb w9, [x8, #1]! cmp w9, #108 b.ne LBB0_104 ; %bb.103: str x8, [sp] mov x0, x8 LBB0_104: bl _strlen ; kill: def $w0 killed $w0 def $x0 str w0, [x20] sxtw x8, w0 strb wzr, [x19, x8] ldr x9, [sp] ldrb w10, [x9] cbz w10, LBB0_107 ; %bb.105: add x8, x8, x19 sub x8, x8, #1 add x9, x9, #1 LBB0_106: ; =>This Inner Loop Header: Depth=1 str x9, [sp] ldurb w10, [x9, #-1] strb w10, [x8], #-1 ldrb w10, [x9], #1 cbnz w10, LBB0_106 LBB0_107: ldr x8, [sp, #40] Lloh210: adrp x9, ___stack_chk_guard@GOTPAGE Lloh211: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh212: ldr x9, [x9] cmp x9, x8 b.ne LBB0_116 ; %bb.108: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_109: bl _m_eq_1 cbz x0, LBB0_100 ; %bb.110: ldr x8, [sp] add x0, x8, #1 bl _star_oh cbnz x0, LBB0_100 ; %bb.111: ldr x8, [sp] add x8, x8, #1 str x8, [sp] b LBB0_100 LBB0_112: Lloh213: adrp x1, l_.str.54@PAGE Lloh214: add x1, x1, l_.str.54@PAGEOFF Lloh215: adrp x2, l_.str.7@PAGE Lloh216: add x2, x2, l_.str.7@PAGEOFF Lloh217: adrp x3, _m_gt_1@GOTPAGE Lloh218: ldr x3, [x3, _m_gt_1@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_97 ; %bb.113: Lloh219: adrp x1, l_.str.55@PAGE Lloh220: add x1, x1, l_.str.55@PAGEOFF Lloh221: adrp x2, l_.str.7@PAGE Lloh222: add x2, x2, l_.str.7@PAGEOFF Lloh223: adrp x3, _m_gt_1@GOTPAGE Lloh224: ldr x3, [x3, _m_gt_1@GOTPAGEOFF] mov x0, sp bl _stem cbnz x0, LBB0_97 ; %bb.114: Lloh225: adrp x1, l_.str.56@PAGE Lloh226: add x1, x1, l_.str.56@PAGEOFF b LBB0_96 LBB0_115: add x8, x0, #1 str x8, [sp] b LBB0_14 LBB0_116: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpLdrGot Lloh62, Lloh63 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpLdrGot Lloh76, Lloh77 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGot Lloh84, Lloh85 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpLdrGot Lloh90, Lloh91 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpLdrGot Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpLdrGot Lloh112, Lloh113 .loh AdrpAdd Lloh114, Lloh115 .loh AdrpLdrGot Lloh120, Lloh121 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpLdrGot Lloh126, Lloh127 .loh AdrpAdd Lloh124, Lloh125 .loh AdrpAdd Lloh122, Lloh123 .loh AdrpLdrGot Lloh132, Lloh133 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGot Lloh138, Lloh139 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpAdd Lloh134, Lloh135 .loh AdrpAdd Lloh140, Lloh141 .loh AdrpLdrGot Lloh146, Lloh147 .loh AdrpAdd Lloh144, Lloh145 .loh AdrpAdd Lloh142, Lloh143 .loh AdrpLdrGot Lloh152, Lloh153 .loh AdrpAdd Lloh150, Lloh151 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpAdd Lloh156, Lloh157 .loh AdrpAdd Lloh154, Lloh155 .loh AdrpLdrGot Lloh162, Lloh163 .loh AdrpAdd Lloh160, Lloh161 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGot Lloh168, Lloh169 .loh AdrpAdd Lloh166, Lloh167 .loh AdrpAdd Lloh164, Lloh165 .loh AdrpLdrGot Lloh174, Lloh175 .loh AdrpAdd Lloh172, Lloh173 .loh AdrpAdd Lloh170, Lloh171 .loh AdrpAdd Lloh176, Lloh177 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpLdrGot Lloh184, Lloh185 .loh AdrpAdd Lloh182, Lloh183 .loh AdrpAdd Lloh180, Lloh181 .loh AdrpLdrGot Lloh190, Lloh191 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpAdd Lloh186, Lloh187 .loh AdrpAdd Lloh194, Lloh195 .loh AdrpAdd Lloh192, Lloh193 .loh AdrpLdrGot Lloh200, Lloh201 .loh AdrpAdd Lloh198, Lloh199 .loh AdrpAdd Lloh196, Lloh197 .loh AdrpAdd Lloh202, Lloh203 .loh AdrpAdd Lloh204, Lloh205 .loh AdrpLdrGot Lloh208, Lloh209 .loh AdrpAdd Lloh206, Lloh207 .loh AdrpLdrGotLdr Lloh210, Lloh211, Lloh212 .loh AdrpLdrGot Lloh217, Lloh218 .loh AdrpAdd Lloh215, Lloh216 .loh AdrpAdd Lloh213, Lloh214 .loh AdrpLdrGot Lloh223, Lloh224 .loh AdrpAdd Lloh221, Lloh222 .loh AdrpAdd Lloh219, Lloh220 .loh AdrpAdd Lloh225, Lloh226 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI0_0: .short (LBB0_19-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_33-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_35-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_36-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_52-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_57-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_38-LBB0_19)>>2 .short (LBB0_60-LBB0_19)>>2 .short (LBB0_65-LBB0_19)>>2 lJTI0_1: .byte (LBB0_40-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_43-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_44-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_49-LBB0_40)>>2 .byte (LBB0_46-LBB0_40)>>2 lJTI0_2: .byte (LBB0_68-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_69-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_72-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_73-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_74-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_79-LBB0_51)>>2 .byte (LBB0_82-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_85-LBB0_51)>>2 .byte (LBB0_87-LBB0_51)>>2 .byte (LBB0_89-LBB0_51)>>2 .byte (LBB0_51-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_97-LBB0_51)>>2 .byte (LBB0_51-LBB0_51)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sess" l_.str.1: ; @.str.1 .asciz "ss" l_.str.2: ; @.str.2 .asciz "sei" l_.str.3: ; @.str.3 .asciz "i" l_.str.4: ; @.str.4 .asciz "dee" l_.str.5: ; @.str.5 .asciz "ee" l_.str.6: ; @.str.6 .asciz "gni" l_.str.7: ; @.str.7 .space 1 l_.str.8: ; @.str.8 .asciz "de" l_.str.9: ; @.str.9 .asciz "ta" l_.str.10: ; @.str.10 .asciz "ate" l_.str.11: ; @.str.11 .asciz "lb" l_.str.12: ; @.str.12 .asciz "ble" l_.str.13: ; @.str.13 .asciz "zi" l_.str.14: ; @.str.14 .asciz "ize" l_.str.15: ; @.str.15 .asciz "lanoita" l_.str.16: ; @.str.16 .asciz "lanoit" l_.str.17: ; @.str.17 .asciz "tion" l_.str.18: ; @.str.18 .asciz "icne" l_.str.19: ; @.str.19 .asciz "ence" l_.str.20: ; @.str.20 .asciz "icna" l_.str.21: ; @.str.21 .asciz "ance" l_.str.22: ; @.str.22 .asciz "rezi" l_.str.23: ; @.str.23 .asciz "igol" l_.str.24: ; @.str.24 .asciz "log" l_.str.25: ; @.str.25 .asciz "ilb" l_.str.26: ; @.str.26 .asciz "illa" l_.str.27: ; @.str.27 .asciz "al" l_.str.28: ; @.str.28 .asciz "iltne" l_.str.29: ; @.str.29 .asciz "ent" l_.str.30: ; @.str.30 .asciz "ile" l_.str.31: ; @.str.31 .asciz "e" l_.str.32: ; @.str.32 .asciz "ilsuo" l_.str.33: ; @.str.33 .asciz "ous" l_.str.34: ; @.str.34 .asciz "noitazi" l_.str.35: ; @.str.35 .asciz "noita" l_.str.36: ; @.str.36 .asciz "rota" l_.str.37: ; @.str.37 .asciz "msila" l_.str.38: ; @.str.38 .asciz "ssenevi" l_.str.39: ; @.str.39 .asciz "ive" l_.str.40: ; @.str.40 .asciz "ssenluf" l_.str.41: ; @.str.41 .asciz "ful" l_.str.42: ; @.str.42 .asciz "ssensuo" l_.str.43: ; @.str.43 .asciz "itila" l_.str.44: ; @.str.44 .asciz "itivi" l_.str.45: ; @.str.45 .asciz "itilib" l_.str.46: ; @.str.46 .asciz "etaci" l_.str.47: ; @.str.47 .asciz "ic" l_.str.48: ; @.str.48 .asciz "evita" l_.str.49: ; @.str.49 .asciz "ezila" l_.str.50: ; @.str.50 .asciz "itici" l_.str.51: ; @.str.51 .asciz "laci" l_.str.52: ; @.str.52 .asciz "luf" l_.str.53: ; @.str.53 .asciz "ssen" l_.str.54: ; @.str.54 .asciz "tneme" l_.str.55: ; @.str.55 .asciz "tnem" l_.str.56: ; @.str.56 .asciz "tne" l_.str.57: ; @.str.57 .asciz "noi" l_.str.58: ; @.str.58 .asciz "eta" l_.str.59: ; @.str.59 .asciz "iti" .no_dead_strip _porter_stemmer .subsections_via_symbols
AnghaBench/sqlcipher/ext/fts2/extr_fts2_porter.c_porter_stemmer.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 movl $1, -4(%rbp) cmpl $0, -4(%rbp) jle LBB0_3 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 incl -4(%rbp) incl -4(%rbp) cmpl $0, -4(%rbp) jg LBB0_1 LBB0_3: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 mov w8, #1 str w8, [sp, #12] ldr w8, [sp, #12] cmp w8, #1 b.lt LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] ldr w8, [sp, #12] cmp w8, #0 b.gt LBB0_1 LBB0_2: mov w0, #0 add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/61074490.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _txFreelock ## -- Begin function txFreelock .p2align 4, 0x90 _txFreelock: ## @txFreelock .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 callq _JFS_IP cmpq $0, 16(%rax) je LBB0_11 ## %bb.1: movq %rax, -48(%rbp) ## 8-byte Spill movq %rax, %r12 addq $16, %r12 xorl %r15d, %r15d xorl %eax, %eax callq _TXN_LOCK movq 8(%r12), %rbx testq %rbx, %rbx je LBB0_7 ## %bb.2: leaq 8(%r12), %r14 xorl %r15d, %r15d movq _tlckFREELOCK@GOTPCREL(%rip), %r13 jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq 8(%rax), %rax movq %rax, (%r14) movq %rbx, %rdi callq _txLockFree LBB0_6: ## in Loop: Header=BB0_3 Depth=1 leaq 8(%r12), %r14 movq 8(%r12), %rbx testq %rbx, %rbx je LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _lid_to_tlock movl (%r13), %ecx testl %ecx, (%rax) jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %r15 movq %rax, %r12 jmp LBB0_6 LBB0_7: movq -48(%rbp), %rdi ## 8-byte Reload cmpq $0, 16(%rdi) je LBB0_9 ## %bb.8: movq %r15, 8(%rdi) jmp LBB0_10 LBB0_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_9: movq $0, 8(%rdi) callq _list_del_init LBB0_10: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _TXN_UNLOCK ## TAILCALL .cfi_endproc ## -- End function .comm _tlckFREELOCK,4,2 ## @tlckFREELOCK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _txFreelock ; -- Begin function txFreelock .p2align 2 _txFreelock: ; @txFreelock .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 bl _JFS_IP mov x21, x0 ldr x8, [x21, #16]! cbz x8, LBB0_7 ; %bb.1: mov x19, x0 bl _TXN_LOCK mov x24, x21 ldr x20, [x24, #8]! cbz x20, LBB0_8 ; %bb.2: mov x22, #0 Lloh0: adrp x23, _tlckFREELOCK@GOTPAGE Lloh1: ldr x23, [x23, _tlckFREELOCK@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x0, #8] str x8, [x24] mov x0, x20 bl _txLockFree LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x24, x21 ldr x20, [x24, #8]! cbz x20, LBB0_9 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _lid_to_tlock ldr w8, [x0] ldr w9, [x23] tst w9, w8 b.ne LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x22, x20 mov x21, x0 b LBB0_4 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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_8: mov x22, #0 LBB0_9: ldr x8, [x19, #16] cbz x8, LBB0_11 ; %bb.10: str x22, [x19, #8] b LBB0_12 LBB0_11: str xzr, [x19, #8] mov x0, x19 bl _list_del_init LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _TXN_UNLOCK .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _tlckFREELOCK,4,2 ; @tlckFREELOCK .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_txnmgr.c_txFreelock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___timer_gettime ## -- Begin function __timer_gettime .p2align 4, 0x90 ___timer_gettime: ## @__timer_gettime .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp ___sys_ktimer_gettime ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___timer_gettime ; -- Begin function __timer_gettime .p2align 2 ___timer_gettime: ; @__timer_gettime .cfi_startproc ; %bb.0: ldr w0, [x0] b ___sys_ktimer_gettime .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/lib/librt/extr_timer.c___timer_gettime.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function filter_frame LCPI0_0: .quad 0x406fe00000000000 ## double 255 LCPI0_1: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _filter_frame: ## @filter_frame .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, -96(%rbp) ## 8-byte Spill movq (%rdi), %rax movq 8(%rax), %r15 movslq (%r15), %rax movq %rax, -80(%rbp) ## 8-byte Spill movl 4(%r15), %r12d cmpq $0, 56(%r15) movq %rsi, -64(%rbp) ## 8-byte Spill movl %r12d, -84(%rbp) ## 4-byte Spill jne LBB0_2 ## %bb.1: cmpq $0, 48(%r15) je LBB0_19 LBB0_2: movl %r12d, %edi xorl %esi, %esi callq _FFMAX cmpl (%rbx), %eax movq %rbx, %rsi jle LBB0_3 LBB0_36: movq -96(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movq (%rax), %rax movl (%rax), %edi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ff_filter_frame ## TAILCALL LBB0_3: movl %eax, %r14d jmp LBB0_4 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_4 Depth=1 leal 1(%r14), %eax cmpl (%rsi), %r14d movl %eax, %r14d movl -84(%rbp), %r12d ## 4-byte Reload jge LBB0_36 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_14 Depth 2 movl 8(%r15), %eax addl %r12d, %eax cmpl %eax, %r14d jge LBB0_36 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq 8(%rsi), %rax movq 16(%rsi), %rdx movq (%rax), %rcx movq %rcx, -56(%rbp) ## 8-byte Spill movq 24(%rax), %rcx movq %rcx, -104(%rbp) ## 8-byte Spill movzbl 12(%r15), %ecx movl %r14d, %esi sarl %cl, %esi movl (%rdx), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movl 12(%rdx), %ecx movl %ecx, -88(%rbp) ## 4-byte Spill movslq 4(%rdx), %r13 movslq %esi, %rcx imulq %rcx, %r13 addq 8(%rax), %r13 movslq 8(%rdx), %r12 imulq %rcx, %r12 addq 16(%rax), %r12 movq 40(%r15), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq -80(%rbp), %rbx ## 8-byte Reload movl %ebx, %edi xorl %esi, %esi callq _FFMAX movl 16(%r15), %ecx addl %ebx, %ecx cmpq $0, -72(%rbp) ## 8-byte Folded Reload je LBB0_12 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 cmpl %ecx, %eax movq -64(%rbp), %rsi ## 8-byte Reload movq -56(%rbp), %rbx ## 8-byte Reload jge LBB0_18 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movslq %eax, %r13 movl -44(%rbp), %eax ## 4-byte Reload imull %r14d, %eax cltq addq %rax, %rbx jmp LBB0_8 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_8 Depth=2 incq %r13 movslq 16(%r15), %rax addq -80(%rbp), %rax ## 8-byte Folded Reload cmpq %rax, %r13 movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_18 LBB0_8: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movslq 24(%rsi), %rax cmpq %rax, %r13 jge LBB0_18 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 movq %r15, %rdi movl %r13d, %esi movl %r14d, %edx callq _pixel_belongs_to_box testq %rax, %rax je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 notb (%rbx,%r13) jmp LBB0_11 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_4 Depth=1 movl -88(%rbp), %edx ## 4-byte Reload movq %r13, -72(%rbp) ## 8-byte Spill movq -104(%rbp), %rbx ## 8-byte Reload cmpl %ecx, %eax movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_18 ## %bb.13: ## in Loop: Header=BB0_4 Depth=1 movslq %eax, %r13 movl -44(%rbp), %eax ## 4-byte Reload imull %r14d, %eax cltq addq %rax, -56(%rbp) ## 8-byte Folded Spill imull %r14d, %edx movslq %edx, %rax addq %rax, %rbx jmp LBB0_14 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_14 Depth=2 incq %r13 movslq 16(%r15), %rax addq -80(%rbp), %rax ## 8-byte Folded Reload cmpq %rax, %r13 movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_18 LBB0_14: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movslq 24(%rsi), %rax cmpq %rax, %r13 jge LBB0_18 ## %bb.15: ## in Loop: Header=BB0_14 Depth=2 movq %r15, %rdi movl %r13d, %esi movl %r14d, %edx callq _pixel_belongs_to_box testq %rax, %rax movq -72(%rbp), %rdi ## 8-byte Reload je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_14 Depth=2 movq 24(%r15), %rax movq _Y@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %eax movq -56(%rbp), %rcx ## 8-byte Reload movb %al, (%rcx,%r13) movq 24(%r15), %rax movq _U@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %eax movzbl 32(%r15), %ecx movl %r13d, %edx sarl %cl, %edx movslq %edx, %rcx movb %al, (%rdi,%rcx) movq 24(%r15), %rax movzbl 32(%r15), %ecx movl %r13d, %edx sarl %cl, %edx movq _V@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %eax movslq %edx, %rcx movb %al, (%r12,%rcx) movq 24(%r15), %rax movq _A@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %eax movb %al, (%rbx,%r13) jmp LBB0_17 LBB0_19: movl %r12d, %edi xorl %esi, %esi callq _FFMAX cmpl (%rbx), %eax movq %rbx, %rsi jge LBB0_36 ## %bb.20: movl %eax, %r14d jmp LBB0_21 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_21 Depth=1 incl %r14d cmpl (%rsi), %r14d movl -84(%rbp), %r12d ## 4-byte Reload jge LBB0_36 LBB0_21: ## =>This Loop Header: Depth=1 ## Child Loop BB0_25 Depth 2 ## Child Loop BB0_31 Depth 2 movl 8(%r15), %eax addl %r12d, %eax cmpl %eax, %r14d jge LBB0_36 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 movq 8(%rsi), %rax movq 16(%rsi), %rdx movzbl 12(%r15), %ecx movl %r14d, %esi sarl %cl, %esi movq (%rax), %rcx movq %rcx, -56(%rbp) ## 8-byte Spill movl (%rdx), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movslq 4(%rdx), %r13 movslq %esi, %rcx imulq %rcx, %r13 addq 8(%rax), %r13 movslq 8(%rdx), %r12 imulq %rcx, %r12 addq 16(%rax), %r12 movq 40(%r15), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq -80(%rbp), %rbx ## 8-byte Reload movl %ebx, %edi xorl %esi, %esi callq _FFMAX movl 16(%r15), %ecx addl %ebx, %ecx cmpq $0, -72(%rbp) ## 8-byte Folded Reload je LBB0_29 ## %bb.23: ## in Loop: Header=BB0_21 Depth=1 cmpl %ecx, %eax movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_35 ## %bb.24: ## in Loop: Header=BB0_21 Depth=1 movslq %eax, %r13 movl -44(%rbp), %eax ## 4-byte Reload imull %r14d, %eax cltq addq %rax, -56(%rbp) ## 8-byte Folded Spill jmp LBB0_25 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_25 Depth=2 incq %r13 movslq 16(%r15), %rax addq -80(%rbp), %rax ## 8-byte Folded Reload cmpq %rax, %r13 movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_35 LBB0_25: ## Parent Loop BB0_21 Depth=1 ## => This Inner Loop Header: Depth=2 movslq 24(%rsi), %rax cmpq %rax, %r13 jge LBB0_35 ## %bb.26: ## in Loop: Header=BB0_25 Depth=2 movq %r15, %rdi movl %r13d, %esi movl %r14d, %edx callq _pixel_belongs_to_box testq %rax, %rax je LBB0_28 ## %bb.27: ## in Loop: Header=BB0_25 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload notb (%rax,%r13) jmp LBB0_28 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_21 Depth=1 movq %r13, -72(%rbp) ## 8-byte Spill cmpl %ecx, %eax movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_35 ## %bb.30: ## in Loop: Header=BB0_21 Depth=1 movslq %eax, %r13 movl -44(%rbp), %eax ## 4-byte Reload imull %r14d, %eax cltq addq %rax, -56(%rbp) ## 8-byte Folded Spill jmp LBB0_31 .p2align 4, 0x90 LBB0_34: ## in Loop: Header=BB0_31 Depth=2 incq %r13 movslq 16(%r15), %rax addq -80(%rbp), %rax ## 8-byte Folded Reload cmpq %rax, %r13 movq -64(%rbp), %rsi ## 8-byte Reload jge LBB0_35 LBB0_31: ## Parent Loop BB0_21 Depth=1 ## => This Inner Loop Header: Depth=2 movslq 24(%rsi), %rax cmpq %rax, %r13 jge LBB0_35 ## %bb.32: ## in Loop: Header=BB0_31 Depth=2 movq 24(%r15), %rax movq _A@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %ebx movq %r15, %rdi movl %r13d, %esi movl %r14d, %edx callq _pixel_belongs_to_box testq %rax, %rax movq -72(%rbp), %rsi ## 8-byte Reload je LBB0_34 ## %bb.33: ## in Loop: Header=BB0_31 Depth=2 movzbl %bl, %eax cvtsi2sd %eax, %xmm0 divsd LCPI0_0(%rip), %xmm0 movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0] subsd %xmm0, %xmm1 movq -56(%rbp), %rdx ## 8-byte Reload movzbl (%rdx,%r13), %eax xorps %xmm2, %xmm2 cvtsi2sd %eax, %xmm2 movq 24(%r15), %rax movq _Y@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %eax xorps %xmm3, %xmm3 cvtsi2sd %eax, %xmm3 mulsd %xmm0, %xmm3 mulsd %xmm1, %xmm2 addsd %xmm3, %xmm2 cvttsd2si %xmm2, %eax movb %al, (%rdx,%r13) movzbl 32(%r15), %ecx movl %r13d, %eax sarl %cl, %eax cltq movzbl (%rsi,%rax), %ecx xorps %xmm2, %xmm2 cvtsi2sd %ecx, %xmm2 movq 24(%r15), %rcx movq _U@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movzbl (%rcx,%rdx), %ecx xorps %xmm3, %xmm3 cvtsi2sd %ecx, %xmm3 mulsd %xmm0, %xmm3 mulsd %xmm1, %xmm2 addsd %xmm3, %xmm2 cvttsd2si %xmm2, %ecx movb %cl, (%rsi,%rax) movzbl 32(%r15), %ecx movl %r13d, %eax sarl %cl, %eax cltq movzbl (%r12,%rax), %ecx xorps %xmm2, %xmm2 cvtsi2sd %ecx, %xmm2 movq 24(%r15), %rcx movq _V@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movzbl (%rcx,%rdx), %ecx xorps %xmm3, %xmm3 cvtsi2sd %ecx, %xmm3 mulsd %xmm0, %xmm3 mulsd %xmm1, %xmm2 addsd %xmm3, %xmm2 cvttsd2si %xmm2, %ecx movb %cl, (%r12,%rax) jmp LBB0_34 .cfi_endproc ## -- End function .comm _Y,8,3 ## @Y .comm _U,8,3 ## @U .comm _V,8,3 ## @V .comm _A,8,3 ## @A .no_dead_strip _filter_frame .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function filter_frame _filter_frame: ; @filter_frame .cfi_startproc ; %bb.0: sub sp, sp, #176 stp d9, d8, [sp, #64] ; 16-byte Folded Spill stp x28, x27, [sp, #80] ; 16-byte Folded Spill stp x26, x25, [sp, #96] ; 16-byte Folded Spill stp x24, x23, [sp, #112] ; 16-byte Folded Spill stp x22, x21, [sp, #128] ; 16-byte Folded Spill stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 mov x22, x1 str x0, [sp, #8] ; 8-byte Folded Spill ldr x8, [x0] ldr x21, [x8, #8] ldp w8, w20, [x21] ; kill: def $w8 killed $w8 def $x8 sxtw x8, w8 str x8, [sp, #56] ; 8-byte Folded Spill ldr x8, [x21, #56] str w20, [sp, #20] ; 4-byte Folded Spill cbnz x8, LBB0_2 ; %bb.1: ldr x8, [x21, #48] cbz x8, LBB0_20 LBB0_2: mov x0, x20 mov w1, #0 ; =0x0 bl _FFMAX ldr w8, [x22] cmp w0, w8 b.le LBB0_4 LBB0_3: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldr x8, [x8] ldr w0, [x8] mov x1, x22 ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload ldp x22, x21, [sp, #128] ; 16-byte Folded Reload ldp x24, x23, [sp, #112] ; 16-byte Folded Reload ldp x26, x25, [sp, #96] ; 16-byte Folded Reload ldp x28, x27, [sp, #80] ; 16-byte Folded Reload ldp d9, d8, [sp, #64] ; 16-byte Folded Reload add sp, sp, #176 b _ff_filter_frame LBB0_4: mov x24, x0 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add w8, w24, #1 mov x22, x26 ldr w9, [x26] cmp w24, w9 mov x24, x8 ldr w20, [sp, #20] ; 4-byte Folded Reload b.ge LBB0_3 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 ; Child Loop BB0_17 Depth 2 ldr w8, [x21, #8] add w8, w8, w20 cmp w24, w8 b.ge LBB0_3 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldp x8, x9, [x22, #8] mov x26, x22 ldr w10, [x21, #12] str x10, [sp, #32] ; 8-byte Folded Spill ldp x11, x10, [x8] str x11, [sp, #48] ; 8-byte Folded Spill str x10, [sp, #24] ; 8-byte Folded Spill ldp w10, w22, [x9] ; kill: def $w22 killed $w22 def $x22 sxtw x22, w22 str w10, [sp, #44] ; 4-byte Folded Spill ldp x27, x20, [x8, #16] ldp w23, w25, [x9, #8] ; kill: def $w23 killed $w23 def $x23 sxtw x23, w23 ldr x28, [x21, #40] ldr x19, [sp, #56] ; 8-byte Folded Reload mov x0, x19 mov w1, #0 ; =0x0 bl _FFMAX ; kill: def $w0 killed $w0 def $x0 ldr w8, [x21, #16] add w8, w8, w19 cbz x28, LBB0_14 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 cmp w0, w8 b.ge LBB0_5 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 sxtw x25, w0 ldr w8, [sp, #44] ; 4-byte Folded Reload mul w8, w8, w24 ldr x9, [sp, #48] ; 8-byte Folded Reload add x20, x9, w8, sxtw b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=2 add x25, x25, #1 ldrsw x8, [x21, #16] ldr x9, [sp, #56] ; 8-byte Folded Reload add x8, x8, x9 cmp x25, x8 b.ge LBB0_5 LBB0_11: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x8, [x26, #24] cmp x25, x8 b.ge LBB0_5 ; %bb.12: ; in Loop: Header=BB0_11 Depth=2 mov x0, x21 mov x1, x25 mov x2, x24 bl _pixel_belongs_to_box cbz x0, LBB0_10 ; %bb.13: ; in Loop: Header=BB0_11 Depth=2 ldrb w8, [x20, x25] mvn w8, w8 strb w8, [x20, x25] b LBB0_10 LBB0_14: ; in Loop: Header=BB0_6 Depth=1 ldp x13, x9, [sp, #24] ; 16-byte Folded Reload cmp w0, w8 b.ge LBB0_5 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 mov x12, x23 mov x11, x25 asr w8, w24, w9 smaddl x23, w22, w8, x13 smaddl x19, w12, w8, x27 ; kill: def $w0 killed $w0 killed $x0 def $x0 sxtw x25, w0 ldr w8, [sp, #44] ; 4-byte Folded Reload mul w8, w8, w24 ldr x9, [sp, #48] ; 8-byte Folded Reload add x27, x9, w8, sxtw mul w8, w11, w24 add x28, x20, w8, sxtw b LBB0_17 LBB0_16: ; in Loop: Header=BB0_17 Depth=2 add x25, x25, #1 ldrsw x8, [x21, #16] ldr x9, [sp, #56] ; 8-byte Folded Reload add x8, x8, x9 cmp x25, x8 b.ge LBB0_5 LBB0_17: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x8, [x26, #24] cmp x25, x8 b.ge LBB0_5 ; %bb.18: ; in Loop: Header=BB0_17 Depth=2 mov x0, x21 mov x1, x25 mov x2, x24 bl _pixel_belongs_to_box cbz x0, LBB0_16 ; %bb.19: ; in Loop: Header=BB0_17 Depth=2 ldr x8, [x21, #24] Lloh0: adrp x9, _Y@GOTPAGE Lloh1: ldr x9, [x9, _Y@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldrb w8, [x8, x9] strb w8, [x27, x25] ldr x8, [x21, #24] Lloh3: adrp x9, _U@GOTPAGE Lloh4: ldr x9, [x9, _U@GOTPAGEOFF] Lloh5: ldr x9, [x9] ldrb w8, [x8, x9] ldr w9, [x21, #32] asr w9, w25, w9 strb w8, [x23, w9, sxtw] ldr x8, [x21, #24] Lloh6: adrp x9, _V@GOTPAGE Lloh7: ldr x9, [x9, _V@GOTPAGEOFF] Lloh8: ldr x9, [x9] ldrb w8, [x8, x9] ldr w9, [x21, #32] asr w9, w25, w9 strb w8, [x19, w9, sxtw] ldr x8, [x21, #24] Lloh9: adrp x9, _A@GOTPAGE Lloh10: ldr x9, [x9, _A@GOTPAGEOFF] Lloh11: ldr x9, [x9] ldrb w8, [x8, x9] strb w8, [x28, x25] b LBB0_16 LBB0_20: mov x0, x20 mov w1, #0 ; =0x0 bl _FFMAX ldr w8, [x22] cmp w0, w8 b.ge LBB0_3 ; %bb.21: mov x24, x0 fmov d8, #1.00000000 b LBB0_23 LBB0_22: ; in Loop: Header=BB0_23 Depth=1 add w24, w24, #1 ldr w8, [x22] cmp w24, w8 ldr w20, [sp, #20] ; 4-byte Folded Reload b.ge LBB0_3 LBB0_23: ; =>This Loop Header: Depth=1 ; Child Loop BB0_28 Depth 2 ; Child Loop BB0_34 Depth 2 ldr w8, [x21, #8] add w8, w8, w20 cmp w24, w8 b.ge LBB0_3 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 ldp x8, x9, [x22, #8] ldr w20, [x21, #12] ldp x10, x25, [x8] str x10, [sp, #48] ; 8-byte Folded Spill ldp w10, w23, [x9] ; kill: def $w23 killed $w23 def $x23 sxtw x23, w23 str w10, [sp, #44] ; 4-byte Folded Spill ldr x28, [x8, #16] ldrsw x26, [x9, #8] ldr x27, [x21, #40] ldr x19, [sp, #56] ; 8-byte Folded Reload mov x0, x19 mov w1, #0 ; =0x0 bl _FFMAX ; kill: def $w0 killed $w0 def $x0 ldr w8, [x21, #16] add w8, w8, w19 cmp w0, w8 cbz x27, LBB0_31 ; %bb.25: ; in Loop: Header=BB0_23 Depth=1 b.ge LBB0_22 ; %bb.26: ; in Loop: Header=BB0_23 Depth=1 sxtw x25, w0 ldr w8, [sp, #44] ; 4-byte Folded Reload mul w8, w8, w24 ldr x9, [sp, #48] ; 8-byte Folded Reload add x20, x9, w8, sxtw b LBB0_28 LBB0_27: ; in Loop: Header=BB0_28 Depth=2 add x25, x25, #1 ldrsw x8, [x21, #16] ldr x9, [sp, #56] ; 8-byte Folded Reload add x8, x8, x9 cmp x25, x8 b.ge LBB0_22 LBB0_28: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x8, [x22, #24] cmp x25, x8 b.ge LBB0_22 ; %bb.29: ; in Loop: Header=BB0_28 Depth=2 mov x0, x21 mov x1, x25 mov x2, x24 bl _pixel_belongs_to_box cbz x0, LBB0_27 ; %bb.30: ; in Loop: Header=BB0_28 Depth=2 ldrb w8, [x20, x25] mvn w8, w8 strb w8, [x20, x25] b LBB0_27 LBB0_31: ; in Loop: Header=BB0_23 Depth=1 b.ge LBB0_22 ; %bb.32: ; in Loop: Header=BB0_23 Depth=1 asr w8, w24, w20 smaddl x20, w23, w8, x25 smaddl x28, w26, w8, x28 ; kill: def $w0 killed $w0 killed $x0 def $x0 sxtw x25, w0 ldr w8, [sp, #44] ; 4-byte Folded Reload mul w8, w8, w24 ldr x9, [sp, #48] ; 8-byte Folded Reload add x27, x9, w8, sxtw b LBB0_34 LBB0_33: ; in Loop: Header=BB0_34 Depth=2 add x25, x25, #1 ldrsw x8, [x21, #16] ldr x9, [sp, #56] ; 8-byte Folded Reload add x8, x8, x9 cmp x25, x8 b.ge LBB0_22 LBB0_34: ; Parent Loop BB0_23 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x8, [x22, #24] cmp x25, x8 b.ge LBB0_22 ; %bb.35: ; in Loop: Header=BB0_34 Depth=2 ldr x8, [x21, #24] Lloh12: adrp x9, _A@GOTPAGE Lloh13: ldr x9, [x9, _A@GOTPAGEOFF] Lloh14: ldr x9, [x9] ldrb w23, [x8, x9] mov x0, x21 mov x1, x25 mov x2, x24 bl _pixel_belongs_to_box cbz x0, LBB0_33 ; %bb.36: ; in Loop: Header=BB0_34 Depth=2 ucvtf d0, w23 mov x8, #246290604621824 ; =0xe00000000000 movk x8, #16495, lsl #48 fmov d1, x8 fdiv d0, d0, d1 fsub d1, d8, d0 ldr b2, [x27, x25] ucvtf d2, d2 ldr x8, [x21, #24] Lloh15: adrp x9, _Y@GOTPAGE Lloh16: ldr x9, [x9, _Y@GOTPAGEOFF] Lloh17: ldr x9, [x9] ldr b3, [x8, x9] ucvtf d3, d3 fmul d3, d0, d3 fmadd d2, d1, d2, d3 fcvtzs w8, d2 strb w8, [x27, x25] ldr w8, [x21, #32] asr w8, w25, w8 ldr b2, [x20, w8, sxtw] ldr x9, [x21, #24] Lloh18: adrp x10, _U@GOTPAGE Lloh19: ldr x10, [x10, _U@GOTPAGEOFF] Lloh20: ldr x10, [x10] ldr b3, [x9, x10] ucvtf d2, d2 ucvtf d3, d3 fmul d3, d0, d3 fmadd d2, d1, d2, d3 fcvtzs w9, d2 strb w9, [x20, w8, sxtw] ldr w8, [x21, #32] asr w8, w25, w8 ldr b2, [x28, w8, sxtw] ucvtf d2, d2 ldr x9, [x21, #24] Lloh21: adrp x10, _V@GOTPAGE Lloh22: ldr x10, [x10, _V@GOTPAGEOFF] Lloh23: ldr x10, [x10] ldr b3, [x9, x10] ucvtf d3, d3 fmul d0, d0, d3 fmadd d0, d1, d2, d0 fcvtzs w9, d0 strb w9, [x28, w8, sxtw] b LBB0_33 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _Y,8,3 ; @Y .comm _U,8,3 ; @U .comm _V,8,3 ; @V .comm _A,8,3 ; @A .no_dead_strip _filter_frame .subsections_via_symbols
assembly_file_178342.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function disable_second_display_channel _disable_second_display_channel: ## @disable_second_display_channel .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _CR6A@GOTPCREL(%rip), %r14 movl (%r14), %edi movq _VIACR@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _BIT6@GOTPCREL(%rip), %r15 movl (%r15), %ecx xorl %edx, %edx callq _viafb_write_reg_mask movl (%r14), %edi movl (%rbx), %esi movq _BIT7@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl %edx, %edx callq _viafb_write_reg_mask movl (%r14), %edi movl (%rbx), %esi movl (%r15), %ecx movl %ecx, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _viafb_write_reg_mask ## TAILCALL .cfi_endproc ## -- End function .comm _CR6A,4,2 ## @CR6A .comm _VIACR,4,2 ## @VIACR .comm _BIT6,4,2 ## @BIT6 .comm _BIT7,4,2 ## @BIT7 .no_dead_strip _disable_second_display_channel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function disable_second_display_channel _disable_second_display_channel: ; @disable_second_display_channel .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x19, _CR6A@GOTPAGE Lloh1: ldr x19, [x19, _CR6A@GOTPAGEOFF] ldr w0, [x19] Lloh2: adrp x20, _VIACR@GOTPAGE Lloh3: ldr x20, [x20, _VIACR@GOTPAGEOFF] ldr w1, [x20] Lloh4: adrp x21, _BIT6@GOTPAGE Lloh5: ldr x21, [x21, _BIT6@GOTPAGEOFF] ldr w3, [x21] mov w2, #0 bl _viafb_write_reg_mask ldr w0, [x19] ldr w1, [x20] Lloh6: adrp x8, _BIT7@GOTPAGE Lloh7: ldr x8, [x8, _BIT7@GOTPAGEOFF] Lloh8: ldr w3, [x8] mov w2, #0 bl _viafb_write_reg_mask ldr w0, [x19] ldr w1, [x20] ldr w2, [x21] mov x3, x2 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 _viafb_write_reg_mask .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _CR6A,4,2 ; @CR6A .comm _VIACR,4,2 ; @VIACR .comm _BIT6,4,2 ; @BIT6 .comm _BIT7,4,2 ; @BIT7 .no_dead_strip _disable_second_display_channel .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/via/extr_hw.c_disable_second_display_channel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _pmap_alloc_l3 __pmap_alloc_l3: ## @_pmap_alloc_l3 .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, %rbx movq %rsi, %r12 movq %rdi, %r14 movq _MA_OWNED@GOTPCREL(%rip), %rax movl (%rax), %esi callq _PMAP_LOCK_ASSERT movq _VM_ALLOC_NOOBJ@GOTPCREL(%rip), %rax movq _VM_ALLOC_WIRED@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx movq _VM_ALLOC_ZERO@GOTPCREL(%rip), %rax orl (%rax), %edx xorl %edi, %edi movq %r12, %rsi callq _vm_page_alloc testq %rax, %rax je LBB0_1 ## %bb.4: movq %rax, %r15 movq _PG_ZERO@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) jne LBB0_6 ## %bb.5: movq %r15, %rdi callq _pmap_zero_page LBB0_6: movq _ishst@GOTPCREL(%rip), %rax movl (%rax), %edi callq _dmb movq _NUL2E@GOTPCREL(%rip), %rax movq (%rax), %rax movq _NUL1E@GOTPCREL(%rip), %rcx movq (%rcx), %rcx addq %rax, %rcx cmpq %r12, %rcx jbe LBB0_7 ## %bb.8: cmpq %r12, %rax jbe LBB0_9 ## %bb.14: movq _Ln_ENTRIES_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl movq %r12, %r13 shrq %cl, %r13 movq _L0_ENTRIES_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl movq %r13, -48(%rbp) ## 8-byte Spill shrq %cl, %r13 shlq $2, %r13 addq (%r14), %r13 movq %r13, %rdi callq _pmap_load testl %eax, %eax je LBB0_15 ## %bb.17: movq %rbx, -56(%rbp) ## 8-byte Spill movq _ATTR_MASK@GOTPCREL(%rip), %rbx movl (%rbx), %ecx notl %ecx andl %ecx, %eax movl %eax, %edi callq _PHYS_TO_DMAP movq _Ln_ADDR_MASK@GOTPCREL(%rip), %rcx movq (%rcx), %rcx andq -48(%rbp), %rcx ## 8-byte Folded Reload leaq (%rax,%rcx,4), %rdi movq %rdi, %r13 callq _pmap_load testl %eax, %eax je LBB0_18 ## %bb.19: movl (%rbx), %ecx notl %ecx andl %ecx, %eax movl %eax, %edi callq _PHYS_TO_VM_PAGE incl 4(%rax) movq %r13, %rdi jmp LBB0_20 LBB0_1: testq %rbx, %rbx je LBB0_2 ## %bb.3: movq %rbx, %rdi callq _RELEASE_PV_LIST_LOCK movq %r14, %rdi callq _PMAP_UNLOCK xorl %r15d, %r15d xorl %edi, %edi callq _vm_wait movq %r14, %rdi callq _PMAP_LOCK jmp LBB0_22 LBB0_7: subq %rcx, %r12 shlq $2, %r12 addq (%r14), %r12 movq _L0_TABLE@GOTPCREL(%rip), %rbx jmp LBB0_21 LBB0_9: movq %rbx, -56(%rbp) ## 8-byte Spill movq %r12, %rbx subq %rax, %rbx movq _L0_ENTRIES_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shrq %cl, %rbx leaq (,%rbx,4), %r13 addq (%r14), %r13 movq %r13, %rdi callq _pmap_load testl %eax, %eax je LBB0_10 ## %bb.12: movq _ATTR_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx andl %ecx, %eax movl %eax, %edi callq _PHYS_TO_VM_PAGE incl 4(%rax) jmp LBB0_13 LBB0_2: xorl %r15d, %r15d jmp LBB0_22 LBB0_15: movq _NUL2E@GOTPCREL(%rip), %rax movq (%rax), %rsi addq -48(%rbp), %rsi ## 8-byte Folded Reload movq %r14, %rdi movq %rbx, %rdx callq __pmap_alloc_l3 testq %rax, %rax je LBB0_11 ## %bb.16: movq %r13, %rdi callq _pmap_load movq _ATTR_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edi notl %edi andl %eax, %edi callq _PHYS_TO_DMAP movq _Ln_ADDR_MASK@GOTPCREL(%rip), %rcx movq -48(%rbp), %rdx ## 8-byte Reload andq (%rcx), %rdx leaq (%rax,%rdx,4), %rdi jmp LBB0_20 LBB0_10: movq _NUL2E@GOTPCREL(%rip), %rax addq (%rax), %rbx movq _NUL1E@GOTPCREL(%rip), %rax addq (%rax), %rbx movq %r14, %rdi movq %rbx, %rsi movq -56(%rbp), %rdx ## 8-byte Reload callq __pmap_alloc_l3 testq %rax, %rax je LBB0_11 LBB0_13: movq %r13, %rdi callq _pmap_load movq _ATTR_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edi notl %edi andl %eax, %edi callq _PHYS_TO_DMAP movq _Ln_ADDR_MASK@GOTPCREL(%rip), %rcx andq (%rcx), %r12 leaq (%rax,%r12,4), %r12 movq _L1_TABLE@GOTPCREL(%rip), %rbx jmp LBB0_21 LBB0_18: movq _NUL2E@GOTPCREL(%rip), %rax movq -48(%rbp), %rsi ## 8-byte Reload addq (%rax), %rsi movq %r14, %rdi movq -56(%rbp), %rdx ## 8-byte Reload callq __pmap_alloc_l3 testq %rax, %rax movq %r13, %rdi je LBB0_11 LBB0_20: callq _pmap_load movq _ATTR_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edi notl %edi andl %eax, %edi callq _PHYS_TO_DMAP movq _Ln_ADDR_MASK@GOTPCREL(%rip), %rcx andq (%rcx), %r12 leaq (%rax,%r12,4), %r12 movq _L2_TABLE@GOTPCREL(%rip), %rbx LBB0_21: movq %r15, %rdi callq _VM_PAGE_TO_PHYS orl (%rbx), %eax movq %r12, %rdi movl %eax, %esi callq _pmap_store movq %r14, %rdi movl $1, %esi callq _pmap_resident_count_inc LBB0_22: movq %r15, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movq %r15, %rdi callq _vm_page_unwire_noq movq %r15, %rdi callq _vm_page_free_zero xorl %r15d, %r15d jmp LBB0_22 .cfi_endproc ## -- End function .comm _MA_OWNED,4,2 ## @MA_OWNED .comm _VM_ALLOC_NOOBJ,4,2 ## @VM_ALLOC_NOOBJ .comm _VM_ALLOC_WIRED,4,2 ## @VM_ALLOC_WIRED .comm _VM_ALLOC_ZERO,4,2 ## @VM_ALLOC_ZERO .comm _PG_ZERO,4,2 ## @PG_ZERO .comm _ishst,4,2 ## @ishst .comm _NUL2E,8,3 ## @NUL2E .comm _NUL1E,8,3 ## @NUL1E .comm _L0_TABLE,4,2 ## @L0_TABLE .comm _L0_ENTRIES_SHIFT,8,3 ## @L0_ENTRIES_SHIFT .comm _ATTR_MASK,4,2 ## @ATTR_MASK .comm _Ln_ADDR_MASK,8,3 ## @Ln_ADDR_MASK .comm _L1_TABLE,4,2 ## @L1_TABLE .comm _Ln_ENTRIES_SHIFT,8,3 ## @Ln_ENTRIES_SHIFT .comm _L2_TABLE,4,2 ## @L2_TABLE .no_dead_strip __pmap_alloc_l3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _pmap_alloc_l3 __pmap_alloc_l3: ; @_pmap_alloc_l3 .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, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _MA_OWNED@GOTPAGE Lloh1: ldr x8, [x8, _MA_OWNED@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _PMAP_LOCK_ASSERT Lloh3: adrp x8, _VM_ALLOC_NOOBJ@GOTPAGE Lloh4: ldr x8, [x8, _VM_ALLOC_NOOBJ@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _VM_ALLOC_WIRED@GOTPAGE Lloh7: ldr x9, [x9, _VM_ALLOC_WIRED@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w8, w9, w8 Lloh9: adrp x9, _VM_ALLOC_ZERO@GOTPAGE Lloh10: ldr x9, [x9, _VM_ALLOC_ZERO@GOTPAGEOFF] Lloh11: ldr w9, [x9] orr w2, w8, w9 mov x0, #0 mov x1, x21 bl _vm_page_alloc cbz x0, LBB0_8 ; %bb.1: mov x20, x0 ldr w8, [x0] Lloh12: adrp x9, _PG_ZERO@GOTPAGE Lloh13: ldr x9, [x9, _PG_ZERO@GOTPAGEOFF] Lloh14: ldr w9, [x9] tst w9, w8 b.ne LBB0_3 ; %bb.2: mov x0, x20 bl _pmap_zero_page LBB0_3: Lloh15: adrp x8, _ishst@GOTPAGE Lloh16: ldr x8, [x8, _ishst@GOTPAGEOFF] Lloh17: ldr w0, [x8] bl _dmb Lloh18: adrp x24, _NUL2E@GOTPAGE Lloh19: ldr x24, [x24, _NUL2E@GOTPAGEOFF] ldr x8, [x24] Lloh20: adrp x26, _NUL1E@GOTPAGE Lloh21: ldr x26, [x26, _NUL1E@GOTPAGEOFF] ldr x9, [x26] add x9, x9, x8 cmp x9, x21 b.ls LBB0_10 ; %bb.4: cmp x8, x21 b.ls LBB0_11 ; %bb.5: Lloh22: adrp x8, _Ln_ENTRIES_SHIFT@GOTPAGE Lloh23: ldr x8, [x8, _Ln_ENTRIES_SHIFT@GOTPAGEOFF] Lloh24: ldr x8, [x8] lsr x25, x21, x8 Lloh25: adrp x8, _L0_ENTRIES_SHIFT@GOTPAGE Lloh26: ldr x8, [x8, _L0_ENTRIES_SHIFT@GOTPAGEOFF] Lloh27: ldr x8, [x8] lsr x8, x25, x8 ldr x9, [x19] add x23, x9, x8, lsl #2 mov x0, x23 bl _pmap_load cbz w0, LBB0_14 ; %bb.6: Lloh28: adrp x26, _ATTR_MASK@GOTPAGE Lloh29: ldr x26, [x26, _ATTR_MASK@GOTPAGEOFF] ldr w8, [x26] bic w0, w0, w8 bl _PHYS_TO_DMAP Lloh30: adrp x8, _Ln_ADDR_MASK@GOTPAGE Lloh31: ldr x8, [x8, _Ln_ADDR_MASK@GOTPAGEOFF] Lloh32: ldr x8, [x8] and x8, x8, x25 add x23, x0, x8, lsl #2 mov x0, x23 bl _pmap_load cbz w0, LBB0_18 ; %bb.7: ldr w8, [x26] bic w0, w0, w8 bl _PHYS_TO_VM_PAGE ldr w8, [x0, #4] add w8, w8, #1 str w8, [x0, #4] b LBB0_19 LBB0_8: cbz x22, LBB0_13 ; %bb.9: mov x0, x22 bl _RELEASE_PV_LIST_LOCK mov x0, x19 bl _PMAP_UNLOCK mov x0, #0 bl _vm_wait mov x0, x19 bl _PMAP_LOCK mov x20, #0 b LBB0_21 LBB0_10: sub x8, x21, x9 ldr x9, [x19] add x21, x9, x8, lsl #2 Lloh33: adrp x22, _L0_TABLE@GOTPAGE Lloh34: ldr x22, [x22, _L0_TABLE@GOTPAGEOFF] b LBB0_20 LBB0_11: sub x8, x21, x8 Lloh35: adrp x9, _L0_ENTRIES_SHIFT@GOTPAGE Lloh36: ldr x9, [x9, _L0_ENTRIES_SHIFT@GOTPAGEOFF] Lloh37: ldr x9, [x9] lsr x27, x8, x9 ldr x8, [x19] add x23, x8, x27, lsl #2 mov x0, x23 bl _pmap_load Lloh38: adrp x25, _ATTR_MASK@GOTPAGE Lloh39: ldr x25, [x25, _ATTR_MASK@GOTPAGEOFF] cbz w0, LBB0_16 ; %bb.12: ldr w8, [x25] bic w0, w0, w8 bl _PHYS_TO_VM_PAGE ldr w8, [x0, #4] add w8, w8, #1 str w8, [x0, #4] b LBB0_17 LBB0_13: mov x20, #0 b LBB0_21 LBB0_14: ldr x8, [x24] add x1, x8, x25 mov x0, x19 mov x2, x22 bl __pmap_alloc_l3 cbz x0, LBB0_22 ; %bb.15: mov x0, x23 bl _pmap_load Lloh40: adrp x8, _ATTR_MASK@GOTPAGE Lloh41: ldr x8, [x8, _ATTR_MASK@GOTPAGEOFF] Lloh42: ldr w8, [x8] bic w0, w0, w8 bl _PHYS_TO_DMAP Lloh43: adrp x8, _Ln_ADDR_MASK@GOTPAGE Lloh44: ldr x8, [x8, _Ln_ADDR_MASK@GOTPAGEOFF] Lloh45: ldr x8, [x8] and x8, x8, x25 add x23, x0, x8, lsl #2 b LBB0_19 LBB0_16: ldr x8, [x24] ldr x9, [x26] add x8, x8, x27 add x1, x8, x9 mov x0, x19 mov x2, x22 bl __pmap_alloc_l3 cbz x0, LBB0_22 LBB0_17: mov x0, x23 bl _pmap_load ldr w8, [x25] bic w0, w0, w8 bl _PHYS_TO_DMAP Lloh46: adrp x8, _Ln_ADDR_MASK@GOTPAGE Lloh47: ldr x8, [x8, _Ln_ADDR_MASK@GOTPAGEOFF] Lloh48: ldr x8, [x8] and x8, x8, x21 add x21, x0, x8, lsl #2 Lloh49: adrp x22, _L1_TABLE@GOTPAGE Lloh50: ldr x22, [x22, _L1_TABLE@GOTPAGEOFF] b LBB0_20 LBB0_18: ldr x8, [x24] add x1, x8, x25 mov x0, x19 mov x2, x22 bl __pmap_alloc_l3 cbz x0, LBB0_22 LBB0_19: mov x0, x23 bl _pmap_load Lloh51: adrp x8, _ATTR_MASK@GOTPAGE Lloh52: ldr x8, [x8, _ATTR_MASK@GOTPAGEOFF] Lloh53: ldr w8, [x8] bic w0, w0, w8 bl _PHYS_TO_DMAP Lloh54: adrp x8, _Ln_ADDR_MASK@GOTPAGE Lloh55: ldr x8, [x8, _Ln_ADDR_MASK@GOTPAGEOFF] Lloh56: ldr x8, [x8] and x8, x8, x21 add x21, x0, x8, lsl #2 Lloh57: adrp x22, _L2_TABLE@GOTPAGE Lloh58: ldr x22, [x22, _L2_TABLE@GOTPAGEOFF] LBB0_20: mov x0, x20 bl _VM_PAGE_TO_PHYS ldr w8, [x22] orr w1, w8, w0 mov x0, x21 bl _pmap_store mov x0, x19 mov w1, #1 bl _pmap_resident_count_inc LBB0_21: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_22: mov x0, x20 bl _vm_page_unwire_noq mov x0, x20 bl _vm_page_free_zero mov x20, #0 b LBB0_21 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGot Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGot Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .cfi_endproc ; -- End function .comm _MA_OWNED,4,2 ; @MA_OWNED .comm _VM_ALLOC_NOOBJ,4,2 ; @VM_ALLOC_NOOBJ .comm _VM_ALLOC_WIRED,4,2 ; @VM_ALLOC_WIRED .comm _VM_ALLOC_ZERO,4,2 ; @VM_ALLOC_ZERO .comm _PG_ZERO,4,2 ; @PG_ZERO .comm _ishst,4,2 ; @ishst .comm _NUL2E,8,3 ; @NUL2E .comm _NUL1E,8,3 ; @NUL1E .comm _L0_TABLE,4,2 ; @L0_TABLE .comm _L0_ENTRIES_SHIFT,8,3 ; @L0_ENTRIES_SHIFT .comm _ATTR_MASK,4,2 ; @ATTR_MASK .comm _Ln_ADDR_MASK,8,3 ; @Ln_ADDR_MASK .comm _L1_TABLE,4,2 ; @L1_TABLE .comm _Ln_ENTRIES_SHIFT,8,3 ; @Ln_ENTRIES_SHIFT .comm _L2_TABLE,4,2 ; @L2_TABLE .no_dead_strip __pmap_alloc_l3 .subsections_via_symbols
AnghaBench/freebsd/sys/arm64/arm64/extr_pmap.c__pmap_alloc_l3.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bnx2x_fill_report_data _bnx2x_fill_report_data: ## @bnx2x_fill_report_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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx callq _bnx2x_get_mf_speed movl %eax, %r15d movq %r14, %rdi xorl %esi, %esi movl $8, %edx callq _memset movl %r15d, 4(%r14) cmpl $0, 20(%rbx) je LBB0_2 ## %bb.1: movq _MF_FUNC_DIS@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rbx) je LBB0_3 LBB0_2: movq _BNX2X_LINK_REPORT_LINK_DOWN@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq ___set_bit LBB0_3: movq 8(%rbx), %rax movq _DUPLEX_FULL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.4: movq _BNX2X_LINK_REPORT_FD@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq ___set_bit LBB0_5: movl 16(%rbx), %eax movq _BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_7 ## %bb.6: movq _BNX2X_LINK_REPORT_RX_FC_ON@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq ___set_bit movl 16(%rbx), %eax LBB0_7: movq _BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_8 ## %bb.9: movq _BNX2X_LINK_REPORT_TX_FC_ON@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp ___set_bit ## TAILCALL LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MF_FUNC_DIS,4,2 ## @MF_FUNC_DIS .comm _BNX2X_LINK_REPORT_LINK_DOWN,4,2 ## @BNX2X_LINK_REPORT_LINK_DOWN .comm _DUPLEX_FULL,8,3 ## @DUPLEX_FULL .comm _BNX2X_LINK_REPORT_FD,4,2 ## @BNX2X_LINK_REPORT_FD .comm _BNX2X_FLOW_CTRL_RX,4,2 ## @BNX2X_FLOW_CTRL_RX .comm _BNX2X_LINK_REPORT_RX_FC_ON,4,2 ## @BNX2X_LINK_REPORT_RX_FC_ON .comm _BNX2X_FLOW_CTRL_TX,4,2 ## @BNX2X_FLOW_CTRL_TX .comm _BNX2X_LINK_REPORT_TX_FC_ON,4,2 ## @BNX2X_LINK_REPORT_TX_FC_ON .no_dead_strip _bnx2x_fill_report_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bnx2x_fill_report_data _bnx2x_fill_report_data: ; @bnx2x_fill_report_data .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _bnx2x_get_mf_speed mov x21, x0 mov x0, x19 mov w1, #0 mov w2, #8 bl _memset str w21, [x19, #4] ldr w8, [x20, #20] cbz w8, LBB0_2 ; %bb.1: ldr w8, [x20] Lloh0: adrp x9, _MF_FUNC_DIS@GOTPAGE Lloh1: ldr x9, [x9, _MF_FUNC_DIS@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 LBB0_2: Lloh3: adrp x8, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGE Lloh4: ldr x8, [x8, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGEOFF] Lloh5: ldr w0, [x8] mov x1, x19 bl ___set_bit LBB0_3: ldr x8, [x20, #8] Lloh6: adrp x9, _DUPLEX_FULL@GOTPAGE Lloh7: ldr x9, [x9, _DUPLEX_FULL@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 ; %bb.4: Lloh9: adrp x8, _BNX2X_LINK_REPORT_FD@GOTPAGE Lloh10: ldr x8, [x8, _BNX2X_LINK_REPORT_FD@GOTPAGEOFF] Lloh11: ldr w0, [x8] mov x1, x19 bl ___set_bit LBB0_5: ldr w8, [x20, #16] Lloh12: adrp x9, _BNX2X_FLOW_CTRL_RX@GOTPAGE Lloh13: ldr x9, [x9, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF] Lloh14: ldr w9, [x9] tst w9, w8 b.eq LBB0_7 ; %bb.6: Lloh15: adrp x8, _BNX2X_LINK_REPORT_RX_FC_ON@GOTPAGE Lloh16: ldr x8, [x8, _BNX2X_LINK_REPORT_RX_FC_ON@GOTPAGEOFF] Lloh17: ldr w0, [x8] mov x1, x19 bl ___set_bit ldr w8, [x20, #16] LBB0_7: Lloh18: adrp x9, _BNX2X_FLOW_CTRL_TX@GOTPAGE Lloh19: ldr x9, [x9, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF] Lloh20: ldr w9, [x9] tst w9, w8 b.eq LBB0_9 ; %bb.8: Lloh21: adrp x8, _BNX2X_LINK_REPORT_TX_FC_ON@GOTPAGE Lloh22: ldr x8, [x8, _BNX2X_LINK_REPORT_TX_FC_ON@GOTPAGEOFF] Lloh23: ldr w0, [x8] mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b ___set_bit 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 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 .cfi_endproc ; -- End function .comm _MF_FUNC_DIS,4,2 ; @MF_FUNC_DIS .comm _BNX2X_LINK_REPORT_LINK_DOWN,4,2 ; @BNX2X_LINK_REPORT_LINK_DOWN .comm _DUPLEX_FULL,8,3 ; @DUPLEX_FULL .comm _BNX2X_LINK_REPORT_FD,4,2 ; @BNX2X_LINK_REPORT_FD .comm _BNX2X_FLOW_CTRL_RX,4,2 ; @BNX2X_FLOW_CTRL_RX .comm _BNX2X_LINK_REPORT_RX_FC_ON,4,2 ; @BNX2X_LINK_REPORT_RX_FC_ON .comm _BNX2X_FLOW_CTRL_TX,4,2 ; @BNX2X_FLOW_CTRL_TX .comm _BNX2X_LINK_REPORT_TX_FC_ON,4,2 ; @BNX2X_LINK_REPORT_TX_FC_ON .no_dead_strip _bnx2x_fill_report_data .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_cmn.c_bnx2x_fill_report_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function acpi_cmbat_bif _acpi_cmbat_bif: ## @acpi_cmbat_bif .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 callq _device_get_softc movq %rax, %rbx movq _cmbat@GOTPCREL(%rip), %r15 movl (%r15), %edi callq _ACPI_SERIAL_BEGIN movl 48(%rbx), %eax movl %eax, 48(%r14) movups 32(%rbx), %xmm0 movups %xmm0, 32(%r14) movups 16(%rbx), %xmm0 movups %xmm0, 16(%r14) movl 12(%r14), %edi movl 12(%rbx), %esi movl $4, %edx callq _strncpy movl 8(%r14), %edi movl 8(%rbx), %esi movl $4, %edx callq _strncpy movl 4(%r14), %edi movl 4(%rbx), %esi movl $4, %edx callq _strncpy movl (%r14), %edi movl (%rbx), %esi movl $4, %edx callq _strncpy movl (%r15), %edi callq _ACPI_SERIAL_END xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _cmbat,4,2 ## @cmbat .no_dead_strip _acpi_cmbat_bif .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function acpi_cmbat_bif _acpi_cmbat_bif: ; @acpi_cmbat_bif .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 bl _device_get_softc mov x20, x0 Lloh0: adrp x21, _cmbat@GOTPAGE Lloh1: ldr x21, [x21, _cmbat@GOTPAGEOFF] ldr w0, [x21] bl _ACPI_SERIAL_BEGIN ldr w8, [x20, #48] str w8, [x19, #48] ldr q0, [x20, #32] str q0, [x19, #32] ldr q0, [x20, #16] str q0, [x19, #16] ldr w0, [x19, #12] ldr w1, [x20, #12] mov w2, #4 bl _strncpy ldr w0, [x19, #8] ldr w1, [x20, #8] mov w2, #4 bl _strncpy ldr w0, [x19, #4] ldr w1, [x20, #4] mov w2, #4 bl _strncpy ldr w0, [x19] ldr w1, [x20] mov w2, #4 bl _strncpy ldr w0, [x21] bl _ACPI_SERIAL_END mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _cmbat,4,2 ; @cmbat .no_dead_strip _acpi_cmbat_bif .subsections_via_symbols
AnghaBench/freebsd/sys/dev/acpica/extr_acpi_cmbat.c_acpi_cmbat_bif.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi leaq -8(%rbp), %rsi leaq -4(%rbp), %rdx xorl %eax, %eax callq _scanf movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss -4(%rbp), %xmm0 leaq L_.str.1(%rip), %rax leaq L_.str.2(%rip), %rdi cmovaq %rax, %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%f %f" L_.str.1: ## @.str.1 .asciz "No" L_.str.2: ## @.str.2 .asciz "Yes" .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 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 sub x8, x29, #8 sub x9, x29, #4 stp x9, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldp s0, s1, [x29, #-8] Lloh2: adrp x8, l_.str.2@PAGE Lloh3: add x8, x8, l_.str.2@PAGEOFF Lloh4: adrp x9, l_.str.1@PAGE Lloh5: add x9, x9, l_.str.1@PAGEOFF fcmp s0, s1 csel x0, x9, x8, mi bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%f %f" l_.str.1: ; @.str.1 .asciz "No" l_.str.2: ; @.str.2 .asciz "Yes" .subsections_via_symbols
the_stack_data/237644444.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 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi callq _time movl %eax, %edi callq _srand callq _rand jmp LBB0_1 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, #0 bl _time ; kill: def $w0 killed $w0 killed $x0 bl _srand bl _rand b LBB0_1 .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/192331222.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _config_delstub ## -- Begin function config_delstub .p2align 4, 0x90 _config_delstub: ## @config_delstub .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rdi callq _free movl 4(%rbx), %edi callq _config_delstrlist movl (%rbx), %edi callq _config_delstrlist movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _free ## TAILCALL LBB0_1: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _config_delstub ; -- Begin function config_delstub .p2align 2 _config_delstub: ; @config_delstub .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] bl _free ldr w0, [x19, #4] bl _config_delstrlist ldr w0, [x19] bl _config_delstrlist mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free LBB0_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/util/extr_config_file.c_config_delstub.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PEM_write_PrivateKey ## -- Begin function PEM_write_PrivateKey .p2align 4, 0x90 _PEM_write_PrivateKey: ## @PEM_write_PrivateKey .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, -48(%rbp) ## 8-byte Spill movl %r8d, %r15d movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbx movq _BIO_NOCLOSE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _BIO_new_fp testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %r14 movq 16(%rbp), %rax movq %rax, (%rsp) movq %r14, %rdi movq %rbx, %rsi movq %r13, %rdx movq %r12, %rcx movl %r15d, %r8d movq -48(%rbp), %r9 ## 8-byte Reload callq _PEM_write_bio_PrivateKey movl %eax, %ebx movq %r14, %rdi callq _BIO_free movl %ebx, %eax jmp LBB0_2 LBB0_1: movq _PEM_F_PEM_WRITE_PRIVATEKEY@GOTPCREL(%rip), %rax movl (%rax), %edi movq _ERR_R_BUF_LIB@GOTPCREL(%rip), %rax movl (%rax), %esi callq _PEMerr xorl %eax, %eax LBB0_2: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BIO_NOCLOSE,4,2 ## @BIO_NOCLOSE .comm _PEM_F_PEM_WRITE_PRIVATEKEY,4,2 ## @PEM_F_PEM_WRITE_PRIVATEKEY .comm _ERR_R_BUF_LIB,4,2 ## @ERR_R_BUF_LIB .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PEM_write_PrivateKey ; -- Begin function PEM_write_PrivateKey .p2align 2 _PEM_write_PrivateKey: ; @PEM_write_PrivateKey .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x6 mov x20, x5 mov x21, x4 mov x22, x3 mov x23, x2 mov x25, x1 Lloh0: adrp x8, _BIO_NOCLOSE@GOTPAGE Lloh1: ldr x8, [x8, _BIO_NOCLOSE@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _BIO_new_fp cbz x0, LBB0_2 ; %bb.1: mov x24, x0 mov x1, x25 mov x2, x23 mov x3, x22 mov x4, x21 mov x5, x20 mov x6, x19 bl _PEM_write_bio_PrivateKey mov x19, x0 mov x0, x24 bl _BIO_free mov x0, x19 b LBB0_3 LBB0_2: Lloh3: adrp x8, _PEM_F_PEM_WRITE_PRIVATEKEY@GOTPAGE Lloh4: ldr x8, [x8, _PEM_F_PEM_WRITE_PRIVATEKEY@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x8, _ERR_R_BUF_LIB@GOTPAGE Lloh7: ldr x8, [x8, _ERR_R_BUF_LIB@GOTPAGEOFF] Lloh8: ldr w1, [x8] bl _PEMerr mov w0, #0 LBB0_3: 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _BIO_NOCLOSE,4,2 ; @BIO_NOCLOSE .comm _PEM_F_PEM_WRITE_PRIVATEKEY,4,2 ; @PEM_F_PEM_WRITE_PRIVATEKEY .comm _ERR_R_BUF_LIB,4,2 ; @ERR_R_BUF_LIB .subsections_via_symbols
AnghaBench/openssl/crypto/pem/extr_pem_pkey.c_PEM_write_PrivateKey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _server_LocalOpen ## -- Begin function server_LocalOpen .p2align 4, 0x90 _server_LocalOpen: ## @server_LocalOpen .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, %rbx movq %rsi, %r14 movq %rdi, %r15 movq _server@GOTPCREL(%rip), %r12 movq 8(%r12), %rdi cmpb $0, (%rdi) je LBB0_3 ## %bb.1: movq %r14, %rsi callq _strcmp testl %eax, %eax jne LBB0_3 ## %bb.2: movq %r15, %rdi callq _server_Close LBB0_3: leaq -56(%rbp), %rdi xorl %esi, %esi movl $12, %edx callq _memset movq %r14, %rdi callq _strlen movl %eax, -56(%rbp) cmpl $4, %eax jb LBB0_5 ## %bb.4: movq _LogERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi movq %r14, %rdx xorl %eax, %eax callq _log_Printf movq _SERVER_INVALID@GOTPCREL(%rip), %r14 jmp LBB0_15 LBB0_5: movq _AF_LOCAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) movl -52(%rbp), %edi movq %r14, %rsi callq _strcpy movq _PF_LOCAL@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SOCK_STREAM@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _socket movl %eax, -44(%rbp) testl %eax, %eax jle LBB0_6 ## %bb.7: movq _SOL_SOCKET@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _SO_REUSEADDR@GOTPCREL(%rip), %rcx movl (%rcx), %edx leaq -44(%rbp), %rcx movl %eax, %edi movl $4, %r8d callq _setsockopt cmpq $-1, %rbx je LBB0_8 ## %bb.11: movq %rbx, %rdi callq _umask movq %rax, %r12 movl -44(%rbp), %edi leaq -56(%rbp), %rsi movl $12, %edx callq _bind movq %rax, %r13 movq %r12, %rdi movq _server@GOTPCREL(%rip), %r12 callq _umask testq %r13, %r13 js LBB0_12 LBB0_9: movl -44(%rbp), %edi movl $5, %esi callq _listen testq %rax, %rax je LBB0_16 ## %bb.10: movq _LogERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.3(%rip), %rsi xorl %eax, %eax callq _log_Printf movl -44(%rbp), %edi callq _close movq %r14, %rdi callq _unlink jmp LBB0_13 LBB0_6: movq _LogERROR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.1(%rip), %rsi movl %r14d, %edi movq %rax, %rdx xorl %eax, %eax callq _log_Printf jmp LBB0_13 LBB0_8: movl -44(%rbp), %edi leaq -56(%rbp), %rsi movl $12, %edx callq _bind testq %rax, %rax jns LBB0_9 LBB0_12: movq _LogWARN@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.2(%rip), %rsi movl %r14d, %edi movq %rax, %rdx xorl %eax, %eax callq _log_Printf movl -44(%rbp), %edi callq _close LBB0_13: movq _SERVER_FAILED@GOTPCREL(%rip), %r14 cmpl $-1, (%r12) jne LBB0_15 ## %bb.14: movq $0, 24(%r12) movq 8(%r12), %rdi movl -52(%rbp), %esi movl $7, %edx callq _strncpy movq 8(%r12), %rax movb $0, 7(%rax) movq %rbx, 16(%r12) jmp LBB0_15 LBB0_16: movq %r15, %rdi callq _server_Close movl -44(%rbp), %eax movl %eax, (%r12) movq $0, 24(%r12) movq 8(%r12), %rdi movl -52(%rbp), %esi movl $7, %edx callq _strncpy movq 8(%r12), %rax movb $0, 7(%rax) movq %rbx, 16(%r12) movq _LogPHASE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi movq %r14, %rdx xorl %eax, %eax callq _log_Printf movq _SERVER_OK@GOTPCREL(%rip), %r14 LBB0_15: movl (%r14), %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _server,32,3 ## @server .comm _LogERROR,4,2 ## @LogERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Local: %s: Path too long\n" .comm _SERVER_INVALID,4,2 ## @SERVER_INVALID .comm _AF_LOCAL,4,2 ## @AF_LOCAL .comm _PF_LOCAL,4,2 ## @PF_LOCAL .comm _SOCK_STREAM,4,2 ## @SOCK_STREAM L_.str.1: ## @.str.1 .asciz "Local: socket: %s\n" .comm _errno,4,2 ## @errno .comm _SOL_SOCKET,4,2 ## @SOL_SOCKET .comm _SO_REUSEADDR,4,2 ## @SO_REUSEADDR .comm _LogWARN,4,2 ## @LogWARN L_.str.2: ## @.str.2 .asciz "Local: bind: %s\n" L_.str.3: ## @.str.3 .asciz "Local: Unable to listen to socket - BUNDLE overload?\n" .comm _LogPHASE,4,2 ## @LogPHASE L_.str.4: ## @.str.4 .asciz "Listening at local socket %s.\n" .comm _SERVER_OK,4,2 ## @SERVER_OK .comm _SERVER_FAILED,4,2 ## @SERVER_FAILED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _server_LocalOpen ; -- Begin function server_LocalOpen .p2align 2 _server_LocalOpen: ; @server_LocalOpen .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x24, _server@GOTPAGE Lloh1: ldr x24, [x24, _server@GOTPAGEOFF] ldr x0, [x24, #8] ldrb w8, [x0] cbz w8, LBB0_3 ; %bb.1: mov x1, x20 bl _strcmp cbnz w0, LBB0_3 ; %bb.2: mov x0, x21 bl _server_Close LBB0_3: add x0, sp, #20 mov w1, #0 ; =0x0 mov w2, #12 ; =0xc bl _memset mov x0, x20 bl _strlen str w0, [sp, #20] cmp w0, #4 b.lo LBB0_5 ; %bb.4: Lloh2: adrp x8, _LogERROR@GOTPAGE Lloh3: ldr x8, [x8, _LogERROR@GOTPAGEOFF] Lloh4: ldr w0, [x8] str x20, [sp] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF bl _log_Printf Lloh7: adrp x8, _SERVER_INVALID@GOTPAGE Lloh8: ldr x8, [x8, _SERVER_INVALID@GOTPAGEOFF] b LBB0_16 LBB0_5: Lloh9: adrp x8, _AF_LOCAL@GOTPAGE Lloh10: ldr x8, [x8, _AF_LOCAL@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [sp, #28] ldr w0, [sp, #24] mov x1, x20 bl _strcpy Lloh12: adrp x8, _PF_LOCAL@GOTPAGE Lloh13: ldr x8, [x8, _PF_LOCAL@GOTPAGEOFF] Lloh14: ldr w0, [x8] Lloh15: adrp x8, _SOCK_STREAM@GOTPAGE Lloh16: ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF] Lloh17: ldr w1, [x8] mov w2, #0 ; =0x0 bl _socket str w0, [sp, #16] cmp w0, #0 b.le LBB0_10 ; %bb.6: Lloh18: adrp x8, _SOL_SOCKET@GOTPAGE Lloh19: ldr x8, [x8, _SOL_SOCKET@GOTPAGEOFF] Lloh20: ldr w1, [x8] Lloh21: adrp x8, _SO_REUSEADDR@GOTPAGE Lloh22: ldr x8, [x8, _SO_REUSEADDR@GOTPAGEOFF] Lloh23: ldr w2, [x8] add x3, sp, #16 mov w4, #4 ; =0x4 bl _setsockopt cmn x19, #1 b.eq LBB0_11 ; %bb.7: mov x0, x19 bl _umask mov x22, x0 ldr w0, [sp, #16] add x1, sp, #20 mov w2, #12 ; =0xc bl _bind mov x23, x0 mov x0, x22 bl _umask tbnz x23, #63, LBB0_12 LBB0_8: ldr w0, [sp, #16] mov w1, #5 ; =0x5 bl _listen cbz x0, LBB0_17 ; %bb.9: Lloh24: adrp x8, _LogERROR@GOTPAGE Lloh25: ldr x8, [x8, _LogERROR@GOTPAGEOFF] Lloh26: ldr w0, [x8] Lloh27: adrp x1, l_.str.3@PAGE Lloh28: add x1, x1, l_.str.3@PAGEOFF bl _log_Printf ldr w0, [sp, #16] bl _close mov x0, x20 bl _unlink b LBB0_13 LBB0_10: Lloh29: adrp x8, _LogERROR@GOTPAGE Lloh30: ldr x8, [x8, _LogERROR@GOTPAGEOFF] Lloh31: ldr w20, [x8] Lloh32: adrp x8, _errno@GOTPAGE Lloh33: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh34: ldr w0, [x8] bl _strerror str x0, [sp] Lloh35: adrp x1, l_.str.1@PAGE Lloh36: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _log_Printf b LBB0_13 LBB0_11: ldr w0, [sp, #16] add x1, sp, #20 mov w2, #12 ; =0xc bl _bind tbz x0, #63, LBB0_8 LBB0_12: Lloh37: adrp x8, _LogWARN@GOTPAGE Lloh38: ldr x8, [x8, _LogWARN@GOTPAGEOFF] Lloh39: ldr w20, [x8] Lloh40: adrp x8, _errno@GOTPAGE Lloh41: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh42: ldr w0, [x8] bl _strerror str x0, [sp] Lloh43: adrp x1, l_.str.2@PAGE Lloh44: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _log_Printf ldr w0, [sp, #16] bl _close LBB0_13: ldr w8, [x24] cmn w8, #1 b.ne LBB0_15 ; %bb.14: str xzr, [x24, #24] ldr x0, [x24, #8] ldr w1, [sp, #24] mov w2, #7 ; =0x7 bl _strncpy ldr x8, [x24, #8] strb wzr, [x8, #7] str x19, [x24, #16] LBB0_15: Lloh45: adrp x8, _SERVER_FAILED@GOTPAGE Lloh46: ldr x8, [x8, _SERVER_FAILED@GOTPAGEOFF] LBB0_16: ldr w0, [x8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_17: mov x0, x21 bl _server_Close ldr w8, [sp, #16] str w8, [x24] str xzr, [x24, #24] ldr x0, [x24, #8] ldr w1, [sp, #24] mov w2, #7 ; =0x7 bl _strncpy ldr x8, [x24, #8] strb wzr, [x8, #7] str x19, [x24, #16] Lloh47: adrp x8, _LogPHASE@GOTPAGE Lloh48: ldr x8, [x8, _LogPHASE@GOTPAGEOFF] Lloh49: ldr w0, [x8] str x20, [sp] Lloh50: adrp x1, l_.str.4@PAGE Lloh51: add x1, x1, l_.str.4@PAGEOFF bl _log_Printf Lloh52: adrp x8, _SERVER_OK@GOTPAGE Lloh53: ldr x8, [x8, _SERVER_OK@GOTPAGEOFF] b LBB0_16 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGot Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .cfi_endproc ; -- End function .comm _server,32,3 ; @server .comm _LogERROR,4,2 ; @LogERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Local: %s: Path too long\n" .comm _SERVER_INVALID,4,2 ; @SERVER_INVALID .comm _AF_LOCAL,4,2 ; @AF_LOCAL .comm _PF_LOCAL,4,2 ; @PF_LOCAL .comm _SOCK_STREAM,4,2 ; @SOCK_STREAM l_.str.1: ; @.str.1 .asciz "Local: socket: %s\n" .comm _errno,4,2 ; @errno .comm _SOL_SOCKET,4,2 ; @SOL_SOCKET .comm _SO_REUSEADDR,4,2 ; @SO_REUSEADDR .comm _LogWARN,4,2 ; @LogWARN l_.str.2: ; @.str.2 .asciz "Local: bind: %s\n" l_.str.3: ; @.str.3 .asciz "Local: Unable to listen to socket - BUNDLE overload?\n" .comm _LogPHASE,4,2 ; @LogPHASE l_.str.4: ; @.str.4 .asciz "Listening at local socket %s.\n" .comm _SERVER_OK,4,2 ; @SERVER_OK .comm _SERVER_FAILED,4,2 ; @SERVER_FAILED .subsections_via_symbols
assembly_file_145277.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dw_apb_clocksource_start ## -- Begin function dw_apb_clocksource_start .p2align 4, 0x90 _dw_apb_clocksource_start: ## @dw_apb_clocksource_start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _APBTMR_N_CONTROL@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _apbt_readl movq _APBTMR_CONTROL_ENABLE@GOTPCREL(%rip), %r12 movl (%r12), %ebx notl %ebx andl %eax, %ebx movl (%r15), %edx movq %r14, %rdi movl %ebx, %esi callq _apbt_writel movq _APBTMR_N_LOAD_COUNT@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl $-1, %esi callq _apbt_writel movq _APBTMR_CONTROL_MODE_PERIODIC@GOTPCREL(%rip), %rax movl (%rax), %esi notl %esi andl %ebx, %esi orl (%r12), %esi movq _APBTMR_CONTROL_INT@GOTPCREL(%rip), %rax orl (%rax), %esi movl (%r15), %edx movq %r14, %rdi callq _apbt_writel movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _dw_apb_clocksource_read ## TAILCALL .cfi_endproc ## -- End function .comm _APBTMR_N_CONTROL,4,2 ## @APBTMR_N_CONTROL .comm _APBTMR_CONTROL_ENABLE,4,2 ## @APBTMR_CONTROL_ENABLE .comm _APBTMR_N_LOAD_COUNT,4,2 ## @APBTMR_N_LOAD_COUNT .comm _APBTMR_CONTROL_MODE_PERIODIC,4,2 ## @APBTMR_CONTROL_MODE_PERIODIC .comm _APBTMR_CONTROL_INT,4,2 ## @APBTMR_CONTROL_INT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dw_apb_clocksource_start ; -- Begin function dw_apb_clocksource_start .p2align 2 _dw_apb_clocksource_start: ; @dw_apb_clocksource_start .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x21, _APBTMR_N_CONTROL@GOTPAGE Lloh1: ldr x21, [x21, _APBTMR_N_CONTROL@GOTPAGEOFF] ldr w1, [x21] bl _apbt_readl Lloh2: adrp x22, _APBTMR_CONTROL_ENABLE@GOTPAGE Lloh3: ldr x22, [x22, _APBTMR_CONTROL_ENABLE@GOTPAGEOFF] ldr w8, [x22] bic w20, w0, w8 ldr w2, [x21] mov x0, x19 mov x1, x20 bl _apbt_writel Lloh4: adrp x8, _APBTMR_N_LOAD_COUNT@GOTPAGE Lloh5: ldr x8, [x8, _APBTMR_N_LOAD_COUNT@GOTPAGEOFF] Lloh6: ldr w2, [x8] mov x0, x19 mov w1, #-1 bl _apbt_writel Lloh7: adrp x8, _APBTMR_CONTROL_MODE_PERIODIC@GOTPAGE Lloh8: ldr x8, [x8, _APBTMR_CONTROL_MODE_PERIODIC@GOTPAGEOFF] Lloh9: ldr w8, [x8] bic w8, w20, w8 ldr w9, [x22] Lloh10: adrp x10, _APBTMR_CONTROL_INT@GOTPAGE Lloh11: ldr x10, [x10, _APBTMR_CONTROL_INT@GOTPAGEOFF] Lloh12: ldr w10, [x10] orr w8, w8, w9 orr w1, w8, w10 ldr w2, [x21] mov x0, x19 bl _apbt_writel 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 _dw_apb_clocksource_read .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _APBTMR_N_CONTROL,4,2 ; @APBTMR_N_CONTROL .comm _APBTMR_CONTROL_ENABLE,4,2 ; @APBTMR_CONTROL_ENABLE .comm _APBTMR_N_LOAD_COUNT,4,2 ; @APBTMR_N_LOAD_COUNT .comm _APBTMR_CONTROL_MODE_PERIODIC,4,2 ; @APBTMR_CONTROL_MODE_PERIODIC .comm _APBTMR_CONTROL_INT,4,2 ; @APBTMR_CONTROL_INT .subsections_via_symbols
AnghaBench/linux/drivers/clocksource/extr_dw_apb_timer.c_dw_apb_clocksource_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function guc_realloc _guc_realloc: ## @guc_realloc .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, %rax movl %edi, %ebx movq %rsi, %rcx orq %rdx, %rcx movl $1, %esi cmovneq %rdx, %rsi movq %rax, %rdi callq _realloc testq %rax, %rax jne LBB0_2 ## %bb.1: movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq %rax, %r14 callq _errcode leaq L_.str(%rip), %rdi callq _errmsg movl %ebx, %edi movl %eax, %esi callq _ereport movq %r14, %rax LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ERRCODE_OUT_OF_MEMORY,4,2 ## @ERRCODE_OUT_OF_MEMORY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .no_dead_strip _guc_realloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function guc_realloc _guc_realloc: ; @guc_realloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x8, x1 mov x19, x0 orr x9, x1, x2 cmp x9, #0 csinc x1, x2, xzr, ne mov x0, x8 bl _realloc cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE Lloh1: ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov x20, x0 mov x0, x8 bl _errcode Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _errmsg mov x1, x0 mov x0, x19 bl _ereport mov x0, x20 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ERRCODE_OUT_OF_MEMORY,4,2 ; @ERRCODE_OUT_OF_MEMORY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .no_dead_strip _guc_realloc .subsections_via_symbols
assembly_file_44264.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ipl_set_config _ipl_set_config: ## @ipl_set_config .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $3422578688, %eax ## imm = 0xCC006800 shll $24, %edi movq (%rax), %rcx andl $1029, %ecx ## imm = 0x405 orq $304, %rcx ## imm = 0x130 movq %rcx, (%rax) leaq -201353216(%rax), %rcx movq %rcx, 32(%rax) movq $53, 24(%rax) .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq 24(%rax), %rcx testb $1, %cl jne LBB0_1 ## %bb.2: movslq %edi, %rcx movq %rcx, 32(%rax) movq $53, 24(%rax) .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 24(%rax), %rcx testb $1, %cl jne LBB0_3 ## %bb.4: andq $1029, (%rax) ## imm = 0x405 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ipl_set_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ipl_set_config _ipl_set_config: ; @ipl_set_config .cfi_startproc ; %bb.0: mov w8, #26624 ; =0x6800 movk w8, #52224, lsl #16 lsl w9, w0, #24 ldr x10, [x8] mov w11, #1029 ; =0x405 and x10, x10, x11 mov w11, #304 ; =0x130 orr x10, x10, x11 str x10, [x8] mov w10, #-1073741824 ; =0xc0000000 str x10, [x8, #32] mov w10, #53 ; =0x35 str x10, [x8, #24] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x10, [x8, #24] tbnz w10, #0, LBB0_1 ; %bb.2: sxtw x9, w9 str x9, [x8, #32] mov w9, #53 ; =0x35 str x9, [x8, #24] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x9, [x8, #24] tbnz w9, #0, LBB0_3 ; %bb.4: ldr x9, [x8] mov w10, #1029 ; =0x405 and x9, x9, x10 str x9, [x8] ret .cfi_endproc ; -- End function .no_dead_strip _ipl_set_config .subsections_via_symbols
assembly_file_38093.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wpa_supplicant_add_iface ## -- Begin function wpa_supplicant_add_iface .p2align 4, 0x90 _wpa_supplicant_add_iface: ## @wpa_supplicant_add_iface .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %r15d, %r15d testq %rdi, %rdi je LBB0_13 ## %bb.1: movq %rsi, %rbx testq %rsi, %rsi je LBB0_13 ## %bb.2: movq %rdi, %r14 movq %rdx, %rdi callq _wpa_supplicant_alloc testq %rax, %rax je LBB0_10 ## %bb.3: movq %rax, %r15 movq %r14, 8(%rax) movups (%rbx), %xmm0 movups 16(%rbx), %xmm1 movaps %xmm1, -48(%rbp) movaps %xmm0, -64(%rbp) movq 16(%r14), %rcx testq %rcx, %rcx je LBB0_5 ## %bb.4: movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 24(%rbx), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax callq _wpa_printf movq 16(%r14), %rax movq %rax, -40(%rbp) LBB0_5: movq 8(%r14), %rcx testq %rcx, %rcx je LBB0_7 ## %bb.6: movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movq 16(%rbx), %rdx leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _wpa_printf movq 8(%r14), %rax movq %rax, -48(%rbp) LBB0_7: leaq -64(%rbp), %rsi movq %r15, %rdi callq _wpa_supplicant_init_iface testq %rax, %rax je LBB0_11 ## %bb.8: movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi movl 8(%rbx), %edx leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _wpa_printf movq %r15, %rdi xorl %esi, %esi LBB0_9: xorl %edx, %edx callq _wpa_supplicant_deinit_iface LBB0_10: xorl %r15d, %r15d LBB0_13: movq %r15, %rax addq $40, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_11: cmpq $0, (%rbx) je LBB0_14 LBB0_12: movq 40(%r14), %rax movq %rax, 32(%r15) movq %r15, 40(%r14) movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi movl 24(%r15), %ecx leaq L_.str.3(%rip), %rdx movq %r15, %rdi callq _wpa_dbg movq _WPA_DISCONNECTED@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _wpa_supplicant_set_state jmp LBB0_13 LBB0_14: movq %r15, %rdi callq _wpas_notify_iface_added testq %rax, %rax je LBB0_16 ## %bb.15: movq %r15, %rdi movl $1, %esi jmp LBB0_9 LBB0_16: movq 16(%r15), %rax movq 8(%rax), %rbx testq %rbx, %rbx je LBB0_12 .p2align 4, 0x90 LBB0_17: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq %rbx, %rsi callq _wpas_notify_network_added movq (%rbx), %rbx testq %rbx, %rbx jne LBB0_17 jmp LBB0_12 .cfi_endproc ## -- End function .comm _MSG_DEBUG,4,2 ## @MSG_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Override interface parameter: driver ('%s' -> '%s')" L_.str.1: ## @.str.1 .asciz "Override interface parameter: ctrl_interface ('%s' -> '%s')" L_.str.2: ## @.str.2 .asciz "Failed to add interface %s" L_.str.3: ## @.str.3 .asciz "Added interface %s" .comm _WPA_DISCONNECTED,4,2 ## @WPA_DISCONNECTED .comm _MSG_INFO,4,2 ## @MSG_INFO .comm _WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE,4,2 ## @WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _wpa_supplicant_add_iface ; -- Begin function wpa_supplicant_add_iface .p2align 2 _wpa_supplicant_add_iface: ; @wpa_supplicant_add_iface .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, #0 cbz x0, LBB0_12 ; %bb.1: mov x21, x1 cbz x1, LBB0_12 ; %bb.2: mov x20, x0 mov x0, x2 bl _wpa_supplicant_alloc mov x19, x0 cbz x0, LBB0_12 ; %bb.3: str x20, [x19, #8] ldp q0, q1, [x21] stp q0, q1, [sp, #16] ldr x8, [x20, #16] Lloh0: adrp x22, _MSG_DEBUG@GOTPAGE Lloh1: ldr x22, [x22, _MSG_DEBUG@GOTPAGEOFF] cbz x8, LBB0_5 ; %bb.4: ldr w0, [x22] ldr x9, [x21, #24] stp x9, x8, [sp] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _wpa_printf ldr x8, [x20, #16] str x8, [sp, #40] LBB0_5: ldr x8, [x20, #8] cbz x8, LBB0_7 ; %bb.6: ldr w0, [x22] ldr x9, [x21, #16] stp x9, x8, [sp] Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF bl _wpa_printf ldr x8, [x20, #8] str x8, [sp, #32] LBB0_7: add x1, sp, #16 mov x0, x19 bl _wpa_supplicant_init_iface cbz x0, LBB0_10 ; %bb.8: ldr w0, [x22] ldr w8, [x21, #8] str x8, [sp] Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF bl _wpa_printf mov x0, x19 mov w1, #0 LBB0_9: mov w2, #0 bl _wpa_supplicant_deinit_iface mov x19, #0 b LBB0_12 LBB0_10: ldr x8, [x21] cbz x8, LBB0_13 LBB0_11: ldr x8, [x20, #40] str x8, [x19, #32] str x19, [x20, #40] ldr w1, [x22] ldr w3, [x19, #24] Lloh8: adrp x2, l_.str.3@PAGE Lloh9: add x2, x2, l_.str.3@PAGEOFF mov x0, x19 bl _wpa_dbg Lloh10: adrp x8, _WPA_DISCONNECTED@GOTPAGE Lloh11: ldr x8, [x8, _WPA_DISCONNECTED@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov x0, x19 bl _wpa_supplicant_set_state LBB0_12: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_13: mov x0, x19 bl _wpas_notify_iface_added cbz x0, LBB0_15 ; %bb.14: mov x0, x19 mov w1, #1 b LBB0_9 LBB0_15: ldr x8, [x19, #16] ldr x21, [x8, #8] cbz x21, LBB0_11 LBB0_16: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 bl _wpas_notify_network_added ldr x21, [x21] cbnz x21, LBB0_16 b LBB0_11 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _MSG_DEBUG,4,2 ; @MSG_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Override interface parameter: driver ('%s' -> '%s')" l_.str.1: ; @.str.1 .asciz "Override interface parameter: ctrl_interface ('%s' -> '%s')" l_.str.2: ; @.str.2 .asciz "Failed to add interface %s" l_.str.3: ; @.str.3 .asciz "Added interface %s" .comm _WPA_DISCONNECTED,4,2 ; @WPA_DISCONNECTED .comm _MSG_INFO,4,2 ; @MSG_INFO .comm _WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE,4,2 ; @WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_wpa_supplicant.c_wpa_supplicant_add_iface.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function b43_phy_ht_op_get_default_chan _b43_phy_ht_op_get_default_chan: ## @b43_phy_ht_op_get_default_chan .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi callq _b43_current_band movq _NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax movl $11, %ecx movl $36, %eax cmovel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NL80211_BAND_2GHZ,8,3 ## @NL80211_BAND_2GHZ .no_dead_strip _b43_phy_ht_op_get_default_chan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function b43_phy_ht_op_get_default_chan _b43_phy_ht_op_get_default_chan: ; @b43_phy_ht_op_get_default_chan .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w0, [x0] bl _b43_current_band Lloh0: adrp x8, _NL80211_BAND_2GHZ@GOTPAGE Lloh1: ldr x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 mov w8, #36 mov w9, #11 csel w0, w9, w8, eq ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NL80211_BAND_2GHZ,8,3 ; @NL80211_BAND_2GHZ .no_dead_strip _b43_phy_ht_op_get_default_chan .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_phy_ht.c_b43_phy_ht_op_get_default_chan.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function match_capture _match_capture: ## @match_capture .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movl %edx, %esi callq _check_capture movq (%rbx), %rdx movq 8(%rbx), %rcx cltq shlq $4, %rax movq 8(%rcx,%rax), %rbx subq %r14, %rdx cmpq %rbx, %rdx jae LBB0_2 ## %bb.1: xorl %eax, %eax jmp LBB0_3 LBB0_2: movl (%rcx,%rax), %edi movq %r14, %rsi movq %rbx, %rdx callq _memcmp movq %rax, %rcx addq %rbx, %r14 xorl %eax, %eax testq %rcx, %rcx cmoveq %r14, %rax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _match_capture .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function match_capture _match_capture: ; @match_capture .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov x1, x2 bl _check_capture ; kill: def $w0 killed $w0 def $x0 ldp x9, x8, [x20] add x10, x8, w0, sxtw #4 ldr x20, [x10, #8] sub x9, x9, x19 cmp x9, x20 b.hs LBB0_2 ; %bb.1: mov x0, #0 b LBB0_3 LBB0_2: sxtw x9, w0 lsl x9, x9, #4 ldr w0, [x8, x9] mov x1, x19 mov x2, x20 bl _memcmp add x8, x19, x20 cmp x0, #0 csel x0, x8, xzr, eq LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _match_capture .subsections_via_symbols
AnghaBench/xLua/build/luajit-2.1.0b3/src/extr_lib_string.c_match_capture.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function enable_display _enable_display: ## @enable_display .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_1 ## %bb.4: cmpb $0, (%rdi) je LBB0_21 ## %bb.5: movq _display_chain@GOTPCREL(%rip), %r15 leaq L_.str.1(%rip), %r14 movabsq $4294967809, %r12 ## imm = 0x100000201 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_14 Depth 2 ## Child Loop BB0_18 Depth 2 leaq -1(%rdi), %r13 .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl 1(%r13), %eax incq %r13 leal -48(%rax), %ecx cmpb $10, %cl jb LBB0_8 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 cmpl $32, %eax ja LBB0_11 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movl %eax, %eax btq %rax, %r12 jb LBB0_12 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movq %rdi, %rbx leaq L_.str(%rip), %rdi callq _error movq %rbx, %rdi LBB0_12: ## in Loop: Header=BB0_7 Depth=1 callq _atoi movq (%r15), %rcx testq %rcx, %rcx je LBB0_17 .p2align 4, 0x90 LBB0_14: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %eax, 4(%rcx) je LBB0_15 ## %bb.16: ## in Loop: Header=BB0_14 Depth=2 movq 8(%rcx), %rcx testq %rcx, %rcx jne LBB0_14 LBB0_17: ## in Loop: Header=BB0_7 Depth=1 movq %r14, %rdi movl %eax, %esi callq _printf_unfiltered jmp LBB0_18 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_7 Depth=1 movl $1, (%rcx) jmp LBB0_18 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_18 Depth=2 incq %r13 LBB0_18: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r13), %eax cmpl $9, %eax je LBB0_22 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 cmpl $32, %eax je LBB0_22 ## %bb.20: ## in Loop: Header=BB0_7 Depth=1 testl %eax, %eax je LBB0_21 ## %bb.6: ## in Loop: Header=BB0_7 Depth=1 movq %r13, %rdi jmp LBB0_7 LBB0_1: movq _display_chain@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_21 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl $1, (%rax) movq 8(%rax), %rax testq %rax, %rax jne LBB0_3 LBB0_21: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _display_chain,8,3 ## @display_chain .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Arguments must be display numbers." L_.str.1: ## @.str.1 .asciz "No display number %d.\n" .no_dead_strip _enable_display .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function enable_display _enable_display: ; @enable_display .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 cbz x0, LBB0_17 ; %bb.1: ldrb w8, [x0] cbz w8, LBB0_20 ; %bb.2: mov w21, #1 ; =0x1 mov x22, #513 ; =0x201 movk x22, #1, lsl #32 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF Lloh2: adrp x23, _display_chain@GOTPAGE Lloh3: ldr x23, [x23, _display_chain@GOTPAGEOFF] Lloh4: adrp x20, l_.str.1@PAGE Lloh5: add x20, x20, l_.str.1@PAGEOFF LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_13 Depth 2 sub x24, x0, #1 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x24, #1]! sub w9, w8, #48 cmp w9, #10 b.lo LBB0_4 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 cmp w8, #32 lsl x8, x21, x8 and x8, x8, x22 ccmp x8, #0, #4, ls b.ne LBB0_7 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x25, x0 mov x0, x19 bl _error mov x0, x25 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 bl _atoi mov x1, x0 ldr x8, [x23] cbz x8, LBB0_10 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w9, [x8, #4] cmp w9, w1 b.eq LBB0_11 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [x8, #8] cbnz x8, LBB0_8 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _printf_unfiltered b LBB0_13 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 str w21, [x8] b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=2 add x24, x24, #1 LBB0_13: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x24] cmp w8, #9 b.eq LBB0_12 ; %bb.14: ; in Loop: Header=BB0_13 Depth=2 cmp w8, #32 b.eq LBB0_12 ; %bb.15: ; in Loop: Header=BB0_3 Depth=1 cbz w8, LBB0_20 ; %bb.16: ; in Loop: Header=BB0_3 Depth=1 mov x0, x24 b LBB0_3 LBB0_17: Lloh6: adrp x8, _display_chain@GOTPAGE Lloh7: ldr x8, [x8, _display_chain@GOTPAGEOFF] Lloh8: ldr x8, [x8] cbz x8, LBB0_20 ; %bb.18: mov w9, #1 ; =0x1 LBB0_19: ; =>This Inner Loop Header: Depth=1 str w9, [x8] ldr x8, [x8, #8] cbnz x8, LBB0_19 LBB0_20: 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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _display_chain,8,3 ; @display_chain .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Arguments must be display numbers." l_.str.1: ; @.str.1 .asciz "No display number %d.\n" .no_dead_strip _enable_display .subsections_via_symbols
assembly_file_101383.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vcn_v2_5_suspend _vcn_v2_5_suspend: ## @vcn_v2_5_suspend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _vcn_v2_5_hw_fini testl %eax, %eax je LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %rbp retq LBB0_2: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _amdgpu_vcn_suspend ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _vcn_v2_5_suspend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vcn_v2_5_suspend _vcn_v2_5_suspend: ; @vcn_v2_5_suspend .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 _vcn_v2_5_hw_fini cbz w0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _amdgpu_vcn_suspend .cfi_endproc ; -- End function .no_dead_strip _vcn_v2_5_suspend .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_vcn_v2_5.c_vcn_v2_5_suspend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function flushline _flushline: ## @flushline .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 _symlist@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_1 LBB0_18: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_1: movq _complement@GOTPCREL(%rip), %rax cmpl %edi, (%rax) jne LBB0_2 ## %bb.12: movq _lnblank@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_15 ## %bb.13: movq _newline@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _output@GOTPCREL(%rip), %rax movl (%rax), %esi callq _fputs movq _EOF@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_15 ## %bb.14: xorl %eax, %eax callq _closeio LBB0_15: movq _delcount@GOTPCREL(%rip), %rax incq (%rax) movq _altered@GOTPCREL(%rip), %rax movl $1, (%rax) movq _blankcount@GOTPCREL(%rip), %rax movl $0, (%rax) jmp LBB0_16 LBB0_2: movq _tline@GOTPCREL(%rip), %r12 movq (%r12), %rbx leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _strspn movb (%rbx,%rax), %r14b testb %r14b, %r14b jne LBB0_6 ## %bb.3: movq _compblank@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_6 ## %bb.4: movq _blankcount@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _blankmax@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB0_5 LBB0_6: movq _lnnum@GOTPCREL(%rip), %rax cmpq $0, (%rax) movq _delcount@GOTPCREL(%rip), %r15 je LBB0_9 ## %bb.7: cmpq $0, (%r15) jle LBB0_9 ## %bb.8: xorl %eax, %eax callq _hashline movq (%r12), %rbx LBB0_9: movq _output@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _fputs movq _EOF@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.10: xorl %eax, %eax callq _closeio LBB0_11: movq _blankcount@GOTPCREL(%rip), %rax movl (%rax), %ecx incl %ecx xorl %edx, %edx testb %r14b, %r14b cmovel %ecx, %edx movq $0, (%r15) movl %edx, (%rax) movq _blankmax@GOTPCREL(%rip), %rax movl %edx, (%rax) jmp LBB0_16 LBB0_5: movq _delcount@GOTPCREL(%rip), %rdx incq (%rdx) incl %ecx movl %ecx, (%rax) LBB0_16: movq _debugging@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_18 ## %bb.17: movq _output@GOTPCREL(%rip), %rax movl (%rax), %edi callq _fflush movq _EOF@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_18 ## %bb.19: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _closeio ## TAILCALL .cfi_endproc ## -- End function .comm _symlist,8,3 ## @symlist .comm _complement,4,2 ## @complement .comm _tline,8,3 ## @tline .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " \t\r\n" .comm _compblank,8,3 ## @compblank .comm _blankcount,4,2 ## @blankcount .comm _blankmax,4,2 ## @blankmax .comm _delcount,8,3 ## @delcount .comm _lnnum,8,3 ## @lnnum .comm _output,4,2 ## @output .comm _EOF,8,3 ## @EOF .comm _lnblank,8,3 ## @lnblank .comm _newline,8,3 ## @newline .comm _altered,4,2 ## @altered .comm _debugging,8,3 ## @debugging .no_dead_strip _flushline .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function flushline _flushline: ; @flushline .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 Lloh0: adrp x8, _symlist@GOTPAGE Lloh1: ldr x8, [x8, _symlist@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_2 LBB0_1: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_2: Lloh3: adrp x8, _complement@GOTPAGE Lloh4: ldr x8, [x8, _complement@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x21, _output@GOTPAGE Lloh7: ldr x21, [x21, _output@GOTPAGEOFF] Lloh8: adrp x20, _EOF@GOTPAGE Lloh9: ldr x20, [x20, _EOF@GOTPAGEOFF] cmp w8, w0 b.ne LBB0_7 ; %bb.3: Lloh10: adrp x8, _lnblank@GOTPAGE Lloh11: ldr x8, [x8, _lnblank@GOTPAGEOFF] Lloh12: ldr x8, [x8] cbz x8, LBB0_6 ; %bb.4: Lloh13: adrp x8, _newline@GOTPAGE Lloh14: ldr x8, [x8, _newline@GOTPAGEOFF] Lloh15: ldr x0, [x8] ldr w1, [x21] bl _fputs ldr x8, [x20] cmp x0, x8 b.ne LBB0_6 ; %bb.5: bl _closeio LBB0_6: Lloh16: adrp x8, _altered@GOTPAGE Lloh17: ldr x8, [x8, _altered@GOTPAGEOFF] mov w9, #1 Lloh18: str w9, [x8] Lloh19: adrp x8, _delcount@GOTPAGE Lloh20: ldr x8, [x8, _delcount@GOTPAGEOFF] ldr x9, [x8] add x9, x9, #1 str x9, [x8] Lloh21: adrp x8, _blankcount@GOTPAGE Lloh22: ldr x8, [x8, _blankcount@GOTPAGEOFF] Lloh23: str wzr, [x8] b LBB0_15 LBB0_7: Lloh24: adrp x25, _tline@GOTPAGE Lloh25: ldr x25, [x25, _tline@GOTPAGEOFF] ldr x19, [x25] Lloh26: adrp x1, l_.str@PAGE Lloh27: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _strspn ldrb w23, [x19, x0] Lloh28: adrp x8, _compblank@GOTPAGE Lloh29: ldr x8, [x8, _compblank@GOTPAGEOFF] Lloh30: ldr x8, [x8] cmp w23, #0 ccmp x8, #0, #4, eq Lloh31: adrp x22, _blankcount@GOTPAGE Lloh32: ldr x22, [x22, _blankcount@GOTPAGEOFF] Lloh33: adrp x24, _blankmax@GOTPAGE Lloh34: ldr x24, [x24, _blankmax@GOTPAGEOFF] b.eq LBB0_9 ; %bb.8: ldr w8, [x22] ldr w9, [x24] cmp w8, w9 b.ne LBB0_14 LBB0_9: Lloh35: adrp x8, _lnnum@GOTPAGE Lloh36: ldr x8, [x8, _lnnum@GOTPAGEOFF] Lloh37: ldr x8, [x8] Lloh38: adrp x26, _delcount@GOTPAGE Lloh39: ldr x26, [x26, _delcount@GOTPAGEOFF] ldr x9, [x26] cmp x8, #0 ccmp x9, #1, #8, ne b.lt LBB0_11 ; %bb.10: bl _hashline ldr x19, [x25] LBB0_11: ldr w1, [x21] mov x0, x19 bl _fputs ldr x8, [x20] cmp x0, x8 b.ne LBB0_13 ; %bb.12: bl _closeio LBB0_13: str xzr, [x26] ldr w8, [x22] cmp w23, #0 csinc w8, wzr, w8, ne str w8, [x22] str w8, [x24] b LBB0_15 LBB0_14: Lloh40: adrp x9, _delcount@GOTPAGE Lloh41: ldr x9, [x9, _delcount@GOTPAGEOFF] ldr x10, [x9] add x10, x10, #1 str x10, [x9] add w8, w8, #1 str w8, [x22] LBB0_15: Lloh42: adrp x8, _debugging@GOTPAGE Lloh43: ldr x8, [x8, _debugging@GOTPAGEOFF] Lloh44: ldr x8, [x8] cbz x8, LBB0_1 ; %bb.16: ldr w0, [x21] bl _fflush ldr x8, [x20] cmp x0, x8 b.ne LBB0_1 ; %bb.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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _closeio .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotStr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGot Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .cfi_endproc ; -- End function .comm _symlist,8,3 ; @symlist .comm _complement,4,2 ; @complement .comm _tline,8,3 ; @tline .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " \t\r\n" .comm _compblank,8,3 ; @compblank .comm _blankcount,4,2 ; @blankcount .comm _blankmax,4,2 ; @blankmax .comm _delcount,8,3 ; @delcount .comm _lnnum,8,3 ; @lnnum .comm _output,4,2 ; @output .comm _EOF,8,3 ; @EOF .comm _lnblank,8,3 ; @lnblank .comm _newline,8,3 ; @newline .comm _altered,4,2 ; @altered .comm _debugging,8,3 ; @debugging .no_dead_strip _flushline .subsections_via_symbols
AnghaBench/freebsd/usr.bin/unifdef/extr_unifdef.c_flushline.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _terminar ## -- Begin function terminar .p2align 4, 0x90 _terminar: ## @terminar .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $208, %rsp movq %rdi, %r10 movq %rsi, -200(%rbp) movq %rdx, -192(%rbp) movq %rcx, -184(%rbp) movq %r8, -176(%rbp) movq %r9, -168(%rbp) testb %al, %al je LBB0_2 ## %bb.1: movaps %xmm0, -160(%rbp) movaps %xmm1, -144(%rbp) movaps %xmm2, -128(%rbp) movaps %xmm3, -112(%rbp) movaps %xmm4, -96(%rbp) movaps %xmm5, -80(%rbp) movaps %xmm6, -64(%rbp) movaps %xmm7, -48(%rbp) LBB0_2: leaq -208(%rbp), %rax movq %rax, -16(%rbp) leaq 16(%rbp), %rax movq %rax, -24(%rbp) movabsq $206158430216, %rax ## imm = 0x3000000008 movq %rax, -32(%rbp) movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq -32(%rbp), %rdx movq %r10, %rsi callq _vfprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _nombre_proceso ## -- Begin function nombre_proceso .p2align 4, 0x90 _nombre_proceso: ## @nombre_proceso .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 $1032, %rsp ## imm = 0x408 .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) movslq %edi, %r14 leaq L_.str(%rip), %rcx leaq -1056(%rbp), %rbx movl $1024, %edx ## imm = 0x400 movq %rbx, %rdi xorl %esi, %esi movq %r14, %r8 xorl %eax, %eax callq ___sprintf_chk leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _fopen testq %rax, %rax je LBB1_6 ## %bb.1: movq %rax, %r15 movq %rax, %rdi callq _getc ## kill: def $eax killed $eax def $rax leal -1(%rax), %ecx cmpl $-3, %ecx ja LBB1_4 ## %bb.2: leaq -1055(%rbp), %rbx .p2align 4, 0x90 LBB1_3: ## =>This Inner Loop Header: Depth=1 movb %al, -1(%rbx) movb $0, (%rbx) movq %r15, %rdi callq _getc ## kill: def $eax killed $eax def $rax movl %eax, %ecx decl %ecx incq %rbx cmpl $-2, %ecx jb LBB1_3 LBB1_4: leaq L_.str.3(%rip), %rdi leaq -1056(%rbp), %rsi movq %r14, %rdx xorl %eax, %eax callq _printf movq %r15, %rdi callq _fclose movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB1_7 ## %bb.5: addq $1032, %rsp ## imm = 0x408 popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_6: callq ___error movl (%rax), %edi callq _strerror leaq L_.str.2(%rip), %rdi leaq -1056(%rbp), %rsi movq %rax, %rdx xorl %eax, %eax callq _terminar LBB1_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _mostrar_mapa ## -- Begin function mostrar_mapa .p2align 4, 0x90 _mostrar_mapa: ## @mostrar_mapa .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 $3272, %rsp ## imm = 0xCC8 .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) movslq %edi, %r8 leaq L_.str.4(%rip), %rcx leaq -1072(%rbp), %rbx movl $1024, %edx ## imm = 0x400 movq %rbx, %rdi xorl %esi, %esi xorl %eax, %eax callq ___sprintf_chk leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _fopen testq %rax, %rax je LBB2_3 ## %bb.1: movq %rax, %r13 movq %rax, %rdi callq _feof testl %eax, %eax je LBB2_4 ## %bb.2: xorl %eax, %eax movq %rax, -3280(%rbp) ## 8-byte Spill xorl %r12d, %r12d xorl %eax, %eax movq %rax, -3272(%rbp) ## 8-byte Spill LBB2_31: shrq $10, %r12 movq -3272(%rbp), %rdx ## 8-byte Reload shrq $10, %rdx movq -3280(%rbp), %rcx ## 8-byte Reload shrq $10, %rcx leaq L_.str.29(%rip), %rdi movq %r12, %rsi xorl %eax, %eax callq _printf leaq L_.str.28(%rip), %rdi xorl %eax, %eax callq _printf movq %r13, %rdi callq _fclose movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB2_34 ## %bb.32: addq $3272, %rsp ## imm = 0xCC8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB2_4: leaq -2208(%rbp), %rbx leaq -3232(%rbp), %r15 movl $3435973837, %r14d ## imm = 0xCCCCCCCD xorl %eax, %eax movq %rax, -3272(%rbp) ## 8-byte Spill xorl %r12d, %r12d xorl %eax, %eax movq %rax, -3280(%rbp) ## 8-byte Spill movq %r13, -3288(%rbp) ## 8-byte Spill jmp LBB2_5 LBB2_22: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.19(%rip), %rdi .p2align 4, 0x90 LBB2_23: ## in Loop: Header=BB2_5 Depth=1 leaq -3238(%rbp), %rsi xorl %eax, %eax callq _printf LBB2_30: ## in Loop: Header=BB2_5 Depth=1 leaq -3232(%rbp), %rbx movq -3296(%rbp), %rax ## 8-byte Reload addq %r12, %rax movq %rax, %r12 leaq L_.str.26(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %r15 movq %rbx, %rdi callq _puts leaq L_.str.28(%rip), %rdi xorl %eax, %eax callq _printf movq -3288(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi callq _feof testl %eax, %eax leaq -2208(%rbp), %rbx jne LBB2_31 LBB2_5: ## =>This Loop Header: Depth=1 ## Child Loop BB2_13 Depth 2 ## Child Loop BB2_19 Depth 2 movq %rbx, %rdi movl $1124, %esi ## imm = 0x464 movq %r13, %rdx callq _fgets testq %rax, %rax je LBB2_31 ## %bb.6: ## in Loop: Header=BB2_5 Depth=1 movq %r12, -3296(%rbp) ## 8-byte Spill movb $0, -3232(%rbp) subq $8, %rsp movq %rbx, %rdi leaq L_.str.5(%rip), %rsi leaq -3264(%rbp), %rdx leaq -3256(%rbp), %rcx leaq -3243(%rbp), %r8 leaq -3304(%rbp), %r9 xorl %eax, %eax pushq %r15 leaq -3312(%rbp), %rbx pushq %rbx leaq -3238(%rbp), %rbx pushq %rbx callq _sscanf addq $32, %rsp movq -3256(%rbp), %rdx movq -3264(%rbp), %rsi movq %rdx, %r12 subq %rsi, %r12 movb -3240(%rbp), %al cmpb $115, %al je LBB2_10 ## %bb.7: ## in Loop: Header=BB2_5 Depth=1 cmpb $112, %al jne LBB2_9 ## %bb.8: ## in Loop: Header=BB2_5 Depth=1 cmpb $119, -3242(%rbp) movl $0, %eax cmoveq %r12, %rax addq %rax, -3272(%rbp) ## 8-byte Folded Spill jmp LBB2_11 .p2align 4, 0x90 LBB2_10: ## in Loop: Header=BB2_5 Depth=1 addq %r12, -3280(%rbp) ## 8-byte Folded Spill LBB2_11: ## in Loop: Header=BB2_5 Depth=1 movq %r12, %rcx shrq $12, %rcx leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _printf movq -3256(%rbp), %rax subq -3264(%rbp), %rax shrq $12, %rax cmpl $10, %eax jl LBB2_33 ## %bb.12: ## in Loop: Header=BB2_5 Depth=1 movq $-1, %rbx .p2align 4, 0x90 LBB2_13: ## Parent Loop BB2_5 Depth=1 ## => This Inner Loop Header: Depth=2 movl %eax, %ecx imulq %r14, %rcx shrq $35, %rcx incq %rbx cmpl $99, %eax movl %ecx, %eax ja LBB2_13 ## %bb.14: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _printf cmpl $5, %ebx ja LBB2_17 ## %bb.15: ## in Loop: Header=BB2_5 Depth=1 leaq l_reltable.mostrar_mapa(%rip), %rax movslq (%rax,%rbx,4), %rdi addq %rax, %rdi jmp LBB2_16 .p2align 4, 0x90 LBB2_33: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.14(%rip), %rdi LBB2_16: ## in Loop: Header=BB2_5 Depth=1 xorl %eax, %eax callq _printf LBB2_17: ## in Loop: Header=BB2_5 Depth=1 xorl %r13d, %r13d leaq L_.str.16(%rip), %rdi leaq -3243(%rbp), %rsi xorl %eax, %eax callq _printf leaq L_.str.17(%rip), %rdi xorl %eax, %eax callq _printf movq -3256(%rbp), %rax subq -3264(%rbp), %rax shrq $10, %rax cmpl $10, %eax jl LBB2_20 ## %bb.18: ## in Loop: Header=BB2_5 Depth=1 xorl %r13d, %r13d .p2align 4, 0x90 LBB2_19: ## Parent Loop BB2_5 Depth=1 ## => This Inner Loop Header: Depth=2 movl %eax, %ecx imulq %r14, %rcx shrq $35, %rcx incl %r13d cmpl $99, %eax movl %ecx, %eax ja LBB2_19 LBB2_20: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.8(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf movq -3256(%rbp), %rsi subq -3264(%rbp), %rsi shrq $10, %rsi leaq L_.str.18(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi xorl %eax, %eax callq _printf cmpl $6, %r13d ja LBB2_29 ## %bb.21: ## in Loop: Header=BB2_5 Depth=1 movl %r13d, %eax leaq LJTI2_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB2_29: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.25(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB2_30 LBB2_24: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.20(%rip), %rdi jmp LBB2_23 LBB2_25: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.21(%rip), %rdi jmp LBB2_23 LBB2_26: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.22(%rip), %rdi jmp LBB2_23 LBB2_27: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.23(%rip), %rdi jmp LBB2_23 LBB2_28: ## in Loop: Header=BB2_5 Depth=1 leaq L_.str.24(%rip), %rdi jmp LBB2_23 LBB2_9: leaq L_.str.6(%rip), %rdi leaq -3243(%rbp), %rsi xorl %eax, %eax callq _terminar LBB2_3: callq ___error movl (%rax), %edi callq _strerror leaq L_.str.2(%rip), %rdi leaq -1072(%rbp), %rsi movq %rax, %rdx xorl %eax, %eax callq _terminar LBB2_34: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L2_0_set_29, LBB2_29-LJTI2_0 .set L2_0_set_22, LBB2_22-LJTI2_0 .set L2_0_set_24, LBB2_24-LJTI2_0 .set L2_0_set_25, LBB2_25-LJTI2_0 .set L2_0_set_26, LBB2_26-LJTI2_0 .set L2_0_set_27, LBB2_27-LJTI2_0 .set L2_0_set_28, LBB2_28-LJTI2_0 LJTI2_0: .long L2_0_set_29 .long L2_0_set_22 .long L2_0_set_24 .long L2_0_set_25 .long L2_0_set_26 .long L2_0_set_27 .long L2_0_set_28 .end_data_region ## -- End function .globl _obtenerID ## -- Begin function obtenerID .p2align 4, 0x90 _obtenerID: ## @obtenerID .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp decq %rdi .p2align 4, 0x90 LBB3_1: ## =>This Inner Loop Header: Depth=1 movsbl 1(%rdi), %eax incq %rdi leal -48(%rax), %ecx cmpl $10, %ecx jb LBB3_3 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 testb %al, %al jne LBB3_1 LBB3_3: xorl %esi, %esi xorl %edx, %edx popq %rbp jmp _strtol ## TAILCALL .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx cmpl $2, %edi jl LBB4_8 ## %bb.1: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB4_7 ## %bb.2: movl $1, %r12d leaq L_str.36(%rip), %r13 leaq L_.str.8(%rip), %r14 jmp LBB4_3 .p2align 4, 0x90 LBB4_6: ## in Loop: Header=BB4_3 Depth=1 xorl %esi, %esi xorl %edx, %edx callq _strtol movq %rax, %r15 leaq L_.str.31(%rip), %rdi xorl %eax, %eax callq _printf movl %r15d, %edi callq _nombre_proceso leaq L_str(%rip), %rdi callq _puts leaq L_str.35(%rip), %rdi callq _puts movq %r13, %rdi callq _puts movq %r14, %rdi xorl %eax, %eax callq _printf movl %r15d, %edi callq _mostrar_mapa movq 8(%rbx,%r12,8), %rdi incq %r12 testq %rdi, %rdi je LBB4_7 LBB4_3: ## =>This Loop Header: Depth=1 ## Child Loop BB4_4 Depth 2 decq %rdi .p2align 4, 0x90 LBB4_4: ## Parent Loop BB4_3 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl 1(%rdi), %eax incq %rdi leal -48(%rax), %ecx cmpl $10, %ecx jb LBB4_6 ## %bb.5: ## in Loop: Header=BB4_4 Depth=2 testb %al, %al jne LBB4_4 jmp LBB4_6 LBB4_7: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_8: movq (%rbx), %rsi leaq L_.str.30(%rip), %rdi xorl %eax, %eax callq _terminar .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/proc/%ld/cmdline" L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "%s: %s\n" L_.str.3: ## @.str.3 .asciz "%s(%ld)\n" L_.str.4: ## @.str.4 .asciz "/proc/%ld/maps" L_.str.5: ## @.str.5 .asciz "%lx-%lx %4s %lx %5s %ld %s" L_.str.6: ## @.str.6 .asciz "No se pudo leer la cadena de permisos: '%s'\n" L_.str.7: ## @.str.7 .asciz "\033[0m \t\033[0;34m%08lx \033[0m - \033[0;35m %08lx\t\033[0m| \033[0;31m%ld " L_.str.8: ## @.str.8 .asciz "\033[0m" L_.str.9: ## @.str.9 .asciz " |" L_.str.10: ## @.str.10 .asciz " |" L_.str.11: ## @.str.11 .asciz " |" L_.str.12: ## @.str.12 .asciz " |" L_.str.13: ## @.str.13 .asciz " |" L_.str.14: ## @.str.14 .asciz " |" L_.str.15: ## @.str.15 .asciz " |" L_.str.16: ## @.str.16 .asciz " \033[0;33m %s" L_.str.17: ## @.str.17 .asciz "\033[0m |" L_.str.18: ## @.str.18 .asciz "\033[0;32m (%ld KB)" L_.str.19: ## @.str.19 .asciz " | %5s | " L_.str.20: ## @.str.20 .asciz " | %5s | " L_.str.21: ## @.str.21 .asciz " | %5s | " L_.str.22: ## @.str.22 .asciz " | %5s | " L_.str.23: ## @.str.23 .asciz " | %5s | " L_.str.24: ## @.str.24 .asciz " | %5ss | " L_.str.25: ## @.str.25 .asciz " | | " L_.str.26: ## @.str.26 .asciz "\033[1;36m" L_.str.28: ## @.str.28 .asciz "\033[0m;" L_.str.29: ## @.str.29 .asciz "Fueron mapeados: %ld KB modificables | privados: %ld KB | compartidos: %ld KB\n" L_.str.30: ## @.str.30 .asciz "Proceso: %s [pid|/proc/pid] ...\n" L_.str.31: ## @.str.31 .asciz "\t Proceso: " L_str: ## @str .asciz "-------------------------------------------------------------------------------------------------------------------------------------------------------------" L_str.35: ## @str.35 .asciz "\033[0m \033[0;34m\tPagina Inicio \033[0m- \033[0;35mPagina Fin\t\033[0m|\033[0;31m P\303\241ginas \033[0m| \033[0;33m Permisos \033[0m|\033[0;32m Tama\303\261o \033[0m| Dispositivos |\033[0;36m Mapeo" L_str.36: ## @str.36 .asciz "\033[0m-------------------------------------------------------------------------------------------------------------------------------------------------------------" .section __TEXT,__const .p2align 2 ## @reltable.mostrar_mapa l_reltable.mostrar_mapa: .long L_.str.9-l_reltable.mostrar_mapa .long L_.str.10-l_reltable.mostrar_mapa .long L_.str.11-l_reltable.mostrar_mapa .long L_.str.12-l_reltable.mostrar_mapa .long L_.str.13-l_reltable.mostrar_mapa .long L_.str.15-l_reltable.mostrar_mapa .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _terminar ; -- Begin function terminar .p2align 2 _terminar: ; @terminar .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 x1, x0 add x8, x29, #16 str x8, [sp, #8] Lloh0: adrp x8, ___stderrp@GOTPAGE Lloh1: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh2: ldr x0, [x8] add x2, x29, #16 bl _vfprintf mov w0, #1 bl _exit .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _nombre_proceso ; -- Begin function nombre_proceso .p2align 2 _nombre_proceso: ; @nombre_proceso .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 sub sp, sp, #1056 ; kill: def $w0 killed $w0 def $x0 Lloh3: adrp x8, ___stack_chk_guard@GOTPAGE Lloh4: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x8, [x8] stur x8, [x29, #-40] sxtw x20, w0 Lloh6: adrp x3, l_.str@PAGE Lloh7: add x3, x3, l_.str@PAGEOFF str x20, [sp] add x21, sp, #24 add x0, sp, #24 mov w1, #0 mov w2, #1024 bl ___sprintf_chk Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF add x0, sp, #24 bl _fopen cbz x0, LBB1_6 ; %bb.1: mov x19, x0 bl _getc sub w8, w0, #1 cmn w8, #3 b.hi LBB1_4 ; %bb.2: add x8, sp, #24 add x21, x8, #1 LBB1_3: ; =>This Inner Loop Header: Depth=1 sturb w0, [x21, #-1] strb wzr, [x21], #1 mov x0, x19 bl _getc sub w8, w0, #1 cmn w8, #2 b.lo LBB1_3 LBB1_4: add x8, sp, #24 stp x8, x20, [sp] Lloh10: adrp x0, l_.str.3@PAGE Lloh11: add x0, x0, l_.str.3@PAGEOFF bl _printf mov x0, x19 bl _fclose ldur x8, [x29, #-40] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB1_7 ; %bb.5: add sp, sp, #1056 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB1_6: bl ___error ldr w0, [x0] bl _strerror stp x21, x0, [sp] Lloh15: adrp x0, l_.str.2@PAGE Lloh16: add x0, x0, l_.str.2@PAGEOFF bl _terminar LBB1_7: bl ___stack_chk_fail .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh15, Lloh16 .cfi_endproc ; -- End function .globl _mostrar_mapa ; -- Begin function mostrar_mapa .p2align 2 _mostrar_mapa: ; @mostrar_mapa .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, #3296 ; kill: def $w0 killed $w0 def $x0 Lloh17: adrp x8, ___stack_chk_guard@GOTPAGE Lloh18: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x8, [x8] stur x8, [x29, #-96] sxtw x8, w0 Lloh20: adrp x3, l_.str.4@PAGE Lloh21: add x3, x3, l_.str.4@PAGEOFF str x8, [sp] add x20, sp, #2256 add x0, sp, #2256 mov w1, #0 mov w2, #1024 bl ___sprintf_chk Lloh22: adrp x1, l_.str.1@PAGE Lloh23: add x1, x1, l_.str.1@PAGEOFF add x0, sp, #2256 bl _fopen cbz x0, LBB2_33 ; %bb.1: mov x19, x0 bl _feof cbz w0, LBB2_5 ; %bb.2: mov x26, #0 mov x21, #0 mov x20, #0 LBB2_3: lsr x8, x21, #10 lsr x9, x20, #10 lsr x10, x26, #10 stp x9, x10, [sp, #8] str x8, [sp] Lloh24: adrp x0, l_.str.29@PAGE Lloh25: add x0, x0, l_.str.29@PAGEOFF bl _printf Lloh26: adrp x0, l_.str.28@PAGE Lloh27: add x0, x0, l_.str.28@PAGEOFF bl _printf mov x0, x19 bl _fclose ldur x8, [x29, #-96] Lloh28: adrp x9, ___stack_chk_guard@GOTPAGE Lloh29: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh30: ldr x9, [x9] cmp x9, x8 b.ne LBB2_34 ; %bb.4: add sp, sp, #3296 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 LBB2_5: mov x20, #0 mov x21, #0 mov x26, #0 add x23, sp, #97 add x24, sp, #103 mov w25, #52429 movk w25, #52428, lsl #16 Lloh31: adrp x22, l_.str.8@PAGE Lloh32: add x22, x22, l_.str.8@PAGEOFF b LBB2_8 LBB2_6: ; in Loop: Header=BB2_8 Depth=1 Lloh33: adrp x0, l_.str.25@PAGE Lloh34: add x0, x0, l_.str.25@PAGEOFF LBB2_7: ; in Loop: Header=BB2_8 Depth=1 bl _printf add x21, x27, x21 Lloh35: adrp x0, l_.str.26@PAGE Lloh36: add x0, x0, l_.str.26@PAGEOFF bl _printf add x0, sp, #108 bl _puts Lloh37: adrp x0, l_.str.28@PAGE Lloh38: add x0, x0, l_.str.28@PAGEOFF bl _printf mov x0, x19 bl _feof cbnz w0, LBB2_3 LBB2_8: ; =>This Loop Header: Depth=1 ; Child Loop BB2_15 Depth 2 ; Child Loop BB2_22 Depth 2 add x0, sp, #1132 mov w1, #1124 mov x2, x19 bl _fgets cbz x0, LBB2_3 ; %bb.9: ; in Loop: Header=BB2_8 Depth=1 strb wzr, [sp, #108] add x8, sp, #108 str x8, [sp, #48] add x8, sp, #72 stp x23, x8, [sp, #32] add x8, sp, #64 stp x24, x8, [sp, #16] add x0, sp, #1132 add x8, sp, #80 str x8, [sp, #8] add x8, sp, #88 str x8, [sp] Lloh39: adrp x1, l_.str.5@PAGE Lloh40: add x1, x1, l_.str.5@PAGEOFF bl _sscanf ldp x8, x9, [sp, #80] sub x27, x8, x9 ldrb w10, [sp, #106] cmp w10, #115 b.eq LBB2_12 ; %bb.10: ; in Loop: Header=BB2_8 Depth=1 cmp w10, #112 b.ne LBB2_32 ; %bb.11: ; in Loop: Header=BB2_8 Depth=1 ldrb w10, [sp, #104] cmp w10, #119 csel x10, x27, xzr, eq add x20, x10, x20 b LBB2_13 LBB2_12: ; in Loop: Header=BB2_8 Depth=1 add x26, x27, x26 LBB2_13: ; in Loop: Header=BB2_8 Depth=1 lsr x10, x27, #12 stp x8, x10, [sp, #8] str x9, [sp] Lloh41: adrp x0, l_.str.7@PAGE Lloh42: add x0, x0, l_.str.7@PAGEOFF bl _printf ldp x8, x9, [sp, #80] sub x8, x8, x9 lsr x8, x8, #12 cmp w8, #10 b.lt LBB2_18 ; %bb.14: ; in Loop: Header=BB2_8 Depth=1 mov x28, #-1 LBB2_15: ; Parent Loop BB2_8 Depth=1 ; => This Inner Loop Header: Depth=2 umull x9, w8, w25 lsr x9, x9, #35 add x28, x28, #1 cmp w8, #99 mov x8, x9 b.hi LBB2_15 ; %bb.16: ; in Loop: Header=BB2_8 Depth=1 mov x0, x22 bl _printf cmp w28, #5 b.hi LBB2_20 ; %bb.17: ; in Loop: Header=BB2_8 Depth=1 Lloh43: adrp x8, l_switch.table.mostrar_mapa@PAGE Lloh44: add x8, x8, l_switch.table.mostrar_mapa@PAGEOFF ldr x0, [x8, x28, lsl #3] b LBB2_19 LBB2_18: ; in Loop: Header=BB2_8 Depth=1 mov x0, x22 bl _printf Lloh45: adrp x0, l_.str.14@PAGE Lloh46: add x0, x0, l_.str.14@PAGEOFF LBB2_19: ; in Loop: Header=BB2_8 Depth=1 bl _printf LBB2_20: ; in Loop: Header=BB2_8 Depth=1 str x24, [sp] Lloh47: adrp x0, l_.str.16@PAGE Lloh48: add x0, x0, l_.str.16@PAGEOFF bl _printf Lloh49: adrp x0, l_.str.17@PAGE Lloh50: add x0, x0, l_.str.17@PAGEOFF bl _printf ldp x8, x9, [sp, #80] sub x8, x8, x9 lsr x8, x8, #10 cmp w8, #10 b.lt LBB2_23 ; %bb.21: ; in Loop: Header=BB2_8 Depth=1 mov w28, #0 LBB2_22: ; Parent Loop BB2_8 Depth=1 ; => This Inner Loop Header: Depth=2 umull x9, w8, w25 lsr x9, x9, #35 add w28, w28, #1 cmp w8, #99 mov x8, x9 b.hi LBB2_22 b LBB2_24 LBB2_23: ; in Loop: Header=BB2_8 Depth=1 mov w28, #0 LBB2_24: ; in Loop: Header=BB2_8 Depth=1 mov x0, x22 bl _printf ldp x8, x9, [sp, #80] sub x8, x8, x9 lsr x8, x8, #10 str x8, [sp] Lloh51: adrp x0, l_.str.18@PAGE Lloh52: add x0, x0, l_.str.18@PAGEOFF bl _printf mov x0, x22 bl _printf cmp w28, #6 b.hi LBB2_6 ; %bb.25: ; in Loop: Header=BB2_8 Depth=1 mov w8, w28 Lloh53: adrp x11, lJTI2_0@PAGE Lloh54: add x11, x11, lJTI2_0@PAGEOFF adr x9, LBB2_6 ldrb w10, [x11, x8] add x9, x9, x10, lsl #2 br x9 LBB2_26: ; in Loop: Header=BB2_8 Depth=1 str x23, [sp] Lloh55: adrp x0, l_.str.19@PAGE Lloh56: add x0, x0, l_.str.19@PAGEOFF b LBB2_7 LBB2_27: ; in Loop: Header=BB2_8 Depth=1 str x23, [sp] Lloh57: adrp x0, l_.str.20@PAGE Lloh58: add x0, x0, l_.str.20@PAGEOFF b LBB2_7 LBB2_28: ; in Loop: Header=BB2_8 Depth=1 str x23, [sp] Lloh59: adrp x0, l_.str.21@PAGE Lloh60: add x0, x0, l_.str.21@PAGEOFF b LBB2_7 LBB2_29: ; in Loop: Header=BB2_8 Depth=1 str x23, [sp] Lloh61: adrp x0, l_.str.22@PAGE Lloh62: add x0, x0, l_.str.22@PAGEOFF b LBB2_7 LBB2_30: ; in Loop: Header=BB2_8 Depth=1 str x23, [sp] Lloh63: adrp x0, l_.str.23@PAGE Lloh64: add x0, x0, l_.str.23@PAGEOFF b LBB2_7 LBB2_31: ; in Loop: Header=BB2_8 Depth=1 str x23, [sp] Lloh65: adrp x0, l_.str.24@PAGE Lloh66: add x0, x0, l_.str.24@PAGEOFF b LBB2_7 LBB2_32: add x8, sp, #103 str x8, [sp] Lloh67: adrp x0, l_.str.6@PAGE Lloh68: add x0, x0, l_.str.6@PAGEOFF bl _terminar LBB2_33: bl ___error ldr w0, [x0] bl _strerror stp x20, x0, [sp] Lloh69: adrp x0, l_.str.2@PAGE Lloh70: add x0, x0, l_.str.2@PAGEOFF bl _terminar LBB2_34: bl ___stack_chk_fail .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpAdd Lloh67, Lloh68 .loh AdrpAdd Lloh69, Lloh70 .cfi_endproc .section __TEXT,__const lJTI2_0: .byte (LBB2_6-LBB2_6)>>2 .byte (LBB2_26-LBB2_6)>>2 .byte (LBB2_27-LBB2_6)>>2 .byte (LBB2_28-LBB2_6)>>2 .byte (LBB2_29-LBB2_6)>>2 .byte (LBB2_30-LBB2_6)>>2 .byte (LBB2_31-LBB2_6)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _obtenerID ; -- Begin function obtenerID .p2align 2 _obtenerID: ; @obtenerID .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 sub x0, x0, #1 LBB3_1: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x0, #1]! sxtb w9, w8 sub w9, w9, #48 cmp w9, #10 ccmp w8, #0, #4, hs b.ne LBB3_1 ; %bb.2: mov x1, #0 mov w2, #0 bl _strtol ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #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, x1 cmp w0, #2 b.lt LBB4_7 ; %bb.1: ldr x8, [x19, #8] cbz x8, LBB4_6 ; %bb.2: mov w26, #1 Lloh71: adrp x20, l_.str.31@PAGE Lloh72: add x20, x20, l_.str.31@PAGEOFF Lloh73: adrp x21, l_str@PAGE Lloh74: add x21, x21, l_str@PAGEOFF Lloh75: adrp x22, l_str.35@PAGE Lloh76: add x22, x22, l_str.35@PAGEOFF Lloh77: adrp x23, l_str.36@PAGE Lloh78: add x23, x23, l_str.36@PAGEOFF Lloh79: adrp x24, l_.str.8@PAGE Lloh80: add x24, x24, l_.str.8@PAGEOFF LBB4_3: ; =>This Loop Header: Depth=1 ; Child Loop BB4_4 Depth 2 sub x0, x8, #1 LBB4_4: ; Parent Loop BB4_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x0, #1]! sxtb w9, w8 sub w9, w9, #48 cmp w9, #10 ccmp w8, #0, #4, hs b.ne LBB4_4 ; %bb.5: ; in Loop: Header=BB4_3 Depth=1 mov x1, #0 mov w2, #0 bl _strtol mov x25, x0 mov x0, x20 bl _printf mov x0, x25 bl _nombre_proceso mov x0, x21 bl _puts mov x0, x22 bl _puts mov x0, x23 bl _puts mov x0, x24 bl _printf mov x0, x25 bl _mostrar_mapa add x26, x26, #1 ldr x8, [x19, x26, lsl #3] cbnz x8, LBB4_3 LBB4_6: 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 LBB4_7: ldr x8, [x19] str x8, [sp] Lloh81: adrp x0, l_.str.30@PAGE Lloh82: add x0, x0, l_.str.30@PAGEOFF bl _terminar .loh AdrpAdd Lloh79, Lloh80 .loh AdrpAdd Lloh77, Lloh78 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpAdd Lloh81, Lloh82 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/proc/%ld/cmdline" l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "%s: %s\n" l_.str.3: ; @.str.3 .asciz "%s(%ld)\n" l_.str.4: ; @.str.4 .asciz "/proc/%ld/maps" l_.str.5: ; @.str.5 .asciz "%lx-%lx %4s %lx %5s %ld %s" l_.str.6: ; @.str.6 .asciz "No se pudo leer la cadena de permisos: '%s'\n" l_.str.7: ; @.str.7 .asciz "\033[0m \t\033[0;34m%08lx \033[0m - \033[0;35m %08lx\t\033[0m| \033[0;31m%ld " l_.str.8: ; @.str.8 .asciz "\033[0m" l_.str.9: ; @.str.9 .asciz " |" l_.str.10: ; @.str.10 .asciz " |" l_.str.11: ; @.str.11 .asciz " |" l_.str.12: ; @.str.12 .asciz " |" l_.str.13: ; @.str.13 .asciz " |" l_.str.14: ; @.str.14 .asciz " |" l_.str.15: ; @.str.15 .asciz " |" l_.str.16: ; @.str.16 .asciz " \033[0;33m %s" l_.str.17: ; @.str.17 .asciz "\033[0m |" l_.str.18: ; @.str.18 .asciz "\033[0;32m (%ld KB)" l_.str.19: ; @.str.19 .asciz " | %5s | " l_.str.20: ; @.str.20 .asciz " | %5s | " l_.str.21: ; @.str.21 .asciz " | %5s | " l_.str.22: ; @.str.22 .asciz " | %5s | " l_.str.23: ; @.str.23 .asciz " | %5s | " l_.str.24: ; @.str.24 .asciz " | %5ss | " l_.str.25: ; @.str.25 .asciz " | | " l_.str.26: ; @.str.26 .asciz "\033[1;36m" l_.str.28: ; @.str.28 .asciz "\033[0m;" l_.str.29: ; @.str.29 .asciz "Fueron mapeados: %ld KB modificables | privados: %ld KB | compartidos: %ld KB\n" l_.str.30: ; @.str.30 .asciz "Proceso: %s [pid|/proc/pid] ...\n" l_.str.31: ; @.str.31 .asciz "\t Proceso: " l_str: ; @str .asciz "-------------------------------------------------------------------------------------------------------------------------------------------------------------" l_str.35: ; @str.35 .asciz "\033[0m \033[0;34m\tPagina Inicio \033[0m- \033[0;35mPagina Fin\t\033[0m|\033[0;31m P\303\241ginas \033[0m| \033[0;33m Permisos \033[0m|\033[0;32m Tama\303\261o \033[0m| Dispositivos |\033[0;36m Mapeo" l_str.36: ; @str.36 .asciz "\033[0m-------------------------------------------------------------------------------------------------------------------------------------------------------------" .section __DATA,__const .p2align 3 ; @switch.table.mostrar_mapa l_switch.table.mostrar_mapa: .quad l_.str.9 .quad l_.str.10 .quad l_.str.11 .quad l_.str.12 .quad l_.str.13 .quad l_.str.15 .subsections_via_symbols
the_stack_data/1171330.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mrb_ary_at _mrb_ary_at: ## @mrb_ary_at .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx leaq L_.str(%rip), %rsi leaq -12(%rbp), %rdx callq _mrb_get_args movl -12(%rbp), %esi movl %ebx, %edi callq _mrb_ary_entry addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "i" .no_dead_strip _mrb_ary_at .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mrb_ary_at _mrb_ary_at: ; @mrb_ary_at .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x2, sp, #12 bl _mrb_get_args ldr w1, [sp, #12] mov x0, x19 bl _mrb_ary_entry ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "i" .no_dead_strip _mrb_ary_at .subsections_via_symbols
AnghaBench/h2o/deps/mruby/mrbgems/mruby-array-ext/src/extr_array.c_mrb_ary_at.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test1_f1 ## -- Begin function test1_f1 .p2align 4, 0x90 _test1_f1: ## @test1_f1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %edi callq _clang_analyzer_checkInlined movl $2, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _test1_f2 ## -- Begin function test1_f2 .p2align 4, 0x90 _test1_f2: ## @test1_f2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _test1_f1 ud2 .cfi_endproc ## -- End function .globl _test2_f1 ## -- Begin function test2_f1 .p2align 4, 0x90 _test2_f1: ## @test2_f1 .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 .globl _test2_f3 ## -- Begin function test2_f3 .p2align 4, 0x90 _test2_f3: ## @test2_f3 .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 _test2_f2 ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function factorial LCPI4_0: .long 0 ## 0x0 .long 4294967295 ## 0xffffffff .long 4294967294 ## 0xfffffffe .long 4294967293 ## 0xfffffffd LCPI4_1: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 LCPI4_2: .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc .long 4294967292 ## 0xfffffffc LCPI4_3: .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 .long 4294967288 ## 0xfffffff8 LCPI4_4: .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 .long 4294967284 ## 0xfffffff4 LCPI4_5: .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 .long 4294967280 ## 0xfffffff0 LCPI4_6: .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec .long 4294967276 ## 0xffffffec LCPI4_7: .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 .long 4294967272 ## 0xffffffe8 LCPI4_8: .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 .long 4294967268 ## 0xffffffe4 LCPI4_9: .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .long 4294967264 ## 0xffffffe0 .section __TEXT,__text,regular,pure_instructions .globl _factorial .p2align 4, 0x90 _factorial: ## @factorial .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi movl $1, %eax cmpl $2, %edi jb LBB4_12 ## %bb.1: leal -1(%rdi), %ecx movl $1, %eax cmpl $8, %ecx jb LBB4_11 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %ecx, %r8d andl $-8, %r8d movd %edi, %xmm0 pshufd $0, %xmm0, %xmm6 ## xmm6 = xmm0[0,0,0,0] paddd LCPI4_0(%rip), %xmm6 leal -8(%r8), %edx movl %edx, %esi shrl $3, %esi incl %esi movl %esi, %eax andl $3, %eax cmpl $24, %edx jae LBB4_4 ## %bb.3: movdqa LCPI4_1(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa %xmm1, %xmm2 jmp LBB4_6 LBB4_4: andl $-4, %esi movdqa LCPI4_1(%rip), %xmm1 ## xmm1 = [1,1,1,1] movdqa LCPI4_2(%rip), %xmm8 ## xmm8 = [4294967292,4294967292,4294967292,4294967292] movdqa LCPI4_3(%rip), %xmm9 ## xmm9 = [4294967288,4294967288,4294967288,4294967288] movdqa LCPI4_4(%rip), %xmm10 ## xmm10 = [4294967284,4294967284,4294967284,4294967284] movdqa LCPI4_5(%rip), %xmm11 ## xmm11 = [4294967280,4294967280,4294967280,4294967280] movdqa LCPI4_6(%rip), %xmm12 ## xmm12 = [4294967276,4294967276,4294967276,4294967276] movdqa LCPI4_7(%rip), %xmm13 ## xmm13 = [4294967272,4294967272,4294967272,4294967272] movdqa LCPI4_8(%rip), %xmm4 ## xmm4 = [4294967268,4294967268,4294967268,4294967268] movdqa LCPI4_9(%rip), %xmm5 ## xmm5 = [4294967264,4294967264,4294967264,4294967264] movdqa %xmm1, %xmm2 .p2align 4, 0x90 LBB4_5: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm3 paddd %xmm8, %xmm3 pmulld %xmm2, %xmm3 pmulld %xmm6, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm9, %xmm2 pmulld %xmm1, %xmm2 movdqa %xmm6, %xmm1 paddd %xmm10, %xmm1 movdqa %xmm6, %xmm7 paddd %xmm11, %xmm7 movdqa %xmm6, %xmm0 paddd %xmm12, %xmm0 pmulld %xmm1, %xmm0 pmulld %xmm3, %xmm0 movdqa %xmm6, %xmm1 paddd %xmm13, %xmm1 pmulld %xmm7, %xmm1 pmulld %xmm2, %xmm1 movdqa %xmm6, %xmm2 paddd %xmm4, %xmm2 pmulld %xmm0, %xmm2 paddd %xmm5, %xmm6 addl $-4, %esi jne LBB4_5 LBB4_6: testl %eax, %eax je LBB4_9 ## %bb.7: movdqa LCPI4_2(%rip), %xmm3 ## xmm3 = [4294967292,4294967292,4294967292,4294967292] movdqa LCPI4_3(%rip), %xmm4 ## xmm4 = [4294967288,4294967288,4294967288,4294967288] .p2align 4, 0x90 LBB4_8: ## =>This Inner Loop Header: Depth=1 movdqa %xmm6, %xmm0 paddd %xmm3, %xmm0 pmulld %xmm0, %xmm2 pmulld %xmm6, %xmm1 paddd %xmm4, %xmm6 decl %eax jne LBB4_8 LBB4_9: pmulld %xmm2, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] pmulld %xmm1, %xmm0 pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1] pmulld %xmm0, %xmm1 movd %xmm1, %eax cmpl %r8d, %ecx popq %rbp je LBB4_12 ## %bb.10: subl %r8d, %edi .p2align 4, 0x90 LBB4_11: ## =>This Inner Loop Header: Depth=1 imull %edi, %eax decl %edi cmpl $1, %edi ja LBB4_11 LBB4_12: retq .cfi_endproc ## -- End function .globl _test_factorial ## -- Begin function test_factorial .p2align 4, 0x90 _test_factorial: ## @test_factorial .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %eax .p2align 4, 0x90 LBB5_1: ## =>This Inner Loop Header: Depth=1 decl %eax jmp LBB5_1 .cfi_endproc ## -- End function .globl _test_factorial_2 ## -- Begin function test_factorial_2 .p2align 4, 0x90 _test_factorial_2: ## @test_factorial_2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %eax .p2align 4, 0x90 LBB6_1: ## =>This Inner Loop Header: Depth=1 decl %eax jmp LBB6_1 .cfi_endproc ## -- End function .globl _test_return_stack_memory_ok ## -- Begin function test_return_stack_memory_ok .p2align 4, 0x90 _test_return_stack_memory_ok: ## @test_return_stack_memory_ok .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 .globl _test_return_stack_memory_bad ## -- Begin function test_return_stack_memory_bad .p2align 4, 0x90 _test_return_stack_memory_bad: ## @test_return_stack_memory_bad .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $112, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -8(%rbp), %rax jne LBB8_2 ## %bb.1: leaq -112(%rbp), %rax addq $112, %rsp popq %rbp retq LBB8_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _test_rdar10977037_aux ## -- Begin function test_rdar10977037_aux .p2align 4, 0x90 _test_rdar10977037_aux: ## @test_rdar10977037_aux .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rax shrq $32, %rax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .globl _test_rdar10977037 ## -- Begin function test_rdar10977037 .p2align 4, 0x90 _test_rdar10977037: ## @test_rdar10977037 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movabsq $8589934592, %rdi ## imm = 0x200000000 popq %rbp jmp _test_rdar10977037_aux_2 ## TAILCALL .cfi_endproc ## -- End function .globl _test ## -- Begin function test .p2align 4, 0x90 _test: ## @test .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %edi popq %rbp jmp _clang_analyzer_eval ## TAILCALL .cfi_endproc ## -- End function .globl _plus1 ## -- Begin function plus1 .p2align 4, 0x90 _plus1: ## @plus1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi leal 1(%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _never_called_by_anyone ## -- Begin function never_called_by_anyone .p2align 4, 0x90 _never_called_by_anyone: ## @never_called_by_anyone .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi popq %rbp jmp _clang_analyzer_checkInlined ## TAILCALL .cfi_endproc ## -- End function .globl _knr_one_argument ## -- Begin function knr_one_argument .p2align 4, 0x90 _knr_one_argument: ## @knr_one_argument .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 .globl _call_with_less_arguments ## -- Begin function call_with_less_arguments .p2align 4, 0x90 _call_with_less_arguments: ## @call_with_less_arguments .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 _test1_f1 ; -- Begin function test1_f1 .p2align 2 _test1_f1: ; @test1_f1 .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 w0, #1 bl _clang_analyzer_checkInlined mov w0, #2 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _test1_f2 ; -- Begin function test1_f2 .p2align 2 _test1_f2: ; @test1_f2 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _test1_f1 brk #0x1 .cfi_endproc ; -- End function .globl _test2_f1 ; -- Begin function test2_f1 .p2align 2 _test2_f1: ; @test2_f1 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test2_f3 ; -- Begin function test2_f3 .p2align 2 _test2_f3: ; @test2_f3 .cfi_startproc ; %bb.0: b _test2_f2 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function factorial lCPI4_0: .long 0 ; 0x0 .long 4294967295 ; 0xffffffff .long 4294967294 ; 0xfffffffe .long 4294967293 ; 0xfffffffd .section __TEXT,__text,regular,pure_instructions .globl _factorial .p2align 2 _factorial: ; @factorial .cfi_startproc ; %bb.0: cmp w0, #2 b.hs LBB4_2 ; %bb.1: mov w0, #1 ret LBB4_2: mov x8, x0 sub w9, w0, #1 cmp w9, #16 b.hs LBB4_4 ; %bb.3: mov w0, #1 b LBB4_7 LBB4_4: dup.4s v0, w8 Lloh0: adrp x10, lCPI4_0@PAGE Lloh1: ldr q1, [x10, lCPI4_0@PAGEOFF] add.4s v1, v0, v1 movi.4s v0, #1 mvni.4s v2, #3 and w10, w9, #0xfffffff0 sub w8, w8, w10 mvni.4s v3, #7 mvni.4s v4, #11 mvni.4s v5, #15 mov x11, x10 movi.4s v6, #1 movi.4s v7, #1 movi.4s v16, #1 LBB4_5: ; =>This Inner Loop Header: Depth=1 add.4s v17, v1, v2 add.4s v18, v1, v3 add.4s v19, v1, v4 mul.4s v0, v1, v0 mul.4s v6, v17, v6 mul.4s v7, v18, v7 mul.4s v16, v19, v16 add.4s v1, v1, v5 subs w11, w11, #16 b.ne LBB4_5 ; %bb.6: mul.4s v0, v6, v0 mul.4s v0, v7, v0 mul.4s v0, v16, v0 ext.16b v1, v0, v0, #8 mul.2s v0, v0, v1 fmov w11, s0 mov.s w12, v0[1] mul w0, w11, w12 cmp w9, w10 b.eq LBB4_8 LBB4_7: ; =>This Inner Loop Header: Depth=1 mul w0, w8, w0 sub w9, w8, #1 mov x8, x9 cmp w9, #1 b.hi LBB4_7 LBB4_8: ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _test_factorial ; -- Begin function test_factorial .p2align 2 _test_factorial: ; @test_factorial .cfi_startproc ; %bb.0: mov w8, #2 LBB5_1: ; =>This Inner Loop Header: Depth=1 sub w8, w8, #1 b LBB5_1 .cfi_endproc ; -- End function .globl _test_factorial_2 ; -- Begin function test_factorial_2 .p2align 2 _test_factorial_2: ; @test_factorial_2 .cfi_startproc ; %bb.0: mov w8, #2 LBB6_1: ; =>This Inner Loop Header: Depth=1 sub w8, w8, #1 b LBB6_1 .cfi_endproc ; -- End function .globl _test_return_stack_memory_ok ; -- Begin function test_return_stack_memory_ok .p2align 2 _test_return_stack_memory_ok: ; @test_return_stack_memory_ok .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _test_return_stack_memory_bad ; -- Begin function test_return_stack_memory_bad .p2align 2 _test_return_stack_memory_bad: ; @test_return_stack_memory_bad .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 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 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-8] ldur x8, [x29, #-8] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB8_2 ; %bb.1: add x0, sp, #4 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret LBB8_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .globl _test_rdar10977037_aux ; -- Begin function test_rdar10977037_aux .p2align 2 _test_rdar10977037_aux: ; @test_rdar10977037_aux .cfi_startproc ; %bb.0: lsr x0, x0, #32 ; kill: def $w0 killed $w0 killed $x0 ret .cfi_endproc ; -- End function .globl _test_rdar10977037 ; -- Begin function test_rdar10977037 .p2align 2 _test_rdar10977037: ; @test_rdar10977037 .cfi_startproc ; %bb.0: mov x0, #8589934592 b _test_rdar10977037_aux_2 .cfi_endproc ; -- End function .globl _test ; -- Begin function test .p2align 2 _test: ; @test .cfi_startproc ; %bb.0: mov w0, #1 b _clang_analyzer_eval .cfi_endproc ; -- End function .globl _plus1 ; -- Begin function plus1 .p2align 2 _plus1: ; @plus1 .cfi_startproc ; %bb.0: add w0, w0, #1 ret .cfi_endproc ; -- End function .globl _never_called_by_anyone ; -- Begin function never_called_by_anyone .p2align 2 _never_called_by_anyone: ; @never_called_by_anyone .cfi_startproc ; %bb.0: mov w0, #0 b _clang_analyzer_checkInlined .cfi_endproc ; -- End function .globl _knr_one_argument ; -- Begin function knr_one_argument .p2align 2 _knr_one_argument: ; @knr_one_argument .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _call_with_less_arguments ; -- Begin function call_with_less_arguments .p2align 2 _call_with_less_arguments: ; @call_with_less_arguments .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/67325321.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zero ## -- Begin function zero .p2align 4, 0x90 _zero: ## @zero .cfi_startproc ## %bb.0: testl %esi, %esi jle LBB0_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %esi addq %rsi, %rsi callq ___bzero popq %rbp LBB0_2: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zero ; -- Begin function zero .p2align 2 _zero: ; @zero .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB0_2 ; %bb.1: 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 w8, w1 lsl x1, x8, #1 bl _bzero ldp x29, x30, [sp], #16 ; 16-byte Folded Reload LBB0_2: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/103264243.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function core_alua_state_standby _core_alua_state_standby: ## @core_alua_state_standby .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb (%rsi), %cl addb $-128, %cl cmpb $16, %cl ja LBB0_4 ## %bb.1: xorl %eax, %eax movzbl %cl, %ecx movl $116479, %edi ## imm = 0x1C6FF btq %rcx, %rdi jae LBB0_2 LBB0_5: popq %rbp retq LBB0_2: cmpq $12, %rcx jne LBB0_4 ## %bb.3: cmpb $-120, 1(%rsi) je LBB0_5 LBB0_4: movq _ASCQ_04H_ALUA_TG_PT_STANDBY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rdx) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ASCQ_04H_ALUA_TG_PT_STANDBY,4,2 ## @ASCQ_04H_ALUA_TG_PT_STANDBY .no_dead_strip _core_alua_state_standby .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function core_alua_state_standby _core_alua_state_standby: ; @core_alua_state_standby .cfi_startproc ; %bb.0: ldrb w8, [x1] sub w8, w8, #128 cmp w8, #16 b.hi LBB0_6 ; %bb.1: mov w9, #1 lsl w9, w9, w8 mov w10, #50943 movk w10, #1, lsl #16 tst w9, w10 b.eq LBB0_3 ; %bb.2: mov w0, #0 ret LBB0_3: cmp w8, #12 b.ne LBB0_6 ; %bb.4: ldrb w8, [x1, #1] cmp w8, #136 b.ne LBB0_6 ; %bb.5: mov w0, #0 ret LBB0_6: Lloh0: adrp x8, _ASCQ_04H_ALUA_TG_PT_STANDBY@GOTPAGE Lloh1: ldr x8, [x8, _ASCQ_04H_ALUA_TG_PT_STANDBY@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x2] mov w0, #1 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ASCQ_04H_ALUA_TG_PT_STANDBY,4,2 ; @ASCQ_04H_ALUA_TG_PT_STANDBY .no_dead_strip _core_alua_state_standby .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/target/extr_target_core_alua.c_core_alua_state_standby.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function convert_6_to_8bit LCPI0_0: .quad 0x401030c30c30c30c ## double 4.0476190476190474 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _convert_6_to_8bit: ## @convert_6_to_8bit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp andl $63, %edi cvtsi2sd %edi, %xmm0 mulsd LCPI0_0(%rip), %xmm0 cvttsd2si %xmm0, %eax popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_8321 ## @g_aug_volatile_8321 .p2align 2, 0x0 _g_aug_volatile_8321: .long 3 ## 0x3 .no_dead_strip _convert_6_to_8bit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function convert_6_to_8bit _convert_6_to_8bit: ; @convert_6_to_8bit .cfi_startproc ; %bb.0: and w8, w0, #0x3f ucvtf d0, w8 mov x8, #49932 ; =0xc30c movk x8, #3120, lsl #16 movk x8, #12483, lsl #32 movk x8, #16400, lsl #48 fmov d1, x8 fmul d0, d0, d1 fcvtzs w0, d0 ret .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_8321 ; @g_aug_volatile_8321 .p2align 2, 0x0 _g_aug_volatile_8321: .long 3 ; 0x3 .no_dead_strip _convert_6_to_8bit .subsections_via_symbols
assembly_file_7830.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mac_to_intf _mac_to_intf: ## @mac_to_intf .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), %rax movl (%rax), %r12d movq _PAS_DMA_CAP_IFI@GOTPCREL(%rip), %rax movl (%rax), %edi callq _read_dma_reg movl %eax, %r15d movq _PAS_DMA_CAP_IFI_NIN_M@GOTPCREL(%rip), %rax movl (%rax), %ebx andl %r15d, %ebx movq _PAS_DMA_CAP_IFI_NIN_S@GOTPCREL(%rip), %rax movb (%rax), %cl sarl %cl, %ebx movq _PAS_DMA_CAP_IFI_IOFF_M@GOTPCREL(%rip), %rax andl (%rax), %r15d movq _PAS_DMA_CAP_IFI_IOFF_S@GOTPCREL(%rip), %rax movb (%rax), %cl sarl %cl, %r15d movl $-1, %eax testl %ebx, %ebx jle LBB0_12 ## %bb.1: addl $3, %ebx shrl $2, %ebx xorl %r14d, %r14d xorl %r13d, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal (%r15,%r13), %edi callq _read_dma_reg movzbl %al, %ecx cmpl %r12d, %ecx je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movzbl %ah, %ecx cmpl %r12d, %ecx je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %ecx shrl $16, %ecx movzbl %cl, %ecx cmpl %r12d, %ecx je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 shrl $24, %eax cmpl %r12d, %eax je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 addl $4, %r13d decl %ebx jne LBB0_2 ## %bb.11: movl $-1, %eax jmp LBB0_12 LBB0_5: movl $1, %r14d jmp LBB0_3 LBB0_7: movl $2, %r14d jmp LBB0_3 LBB0_9: movl $3, %r14d LBB0_3: orl %r13d, %r14d movl %r14d, %eax LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PAS_DMA_CAP_IFI,4,2 ## @PAS_DMA_CAP_IFI .comm _PAS_DMA_CAP_IFI_NIN_M,4,2 ## @PAS_DMA_CAP_IFI_NIN_M .comm _PAS_DMA_CAP_IFI_NIN_S,4,2 ## @PAS_DMA_CAP_IFI_NIN_S .comm _PAS_DMA_CAP_IFI_IOFF_M,4,2 ## @PAS_DMA_CAP_IFI_IOFF_M .comm _PAS_DMA_CAP_IFI_IOFF_S,4,2 ## @PAS_DMA_CAP_IFI_IOFF_S .no_dead_strip _mac_to_intf .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mac_to_intf _mac_to_intf: ; @mac_to_intf .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x0] ldr w20, [x8] Lloh0: adrp x8, _PAS_DMA_CAP_IFI@GOTPAGE Lloh1: ldr x8, [x8, _PAS_DMA_CAP_IFI@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _read_dma_reg Lloh3: adrp x8, _PAS_DMA_CAP_IFI_NIN_M@GOTPAGE Lloh4: ldr x8, [x8, _PAS_DMA_CAP_IFI_NIN_M@GOTPAGEOFF] Lloh5: ldr w8, [x8] and w8, w8, w0 Lloh6: adrp x9, _PAS_DMA_CAP_IFI_NIN_S@GOTPAGE Lloh7: ldr x9, [x9, _PAS_DMA_CAP_IFI_NIN_S@GOTPAGEOFF] Lloh8: ldr w9, [x9] asr w8, w8, w9 cmp w8, #1 b.lt LBB0_7 ; %bb.1: mov w19, #0 Lloh9: adrp x9, _PAS_DMA_CAP_IFI_IOFF_M@GOTPAGE Lloh10: ldr x9, [x9, _PAS_DMA_CAP_IFI_IOFF_M@GOTPAGEOFF] Lloh11: ldr w9, [x9] and w9, w9, w0 Lloh12: adrp x10, _PAS_DMA_CAP_IFI_IOFF_S@GOTPAGE Lloh13: ldr x10, [x10, _PAS_DMA_CAP_IFI_IOFF_S@GOTPAGEOFF] Lloh14: ldr w10, [x10] asr w21, w9, w10 add w8, w8, #3 lsr w22, w8, #2 LBB0_2: ; =>This Inner Loop Header: Depth=1 add w0, w21, w19 bl _read_dma_reg cmp w20, w0, uxtb b.eq LBB0_8 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 lsr w8, w0, #8 cmp w20, w8, uxtb b.eq LBB0_9 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 lsr w8, w0, #16 cmp w20, w8, uxtb b.eq LBB0_10 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 cmp w20, w0, lsr #24 b.eq LBB0_11 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 add w19, w19, #4 subs w22, w22, #1 b.ne LBB0_2 LBB0_7: mov w0, #-1 b LBB0_13 LBB0_8: mov w8, #0 mov w0, w19 b LBB0_13 LBB0_9: mov w8, #1 b LBB0_12 LBB0_10: mov w8, #2 b LBB0_12 LBB0_11: mov w8, #3 LBB0_12: orr w0, w8, w19 LBB0_13: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _PAS_DMA_CAP_IFI,4,2 ; @PAS_DMA_CAP_IFI .comm _PAS_DMA_CAP_IFI_NIN_M,4,2 ; @PAS_DMA_CAP_IFI_NIN_M .comm _PAS_DMA_CAP_IFI_NIN_S,4,2 ; @PAS_DMA_CAP_IFI_NIN_S .comm _PAS_DMA_CAP_IFI_IOFF_M,4,2 ; @PAS_DMA_CAP_IFI_IOFF_M .comm _PAS_DMA_CAP_IFI_IOFF_S,4,2 ; @PAS_DMA_CAP_IFI_IOFF_S .no_dead_strip _mac_to_intf .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/pasemi/extr_pasemi_mac.c_mac_to_intf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function readDoubleFromChar LCPI0_0: .quad 0x4024000000000000 ## double 10 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _readDoubleFromChar: ## @readDoubleFromChar .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 movzbl (%rax), %ecx leal -48(%rcx), %edx xorpd %xmm0, %xmm0 cmpb $9, %dl ja LBB0_4 ## %bb.1: incq %rax movsd LCPI0_0(%rip), %xmm1 ## xmm1 = [1.0E+1,0.0E+0] .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movapd %xmm0, %xmm2 mulsd %xmm1, %xmm2 addb $-48, %cl movsbl %cl, %ecx xorps %xmm0, %xmm0 cvtsi2sd %ecx, %xmm0 addsd %xmm2, %xmm0 movq %rax, (%rdi) movzbl (%rax), %ecx leal -48(%rcx), %edx incq %rax cmpb $10, %dl jb LBB0_2 ## %bb.3: decq %rax LBB0_4: cmpb $46, %cl jne LBB0_8 ## %bb.5: leaq 1(%rax), %rcx movq %rcx, (%rdi) movzbl 1(%rax), %ecx leal -48(%rcx), %edx cmpb $9, %dl ja LBB0_8 ## %bb.6: addq $2, %rax movsd LCPI0_0(%rip), %xmm1 ## xmm1 = [1.0E+1,0.0E+0] movapd %xmm1, %xmm2 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 addb $-48, %cl movsbl %cl, %ecx xorps %xmm3, %xmm3 cvtsi2sd %ecx, %xmm3 divsd %xmm2, %xmm3 addsd %xmm3, %xmm0 mulsd %xmm1, %xmm2 movq %rax, (%rdi) movzbl (%rax), %ecx leal -48(%rcx), %edx incq %rax cmpb $10, %dl jb LBB0_7 LBB0_8: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _readDoubleFromChar .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function readDoubleFromChar _readDoubleFromChar: ; @readDoubleFromChar .cfi_startproc ; %bb.0: ldr x9, [x0] ldrb w8, [x9] sub w10, w8, #48 cmp w10, #9 b.hi LBB0_4 ; %bb.1: add x9, x9, #1 movi d0, #0000000000000000 fmov d1, #10.00000000 LBB0_2: ; =>This Inner Loop Header: Depth=1 fmul d0, d0, d1 sub w8, w8, #48 and w8, w8, #0xff ucvtf d2, w8 fadd d0, d0, d2 str x9, [x0] ldrb w8, [x9], #1 sub w10, w8, #48 cmp w10, #10 b.lo LBB0_2 ; %bb.3: sub x9, x9, #1 cmp w8, #46 b.eq LBB0_5 b LBB0_8 LBB0_4: movi d0, #0000000000000000 cmp w8, #46 b.ne LBB0_8 LBB0_5: add x8, x9, #1 str x8, [x0] ldrb w10, [x9, #1] sub w8, w10, #48 cmp w8, #9 b.hi LBB0_8 ; %bb.6: add x8, x9, #2 fmov d1, #10.00000000 fmov d2, #10.00000000 LBB0_7: ; =>This Inner Loop Header: Depth=1 sub w9, w10, #48 and w9, w9, #0xff ucvtf d3, w9 fdiv d3, d3, d2 fadd d0, d0, d3 fmul d2, d2, d1 str x8, [x0] ldrb w10, [x8], #1 sub w9, w10, #48 cmp w9, #10 b.lo LBB0_7 LBB0_8: ret .cfi_endproc ; -- End function .no_dead_strip _readDoubleFromChar .subsections_via_symbols
assembly_file_166255.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m_tag_locate ## -- Begin function m_tag_locate .p2align 4, 0x90 _m_tag_locate: ## @m_tag_locate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movl %edx, %r14d movq %rsi, %rbx movq %rdi, %r12 leaq L_.str(%rip), %rsi callq _KASSERT testq %r15, %r15 je LBB0_1 ## %bb.2: movq _m_tag_link@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _SLIST_NEXT testq %rax, %rax jne LBB0_4 jmp LBB0_8 LBB0_1: movq %r12, %rdi callq _SLIST_FIRST testq %rax, %rax je LBB0_8 LBB0_4: movq _m_tag_link@GOTPCREL(%rip), %r15 jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movl (%r15), %esi movq %rax, %rdi callq _SLIST_NEXT testq %rax, %rax je LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpq %rbx, (%rax) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 cmpl %r14d, 8(%rax) jne LBB0_7 jmp LBB0_9 LBB0_8: xorl %eax, %eax LBB0_9: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "m_tag_locate: null mbuf" .comm _m_tag_link,4,2 ## @m_tag_link .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m_tag_locate ; -- Begin function m_tag_locate .p2align 2 _m_tag_locate: ; @m_tag_locate .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x3 mov x19, x2 mov x20, x1 mov x22, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _KASSERT Lloh2: adrp x23, _m_tag_link@GOTPAGE Lloh3: ldr x23, [x23, _m_tag_link@GOTPAGEOFF] cbz x21, LBB0_2 ; %bb.1: ldr w1, [x23] mov x0, x21 bl _SLIST_NEXT cbnz x0, LBB0_4 b LBB0_6 LBB0_2: mov x0, x22 bl _SLIST_FIRST cbnz x0, LBB0_4 b LBB0_6 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x23] bl _SLIST_NEXT cbz x0, LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x0] cmp x8, x20 b.ne LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x0, #8] cmp w8, w19 b.ne LBB0_3 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 Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "m_tag_locate: null mbuf" .comm _m_tag_link,4,2 ; @m_tag_link .subsections_via_symbols
AnghaBench/freebsd/sys/kern/extr_uipc_mbuf2.c_m_tag_locate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ikbd_mem_write ## -- Begin function ikbd_mem_write .p2align 4, 0x90 _ikbd_mem_write: ## @ikbd_mem_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi popq %rbp jmp _panic ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Attempt to write data into keyboard memory" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ikbd_mem_write ; -- Begin function ikbd_mem_write .p2align 2 _ikbd_mem_write: ; @ikbd_mem_write .cfi_startproc ; %bb.0: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF b _panic .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Attempt to write data into keyboard memory" .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/m68k/atari/extr_atakeyb.c_ikbd_mem_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cbc_crypt _cbc_crypt: ## @cbc_crypt .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 %r9d, -44(%rbp) ## 4-byte Spill movq %r8, %r15 movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbx movq %rdi, %r14 callq _offset_in_page movq _cbc_fetch_bytes@GOTPCREL(%rip), %rcx addq (%rcx), %rax movq _PAGE_SIZE@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax setg %dil callq _unlikely movq %r14, %rdi movq %rbx, %rsi movq %r13, %rdx movq %r12, %rcx movq %r15, %r8 testq %rax, %rax je LBB0_2 ## %bb.1: movl -44(%rbp), %r9d ## 4-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _cbc_crypt_copy ## TAILCALL LBB0_2: movl -44(%rbp), %r9d ## 4-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _rep_xcrypt_cbc ## TAILCALL .cfi_endproc ## -- End function .comm _cbc_fetch_bytes,8,3 ## @cbc_fetch_bytes .comm _PAGE_SIZE,8,3 ## @PAGE_SIZE .no_dead_strip _cbc_crypt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cbc_crypt _cbc_crypt: ; @cbc_crypt .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, x5 mov x20, x4 mov x21, x3 mov x22, x2 mov x23, x1 mov x24, x0 bl _offset_in_page Lloh0: adrp x8, _cbc_fetch_bytes@GOTPAGE Lloh1: ldr x8, [x8, _cbc_fetch_bytes@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _PAGE_SIZE@GOTPAGE Lloh4: ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF] Lloh5: ldr x9, [x9] add x8, x8, x0 cmp x8, x9 cset w0, gt bl _unlikely cbz x0, LBB0_2 ; %bb.1: mov x0, x24 mov x1, x23 mov x2, x22 mov x3, x21 mov x4, x20 mov x5, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _cbc_crypt_copy LBB0_2: mov x0, x24 mov x1, x23 mov x2, x22 mov x3, x21 mov x4, x20 mov x5, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _rep_xcrypt_cbc .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _cbc_fetch_bytes,8,3 ; @cbc_fetch_bytes .comm _PAGE_SIZE,8,3 ; @PAGE_SIZE .no_dead_strip _cbc_crypt .subsections_via_symbols
AnghaBench/linux/drivers/crypto/extr_padlock-aes.c_cbc_crypt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipf_p_raudio_main_unload ## -- Begin function ipf_p_raudio_main_unload .p2align 4, 0x90 _ipf_p_raudio_main_unload: ## @ipf_p_raudio_main_unload .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _raudio_proxy_init@GOTPCREL(%rip), %rbx cmpl $1, (%rbx) jne LBB0_2 ## %bb.1: movq _raudiofr@GOTPCREL(%rip), %rdi callq _MUTEX_DESTROY movl $0, (%rbx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _raudio_proxy_init,4,2 ## @raudio_proxy_init .comm _raudiofr,4,2 ## @raudiofr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipf_p_raudio_main_unload ; -- Begin function ipf_p_raudio_main_unload .p2align 2 _ipf_p_raudio_main_unload: ; @ipf_p_raudio_main_unload .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, _raudio_proxy_init@GOTPAGE Lloh1: ldr x19, [x19, _raudio_proxy_init@GOTPAGEOFF] ldr w8, [x19] cmp w8, #1 b.ne LBB0_2 ; %bb.1: Lloh2: adrp x0, _raudiofr@GOTPAGE Lloh3: ldr x0, [x0, _raudiofr@GOTPAGEOFF] bl _MUTEX_DESTROY str wzr, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _raudio_proxy_init,4,2 ; @raudio_proxy_init .comm _raudiofr,4,2 ; @raudiofr .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/ipfilter/netinet/extr_ip_raudio_pxy.c_ipf_p_raudio_main_unload.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bsdcat_getopt ## -- Begin function bsdcat_getopt .p2align 4, 0x90 _bsdcat_getopt: ## @bsdcat_getopt .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 movl 8(%rdi), %eax leaq LJTI0_0(%rip), %r13 leaq L_.str(%rip), %rcx movq %rcx, -48(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq $0, (%r12) movl $63, %ebx cmpl $4, %eax ja LBB0_55 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %eax, %eax movslq (%r13,%rax,4), %rax addq %r13, %rax jmpq *%rax LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movq 16(%r12), %rax leaq 8(%rax), %rcx movq %rcx, 16(%r12) decl 32(%r12) movq 8(%rax), %rdi testq %rdi, %rdi je LBB0_41 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl $2, 8(%r12) jmp LBB0_6 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq 16(%r12), %rax movq (%rax), %rdi testq %rdi, %rdi je LBB0_41 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 cmpb $45, (%rdi) jne LBB0_41 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str(%rip), %rsi callq _strcmp movq 16(%r12), %rcx leaq 8(%rcx), %rdx movq %rdx, 16(%r12) testq %rax, %rax je LBB0_21 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movq (%rcx), %rax movq %rax, 24(%r12) decl 32(%r12) cmpb $45, 1(%rax) je LBB0_22 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 incq %rax movl $3, 8(%r12) jmp LBB0_11 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movq 24(%r12), %rax LBB0_11: ## in Loop: Header=BB0_1 Depth=1 leaq 1(%rax), %r15 movq %r15, 24(%r12) movsbl (%rax), %ebx testl %ebx, %ebx jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_1 Depth=1 movl $2, 8(%r12) movl $2, %eax jmp LBB0_1 LBB0_41: movl $-1, %ebx jmp LBB0_55 LBB0_13: movq _short_options@GOTPCREL(%rip), %rax movq (%rax), %rdi movl %ebx, %esi callq _strchr testq %rax, %rax je LBB0_40 ## %bb.14: cmpb $58, 1(%rax) jne LBB0_55 ## %bb.15: cmpb $0, (%r15) jne LBB0_18 ## %bb.16: movq 16(%r12), %rax movq (%rax), %r15 movq %r15, 24(%r12) testq %r15, %r15 je LBB0_52 ## %bb.17: addq $8, %rax movq %rax, 16(%r12) decl 32(%r12) LBB0_18: cmpb $87, %bl jne LBB0_48 ## %bb.19: leaq L_.str.2(%rip), %rax movq %rax, -48(%rbp) ## 8-byte Spill jmp LBB0_24 LBB0_21: decl 32(%r12) movl $-1, %ebx jmp LBB0_55 LBB0_22: addq $2, %rax movq %rax, 24(%r12) movq %rax, %r15 jmp LBB0_24 LBB0_23: movq 24(%r12), %r15 LBB0_24: movl $2, 8(%r12) movq %r15, %rdi movl $61, %esi callq _strchr testq %rax, %rax je LBB0_26 ## %bb.25: movq %rax, %rdx subq %r15, %rdx incq %rax movq %rax, (%r12) jmp LBB0_27 LBB0_26: movq %r15, %rdi callq _strlen movq %rax, %rdx LBB0_27: movq _tar_longopts@GOTPCREL(%rip), %rax movq (%rax), %rbx movq (%rbx), %rsi testq %rsi, %rsi je LBB0_39 ## %bb.28: xorl %r14d, %r14d xorl %r13d, %r13d .p2align 4, 0x90 LBB0_29: ## =>This Inner Loop Header: Depth=1 movzbl (%rsi), %eax cmpb (%r15), %al jne LBB0_32 ## %bb.30: ## in Loop: Header=BB0_29 Depth=1 movq %r15, %rdi movq %rdx, %r15 callq _strncmp testq %rax, %rax je LBB0_33 ## %bb.31: ## in Loop: Header=BB0_29 Depth=1 movq %r13, %rdi movq %r14, %r13 movq %r15, %rdx jmp LBB0_34 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_29 Depth=1 movq %r13, %rdi movq %r14, %r13 jmp LBB0_34 LBB0_33: ## in Loop: Header=BB0_29 Depth=1 movq (%rbx), %rdi callq _strlen movq %rbx, %rdi cmpq %r15, %rax movq %r15, %rdx je LBB0_44 .p2align 4, 0x90 LBB0_34: ## in Loop: Header=BB0_29 Depth=1 movq 24(%rbx), %rsi testq %rsi, %rsi je LBB0_36 ## %bb.35: ## in Loop: Header=BB0_29 Depth=1 addq $24, %rbx movq 24(%r12), %r15 movq %r13, %r14 movq %rdi, %r13 jmp LBB0_29 LBB0_36: testq %rdi, %rdi je LBB0_39 ## %bb.37: testq %r13, %r13 je LBB0_43 ## %bb.38: movq 24(%r12), %rcx movq (%rdi), %r8 movq (%r13), %r9 leaq L_.str.4(%rip), %rsi xorl %edi, %edi movq -48(%rbp), %rdx ## 8-byte Reload xorl %eax, %eax callq _lafe_warnc movl $63, %ebx jmp LBB0_55 LBB0_39: movq 24(%r12), %rcx leaq L_.str.3(%rip), %rsi xorl %edi, %edi movq -48(%rbp), %rdx ## 8-byte Reload xorl %eax, %eax callq _lafe_warnc LBB0_40: movl $63, %ebx LBB0_55: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_43: movq %rdi, %rbx LBB0_44: movq %rbx, %rdx cmpq $0, 16(%rbx) movq (%r12), %rax movl $63, %ebx je LBB0_49 ## %bb.45: testq %rax, %rax jne LBB0_51 ## %bb.46: movq 16(%r12), %rax movq (%rax), %rcx movq %rcx, (%r12) testq %rcx, %rcx je LBB0_53 ## %bb.47: addq $8, %rax movq %rax, 16(%r12) decl 32(%r12) jmp LBB0_51 LBB0_48: movl $2, 8(%r12) movq %r15, (%r12) jmp LBB0_55 LBB0_49: testq %rax, %rax je LBB0_51 ## %bb.50: movq (%rdx), %rcx leaq L_.str.6(%rip), %rsi jmp LBB0_54 LBB0_51: movl 8(%rdx), %ebx jmp LBB0_55 LBB0_52: leaq L_.str.1(%rip), %rsi xorl %edi, %edi movl %ebx, %edx xorl %eax, %eax callq _lafe_warnc movl $63, %ebx jmp LBB0_55 LBB0_53: movq (%rdx), %rcx leaq L_.str.5(%rip), %rsi LBB0_54: xorl %edi, %edi movq -48(%rbp), %rdx ## 8-byte Reload xorl %eax, %eax callq _lafe_warnc jmp LBB0_55 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_55, LBB0_55-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_55 .long L0_0_set_5 .long L0_0_set_10 .long L0_0_set_23 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "--" .comm _short_options,8,3 ## @short_options L_.str.1: ## @.str.1 .asciz "Option -%c requires an argument" L_.str.2: ## @.str.2 .asciz "-W " .comm _tar_longopts,8,3 ## @tar_longopts L_.str.3: ## @.str.3 .asciz "Option %s%s is not supported" L_.str.4: ## @.str.4 .asciz "Ambiguous option %s%s (matches --%s and --%s)" L_.str.5: ## @.str.5 .asciz "Option %s%s requires an argument" L_.str.6: ## @.str.6 .asciz "Option %s%s does not allow an argument" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bsdcat_getopt ; -- Begin function bsdcat_getopt .p2align 2 _bsdcat_getopt: ; @bsdcat_getopt .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 ldr w8, [x0, #8] Lloh0: adrp x23, lJTI0_0@PAGE Lloh1: add x23, x23, lJTI0_0@PAGEOFF mov w24, #2 Lloh2: adrp x22, l_.str@PAGE Lloh3: add x22, x22, l_.str@PAGEOFF mov w25, #3 LBB0_1: ; =>This Inner Loop Header: Depth=1 str xzr, [x19] mov w21, #63 cmp w8, #4 b.hi LBB0_42 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov w8, w8 adr x9, LBB0_3 ldrb w10, [x23, x8] add x9, x9, x10, lsl #2 br x9 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x19, #16] add x9, x8, #8 str x9, [x19, #16] ldr w9, [x19, #32] sub w9, w9, #1 str w9, [x19, #32] ldr x0, [x8, #8] cbz x0, LBB0_13 ; %bb.4: ; in Loop: Header=BB0_1 Depth=1 str w24, [x19, #8] b LBB0_6 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x19, #16] ldr x0, [x8] cbz x0, LBB0_13 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldrb w8, [x0] cmp w8, #45 b.ne LBB0_13 ; %bb.7: ; in Loop: Header=BB0_1 Depth=1 mov x1, x22 bl _strcmp ldr x8, [x19, #16] add x9, x8, #8 str x9, [x19, #16] cbz x0, LBB0_21 ; %bb.8: ; in Loop: Header=BB0_1 Depth=1 ldr x9, [x8] str x9, [x19, #24] ldr w8, [x19, #32] sub w8, w8, #1 str w8, [x19, #32] mov x8, x9 ldrb w10, [x8, #1]! cmp w10, #45 b.eq LBB0_22 ; %bb.9: ; in Loop: Header=BB0_1 Depth=1 str w25, [x19, #8] b LBB0_11 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x19, #24] LBB0_11: ; in Loop: Header=BB0_1 Depth=1 add x20, x8, #1 str x20, [x19, #24] ldrsb w21, [x8] cbnz w21, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_1 Depth=1 mov w8, #2 str w8, [x19, #8] b LBB0_1 LBB0_13: mov w21, #-1 b LBB0_42 LBB0_14: Lloh4: adrp x8, _short_options@GOTPAGE Lloh5: ldr x8, [x8, _short_options@GOTPAGEOFF] Lloh6: ldr x0, [x8] mov x1, x21 bl _strchr cbz x0, LBB0_41 ; %bb.15: ldrb w8, [x0, #1] cmp w8, #58 b.ne LBB0_42 ; %bb.16: ldrb w8, [x20] cbnz w8, LBB0_19 ; %bb.17: ldr x8, [x19, #16] ldr x20, [x8] str x20, [x19, #24] cbz x20, LBB0_52 ; %bb.18: add x8, x8, #8 str x8, [x19, #16] ldr w8, [x19, #32] sub w8, w8, #1 str w8, [x19, #32] LBB0_19: cmp w21, #87 b.ne LBB0_48 ; %bb.20: Lloh7: adrp x22, l_.str.2@PAGE Lloh8: add x22, x22, l_.str.2@PAGEOFF b LBB0_25 LBB0_21: ldr w8, [x19, #32] sub w8, w8, #1 str w8, [x19, #32] mov w21, #-1 b LBB0_42 LBB0_22: add x20, x9, #2 str x20, [x19, #24] b LBB0_24 LBB0_23: ldr x20, [x19, #24] LBB0_24: Lloh9: adrp x22, l_.str@PAGE Lloh10: add x22, x22, l_.str@PAGEOFF LBB0_25: mov w8, #2 str w8, [x19, #8] mov x0, x20 mov w1, #61 bl _strchr cbz x0, LBB0_27 ; %bb.26: sub x21, x0, x20 add x8, x0, #1 str x8, [x19] b LBB0_28 LBB0_27: mov x0, x20 bl _strlen mov x21, x0 LBB0_28: Lloh11: adrp x8, _tar_longopts@GOTPAGE Lloh12: ldr x8, [x8, _tar_longopts@GOTPAGEOFF] Lloh13: ldr x23, [x8] ldr x1, [x23] cbz x1, LBB0_39 ; %bb.29: mov x25, #0 mov x24, #0 LBB0_30: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x1] ldrb w9, [x20] cmp w8, w9 b.ne LBB0_32 ; %bb.31: ; in Loop: Header=BB0_30 Depth=1 mov x0, x20 mov x2, x21 bl _strncmp cbz x0, LBB0_35 LBB0_32: ; in Loop: Header=BB0_30 Depth=1 mov x8, x24 mov x24, x25 LBB0_33: ; in Loop: Header=BB0_30 Depth=1 ldr x1, [x23, #24]! cbz x1, LBB0_36 ; %bb.34: ; in Loop: Header=BB0_30 Depth=1 ldr x20, [x19, #24] mov x25, x24 mov x24, x8 b LBB0_30 LBB0_35: ; in Loop: Header=BB0_30 Depth=1 ldr x0, [x23] bl _strlen mov x8, x23 cmp x0, x21 b.ne LBB0_33 b LBB0_44 LBB0_36: cbz x8, LBB0_39 ; %bb.37: cbz x24, LBB0_43 ; %bb.38: ldr x9, [x19, #24] ldr x8, [x8] ldr x10, [x24] stp x8, x10, [sp, #16] stp x22, x9, [sp] Lloh14: adrp x1, l_.str.4@PAGE Lloh15: add x1, x1, l_.str.4@PAGEOFF b LBB0_40 LBB0_39: ldr x8, [x19, #24] stp x22, x8, [sp] Lloh16: adrp x1, l_.str.3@PAGE Lloh17: add x1, x1, l_.str.3@PAGEOFF LBB0_40: mov w0, #0 bl _lafe_warnc LBB0_41: mov w21, #63 LBB0_42: mov x0, x21 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_43: mov x23, x8 LBB0_44: ldr x9, [x23, #16] ldr x8, [x19] cbz x9, LBB0_49 ; %bb.45: cbnz x8, LBB0_51 ; %bb.46: ldr x8, [x19, #16] ldr x9, [x8] str x9, [x19] cbz x9, LBB0_53 ; %bb.47: add x8, x8, #8 str x8, [x19, #16] ldr w8, [x19, #32] sub w8, w8, #1 str w8, [x19, #32] b LBB0_51 LBB0_48: mov w8, #2 str w8, [x19, #8] str x20, [x19] b LBB0_42 LBB0_49: cbz x8, LBB0_51 ; %bb.50: ldr x8, [x23] stp x22, x8, [sp] Lloh18: adrp x1, l_.str.6@PAGE Lloh19: add x1, x1, l_.str.6@PAGEOFF b LBB0_40 LBB0_51: ldr w21, [x23, #8] b LBB0_42 LBB0_52: str x21, [sp] Lloh20: adrp x1, l_.str.1@PAGE Lloh21: add x1, x1, l_.str.1@PAGEOFF b LBB0_40 LBB0_53: ldr x8, [x23] stp x22, x8, [sp] Lloh22: adrp x1, l_.str.5@PAGE Lloh23: add x1, x1, l_.str.5@PAGEOFF b LBB0_40 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_3-LBB0_3)>>2 .byte (LBB0_42-LBB0_3)>>2 .byte (LBB0_5-LBB0_3)>>2 .byte (LBB0_10-LBB0_3)>>2 .byte (LBB0_23-LBB0_3)>>2 ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "--" .comm _short_options,8,3 ; @short_options l_.str.1: ; @.str.1 .asciz "Option -%c requires an argument" l_.str.2: ; @.str.2 .asciz "-W " .comm _tar_longopts,8,3 ; @tar_longopts l_.str.3: ; @.str.3 .asciz "Option %s%s is not supported" l_.str.4: ; @.str.4 .asciz "Ambiguous option %s%s (matches --%s and --%s)" l_.str.5: ; @.str.5 .asciz "Option %s%s requires an argument" l_.str.6: ; @.str.6 .asciz "Option %s%s does not allow an argument" .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/cat/extr_cmdline.c_bsdcat_getopt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __glfwPlatformGetVideoModes ## -- Begin function _glfwPlatformGetVideoModes .p2align 4, 0x90 __glfwPlatformGetVideoModes: ## @_glfwPlatformGetVideoModes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r13 movl $0, (%rsi) leaq -68(%rbp), %r15 movq %r15, %rdi movl $20, %esi callq _ZeroMemory movl $20, -68(%rbp) movl (%r13), %edi movq $0, -80(%rbp) ## 8-byte Folded Spill xorl %esi, %esi movq %r15, %rdx callq _EnumDisplaySettingsW testl %eax, %eax je LBB0_1 ## %bb.2: leaq -68(%rbp), %r14 leaq -104(%rbp), %r15 movq $0, -48(%rbp) ## 8-byte Folded Spill xorl %r12d, %r12d movq %r13, -112(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 leaq -68(%rbp), %r14 LBB0_19: ## in Loop: Header=BB0_3 Depth=1 incl %r12d movq %r14, %rdi movl $20, %esi callq _ZeroMemory movl $20, -68(%rbp) movl (%r13), %edi movl %r12d, %esi movq %r14, %rdx callq _EnumDisplaySettingsW testl %eax, %eax je LBB0_20 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 movl -64(%rbp), %edi cmpl $15, %edi jl LBB0_19 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -52(%rbp), %eax movl %eax, -84(%rbp) movq -60(%rbp), %rax movq %rax, -92(%rbp) leaq -96(%rbp), %rsi leaq -100(%rbp), %rdx movq %r15, %rcx callq __glfwSplitBPP movl (%rbx), %ecx testl %ecx, %ecx jle LBB0_5 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %r13 ## 8-byte Reload xorl %r14d, %r14d .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r13, %rdi movq %r15, %rsi callq __glfwCompareVideoModes movl (%rbx), %ecx testq %rax, %rax je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 movslq %ecx, %rax incq %r14 addq $24, %r13 cmpq %rax, %r14 jl LBB0_7 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq -112(%rbp), %r13 ## 8-byte Reload cmpl %ecx, %r14d jl LBB0_11 jmp LBB0_12 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 xorl %r14d, %r14d cmpl %ecx, %r14d jl LBB0_11 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 8(%r13) leaq -68(%rbp), %r14 je LBB0_15 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 movl (%r13), %edi movq _CDS_TEST@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r14, %rsi xorl %edx, %edx xorl %r8d, %r8d callq _ChangeDisplaySettingsExW movq _DISP_CHANGE_SUCCESSFUL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_19 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 movl (%rbx), %ecx LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload cmpl %eax, %ecx jne LBB0_16 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 leal (%rax,%rax), %r14d testl %eax, %eax movl $128, %eax cmovel %eax, %r14d leal (,%r14,8), %eax leal (%rax,%rax,2), %esi movq -48(%rbp), %rdi ## 8-byte Reload callq _realloc movl (%rbx), %ecx ## kill: def $r14d killed $r14d killed $r14 def $r14 movq %r14, -80(%rbp) ## 8-byte Spill leaq -68(%rbp), %r14 jmp LBB0_18 LBB0_16: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rax ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_3 Depth=1 leal 1(%rcx), %edx movl %edx, (%rbx) movslq %ecx, %rcx leaq (%rcx,%rcx,2), %rdx movq -88(%rbp), %rcx movq %rcx, 16(%rax,%rdx,8) movups -104(%rbp), %xmm0 movq %rax, -48(%rbp) ## 8-byte Spill movups %xmm0, (%rax,%rdx,8) jmp LBB0_19 LBB0_1: movq $0, -48(%rbp) ## 8-byte Folded Spill LBB0_20: movq -48(%rbp), %rax ## 8-byte Reload addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CDS_TEST,4,2 ## @CDS_TEST .comm _DISP_CHANGE_SUCCESSFUL,8,3 ## @DISP_CHANGE_SUCCESSFUL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __glfwPlatformGetVideoModes ; -- Begin function _glfwPlatformGetVideoModes .p2align 2 __glfwPlatformGetVideoModes: ; @_glfwPlatformGetVideoModes .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 str wzr, [x1] mov w24, #20 ; =0x14 add x0, sp, #4 mov w1, #20 ; =0x14 bl _ZeroMemory str w24, [sp, #4] ldr w0, [x20] add x2, sp, #4 mov w1, #0 ; =0x0 bl _EnumDisplaySettingsW mov x21, #0 ; =0x0 cbz w0, LBB0_16 ; %bb.1: mov w25, #0 ; =0x0 mov w22, #0 ; =0x0 add x26, sp, #24 mov w28, #24 ; =0x18 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w9, w8, #1 str w9, [x19] smaddl x8, w8, w28, x21 ldur q0, [sp, #24] ldr x9, [sp, #40] str x9, [x8, #16] str q0, [x8] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w22, w22, #1 add x0, sp, #4 mov w1, #20 ; =0x14 bl _ZeroMemory str w24, [sp, #4] ldr w0, [x20] add x2, sp, #4 mov x1, x22 bl _EnumDisplaySettingsW cbz w0, LBB0_16 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldr w0, [sp, #8] cmp w0, #15 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [sp, #20] str w8, [sp, #44] ldur d0, [sp, #12] stur d0, [sp, #36] add x1, x26, #8 add x2, x26, #4 add x3, sp, #24 bl __glfwSplitBPP ldr w8, [x19] cmp w8, #1 b.lt LBB0_10 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x27, #0 ; =0x0 mov x23, x21 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add x1, sp, #24 mov x0, x23 bl __glfwCompareVideoModes ldr w8, [x19] cbz x0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 sxtw x9, w8 add x27, x27, #1 add x23, x23, #24 cmp x27, x9 b.lt LBB0_7 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 cmp w27, w8 b.lt LBB0_3 b LBB0_11 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 mov w27, #0 ; =0x0 cmp w27, w8 b.lt LBB0_3 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x20, #8] cbz x9, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x20] Lloh0: adrp x8, _CDS_TEST@GOTPAGE Lloh1: ldr x8, [x8, _CDS_TEST@GOTPAGEOFF] Lloh2: ldr w3, [x8] add x1, sp, #4 mov x2, #0 ; =0x0 mov x4, #0 ; =0x0 bl _ChangeDisplaySettingsExW Lloh3: adrp x8, _DISP_CHANGE_SUCCESSFUL@GOTPAGE Lloh4: ldr x8, [x8, _DISP_CHANGE_SUCCESSFUL@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x0, x8 b.ne LBB0_3 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x19] LBB0_14: ; in Loop: Header=BB0_4 Depth=1 cmp w8, w25 b.ne LBB0_2 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 lsl w8, w25, #1 cmp w25, #0 mov w9, #128 ; =0x80 csel w25, w9, w8, eq add w8, w25, w25, lsl #1 lsl w1, w8, #3 mov x0, x21 bl _realloc mov x21, x0 ldr w8, [x19] b LBB0_2 LBB0_16: mov x0, x21 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CDS_TEST,4,2 ; @CDS_TEST .comm _DISP_CHANGE_SUCCESSFUL,8,3 ; @DISP_CHANGE_SUCCESSFUL .subsections_via_symbols
assembly_file_77376.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function match_one_device _match_one_device: ## @match_one_device .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), %rdx movq _PCI_ANY_ID@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq %rcx, %rdx je LBB0_2 ## %bb.1: cmpq (%rsi), %rdx jne LBB0_9 LBB0_2: movq 8(%rax), %rdx cmpq %rcx, %rdx je LBB0_4 ## %bb.3: cmpq 8(%rsi), %rdx jne LBB0_9 LBB0_4: movq 16(%rax), %rdx cmpq %rcx, %rdx je LBB0_6 ## %bb.5: cmpq 16(%rsi), %rdx jne LBB0_9 LBB0_6: movq 24(%rax), %rdx cmpq %rcx, %rdx je LBB0_8 ## %bb.7: cmpq 24(%rsi), %rdx jne LBB0_9 LBB0_8: movl 32(%rsi), %ecx xorl 32(%rax), %ecx testl %ecx, 36(%rax) je LBB0_10 LBB0_9: xorl %eax, %eax LBB0_10: popq %rbp retq .cfi_endproc ## -- End function .comm _PCI_ANY_ID,8,3 ## @PCI_ANY_ID .no_dead_strip _match_one_device .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function match_one_device _match_one_device: ; @match_one_device .cfi_startproc ; %bb.0: ldr x9, [x0] Lloh0: adrp x8, _PCI_ANY_ID@GOTPAGE Lloh1: ldr x8, [x8, _PCI_ANY_ID@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x9, x8 b.eq LBB0_2 ; %bb.1: ldr x10, [x1] cmp x9, x10 b.ne LBB0_9 LBB0_2: ldr x9, [x0, #8] cmp x9, x8 b.eq LBB0_4 ; %bb.3: ldr x10, [x1, #8] cmp x9, x10 b.ne LBB0_9 LBB0_4: ldr x9, [x0, #16] cmp x9, x8 b.eq LBB0_6 ; %bb.5: ldr x10, [x1, #16] cmp x9, x10 b.ne LBB0_9 LBB0_6: ldr x9, [x0, #24] cmp x9, x8 b.eq LBB0_8 ; %bb.7: ldr x8, [x1, #24] cmp x9, x8 b.ne LBB0_9 LBB0_8: ldr w8, [x1, #32] ldp w9, w10, [x0, #32] eor w8, w8, w9 tst w8, w10 b.eq LBB0_10 LBB0_9: mov x0, #0 LBB0_10: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PCI_ANY_ID,8,3 ; @PCI_ANY_ID .no_dead_strip _match_one_device .subsections_via_symbols
AnghaBench/linux/drivers/xen/xen-pciback/extr_conf_space_quirks.c_match_one_device.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/93062.c
stack
.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 run_rec_bench_impl LCPI0_0: .long 1127219200 ## 0x43300000 .long 1160773632 ## 0x45300000 .long 0 ## 0x0 .long 0 ## 0x0 LCPI0_1: .quad 0x4330000000000000 ## double 4503599627370496 .quad 0x4530000000000000 ## double 1.9342813113834067E+25 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 LCPI0_2: .quad 0x4130000000000000 ## double 1048576 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _run_rec_bench_impl: ## @run_rec_bench_impl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -64(%rbp) ## 8-byte Spill movq _RAIDZ_REC_NUM@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax js LBB0_21 ## %bb.1: movq _MAX_CS_SHIFT@GOTPCREL(%rip), %rcx movq (%rcx), %rdi movq _MIN_CS_SHIFT@GOTPCREL(%rip), %rsi movq _rto_opts@GOTPCREL(%rip), %rbx movq _zio_bench@GOTPCREL(%rip), %r14 movq _rm_bench@GOTPCREL(%rip), %r12 movq $0, -56(%rbp) ## 8-byte Folded Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movq _RAIDZ_REC_NUM@GOTPCREL(%rip), %rax movl (%rax), %eax movq _MIN_CS_SHIFT@GOTPCREL(%rip), %rsi LBB0_20: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %r8 ## 8-byte Reload leaq 1(%r8), %rcx movslq %eax, %rdx cmpq %rdx, %r8 movq %rcx, -56(%rbp) ## 8-byte Spill jge LBB0_21 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_13 Depth 3 movq (%rsi), %r9 cmpq %rdi, %r9 ja LBB0_20 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload leaq (%rax,%rax,2), %rax leaq _run_rec_bench_impl.tgt(%rip), %rcx leaq (%rcx,%rax,4), %r13 movl (%rbx), %r10d movq _PARITY_PQR@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _BENCH_ASHIFT@GOTPCREL(%rip), %rax movq (%rax), %rsi jmp LBB0_4 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_4 Depth=2 xorl %eax, %eax callq _gethrtime subq -72(%rbp), %rax ## 8-byte Folded Reload cvtsi2sd %rax, %xmm0 callq _NSEC2SEC movq _rto_opts@GOTPCREL(%rip), %rbx movslq (%rbx), %r8 movq -88(%rbp), %r9 ## 8-byte Reload movq %r9, %rax orq %r8, %rax shrq $32, %rax je LBB0_15 ## %bb.16: ## in Loop: Header=BB0_4 Depth=2 movq %r9, %rax xorl %edx, %edx divq %r8 LBB0_17: ## in Loop: Header=BB0_4 Depth=2 movl -44(%rbp), %edx ## 4-byte Reload movq %r14, %xmm1 movq LCPI0_0(%rip), %xmm2 ## xmm2 = [1127219200,1160773632,0,0] punpckldq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1] movapd LCPI0_1(%rip), %xmm4 ## xmm4 = [4.503599627370496E+15,1.9342813113834067E+25] subpd %xmm4, %xmm1 movapd %xmm1, %xmm3 unpckhpd %xmm1, %xmm3 ## xmm3 = xmm3[1],xmm1[1] addsd %xmm1, %xmm3 movq %rax, %xmm1 punpckldq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1] subpd %xmm4, %xmm1 movapd %xmm1, %xmm2 unpckhpd %xmm1, %xmm2 ## xmm2 = xmm2[1],xmm1[1] addsd %xmm1, %xmm2 mulsd %xmm3, %xmm2 mulsd LCPI0_2(%rip), %xmm0 divsd %xmm0, %xmm2 movq _D_ALL@GOTPCREL(%rip), %rax movl (%rax), %edi movq _raidz_rec_name@GOTPCREL(%rip), %rax movq (%rax), %rax movq -56(%rbp), %rcx ## 8-byte Reload movl (%rax,%rcx,4), %ecx xorps %xmm1, %xmm1 cvtsi2sd %edx, %xmm1 mulsd %xmm2, %xmm1 movl %r14d, (%rsp) leaq L_.str(%rip), %rsi movq -64(%rbp), %rdx ## 8-byte Reload movapd %xmm2, %xmm0 callq _LOG movl (%r12), %edi callq _vdev_raidz_map_free movl (%rbx), %r10d movq _PARITY_PQR@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _BENCH_ASHIFT@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _MAX_CS_SHIFT@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _zio_bench@GOTPCREL(%rip), %r14 movq -96(%rbp), %r9 ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_4 Depth=2 incq %r9 cmpq %rdi, %r9 ja LBB0_19 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_13 Depth 3 movl $1, %r11d movl %r9d, %ecx shlq %cl, %r11 movq %r11, (%r14) movslq %r10d, %rcx movq %rcx, %rax btsq %r9, %rax shrq $32, %rax je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movq %r11, %rax xorl %edx, %edx divq %rcx jmp LBB0_7 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_4 Depth=2 movl %r11d, %eax xorl %edx, %edx divl %r10d ## kill: def $eax killed $eax def $rax LBB0_7: ## in Loop: Header=BB0_4 Depth=2 movl %esi, %ecx shrq %cl, %rax testq %rax, %rax je LBB0_18 ## %bb.8: ## in Loop: Header=BB0_4 Depth=2 movq %r11, -88(%rbp) ## 8-byte Spill movq %r9, -96(%rbp) ## 8-byte Spill addl %r8d, %r10d movq %r14, %rdi movl %r10d, -44(%rbp) ## 4-byte Spill movl %r10d, %edx movl %r8d, %ecx callq _vdev_raidz_map_alloc movl %eax, %edi movl %eax, (%r12) movq _REC_BENCH_MEMORY@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r14), %r15 movq %rax, %rcx orq %r15, %rcx shrq $32, %rcx movq %rax, -80(%rbp) ## 8-byte Spill je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_4 Depth=2 xorl %edx, %edx divq %r15 movq %rax, %r14 jmp LBB0_11 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_4 Depth=2 movl %r9d, %eax xorl %edx, %edx divl %r8d ## kill: def $eax killed $eax def $rax jmp LBB0_17 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_4 Depth=2 ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %r15d movl %eax, %r14d LBB0_11: ## in Loop: Header=BB0_4 Depth=2 callq _raidz_ncols movq %rax, %rbx movq _rm_bench@GOTPCREL(%rip), %r12 movl (%r12), %edi callq _raidz_parity subq %rax, %rbx movl $3, %edi movq %rbx, %rsi callq _MIN movl %eax, %ebx xorl %eax, %eax callq _gethrtime movq %rax, -72(%rbp) ## 8-byte Spill cmpq -80(%rbp), %r15 ## 8-byte Folded Reload ja LBB0_14 ## %bb.12: ## in Loop: Header=BB0_4 Depth=2 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%r12), %edi movq %r13, %rsi movl %ebx, %edx callq _vdev_raidz_reconstruct incq %r15 cmpq %r14, %r15 jb LBB0_13 jmp LBB0_14 LBB0_21: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _g_aug_volatile_9412 ## @g_aug_volatile_9412 .zerofill __DATA,__common,_g_aug_volatile_9412,4,2 .section __TEXT,__const .p2align 4, 0x0 ## @run_rec_bench_impl.tgt _run_rec_bench_impl.tgt: .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 .long 0 ## 0x0 .long 2 ## 0x2 .long 3 ## 0x3 .long 0 ## 0x0 .long 1 ## 0x1 .long 3 ## 0x3 .long 2 ## 0x2 .long 3 ## 0x3 .long 4 ## 0x4 .long 1 ## 0x1 .long 3 ## 0x3 .long 4 ## 0x4 .long 0 ## 0x0 .long 3 ## 0x3 .long 4 ## 0x4 .long 3 ## 0x3 .long 4 ## 0x4 .long 5 ## 0x5 .comm _RAIDZ_REC_NUM,4,2 ## @RAIDZ_REC_NUM .comm _MIN_CS_SHIFT,8,3 ## @MIN_CS_SHIFT .comm _MAX_CS_SHIFT,8,3 ## @MAX_CS_SHIFT .comm _rto_opts,4,2 ## @rto_opts .comm _PARITY_PQR,4,2 ## @PARITY_PQR .comm _zio_bench,8,3 ## @zio_bench .comm _BENCH_ASHIFT,8,3 ## @BENCH_ASHIFT .comm _rm_bench,4,2 ## @rm_bench .comm _REC_BENCH_MEMORY,8,3 ## @REC_BENCH_MEMORY .comm _D_ALL,4,2 ## @D_ALL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%10s, %8s, %zu, %10llu, %lf, %lf, %u\n" .comm _raidz_rec_name,8,3 ## @raidz_rec_name .no_dead_strip _run_rec_bench_impl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function run_rec_bench_impl _run_rec_bench_impl: ; @run_rec_bench_impl .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 str x0, [sp] ; 8-byte Folded Spill Lloh0: adrp x8, _RAIDZ_REC_NUM@GOTPAGE Lloh1: ldr x8, [x8, _RAIDZ_REC_NUM@GOTPAGEOFF] Lloh2: ldr w9, [x8] tbnz w9, #31, LBB0_12 ; %bb.1: str xzr, [sp, #8] ; 8-byte Folded Spill Lloh3: adrp x8, _MAX_CS_SHIFT@GOTPAGE Lloh4: ldr x8, [x8, _MAX_CS_SHIFT@GOTPAGEOFF] Lloh5: adrp x11, _MIN_CS_SHIFT@GOTPAGE Lloh6: ldr x11, [x11, _MIN_CS_SHIFT@GOTPAGEOFF] Lloh7: ldr x8, [x8] Lloh8: adrp x20, _zio_bench@GOTPAGE Lloh9: ldr x20, [x20, _zio_bench@GOTPAGEOFF] Lloh10: adrp x19, _rm_bench@GOTPAGE Lloh11: ldr x19, [x19, _rm_bench@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 Lloh12: adrp x9, _RAIDZ_REC_NUM@GOTPAGE Lloh13: ldr x9, [x9, _RAIDZ_REC_NUM@GOTPAGEOFF] Lloh14: ldr w9, [x9] Lloh15: adrp x11, _MIN_CS_SHIFT@GOTPAGE Lloh16: ldr x11, [x11, _MIN_CS_SHIFT@GOTPAGEOFF] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x10, [sp, #8] ; 8-byte Folded Reload cmp x10, w9, sxtw add x10, x10, #1 str x10, [sp, #8] ; 8-byte Folded Spill b.ge LBB0_12 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_11 Depth 3 ldr x21, [x11] cmp x21, x8 b.hi LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [sp, #8] ; 8-byte Folded Reload mov w10, #12 ; =0xc Lloh17: adrp x11, _run_rec_bench_impl.tgt@PAGE Lloh18: add x11, x11, _run_rec_bench_impl.tgt@PAGEOFF madd x22, x9, x10, x11 Lloh19: adrp x9, _rto_opts@GOTPAGE Lloh20: ldr x9, [x9, _rto_opts@GOTPAGEOFF] Lloh21: ldr w9, [x9] Lloh22: adrp x10, _PARITY_PQR@GOTPAGE Lloh23: ldr x10, [x10, _PARITY_PQR@GOTPAGEOFF] Lloh24: ldr w3, [x10] Lloh25: adrp x10, _BENCH_ASHIFT@GOTPAGE Lloh26: ldr x10, [x10, _BENCH_ASHIFT@GOTPAGEOFF] Lloh27: ldr x1, [x10] b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 bl _gethrtime sub x8, x0, x26 scvtf d0, x8 bl _NSEC2SEC Lloh28: adrp x20, _rto_opts@GOTPAGE Lloh29: ldr x20, [x20, _rto_opts@GOTPAGEOFF] ldrsw x4, [x20] udiv x8, x23, x4 ucvtf d1, x25 ucvtf d2, x8 fmul d1, d1, d2 mov x8, #4697254411347427328 ; =0x4130000000000000 fmov d2, x8 fmul d0, d0, d2 fdiv d0, d1, d0 Lloh30: adrp x8, _D_ALL@GOTPAGE Lloh31: ldr x8, [x8, _D_ALL@GOTPAGEOFF] Lloh32: ldr w0, [x8] Lloh33: adrp x8, _raidz_rec_name@GOTPAGE Lloh34: ldr x8, [x8, _raidz_rec_name@GOTPAGEOFF] Lloh35: ldr x8, [x8] ldp x2, x9, [sp] ; 16-byte Folded Reload ldr w3, [x8, x9, lsl #2] scvtf d1, w24 fmul d1, d0, d1 Lloh36: adrp x1, l_.str@PAGE Lloh37: add x1, x1, l_.str@PAGEOFF mov x5, x23 mov x6, x25 bl _LOG ldr w0, [x19] bl _vdev_raidz_map_free ldr w9, [x20] Lloh38: adrp x8, _PARITY_PQR@GOTPAGE Lloh39: ldr x8, [x8, _PARITY_PQR@GOTPAGEOFF] Lloh40: ldr w3, [x8] Lloh41: adrp x8, _BENCH_ASHIFT@GOTPAGE Lloh42: ldr x8, [x8, _BENCH_ASHIFT@GOTPAGEOFF] Lloh43: ldr x1, [x8] Lloh44: adrp x8, _MAX_CS_SHIFT@GOTPAGE Lloh45: ldr x8, [x8, _MAX_CS_SHIFT@GOTPAGEOFF] Lloh46: ldr x8, [x8] Lloh47: adrp x20, _zio_bench@GOTPAGE Lloh48: ldr x20, [x20, _zio_bench@GOTPAGEOFF] LBB0_7: ; in Loop: Header=BB0_8 Depth=2 add x21, x21, #1 cmp x21, x8 b.hi LBB0_2 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_11 Depth 3 mov w10, #1 ; =0x1 lsl x23, x10, x21 str x23, [x20] sxtw x10, w9 udiv x10, x23, x10 lsr x10, x10, x1 cbz x10, LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 add w24, w3, w9 mov x0, x20 mov x2, x24 bl _vdev_raidz_map_alloc str w0, [x19] Lloh49: adrp x8, _REC_BENCH_MEMORY@GOTPAGE Lloh50: ldr x8, [x8, _REC_BENCH_MEMORY@GOTPAGEOFF] Lloh51: ldr x28, [x8] ldr x20, [x20] udiv x25, x28, x20 bl _raidz_ncols mov x26, x0 ldr w0, [x19] bl _raidz_parity sub x1, x26, x0 mov w0, #3 ; =0x3 bl _MIN mov x27, x0 bl _gethrtime mov x26, x0 cmp x20, x28 b.hi LBB0_6 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 mov x28, #0 ; =0x0 LBB0_11: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w0, [x19] mov x1, x22 mov x2, x27 bl _vdev_raidz_reconstruct add x28, x28, #1 cmp x28, x25 b.lo LBB0_11 b LBB0_6 LBB0_12: 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 AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .cfi_endproc ; -- End function .globl _g_aug_volatile_9412 ; @g_aug_volatile_9412 .zerofill __DATA,__common,_g_aug_volatile_9412,4,2 .section __TEXT,__const .p2align 2, 0x0 ; @run_rec_bench_impl.tgt _run_rec_bench_impl.tgt: .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .long 0 ; 0x0 .long 2 ; 0x2 .long 3 ; 0x3 .long 0 ; 0x0 .long 1 ; 0x1 .long 3 ; 0x3 .long 2 ; 0x2 .long 3 ; 0x3 .long 4 ; 0x4 .long 1 ; 0x1 .long 3 ; 0x3 .long 4 ; 0x4 .long 0 ; 0x0 .long 3 ; 0x3 .long 4 ; 0x4 .long 3 ; 0x3 .long 4 ; 0x4 .long 5 ; 0x5 .comm _RAIDZ_REC_NUM,4,2 ; @RAIDZ_REC_NUM .comm _MIN_CS_SHIFT,8,3 ; @MIN_CS_SHIFT .comm _MAX_CS_SHIFT,8,3 ; @MAX_CS_SHIFT .comm _rto_opts,4,2 ; @rto_opts .comm _PARITY_PQR,4,2 ; @PARITY_PQR .comm _zio_bench,8,3 ; @zio_bench .comm _BENCH_ASHIFT,8,3 ; @BENCH_ASHIFT .comm _rm_bench,4,2 ; @rm_bench .comm _REC_BENCH_MEMORY,8,3 ; @REC_BENCH_MEMORY .comm _D_ALL,4,2 ; @D_ALL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%10s, %8s, %zu, %10llu, %lf, %lf, %u\n" .comm _raidz_rec_name,8,3 ; @raidz_rec_name .no_dead_strip _run_rec_bench_impl .subsections_via_symbols
assembly_file_133091.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function first_referenced_var _first_referenced_var: ## @first_referenced_var .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _referenced_vars@GOTPCREL(%rip), %rax movl (%rax), %esi callq _first_htab_element testq %rax, %rax je LBB0_1 ## %bb.2: movq (%rax), %rax popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _referenced_vars,4,2 ## @referenced_vars .no_dead_strip _first_referenced_var .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function first_referenced_var _first_referenced_var: ; @first_referenced_var .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, _referenced_vars@GOTPAGE Lloh1: ldr x8, [x8, _referenced_vars@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _first_htab_element cbz x0, LBB0_2 ; %bb.1: ldr x0, [x0] LBB0_2: ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _referenced_vars,4,2 ; @referenced_vars .no_dead_strip _first_referenced_var .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_tree-flow-inline.h_first_referenced_var.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function str_op _str_op: ## @str_op .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb (%rdi), %al leal -65(%rax), %ecx cmpb $25, %cl ja LBB0_2 ## %bb.1: addb $32, %al movb %al, (%rdi) LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _str_op .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function str_op _str_op: ; @str_op .cfi_startproc ; %bb.0: ldrb w8, [x0] sub w9, w8, #65 cmp w9, #25 b.hi LBB0_2 ; %bb.1: add w8, w8, #32 strb w8, [x0] LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _str_op .subsections_via_symbols
AnghaBench/radare2/libr/asm/p/extr_..archgbgbasm.c_str_op.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _GetCommandLineUniStr ## -- Begin function GetCommandLineUniStr .p2align 4, 0x90 _GetCommandLineUniStr: ## @GetCommandLineUniStr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _uni_cmdline@GOTPCREL(%rip), %rax movq (%rax), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: popq %rbp jmp _UniCopyStr ## TAILCALL LBB0_1: leaq l_.str(%rip), %rdi popq %rbp jmp _UniCopyStr ## TAILCALL .cfi_endproc ## -- End function .comm _uni_cmdline,8,3 ## @uni_cmdline .section __TEXT,__const .p2align 2 ## @.str l_.str: .space 4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _GetCommandLineUniStr ; -- Begin function GetCommandLineUniStr .p2align 2 _GetCommandLineUniStr: ; @GetCommandLineUniStr .cfi_startproc ; %bb.0: Lloh0: adrp x8, _uni_cmdline@GOTPAGE Lloh1: ldr x8, [x8, _uni_cmdline@GOTPAGEOFF] Lloh2: ldr x0, [x8] cbz x0, LBB0_2 ; %bb.1: b _UniCopyStr LBB0_2: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF b _UniCopyStr .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _uni_cmdline,8,3 ; @uni_cmdline .section __TEXT,__const .p2align 2 ; @.str l_.str: .space 4 .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Mayaqua.c_GetCommandLineUniStr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vmalloc ## -- Begin function vmalloc .p2align 4, 0x90 _vmalloc: ## @vmalloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _GFP_KERNEL@GOTPCREL(%rip), %rax movq ___GFP_HIGHMEM@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl (%rax), %esi movq _PAGE_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx popq %rbp jmp ___vmalloc ## TAILCALL .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm ___GFP_HIGHMEM,4,2 ## @__GFP_HIGHMEM .comm _PAGE_KERNEL,4,2 ## @PAGE_KERNEL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vmalloc ; -- Begin function vmalloc .p2align 2 _vmalloc: ; @vmalloc .cfi_startproc ; %bb.0: Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, ___GFP_HIGHMEM@GOTPAGE Lloh4: ldr x9, [x9, ___GFP_HIGHMEM@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w1, w9, w8 Lloh6: adrp x8, _PAGE_KERNEL@GOTPAGE Lloh7: ldr x8, [x8, _PAGE_KERNEL@GOTPAGEOFF] Lloh8: ldr w2, [x8] b ___vmalloc .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm ___GFP_HIGHMEM,4,2 ; @__GFP_HIGHMEM .comm _PAGE_KERNEL,4,2 ; @PAGE_KERNEL .subsections_via_symbols
AnghaBench/fastsocket/kernel/mm/extr_nommu.c_vmalloc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __hx509_request_add_eku ## -- Begin function _hx509_request_add_eku .p2align 4, 0x90 __hx509_request_add_eku: ## @_hx509_request_add_eku .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 movq %rsi, %rbx movq 8(%rsi), %rdi movl (%rsi), %eax leal 4(,%rax,4), %esi callq _realloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, 8(%rbx) movslq (%rbx), %rcx leaq (%rax,%rcx,4), %rsi movq %r14, %rdi callq _der_copy_oid testl %eax, %eax jne LBB0_4 ## %bb.3: incl (%rbx) xorl %eax, %eax jmp LBB0_4 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_4: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __hx509_request_add_eku ; -- Begin function _hx509_request_add_eku .p2align 2 __hx509_request_add_eku: ; @_hx509_request_add_eku .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x2 mov x19, x1 ldr x0, [x1, #8] ldr w8, [x1] lsl w8, w8, #2 add w1, w8, #4 bl _realloc cbz x0, LBB0_3 ; %bb.1: str x0, [x19, #8] ldrsw x8, [x19] add x1, x0, x8, lsl #2 mov x0, x20 bl _der_copy_oid cbnz w0, LBB0_4 ; %bb.2: ldr w8, [x19] add w8, w8, #1 str w8, [x19] b LBB0_4 LBB0_3: Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w0, [x8] LBB0_4: 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 _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
assembly_file_176510.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kstat_irqs_usr ## -- Begin function kstat_irqs_usr .p2align 4, 0x90 _kstat_irqs_usr: ## @kstat_irqs_usr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx xorl %eax, %eax callq _rcu_read_lock movl %ebx, %edi callq _kstat_irqs movl %eax, %ebx xorl %eax, %eax callq _rcu_read_unlock movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kstat_irqs_usr ; -- Begin function kstat_irqs_usr .p2align 2 _kstat_irqs_usr: ; @kstat_irqs_usr .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 _rcu_read_lock mov x0, x19 bl _kstat_irqs mov x19, x0 bl _rcu_read_unlock mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/kernel/irq/extr_irqdesc.c_kstat_irqs_usr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3_soft_heap_limit64 ## -- Begin function sqlite3_soft_heap_limit64 .p2align 4, 0x90 _sqlite3_soft_heap_limit64: ## @sqlite3_soft_heap_limit64 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx xorl %eax, %eax callq _sqlite3_initialize movl $-1, %r14d testl %eax, %eax je LBB0_1 LBB0_5: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_1: movq _mem0@GOTPCREL(%rip), %r15 movl 8(%r15), %edi callq _sqlite3_mutex_enter movl (%r15), %r14d testl %ebx, %ebx js LBB0_2 ## %bb.3: movl %ebx, (%r15) movq _SQLITE_STATUS_MEMORY_USED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _sqlite3StatusValue testl %ebx, %ebx setne %cl cmpl %ebx, %eax setge %al andb %cl, %al movzbl %al, %eax movl %eax, 4(%r15) movl 8(%r15), %edi callq _sqlite3_mutex_leave xorl %eax, %eax callq _sqlite3_memory_used subl %ebx, %eax jle LBB0_5 ## %bb.4: movl %eax, %edi callq _sqlite3_release_memory jmp LBB0_5 LBB0_2: movl 8(%r15), %edi callq _sqlite3_mutex_leave jmp LBB0_5 .cfi_endproc ## -- End function .comm _mem0,12,2 ## @mem0 .comm _SQLITE_STATUS_MEMORY_USED,4,2 ## @SQLITE_STATUS_MEMORY_USED .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3_soft_heap_limit64 ; -- Begin function sqlite3_soft_heap_limit64 .p2align 2 _sqlite3_soft_heap_limit64: ; @sqlite3_soft_heap_limit64 .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, x0 bl _sqlite3_initialize cbz w0, LBB0_3 ; %bb.1: mov w19, #-1 LBB0_2: 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 LBB0_3: Lloh0: adrp x21, _mem0@GOTPAGE Lloh1: ldr x21, [x21, _mem0@GOTPAGEOFF] ldr w0, [x21, #8] bl _sqlite3_mutex_enter ldr w19, [x21] tbnz w20, #31, LBB0_6 ; %bb.4: str w20, [x21] Lloh2: adrp x8, _SQLITE_STATUS_MEMORY_USED@GOTPAGE Lloh3: ldr x8, [x8, _SQLITE_STATUS_MEMORY_USED@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _sqlite3StatusValue cmp w20, #0 ccmp w0, w20, #8, ne cset w8, ge str w8, [x21, #4] ldr w0, [x21, #8] bl _sqlite3_mutex_leave bl _sqlite3_memory_used sub w0, w0, w20 cmp w0, #1 b.lt LBB0_2 ; %bb.5: bl _sqlite3_release_memory b LBB0_2 LBB0_6: ldr w0, [x21, #8] bl _sqlite3_mutex_leave b LBB0_2 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _mem0,12,2 ; @mem0 .comm _SQLITE_STATUS_MEMORY_USED,4,2 ; @SQLITE_STATUS_MEMORY_USED .subsections_via_symbols
AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_sqlite3_soft_heap_limit64.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eeh_dev_init ## -- Begin function eeh_dev_init .p2align 4, 0x90 _eeh_dev_init: ## @eeh_dev_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $16, %edi callq _kzalloc testq %rax, %rax je LBB0_2 ## %bb.1: movq %rax, 16(%rbx) movq %rbx, 8(%rax) movl (%rbx), %ecx shll $8, %ecx orl 4(%rbx), %ecx movl %ecx, (%rax) movl 8(%rbx), %ecx movl %ecx, 4(%rax) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _eeh_dev_init ; -- Begin function eeh_dev_init .p2align 2 _eeh_dev_init: ; @eeh_dev_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 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #16 bl _kzalloc cbz x0, LBB0_2 ; %bb.1: str x0, [x19, #16] str x19, [x0, #8] ldp w8, w9, [x19] orr w8, w9, w8, lsl #8 ldr w9, [x19, #8] stp w8, w9, [x0] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .subsections_via_symbols
AnghaBench/linux/arch/powerpc/kernel/extr_eeh_dev.c_eeh_dev_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function b_shift _b_shift: ## @b_shift .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edx, %ebx movq %rdi, %r14 testl %edx, %edx js LBB0_1 ## %bb.2: movq _LUA_NBITS@GOTPCREL(%rip), %rax movl %ebx, %ecx shll %cl, %esi xorl %edi, %edi cmpl %ebx, (%rax) cmovgl %esi, %edi callq _trim movl %eax, %esi jmp LBB0_3 LBB0_1: negl %ebx movl %esi, %edi callq _trim movq _LUA_NBITS@GOTPCREL(%rip), %rdx movl %ebx, %ecx sarl %cl, %eax xorl %esi, %esi cmpl %ebx, (%rdx) cmovgl %eax, %esi LBB0_3: movq %r14, %rdi callq _lua_pushunsigned movl $1, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _LUA_NBITS,4,2 ## @LUA_NBITS .no_dead_strip _b_shift .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function b_shift _b_shift: ; @b_shift .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 tbnz w2, #31, LBB0_2 ; %bb.1: Lloh0: adrp x8, _LUA_NBITS@GOTPAGE Lloh1: ldr x8, [x8, _LUA_NBITS@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w9, w1, w2 cmp w8, w2 csel w0, w9, wzr, gt bl _trim mov x1, x0 b LBB0_3 LBB0_2: neg w20, w2 mov x0, x1 bl _trim Lloh3: adrp x8, _LUA_NBITS@GOTPAGE Lloh4: ldr x8, [x8, _LUA_NBITS@GOTPAGEOFF] Lloh5: ldr w8, [x8] asr w9, w0, w20 cmp w8, w20 csel w1, w9, wzr, gt LBB0_3: mov x0, x19 bl _lua_pushunsigned mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _LUA_NBITS,4,2 ; @LUA_NBITS .no_dead_strip _b_shift .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/extr_lbitlib.c_b_shift.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sd_rtnl_message_link_set_type ## -- Begin function sd_rtnl_message_link_set_type .p2align 4, 0x90 _sd_rtnl_message_link_set_type: ## @sd_rtnl_message_link_set_type .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, %rbx movq _EINVAL@GOTPCREL(%rip), %r12 xorl %r15d, %r15d xorl %esi, %esi subl (%r12), %esi callq _assert_return movq (%rbx), %rdi xorl %esi, %esi subl (%r12), %esi callq _assert_return movq (%rbx), %rax movl 8(%rax), %edi callq _rtnl_message_type_is_link subl (%r12), %r15d movq %rax, %rdi movl %r15d, %esi callq _assert_return movq (%rbx), %rdi callq _NLMSG_DATA movl %r14d, (%rax) xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sd_rtnl_message_link_set_type ; -- Begin function sd_rtnl_message_link_set_type .p2align 2 _sd_rtnl_message_link_set_type: ; @sd_rtnl_message_link_set_type .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x21, _EINVAL@GOTPAGE Lloh1: ldr x21, [x21, _EINVAL@GOTPAGEOFF] ldr w8, [x21] neg w1, w8 bl _assert_return ldr x0, [x20] ldr w8, [x21] neg w1, w8 bl _assert_return ldr x8, [x20] ldr w0, [x8, #8] bl _rtnl_message_type_is_link ldr w8, [x21] neg w1, w8 bl _assert_return ldr x0, [x20] bl _NLMSG_DATA str w19, [x0] mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/systemd/src/libsystemd/sd-netlink/extr_rtnl-message.c_sd_rtnl_message_link_set_type.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x3f800000 ## float 1 LCPI0_1: .long 0x5f000000 ## float 9.22337203E+18 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi xorl %r14d, %r14d xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -40(%rbp), %rsi xorl %eax, %eax callq _scanf movq -40(%rbp), %r15 testq %r15, %r15 je LBB0_3 ## %bb.1: xorl %ebx, %ebx movabsq $-3689348814741910323, %r12 ## imm = 0xCCCCCCCCCCCCCCCD xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movss LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero movl %ebx, %edi callq _ldexpf cvttss2si %xmm0, %rcx movq %rcx, %rax sarq $63, %rax subss LCPI0_1(%rip), %xmm0 cvttss2si %xmm0, %rdx andl %eax, %edx orl %edx, %ecx movq %r15, %rax mulq %r12 shrq $3, %rdx leal (%rdx,%rdx), %eax leal (%rax,%rax,4), %eax movl %r15d, %esi subl %eax, %esi imull %ecx, %esi addl %esi, %r14d movq %rdx, -40(%rbp) incl %ebx cmpq $10, %r15 movq %rdx, %r15 jae LBB0_2 LBB0_3: leaq L_.str.2(%rip), %rdi movl %r14d, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Insira numero em binario: " L_.str.1: ## @.str.1 .asciz "%lu" L_.str.2: ## @.str.2 .asciz "Em decimal: %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, #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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr x21, [sp, #8] cbz x21, LBB0_3 ; %bb.1: mov w19, #0 mov w20, #0 mov x22, #-3689348814741910324 movk x22, #52429 mov w23, #10 LBB0_2: ; =>This Inner Loop Header: Depth=1 umulh x8, x21, x22 lsr x24, x8, #3 msub w25, w24, w23, w21 fmov s0, #1.00000000 mov x0, x19 bl _ldexpf fcvtzu x8, s0 madd w20, w25, w8, w20 str x24, [sp, #8] add w19, w19, #1 cmp x21, #10 mov x21, x24 b.hs LBB0_2 b LBB0_4 LBB0_3: mov w20, #0 LBB0_4: str x20, [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, #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 Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Insira numero em binario: " l_.str.1: ; @.str.1 .asciz "%lu" l_.str.2: ; @.str.2 .asciz "Em decimal: %d\n" .subsections_via_symbols
the_stack_data/947137.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function watchdog_open _watchdog_open: ## @watchdog_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _CSR_SA110_CNTL@GOTPCREL(%rip), %r12 movq (%r12), %rax testb $32, 1(%rax) jne LBB0_1 ## %bb.2: movq %rsi, %r14 movq %rdi, %r15 movq _timer_alive@GOTPCREL(%rip), %rsi movl $1, %edi callq _test_and_set_bit testq %rax, %rax je LBB0_3 LBB0_1: movq _EBUSY@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_4 LBB0_3: movq _soft_margin@GOTPCREL(%rip), %rax movq _mem_fclk_21285@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leal 255(%rcx), %edx testl %ecx, %ecx cmovnsl %ecx, %edx sarl $8, %edx imull (%rax), %edx movq _reload@GOTPCREL(%rip), %rax movl %edx, (%rax) movq _CSR_TIMER4_CLR@GOTPCREL(%rip), %rax movq (%rax), %rax movq $0, (%rax) xorl %ebx, %ebx xorl %eax, %eax callq _watchdog_ping movq _TIMER_CNTL_ENABLE@GOTPCREL(%rip), %rax movq _TIMER_CNTL_AUTORELOAD@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _TIMER_CNTL_DIV256@GOTPCREL(%rip), %rax orl (%rax), %ecx movq _CSR_TIMER4_CNTL@GOTPCREL(%rip), %rax movq (%rax), %rax movl %ecx, (%rax) movq (%r12), %rax orl $8192, (%rax) ## imm = 0x2000 movq %r15, %rdi movq %r14, %rsi callq _nonseekable_open LBB0_4: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CSR_SA110_CNTL,8,3 ## @CSR_SA110_CNTL .comm _EBUSY,4,2 ## @EBUSY .comm _timer_alive,4,2 ## @timer_alive .comm _soft_margin,4,2 ## @soft_margin .comm _mem_fclk_21285,4,2 ## @mem_fclk_21285 .comm _reload,4,2 ## @reload .comm _CSR_TIMER4_CLR,8,3 ## @CSR_TIMER4_CLR .comm _TIMER_CNTL_ENABLE,4,2 ## @TIMER_CNTL_ENABLE .comm _TIMER_CNTL_AUTORELOAD,4,2 ## @TIMER_CNTL_AUTORELOAD .comm _TIMER_CNTL_DIV256,4,2 ## @TIMER_CNTL_DIV256 .comm _CSR_TIMER4_CNTL,8,3 ## @CSR_TIMER4_CNTL .comm _IRQ_TIMER4,4,2 ## @IRQ_TIMER4 .comm _watchdog_fire,4,2 ## @watchdog_fire .no_dead_strip _watchdog_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function watchdog_open _watchdog_open: ; @watchdog_open .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x21, _CSR_SA110_CNTL@GOTPAGE Lloh1: ldr x21, [x21, _CSR_SA110_CNTL@GOTPAGEOFF] ldr x8, [x21] ldrb w8, [x8, #1] tbnz w8, #5, LBB0_2 ; %bb.1: mov x19, x1 mov x20, x0 Lloh2: adrp x1, _timer_alive@GOTPAGE Lloh3: ldr x1, [x1, _timer_alive@GOTPAGEOFF] mov w0, #1 bl _test_and_set_bit cbz x0, LBB0_3 LBB0_2: Lloh4: adrp x8, _EBUSY@GOTPAGE Lloh5: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w0, w8 b LBB0_4 LBB0_3: Lloh7: adrp x8, _soft_margin@GOTPAGE Lloh8: ldr x8, [x8, _soft_margin@GOTPAGEOFF] Lloh9: ldr w8, [x8] Lloh10: adrp x9, _mem_fclk_21285@GOTPAGE Lloh11: ldr x9, [x9, _mem_fclk_21285@GOTPAGEOFF] Lloh12: ldr w9, [x9] add w10, w9, #255 cmp w9, #0 csel w9, w10, w9, lt asr w9, w9, #8 Lloh13: adrp x10, _reload@GOTPAGE Lloh14: ldr x10, [x10, _reload@GOTPAGEOFF] mul w8, w9, w8 Lloh15: str w8, [x10] Lloh16: adrp x8, _CSR_TIMER4_CLR@GOTPAGE Lloh17: ldr x8, [x8, _CSR_TIMER4_CLR@GOTPAGEOFF] Lloh18: ldr x8, [x8] str xzr, [x8] bl _watchdog_ping Lloh19: adrp x8, _TIMER_CNTL_ENABLE@GOTPAGE Lloh20: ldr x8, [x8, _TIMER_CNTL_ENABLE@GOTPAGEOFF] Lloh21: ldr w8, [x8] Lloh22: adrp x9, _TIMER_CNTL_AUTORELOAD@GOTPAGE Lloh23: ldr x9, [x9, _TIMER_CNTL_AUTORELOAD@GOTPAGEOFF] Lloh24: ldr w9, [x9] orr w8, w9, w8 Lloh25: adrp x9, _TIMER_CNTL_DIV256@GOTPAGE Lloh26: ldr x9, [x9, _TIMER_CNTL_DIV256@GOTPAGEOFF] Lloh27: ldr w9, [x9] orr w8, w8, w9 Lloh28: adrp x9, _CSR_TIMER4_CNTL@GOTPAGE Lloh29: ldr x9, [x9, _CSR_TIMER4_CNTL@GOTPAGEOFF] Lloh30: ldr x9, [x9] str w8, [x9] ldr x8, [x21] ldr w9, [x8] orr w9, w9, #0x2000 str w9, [x8] mov x0, x20 mov x1, x19 bl _nonseekable_open mov w0, #0 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 AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotStr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _CSR_SA110_CNTL,8,3 ; @CSR_SA110_CNTL .comm _EBUSY,4,2 ; @EBUSY .comm _timer_alive,4,2 ; @timer_alive .comm _soft_margin,4,2 ; @soft_margin .comm _mem_fclk_21285,4,2 ; @mem_fclk_21285 .comm _reload,4,2 ; @reload .comm _CSR_TIMER4_CLR,8,3 ; @CSR_TIMER4_CLR .comm _TIMER_CNTL_ENABLE,4,2 ; @TIMER_CNTL_ENABLE .comm _TIMER_CNTL_AUTORELOAD,4,2 ; @TIMER_CNTL_AUTORELOAD .comm _TIMER_CNTL_DIV256,4,2 ; @TIMER_CNTL_DIV256 .comm _CSR_TIMER4_CNTL,8,3 ; @CSR_TIMER4_CNTL .comm _IRQ_TIMER4,4,2 ; @IRQ_TIMER4 .comm _watchdog_fire,4,2 ; @watchdog_fire .no_dead_strip _watchdog_open .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/watchdog/extr_wdt285.c_watchdog_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function stoupper _stoupper: ## @stoupper .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 testq %rdi, %rdi je LBB0_3 ## %bb.1: movq %rdi, %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl (%rbx), %edi callq _unichar_toupper movb %al, (%rbx) incq %rbx jmp LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _stoupper .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function stoupper _stoupper: ; @stoupper .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cbz x0, LBB0_3 ; %bb.1: mov x19, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x19] bl _unichar_toupper strb w0, [x19], #1 b LBB0_2 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _stoupper .subsections_via_symbols
assembly_file_59559.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_task_internal_compressed ## -- Begin function get_task_internal_compressed .p2align 4, 0x90 _get_task_internal_compressed: ## @get_task_internal_compressed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movl (%rdi), %edi movq _task_ledgers@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -16(%rbp), %rdx leaq -8(%rbp), %rcx callq _ledger_get_entries movq _KERN_SUCCESS@GOTPCREL(%rip), %rdx movq -16(%rbp), %rsi subq -8(%rbp), %rsi xorl %ecx, %ecx cmpq %rax, (%rdx) cmoveq %rsi, %rcx movq %rcx, %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _task_ledgers,4,2 ## @task_ledgers .comm _KERN_SUCCESS,8,3 ## @KERN_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_task_internal_compressed ; -- Begin function get_task_internal_compressed .p2align 2 _get_task_internal_compressed: ; @get_task_internal_compressed .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 ldr w0, [x0] Lloh0: adrp x8, _task_ledgers@GOTPAGE Lloh1: ldr x8, [x8, _task_ledgers@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x2, sp, #8 mov x3, sp bl _ledger_get_entries Lloh3: adrp x8, _KERN_SUCCESS@GOTPAGE Lloh4: ldr x8, [x8, _KERN_SUCCESS@GOTPAGEOFF] Lloh5: ldr x8, [x8] ldp x10, x9, [sp] sub x9, x9, x10 cmp x8, x0 csel x0, x9, xzr, eq ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _task_ledgers,4,2 ; @task_ledgers .comm _KERN_SUCCESS,8,3 ; @KERN_SUCCESS .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/kern/extr_bsd_kern.c_get_task_internal_compressed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function psc_putc _psc_putc: ## @psc_putc .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 %edi, %r14d movq _psc@GOTPCREL(%rip), %r15 movq _MPC52xx_PSC_SR@GOTPCREL(%rip), %r12 movq _MPC52xx_PSC_SR_TXRDY@GOTPCREL(%rip), %rbx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rdi addq (%r15), %rdi callq _in_be16 testl %eax, (%rbx) je LBB0_1 ## %bb.2: movq _MPC52xx_PSC_BUFFER@GOTPCREL(%rip), %rax movq (%rax), %rdi addq (%r15), %rdi movzbl %r14b, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _out_8 ## TAILCALL .cfi_endproc ## -- End function .comm _psc,8,3 ## @psc .comm _MPC52xx_PSC_SR,8,3 ## @MPC52xx_PSC_SR .comm _MPC52xx_PSC_SR_TXRDY,4,2 ## @MPC52xx_PSC_SR_TXRDY .comm _MPC52xx_PSC_BUFFER,8,3 ## @MPC52xx_PSC_BUFFER .no_dead_strip _psc_putc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function psc_putc _psc_putc: ; @psc_putc .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x20, _psc@GOTPAGE Lloh1: ldr x20, [x20, _psc@GOTPAGEOFF] Lloh2: adrp x21, _MPC52xx_PSC_SR@GOTPAGE Lloh3: ldr x21, [x21, _MPC52xx_PSC_SR@GOTPAGEOFF] Lloh4: adrp x22, _MPC52xx_PSC_SR_TXRDY@GOTPAGE Lloh5: ldr x22, [x22, _MPC52xx_PSC_SR_TXRDY@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20] ldr x9, [x21] add x0, x9, x8 bl _in_be16 ldr w8, [x22] tst w8, w0 b.eq LBB0_1 ; %bb.2: ldr x8, [x20] Lloh6: adrp x9, _MPC52xx_PSC_BUFFER@GOTPAGE Lloh7: ldr x9, [x9, _MPC52xx_PSC_BUFFER@GOTPAGEOFF] Lloh8: ldr x9, [x9] add x0, x9, x8 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _out_8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _psc,8,3 ; @psc .comm _MPC52xx_PSC_SR,8,3 ; @MPC52xx_PSC_SR .comm _MPC52xx_PSC_SR_TXRDY,4,2 ; @MPC52xx_PSC_SR_TXRDY .comm _MPC52xx_PSC_BUFFER,8,3 ; @MPC52xx_PSC_BUFFER .no_dead_strip _psc_putc .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/powerpc/boot/extr_mpc52xx-psc.c_psc_putc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sockaddr_snprintf ## -- Begin function sockaddr_snprintf .p2align 4, 0x90 _sockaddr_snprintf: ## @sockaddr_snprintf .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 $3208, %rsp ## imm = 0xC88 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -3224(%rbp) ## 8-byte Spill movq %rdi, -3200(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq %rcx, -3160(%rbp) ## 8-byte Spill movl (%rcx), %eax addl $-128, %eax cmpl $4, %eax ja LBB0_7 ## %bb.1: movq %rdx, %rbx movq -3200(%rbp), %r15 ## 8-byte Reload movq -3224(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%r15), %r14 decq %r14 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_2: movq %r15, %rax cmpq %r14, %r15 jb LBB0_4 ## %bb.3: movq %r14, %rax cmpq $0, -3224(%rbp) ## 8-byte Folded Reload je LBB0_5 LBB0_4: movb $0, (%rax) LBB0_5: subl -3200(%rbp), %r15d ## 4-byte Folded Reload jmp LBB0_11 LBB0_6: leaq -1072(%rbp), %r13 movq %r13, %rdi movl $129, %esi movl $1024, %edx ## imm = 0x400 callq _strlcpy movl $4, %eax movq %rax, -3184(%rbp) ## 8-byte Spill movl $-1, %ecx movb $1, %al movq %rax, -3216(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -3168(%rbp) ## 8-byte Spill movq -3160(%rbp), %rax ## 8-byte Reload movq %rax, -3208(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -3192(%rbp) ## 8-byte Spill jmp LBB0_14 LBB0_7: movq _EAFNOSUPPORT@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $-1, %r15d jmp LBB0_11 LBB0_8: movl $24, %r12d movl $5, %eax xorl %ecx, %ecx movq %rcx, -3192(%rbp) ## 8-byte Spill movq -3160(%rbp), %r15 ## 8-byte Reload movq %r15, %rcx movq %r15, -3168(%rbp) ## 8-byte Spill jmp LBB0_10 LBB0_9: movl $8, %r12d movl $1, %eax xorl %ecx, %ecx movq %rcx, -3168(%rbp) ## 8-byte Spill movq -3160(%rbp), %r15 ## 8-byte Reload movq %r15, %rcx movq %r15, -3192(%rbp) ## 8-byte Spill LBB0_10: movl (%r15,%rax,4), %edi callq _ntohs movl %eax, %r13d movq _NI_NUMERICHOST@GOTPCREL(%rip), %rax movq _NI_NUMERICSERV@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movl %ecx, (%rsp) leaq -1072(%rbp), %rdx movq %r15, %rdi movl %r12d, %esi movl $1024, %ecx ## imm = 0x400 xorl %r8d, %r8d xorl %r9d, %r9d callq _getnameinfo movl $-1, %r15d testq %rax, %rax je LBB0_13 LBB0_11: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_128 ## %bb.12: movl %r15d, %eax addq $3208, %rsp ## imm = 0xC88 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_13: xorl %eax, %eax movq %rax, -3208(%rbp) ## 8-byte Spill movq %r12, -3184(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -3216(%rbp) ## 8-byte Spill movl %r13d, %ecx xorl %r13d, %r13d LBB0_14: movl %ecx, -3172(%rbp) ## 4-byte Spill movslq %ecx, %rax movq %rax, -3232(%rbp) ## 8-byte Spill xorl %r12d, %r12d leaq LJTI0_1(%rip), %rdi movq -3200(%rbp), %r15 ## 8-byte Reload jmp LBB0_18 LBB0_33: ## in Loop: Header=BB0_18 Depth=1 addq $3, %r15 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_18 Depth=1 movq %r15, %rax LBB0_17: ## in Loop: Header=BB0_18 Depth=1 incq %rbx movq %rax, %r15 LBB0_18: ## =>This Loop Header: Depth=1 ## Child Loop BB0_23 Depth 2 ## Child Loop BB0_81 Depth 2 ## Child Loop BB0_75 Depth 2 ## Child Loop BB0_70 Depth 2 ## Child Loop BB0_65 Depth 2 ## Child Loop BB0_60 Depth 2 ## Child Loop BB0_54 Depth 2 ## Child Loop BB0_97 Depth 2 ## Child Loop BB0_48 Depth 2 ## Child Loop BB0_104 Depth 2 ## Child Loop BB0_38 Depth 2 ## Child Loop BB0_109 Depth 2 movb (%rbx), %cl cmpb $37, %cl je LBB0_22 LBB0_19: ## in Loop: Header=BB0_18 Depth=1 testb %cl, %cl je LBB0_2 LBB0_20: ## in Loop: Header=BB0_18 Depth=1 leaq 1(%r15), %rax cmpq %r14, %r15 jae LBB0_17 ## %bb.21: ## in Loop: Header=BB0_18 Depth=1 movb %cl, (%r15) jmp LBB0_17 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_18 Depth=1 xorl %esi, %esi LBB0_23: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 movl %esi, %eax movzbl 1(%rbx), %ecx incq %rbx movsbl %cl, %edx movb $1, %sil cmpl $63, %edx je LBB0_23 ## %bb.24: ## in Loop: Header=BB0_18 Depth=1 addl $-37, %edx cmpl $75, %edx ja LBB0_83 ## %bb.25: ## in Loop: Header=BB0_18 Depth=1 movslq (%rdi,%rdx,4), %rdx addq %rdi, %rdx jmpq *%rdx LBB0_26: ## in Loop: Header=BB0_18 Depth=1 testb $1, %al jne LBB0_16 ## %bb.27: ## in Loop: Header=BB0_18 Depth=1 cmpq %r14, %r15 jae LBB0_29 ## %bb.28: ## in Loop: Header=BB0_18 Depth=1 movb $78, (%r15) LBB0_29: ## in Loop: Header=BB0_18 Depth=1 leaq 1(%r15), %rax cmpq %r14, %rax jae LBB0_31 ## %bb.30: ## in Loop: Header=BB0_18 Depth=1 movb $47, (%rax) LBB0_31: ## in Loop: Header=BB0_18 Depth=1 leaq 2(%r15), %rax cmpq %r14, %rax jae LBB0_33 ## %bb.32: ## in Loop: Header=BB0_18 Depth=1 movb $65, (%rax) jmp LBB0_33 LBB0_34: ## in Loop: Header=BB0_18 Depth=1 testq %r13, %r13 je LBB0_90 ## %bb.35: ## in Loop: Header=BB0_18 Depth=1 movb (%r13), %al testb %al, %al je LBB0_16 ## %bb.36: ## in Loop: Header=BB0_18 Depth=1 xorl %ecx, %ecx jmp LBB0_38 .p2align 4, 0x90 LBB0_37: ## in Loop: Header=BB0_38 Depth=2 movzbl 1(%r13,%rcx), %eax incq %rcx testb %al, %al je LBB0_15 LBB0_38: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 leaq (%r15,%rcx), %rdx cmpq %r14, %rdx jae LBB0_37 ## %bb.39: ## in Loop: Header=BB0_38 Depth=2 movb %al, (%rdx) jmp LBB0_37 LBB0_40: ## in Loop: Header=BB0_18 Depth=1 movq -3160(%rbp), %rax ## 8-byte Reload movl (%rax), %eax cmpl $132, %eax je LBB0_99 ## %bb.41: ## in Loop: Header=BB0_18 Depth=1 cmpl $131, %eax je LBB0_100 ## %bb.42: ## in Loop: Header=BB0_18 Depth=1 cmpl $129, %eax jne LBB0_129 ## %bb.43: ## in Loop: Header=BB0_18 Depth=1 leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 movq -3208(%rbp), %rdx ## 8-byte Reload callq _debug_un jmp LBB0_101 LBB0_44: ## in Loop: Header=BB0_18 Depth=1 movq -3168(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_26 ## %bb.45: ## in Loop: Header=BB0_18 Depth=1 movq (%rcx), %rcx leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 leaq L_.str(%rip), %rdx callq _snprintf movb -2096(%rbp), %al testb %al, %al je LBB0_111 ## %bb.46: ## in Loop: Header=BB0_18 Depth=1 leaq -2095(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_48 .p2align 4, 0x90 LBB0_47: ## in Loop: Header=BB0_48 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_48: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_47 ## %bb.49: ## in Loop: Header=BB0_48 Depth=2 movb %al, (%r15) jmp LBB0_47 LBB0_50: ## in Loop: Header=BB0_18 Depth=1 testq %r12, %r12 je LBB0_93 ## %bb.51: ## in Loop: Header=BB0_18 Depth=1 movb (%r12), %al testb %al, %al je LBB0_16 ## %bb.52: ## in Loop: Header=BB0_18 Depth=1 xorl %ecx, %ecx jmp LBB0_54 .p2align 4, 0x90 LBB0_53: ## in Loop: Header=BB0_54 Depth=2 movzbl 1(%r12,%rcx), %eax incq %rcx testb %al, %al je LBB0_15 LBB0_54: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 leaq (%r15,%rcx), %rdx cmpq %r14, %rdx jae LBB0_53 ## %bb.55: ## in Loop: Header=BB0_54 Depth=2 movb %al, (%rdx) jmp LBB0_53 LBB0_56: ## in Loop: Header=BB0_18 Depth=1 movq -3168(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx je LBB0_26 ## %bb.57: ## in Loop: Header=BB0_18 Depth=1 movq 8(%rcx), %rcx leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 leaq L_.str(%rip), %rdx callq _snprintf movb -2096(%rbp), %al testb %al, %al je LBB0_111 ## %bb.58: ## in Loop: Header=BB0_18 Depth=1 leaq -2095(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_60 .p2align 4, 0x90 LBB0_59: ## in Loop: Header=BB0_60 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_60: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_59 ## %bb.61: ## in Loop: Header=BB0_60 Depth=2 movb %al, (%r15) jmp LBB0_59 LBB0_62: ## in Loop: Header=BB0_18 Depth=1 movb -1072(%rbp), %al testb %al, %al je LBB0_16 ## %bb.63: ## in Loop: Header=BB0_18 Depth=1 leaq -1071(%rbp), %rcx jmp LBB0_65 .p2align 4, 0x90 LBB0_64: ## in Loop: Header=BB0_65 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_65: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_64 ## %bb.66: ## in Loop: Header=BB0_65 Depth=2 movb %al, (%r15) jmp LBB0_64 LBB0_67: ## in Loop: Header=BB0_18 Depth=1 movq -3160(%rbp), %rax ## 8-byte Reload movslq (%rax), %rcx leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 leaq L_.str(%rip), %rdx callq _snprintf movb -2096(%rbp), %al testb %al, %al je LBB0_111 ## %bb.68: ## in Loop: Header=BB0_18 Depth=1 leaq -2095(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_70 .p2align 4, 0x90 LBB0_69: ## in Loop: Header=BB0_70 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_70: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_69 ## %bb.71: ## in Loop: Header=BB0_70 Depth=2 movb %al, (%r15) jmp LBB0_69 LBB0_72: ## in Loop: Header=BB0_18 Depth=1 leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 leaq L_.str.2(%rip), %rdx movq -3184(%rbp), %rcx ## 8-byte Reload callq _snprintf movb -2096(%rbp), %al testb %al, %al je LBB0_111 ## %bb.73: ## in Loop: Header=BB0_18 Depth=1 leaq -2095(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_75 .p2align 4, 0x90 LBB0_74: ## in Loop: Header=BB0_75 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_75: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_74 ## %bb.76: ## in Loop: Header=BB0_75 Depth=2 movb %al, (%r15) jmp LBB0_74 LBB0_77: ## in Loop: Header=BB0_18 Depth=1 cmpl $-1, -3172(%rbp) ## 4-byte Folded Reload je LBB0_26 ## %bb.78: ## in Loop: Header=BB0_18 Depth=1 leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 leaq L_.str(%rip), %rdx movq -3232(%rbp), %rcx ## 8-byte Reload callq _snprintf movb -2096(%rbp), %al testb %al, %al je LBB0_111 ## %bb.79: ## in Loop: Header=BB0_18 Depth=1 leaq -2095(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_81 .p2align 4, 0x90 LBB0_80: ## in Loop: Header=BB0_81 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_81: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_80 ## %bb.82: ## in Loop: Header=BB0_81 Depth=2 movb %al, (%r15) jmp LBB0_80 LBB0_83: ## in Loop: Header=BB0_18 Depth=1 cmpq %r14, %r15 jae LBB0_85 ## %bb.84: ## in Loop: Header=BB0_18 Depth=1 movb $37, (%r15) LBB0_85: ## in Loop: Header=BB0_18 Depth=1 leaq 1(%r15), %rcx testb $1, %al je LBB0_89 ## %bb.86: ## in Loop: Header=BB0_18 Depth=1 addq $2, %r15 cmpq %r14, %rcx jae LBB0_88 ## %bb.87: ## in Loop: Header=BB0_18 Depth=1 movb $63, (%rcx) LBB0_88: ## in Loop: Header=BB0_18 Depth=1 movb (%rbx), %cl jmp LBB0_19 LBB0_15: ## in Loop: Header=BB0_18 Depth=1 addq %rcx, %r15 jmp LBB0_16 LBB0_89: ## in Loop: Header=BB0_18 Depth=1 movq %rcx, %r15 movb (%rbx), %cl jmp LBB0_19 LBB0_90: ## in Loop: Header=BB0_18 Depth=1 cmpb $0, -3216(%rbp) ## 1-byte Folded Reload je LBB0_106 ## %bb.91: ## in Loop: Header=BB0_18 Depth=1 testb $1, %al jne LBB0_92 ## %bb.121: ## in Loop: Header=BB0_18 Depth=1 cmpq %r14, %r15 jae LBB0_123 ## %bb.122: ## in Loop: Header=BB0_18 Depth=1 movb $78, (%r15) LBB0_123: ## in Loop: Header=BB0_18 Depth=1 leaq 1(%r15), %rax cmpq %r14, %rax jae LBB0_125 ## %bb.124: ## in Loop: Header=BB0_18 Depth=1 movb $47, (%rax) LBB0_125: ## in Loop: Header=BB0_18 Depth=1 leaq 2(%r15), %rax cmpq %r14, %rax jae LBB0_127 ## %bb.126: ## in Loop: Header=BB0_18 Depth=1 movb $65, (%rax) LBB0_127: ## in Loop: Header=BB0_18 Depth=1 addq $3, %r15 LBB0_92: ## in Loop: Header=BB0_18 Depth=1 xorl %r13d, %r13d jmp LBB0_16 LBB0_93: ## in Loop: Header=BB0_18 Depth=1 cmpl $-1, -3172(%rbp) ## 4-byte Folded Reload je LBB0_112 ## %bb.94: ## in Loop: Header=BB0_18 Depth=1 movl $0, (%rsp) movq -3160(%rbp), %rdi ## 8-byte Reload movq -3184(%rbp), %rsi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi xorl %edx, %edx xorl %ecx, %ecx leaq -3152(%rbp), %r12 movq %r12, %r8 movl $32, %r9d callq _getnameinfo movb -3152(%rbp), %al testb %al, %al je LBB0_111 ## %bb.95: ## in Loop: Header=BB0_18 Depth=1 leaq -3151(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_97 .p2align 4, 0x90 LBB0_96: ## in Loop: Header=BB0_97 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_97: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_96 ## %bb.98: ## in Loop: Header=BB0_97 Depth=2 movb %al, (%r15) jmp LBB0_96 LBB0_99: ## in Loop: Header=BB0_18 Depth=1 leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 movq -3192(%rbp), %rdx ## 8-byte Reload callq _debug_in jmp LBB0_101 LBB0_100: ## in Loop: Header=BB0_18 Depth=1 leaq -2096(%rbp), %rdi movl $1024, %esi ## imm = 0x400 movq -3168(%rbp), %rdx ## 8-byte Reload callq _debug_in6 LBB0_101: ## in Loop: Header=BB0_18 Depth=1 movb -2096(%rbp), %al testb %al, %al leaq LJTI0_1(%rip), %rdi je LBB0_16 ## %bb.102: ## in Loop: Header=BB0_18 Depth=1 leaq -2095(%rbp), %rcx jmp LBB0_104 .p2align 4, 0x90 LBB0_103: ## in Loop: Header=BB0_104 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_104: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_103 ## %bb.105: ## in Loop: Header=BB0_104 Depth=2 movb %al, (%r15) jmp LBB0_103 LBB0_106: ## in Loop: Header=BB0_18 Depth=1 movl $0, (%rsp) movq -3160(%rbp), %rdi ## 8-byte Reload movq -3184(%rbp), %rsi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi leaq -3120(%rbp), %r13 movq %r13, %rdx movl $1024, %ecx ## imm = 0x400 xorl %r8d, %r8d xorl %r9d, %r9d callq _getnameinfo movb -3120(%rbp), %al testb %al, %al je LBB0_111 ## %bb.107: ## in Loop: Header=BB0_18 Depth=1 leaq -3119(%rbp), %rcx leaq LJTI0_1(%rip), %rdi jmp LBB0_109 .p2align 4, 0x90 LBB0_108: ## in Loop: Header=BB0_109 Depth=2 incq %r15 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_16 LBB0_109: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r14, %r15 jae LBB0_108 ## %bb.110: ## in Loop: Header=BB0_109 Depth=2 movb %al, (%r15) jmp LBB0_108 LBB0_111: ## in Loop: Header=BB0_18 Depth=1 movq %r15, %rax leaq LJTI0_1(%rip), %rdi jmp LBB0_17 LBB0_112: ## in Loop: Header=BB0_18 Depth=1 testb $1, %al jne LBB0_120 ## %bb.113: ## in Loop: Header=BB0_18 Depth=1 cmpq %r14, %r15 jae LBB0_115 ## %bb.114: ## in Loop: Header=BB0_18 Depth=1 movb $78, (%r15) LBB0_115: ## in Loop: Header=BB0_18 Depth=1 leaq 1(%r15), %rax cmpq %r14, %rax jae LBB0_117 ## %bb.116: ## in Loop: Header=BB0_18 Depth=1 movb $47, (%rax) LBB0_117: ## in Loop: Header=BB0_18 Depth=1 leaq 2(%r15), %rax cmpq %r14, %rax jae LBB0_119 ## %bb.118: ## in Loop: Header=BB0_18 Depth=1 movb $65, (%rax) LBB0_119: ## in Loop: Header=BB0_18 Depth=1 addq $3, %r15 LBB0_120: ## in Loop: Header=BB0_18 Depth=1 xorl %r12d, %r12d jmp LBB0_16 LBB0_128: callq ___stack_chk_fail LBB0_129: xorl %eax, %eax callq _abort .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_6 .long L0_0_set_7 .long L0_0_set_8 .long L0_0_set_9 .set L0_1_set_20, LBB0_20-LJTI0_1 .set L0_1_set_83, LBB0_83-LJTI0_1 .set L0_1_set_34, LBB0_34-LJTI0_1 .set L0_1_set_40, LBB0_40-LJTI0_1 .set L0_1_set_44, LBB0_44-LJTI0_1 .set L0_1_set_26, LBB0_26-LJTI0_1 .set L0_1_set_50, LBB0_50-LJTI0_1 .set L0_1_set_56, LBB0_56-LJTI0_1 .set L0_1_set_62, LBB0_62-LJTI0_1 .set L0_1_set_67, LBB0_67-LJTI0_1 .set L0_1_set_72, LBB0_72-LJTI0_1 .set L0_1_set_77, LBB0_77-LJTI0_1 LJTI0_1: .long L0_1_set_20 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_34 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_40 .long L0_1_set_83 .long L0_1_set_44 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_26 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_50 .long L0_1_set_83 .long L0_1_set_26 .long L0_1_set_56 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_62 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_67 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_72 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_83 .long L0_1_set_77 .end_data_region ## -- End function .comm _EAFNOSUPPORT,4,2 ## @EAFNOSUPPORT .comm _errno,4,2 ## @errno .comm _NI_NUMERICHOST,4,2 ## @NI_NUMERICHOST .comm _NI_NUMERICSERV,4,2 ## @NI_NUMERICSERV .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.2: ## @.str.2 .asciz "%zu" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sockaddr_snprintf ; -- Begin function sockaddr_snprintf .p2align 2 _sockaddr_snprintf: ; @sockaddr_snprintf .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, #3200 str x1, [sp, #72] ; 8-byte Folded Spill Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] ldr w8, [x3] sub w8, w8, #128 cmp w8, #4 b.hi LBB0_7 ; %bb.1: mov x21, x3 mov x22, x2 mov x25, x0 ldr x9, [sp, #72] ; 8-byte Folded Reload add x9, x9, x0 sub x26, x9, #1 Lloh3: adrp x9, lJTI0_0@PAGE Lloh4: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 mov x19, x0 br x10 LBB0_2: mov x8, x19 cmp x19, x26 b.lo LBB0_4 ; %bb.3: mov x8, x26 ldr x9, [sp, #72] ; 8-byte Folded Reload cbz x9, LBB0_5 LBB0_4: strb wzr, [x8] LBB0_5: sub w0, w19, w25 b LBB0_12 LBB0_6: add x28, sp, #2160 add x0, sp, #2160 mov w1, #129 mov w2, #1024 bl _strlcpy mov x24, #0 str xzr, [sp, #48] ; 8-byte Folded Spill mov w27, #-1 mov w8, #1 str w8, [sp, #36] ; 4-byte Folded Spill mov w8, #4 str x8, [sp, #64] ; 8-byte Folded Spill str x21, [sp, #24] ; 8-byte Folded Spill b LBB0_15 LBB0_7: Lloh5: adrp x8, _EAFNOSUPPORT@GOTPAGE Lloh6: ldr x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF] Lloh7: ldr w8, [x8] Lloh8: adrp x9, _errno@GOTPAGE Lloh9: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh10: str w8, [x9] b LBB0_11 LBB0_8: str xzr, [sp, #48] ; 8-byte Folded Spill mov w19, #24 mov w8, #5 mov x24, x21 b LBB0_10 LBB0_9: mov x24, #0 mov w19, #8 mov w8, #1 str x21, [sp, #48] ; 8-byte Folded Spill LBB0_10: ldr w0, [x21, x8, lsl #2] bl _ntohs mov x27, x0 Lloh11: adrp x8, _NI_NUMERICHOST@GOTPAGE Lloh12: ldr x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF] Lloh13: ldr w8, [x8] Lloh14: adrp x9, _NI_NUMERICSERV@GOTPAGE Lloh15: ldr x9, [x9, _NI_NUMERICSERV@GOTPAGEOFF] Lloh16: ldr w9, [x9] orr w6, w9, w8 add x2, sp, #2160 mov x0, x21 mov x1, x19 mov w3, #1024 mov x4, #0 mov w5, #0 bl _getnameinfo cbz x0, LBB0_14 LBB0_11: mov w0, #-1 LBB0_12: ldur x8, [x29, #-96] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_128 ; %bb.13: add sp, sp, #3200 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_14: str x19, [sp, #64] ; 8-byte Folded Spill str wzr, [sp, #36] ; 4-byte Folded Spill mov x28, #0 str xzr, [sp, #24] ; 8-byte Folded Spill LBB0_15: mov x20, #0 sxtw x8, w27 str x8, [sp, #56] ; 8-byte Folded Spill add x8, sp, #1136 add x23, x8, #1 add x8, sp, #80 add x9, x8, #1 add x8, sp, #112 add x8, x8, #1 stp x8, x9, [sp, #8] ; 16-byte Folded Spill add x8, sp, #2160 add x8, x8, #1 str x8, [sp, #40] ; 8-byte Folded Spill Lloh20: adrp x27, lJTI0_1@PAGE Lloh21: add x27, x27, lJTI0_1@PAGEOFF mov x19, x25 b LBB0_18 LBB0_16: ; in Loop: Header=BB0_18 Depth=1 mov x8, x19 LBB0_17: ; in Loop: Header=BB0_18 Depth=1 add x22, x22, #1 mov x19, x8 LBB0_18: ; =>This Loop Header: Depth=1 ; Child Loop BB0_23 Depth 2 ; Child Loop BB0_38 Depth 2 ; Child Loop BB0_82 Depth 2 ; Child Loop BB0_77 Depth 2 ; Child Loop BB0_72 Depth 2 ; Child Loop BB0_67 Depth 2 ; Child Loop BB0_61 Depth 2 ; Child Loop BB0_99 Depth 2 ; Child Loop BB0_55 Depth 2 ; Child Loop BB0_105 Depth 2 ; Child Loop BB0_45 Depth 2 ; Child Loop BB0_110 Depth 2 ldrb w9, [x22] cmp w9, #37 b.eq LBB0_22 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 cbz w9, LBB0_2 LBB0_20: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #1 cmp x19, x26 b.hs LBB0_17 ; %bb.21: ; in Loop: Header=BB0_18 Depth=1 strb w9, [x19] b LBB0_17 LBB0_22: ; in Loop: Header=BB0_18 Depth=1 mov w10, #0 LBB0_23: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 mov x8, x10 ldrsb w9, [x22, #1]! mov w10, #1 cmp w9, #63 b.eq LBB0_23 ; %bb.24: ; in Loop: Header=BB0_18 Depth=1 sub w10, w9, #37 cmp w10, #75 b.hi LBB0_84 ; %bb.25: ; in Loop: Header=BB0_18 Depth=1 adr x11, LBB0_26 ldrb w12, [x27, x10] add x11, x11, x12, lsl #2 br x11 LBB0_26: ; in Loop: Header=BB0_18 Depth=1 tbnz w8, #0, LBB0_16 ; %bb.27: ; in Loop: Header=BB0_18 Depth=1 cmp x19, x26 b.hs LBB0_29 ; %bb.28: ; in Loop: Header=BB0_18 Depth=1 mov w8, #78 strb w8, [x19] LBB0_29: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #1 cmp x8, x26 b.hs LBB0_31 ; %bb.30: ; in Loop: Header=BB0_18 Depth=1 mov w9, #47 strb w9, [x8] LBB0_31: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #2 cmp x8, x26 b.hs LBB0_33 ; %bb.32: ; in Loop: Header=BB0_18 Depth=1 mov w9, #65 strb w9, [x8] LBB0_33: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #3 b LBB0_17 LBB0_34: ; in Loop: Header=BB0_18 Depth=1 ldr x3, [sp, #56] ; 8-byte Folded Reload cmn w3, #1 b.eq LBB0_26 ; %bb.35: ; in Loop: Header=BB0_18 Depth=1 add x0, sp, #1136 mov w1, #1024 Lloh22: adrp x2, l_.str@PAGE Lloh23: add x2, x2, l_.str@PAGEOFF bl _snprintf ldrb w9, [sp, #1136] cbz w9, LBB0_16 ; %bb.36: ; in Loop: Header=BB0_18 Depth=1 mov x8, x23 b LBB0_38 LBB0_37: ; in Loop: Header=BB0_38 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_38: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_37 ; %bb.39: ; in Loop: Header=BB0_38 Depth=2 strb w9, [x19] b LBB0_37 LBB0_40: ; in Loop: Header=BB0_18 Depth=1 and w9, w9, #0xff b LBB0_20 LBB0_41: ; in Loop: Header=BB0_18 Depth=1 cbz x28, LBB0_92 ; %bb.42: ; in Loop: Header=BB0_18 Depth=1 ldrb w8, [x28] cbz w8, LBB0_16 ; %bb.43: ; in Loop: Header=BB0_18 Depth=1 mov x9, #0 b LBB0_45 LBB0_44: ; in Loop: Header=BB0_45 Depth=2 add x8, x28, x9 ldrb w8, [x8, #1] add x9, x9, #1 cbz w8, LBB0_90 LBB0_45: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 add x10, x19, x9 cmp x10, x26 b.hs LBB0_44 ; %bb.46: ; in Loop: Header=BB0_45 Depth=2 strb w8, [x10] b LBB0_44 LBB0_47: ; in Loop: Header=BB0_18 Depth=1 ldr w8, [x21] cmp w8, #132 b.eq LBB0_101 ; %bb.48: ; in Loop: Header=BB0_18 Depth=1 cmp w8, #131 b.eq LBB0_102 ; %bb.49: ; in Loop: Header=BB0_18 Depth=1 cmp w8, #129 b.ne LBB0_129 ; %bb.50: ; in Loop: Header=BB0_18 Depth=1 add x0, sp, #1136 mov w1, #1024 ldr x2, [sp, #24] ; 8-byte Folded Reload bl _debug_un ldrb w9, [sp, #1136] cbnz w9, LBB0_103 b LBB0_16 LBB0_51: ; in Loop: Header=BB0_18 Depth=1 cbz x24, LBB0_26 ; %bb.52: ; in Loop: Header=BB0_18 Depth=1 ldr x3, [x24] add x0, sp, #1136 mov w1, #1024 Lloh24: adrp x2, l_.str@PAGE Lloh25: add x2, x2, l_.str@PAGEOFF bl _snprintf ldrb w9, [sp, #1136] cbz w9, LBB0_16 ; %bb.53: ; in Loop: Header=BB0_18 Depth=1 mov x8, x23 b LBB0_55 LBB0_54: ; in Loop: Header=BB0_55 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_55: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_54 ; %bb.56: ; in Loop: Header=BB0_55 Depth=2 strb w9, [x19] b LBB0_54 LBB0_57: ; in Loop: Header=BB0_18 Depth=1 cbz x20, LBB0_95 ; %bb.58: ; in Loop: Header=BB0_18 Depth=1 ldrb w8, [x20] cbz w8, LBB0_16 ; %bb.59: ; in Loop: Header=BB0_18 Depth=1 mov x9, #0 b LBB0_61 LBB0_60: ; in Loop: Header=BB0_61 Depth=2 add x8, x20, x9 ldrb w8, [x8, #1] add x9, x9, #1 cbz w8, LBB0_90 LBB0_61: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 add x10, x19, x9 cmp x10, x26 b.hs LBB0_60 ; %bb.62: ; in Loop: Header=BB0_61 Depth=2 strb w8, [x10] b LBB0_60 LBB0_63: ; in Loop: Header=BB0_18 Depth=1 cbz x24, LBB0_26 ; %bb.64: ; in Loop: Header=BB0_18 Depth=1 ldr x3, [x24, #8] add x0, sp, #1136 mov w1, #1024 Lloh26: adrp x2, l_.str@PAGE Lloh27: add x2, x2, l_.str@PAGEOFF bl _snprintf ldrb w9, [sp, #1136] cbz w9, LBB0_16 ; %bb.65: ; in Loop: Header=BB0_18 Depth=1 mov x8, x23 b LBB0_67 LBB0_66: ; in Loop: Header=BB0_67 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_67: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_66 ; %bb.68: ; in Loop: Header=BB0_67 Depth=2 strb w9, [x19] b LBB0_66 LBB0_69: ; in Loop: Header=BB0_18 Depth=1 ldrb w9, [sp, #2160] cbz w9, LBB0_16 ; %bb.70: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload b LBB0_72 LBB0_71: ; in Loop: Header=BB0_72 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_72: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_71 ; %bb.73: ; in Loop: Header=BB0_72 Depth=2 strb w9, [x19] b LBB0_71 LBB0_74: ; in Loop: Header=BB0_18 Depth=1 ldrsw x3, [x21] add x0, sp, #1136 mov w1, #1024 Lloh28: adrp x2, l_.str@PAGE Lloh29: add x2, x2, l_.str@PAGEOFF bl _snprintf ldrb w9, [sp, #1136] cbz w9, LBB0_16 ; %bb.75: ; in Loop: Header=BB0_18 Depth=1 mov x8, x23 b LBB0_77 LBB0_76: ; in Loop: Header=BB0_77 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_77: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_76 ; %bb.78: ; in Loop: Header=BB0_77 Depth=2 strb w9, [x19] b LBB0_76 LBB0_79: ; in Loop: Header=BB0_18 Depth=1 add x0, sp, #1136 mov w1, #1024 Lloh30: adrp x2, l_.str.2@PAGE Lloh31: add x2, x2, l_.str.2@PAGEOFF ldr x3, [sp, #64] ; 8-byte Folded Reload bl _snprintf ldrb w9, [sp, #1136] cbz w9, LBB0_16 ; %bb.80: ; in Loop: Header=BB0_18 Depth=1 mov x8, x23 b LBB0_82 LBB0_81: ; in Loop: Header=BB0_82 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_82: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_81 ; %bb.83: ; in Loop: Header=BB0_82 Depth=2 strb w9, [x19] b LBB0_81 LBB0_84: ; in Loop: Header=BB0_18 Depth=1 cmp x19, x26 b.hs LBB0_86 ; %bb.85: ; in Loop: Header=BB0_18 Depth=1 mov w9, #37 strb w9, [x19] LBB0_86: ; in Loop: Header=BB0_18 Depth=1 add x9, x19, #1 tbz w8, #0, LBB0_91 ; %bb.87: ; in Loop: Header=BB0_18 Depth=1 add x19, x19, #2 cmp x9, x26 b.hs LBB0_89 ; %bb.88: ; in Loop: Header=BB0_18 Depth=1 mov w8, #63 strb w8, [x9] LBB0_89: ; in Loop: Header=BB0_18 Depth=1 ldrb w9, [x22] cbnz w9, LBB0_20 b LBB0_2 LBB0_90: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, x9 b LBB0_17 LBB0_91: ; in Loop: Header=BB0_18 Depth=1 mov x19, x9 ldrb w9, [x22] cbnz w9, LBB0_20 b LBB0_2 LBB0_92: ; in Loop: Header=BB0_18 Depth=1 ldr w9, [sp, #36] ; 4-byte Folded Reload cbz w9, LBB0_107 ; %bb.93: ; in Loop: Header=BB0_18 Depth=1 tbz w8, #0, LBB0_114 ; %bb.94: ; in Loop: Header=BB0_18 Depth=1 mov x28, #0 mov x8, x19 b LBB0_17 LBB0_95: ; in Loop: Header=BB0_18 Depth=1 ldr x9, [sp, #56] ; 8-byte Folded Reload cmn w9, #1 b.eq LBB0_112 ; %bb.96: ; in Loop: Header=BB0_18 Depth=1 add x20, sp, #80 add x4, sp, #80 mov x0, x21 ldr x1, [sp, #64] ; 8-byte Folded Reload ; kill: def $w1 killed $w1 killed $x1 mov x2, #0 mov w3, #0 mov w5, #32 mov w6, #0 bl _getnameinfo ldrb w9, [sp, #80] cbz w9, LBB0_16 ; %bb.97: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [sp, #16] ; 8-byte Folded Reload b LBB0_99 LBB0_98: ; in Loop: Header=BB0_99 Depth=2 add x20, sp, #80 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_99: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_98 ; %bb.100: ; in Loop: Header=BB0_99 Depth=2 strb w9, [x19] b LBB0_98 LBB0_101: ; in Loop: Header=BB0_18 Depth=1 add x0, sp, #1136 mov w1, #1024 ldr x2, [sp, #48] ; 8-byte Folded Reload bl _debug_in ldrb w9, [sp, #1136] cbnz w9, LBB0_103 b LBB0_16 LBB0_102: ; in Loop: Header=BB0_18 Depth=1 add x0, sp, #1136 mov w1, #1024 mov x2, x24 bl _debug_in6 ldrb w9, [sp, #1136] cbz w9, LBB0_16 LBB0_103: ; in Loop: Header=BB0_18 Depth=1 mov x8, x23 b LBB0_105 LBB0_104: ; in Loop: Header=BB0_105 Depth=2 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_105: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_104 ; %bb.106: ; in Loop: Header=BB0_105 Depth=2 strb w9, [x19] b LBB0_104 LBB0_107: ; in Loop: Header=BB0_18 Depth=1 add x28, sp, #112 add x2, sp, #112 mov x0, x21 ldr x1, [sp, #64] ; 8-byte Folded Reload ; kill: def $w1 killed $w1 killed $x1 mov w3, #1024 mov x4, #0 mov w5, #0 mov w6, #0 bl _getnameinfo ldrb w9, [sp, #112] cbz w9, LBB0_16 ; %bb.108: ; in Loop: Header=BB0_18 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload b LBB0_110 LBB0_109: ; in Loop: Header=BB0_110 Depth=2 add x28, sp, #112 add x19, x19, #1 ldrb w9, [x8], #1 cbz w9, LBB0_16 LBB0_110: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x19, x26 b.hs LBB0_109 ; %bb.111: ; in Loop: Header=BB0_110 Depth=2 strb w9, [x19] b LBB0_109 LBB0_112: ; in Loop: Header=BB0_18 Depth=1 tbz w8, #0, LBB0_121 ; %bb.113: ; in Loop: Header=BB0_18 Depth=1 mov x20, #0 mov x8, x19 b LBB0_17 LBB0_114: ; in Loop: Header=BB0_18 Depth=1 cmp x19, x26 b.hs LBB0_116 ; %bb.115: ; in Loop: Header=BB0_18 Depth=1 mov w8, #78 strb w8, [x19] LBB0_116: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #1 cmp x8, x26 b.hs LBB0_118 ; %bb.117: ; in Loop: Header=BB0_18 Depth=1 mov w9, #47 strb w9, [x8] LBB0_118: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #2 cmp x8, x26 b.hs LBB0_120 ; %bb.119: ; in Loop: Header=BB0_18 Depth=1 mov w9, #65 strb w9, [x8] LBB0_120: ; in Loop: Header=BB0_18 Depth=1 mov x28, #0 add x8, x19, #3 b LBB0_17 LBB0_121: ; in Loop: Header=BB0_18 Depth=1 cmp x19, x26 b.hs LBB0_123 ; %bb.122: ; in Loop: Header=BB0_18 Depth=1 mov w8, #78 strb w8, [x19] LBB0_123: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #1 cmp x8, x26 b.hs LBB0_125 ; %bb.124: ; in Loop: Header=BB0_18 Depth=1 mov w9, #47 strb w9, [x8] LBB0_125: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, #2 cmp x8, x26 b.hs LBB0_127 ; %bb.126: ; in Loop: Header=BB0_18 Depth=1 mov w9, #65 strb w9, [x8] LBB0_127: ; in Loop: Header=BB0_18 Depth=1 mov x20, #0 add x8, x19, #3 b LBB0_17 LBB0_128: bl ___stack_chk_fail LBB0_129: bl _abort .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 lJTI0_1: .byte (LBB0_40-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_41-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_47-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_51-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_26-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_57-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_26-LBB0_26)>>2 .byte (LBB0_63-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_69-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_74-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_79-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_84-LBB0_26)>>2 .byte (LBB0_34-LBB0_26)>>2 ; -- End function .comm _EAFNOSUPPORT,4,2 ; @EAFNOSUPPORT .comm _errno,4,2 ; @errno .comm _NI_NUMERICHOST,4,2 ; @NI_NUMERICHOST .comm _NI_NUMERICSERV,4,2 ; @NI_NUMERICSERV .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.2: ; @.str.2 .asciz "%zu" .subsections_via_symbols
the_stack_data/141945.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i2c_rd16 _i2c_rd16: ## @i2c_rd16 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp addl (%rdi), %esi movl %esi, %edi popq %rbp jmp _readw ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _i2c_rd16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2c_rd16 _i2c_rd16: ; @i2c_rd16 .cfi_startproc ; %bb.0: ldr w8, [x0] add w0, w8, w1 b _readw .cfi_endproc ; -- End function .no_dead_strip _i2c_rd16 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-s6000.c_i2c_rd16.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function is_printable_array _is_printable_array: ## @is_printable_array .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 xorl %r12d, %r12d movl $1, %r15d jmp LBB0_1 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 decl %r12d cmpl %ebx, %r12d ja LBB0_6 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %r12d, %r12d movzbl (%r14,%r12), %eax testb %al, %al je LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movsbl %al, %edi callq _isprint testl %eax, %eax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movsbl (%r14,%r12), %edi callq _isspace testl %eax, %eax jne LBB0_5 ## %bb.4: xorl %r15d, %r15d LBB0_6: movl %r15d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _is_printable_array .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function is_printable_array _is_printable_array: ; @is_printable_array .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 mov w8, #0 ; =0x0 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 sub w8, w21, #1 cmp w8, w19 b.hi LBB0_5 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov w21, w8 ldrsb w0, [x20, x21] cbz w0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 bl _isprint cbnz w0, LBB0_1 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldrsb w0, [x20, x21] bl _isspace cbnz w0, LBB0_1 b LBB0_6 LBB0_5: mov w0, #1 ; =0x1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _is_printable_array .subsections_via_symbols
assembly_file_57404.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function swap_point _swap_point: ## @swap_point .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp rolq $32, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _swap_point .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function swap_point _swap_point: ; @swap_point .cfi_startproc ; %bb.0: ldr d0, [x0] rev64.2s v0, v0 str d0, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _swap_point .subsections_via_symbols
AnghaBench/reactos/dll/win32/comdlg32/extr_printdlg.c_swap_point.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sd_tuning_phase _sd_tuning_phase: ## @sd_tuning_phase .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -48(%rbp) ## 8-byte Spill movq _RTSX_PHASE_MAX@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_1 ## %bb.2: movl %esi, %r15d movq %rdi, %r12 xorl %r13d, %r13d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl %r15d, %esi movl %ebx, %edx callq _sd_tuning_rx_cmd movl $1, %edx movl %ebx, %ecx shll %cl, %edx testl %eax, %eax movl $0, %ecx cmovnel %ecx, %edx orl %edx, %r13d incl %ebx cmpl (%r14), %ebx jl LBB0_3 jmp LBB0_4 LBB0_1: xorl %r13d, %r13d LBB0_4: movq -48(%rbp), %rax ## 8-byte Reload testq %rax, %rax je LBB0_6 ## %bb.5: movl %r13d, (%rax) LBB0_6: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _RTSX_PHASE_MAX,4,2 ## @RTSX_PHASE_MAX .no_dead_strip _sd_tuning_phase .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sd_tuning_phase _sd_tuning_phase: ; @sd_tuning_phase .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 Lloh0: adrp x24, _RTSX_PHASE_MAX@GOTPAGE Lloh1: ldr x24, [x24, _RTSX_PHASE_MAX@GOTPAGEOFF] ldr w8, [x24] cmp w8, #1 b.lt LBB0_6 ; %bb.1: mov x20, x1 mov x21, x0 mov w23, #0 mov w22, #0 mov w25, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x20 mov x2, x22 bl _sd_tuning_rx_cmd lsl w8, w25, w22 cmp w0, #0 csel w8, w8, wzr, eq orr w23, w8, w23 add w22, w22, #1 ldr w8, [x24] cmp w22, w8 b.lt LBB0_2 ; %bb.3: cbz x19, LBB0_5 LBB0_4: str w23, [x19] LBB0_5: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_6: mov w23, #0 cbnz x19, LBB0_4 b LBB0_5 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _RTSX_PHASE_MAX,4,2 ; @RTSX_PHASE_MAX .no_dead_strip _sd_tuning_phase .subsections_via_symbols
AnghaBench/linux/drivers/mmc/host/extr_rtsx_pci_sdmmc.c_sd_tuning_phase.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _string_replace_substring ## -- Begin function string_replace_substring .p2align 4, 0x90 _string_replace_substring: ## @string_replace_substring .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 testq %rsi, %rsi setne %al testq %rdx, %rdx setne %cl testb %cl, %al je LBB0_12 ## %bb.1: movq %rdx, %r12 movq %rsi, %r14 movq %rsi, %rdi callq _strlen movq %rax, %r15 movq %r12, %rdi callq _strlen movq %rax, -56(%rbp) ## 8-byte Spill movq %r13, %rdi movq %r14, %rsi callq _strstr xorl %ebx, %ebx testq %rax, %rax je LBB0_4 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 addq %r15, %rax decq %rbx movq %rax, %rdi movq %r14, %rsi callq _strstr testq %rax, %rax jne LBB0_2 LBB0_4: movq %r13, %rdi callq _strlen movq -56(%rbp), %rcx ## 8-byte Reload addq %r15, %rcx imulq %rbx, %rcx negq %rcx leaq (%rax,%rcx), %rdi incq %rdi callq _malloc testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, -48(%rbp) ## 8-byte Spill movq %r15, %rbx movq %r13, %rdi movq %r14, %rsi callq _strstr testq %rax, %rax je LBB0_7 ## %bb.8: movq %rax, %r15 movq %r12, -80(%rbp) ## 8-byte Spill movq -48(%rbp), %r12 ## 8-byte Reload movq %rbx, -72(%rbp) ## 8-byte Spill movq %r14, -64(%rbp) ## 8-byte Spill movq -56(%rbp), %r14 ## 8-byte Reload .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %r15, %rbx subq %r13, %rbx movq %r12, %rdi movq %r13, %rsi movq %rbx, %rdx callq _memcpy addq %r12, %rbx movq %rbx, %rdi movq -80(%rbp), %rsi ## 8-byte Reload movq %r14, %rdx callq _memcpy addq %r14, %rbx movq %r15, %r13 addq -72(%rbp), %r13 ## 8-byte Folded Reload movq %r13, %rdi movq -64(%rbp), %rsi ## 8-byte Reload callq _strstr movq %rax, %r15 movq %rbx, %r12 testq %rax, %rax jne LBB0_9 jmp LBB0_10 LBB0_12: movq %r13, %rdi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strdup ## TAILCALL LBB0_5: xorl %eax, %eax jmp LBB0_11 LBB0_7: movq -48(%rbp), %rbx ## 8-byte Reload LBB0_10: movq %rbx, %rdi movq %r13, %rsi callq _strcpy movq -48(%rbp), %rax ## 8-byte Reload LBB0_11: addq $40, %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, 15, 0 sdk_version 15, 5 .globl _string_replace_substring ; -- Begin function string_replace_substring .p2align 2 _string_replace_substring: ; @string_replace_substring .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x0 cbz x1, LBB0_8 ; %bb.1: mov x19, x2 cbz x2, LBB0_8 ; %bb.2: mov x20, x1 mov x0, x1 bl _strlen mov x22, x0 mov x0, x19 bl _strlen mov x23, x0 mov x0, x21 mov x1, x20 bl _strstr mov x24, #0 ; =0x0 cbz x0, LBB0_4 LBB0_3: ; =>This Inner Loop Header: Depth=1 sub x24, x24, #1 add x0, x0, x22 mov x1, x20 bl _strstr cbnz x0, LBB0_3 LBB0_4: mov x0, x21 bl _strlen add x8, x23, x22 msub x8, x24, x8, x0 add x0, x8, #1 bl _malloc mov x24, x0 cbz x0, LBB0_11 ; %bb.5: mov x0, x21 mov x1, x20 bl _strstr cbz x0, LBB0_9 ; %bb.6: mov x25, x0 mov x26, x24 LBB0_7: ; =>This Inner Loop Header: Depth=1 sub x27, x25, x21 mov x0, x26 mov x1, x21 mov x2, x27 bl _memcpy add x21, x26, x27 mov x0, x21 mov x1, x19 mov x2, x23 bl _memcpy add x26, x21, x23 add x21, x25, x22 mov x0, x21 mov x1, x20 bl _strstr mov x25, x0 cbnz x0, LBB0_7 b LBB0_10 LBB0_8: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _strdup LBB0_9: mov x26, x24 LBB0_10: mov x0, x26 mov x1, x21 bl _strcpy LBB0_11: mov x0, x24 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
assembly_file_66413.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Tick64 ## -- Begin function Tick64 .p2align 4, 0x90 _Tick64: ## @Tick64 .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 _tk64@GOTPCREL(%rip), %rbx movq (%rbx), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movl (%rax), %edi callq _Lock movq (%rbx), %rax movl (%rax), %edi movl 4(%rax), %ebx callq _Unlock jmp LBB0_3 LBB0_1: xorl %ebx, %ebx LBB0_3: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _tk64,8,3 ## @tk64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Tick64 ; -- Begin function Tick64 .p2align 2 _Tick64: ; @Tick64 .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, _tk64@GOTPAGE Lloh1: ldr x19, [x19, _tk64@GOTPAGEOFF] ldr x8, [x19] cbz x8, LBB0_2 ; %bb.1: ldr w0, [x8] bl _Lock ldr x8, [x19] ldp w0, w19, [x8] bl _Unlock b LBB0_3 LBB0_2: mov w19, #0 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _tk64,8,3 ; @tk64 .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Tick64.c_Tick64.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parse_grid_2 _parse_grid_2: ## @parse_grid_2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 ## kill: def $edx killed $edx def $rdx movq %rdx, -80(%rbp) ## 8-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill movq _ff_dca_scf_to_grid_2@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rdi, -64(%rbp) ## 8-byte Spill movslq (%rdi), %rdx movl -4(%rax,%rdx,4), %eax incl %eax cmpl %r8d, %eax cmovgel %r8d, %eax cmpl %ecx, %eax jge LBB0_1 LBB0_26: xorl %eax, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: movslq -44(%rbp), %rdx ## 4-byte Folded Reload movq %rdx, -56(%rbp) ## 8-byte Spill movq -64(%rbp), %rdx ## 8-byte Reload leaq 16(%rdx), %r13 movq -80(%rbp), %rdx ## 8-byte Reload incl %edx movl %edx, -68(%rbp) ## 4-byte Spill movslq %ecx, %r12 cltq movq %rax, -88(%rbp) ## 8-byte Spill movl %r9d, -72(%rbp) ## 4-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_2 Depth=1 decq %r12 cmpq -88(%rbp), %r12 ## 8-byte Folded Reload jg LBB0_26 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_8 Depth 3 movl -44(%rbp), %eax ## 4-byte Reload cmpl -80(%rbp), %eax ## 4-byte Folded Reload jg LBB0_25 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %r14 ## 8-byte Reload jmp LBB0_4 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_4 Depth=2 movq %r15, %rdi xorl %esi, %esi movl %ebx, %edx callq _memset LBB0_24: ## in Loop: Header=BB0_4 Depth=2 incq %r14 cmpl %r14d, -68(%rbp) ## 4-byte Folded Reload movl -72(%rbp), %r9d ## 4-byte Reload je LBB0_25 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_8 Depth 3 movb $1, %cl cmpq -56(%rbp), %r14 ## 8-byte Folded Reload jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movq _ff_dca_grid_2_to_scf@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r12,8), %rax movq -64(%rbp), %rcx ## 8-byte Reload cmpq 8(%rcx), %rax setge %cl LBB0_6: ## in Loop: Header=BB0_4 Depth=2 movq -64(%rbp), %rax ## 8-byte Reload movq 24(%rax), %rax movq (%rax,%r14,8), %rdx movq (%rdx,%r12,8), %r15 movzbl %cl, %ecx cmpl %r9d, %ecx jne LBB0_10 ## %bb.7: ## in Loop: Header=BB0_4 Depth=2 movl $64, %ebx jmp LBB0_8 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_8 Depth=3 movq %r15, %rdi xorl %esi, %esi movl $8, %edx callq _memset LBB0_23: ## in Loop: Header=BB0_8 Depth=3 addq $32, %r15 addl $-8, %ebx je LBB0_24 LBB0_8: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 movq %r13, %rdi callq _get_bits_left testl %eax, %eax jle LBB0_9 ## %bb.12: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi callq _get_bits1 testq %rax, %rax je LBB0_22 ## %bb.13: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.14: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, (%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.15: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 4(%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.16: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 8(%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.17: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 12(%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.18: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 16(%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.19: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 20(%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.20: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 24(%r15) movq %r13, %rdi movl $20, %esi callq _ensure_bits testq %rax, %rax jne LBB0_23 ## %bb.21: ## in Loop: Header=BB0_8 Depth=3 movq %r13, %rdi movq _ff_dca_vlc_grid_2@GOTPCREL(%rip), %rsi movl $2, %edx callq _parse_vlc movl %eax, 28(%r15) jmp LBB0_23 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_4 Depth=2 testl %r9d, %r9d jne LBB0_24 ## %bb.11: ## in Loop: Header=BB0_4 Depth=2 movq -56(%rbp), %rcx ## 8-byte Reload movq (%rax,%rcx,8), %rax movq (%rax,%r12,8), %rsi movq %r15, %rdi movl $64, %edx callq _memcpy jmp LBB0_24 .cfi_endproc ## -- End function .comm _ff_dca_scf_to_grid_2,8,3 ## @ff_dca_scf_to_grid_2 .comm _ff_dca_grid_2_to_scf,8,3 ## @ff_dca_grid_2_to_scf .comm _ff_dca_vlc_grid_2,4,2 ## @ff_dca_vlc_grid_2 .no_dead_strip _parse_grid_2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse_grid_2 _parse_grid_2: ; @parse_grid_2 .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 ; kill: def $w3 killed $w3 def $x3 str w2, [sp, #28] ; 4-byte Folded Spill ; kill: def $w1 killed $w1 def $x1 str x1, [sp, #16] ; 8-byte Folded Spill Lloh0: adrp x8, _ff_dca_scf_to_grid_2@GOTPAGE Lloh1: ldr x8, [x8, _ff_dca_scf_to_grid_2@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldrsw x9, [x0] add x8, x8, x9, lsl #2 ldur w8, [x8, #-4] add w9, w8, #1 cmp w9, w4 csinc w8, w4, w8, ge cmp w8, w3 b.ge LBB0_2 LBB0_1: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_2: mov x19, x5 mov x22, x0 ldr x9, [sp, #16] ; 8-byte Folded Reload sxtw x21, w9 ldr w9, [sp, #28] ; 4-byte Folded Reload add w26, w9, #1 sxtw x27, w3 Lloh3: adrp x28, _ff_dca_grid_2_to_scf@GOTPAGE Lloh4: ldr x28, [x28, _ff_dca_grid_2_to_scf@GOTPAGEOFF] sxtw x8, w8 str x8, [sp, #8] ; 8-byte Folded Spill Lloh5: adrp x23, _ff_dca_vlc_grid_2@GOTPAGE Lloh6: ldr x23, [x23, _ff_dca_vlc_grid_2@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 sub x27, x27, #1 ldr x8, [sp, #8] ; 8-byte Folded Reload cmp x27, x8 b.gt LBB0_1 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_15 Depth 3 ldr w8, [sp, #28] ; 4-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload cmp w9, w8 b.gt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x25, x21 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 neg w2, w20 mov x0, x24 mov w1, #0 ; =0x0 bl _memset LBB0_7: ; in Loop: Header=BB0_8 Depth=2 add x25, x25, #1 cmp w26, w25 b.eq LBB0_3 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_15 Depth 3 cmp x25, x21 b.ne LBB0_10 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [x28] ldr x8, [x8, x27, lsl #3] ldr x9, [x22, #8] cmp x8, x9 cset w8, ge b LBB0_11 LBB0_10: ; in Loop: Header=BB0_8 Depth=2 mov w8, #1 ; =0x1 LBB0_11: ; in Loop: Header=BB0_8 Depth=2 ldr x9, [x22, #24] ldr x10, [x9, x25, lsl #3] ldr x24, [x10, x27, lsl #3] cmp w8, w19 b.ne LBB0_26 ; %bb.12: ; in Loop: Header=BB0_8 Depth=2 mov w20, #-64 ; =0xffffffc0 b LBB0_15 LBB0_13: ; in Loop: Header=BB0_15 Depth=3 mov x0, x24 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _memset LBB0_14: ; in Loop: Header=BB0_15 Depth=3 add x24, x24, #32 adds w20, w20, #8 b.eq LBB0_7 LBB0_15: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Inner Loop Header: Depth=3 add x0, x22, #16 bl _get_bits_left cmp w0, #0 b.le LBB0_6 ; %bb.16: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 bl _get_bits1 cbz x0, LBB0_13 ; %bb.17: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.18: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.19: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #4] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.20: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #8] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.21: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #12] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.22: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #16] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.23: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #20] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.24: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #24] add x0, x22, #16 mov w1, #20 ; =0x14 bl _ensure_bits cbnz x0, LBB0_14 ; %bb.25: ; in Loop: Header=BB0_15 Depth=3 add x0, x22, #16 mov x1, x23 mov w2, #2 ; =0x2 bl _parse_vlc str w0, [x24, #28] b LBB0_14 LBB0_26: ; in Loop: Header=BB0_8 Depth=2 cbnz w19, LBB0_7 ; %bb.27: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [x9, x21, lsl #3] ldr x1, [x8, x27, lsl #3] mov x0, x24 mov w2, #64 ; =0x40 bl _memcpy b LBB0_7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ff_dca_scf_to_grid_2,8,3 ; @ff_dca_scf_to_grid_2 .comm _ff_dca_grid_2_to_scf,8,3 ; @ff_dca_grid_2_to_scf .comm _ff_dca_vlc_grid_2,4,2 ; @ff_dca_vlc_grid_2 .no_dead_strip _parse_grid_2 .subsections_via_symbols
assembly_file_178968.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mp_to_unsigned_bin _mp_to_unsigned_bin: ## @mp_to_unsigned_bin .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, %rsi leaq -48(%rbp), %rdi callq _mp_init_copy movl %eax, %r12d movq _MP_OKAY@GOTPCREL(%rip), %r13 cmpl (%r13), %eax jne LBB0_6 ## %bb.1: xorl %ebx, %ebx leaq -48(%rbp), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _mp_iszero testq %rax, %rax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -48(%rbp), %rax movzbl (%rax), %eax movb %al, (%r14,%rbx) incq %rbx movq %r15, %rdi movl $8, %esi movq %r15, %rdx xorl %ecx, %ecx callq _mp_div_2d cmpl (%r13), %eax je LBB0_2 ## %bb.4: movl %eax, %r12d leaq -48(%rbp), %rdi callq _mp_clear jmp LBB0_6 LBB0_5: movq %r14, %rdi movl %ebx, %esi callq _bn_reverse leaq -48(%rbp), %rdi callq _mp_clear movl (%r13), %r12d LBB0_6: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MP_OKAY,4,2 ## @MP_OKAY .no_dead_strip _mp_to_unsigned_bin .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mp_to_unsigned_bin _mp_to_unsigned_bin: ; @mp_to_unsigned_bin .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x1, x0 add x0, sp, #8 bl _mp_init_copy mov x20, x0 Lloh0: adrp x22, _MP_OKAY@GOTPAGE Lloh1: ldr x22, [x22, _MP_OKAY@GOTPAGEOFF] ldr w8, [x22] cmp w0, w8 b.ne LBB0_6 ; %bb.1: mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 add x0, sp, #8 bl _mp_iszero cbnz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [sp, #8] ldr w8, [x8] add x23, x21, #1 strb w8, [x19, x21] add x0, sp, #8 add x2, sp, #8 mov w1, #8 mov x3, #0 bl _mp_div_2d ldr w8, [x22] mov x21, x23 cmp w0, w8 b.eq LBB0_2 ; %bb.4: mov x20, x0 add x0, sp, #8 bl _mp_clear b LBB0_6 LBB0_5: mov x0, x19 mov x1, x21 bl _bn_reverse add x0, sp, #8 bl _mp_clear ldr w20, [x22] LBB0_6: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _MP_OKAY,4,2 ; @MP_OKAY .no_dead_strip _mp_to_unsigned_bin .subsections_via_symbols
AnghaBench/esp-idf/components/wpa_supplicant/src/crypto/extr_libtommath.h_mp_to_unsigned_bin.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function compute_scale_factors _compute_scale_factors: ## @compute_scale_factors .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, -80(%rbp) ## 8-byte Spill movq %rsi, -72(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill testl %r8d, %r8d jle LBB0_21 ## %bb.1: movq %rdx, %rbx movq _SBLIMIT@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $2, %rax leaq (%rax,%rax,2), %rax movq %rax, -88(%rbp) ## 8-byte Spill movl %r8d, %eax movq %rax, -64(%rbp) ## 8-byte Spill xorl %r14d, %r14d jmp LBB0_5 LBB0_13: ## in Loop: Header=BB0_5 Depth=1 movb %sil, 2(%rbx) movl $3, %r13d movl %esi, %edx .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_5 Depth=1 subq $8, %rsp movzbl %al, %ecx movzbl %sil, %r8d movzbl %dl, %r9d xorl %edi, %edi leaq L_.str.1(%rip), %rsi movl %r14d, %edx xorl %eax, %eax pushq %r13 pushq %r12 pushq %r15 callq _ff_dlog addq $32, %rsp movq -72(%rbp), %rax ## 8-byte Reload movb %r13b, (%rax,%r14) addq $3, %rbx incq %r14 cmpq -64(%rbp), %r14 ## 8-byte Folded Reload je LBB0_21 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 ## Child Loop BB0_10 Depth 3 movq -80(%rbp), %rax ## 8-byte Reload movq %r14, -48(%rbp) ## 8-byte Spill leaq (%rax,%r14,4), %r13 xorl %r12d, %r12d jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movslq %ecx, %rbx movzbl (%rax,%rbx,4), %r9d subq $8, %rsp movzbl %r15b, %r8d movzbl %r12b, %ecx xorl %edi, %edi leaq L_.str(%rip), %rsi movq -48(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx xorl %eax, %eax pushq %rbx callq _ff_dlog addq $16, %rsp xorl %edi, %edi cmpl $64, %ebx setb %dil callq _av_assert2 movb %bl, (%r14,%r12) movq %r14, %rbx incq %r12 cmpq $3, %r12 je LBB0_11 LBB0_7: ## Parent Loop BB0_5 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_10 Depth 3 movq %rbx, %r14 movq -88(%rbp), %rdx ## 8-byte Reload imulq %r12, %rdx leaq (,%rdx,4), %rsi addq %r13, %rsi movq _SBLIMIT@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq (%rsi,%rax,4), %rdi leaq (%rdi,%rax,4), %rbx leaq (%rbx,%rax,4), %r8 movd (%rbx,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero pinsrd $1, (%rdi,%rax,4), %xmm0 pinsrd $2, (%rsi,%rax,4), %xmm0 pinsrd $3, (%r13,%rdx,4), %xmm0 leaq (%r8,%rax,4), %r9 leaq (%r9,%rax,4), %r10 leaq (%r10,%rax,4), %rdi leaq (%rdi,%rax,4), %rbx leaq (%rbx,%rax,4), %rcx leaq (%rcx,%rax,4), %rdx leaq (%rdx,%rax,4), %rsi movd (%rsi,%rax,4), %xmm1 ## xmm1 = mem[0],zero,zero,zero pinsrd $1, (%rdx,%rax,4), %xmm1 pinsrd $2, (%rcx,%rax,4), %xmm1 pabsd %xmm0, %xmm0 pinsrd $3, (%rbx,%rax,4), %xmm1 movd (%rdi,%rax,4), %xmm2 ## xmm2 = mem[0],zero,zero,zero pinsrd $1, (%r10,%rax,4), %xmm2 pinsrd $2, (%r9,%rax,4), %xmm2 pinsrd $3, (%r8,%rax,4), %xmm2 pabsd %xmm2, %xmm2 pabsd %xmm1, %xmm1 pmaxsd %xmm2, %xmm1 pshufd $238, %xmm1, %xmm2 ## xmm2 = xmm1[2,3,2,3] pmaxsd %xmm1, %xmm2 pshufd $85, %xmm2, %xmm1 ## xmm1 = xmm2[1,1,1,1] pmaxsd %xmm2, %xmm1 movd %xmm1, %eax pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] pmaxsd %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] pmaxsd %xmm1, %xmm0 movd %xmm0, %r15d cmpl %r15d, %eax cmovgl %eax, %r15d movl $62, %ecx cmpl $2, %r15d jb LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 movl %r15d, %edi callq _av_log2 ## kill: def $eax killed $eax def $rax movl $21, %ecx subl %eax, %ecx leal (%rcx,%rcx,2), %edx xorl %ecx, %ecx cmpl $3, %edx jl LBB0_6 ## %bb.9: ## in Loop: Header=BB0_7 Depth=2 addl $-3, %edx movq -56(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rsi leal (%rax,%rax,2), %eax movl $59, %ecx subl %eax, %ecx leaq (%rsi,%rdx,4), %rax addq $4, %rax .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_5 Depth=1 ## Parent Loop BB0_7 Depth=2 ## => This Inner Loop Header: Depth=3 incl %ecx leaq 4(%rax), %rdx cmpl (%rax), %r15d movq %rdx, %rax jle LBB0_10 jmp LBB0_6 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rcx movzbl (%rbx), %eax movzbl 1(%rbx), %esi movl %eax, %edx subl %esi, %edx addl $64, %edx movslq %edx, %rdx movl (%rcx,%rdx,4), %r15d movzbl 2(%rbx), %edx movl %esi, %edi subl %edx, %edi addl $64, %edi movslq %edi, %rdi movl (%rcx,%rdi,4), %r12d leal (%r15,%r15,4), %ecx addl %r12d, %ecx xorl %r13d, %r13d cmpl $24, %ecx ja LBB0_20 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 leaq LJTI0_0(%rip), %rdi movslq (%rdi,%rcx,4), %rcx addq %rdi, %rcx movq -48(%rbp), %r14 ## 8-byte Reload jmpq *%rcx LBB0_2: ## in Loop: Header=BB0_5 Depth=1 movb %al, 2(%rbx) movb %al, 1(%rbx) movl $2, %r13d movl %eax, %edx jmp LBB0_3 LBB0_14: ## in Loop: Header=BB0_5 Depth=1 movb %al, 1(%rbx) movl $1, %r13d LBB0_3: ## in Loop: Header=BB0_5 Depth=1 movl %eax, %esi jmp LBB0_4 LBB0_15: ## in Loop: Header=BB0_5 Depth=1 movb %sil, 2(%rbx) movb %sil, (%rbx) movl $2, %r13d movl %esi, %edx movl %esi, %eax jmp LBB0_4 LBB0_16: ## in Loop: Header=BB0_5 Depth=1 movb %dl, 1(%rbx) movl $3, %r13d movl %edx, %esi jmp LBB0_4 LBB0_17: ## in Loop: Header=BB0_5 Depth=1 movb %dl, 1(%rbx) movb %dl, (%rbx) movl $2, %r13d movl %edx, %esi movl %edx, %eax jmp LBB0_4 LBB0_18: ## in Loop: Header=BB0_5 Depth=1 cmpb %dl, %al jbe LBB0_2 ## %bb.19: ## in Loop: Header=BB0_5 Depth=1 movb %dl, (%rbx) movl %edx, %eax jmp LBB0_2 LBB0_20: ## in Loop: Header=BB0_5 Depth=1 xorl %edi, %edi callq _av_assert2 movb (%rbx), %al movb 1(%rbx), %sil movb 2(%rbx), %dl movq -48(%rbp), %r14 ## 8-byte Reload jmp LBB0_4 LBB0_21: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 LJTI0_0: .long L0_0_set_4 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_16 .long L0_0_set_4 .long L0_0_set_14 .long L0_0_set_2 .long L0_0_set_2 .long L0_0_set_18 .long L0_0_set_14 .long L0_0_set_2 .long L0_0_set_2 .long L0_0_set_2 .long L0_0_set_17 .long L0_0_set_14 .long L0_0_set_15 .long L0_0_set_15 .long L0_0_set_15 .long L0_0_set_17 .long L0_0_set_4 .long L0_0_set_4 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_16 .long L0_0_set_4 .end_data_region ## -- End function .comm _SBLIMIT,4,2 ## @SBLIMIT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%2d:%d in=%x %x %d\n" L_.str.1: ## @.str.1 .asciz "%d: %2d %2d %2d %d %d -> %d\n" .no_dead_strip _compute_scale_factors .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function compute_scale_factors _compute_scale_factors: ; @compute_scale_factors .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 stp x1, x3, [sp, #32] ; 16-byte Folded Spill cmp w4, #1 b.lt LBB0_23 ; %bb.1: mov x20, x2 mov x22, x0 mov x23, #0 Lloh0: adrp x28, _SBLIMIT@GOTPAGE Lloh1: ldr x28, [x28, _SBLIMIT@GOTPAGEOFF] ldr w8, [x28] add x8, x8, x8, lsl #1 mov w9, w4 str x9, [sp, #24] ; 8-byte Folded Spill lsl x19, x8, #2 Lloh2: adrp x24, l_.str@PAGE Lloh3: add x24, x24, l_.str@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 strb w4, [x20, #2] mov w25, #3 mov x5, x4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 stp x21, x25, [sp] mov x0, #0 Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x2, x23 mov x6, x26 bl _ff_dlog ldr x8, [sp, #32] ; 8-byte Folded Reload strb w25, [x8, x23] add x20, x20, #3 add x23, x23, #1 ldr x8, [sp, #24] ; 8-byte Folded Reload cmp x23, x8 b.eq LBB0_23 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_10 Depth 3 mov x25, #0 ldr x8, [sp, #40] ; 8-byte Folded Reload add x21, x8, x23, lsl #2 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=2 mov w27, #62 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 ldr x8, [x22] sbfiz x9, x27, #2, #32 ldrb w5, [x8, x9] and w4, w26, #0xff and w3, w25, #0xff mov x0, #0 mov x1, x24 mov x2, x23 mov x6, x27 bl _ff_dlog cmp w27, #64 cset w0, lo bl _av_assert2 strb w27, [x20, x25] add x25, x25, #1 cmp x25, #3 b.eq LBB0_12 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_10 Depth 3 mul x8, x19, x25 add x8, x21, x8, lsl #2 ldrsw x9, [x28] lsl x9, x9, #2 add x10, x8, x9 add x11, x10, x9 add x12, x11, x9 add x13, x12, x9 ldr s0, [x12] ld1.s { v0 }[1], [x11] ld1.s { v0 }[2], [x10] ld1.s { v0 }[3], [x8] add x8, x13, x9 add x10, x8, x9 add x11, x10, x9 add x12, x11, x9 add x14, x12, x9 add x15, x14, x9 ldr s1, [x15, x9] ld1.s { v1 }[1], [x15] ld1.s { v1 }[2], [x14] ld1.s { v1 }[3], [x12] abs.4s v0, v0 ldr s2, [x11] ld1.s { v2 }[1], [x10] ld1.s { v2 }[2], [x8] ld1.s { v2 }[3], [x13] abs.4s v2, v2 abs.4s v1, v1 smax.4s v1, v1, v2 smaxv.4s s1, v1 fmov w8, s1 smaxv.4s s0, v0 fmov w9, s0 cmp w8, w9 csel w26, w8, w9, gt cmp w26, #2 b.lo LBB0_5 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 mov x0, x26 bl _av_log2 mov w8, #21 sub w8, w8, w0 add w8, w8, w8, lsl #1 subs w8, w8, #3 b.lt LBB0_11 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 ldr x9, [x22] add w10, w0, w0, lsl #1 mov w11, #59 sub w27, w11, w10 add x8, x9, w8, uxtw #2 add x8, x8, #4 LBB0_10: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w9, [x8], #4 add w27, w27, #1 cmp w26, w9 b.le LBB0_10 b LBB0_6 LBB0_11: ; in Loop: Header=BB0_7 Depth=2 mov w27, #0 b LBB0_6 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x22, #8] ldrb w3, [x20] ldrb w4, [x20, #1] sub w9, w3, w4 add w9, w9, #64 ldr w26, [x8, w9, sxtw #2] ldrb w5, [x20, #2] sub w9, w4, w5 add w9, w9, #64 ldr w21, [x8, w9, sxtw #2] add w8, w26, w26, lsl #2 add w8, w21, w8 cmp w8, #24 b.hi LBB0_22 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 mov w25, #0 Lloh6: adrp x11, lJTI0_0@PAGE Lloh7: add x11, x11, lJTI0_0@PAGEOFF adr x9, LBB0_2 ldrb w10, [x11, x8] add x9, x9, x10, lsl #2 br x9 LBB0_14: ; in Loop: Header=BB0_4 Depth=1 strb w3, [x20, #2] strb w3, [x20, #1] mov w25, #2 mov x5, x3 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 strb w3, [x20, #1] mov w25, #1 LBB0_16: ; in Loop: Header=BB0_4 Depth=1 mov x4, x3 b LBB0_3 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 strb w4, [x20, #2] strb w4, [x20] mov w25, #2 mov x5, x4 mov x3, x4 b LBB0_3 LBB0_18: ; in Loop: Header=BB0_4 Depth=1 strb w5, [x20, #1] mov w25, #3 mov x4, x5 b LBB0_3 LBB0_19: ; in Loop: Header=BB0_4 Depth=1 strb w5, [x20, #1] strb w5, [x20] mov w25, #2 mov x4, x5 mov x3, x5 b LBB0_3 LBB0_20: ; in Loop: Header=BB0_4 Depth=1 cmp w3, w5 b.ls LBB0_14 ; %bb.21: ; in Loop: Header=BB0_4 Depth=1 strb w5, [x20] mov x3, x5 b LBB0_14 LBB0_22: ; in Loop: Header=BB0_4 Depth=1 mov w0, #0 bl _av_assert2 mov w25, #0 ldrb w3, [x20] ldrb w4, [x20, #1] ldrb w5, [x20, #2] b LBB0_3 LBB0_23: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_15-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_20-LBB0_2)>>2 .byte (LBB0_15-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_14-LBB0_2)>>2 .byte (LBB0_19-LBB0_2)>>2 .byte (LBB0_15-LBB0_2)>>2 .byte (LBB0_17-LBB0_2)>>2 .byte (LBB0_17-LBB0_2)>>2 .byte (LBB0_17-LBB0_2)>>2 .byte (LBB0_19-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 ; -- End function .comm _SBLIMIT,4,2 ; @SBLIMIT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%2d:%d in=%x %x %d\n" l_.str.1: ; @.str.1 .asciz "%d: %2d %2d %2d %d %d -> %d\n" .no_dead_strip _compute_scale_factors .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_mpegaudioenc_template.c_compute_scale_factors.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m68k_op_movem_32_er_ix _m68k_op_movem_32_er_ix: ## @m68k_op_movem_32_er_ix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %ebx, %ebx xorl %eax, %eax callq _OPER_I_16 movl %eax, %r14d xorl %eax, %eax callq _EA_AY_IX_32 movl %eax, %r12d movq _REG_DA@GOTPCREL(%rip), %r13 xorl %r15d, %r15d jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 incq %rbx cmpq $16, %rbx je LBB0_4 LBB0_1: ## =>This Inner Loop Header: Depth=1 btl %ebx, %r14d jae LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %r12d, %edi callq _m68ki_read_32 movq (%r13), %rcx movl %eax, (%rcx,%rbx,4) addl $4, %r12d incl %r15d jmp LBB0_3 LBB0_4: movq _CYC_MOVEM_L@GOTPCREL(%rip), %rax imull (%rax), %r15d movl %r15d, %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _USE_CYCLES ## TAILCALL .cfi_endproc ## -- End function .comm _REG_DA,8,3 ## @REG_DA .comm _CYC_MOVEM_L,4,2 ## @CYC_MOVEM_L .no_dead_strip _m68k_op_movem_32_er_ix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m68k_op_movem_32_er_ix _m68k_op_movem_32_er_ix: ; @m68k_op_movem_32_er_ix .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 bl _OPER_I_16 mov x19, x0 bl _EA_AY_IX_32 mov x20, x0 mov x22, #0 mov w21, #0 Lloh0: adrp x23, _REG_DA@GOTPAGE Lloh1: ldr x23, [x23, _REG_DA@GOTPAGEOFF] b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x22, x22, #1 cmp x22, #16 b.eq LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 lsr w8, w19, w22 tbz w8, #0, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x20 bl _m68ki_read_32 ldr x8, [x23] str w0, [x8, x22, lsl #2] add w20, w20, #4 add w21, w21, #1 b LBB0_1 LBB0_4: Lloh2: adrp x8, _CYC_MOVEM_L@GOTPAGE Lloh3: ldr x8, [x8, _CYC_MOVEM_L@GOTPAGEOFF] Lloh4: ldr w8, [x8] mul w0, w8, w21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _USE_CYCLES .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _REG_DA,8,3 ; @REG_DA .comm _CYC_MOVEM_L,4,2 ; @CYC_MOVEM_L .no_dead_strip _m68k_op_movem_32_er_ix .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_movem_32_er_ix.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dpx_sprintf ## -- Begin function dpx_sprintf .p2align 4, 0x90 _dpx_sprintf: ## @dpx_sprintf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $208, %rsp movq %rdx, -192(%rbp) movq %rcx, -184(%rbp) movq %r8, -176(%rbp) movq %r9, -168(%rbp) testb %al, %al je LBB0_4 ## %bb.3: movaps %xmm0, -160(%rbp) movaps %xmm1, -144(%rbp) movaps %xmm2, -128(%rbp) movaps %xmm3, -112(%rbp) movaps %xmm4, -96(%rbp) movaps %xmm5, -80(%rbp) movaps %xmm6, -64(%rbp) movaps %xmm7, -48(%rbp) LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -208(%rbp), %rax movq %rax, -16(%rbp) leaq 16(%rbp), %rax movq %rax, -24(%rbp) movabsq $206158430224, %rax ## imm = 0x3000000010 movq %rax, -32(%rbp) leaq -32(%rbp), %rdx callq _vsprintf movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -8(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $208, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _dpx_snprintf ## -- Begin function dpx_snprintf .p2align 4, 0x90 _dpx_snprintf: ## @dpx_snprintf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $208, %rsp movq %rcx, -184(%rbp) movq %r8, -176(%rbp) movq %r9, -168(%rbp) testb %al, %al je LBB1_4 ## %bb.3: movaps %xmm0, -160(%rbp) movaps %xmm1, -144(%rbp) movaps %xmm2, -128(%rbp) movaps %xmm3, -112(%rbp) movaps %xmm4, -96(%rbp) movaps %xmm5, -80(%rbp) movaps %xmm6, -64(%rbp) movaps %xmm7, -48(%rbp) LBB1_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -208(%rbp), %rax movq %rax, -16(%rbp) leaq 16(%rbp), %rax movq %rax, -24(%rbp) movabsq $206158430232, %rax ## imm = 0x3000000018 movq %rax, -32(%rbp) leaq -32(%rbp), %rcx callq _vsnprintf movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -8(%rbp), %rcx jne LBB1_2 ## %bb.1: addq $208, %rsp popq %rbp retq LBB1_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _dpx_sscanf ## -- Begin function dpx_sscanf .p2align 4, 0x90 _dpx_sscanf: ## @dpx_sscanf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $208, %rsp movq %rdx, -192(%rbp) movq %rcx, -184(%rbp) movq %r8, -176(%rbp) movq %r9, -168(%rbp) testb %al, %al je LBB2_4 ## %bb.3: movaps %xmm0, -160(%rbp) movaps %xmm1, -144(%rbp) movaps %xmm2, -128(%rbp) movaps %xmm3, -112(%rbp) movaps %xmm4, -96(%rbp) movaps %xmm5, -80(%rbp) movaps %xmm6, -64(%rbp) movaps %xmm7, -48(%rbp) LBB2_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq -208(%rbp), %rax movq %rax, -16(%rbp) leaq 16(%rbp), %rax movq %rax, -24(%rbp) movabsq $206158430224, %rax ## imm = 0x3000000010 movq %rax, -32(%rbp) leaq -32(%rbp), %rdx callq _vsscanf movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -8(%rbp), %rcx jne LBB2_2 ## %bb.1: addq $208, %rsp popq %rbp retq LBB2_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _dpx_strcasecmp ## -- Begin function dpx_strcasecmp .p2align 4, 0x90 _dpx_strcasecmp: ## @dpx_strcasecmp .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 _strcasecmp ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dpx_sprintf ; -- Begin function dpx_sprintf .p2align 2 _dpx_sprintf: ; @dpx_sprintf .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 add x8, x29, #16 str x8, [sp, #8] add x2, x29, #16 bl _vsprintf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _dpx_snprintf ; -- Begin function dpx_snprintf .p2align 2 _dpx_snprintf: ; @dpx_snprintf .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 add x8, x29, #16 str x8, [sp, #8] add x3, x29, #16 bl _vsnprintf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _dpx_sscanf ; -- Begin function dpx_sscanf .p2align 2 _dpx_sscanf: ; @dpx_sscanf .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 add x8, x29, #16 str x8, [sp, #8] add x2, x29, #16 bl _vsscanf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .globl _dpx_strcasecmp ; -- Begin function dpx_strcasecmp .p2align 2 _dpx_strcasecmp: ; @dpx_strcasecmp .cfi_startproc ; %bb.0: b _strcasecmp .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/68887316.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function shm32write__write_file _shm32write__write_file: ## @shm32write__write_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rax movq %rdi, %r14 leaq L_.str(%rip), %rsi leaq -28(%rbp), %rdx leaq -24(%rbp), %rcx leaq -20(%rbp), %r8 leaq -32(%rbp), %r9 movq %rax, %rdi callq _sscanf cmpl $4, %eax jne LBB0_1 ## %bb.3: movl -28(%rbp), %esi movq _B43_MAX_SHM_ROUTING@GOTPCREL(%rip), %rax cmpl (%rax), %esi ja LBB0_4 ## %bb.5: movl -24(%rbp), %edx movq _B43_MAX_SHM_ADDR@GOTPCREL(%rip), %rax cmpl (%rax), %edx ja LBB0_4 ## %bb.6: movq _B43_SHM_SHARED@GOTPCREL(%rip), %rax cmpl (%rax), %esi jne LBB0_8 ## %bb.7: movl %edx, %eax andl $1, %eax je LBB0_8 LBB0_4: movq _EADDRNOTAVAIL@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax LBB0_2: xorl %ebx, %ebx subl (%rax), %ebx LBB0_12: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_8: xorl %ebx, %ebx cmpl $0, -20(%rbp) je LBB0_9 ## %bb.10: movq %r14, %rdi callq _b43_shm_read32 movl %eax, %ecx movl -28(%rbp), %esi movl -24(%rbp), %edx andl -20(%rbp), %ecx jmp LBB0_11 LBB0_9: xorl %ecx, %ecx LBB0_11: orl -32(%rbp), %ecx movq %r14, %rdi callq _b43_shm_write32 jmp LBB0_12 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0x%X 0x%X 0x%X 0x%X" .comm _EINVAL,4,2 ## @EINVAL .comm _B43_MAX_SHM_ROUTING,4,2 ## @B43_MAX_SHM_ROUTING .comm _EADDRNOTAVAIL,4,2 ## @EADDRNOTAVAIL .comm _B43_MAX_SHM_ADDR,4,2 ## @B43_MAX_SHM_ADDR .comm _B43_SHM_SHARED,4,2 ## @B43_SHM_SHARED .comm _E2BIG,4,2 ## @E2BIG .no_dead_strip _shm32write__write_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function shm32write__write_file _shm32write__write_file: ; @shm32write__write_file .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x8, x1 mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x2, sp, #12 add x3, sp, #8 add x4, sp, #4 mov x5, sp mov x0, x8 bl _sscanf cmp w0, #4 b.ne LBB0_7 ; %bb.1: ldr w1, [sp, #12] Lloh2: adrp x8, _B43_MAX_SHM_ROUTING@GOTPAGE Lloh3: ldr x8, [x8, _B43_MAX_SHM_ROUTING@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmp w1, w8 b.hi LBB0_8 ; %bb.2: ldr w2, [sp, #8] Lloh5: adrp x8, _B43_MAX_SHM_ADDR@GOTPAGE Lloh6: ldr x8, [x8, _B43_MAX_SHM_ADDR@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w2, w8 b.hi LBB0_8 ; %bb.3: Lloh8: adrp x8, _B43_SHM_SHARED@GOTPAGE Lloh9: ldr x8, [x8, _B43_SHM_SHARED@GOTPAGEOFF] Lloh10: ldr w8, [x8] and w9, w2, #0x1 cmp w1, w8 ccmp w9, #0, #4, eq b.ne LBB0_8 ; %bb.4: ldr w8, [sp, #4] cbz w8, LBB0_6 ; %bb.5: mov x0, x19 bl _b43_shm_read32 ldp w8, w2, [sp, #4] ldr w1, [sp, #12] and w8, w8, w0 LBB0_6: ldr w9, [sp] orr w3, w8, w9 mov x0, x19 bl _b43_shm_write32 mov w0, #0 b LBB0_10 LBB0_7: Lloh11: adrp x8, _EINVAL@GOTPAGE Lloh12: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_9 LBB0_8: Lloh13: adrp x8, _EADDRNOTAVAIL@GOTPAGE Lloh14: ldr x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF] LBB0_9: ldr w8, [x8] neg w0, w8 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0x%X 0x%X 0x%X 0x%X" .comm _EINVAL,4,2 ; @EINVAL .comm _B43_MAX_SHM_ROUTING,4,2 ; @B43_MAX_SHM_ROUTING .comm _EADDRNOTAVAIL,4,2 ; @EADDRNOTAVAIL .comm _B43_MAX_SHM_ADDR,4,2 ; @B43_MAX_SHM_ADDR .comm _B43_SHM_SHARED,4,2 ; @B43_SHM_SHARED .comm _E2BIG,4,2 ; @E2BIG .no_dead_strip _shm32write__write_file .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_debugfs.c_shm32write__write_file.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xhci_find_slot_id_by_port ## -- Begin function xhci_find_slot_id_by_port .p2align 4, 0x90 _xhci_find_slot_id_by_port: ## @xhci_find_slot_id_by_port .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_HC_SLOTS@GOTPCREL(%rip), %rax movl (%rax), %r10d testl %r10d, %r10d jle LBB0_6 ## %bb.1: movq (%rsi), %r11 movq _USB_SPEED_SUPER@GOTPCREL(%rip), %rax movl (%rax), %r8d movq _HCD_USB3@GOTPCREL(%rip), %rax movq (%rax), %r9 xorl %eax, %eax jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 incq %rax cmpq %rax, %r10 je LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r11,%rax,8), %rcx testq %rcx, %rcx je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rcx), %rsi cmpl %r8d, (%rsi) setne %sil cmpq %r9, (%rdi) sete %bl cmpb %bl, %sil je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdx, (%rcx) jne LBB0_5 jmp LBB0_7 LBB0_6: xorl %eax, %eax LBB0_7: ## kill: def $eax killed $eax killed $rax popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_HC_SLOTS,4,2 ## @MAX_HC_SLOTS .comm _USB_SPEED_SUPER,4,2 ## @USB_SPEED_SUPER .comm _HCD_USB3,8,3 ## @HCD_USB3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xhci_find_slot_id_by_port ; -- Begin function xhci_find_slot_id_by_port .p2align 2 _xhci_find_slot_id_by_port: ; @xhci_find_slot_id_by_port .cfi_startproc ; %bb.0: Lloh0: adrp x9, _MAX_HC_SLOTS@GOTPAGE Lloh1: ldr x9, [x9, _MAX_HC_SLOTS@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w9, #1 b.lt LBB0_7 ; %bb.1: mov x8, x0 mov x0, #0 ldr x10, [x1] Lloh3: adrp x11, _USB_SPEED_SUPER@GOTPAGE Lloh4: ldr x11, [x11, _USB_SPEED_SUPER@GOTPAGEOFF] Lloh5: ldr w11, [x11] Lloh6: adrp x12, _HCD_USB3@GOTPAGE Lloh7: ldr x12, [x12, _HCD_USB3@GOTPAGEOFF] Lloh8: ldr x12, [x12] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x0, x0, #1 cmp x9, x0 b.eq LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x13, [x10, x0, lsl #3] cbz x13, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x14, [x13, #8] ldr w14, [x14] cmp w14, w11 cset w14, ne ldr x15, [x8] cmp x15, x12 cset w15, eq cmp w14, w15 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x13, [x13] cmp x13, x2 b.ne LBB0_2 ; %bb.6: ; kill: def $w0 killed $w0 killed $x0 ret LBB0_7: mov w0, #0 ; kill: def $w0 killed $w0 killed $x0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _MAX_HC_SLOTS,4,2 ; @MAX_HC_SLOTS .comm _USB_SPEED_SUPER,4,2 ; @USB_SPEED_SUPER .comm _HCD_USB3,8,3 ; @HCD_USB3 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/usb/host/extr_xhci-hub.c_xhci_find_slot_id_by_port.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _t4 ## -- Begin function t4 .p2align 4, 0x90 _t4: ## @t4 .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 fld1 fstpt (%rsp) callq _ldexpl addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _t4 ; -- Begin function t4 .p2align 2 _t4: ; @t4 .cfi_startproc ; %bb.0: fmov d0, #1.00000000 b _ldexp .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/126904.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_time _get_time: ## @get_time .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq _clock imulq $10000, %rax, %rax ## imm = 0x2710 movq _CLOCKS_PER_SEC@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rax, %rdx orq %rcx, %rdx shrq $32, %rdx je LBB0_1 ## %bb.2: cqto idivq %rcx popq %rbp retq LBB0_1: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx ## kill: def $eax killed $eax def $rax popq %rbp retq .cfi_endproc ## -- End function .comm _CLOCKS_PER_SEC,8,3 ## @CLOCKS_PER_SEC .no_dead_strip _get_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_time _get_time: ; @get_time .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _clock mov w8, #10000 mul x8, x0, x8 Lloh0: adrp x9, _CLOCKS_PER_SEC@GOTPAGE Lloh1: ldr x9, [x9, _CLOCKS_PER_SEC@GOTPAGEOFF] Lloh2: ldr x9, [x9] sdiv x0, x8, x9 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CLOCKS_PER_SEC,8,3 ; @CLOCKS_PER_SEC .no_dead_strip _get_time .subsections_via_symbols
AnghaBench/Cinder/src/freetype/tools/extr_test_bbox.c_get_time.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function send_sigio_to_task _send_sigio_to_task: ## @send_sigio_to_task .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %ebx movl %ecx, %r13d movl %edx, -48(%rbp) ## 4-byte Spill movq %rsi, %r15 movq %rdi, %r12 movl (%rsi), %edi callq _READ_ONCE movl %eax, %r14d movq %r12, %rdi movq %r15, %rsi movl %eax, %edx callq _sigio_perm testl %eax, %eax je LBB0_9 ## %bb.1: testl %r14d, %r14d je LBB0_8 ## %bb.2: movl %ebx, -44(%rbp) ## 4-byte Spill leaq -72(%rbp), %rdi callq _clear_siginfo movl %r14d, -72(%rbp) movl $0, -52(%rbp) movl %r13d, -68(%rbp) movq _SIGPOLL@GOTPCREL(%rip), %rax cmpl (%rax), %r14d je LBB0_5 ## %bb.3: movl %r14d, %edi callq _sig_specific_sicodes testl %eax, %eax je LBB0_5 ## %bb.4: movq _SI_SIGIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -68(%rbp) LBB0_5: movq _POLL_IN@GOTPCREL(%rip), %r15 movl %r13d, %eax subl (%r15), %eax setl %cl movq _NSIGPOLL@GOTPCREL(%rip), %rbx cmpl (%rbx), %eax setge %al orb %cl, %al movzbl %al, %edi callq _BUG_ON movslq (%r15), %rax movslq %r13d, %rcx subq %rax, %rcx movq $-1, %rax cmpl (%rbx), %ecx jge LBB0_7 ## %bb.6: movq _band_table@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax,%rcx,4), %edi callq _mangle_poll LBB0_7: movq %rax, -64(%rbp) movl -48(%rbp), %eax ## 4-byte Reload movl %eax, -56(%rbp) leaq -72(%rbp), %rsi movl %r14d, %edi movq %r12, %rdx movl -44(%rbp), %ebx ## 4-byte Reload movl %ebx, %ecx callq _do_send_sig_info testl %eax, %eax je LBB0_9 LBB0_8: movq _SIGIO@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SEND_SIG_PRIV@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r12, %rdx movl %ebx, %ecx callq _do_send_sig_info LBB0_9: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SIGPOLL,4,2 ## @SIGPOLL .comm _SI_SIGIO,4,2 ## @SI_SIGIO .comm _POLL_IN,4,2 ## @POLL_IN .comm _NSIGPOLL,4,2 ## @NSIGPOLL .comm _band_table,8,3 ## @band_table .comm _SIGIO,4,2 ## @SIGIO .comm _SEND_SIG_PRIV,8,3 ## @SEND_SIG_PRIV .no_dead_strip _send_sigio_to_task .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function send_sigio_to_task _send_sigio_to_task: ; @send_sigio_to_task .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x4 mov x23, x3 mov x21, x2 mov x24, x1 mov x20, x0 ldr w0, [x1] bl _READ_ONCE mov x22, x0 mov x0, x20 mov x1, x24 mov x2, x22 bl _sigio_perm cbz w0, LBB0_10 ; %bb.1: cbz w22, LBB0_9 ; %bb.2: add x0, sp, #8 bl _clear_siginfo str wzr, [sp, #28] stp w22, w23, [sp, #8] Lloh0: adrp x8, _SIGPOLL@GOTPAGE Lloh1: ldr x8, [x8, _SIGPOLL@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w22, w8 b.eq LBB0_5 ; %bb.3: mov x0, x22 bl _sig_specific_sicodes cbz w0, LBB0_5 ; %bb.4: Lloh3: adrp x8, _SI_SIGIO@GOTPAGE Lloh4: ldr x8, [x8, _SI_SIGIO@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [sp, #12] LBB0_5: Lloh6: adrp x24, _POLL_IN@GOTPAGE Lloh7: ldr x24, [x24, _POLL_IN@GOTPAGEOFF] ldr w8, [x24] subs w8, w23, w8 Lloh8: adrp x25, _NSIGPOLL@GOTPAGE Lloh9: ldr x25, [x25, _NSIGPOLL@GOTPAGEOFF] ldr w9, [x25] ccmp w8, w9, #0, ge cset w0, ge bl _BUG_ON ldr w8, [x24] ldr w9, [x25] sub w8, w23, w8 cmp w8, w9 b.ge LBB0_7 ; %bb.6: Lloh10: adrp x9, _band_table@GOTPAGE Lloh11: ldr x9, [x9, _band_table@GOTPAGEOFF] Lloh12: ldr x9, [x9] ldr w0, [x9, w8, sxtw #2] bl _mangle_poll b LBB0_8 LBB0_7: mov x0, #-1 LBB0_8: str x0, [sp, #16] str w21, [sp, #24] add x1, sp, #8 mov x0, x22 mov x2, x20 mov x3, x19 bl _do_send_sig_info cbz w0, LBB0_10 LBB0_9: Lloh13: adrp x8, _SIGIO@GOTPAGE Lloh14: ldr x8, [x8, _SIGIO@GOTPAGEOFF] Lloh15: ldr w0, [x8] Lloh16: adrp x8, _SEND_SIG_PRIV@GOTPAGE Lloh17: ldr x8, [x8, _SEND_SIG_PRIV@GOTPAGEOFF] Lloh18: ldr x1, [x8] mov x2, x20 mov x3, x19 bl _do_send_sig_info LBB0_10: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _SIGPOLL,4,2 ; @SIGPOLL .comm _SI_SIGIO,4,2 ; @SI_SIGIO .comm _POLL_IN,4,2 ; @POLL_IN .comm _NSIGPOLL,4,2 ; @NSIGPOLL .comm _band_table,8,3 ; @band_table .comm _SIGIO,4,2 ; @SIGIO .comm _SEND_SIG_PRIV,8,3 ; @SEND_SIG_PRIV .no_dead_strip _send_sigio_to_task .subsections_via_symbols
AnghaBench/linux/fs/extr_fcntl.c_send_sigio_to_task.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pcpu_prepare_secondary _pcpu_prepare_secondary: ## @pcpu_prepare_secondary .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, %r15d movq (%rdi), %rbx movq _init_mm@GOTPCREL(%rip), %r14 movl %esi, %edi movq %r14, %rsi callq _cpumask_set_cpu movq %r14, %rdi callq _mm_cpumask movl %r15d, %edi movq %rax, %rsi callq _cpumask_set_cpu movl %r15d, (%rbx) movl %r15d, %edi callq _arch_spin_lockval movl %eax, 88(%rbx) movq $0, 80(%rbx) movq ___per_cpu_offset@GOTPCREL(%rip), %rax movq (%rax), %rax movslq %r15d, %r14 movl (%rax,%r14,4), %eax movl %eax, 72(%rbx) movq _S390_lowcore@GOTPCREL(%rip), %r15 movl 12(%r15), %eax movl %eax, 68(%rbx) movl 8(%r15), %eax movl %eax, 64(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 48(%rbx) movups %xmm0, 32(%rbx) movl 24(%rbx), %edi xorl %esi, %esi movl $15, %edx callq ___ctl_store movq 16(%rbx), %rdi callq _save_access_regs movl 8(%rbx), %edi movl 4(%r15), %esi movl $4, %edx callq _memcpy movl 4(%rbx), %edi movl (%r15), %esi movl $4, %edx callq _memcpy movl %r14d, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _arch_spin_lock_setup ## TAILCALL .cfi_endproc ## -- End function .comm _init_mm,4,2 ## @init_mm .comm ___per_cpu_offset,8,3 ## @__per_cpu_offset .comm _S390_lowcore,16,2 ## @S390_lowcore .no_dead_strip _pcpu_prepare_secondary .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pcpu_prepare_secondary _pcpu_prepare_secondary: ; @pcpu_prepare_secondary .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 ldr x21, [x0] Lloh0: adrp x20, _init_mm@GOTPAGE Lloh1: ldr x20, [x20, _init_mm@GOTPAGEOFF] mov x0, x1 mov x1, x20 bl _cpumask_set_cpu mov x0, x20 bl _mm_cpumask mov x1, x0 mov x0, x19 bl _cpumask_set_cpu str w19, [x21] mov x0, x19 bl _arch_spin_lockval str w0, [x21, #88] str xzr, [x21, #80] Lloh2: adrp x8, ___per_cpu_offset@GOTPAGE Lloh3: ldr x8, [x8, ___per_cpu_offset@GOTPAGEOFF] Lloh4: ldr x8, [x8] ldr w8, [x8, w19, sxtw #2] str w8, [x21, #72] Lloh5: adrp x20, _S390_lowcore@GOTPAGE Lloh6: ldr x20, [x20, _S390_lowcore@GOTPAGEOFF] ldr d0, [x20, #8] str d0, [x21, #64] movi.2d v0, #0000000000000000 stp q0, q0, [x21, #32] ldr w0, [x21, #24] mov w1, #0 mov w2, #15 bl ___ctl_store ldr x0, [x21, #16] bl _save_access_regs ldr w0, [x21, #8] ldr w1, [x20, #4] mov w2, #4 bl _memcpy ldr w0, [x21, #4] ldr w1, [x20] mov w2, #4 bl _memcpy 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 _arch_spin_lock_setup .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _init_mm,4,2 ; @init_mm .comm ___per_cpu_offset,8,3 ; @__per_cpu_offset .comm _S390_lowcore,16,2 ; @S390_lowcore .no_dead_strip _pcpu_prepare_secondary .subsections_via_symbols
AnghaBench/linux/arch/s390/kernel/extr_smp.c_pcpu_prepare_secondary.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SceneInit_b9 ## -- Begin function SceneInit_b9 .p2align 4, 0x90 _SceneInit_b9: ## @SceneInit_b9 .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 _DATA_PTRS_BANK@GOTPCREL(%rip), %rax movl (%rax), %edi movq _scene_bank_ptrs@GOTPCREL(%rip), %rax movq _scene_index@GOTPCREL(%rip), %rcx movq (%rcx), %rdx shlq $2, %rdx addq (%rax), %rdx movq _bank_ptr@GOTPCREL(%rip), %r15 movq %r15, %rsi callq _ReadBankedBankPtr movl (%r15), %edi movq _scene_load_col_ptr@GOTPCREL(%rip), %r12 movq (%r12), %rsi callq _ReadBankedUBYTE movq _events_ptr@GOTPCREL(%rip), %r14 movl %eax, (%r14) movl (%r15), %edi movq (%r12), %rsi incq %rsi callq _ReadBankedUBYTE movl %eax, %ebx shll $8, %ebx movl (%r15), %edi movq (%r12), %rsi addq $2, %rsi callq _ReadBankedUBYTE addl %ebx, %eax movl %eax, 4(%r14) movq %r14, %rdi callq _ScriptStart movq _scene_num_actors@GOTPCREL(%rip), %rax movq (%rax), %rbx movq _MAX_ACTORS@GOTPCREL(%rip), %r14 cmpq (%r14), %rbx je LBB0_3 ## %bb.1: movq _FALSE@GOTPCREL(%rip), %r15 movq _actors@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r15), %eax movq (%r12), %rcx movl %eax, (%rcx,%rbx,4) movq %rbx, %rdi callq _MUL_2 movl %eax, %edi callq _hide_sprite_pair incq %rbx cmpq (%r14), %rbx jne LBB0_2 LBB0_3: movq _CAMERA_LOCK_FLAG@GOTPCREL(%rip), %rax movl (%rax), %eax movq _camera_settings@GOTPCREL(%rip), %rcx movl %eax, (%rcx) xorl %eax, %eax callq _SceneUpdateCamera_b movq _TRUE@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq _check_triggers@GOTPCREL(%rip), %rcx movq %rax, (%rcx) xorl %eax, %eax callq _SceneHandleTriggers_b xorl %eax, %eax callq _FadeIn movq _time@GOTPCREL(%rip), %rax movq $0, (%rax) movq _last_joy@GOTPCREL(%rip), %rax movq $0, (%rax) movq (%rbx), %rax movq _scene_loaded@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _timer_script_duration@GOTPCREL(%rip), %rax movq $0, (%rax) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DATA_PTRS_BANK,4,2 ## @DATA_PTRS_BANK .comm _bank_ptr,4,2 ## @bank_ptr .comm _scene_bank_ptrs,8,3 ## @scene_bank_ptrs .comm _scene_index,8,3 ## @scene_index .comm _scene_load_col_ptr,8,3 ## @scene_load_col_ptr .comm _events_ptr,8,2 ## @events_ptr .comm _scene_num_actors,8,3 ## @scene_num_actors .comm _MAX_ACTORS,8,3 ## @MAX_ACTORS .comm _FALSE,4,2 ## @FALSE .comm _actors,8,3 ## @actors .comm _CAMERA_LOCK_FLAG,4,2 ## @CAMERA_LOCK_FLAG .comm _camera_settings,4,2 ## @camera_settings .comm _TRUE,8,3 ## @TRUE .comm _check_triggers,8,3 ## @check_triggers .comm _time,8,3 ## @time .comm _last_joy,8,3 ## @last_joy .comm _scene_loaded,8,3 ## @scene_loaded .comm _timer_script_duration,8,3 ## @timer_script_duration .comm _SHOW_SPRITES,4,2 ## @SHOW_SPRITES .comm _DISPLAY_ON,4,2 ## @DISPLAY_ON .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SceneInit_b9 ; -- Begin function SceneInit_b9 .p2align 2 _SceneInit_b9: ; @SceneInit_b9 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _DATA_PTRS_BANK@GOTPAGE Lloh1: ldr x8, [x8, _DATA_PTRS_BANK@GOTPAGEOFF] Lloh2: adrp x9, _scene_bank_ptrs@GOTPAGE Lloh3: ldr x9, [x9, _scene_bank_ptrs@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: ldr x8, [x9] Lloh6: adrp x9, _scene_index@GOTPAGE Lloh7: ldr x9, [x9, _scene_index@GOTPAGEOFF] Lloh8: ldr x9, [x9] add x2, x8, x9, lsl #2 Lloh9: adrp x19, _bank_ptr@GOTPAGE Lloh10: ldr x19, [x19, _bank_ptr@GOTPAGEOFF] mov x1, x19 bl _ReadBankedBankPtr ldr w0, [x19] Lloh11: adrp x22, _scene_load_col_ptr@GOTPAGE Lloh12: ldr x22, [x22, _scene_load_col_ptr@GOTPAGEOFF] ldr x1, [x22] bl _ReadBankedUBYTE Lloh13: adrp x20, _events_ptr@GOTPAGE Lloh14: ldr x20, [x20, _events_ptr@GOTPAGEOFF] str w0, [x20] ldr w0, [x19] ldr x8, [x22] add x1, x8, #1 bl _ReadBankedUBYTE mov x21, x0 ldr w0, [x19] ldr x8, [x22] add x1, x8, #2 bl _ReadBankedUBYTE add w8, w0, w21, lsl #8 str w8, [x20, #4] mov x0, x20 bl _ScriptStart Lloh15: adrp x8, _scene_num_actors@GOTPAGE Lloh16: ldr x8, [x8, _scene_num_actors@GOTPAGEOFF] Lloh17: ldr x19, [x8] Lloh18: adrp x20, _MAX_ACTORS@GOTPAGE Lloh19: ldr x20, [x20, _MAX_ACTORS@GOTPAGEOFF] ldr x8, [x20] cmp x19, x8 b.eq LBB0_3 ; %bb.1: Lloh20: adrp x21, _FALSE@GOTPAGE Lloh21: ldr x21, [x21, _FALSE@GOTPAGEOFF] Lloh22: adrp x22, _actors@GOTPAGE Lloh23: ldr x22, [x22, _actors@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21] ldr x9, [x22] str w8, [x9, x19, lsl #2] mov x0, x19 bl _MUL_2 bl _hide_sprite_pair add x19, x19, #1 ldr x8, [x20] cmp x19, x8 b.ne LBB0_2 LBB0_3: Lloh24: adrp x8, _CAMERA_LOCK_FLAG@GOTPAGE Lloh25: ldr x8, [x8, _CAMERA_LOCK_FLAG@GOTPAGEOFF] Lloh26: ldr w8, [x8] Lloh27: adrp x9, _camera_settings@GOTPAGE Lloh28: ldr x9, [x9, _camera_settings@GOTPAGEOFF] Lloh29: str w8, [x9] bl _SceneUpdateCamera_b Lloh30: adrp x19, _TRUE@GOTPAGE Lloh31: ldr x19, [x19, _TRUE@GOTPAGEOFF] ldr x8, [x19] Lloh32: adrp x9, _check_triggers@GOTPAGE Lloh33: ldr x9, [x9, _check_triggers@GOTPAGEOFF] Lloh34: str x8, [x9] bl _SceneHandleTriggers_b bl _FadeIn Lloh35: adrp x8, _time@GOTPAGE Lloh36: ldr x8, [x8, _time@GOTPAGEOFF] Lloh37: str xzr, [x8] Lloh38: adrp x8, _last_joy@GOTPAGE Lloh39: ldr x8, [x8, _last_joy@GOTPAGEOFF] Lloh40: str xzr, [x8] ldr x8, [x19] Lloh41: adrp x9, _scene_loaded@GOTPAGE Lloh42: ldr x9, [x9, _scene_loaded@GOTPAGEOFF] Lloh43: str x8, [x9] Lloh44: adrp x8, _timer_script_duration@GOTPAGE Lloh45: ldr x8, [x8, _timer_script_duration@GOTPAGEOFF] Lloh46: str xzr, [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 Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotStr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotStr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotStr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotStr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .cfi_endproc ; -- End function .comm _DATA_PTRS_BANK,4,2 ; @DATA_PTRS_BANK .comm _bank_ptr,4,2 ; @bank_ptr .comm _scene_bank_ptrs,8,3 ; @scene_bank_ptrs .comm _scene_index,8,3 ; @scene_index .comm _scene_load_col_ptr,8,3 ; @scene_load_col_ptr .comm _events_ptr,8,2 ; @events_ptr .comm _scene_num_actors,8,3 ; @scene_num_actors .comm _MAX_ACTORS,8,3 ; @MAX_ACTORS .comm _FALSE,4,2 ; @FALSE .comm _actors,8,3 ; @actors .comm _CAMERA_LOCK_FLAG,4,2 ; @CAMERA_LOCK_FLAG .comm _camera_settings,4,2 ; @camera_settings .comm _TRUE,8,3 ; @TRUE .comm _check_triggers,8,3 ; @check_triggers .comm _time,8,3 ; @time .comm _last_joy,8,3 ; @last_joy .comm _scene_loaded,8,3 ; @scene_loaded .comm _timer_script_duration,8,3 ; @timer_script_duration .comm _SHOW_SPRITES,4,2 ; @SHOW_SPRITES .comm _DISPLAY_ON,4,2 ; @DISPLAY_ON .subsections_via_symbols
AnghaBench/gb-studio/appData/src/gb/src/extr_Scene_b.c_SceneInit_b9.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s2255_print_cfg _s2255_print_cfg: ## @s2255_print_cfg .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), %r15 leaq L_.str(%rip), %r14 movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax callq _dev_info movl 12(%rbx), %ecx movl 16(%rbx), %edx leaq L_.str.1(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_info movl 4(%rbx), %ecx movl 8(%rbx), %edx leaq L_.str.2(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_info movl (%rbx), %edx leaq L_.str.3(%rip), %rsi movq %r15, %rdi xorl %eax, %eax callq _dev_info movq %r15, %rdi movq %r14, %rsi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _dev_info ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "------------------------------------------------\n" L_.str.1: ## @.str.1 .asciz "format: %d\nscale %d\n" L_.str.2: ## @.str.2 .asciz "fdec: %d\ncolor %d\n" L_.str.3: ## @.str.3 .asciz "bright: 0x%x\n" .no_dead_strip _s2255_print_cfg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s2255_print_cfg _s2255_print_cfg: ; @s2255_print_cfg .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 ldr x20, [x0] Lloh0: adrp x21, l_.str@PAGE Lloh1: add x21, x21, l_.str@PAGEOFF mov x0, x20 mov x1, x21 bl _dev_info ldp w9, w8, [x19, #12] stp x8, x9, [sp] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _dev_info ldp w9, w8, [x19, #4] stp x8, x9, [sp] Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _dev_info ldr w8, [x19] str x8, [sp] Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _dev_info mov x0, x20 mov x1, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _dev_info .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 "------------------------------------------------\n" l_.str.1: ; @.str.1 .asciz "format: %d\nscale %d\n" l_.str.2: ; @.str.2 .asciz "fdec: %d\ncolor %d\n" l_.str.3: ; @.str.3 .asciz "bright: 0x%x\n" .no_dead_strip _s2255_print_cfg .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/s2255/extr_s2255drv.c_s2255_print_cfg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tee_open _tee_open: ## @tee_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %rax movq %rdi, %rbx movq %rsi, -48(%rbp) movq 16(%rdi), %r12 leaq L_.str(%rip), %rsi leaq -48(%rbp), %rdx movq %rax, %rdi callq _av_strstart movq _AVIO_FLAG_READ@GOTPCREL(%rip), %rax movl (%rax), %eax orl %r14d, %eax je LBB0_1 ## %bb.25: movq _ENOSYS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AVERROR movl %eax, %r13d jmp LBB0_24 LBB0_1: movl %r14d, -52(%rbp) ## 4-byte Spill movq -48(%rbp), %rax cmpb $0, (%rax) je LBB0_14 ## %bb.2: leaq 12(%rbx), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq _child_delim@GOTPCREL(%rip), %r14 leaq -88(%rbp), %r15 jmp LBB0_3 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 cmpb $0, (%rcx) je LBB0_14 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r14), %esi leaq -48(%rbp), %rdi callq _av_get_token movq %rax, -72(%rbp) movq $0, -64(%rbp) movq $0, -88(%rbp) testq %rax, %rax je LBB0_4 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq 8(%r12), %rdi movl (%r12), %esi decl %esi movl $8, %edx callq _av_realloc_array testq %rax, %rax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq %rax, 8(%r12) movslq (%r12), %rcx leaq (%rax,%rcx,8), %rdi xorl %esi, %esi movl $8, %edx callq _memset movq -72(%rbp), %rsi movq %rbx, %rdi movq %r15, %rdx leaq -64(%rbp), %rcx callq _ff_tee_parse_slave_options testl %eax, %eax jle LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movslq (%r12), %rdi shlq $3, %rdi addq 8(%r12), %rdi movq -64(%rbp), %rsi movl 4(%rbx), %eax movl 8(%rbx), %r9d movl -52(%rbp), %edx ## 4-byte Reload movq -80(%rbp), %rcx ## 8-byte Reload movq %r15, %r8 pushq %rbx pushq %rax callq _ffurl_open_whitelist addq $16, %rsp jmp LBB0_10 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AVERROR LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %r13d leaq -72(%rbp), %rdi callq _av_freep movq %r15, %rdi callq _av_dict_free testl %r13d, %r13d js LBB0_5 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 incl (%r12) movq -48(%rbp), %rdi movl (%r14), %esi callq _strspn movq -48(%rbp), %rcx testq %rax, %rax je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 incq %rcx movq %rcx, -48(%rbp) jmp LBB0_13 LBB0_14: movl $0, (%rbx) movslq (%r12), %rsi testq %rsi, %rsi jle LBB0_23 ## %bb.15: movq 8(%r12), %rdx movl %esi, %eax andl $3, %eax cmpl $4, %esi jae LBB0_17 ## %bb.16: xorl %edi, %edi xorl %ecx, %ecx jmp LBB0_19 LBB0_4: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %edi callq _AVERROR movl %eax, %r13d LBB0_5: movq %rbx, %rdi callq _tee_close jmp LBB0_24 LBB0_17: andl $2147483644, %esi ## imm = 0x7FFFFFFC xorl %edi, %edi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_18: ## =>This Inner Loop Header: Depth=1 movq (%rdx,%rdi,8), %r8 movq 8(%rdx,%rdi,8), %r9 orl (%r8), %ecx orl (%r9), %ecx movq 16(%rdx,%rdi,8), %r8 orl (%r8), %ecx movq 24(%rdx,%rdi,8), %r8 orl (%r8), %ecx addq $4, %rdi cmpq %rdi, %rsi jne LBB0_18 LBB0_19: testq %rax, %rax je LBB0_22 ## %bb.20: leaq (%rdx,%rdi,8), %rdx xorl %esi, %esi .p2align 4, 0x90 LBB0_21: ## =>This Inner Loop Header: Depth=1 movq (%rdx,%rsi,8), %rdi orl (%rdi), %ecx incq %rsi cmpq %rsi, %rax jne LBB0_21 LBB0_22: movl %ecx, (%rbx) LBB0_23: xorl %r13d, %r13d LBB0_24: movl %r13d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tee:" .comm _AVIO_FLAG_READ,4,2 ## @AVIO_FLAG_READ .comm _ENOSYS,4,2 ## @ENOSYS .comm _child_delim,4,2 ## @child_delim .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _tee_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tee_open _tee_open: ; @tee_open .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x8, x1 mov x19, x0 str x1, [sp, #24] ldr x22, [x0, #16] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x2, sp, #24 mov x0, x8 bl _av_strstart Lloh2: adrp x8, _AVIO_FLAG_READ@GOTPAGE Lloh3: ldr x8, [x8, _AVIO_FLAG_READ@GOTPAGEOFF] Lloh4: ldr w8, [x8] orr w8, w8, w20 cbz w8, LBB0_2 ; %bb.1: Lloh5: adrp x8, _ENOSYS@GOTPAGE Lloh6: ldr x8, [x8, _ENOSYS@GOTPAGEOFF] Lloh7: ldr w0, [x8] bl _AVERROR mov x21, x0 b LBB0_25 LBB0_2: ldr x8, [sp, #24] ldrb w8, [x8] cbz w8, LBB0_13 ; %bb.3: Lloh8: adrp x23, _child_delim@GOTPAGE Lloh9: ldr x23, [x23, _child_delim@GOTPAGEOFF] Lloh10: adrp x24, _ENOMEM@GOTPAGE Lloh11: ldr x24, [x24, _ENOMEM@GOTPAGEOFF] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldrb w8, [x8] cbz w8, LBB0_13 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w1, [x23] add x0, sp, #24 bl _av_get_token stp xzr, x0, [sp, #8] str xzr, [sp] cbz x0, LBB0_17 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x22, #8] ldr w8, [x22] sub w1, w8, #1 mov w2, #8 ; =0x8 bl _av_realloc_array cbz x0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 str x0, [x22, #8] ldrsw x8, [x22] add x0, x0, x8, lsl #3 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _memset ldr x1, [sp, #16] mov x2, sp add x3, sp, #8 mov x0, x19 bl _ff_tee_parse_slave_options cmp w0, #1 b.lt LBB0_10 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x22, #8] ldrsw x9, [x22] add x0, x8, x9, lsl #3 ldr x1, [sp, #8] ldp w6, w5, [x19, #4] add x3, x19, #12 mov x4, sp mov x2, x20 mov x7, x19 bl _ffurl_open_whitelist b LBB0_10 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x24] bl _AVERROR LBB0_10: ; in Loop: Header=BB0_5 Depth=1 mov x21, x0 add x0, sp, #16 bl _av_freep mov x0, sp bl _av_dict_free tbnz w21, #31, LBB0_18 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x22] add w8, w8, #1 str w8, [x22] ldr x0, [sp, #24] ldr w1, [x23] bl _strspn ldr x8, [sp, #24] cbz x0, LBB0_4 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 add x8, x8, #1 str x8, [sp, #24] b LBB0_4 LBB0_13: str wzr, [x19] ldr w8, [x22] cmp w8, #1 b.lt LBB0_16 ; %bb.14: ldr x9, [x22, #8] cmp w8, #4 b.hs LBB0_19 ; %bb.15: mov x10, #0 ; =0x0 mov w11, #0 ; =0x0 b LBB0_22 LBB0_16: mov w21, #0 ; =0x0 b LBB0_25 LBB0_17: ldr w0, [x24] bl _AVERROR mov x21, x0 LBB0_18: mov x0, x19 bl _tee_close b LBB0_25 LBB0_19: mov w11, #0 ; =0x0 mov w12, #0 ; =0x0 mov w13, #0 ; =0x0 mov w14, #0 ; =0x0 and x10, x8, #0x7ffffffc add x15, x9, #16 mov x16, x10 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldp x17, x0, [x15, #-16] ldp x1, x2, [x15], #32 ldr w17, [x17] ldr w0, [x0] ldr w1, [x1] orr w11, w11, w17 orr w12, w12, w0 ldr w17, [x2] orr w13, w13, w1 orr w14, w14, w17 subs x16, x16, #4 b.ne LBB0_20 ; %bb.21: orr w11, w12, w11 orr w12, w14, w13 orr w11, w12, w11 cmp x10, x8 b.eq LBB0_24 LBB0_22: add x9, x9, x10, lsl #3 sub x8, x8, x10 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9], #8 ldr w10, [x10] orr w11, w11, w10 subs x8, x8, #1 b.ne LBB0_23 LBB0_24: mov w21, #0 ; =0x0 str w11, [x19] LBB0_25: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tee:" .comm _AVIO_FLAG_READ,4,2 ; @AVIO_FLAG_READ .comm _ENOSYS,4,2 ; @ENOSYS .comm _child_delim,4,2 ; @child_delim .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _tee_open .subsections_via_symbols
assembly_file_121806.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _nfs4_proc_delegreturn __nfs4_proc_delegreturn: ## @_nfs4_proc_delegreturn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $120, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r15 callq _NFS_SERVER movq %rax, %r13 xorps %xmm0, %xmm0 movaps %xmm0, -112(%rbp) movq %rbx, -96(%rbp) movq _nfs4_procedures@GOTPCREL(%rip), %rax movq _NFSPROC4_CLNT_DELEGRETURN@GOTPCREL(%rip), %rcx movq (%rcx), %rcx shlq $2, %rcx addq (%rax), %rcx movq %rcx, -88(%rbp) movq _RPC_TASK_ASYNC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -144(%rbp) movq _nfs4_delegreturn_ops@GOTPCREL(%rip), %rax movq %rax, -136(%rbp) leaq -112(%rbp), %rax movq %rax, -128(%rbp) movl 4(%r13), %eax movl %eax, -120(%rbp) movq _GFP_NOFS@GOTPCREL(%rip), %rax movl (%rax), %esi movl $80, %edi callq _kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movl %r14d, -44(%rbp) ## 4-byte Spill addq $32, %rax movq %rax, -72(%rbp) ## 8-byte Spill leaq 56(%rbx), %rdi leaq 8(%rbx), %rax movq %rax, -64(%rbp) ## 8-byte Spill leaq 24(%rbx), %rsi movl $1, %edx callq _nfs41_init_sequence movq %r15, %rdi leaq 72(%rbx), %r14 movq %r14, 48(%rbx) movq %r12, %r15 leaq 68(%rbx), %r12 movq %r12, 40(%rbx) movl (%r13), %eax movl %eax, 32(%rbx) movq %rdi, -56(%rbp) ## 8-byte Spill callq _NFS_FH movq %r14, %rdi movl %eax, %esi callq _nfs_copy_fh movq %r12, %rdi movq %r15, %rsi callq _nfs4_stateid_copy movq %rbx, %r12 addq $4, %r12 movq %r12, 8(%rbx) movq %r13, 16(%rbx) movq %r12, %rdi callq _nfs_fattr_init movq _jiffies@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 64(%rbx) movl $0, (%rbx) movq %rbx, -152(%rbp) movq -72(%rbp), %rax ## 8-byte Reload movq %rax, -104(%rbp) movq -64(%rbp), %rax ## 8-byte Reload movq %rax, -112(%rbp) leaq -152(%rbp), %rdi callq _rpc_run_task movq %rax, %r13 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_4 ## %bb.3: movq %r13, %rdi callq _PTR_ERR movl %eax, %r14d jmp LBB0_10 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_10 LBB0_4: movq -56(%rbp), %r15 ## 8-byte Reload xorl %r14d, %r14d cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_9 ## %bb.5: movq %r13, %rdi callq _nfs4_wait_for_completion_rpc_task movl %eax, %r14d testl %eax, %eax jne LBB0_9 ## %bb.6: movl (%rbx), %r14d movq %r15, %rdi movq %r12, %rsi testl %r14d, %r14d je LBB0_7 ## %bb.8: callq _nfs_refresh_inode jmp LBB0_9 LBB0_7: callq _nfs_post_op_update_inode_force_wcc xorl %r14d, %r14d LBB0_9: movq %r13, %rdi callq _rpc_put_task LBB0_10: movl %r14d, %eax addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _nfs4_procedures,8,3 ## @nfs4_procedures .comm _NFSPROC4_CLNT_DELEGRETURN,8,3 ## @NFSPROC4_CLNT_DELEGRETURN .comm _RPC_TASK_ASYNC,4,2 ## @RPC_TASK_ASYNC .comm _nfs4_delegreturn_ops,4,2 ## @nfs4_delegreturn_ops .comm _GFP_NOFS,4,2 ## @GFP_NOFS .comm _ENOMEM,4,2 ## @ENOMEM .comm _jiffies,4,2 ## @jiffies .no_dead_strip __nfs4_proc_delegreturn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _nfs4_proc_delegreturn __nfs4_proc_delegreturn: ; @_nfs4_proc_delegreturn .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x3 mov x22, x2 mov x21, x1 mov x19, x0 bl _NFS_SERVER mov x23, x0 Lloh0: adrp x8, _nfs4_procedures@GOTPAGE Lloh1: ldr x8, [x8, _nfs4_procedures@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _NFSPROC4_CLNT_DELEGRETURN@GOTPAGE Lloh4: ldr x9, [x9, _NFSPROC4_CLNT_DELEGRETURN@GOTPAGEOFF] Lloh5: ldr x9, [x9] add x8, x8, x9, lsl #2 stp xzr, xzr, [sp, #48] stp x21, x8, [sp, #64] Lloh6: adrp x8, _RPC_TASK_ASYNC@GOTPAGE Lloh7: ldr x8, [x8, _RPC_TASK_ASYNC@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [sp, #16] Lloh9: adrp x8, _nfs4_delegreturn_ops@GOTPAGE Lloh10: ldr x8, [x8, _nfs4_delegreturn_ops@GOTPAGEOFF] add x9, sp, #48 stp x8, x9, [sp, #24] ldr w8, [x0, #4] str w8, [sp, #40] Lloh11: adrp x8, _GFP_NOFS@GOTPAGE Lloh12: ldr x8, [x8, _GFP_NOFS@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov w0, #80 bl _kzalloc cbz x0, LBB0_3 ; %bb.1: mov x21, x0 add x0, x0, #56 add x1, x21, #24 mov w2, #1 bl _nfs41_init_sequence add x24, x21, #72 add x25, x21, #68 stp x25, x24, [x21, #40] ldr w8, [x23] mov x26, x21 str w8, [x26, #32]! mov x0, x19 bl _NFS_FH mov x1, x0 mov x0, x24 bl _nfs_copy_fh mov x0, x25 mov x1, x22 bl _nfs4_stateid_copy add x24, x21, #4 mov x22, x21 str x24, [x22, #8]! str x23, [x21, #16] mov x0, x24 bl _nfs_fattr_init Lloh14: adrp x8, _jiffies@GOTPAGE Lloh15: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh16: ldr w8, [x8] str w8, [x21, #64] str wzr, [x21] str x21, [sp, #8] stp x22, x26, [sp, #48] add x0, sp, #8 bl _rpc_run_task mov x22, x0 bl _IS_ERR cbz x0, LBB0_4 ; %bb.2: mov x0, x22 bl _PTR_ERR mov x20, x0 b LBB0_10 LBB0_3: Lloh17: adrp x8, _ENOMEM@GOTPAGE Lloh18: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh19: ldr w8, [x8] neg w20, w8 b LBB0_10 LBB0_4: cbz w20, LBB0_9 ; %bb.5: mov x0, x22 bl _nfs4_wait_for_completion_rpc_task mov x20, x0 cbnz w0, LBB0_9 ; %bb.6: ldr w20, [x21] cbz w20, LBB0_8 ; %bb.7: mov x0, x19 mov x1, x24 bl _nfs_refresh_inode b LBB0_9 LBB0_8: mov x0, x19 mov x1, x24 bl _nfs_post_op_update_inode_force_wcc LBB0_9: mov x0, x22 bl _rpc_put_task LBB0_10: mov x0, x20 ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _nfs4_procedures,8,3 ; @nfs4_procedures .comm _NFSPROC4_CLNT_DELEGRETURN,8,3 ; @NFSPROC4_CLNT_DELEGRETURN .comm _RPC_TASK_ASYNC,4,2 ; @RPC_TASK_ASYNC .comm _nfs4_delegreturn_ops,4,2 ; @nfs4_delegreturn_ops .comm _GFP_NOFS,4,2 ; @GFP_NOFS .comm _ENOMEM,4,2 ; @ENOMEM .comm _jiffies,4,2 ; @jiffies .no_dead_strip __nfs4_proc_delegreturn .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4proc.c__nfs4_proc_delegreturn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function EUC_AddCodeSpaceRange _EUC_AddCodeSpaceRange: ## @EUC_AddCodeSpaceRange .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 movabsq $549755813888, %rsi ## imm = 0x8000000000 xorl %edx, %edx callq _HPDF_CMapEncoder_AddCodeSpaceRange movq _HPDF_OK@GOTPCREL(%rip), %r14 cmpq (%r14), %rax jne LBB0_3 ## %bb.1: movabsq $157088428887712, %rsi ## imm = 0x8EDF00008EA0 movq %rbx, %rdi xorl %edx, %edx callq _HPDF_CMapEncoder_AddCodeSpaceRange cmpq (%r14), %rax jne LBB0_3 ## %bb.2: movabsq $280366875189665, %rsi ## imm = 0xFEFE0000A1A1 movq %rbx, %rdi xorl %edx, %edx callq _HPDF_CMapEncoder_AddCodeSpaceRange cmpq (%r14), %rax je LBB0_4 LBB0_3: movq (%rbx), %rax movq (%rax), %rax LBB0_4: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _HPDF_OK,8,3 ## @HPDF_OK .no_dead_strip _EUC_AddCodeSpaceRange .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function EUC_AddCodeSpaceRange _EUC_AddCodeSpaceRange: ; @EUC_AddCodeSpaceRange .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 x1, #549755813888 mov x2, #0 bl _HPDF_CMapEncoder_AddCodeSpaceRange Lloh0: adrp x20, _HPDF_OK@GOTPAGE Lloh1: ldr x20, [x20, _HPDF_OK@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.ne LBB0_3 ; %bb.1: mov x0, x19 mov x1, #36512 movk x1, #36575, lsl #32 mov x2, #0 bl _HPDF_CMapEncoder_AddCodeSpaceRange ldr x8, [x20] cmp x0, x8 b.ne LBB0_3 ; %bb.2: mov x0, x19 mov x1, #41377 movk x1, #65278, lsl #32 mov x2, #0 bl _HPDF_CMapEncoder_AddCodeSpaceRange ldr x8, [x20] cmp x0, x8 b.eq LBB0_4 LBB0_3: ldr x8, [x19] ldr x0, [x8] LBB0_4: 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 _HPDF_OK,8,3 ; @HPDF_OK .no_dead_strip _EUC_AddCodeSpaceRange .subsections_via_symbols
AnghaBench/poco/PDF/src/extr_hpdf_encoder_jp.c_EUC_AddCodeSpaceRange.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dnode_buf_evict_async _dnode_buf_evict_async: ## @dnode_buf_evict_async .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 _dnode_buf_evict@GOTPCREL(%rip), %rax movl (%rax), %edi callq _DNODE_STAT_BUMP movl (%r12), %esi testl %esi, %esi jle LBB0_5 ## %bb.1: movl $8, %ebx xorl %r13d, %r13d movq %r12, -48(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _zrl_destroy movq _DN_SLOT_UNINIT@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%r14,%rbx) incq %r13 movslq (%r12), %rsi addq $16, %rbx cmpq %rsi, %r13 jge LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %r14 leaq (%r14,%rbx), %r15 movq -8(%r14,%rbx), %rdi callq _DN_SLOT_IS_PTR testl %eax, %eax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _zrl_add movq -8(%r14,%rbx), %r12 leaq 4(%r12), %rdi callq _zfs_refcount_is_zero movl %eax, %edi callq _ASSERT movq %r12, %rdi callq _zfs_refcount_is_zero movl %eax, %edi callq _ASSERT movq %r12, %rdi movq -48(%rbp), %r12 ## 8-byte Reload callq _dnode_destroy jmp LBB0_4 LBB0_5: shll $4, %esi addl $16, %esi movq %r12, %rdi ## kill: def $esi killed $esi killed $rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _kmem_free ## TAILCALL .cfi_endproc ## -- End function .comm _dnode_buf_evict,4,2 ## @dnode_buf_evict .comm _DN_SLOT_UNINIT,8,3 ## @DN_SLOT_UNINIT .no_dead_strip _dnode_buf_evict_async .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dnode_buf_evict_async _dnode_buf_evict_async: ; @dnode_buf_evict_async .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 Lloh0: adrp x8, _dnode_buf_evict@GOTPAGE Lloh1: ldr x8, [x8, _dnode_buf_evict@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _DNODE_STAT_BUMP ldr w8, [x19] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x22, #0 mov x23, #0 Lloh3: adrp x24, _DN_SLOT_UNINIT@GOTPAGE Lloh4: ldr x24, [x24, _DN_SLOT_UNINIT@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _zrl_destroy ldr x8, [x24] str x8, [x25, x22] add x23, x23, #1 ldrsw x8, [x19] add x22, x22, #16 cmp x23, x8 b.ge LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x25, [x19, #8] add x20, x25, x22 ldr x0, [x20], #8 bl _DN_SLOT_IS_PTR cbz w0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _zrl_add ldr x21, [x25, x22] add x0, x21, #4 bl _zfs_refcount_is_zero bl _ASSERT mov x0, x21 bl _zfs_refcount_is_zero bl _ASSERT mov x0, x21 bl _dnode_destroy b LBB0_2 LBB0_5: lsl w8, w8, #4 add w1, w8, #16 mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _kmem_free .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _dnode_buf_evict,4,2 ; @dnode_buf_evict .comm _DN_SLOT_UNINIT,8,3 ; @DN_SLOT_UNINIT .no_dead_strip _dnode_buf_evict_async .subsections_via_symbols
AnghaBench/freebsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/extr_dnode.c_dnode_buf_evict_async.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hangul_decomp _hangul_decomp: ## @hangul_decomp .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 %rdx, %r9 movq (%rdi), %rdi movq _s_base@GOTPCREL(%rip), %rax movq (%rax), %rdx xorl %eax, %eax cmpq %rdx, %rdi jl LBB0_7 ## %bb.1: movq _s_count@GOTPCREL(%rip), %rsi movq (%rsi), %rsi addq %rdx, %rsi cmpq %rsi, %rdi jge LBB0_7 ## %bb.2: subl %edx, %edi movq _t_count@GOTPCREL(%rip), %rax movl (%rax), %r10d movl %edi, %eax xorl %edx, %edx divl %r10d cmpl $1, %edx movl $3, %esi sbbq $0, %rsi cmpq %rsi, (%rcx) jae LBB0_4 ## %bb.3: movq _WIND_ERR_OVERRUN@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_7 LBB0_4: movl %edx, %r8d movq _t_base@GOTPCREL(%rip), %rax movl (%rax), %r11d movq _n_count@GOTPCREL(%rip), %rbx movl %edi, %eax xorl %edx, %edx divl (%rbx) movl %eax, %edi movl %edx, %eax movq _v_base@GOTPCREL(%rip), %rbx xorl %edx, %edx divl %r10d ## kill: def $eax killed $eax def $rax addl (%rbx), %eax movq _l_base@GOTPCREL(%rip), %rdx addl (%rdx), %edi addl %r8d, %r11d movq %rdi, (%r9) movq %rax, 8(%r9) testl %r8d, %r8d je LBB0_6 ## %bb.5: movl %r11d, %eax movq %rax, 16(%r9) LBB0_6: movq %rsi, (%rcx) movl $1, %eax LBB0_7: popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _s_base,8,3 ## @s_base .comm _s_count,8,3 ## @s_count .comm _l_base,4,2 ## @l_base .comm _n_count,4,2 ## @n_count .comm _v_base,4,2 ## @v_base .comm _t_count,4,2 ## @t_count .comm _t_base,4,2 ## @t_base .comm _WIND_ERR_OVERRUN,4,2 ## @WIND_ERR_OVERRUN .no_dead_strip _hangul_decomp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hangul_decomp _hangul_decomp: ; @hangul_decomp .cfi_startproc ; %bb.0: ldr x8, [x0] Lloh0: adrp x9, _s_base@GOTPAGE Lloh1: ldr x9, [x9, _s_base@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.lt LBB0_4 ; %bb.1: Lloh3: adrp x10, _s_count@GOTPAGE Lloh4: ldr x10, [x10, _s_count@GOTPAGEOFF] Lloh5: ldr x10, [x10] add x10, x10, x9 cmp x8, x10 b.ge LBB0_4 ; %bb.2: sub w10, w8, w9 Lloh6: adrp x8, _t_count@GOTPAGE Lloh7: ldr x8, [x8, _t_count@GOTPAGEOFF] Lloh8: ldr w11, [x8] udiv w8, w10, w11 msub w8, w8, w11, w10 cmp w8, #0 mov w9, #2 cinc x9, x9, ne ldr x12, [x3] cmp x12, x9 b.hs LBB0_5 ; %bb.3: Lloh9: adrp x8, _WIND_ERR_OVERRUN@GOTPAGE Lloh10: ldr x8, [x8, _WIND_ERR_OVERRUN@GOTPAGEOFF] Lloh11: ldr w0, [x8] ret LBB0_4: mov w0, #0 ret LBB0_5: Lloh12: adrp x12, _t_base@GOTPAGE Lloh13: ldr x12, [x12, _t_base@GOTPAGEOFF] Lloh14: ldr w12, [x12] Lloh15: adrp x13, _v_base@GOTPAGE Lloh16: ldr x13, [x13, _v_base@GOTPAGEOFF] Lloh17: adrp x14, _n_count@GOTPAGE Lloh18: ldr x14, [x14, _n_count@GOTPAGEOFF] Lloh19: ldr w13, [x13] Lloh20: ldr w14, [x14] udiv w15, w10, w14 msub w10, w15, w14, w10 udiv w10, w10, w11 add w10, w10, w13 Lloh21: adrp x11, _l_base@GOTPAGE Lloh22: ldr x11, [x11, _l_base@GOTPAGEOFF] Lloh23: ldr w11, [x11] add w11, w15, w11 stp x11, x10, [x2] cbz w8, LBB0_7 ; %bb.6: add w8, w8, w12 str x8, [x2, #16] LBB0_7: str x9, [x3] mov w0, #1 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh19 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _s_base,8,3 ; @s_base .comm _s_count,8,3 ; @s_count .comm _l_base,4,2 ; @l_base .comm _n_count,4,2 ; @n_count .comm _v_base,4,2 ; @v_base .comm _t_count,4,2 ; @t_count .comm _t_base,4,2 ; @t_base .comm _WIND_ERR_OVERRUN,4,2 ; @WIND_ERR_OVERRUN .no_dead_strip _hangul_decomp .subsections_via_symbols
AnghaBench/freebsd/crypto/heimdal/lib/wind/extr_normalize.c_hangul_decomp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla82xx_read_temperature ## -- Begin function qla82xx_read_temperature .p2align 4, 0x90 _qla82xx_read_temperature: ## @qla82xx_read_temperature .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi movq _CRB_TEMP_STATE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _qla82xx_rd_32 movl %eax, %edi popq %rbp jmp _qla82xx_get_temp_val ## TAILCALL .cfi_endproc ## -- End function .comm _CRB_TEMP_STATE,4,2 ## @CRB_TEMP_STATE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qla82xx_read_temperature ; -- Begin function qla82xx_read_temperature .p2align 2 _qla82xx_read_temperature: ; @qla82xx_read_temperature .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 ldr w0, [x0] Lloh0: adrp x8, _CRB_TEMP_STATE@GOTPAGE Lloh1: ldr x8, [x8, _CRB_TEMP_STATE@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _qla82xx_rd_32 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _qla82xx_get_temp_val .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CRB_TEMP_STATE,4,2 ; @CRB_TEMP_STATE .subsections_via_symbols
AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_nx.c_qla82xx_read_temperature.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function cwc_convnet_channel_eigen LCPI0_0: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .globl _cwc_convnet_channel_eigen .p2align 4, 0x90 _cwc_convnet_channel_eigen: ## @cwc_convnet_channel_eigen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $264, %rsp ## imm = 0x108 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -192(%rbp) ## 8-byte Spill movq %r8, -184(%rbp) ## 8-byte Spill movl %ecx, %ebx movq %rdx, -112(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rdi, -136(%rbp) ## 8-byte Spill movq %rdx, %r13 shrq $32, %r13 xorl %edi, %edi cmpl $3, %ecx sete %dil callq _assert leal (,%rbx,8), %r15d movl %r15d, %edi callq _alloca movq %rax, %r14 movq %rax, %rdi xorl %esi, %esi movl %r15d, -48(%rbp) ## 4-byte Spill movl %r15d, %edx callq _memset movl 16(%r12), %edi callq _CCV_GET_CHANNEL xorl %edi, %edi cmpl %ebx, %eax sete %dil callq _assert xorl %edi, %edi movq -112(%rbp), %r15 ## 8-byte Reload cmpl %r15d, (%r12) sete %dil callq _assert xorl %edi, %edi cmpl %r13d, 4(%r12) sete %dil callq _assert movq %r13, -128(%rbp) ## 8-byte Spill ## kill: def $r13d killed $r13d killed $r13 def $r13 movq %r15, %rax imull %eax, %r13d movq %rbx, -56(%rbp) ## 8-byte Spill movl %ebx, %ebx movq %r13, -104(%rbp) ## 8-byte Spill testl %r13d, %r13d movq %rbx, -176(%rbp) ## 8-byte Spill js LBB0_17 ## %bb.1: movq -104(%rbp), %rax ## 8-byte Reload incl %eax leaq (,%rbx,8), %rcx leaq (%r14,%rbx,8), %rdx movq %rdx, -72(%rbp) ## 8-byte Spill movl %ebx, %edx andl $2147483644, %edx ## imm = 0x7FFFFFFC movq %rdx, -80(%rbp) ## 8-byte Spill movl %ebx, %edi andl $3, %edi movq -56(%rbp), %r8 ## 8-byte Reload ## kill: def $r8d killed $r8d killed $r8 def $r8 shrl $2, %r8d andl $536870911, %r8d ## imm = 0x1FFFFFFF shlq $5, %r8 leaq 24(%r14), %rdx movq %rdx, -64(%rbp) ## 8-byte Spill movl $16, %r10d xorl %r11d, %r11d xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 incq %r15 addq %rcx, %r10 addq %rcx, %r11 cmpq %rax, %r15 je LBB0_17 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_14 Depth 2 ## Child Loop BB0_7 Depth 2 ## Child Loop BB0_10 Depth 2 cmpl $0, -56(%rbp) ## 4-byte Folded Reload jle LBB0_16 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r12), %r13 cmpl $3, -56(%rbp) ## 4-byte Folded Reload jbe LBB0_4 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movq %rcx, %rdx imulq %r15, %rdx addq %r13, %rdx addq %rcx, %rdx cmpq %r14, %rdx jbe LBB0_13 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdx imulq %rbx, %rdx leaq (,%rdx,8), %rdx addq %r13, %rdx cmpq -72(%rbp), %rdx ## 8-byte Folded Reload jae LBB0_13 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 xorl %edx, %edx LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %rsi testq %rdi, %rdi je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 leaq (%r11,%r13), %r9 movq %rdi, %rbx movq %rdx, %rsi .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%r9,%rsi,8), %xmm0 ## xmm0 = mem[0],zero addsd (%r14,%rsi,8), %xmm0 movsd %xmm0, (%r14,%rsi,8) incq %rsi decq %rbx jne LBB0_7 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq -176(%rbp), %rbx ## 8-byte Reload subq %rbx, %rdx cmpq $-4, %rdx ja LBB0_16 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdx subq %rsi, %rdx movq -64(%rbp), %r9 ## 8-byte Reload leaq (%r9,%rsi,8), %r9 leaq (%r10,%rsi,8), %rsi addq %rsi, %r13 xorl %esi, %esi .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsd -16(%r13,%rsi,8), %xmm0 ## xmm0 = mem[0],zero addsd -24(%r9,%rsi,8), %xmm0 movsd %xmm0, -24(%r9,%rsi,8) movsd -8(%r13,%rsi,8), %xmm0 ## xmm0 = mem[0],zero addsd -16(%r9,%rsi,8), %xmm0 movsd %xmm0, -16(%r9,%rsi,8) movsd (%r13,%rsi,8), %xmm0 ## xmm0 = mem[0],zero addsd -8(%r9,%rsi,8), %xmm0 movsd %xmm0, -8(%r9,%rsi,8) movsd 8(%r13,%rsi,8), %xmm0 ## xmm0 = mem[0],zero addsd (%r9,%rsi,8), %xmm0 movsd %xmm0, (%r9,%rsi,8) addq $4, %rsi cmpq %rsi, %rdx jne LBB0_10 jmp LBB0_16 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 leaq (%r10,%r13), %rdx xorl %esi, %esi .p2align 4, 0x90 LBB0_14: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movupd -16(%rdx,%rsi), %xmm0 movupd (%rdx,%rsi), %xmm1 movupd (%r14,%rsi), %xmm2 addpd %xmm0, %xmm2 movupd 16(%r14,%rsi), %xmm0 addpd %xmm1, %xmm0 movupd %xmm2, (%r14,%rsi) movupd %xmm0, 16(%r14,%rsi) addq $32, %rsi cmpq %rsi, %r8 jne LBB0_14 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 movq -80(%rbp), %rsi ## 8-byte Reload movq %rsi, %rdx cmpl %ebx, %esi je LBB0_16 jmp LBB0_5 LBB0_17: cmpl $0, -56(%rbp) ## 4-byte Folded Reload movq -136(%rbp), %r13 ## 8-byte Reload jle LBB0_24 ## %bb.18: xorps %xmm0, %xmm0 cvtsi2sdl -104(%rbp), %xmm0 ## 4-byte Folded Reload cmpl $1, -56(%rbp) ## 4-byte Folded Reload jne LBB0_20 ## %bb.19: xorl %eax, %eax jmp LBB0_23 LBB0_20: movl %ebx, %eax andl $2147483646, %eax ## imm = 0x7FFFFFFE movddup %xmm0, %xmm1 ## xmm1 = xmm0[0,0] xorl %ecx, %ecx .p2align 4, 0x90 LBB0_21: ## =>This Inner Loop Header: Depth=1 movupd (%r14,%rcx,8), %xmm2 divpd %xmm1, %xmm2 movupd %xmm2, (%r14,%rcx,8) addq $2, %rcx cmpq %rcx, %rax jne LBB0_21 ## %bb.22: cmpl %ebx, %eax je LBB0_24 .p2align 4, 0x90 LBB0_23: ## =>This Inner Loop Header: Depth=1 movsd (%r14,%rax,8), %xmm1 ## xmm1 = mem[0],zero divsd %xmm0, %xmm1 movsd %xmm1, (%r14,%rax,8) incq %rax cmpq %rax, %rbx jne LBB0_23 LBB0_24: movl -48(%rbp), %r12d ## 4-byte Reload imull -56(%rbp), %r12d ## 4-byte Folded Reload movl %r12d, %edi callq _alloca movq %rax, %r15 movq %rax, %rdi xorl %esi, %esi movl %r12d, %edx callq _memset movl (%r13), %ecx testl %ecx, %ecx movq %r15, -88(%rbp) ## 8-byte Spill jle LBB0_25 ## %bb.32: movl -104(%rbp), %eax ## 4-byte Reload movq %rax, -232(%rbp) ## 8-byte Spill leaq (,%rbx,8), %rax movq %rax, -64(%rbp) ## 8-byte Spill leaq 8(,%rbx,8), %rax movq %rax, -72(%rbp) ## 8-byte Spill leaq (%r14,%rbx,8), %rax movq %rax, -248(%rbp) ## 8-byte Spill leaq (%r15,%rbx,8), %rax movq %rax, -240(%rbp) ## 8-byte Spill leaq -1(%rbx), %rax movq %rax, -272(%rbp) ## 8-byte Spill leaq 16(%r14), %rax movq %rax, -216(%rbp) ## 8-byte Spill leaq 16(%r15), %rax movq %rax, -208(%rbp) ## 8-byte Spill leaq 8(%r15), %rax movq %rax, -200(%rbp) ## 8-byte Spill xorl %esi, %esi movl $0, -92(%rbp) ## 4-byte Folded Spill movq -128(%rbp), %r12 ## 8-byte Reload jmp LBB0_33 .p2align 4, 0x90 LBB0_38: ## in Loop: Header=BB0_33 Depth=1 movq _CCV_CLI_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi movl 4(%rcx), %edx leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _PRINT LBB0_64: ## in Loop: Header=BB0_33 Depth=1 movq -152(%rbp), %rsi ## 8-byte Reload incl %esi movl (%r13), %ecx cmpl %ecx, %esi jge LBB0_26 LBB0_33: ## =>This Loop Header: Depth=1 ## Child Loop BB0_46 Depth 2 ## Child Loop BB0_48 Depth 3 ## Child Loop BB0_54 Depth 4 ## Child Loop BB0_59 Depth 4 movl %esi, %eax movl $2987803337, %edx ## imm = 0xB21642C9 imulq %rdx, %rax shrq $36, %rax leal (%rax,%rax,2), %edx shll $3, %edx subl %edx, %eax addl %esi, %eax leal -1(%rcx), %edx xorl %esi, %edx orl %eax, %edx movq %rsi, -152(%rbp) ## 8-byte Spill jne LBB0_35 ## %bb.34: ## in Loop: Header=BB0_33 Depth=1 movq _CCV_CLI_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leal 1(%rsi), %edx leaq L_.str(%rip), %rsi ## kill: def $ecx killed $ecx killed $rcx callq _FLUSH movq -152(%rbp), %rsi ## 8-byte Reload LBB0_35: ## in Loop: Header=BB0_33 Depth=1 movq %r13, %rdi ## kill: def $esi killed $esi killed $rsi callq _ccv_array_get movq %rax, %rcx movq $0, -296(%rbp) movl (%rax), %eax cmpl $129, %eax je LBB0_64 ## %bb.36: ## in Loop: Header=BB0_33 Depth=1 cmpl $128, %eax jne LBB0_38 ## %bb.37: ## in Loop: Header=BB0_33 Depth=1 movl 4(%rcx), %edi movq _CCV_IO_RGB_COLOR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _CCV_IO_ANY_FILE@GOTPCREL(%rip), %rax andl (%rax), %edx leaq -296(%rbp), %rsi movq %rcx, %r15 callq _ccv_read movq %r15, %rcx movq -296(%rbp), %rdi testq %rdi, %rdi je LBB0_38 ## %bb.39: ## in Loop: Header=BB0_33 Depth=1 movq $0, -120(%rbp) movl (%rdi), %eax movl 4(%rdi), %ecx movl %ecx, %edx xorl %r12d, %edx movl %eax, %esi movq %r12, %r13 movq -112(%rbp), %r12 ## 8-byte Reload xorl %r12d, %esi orl %edx, %esi jne LBB0_40 ## %bb.41: ## in Loop: Header=BB0_33 Depth=1 movq %r13, %r12 movq _CCV_32F@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -120(%rbp), %rsi xorl %ecx, %ecx xorl %r8d, %r8d callq _ccv_shift jmp LBB0_42 LBB0_40: ## in Loop: Header=BB0_33 Depth=1 subl %r13d, %ecx leal 1(%rcx), %edx shrl $31, %edx addl %ecx, %edx incl %edx sarl %edx movl %edx, -80(%rbp) ## 4-byte Spill subl %r12d, %eax leal 1(%rax), %edx shrl $31, %edx addl %eax, %edx incl %edx sarl %edx movl %edx, -48(%rbp) ## 4-byte Spill addl $2, %ecx cmpl $3, %ecx setb %cl addl $2, %eax cmpl $3, %eax setb %al orb %cl, %al movzbl %al, %edi callq _assert movq -296(%rbp), %rdi movq _CCV_32F@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r13, %r12 movl %r13d, (%rsp) leaq -120(%rbp), %rsi movl -48(%rbp), %ecx ## 4-byte Reload movl -80(%rbp), %r8d ## 4-byte Reload movq -112(%rbp), %r9 ## 8-byte Reload ## kill: def $r9d killed $r9d killed $r9 callq _ccv_slice LBB0_42: ## in Loop: Header=BB0_33 Depth=1 cmpl $129, (%r15) movq -136(%rbp), %r13 ## 8-byte Reload je LBB0_44 ## %bb.43: ## in Loop: Header=BB0_33 Depth=1 movq -296(%rbp), %rdi callq _ccv_matrix_free LBB0_44: ## in Loop: Header=BB0_33 Depth=1 movq -120(%rbp), %rdi cmpl $0, -104(%rbp) ## 4-byte Folded Reload jle LBB0_63 ## %bb.45: ## in Loop: Header=BB0_33 Depth=1 movq %rdi, -224(%rbp) ## 8-byte Spill movl $16, %eax movq %rax, -168(%rbp) ## 8-byte Spill movq $0, -160(%rbp) ## 8-byte Folded Spill movq $0, -144(%rbp) ## 8-byte Folded Spill jmp LBB0_46 .p2align 4, 0x90 LBB0_61: ## in Loop: Header=BB0_46 Depth=2 movq -144(%rbp), %rcx ## 8-byte Reload incq %rcx movq -64(%rbp), %rax ## 8-byte Reload addq %rax, -168(%rbp) ## 8-byte Folded Spill addq %rax, -160(%rbp) ## 8-byte Folded Spill movq %rcx, -144(%rbp) ## 8-byte Spill cmpq -232(%rbp), %rcx ## 8-byte Folded Reload je LBB0_62 LBB0_46: ## Parent Loop BB0_33 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_48 Depth 3 ## Child Loop BB0_54 Depth 4 ## Child Loop BB0_59 Depth 4 cmpl $0, -56(%rbp) ## 4-byte Folded Reload jle LBB0_61 ## %bb.47: ## in Loop: Header=BB0_46 Depth=2 movq -64(%rbp), %rcx ## 8-byte Reload movq %rcx, %rsi movq -144(%rbp), %rdx ## 8-byte Reload imulq %rdx, %rsi movq -224(%rbp), %rax ## 8-byte Reload movq 8(%rax), %r8 movq %rdx, %rax imulq %rbx, %rax leaq (%r8,%rax,8), %r9 addq %r8, %rsi movq %rsi, -264(%rbp) ## 8-byte Spill leaq (%rsi,%rcx), %rax movq %rax, -256(%rbp) ## 8-byte Spill movq -168(%rbp), %rax ## 8-byte Reload leaq (%r8,%rax), %r11 addq -160(%rbp), %r8 ## 8-byte Folded Reload movq -200(%rbp), %rax ## 8-byte Reload movq -208(%rbp), %rdi ## 8-byte Reload movq -216(%rbp), %rcx ## 8-byte Reload movq %rbx, -80(%rbp) ## 8-byte Spill xorl %edx, %edx jmp LBB0_48 .p2align 4, 0x90 LBB0_60: ## in Loop: Header=BB0_48 Depth=3 incq %rdx decq -80(%rbp) ## 8-byte Folded Spill addq $8, %r11 addq $8, %rcx addq -72(%rbp), %rdi ## 8-byte Folded Reload addq -64(%rbp), %rax ## 8-byte Folded Reload cmpq %rbx, %rdx je LBB0_61 LBB0_48: ## Parent Loop BB0_33 Depth=1 ## Parent Loop BB0_46 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_54 Depth 4 ## Child Loop BB0_59 Depth 4 movq %rbx, %r13 subq %rdx, %r13 movq %rdx, %r10 cmpq $6, %r13 jae LBB0_49 LBB0_56: ## in Loop: Header=BB0_48 Depth=3 movl %ebx, %esi subl %r10d, %esi movq %r10, %r13 testb $1, %sil je LBB0_58 ## %bb.57: ## in Loop: Header=BB0_48 Depth=3 movq %rdx, %rsi imulq %rbx, %rsi movq -88(%rbp), %r15 ## 8-byte Reload leaq (%r15,%rsi,8), %rsi movsd (%r9,%rdx,8), %xmm0 ## xmm0 = mem[0],zero subsd (%r14,%rdx,8), %xmm0 movsd (%r9,%r10,8), %xmm1 ## xmm1 = mem[0],zero subsd (%r14,%r10,8), %xmm1 mulsd %xmm0, %xmm1 addsd (%rsi,%r10,8), %xmm1 movsd %xmm1, (%rsi,%r10,8) leaq 1(%r10), %r13 LBB0_58: ## in Loop: Header=BB0_48 Depth=3 cmpq -272(%rbp), %r10 ## 8-byte Folded Reload je LBB0_60 .p2align 4, 0x90 LBB0_59: ## Parent Loop BB0_33 Depth=1 ## Parent Loop BB0_46 Depth=2 ## Parent Loop BB0_48 Depth=3 ## => This Inner Loop Header: Depth=4 movsd (%r9,%rdx,8), %xmm0 ## xmm0 = mem[0],zero subsd (%r14,%rdx,8), %xmm0 movsd (%r8,%r13,8), %xmm1 ## xmm1 = mem[0],zero subsd (%r14,%r13,8), %xmm1 mulsd %xmm0, %xmm1 addsd -8(%rax,%r13,8), %xmm1 movsd %xmm1, -8(%rax,%r13,8) movsd (%r9,%rdx,8), %xmm0 ## xmm0 = mem[0],zero subsd (%r14,%rdx,8), %xmm0 movsd 8(%r8,%r13,8), %xmm1 ## xmm1 = mem[0],zero subsd 8(%r14,%r13,8), %xmm1 mulsd %xmm0, %xmm1 addsd (%rax,%r13,8), %xmm1 movsd %xmm1, (%rax,%r13,8) addq $2, %r13 cmpq %r13, %rbx jne LBB0_59 jmp LBB0_60 .p2align 4, 0x90 LBB0_49: ## in Loop: Header=BB0_48 Depth=3 movq -264(%rbp), %rsi ## 8-byte Reload leaq (%rsi,%rdx,8), %rsi movq -64(%rbp), %r10 ## 8-byte Reload imulq %rdx, %r10 addq -240(%rbp), %r10 ## 8-byte Folded Reload movq -72(%rbp), %r12 ## 8-byte Reload imulq %rdx, %r12 addq -88(%rbp), %r12 ## 8-byte Folded Reload cmpq -256(%rbp), %r12 ## 8-byte Folded Reload setb %r15b cmpq %r10, %rsi setb -48(%rbp) ## 1-byte Folded Spill cmpq %r10, %r9 setb -42(%rbp) ## 1-byte Folded Spill cmpq -248(%rbp), %r12 ## 8-byte Folded Reload leaq (%r14,%rdx,8), %r12 setb %sil cmpq %r10, %r12 setb %r12b cmpq %r14, %r10 seta -41(%rbp) ## 1-byte Folded Spill movq %rdx, %r10 testb %r15b, -48(%rbp) ## 1-byte Folded Reload jne LBB0_56 ## %bb.50: ## in Loop: Header=BB0_48 Depth=3 movq %rdx, %r10 andb -42(%rbp), %r15b ## 1-byte Folded Reload jne LBB0_56 ## %bb.51: ## in Loop: Header=BB0_48 Depth=3 movq %rdx, %r10 andb %sil, %r12b jne LBB0_56 ## %bb.52: ## in Loop: Header=BB0_48 Depth=3 movq %rdx, %r10 andb -41(%rbp), %sil ## 1-byte Folded Reload jne LBB0_56 ## %bb.53: ## in Loop: Header=BB0_48 Depth=3 movq -80(%rbp), %r15 ## 8-byte Reload andq $-4, %r15 movq %r13, %rsi andq $-4, %rsi leaq (%rdx,%rsi), %r10 movsd (%r9,%rdx,8), %xmm0 ## xmm0 = mem[0],zero subsd (%r14,%rdx,8), %xmm0 movddup %xmm0, %xmm0 ## xmm0 = xmm0[0,0] xorl %ebx, %ebx .p2align 4, 0x90 LBB0_54: ## Parent Loop BB0_33 Depth=1 ## Parent Loop BB0_46 Depth=2 ## Parent Loop BB0_48 Depth=3 ## => This Inner Loop Header: Depth=4 movupd -16(%r11,%rbx,8), %xmm1 movupd (%r11,%rbx,8), %xmm2 movupd -16(%rcx,%rbx,8), %xmm3 subpd %xmm3, %xmm1 movupd (%rcx,%rbx,8), %xmm3 subpd %xmm3, %xmm2 movupd -16(%rdi,%rbx,8), %xmm3 movupd (%rdi,%rbx,8), %xmm4 mulpd %xmm0, %xmm1 addpd %xmm3, %xmm1 mulpd %xmm0, %xmm2 addpd %xmm4, %xmm2 movupd %xmm1, -16(%rdi,%rbx,8) movupd %xmm2, (%rdi,%rbx,8) addq $4, %rbx cmpq %rbx, %r15 jne LBB0_54 ## %bb.55: ## in Loop: Header=BB0_48 Depth=3 cmpq %rsi, %r13 movq -176(%rbp), %rbx ## 8-byte Reload je LBB0_60 jmp LBB0_56 LBB0_62: ## in Loop: Header=BB0_33 Depth=1 movq -120(%rbp), %rdi movq -128(%rbp), %r12 ## 8-byte Reload movq -136(%rbp), %r13 ## 8-byte Reload LBB0_63: ## in Loop: Header=BB0_33 Depth=1 incl -92(%rbp) ## 4-byte Folded Spill callq _ccv_matrix_free jmp LBB0_64 LBB0_26: xorps %xmm0, %xmm0 cvtsi2sdl -92(%rbp), %xmm0 ## 4-byte Folded Reload movq -88(%rbp), %r15 ## 8-byte Reload cmpl $0, -56(%rbp) ## 4-byte Folded Reload jg LBB0_28 jmp LBB0_83 LBB0_25: xorpd %xmm0, %xmm0 cmpl $0, -56(%rbp) ## 4-byte Folded Reload jle LBB0_83 LBB0_28: leaq 16(%r15), %rcx leaq (,%rbx,8), %rax leaq (,%rbx,4), %rdx movq $0, -72(%rbp) ## 8-byte Folded Spill movq %r15, -64(%rbp) ## 8-byte Spill movq %r15, %r9 movq %rcx, %r10 xorl %r11d, %r11d movq -88(%rbp), %r8 ## 8-byte Reload jmp LBB0_29 .p2align 4, 0x90 LBB0_74: ## in Loop: Header=BB0_29 Depth=1 incq %r11 addq $8, %r10 addq %rax, %rcx addq %rax, %r9 addq $8, -64(%rbp) ## 8-byte Folded Spill addq %rbx, -72(%rbp) ## 8-byte Folded Spill cmpq %rbx, %r11 je LBB0_75 LBB0_29: ## =>This Loop Header: Depth=1 ## Child Loop BB0_66 Depth 2 ## Child Loop BB0_70 Depth 2 ## Child Loop BB0_73 Depth 2 testq %r11, %r11 je LBB0_74 ## %bb.30: ## in Loop: Header=BB0_29 Depth=1 cmpl $1, -56(%rbp) ## 4-byte Folded Reload setne %sil cmpq $4, %r11 setb %dil orb %sil, %dil jne LBB0_31 ## %bb.65: ## in Loop: Header=BB0_29 Depth=1 movq %r11, %rsi andq $-4, %rsi movq %r11, %r14 movabsq $9223372036854775804, %rdi ## imm = 0x7FFFFFFFFFFFFFFC andq %rdi, %r14 xorl %edi, %edi .p2align 4, 0x90 LBB0_66: ## Parent Loop BB0_29 Depth=1 ## => This Inner Loop Header: Depth=2 movupd -16(%r10,%rdi,8), %xmm1 movupd (%r10,%rdi,8), %xmm2 movupd %xmm1, -16(%rcx,%rdi,8) movupd %xmm2, (%rcx,%rdi,8) addq $4, %rdi cmpq %rdi, %rsi jne LBB0_66 ## %bb.67: ## in Loop: Header=BB0_29 Depth=1 cmpq %r14, %r11 je LBB0_74 jmp LBB0_68 .p2align 4, 0x90 LBB0_31: ## in Loop: Header=BB0_29 Depth=1 xorl %r14d, %r14d LBB0_68: ## in Loop: Header=BB0_29 Depth=1 movq %r14, %r12 testb $3, %r11b je LBB0_71 ## %bb.69: ## in Loop: Header=BB0_29 Depth=1 movl %r11d, %esi andl $3, %esi movq %rax, %rdi imulq %r14, %rdi addq -64(%rbp), %rdi ## 8-byte Folded Reload movq %r14, %r12 .p2align 4, 0x90 LBB0_70: ## Parent Loop BB0_29 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%rdi), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, (%r9,%r12,8) incq %r12 addq %rax, %rdi decq %rsi jne LBB0_70 LBB0_71: ## in Loop: Header=BB0_29 Depth=1 subq %r11, %r14 cmpq $-4, %r14 ja LBB0_74 ## %bb.72: ## in Loop: Header=BB0_29 Depth=1 leaq 1(%r12), %r14 imulq %rbx, %r14 addq %r11, %r14 leaq 3(%r12), %r15 imulq %rbx, %r15 addq %r11, %r15 movq %rbx, %r13 imulq %r12, %r13 addq %r11, %r13 leaq 2(%r12), %rdi imulq %rbx, %rdi addq %r11, %rdi movq -72(%rbp), %rsi ## 8-byte Reload addq %r12, %rsi .p2align 4, 0x90 LBB0_73: ## Parent Loop BB0_29 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%r8,%r13,8), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, (%r8,%rsi,8) movsd (%r8,%r14,8), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, 8(%r8,%rsi,8) movsd (%r8,%rdi,8), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, 16(%r8,%rsi,8) movsd (%r8,%r15,8), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, 24(%r8,%rsi,8) addq $4, %r12 addq %rdx, %r14 addq %rdx, %r15 addq %rdx, %r13 addq %rdx, %rdi addq $4, %rsi cmpq %r12, %r11 jne LBB0_73 jmp LBB0_74 LBB0_75: xorps %xmm1, %xmm1 cvtsi2sdl -112(%rbp), %xmm1 ## 4-byte Folded Reload mulsd %xmm1, %xmm0 xorps %xmm1, %xmm1 cvtsi2sdl -128(%rbp), %xmm1 ## 4-byte Folded Reload mulsd %xmm0, %xmm1 movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0] divsd %xmm1, %xmm0 movl %ebx, %ecx andl $2147483644, %ecx ## imm = 0x7FFFFFFC movddup %xmm0, %xmm1 ## xmm1 = xmm0[0,0] movq -88(%rbp), %r15 ## 8-byte Reload movq %r15, %rdx addq $16, %rdx movl %ebx, %esi shrl $2, %esi andl $536870911, %esi ## imm = 0x1FFFFFFF shlq $5, %rsi xorl %edi, %edi movq %r15, %r8 jmp LBB0_76 .p2align 4, 0x90 LBB0_82: ## in Loop: Header=BB0_76 Depth=1 incq %rdi addq %rax, %rdx addq %rax, %r8 cmpq %rbx, %rdi je LBB0_83 LBB0_76: ## =>This Loop Header: Depth=1 ## Child Loop BB0_79 Depth 2 ## Child Loop BB0_81 Depth 2 cmpl $4, -56(%rbp) ## 4-byte Folded Reload jae LBB0_78 ## %bb.77: ## in Loop: Header=BB0_76 Depth=1 xorl %r9d, %r9d jmp LBB0_81 .p2align 4, 0x90 LBB0_78: ## in Loop: Header=BB0_76 Depth=1 xorl %r9d, %r9d .p2align 4, 0x90 LBB0_79: ## Parent Loop BB0_76 Depth=1 ## => This Inner Loop Header: Depth=2 movupd -16(%rdx,%r9), %xmm2 movupd (%rdx,%r9), %xmm3 mulpd %xmm1, %xmm2 mulpd %xmm1, %xmm3 movupd %xmm2, -16(%rdx,%r9) movupd %xmm3, (%rdx,%r9) addq $32, %r9 cmpq %r9, %rsi jne LBB0_79 ## %bb.80: ## in Loop: Header=BB0_76 Depth=1 movq %rcx, %r9 cmpl %ebx, %ecx je LBB0_82 .p2align 4, 0x90 LBB0_81: ## Parent Loop BB0_76 Depth=1 ## => This Inner Loop Header: Depth=2 movsd (%r8,%r9,8), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm0, %xmm2 movsd %xmm2, (%r8,%r9,8) incq %r9 cmpq %r9, %rbx jne LBB0_81 jmp LBB0_82 LBB0_83: movq _CCV_64F@GOTPCREL(%rip), %r14 movq _CCV_C1@GOTPCREL(%rip), %rax movl (%rax), %ecx orl (%r14), %ecx leaq -296(%rbp), %rbx movq %rbx, %rdi movl $3, %esi movl $3, %edx movq %r15, %r8 xorl %r9d, %r9d callq _ccv_dense_matrix movl (%r14), %ecx movq %rbx, %rdi movq -184(%rbp), %rsi ## 8-byte Reload movq -192(%rbp), %rdx ## 8-byte Reload xorl %r8d, %r8d callq _ccv_eigen movq _CCV_CLI_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _PRINT addq $264, %rsp ## imm = 0x108 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CCV_CLI_INFO,4,2 ## @CCV_CLI_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " - compute covariance matrix for data augmentation (color gain) %d / %d" .comm _CCV_IO_ANY_FILE,4,2 ## @CCV_IO_ANY_FILE .comm _CCV_IO_RGB_COLOR,4,2 ## @CCV_IO_RGB_COLOR .comm _CCV_CLI_ERROR,4,2 ## @CCV_CLI_ERROR L_.str.1: ## @.str.1 .asciz "cannot load %s.\n" .comm _CCV_32F,4,2 ## @CCV_32F .comm _CCV_64F,4,2 ## @CCV_64F .comm _CCV_C1,4,2 ## @CCV_C1 L_.str.2: ## @.str.2 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cwc_convnet_channel_eigen ; -- Begin function cwc_convnet_channel_eigen .p2align 2 _cwc_convnet_channel_eigen: ; @cwc_convnet_channel_eigen .cfi_startproc ; %bb.0: sub sp, sp, #224 stp x28, x27, [sp, #128] ; 16-byte Folded Spill stp x26, x25, [sp, #144] ; 16-byte Folded Spill stp x24, x23, [sp, #160] ; 16-byte Folded Spill stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x5 mov x21, x4 mov x22, x3 mov x23, x2 mov x26, x1 str x0, [sp, #48] ; 8-byte Folded Spill lsr x24, x2, #32 cmp w3, #3 cset w0, eq bl _assert lsl w19, w22, #3 mov x0, x19 bl _alloca mov x25, x0 mov w1, #0 ; =0x0 mov x2, x19 bl _memset ldr w0, [x26, #16] bl _CCV_GET_CHANNEL cmp w0, w22 cset w0, eq bl _assert ldr w8, [x26] cmp w8, w23 cset w0, eq bl _assert ldr w8, [x26, #4] cmp w8, w24 cset w0, eq bl _assert str x23, [sp, #40] ; 8-byte Folded Spill mul w8, w24, w23 str x8, [sp, #88] ; 8-byte Folded Spill tbnz w8, #31, LBB0_12 ; %bb.1: mov x8, #0 ; =0x0 mov x9, #0 ; =0x0 mov w10, w22 ldr x11, [sp, #88] ; 8-byte Folded Reload add w11, w11, #1 ubfiz x12, x22, #3, #32 add x13, x25, x12 and x14, x10, #0x7ffffff8 add x15, x25, #32 mov w16, #32 ; =0x20 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x9, x9, #1 add x16, x16, x12 add x8, x8, x12 cmp x9, x11 b.eq LBB0_12 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_11 Depth 2 cmp w22, #1 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x17, [x26, #8] cmp w22, #7 b.ls LBB0_9 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mul x0, x12, x9 mul x1, x9, x10 add x1, x17, x1, lsl #3 add x2, x17, x12 add x0, x2, x0 cmp x0, x25 ccmp x1, x13, #2, hi b.lo LBB0_9 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 add x0, x17, x16 mov x1, x15 mov x2, x14 LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q0, q1, [x0, #-32] ldp q2, q3, [x0], #64 ldp q4, q5, [x1, #-32] ldp q6, q7, [x1] fadd.2d v0, v0, v4 fadd.2d v1, v1, v5 fadd.2d v2, v2, v6 fadd.2d v3, v3, v7 stp q0, q1, [x1, #-32] stp q2, q3, [x1], #64 subs x2, x2, #8 b.ne LBB0_7 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 mov x1, x14 cmp x14, x10 b.eq LBB0_2 b LBB0_10 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 mov x1, #0 ; =0x0 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 lsl x0, x1, #3 add x2, x8, x0 add x17, x17, x2 add x0, x25, x0 sub x1, x10, x1 LBB0_11: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d0, [x17], #8 ldr d1, [x0] fadd d0, d0, d1 str d0, [x0], #8 subs x1, x1, #1 b.ne LBB0_11 b LBB0_2 LBB0_12: cmp w22, #1 b.lt LBB0_20 ; %bb.13: ldr x8, [sp, #88] ; 8-byte Folded Reload scvtf d0, w8 mov w8, w22 cmp w22, #7 b.hi LBB0_15 ; %bb.14: mov x9, #0 ; =0x0 b LBB0_18 LBB0_15: and x9, x8, #0x7ffffff8 dup.2d v1, v0[0] add x10, x25, #32 mov x11, x9 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldp q2, q3, [x10, #-32] ldp q4, q5, [x10] fdiv.2d v2, v2, v1 fdiv.2d v3, v3, v1 fdiv.2d v4, v4, v1 fdiv.2d v5, v5, v1 stp q2, q3, [x10, #-32] stp q4, q5, [x10], #64 subs x11, x11, #8 b.ne LBB0_16 ; %bb.17: cmp x9, x8 b.eq LBB0_20 LBB0_18: add x10, x25, x9, lsl #3 sub x8, x8, x9 LBB0_19: ; =>This Inner Loop Header: Depth=1 ldr d1, [x10] fdiv d1, d1, d0 str d1, [x10], #8 subs x8, x8, #1 b.ne LBB0_19 LBB0_20: mul w19, w19, w22 mov x0, x19 bl _alloca mov x26, x0 mov w1, #0 ; =0x0 mov x2, x19 bl _memset ldr x8, [sp, #48] ; 8-byte Folded Reload ldr w3, [x8] cmp w3, #1 b.lt LBB0_53 ; %bb.21: str x24, [sp, #32] ; 8-byte Folded Spill stp x21, x20, [sp, #8] ; 16-byte Folded Spill mov w27, #0 ; =0x0 str wzr, [sp, #60] ; 4-byte Folded Spill mov w19, w22 str x22, [sp, #80] ; 8-byte Folded Spill mov x8, x22 ubfiz x24, x8, #3, #32 add x23, x24, #8 add x28, x25, x24 add x22, x26, x24 add x9, x26, #32 add x8, x25, #32 stp x8, x9, [sp, #64] ; 16-byte Folded Spill ldr x21, [sp, #48] ; 8-byte Folded Reload b LBB0_24 LBB0_22: ; in Loop: Header=BB0_24 Depth=1 Lloh0: adrp x8, _CCV_CLI_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _CCV_CLI_ERROR@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w8, [x20, #4] str x8, [sp] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF bl _PRINT LBB0_23: ; in Loop: Header=BB0_24 Depth=1 add w27, w27, #1 ldr w3, [x21] cmp w27, w3 b.ge LBB0_52 LBB0_24: ; =>This Loop Header: Depth=1 ; Child Loop BB0_37 Depth 2 ; Child Loop BB0_40 Depth 3 ; Child Loop BB0_48 Depth 4 ; Child Loop BB0_42 Depth 4 sub w8, w3, #1 mov w9, #14247 ; =0x37a7 movk w9, #59837, lsl #16 mul w9, w27, w9 mov w10, #25644 ; =0x642c movk w10, #2849, lsl #16 cmp w9, w10 ccmp w27, w8, #0, ls b.ne LBB0_26 ; %bb.25: ; in Loop: Header=BB0_24 Depth=1 Lloh5: adrp x8, _CCV_CLI_INFO@GOTPAGE Lloh6: ldr x8, [x8, _CCV_CLI_INFO@GOTPAGEOFF] Lloh7: ldr w0, [x8] add w2, w27, #1 Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _FLUSH LBB0_26: ; in Loop: Header=BB0_24 Depth=1 mov x0, x21 mov x1, x27 bl _ccv_array_get str xzr, [sp, #96] ldr w8, [x0] cmp w8, #129 b.eq LBB0_23 ; %bb.27: ; in Loop: Header=BB0_24 Depth=1 mov x20, x0 cmp w8, #128 b.ne LBB0_22 ; %bb.28: ; in Loop: Header=BB0_24 Depth=1 ldr w0, [x20, #4] Lloh10: adrp x8, _CCV_IO_ANY_FILE@GOTPAGE Lloh11: ldr x8, [x8, _CCV_IO_ANY_FILE@GOTPAGEOFF] Lloh12: ldr w8, [x8] Lloh13: adrp x9, _CCV_IO_RGB_COLOR@GOTPAGE Lloh14: ldr x9, [x9, _CCV_IO_RGB_COLOR@GOTPAGEOFF] Lloh15: ldr w9, [x9] add x1, sp, #96 and w2, w9, w8 bl _ccv_read ldr x0, [sp, #96] cbz x0, LBB0_22 ; %bb.29: ; in Loop: Header=BB0_24 Depth=1 stur xzr, [x29, #-88] ldp w9, w8, [x0] ldp x21, x11, [sp, #32] ; 16-byte Folded Reload subs w8, w8, w21 ccmp w9, w11, #0, eq b.eq LBB0_31 ; %bb.30: ; in Loop: Header=BB0_24 Depth=1 add w10, w8, #1 add w10, w10, w10, lsr #31 asr w10, w10, #1 str w10, [sp, #28] ; 4-byte Folded Spill sub w9, w9, w11 add w10, w9, #1 add w10, w10, w10, lsr #31 asr w10, w10, #1 str w10, [sp, #24] ; 4-byte Folded Spill add w8, w8, #2 cmp w8, #3 add w8, w9, #2 ccmp w8, #3, #0, hs cset w0, lo bl _assert ldr x0, [sp, #96] Lloh16: adrp x8, _CCV_32F@GOTPAGE Lloh17: ldr x8, [x8, _CCV_32F@GOTPAGEOFF] Lloh18: ldr w2, [x8] sub x1, x29, #88 ldp w3, w4, [sp, #24] ; 8-byte Folded Reload ldr x5, [sp, #40] ; 8-byte Folded Reload ; kill: def $w5 killed $w5 killed $x5 mov x6, x21 bl _ccv_slice b LBB0_32 LBB0_31: ; in Loop: Header=BB0_24 Depth=1 Lloh19: adrp x8, _CCV_32F@GOTPAGE Lloh20: ldr x8, [x8, _CCV_32F@GOTPAGEOFF] Lloh21: ldr w2, [x8] sub x1, x29, #88 mov w3, #0 ; =0x0 mov w4, #0 ; =0x0 bl _ccv_shift LBB0_32: ; in Loop: Header=BB0_24 Depth=1 ldr w8, [x20] cmp w8, #129 ldr x21, [sp, #48] ; 8-byte Folded Reload b.eq LBB0_34 ; %bb.33: ; in Loop: Header=BB0_24 Depth=1 ldr x0, [sp, #96] bl _ccv_matrix_free LBB0_34: ; in Loop: Header=BB0_24 Depth=1 ldur x0, [x29, #-88] ldr x8, [sp, #88] ; 8-byte Folded Reload cmp w8, #1 b.lt LBB0_51 ; %bb.35: ; in Loop: Header=BB0_24 Depth=1 mov x8, #0 ; =0x0 mov x9, #0 ; =0x0 mov w10, #32 ; =0x20 b LBB0_37 LBB0_36: ; in Loop: Header=BB0_37 Depth=2 add x9, x9, #1 add x10, x10, x24 add x8, x8, x24 ldr x11, [sp, #88] ; 8-byte Folded Reload cmp x9, x11 b.eq LBB0_50 LBB0_37: ; Parent Loop BB0_24 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_40 Depth 3 ; Child Loop BB0_48 Depth 4 ; Child Loop BB0_42 Depth 4 ldr x11, [sp, #80] ; 8-byte Folded Reload cmp w11, #1 b.lt LBB0_36 ; %bb.38: ; in Loop: Header=BB0_37 Depth=2 mov x11, #0 ; =0x0 ldr x16, [x0, #8] mul x12, x9, x19 add x12, x16, x12, lsl #3 mul x13, x24, x9 add x13, x16, x13 add x14, x13, x24 add x15, x16, x10 add x16, x16, x8 mov x17, x26 ldp x1, x21, [sp, #64] ; 16-byte Folded Reload mov x3, x19 b LBB0_40 LBB0_39: ; in Loop: Header=BB0_40 Depth=3 add x11, x11, #1 sub x3, x3, #1 add x21, x21, x23 add x1, x1, #8 add x15, x15, #8 add x17, x17, x24 cmp x11, x19 b.eq LBB0_36 LBB0_40: ; Parent Loop BB0_24 Depth=1 ; Parent Loop BB0_37 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_48 Depth 4 ; Child Loop BB0_42 Depth 4 sub x4, x19, x11 mov x5, x11 cmp x4, #8 b.hs LBB0_43 LBB0_41: ; in Loop: Header=BB0_40 Depth=3 lsl x6, x5, #3 add x2, x17, x6 add x4, x16, x6 add x6, x25, x6 sub x5, x19, x5 LBB0_42: ; Parent Loop BB0_24 Depth=1 ; Parent Loop BB0_37 Depth=2 ; Parent Loop BB0_40 Depth=3 ; => This Inner Loop Header: Depth=4 ldr d0, [x12, x11, lsl #3] ldr d1, [x25, x11, lsl #3] fsub d0, d0, d1 ldr d1, [x4], #8 ldr d2, [x6], #8 fsub d1, d1, d2 ldr d2, [x2] fmadd d0, d0, d1, d2 str d0, [x2], #8 subs x5, x5, #1 b.ne LBB0_42 b LBB0_39 LBB0_43: ; in Loop: Header=BB0_40 Depth=3 lsl x2, x11, #3 madd x5, x24, x11, x22 madd x7, x23, x11, x26 cmp x7, x14 cset w6, lo add x20, x13, x2 cmp x20, x5 csel w20, wzr, w6, hs cmp x12, x5 csel w6, wzr, w6, hs cmp x7, x28 cset w30, lo add x2, x25, x2 cmp x2, x5 csel w7, wzr, w30, hs cmp x5, x25 csel w2, wzr, w30, ls mov x5, x11 tbnz w20, #0, LBB0_41 ; %bb.44: ; in Loop: Header=BB0_40 Depth=3 mov x5, x11 tbnz w6, #0, LBB0_41 ; %bb.45: ; in Loop: Header=BB0_40 Depth=3 mov x5, x11 tbnz w7, #0, LBB0_41 ; %bb.46: ; in Loop: Header=BB0_40 Depth=3 mov x5, x11 tbnz w2, #0, LBB0_41 ; %bb.47: ; in Loop: Header=BB0_40 Depth=3 and x6, x3, #0xfffffffffffffff8 and x7, x4, #0xfffffffffffffff8 add x5, x11, x7 ldr d0, [x12, x11, lsl #3] ldr d1, [x25, x11, lsl #3] fsub.2d v0, v0, v1 dup.2d v0, v0[0] mov x20, x15 mov x30, x1 mov x2, x21 LBB0_48: ; Parent Loop BB0_24 Depth=1 ; Parent Loop BB0_37 Depth=2 ; Parent Loop BB0_40 Depth=3 ; => This Inner Loop Header: Depth=4 ldp q1, q2, [x20, #-32] ldp q3, q4, [x20], #64 ldp q5, q6, [x30, #-32] ldp q7, q16, [x30], #64 fsub.2d v1, v1, v5 fsub.2d v2, v2, v6 fsub.2d v3, v3, v7 fsub.2d v4, v4, v16 ldp q5, q6, [x2, #-32] ldp q7, q16, [x2] fmla.2d v5, v1, v0 fmla.2d v6, v2, v0 fmla.2d v7, v3, v0 fmla.2d v16, v4, v0 stp q5, q6, [x2, #-32] stp q7, q16, [x2], #64 subs x6, x6, #8 b.ne LBB0_48 ; %bb.49: ; in Loop: Header=BB0_40 Depth=3 cmp x4, x7 b.eq LBB0_39 b LBB0_41 LBB0_50: ; in Loop: Header=BB0_24 Depth=1 ldur x0, [x29, #-88] ldr x21, [sp, #48] ; 8-byte Folded Reload LBB0_51: ; in Loop: Header=BB0_24 Depth=1 ldr w8, [sp, #60] ; 4-byte Folded Reload add w8, w8, #1 str w8, [sp, #60] ; 4-byte Folded Spill bl _ccv_matrix_free b LBB0_23 LBB0_52: ldr w8, [sp, #60] ; 4-byte Folded Reload scvtf d0, w8 ldp x21, x20, [sp, #8] ; 16-byte Folded Reload ldr x22, [sp, #80] ; 8-byte Folded Reload ldr x24, [sp, #32] ; 8-byte Folded Reload cmp w22, #1 b.ge LBB0_54 b LBB0_73 LBB0_53: movi d0, #0000000000000000 cmp w22, #1 b.lt LBB0_73 LBB0_54: mov x9, #0 ; =0x0 add x10, x26, #32 mov x8, x22 ubfiz x11, x8, #3, #32 mov x12, x26 mov x13, x26 mov x14, x10 mov w8, w22 b LBB0_56 LBB0_55: ; in Loop: Header=BB0_56 Depth=1 add x9, x9, #1 add x14, x14, x11 add x10, x10, #8 add x13, x13, x11 add x12, x12, #8 cmp x9, x8 b.eq LBB0_64 LBB0_56: ; =>This Loop Header: Depth=1 ; Child Loop BB0_60 Depth 2 ; Child Loop BB0_63 Depth 2 cbz x9, LBB0_55 ; %bb.57: ; in Loop: Header=BB0_56 Depth=1 mov x15, #0 ; =0x0 cmp x9, #8 b.lo LBB0_62 ; %bb.58: ; in Loop: Header=BB0_56 Depth=1 cmp w22, #1 b.ne LBB0_62 ; %bb.59: ; in Loop: Header=BB0_56 Depth=1 and x16, x9, #0xfffffffffffffff8 and x15, x9, #0x7ffffffffffffff8 mov x17, x10 mov x0, x14 LBB0_60: ; Parent Loop BB0_56 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q1, q2, [x17, #-32] ldp q3, q4, [x17], #64 stp q1, q2, [x0, #-32] stp q3, q4, [x0], #64 subs x16, x16, #8 b.ne LBB0_60 ; %bb.61: ; in Loop: Header=BB0_56 Depth=1 cmp x9, x15 b.eq LBB0_55 LBB0_62: ; in Loop: Header=BB0_56 Depth=1 madd x16, x11, x15, x12 LBB0_63: ; Parent Loop BB0_56 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d1, [x16] str d1, [x13, x15, lsl #3] add x15, x15, #1 add x16, x16, x11 cmp x9, x15 b.ne LBB0_63 b LBB0_55 LBB0_64: mov x9, #0 ; =0x0 ldr x10, [sp, #40] ; 8-byte Folded Reload scvtf d1, w10 fmul d0, d0, d1 scvtf d1, w24 fmul d0, d0, d1 fmov d1, #1.00000000 fdiv d0, d1, d0 and x10, x8, #0x7ffffff8 add x11, x26, #32 lsl x12, x8, #3 mov x13, x26 b LBB0_66 LBB0_65: ; in Loop: Header=BB0_66 Depth=1 add x9, x9, #1 add x11, x11, x12 add x13, x13, x12 cmp x9, x8 b.eq LBB0_73 LBB0_66: ; =>This Loop Header: Depth=1 ; Child Loop BB0_69 Depth 2 ; Child Loop BB0_72 Depth 2 cmp w22, #8 b.hs LBB0_68 ; %bb.67: ; in Loop: Header=BB0_66 Depth=1 mov x15, #0 ; =0x0 b LBB0_71 LBB0_68: ; in Loop: Header=BB0_66 Depth=1 mov x14, x10 mov x15, x11 LBB0_69: ; Parent Loop BB0_66 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q1, q2, [x15, #-32] ldp q3, q4, [x15] fmul.2d v1, v1, v0[0] fmul.2d v2, v2, v0[0] fmul.2d v3, v3, v0[0] fmul.2d v4, v4, v0[0] stp q1, q2, [x15, #-32] stp q3, q4, [x15], #64 subs x14, x14, #8 b.ne LBB0_69 ; %bb.70: ; in Loop: Header=BB0_66 Depth=1 mov x15, x10 cmp x10, x8 b.eq LBB0_65 LBB0_71: ; in Loop: Header=BB0_66 Depth=1 add x14, x13, x15, lsl #3 sub x15, x8, x15 LBB0_72: ; Parent Loop BB0_66 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d1, [x14] fmul d1, d0, d1 str d1, [x14], #8 subs x15, x15, #1 b.ne LBB0_72 b LBB0_65 LBB0_73: Lloh22: adrp x19, _CCV_64F@GOTPAGE Lloh23: ldr x19, [x19, _CCV_64F@GOTPAGEOFF] ldr w9, [x19] Lloh24: adrp x8, _CCV_C1@GOTPAGE Lloh25: ldr x8, [x8, _CCV_C1@GOTPAGEOFF] Lloh26: ldr w10, [x8] add x8, sp, #96 orr w2, w10, w9 mov w0, #3 ; =0x3 mov w1, #3 ; =0x3 mov x3, x26 mov w4, #0 ; =0x0 bl _ccv_dense_matrix ldr w3, [x19] add x0, sp, #96 mov x1, x21 mov x2, x20 mov w4, #0 ; =0x0 bl _ccv_eigen Lloh27: adrp x8, _CCV_CLI_INFO@GOTPAGE Lloh28: ldr x8, [x8, _CCV_CLI_INFO@GOTPAGEOFF] Lloh29: ldr w0, [x8] Lloh30: adrp x1, l_.str.2@PAGE Lloh31: add x1, x1, l_.str.2@PAGEOFF bl _PRINT ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload ldp x24, x23, [sp, #160] ; 16-byte Folded Reload ldp x26, x25, [sp, #144] ; 16-byte Folded Reload ldp x28, x27, [sp, #128] ; 16-byte Folded Reload add sp, sp, #224 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGot Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _CCV_CLI_INFO,4,2 ; @CCV_CLI_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " - compute covariance matrix for data augmentation (color gain) %d / %d" .comm _CCV_IO_ANY_FILE,4,2 ; @CCV_IO_ANY_FILE .comm _CCV_IO_RGB_COLOR,4,2 ; @CCV_IO_RGB_COLOR .comm _CCV_CLI_ERROR,4,2 ; @CCV_CLI_ERROR l_.str.1: ; @.str.1 .asciz "cannot load %s.\n" .comm _CCV_32F,4,2 ; @CCV_32F .comm _CCV_64F,4,2 ; @CCV_64F .comm _CCV_C1,4,2 ; @CCV_C1 l_.str.2: ; @.str.2 .asciz "\n" .subsections_via_symbols
assembly_file_185174.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tl_fetch_photo_id ## -- Begin function tl_fetch_photo_id .p2align 4, 0x90 _tl_fetch_photo_id: ## @tl_fetch_photo_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %ebx, %ebx xorl %eax, %eax callq _tl_fetch_error testq %rax, %rax jne LBB0_3 ## %bb.1: xorl %eax, %eax callq _tl_fetch_int movl %eax, %ebx movl %eax, %edi callq _check_photo_id testl %eax, %eax jne LBB0_3 ## %bb.2: movq _TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi movl %ebx, %edx callq _tl_fetch_set_error_format LBB0_3: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _TL_ERROR_BAD_VALUE,4,2 ## @TL_ERROR_BAD_VALUE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Wrong photo_id %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tl_fetch_photo_id ; -- Begin function tl_fetch_photo_id .p2align 2 _tl_fetch_photo_id: ; @tl_fetch_photo_id .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 _tl_fetch_error cbz x0, LBB0_2 ; %bb.1: mov w19, #0 b LBB0_4 LBB0_2: bl _tl_fetch_int mov x19, x0 bl _check_photo_id cbnz w0, LBB0_4 ; %bb.3: Lloh0: adrp x8, _TL_ERROR_BAD_VALUE@GOTPAGE Lloh1: ldr x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x2, x19 bl _tl_fetch_set_error_format LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TL_ERROR_BAD_VALUE,4,2 ; @TL_ERROR_BAD_VALUE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Wrong photo_id %d" .subsections_via_symbols
AnghaBench/kphp-kdb/photo/extr_photo-engine.c_tl_fetch_photo_id.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _CRYPTO_realloc ## -- Begin function CRYPTO_realloc .p2align 4, 0x90 _CRYPTO_realloc: ## @CRYPTO_realloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %ebx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq _realloc_count@GOTPCREL(%rip), %rax movl (%rax), %edi callq _INCREMENT movq %r12, %rdi movq %r15, %rsi movq %r14, %rdx movl %ebx, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _realloc_impl ## TAILCALL .cfi_endproc ## -- End function .comm _realloc_count,4,2 ## @realloc_count .comm _call_malloc_debug,8,3 ## @call_malloc_debug .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _CRYPTO_realloc ; -- Begin function CRYPTO_realloc .p2align 2 _CRYPTO_realloc: ; @CRYPTO_realloc .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, x3 mov x20, x2 mov x21, x1 mov x22, x0 Lloh0: adrp x8, _realloc_count@GOTPAGE Lloh1: ldr x8, [x8, _realloc_count@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _INCREMENT mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _realloc_impl .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _realloc_count,4,2 ; @realloc_count .comm _call_malloc_debug,8,3 ; @call_malloc_debug .subsections_via_symbols
assembly_file_106869.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fetch_types _fetch_types: ## @fetch_types .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 _this_tick@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _ngtype_tick@GOTPCREL(%rip), %rdx xorl %eax, %eax cmpq (%rdx), %rcx jle LBB0_15 ## %bb.1: movq _ngtype_list@GOTPCREL(%rip), %rdi callq _TAILQ_FIRST testq %rax, %rax je LBB0_4 ## %bb.2: movq %rax, %rbx movq _link@GOTPCREL(%rip), %r15 movq _ngtype_list@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r15), %edx movq %r14, %rdi movq %rbx, %rsi callq _TAILQ_REMOVE movq %rbx, %rdi callq _free movq %r14, %rdi callq _TAILQ_FIRST movq %rax, %rbx testq %rax, %rax jne LBB0_3 LBB0_4: movq _snmp_node@GOTPCREL(%rip), %rax movl (%rax), %edi movq _NGM_GENERIC_COOKIE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _NGM_LISTTYPES@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _ng_dialog_id testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, -48(%rbp) ## 8-byte Spill movq 24(%rax), %r13 cmpq $0, (%r13) je LBB0_14 ## %bb.7: xorl %r14d, %r14d movq _ngtype_list@GOTPCREL(%rip), %r15 jmp LBB0_8 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi movq %r15, %rsi callq _INSERT_OBJECT_OID incq %r14 cmpq (%r13), %r14 jae LBB0_14 LBB0_8: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 movl $32, %edi callq _malloc testq %rax, %rax je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movq %rax, %r12 movq (%rax), %rdi movq 8(%r13), %rax movl (%rax,%r14,4), %esi callq _strcpy movq (%r12), %rbx movq %rbx, %rdi callq _strlen movq 8(%r12), %rcx movq %rax, (%rcx) incq %rax movq %rax, 16(%r12) cmpq $0, (%rcx) je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_8 Depth=1 xorl %eax, %eax .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_8 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%rbx,%rax,8), %rdx movq %rdx, 8(%rcx,%rax,8) incq %rax cmpq (%rcx), %rax jb LBB0_12 jmp LBB0_13 LBB0_14: movq _this_tick@GOTPCREL(%rip), %rax movq (%rax), %rax movq _ngtype_tick@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq -48(%rbp), %rdi ## 8-byte Reload callq _free xorl %eax, %eax jmp LBB0_15 LBB0_9: movq -48(%rbp), %rdi ## 8-byte Reload callq _free LBB0_5: movq _SNMP_ERR_GENERR@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_15: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _this_tick,8,3 ## @this_tick .comm _ngtype_tick,8,3 ## @ngtype_tick .comm _ngtype_list,4,2 ## @ngtype_list .comm _link,4,2 ## @link .comm _snmp_node,4,2 ## @snmp_node .comm _NGM_GENERIC_COOKIE,4,2 ## @NGM_GENERIC_COOKIE .comm _NGM_LISTTYPES,4,2 ## @NGM_LISTTYPES .comm _SNMP_ERR_GENERR,4,2 ## @SNMP_ERR_GENERR .no_dead_strip _fetch_types .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fetch_types _fetch_types: ; @fetch_types .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 Lloh0: adrp x23, _this_tick@GOTPAGE Lloh1: ldr x23, [x23, _this_tick@GOTPAGEOFF] ldr x8, [x23] Lloh2: adrp x24, _ngtype_tick@GOTPAGE Lloh3: ldr x24, [x24, _ngtype_tick@GOTPAGEOFF] ldr x9, [x24] cmp x8, x9 b.le LBB0_13 ; %bb.1: Lloh4: adrp x0, _ngtype_list@GOTPAGE Lloh5: ldr x0, [x0, _ngtype_list@GOTPAGEOFF] bl _TAILQ_FIRST cbz x0, LBB0_4 ; %bb.2: mov x20, x0 Lloh6: adrp x21, _link@GOTPAGE Lloh7: ldr x21, [x21, _link@GOTPAGEOFF] Lloh8: adrp x19, _ngtype_list@GOTPAGE Lloh9: ldr x19, [x19, _ngtype_list@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w2, [x21] mov x0, x19 mov x1, x20 bl _TAILQ_REMOVE mov x0, x20 bl _free mov x0, x19 bl _TAILQ_FIRST mov x20, x0 cbnz x0, LBB0_3 LBB0_4: Lloh10: adrp x8, _snmp_node@GOTPAGE Lloh11: ldr x8, [x8, _snmp_node@GOTPAGEOFF] Lloh12: ldr w0, [x8] Lloh13: adrp x8, _NGM_GENERIC_COOKIE@GOTPAGE Lloh14: ldr x8, [x8, _NGM_GENERIC_COOKIE@GOTPAGEOFF] Lloh15: ldr w1, [x8] Lloh16: adrp x8, _NGM_LISTTYPES@GOTPAGE Lloh17: ldr x8, [x8, _NGM_LISTTYPES@GOTPAGEOFF] Lloh18: ldr w2, [x8] mov x3, #0 mov w4, #0 bl _ng_dialog_id cbz x0, LBB0_15 ; %bb.5: mov x19, x0 ldr x25, [x0, #24] ldr x8, [x25] cbz x8, LBB0_12 ; %bb.6: mov x26, #0 Lloh19: adrp x20, _ngtype_list@GOTPAGE Lloh20: ldr x20, [x20, _ngtype_list@GOTPAGEOFF] b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 mov x0, x21 mov x1, x20 bl _INSERT_OBJECT_OID add x26, x26, #1 ldr x8, [x25] cmp x26, x8 b.hs LBB0_12 LBB0_8: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 mov w0, #32 bl _malloc cbz x0, LBB0_14 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 mov x21, x0 ldr x0, [x0] ldr x8, [x25, #8] ldr w1, [x8, x26, lsl #2] bl _strcpy ldr x22, [x21] mov x0, x22 bl _strlen ldr x8, [x21, #8] str x0, [x8] add x9, x0, #1 str x9, [x21, #16] ldr x9, [x8] cbz x9, LBB0_7 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 mov x9, #0 LBB0_11: ; Parent Loop BB0_8 Depth=1 ; => This Inner Loop Header: Depth=2 lsl x10, x9, #3 ldr x11, [x22, x10] add x9, x9, #1 add x10, x8, x10 str x11, [x10, #8] ldr x10, [x8] cmp x9, x10 b.lo LBB0_11 b LBB0_7 LBB0_12: ldr x8, [x23] str x8, [x24] mov x0, x19 bl _free LBB0_13: mov w0, #0 b LBB0_16 LBB0_14: mov x0, x19 bl _free LBB0_15: Lloh21: adrp x8, _SNMP_ERR_GENERR@GOTPAGE Lloh22: ldr x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF] Lloh23: ldr w0, [x8] LBB0_16: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _this_tick,8,3 ; @this_tick .comm _ngtype_tick,8,3 ; @ngtype_tick .comm _ngtype_list,4,2 ; @ngtype_list .comm _link,4,2 ; @link .comm _snmp_node,4,2 ; @snmp_node .comm _NGM_GENERIC_COOKIE,4,2 ; @NGM_GENERIC_COOKIE .comm _NGM_LISTTYPES,4,2 ; @NGM_LISTTYPES .comm _SNMP_ERR_GENERR,4,2 ; @SNMP_ERR_GENERR .no_dead_strip _fetch_types .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/extr_snmp_netgraph.c_fetch_types.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _zip_file_new __zip_file_new: ## @_zip_file_new .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 $32, %edi callq _malloc testq %rax, %rax je LBB0_3 ## %bb.1: addq $24, %rbx movq _ZIP_ER_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx callq __zip_error_set jmp LBB0_2 LBB0_3: movq (%rbx), %rcx movq 8(%rbx), %r14 leaq 1(%rcx), %rdx cmpq %r14, %rdx jl LBB0_4 ## %bb.5: movl $4294967286, %eax ## imm = 0xFFFFFFF6 addq %rax, %r14 movq 16(%rbx), %rdi leal (,%r14,8), %esi callq _realloc testq %rax, %rax jne LBB0_7 ## %bb.6: addq $24, %rbx movq _ZIP_ER_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi xorl %edx, %edx callq __zip_error_set xorl %edi, %edi callq _free LBB0_2: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq LBB0_4: movq 16(%rbx), %rax jmp LBB0_8 LBB0_7: movl %r14d, %ecx movq %rcx, 8(%rbx) movq %rax, 16(%rbx) movq (%rbx), %rcx leaq 1(%rcx), %rdx LBB0_8: movq %rdx, (%rbx) movq $0, (%rax,%rcx,8) movq %rbx, 24 movl $16, %edi callq __zip_error_init ud2 .cfi_endproc ## -- End function .comm _ZIP_ER_MEMORY,4,2 ## @ZIP_ER_MEMORY .no_dead_strip __zip_file_new .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _zip_file_new __zip_file_new: ; @_zip_file_new .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #32 ; =0x20 bl _malloc cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _ZIP_ER_MEMORY@GOTPAGE Lloh1: ldr x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x0, x19, #24 mov w2, #0 ; =0x0 bl __zip_error_set b LBB0_5 LBB0_2: ldp x8, x10, [x19] add x9, x8, #1 cmp x9, x10 b.lt LBB0_6 ; %bb.3: mov w8, #-10 ; =0xfffffff6 add x20, x10, x8 ldr x0, [x19, #16] lsl w1, w20, #3 bl _realloc cbnz x0, LBB0_7 ; %bb.4: Lloh3: adrp x8, _ZIP_ER_MEMORY@GOTPAGE Lloh4: ldr x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x0, x19, #24 mov w2, #0 ; =0x0 bl __zip_error_set mov x0, #0 ; =0x0 bl _free LBB0_5: mov x0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_6: ldr x0, [x19, #16] b LBB0_8 LBB0_7: mov w8, w20 stp x8, x0, [x19, #8] ldr x8, [x19] add x9, x8, #1 LBB0_8: str x9, [x19] str xzr, [x0, x8, lsl #3] mov w8, #24 ; =0x18 str x19, [x8] mov w0, #16 ; =0x10 bl __zip_error_init brk #0x1 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _ZIP_ER_MEMORY,4,2 ; @ZIP_ER_MEMORY .no_dead_strip __zip_file_new .subsections_via_symbols
assembly_file_64717.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tsl2561Write8 ## -- Begin function tsl2561Write8 .p2align 4, 0x90 _tsl2561Write8: ## @tsl2561Write8 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movl %edi, %r15d movq _tsl2561_i2c_id@GOTPCREL(%rip), %rbx movl (%rbx), %edi callq _platform_i2c_send_start movl (%rbx), %edi movq _tsl2561Address@GOTPCREL(%rip), %rax movl (%rax), %esi movq _PLATFORM_I2C_DIRECTION_TRANSMITTER@GOTPCREL(%rip), %rax movl (%rax), %edx callq _platform_i2c_send_address movl (%rbx), %edi movl %r15d, %esi callq _platform_i2c_send_byte movl (%rbx), %edi movl %r14d, %esi callq _platform_i2c_send_byte movl (%rbx), %edi callq _platform_i2c_send_stop movq _TSL2561_ERROR_OK@GOTPCREL(%rip), %rax movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _tsl2561_i2c_id,4,2 ## @tsl2561_i2c_id .comm _tsl2561Address,4,2 ## @tsl2561Address .comm _PLATFORM_I2C_DIRECTION_TRANSMITTER,4,2 ## @PLATFORM_I2C_DIRECTION_TRANSMITTER .comm _TSL2561_ERROR_OK,4,2 ## @TSL2561_ERROR_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tsl2561Write8 ; -- Begin function tsl2561Write8 .p2align 2 _tsl2561Write8: ; @tsl2561Write8 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x21, _tsl2561_i2c_id@GOTPAGE Lloh1: ldr x21, [x21, _tsl2561_i2c_id@GOTPAGEOFF] ldr w0, [x21] bl _platform_i2c_send_start ldr w0, [x21] Lloh2: adrp x8, _tsl2561Address@GOTPAGE Lloh3: ldr x8, [x8, _tsl2561Address@GOTPAGEOFF] Lloh4: ldr w1, [x8] Lloh5: adrp x8, _PLATFORM_I2C_DIRECTION_TRANSMITTER@GOTPAGE Lloh6: ldr x8, [x8, _PLATFORM_I2C_DIRECTION_TRANSMITTER@GOTPAGEOFF] Lloh7: ldr w2, [x8] bl _platform_i2c_send_address ldr w0, [x21] mov x1, x20 bl _platform_i2c_send_byte ldr w0, [x21] mov x1, x19 bl _platform_i2c_send_byte ldr w0, [x21] bl _platform_i2c_send_stop Lloh8: adrp x8, _TSL2561_ERROR_OK@GOTPAGE Lloh9: ldr x8, [x8, _TSL2561_ERROR_OK@GOTPAGEOFF] Lloh10: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _tsl2561_i2c_id,4,2 ; @tsl2561_i2c_id .comm _tsl2561Address,4,2 ; @tsl2561Address .comm _PLATFORM_I2C_DIRECTION_TRANSMITTER,4,2 ; @PLATFORM_I2C_DIRECTION_TRANSMITTER .comm _TSL2561_ERROR_OK,4,2 ; @TSL2561_ERROR_OK .subsections_via_symbols
AnghaBench/nodemcu-firmware/app/tsl2561/extr_tsl2561.c_tsl2561Write8.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sq_f ## -- Begin function sq_f .p2align 4, 0x90 _sq_f: ## @sq_f .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax imull %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rbx movq %rbx, %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %rbx, %rdi movl $4, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sq_f ; -- Begin function sq_f .p2align 2 _sq_f: ; @sq_f .cfi_startproc ; %bb.0: mul w0, w0, w0 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov w20, #4 str x20, [sp] Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _printf str x20, [sp] mov x0, x19 bl _printf mov 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 Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d\n" .subsections_via_symbols
the_stack_data/144120.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hash_walk_new_entry _hash_walk_new_entry: ## @hash_walk_new_entry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 24(%rdi), %r14 movq %r14, %rdi callq _sg_page movl %eax, 20(%rbx) movl 8(%r14), %eax movl %eax, 16(%rbx) movq (%r14), %rax movq 8(%rbx), %rcx cmpq %rcx, %rax cmovgeq %rcx, %rax movq %rax, (%rbx) subq %rax, %rcx movq %rcx, 8(%rbx) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _hash_walk_next ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _hash_walk_new_entry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hash_walk_new_entry _hash_walk_new_entry: ; @hash_walk_new_entry .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x20, [x0, #24] mov x0, x20 bl _sg_page ldr w8, [x20, #8] stp w8, w0, [x19, #16] ldr x8, [x20] ldr x9, [x19, #8] cmp x8, x9 csel x8, x8, x9, lt sub x9, x9, x8 stp x8, x9, [x19] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _hash_walk_next .cfi_endproc ; -- End function .no_dead_strip _hash_walk_new_entry .subsections_via_symbols
AnghaBench/fastsocket/kernel/crypto/extr_ahash.c_hash_walk_new_entry.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 i2s_apll_get_fi2s LCPI0_0: .long 0x3b800000 ## float 0.00390625 LCPI0_1: .long 0x37800000 ## float 1.52587891E-5 LCPI0_2: .long 0x40800000 ## float 4 LCPI0_3: .long 0x3f000000 ## float 0.5 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _i2s_apll_get_fi2s: ## @i2s_apll_get_fi2s .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 %r8d, %r14d movl %ecx, %ebx movl %edx, %r15d movl %esi, %r12d xorl %eax, %eax callq _rtc_clk_xtal_freq_get imull $1000000, %eax, %eax ## imm = 0xF4240 cvtsi2ss %eax, %xmm0 cvtsi2ss %ebx, %xmm2 cvtsi2ss %r15d, %xmm3 cvtsi2ss %r12d, %xmm1 mulss LCPI0_0(%rip), %xmm3 mulss LCPI0_1(%rip), %xmm1 addss %xmm2, %xmm3 addss %xmm3, %xmm1 addss LCPI0_2(%rip), %xmm1 mulss %xmm0, %xmm1 movq _APLL_MIN_FREQ@GOTPCREL(%rip), %rax movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero ucomiss %xmm1, %xmm0 movq _APLL_MAX_FREQ@GOTPCREL(%rip), %rax movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero ja LBB0_3 ## %bb.1: ucomiss %xmm0, %xmm1 ja LBB0_3 ## %bb.2: leal (%r14,%r14), %eax addl $4, %eax xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 divss %xmm0, %xmm1 mulss LCPI0_3(%rip), %xmm1 movaps %xmm1, %xmm0 LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _APLL_MIN_FREQ,4,2 ## @APLL_MIN_FREQ .comm _APLL_MAX_FREQ,4,2 ## @APLL_MAX_FREQ .comm _EFUSE_BLK0_RDATA3_REG,4,2 ## @EFUSE_BLK0_RDATA3_REG .no_dead_strip _i2s_apll_get_fi2s .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i2s_apll_get_fi2s _i2s_apll_get_fi2s: ; @i2s_apll_get_fi2s .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, x4 mov x20, x3 mov x21, x2 mov x22, x1 bl _rtc_clk_xtal_freq_get mov w8, #16960 movk w8, #15, lsl #16 mul w8, w0, w8 scvtf s0, w8 scvtf s1, w20 scvtf s2, w21 mov w8, #998244352 fmov s3, w8 fmul s2, s2, s3 fadd s1, s2, s1 scvtf s2, w22 mov w8, #931135488 fmov s3, w8 fmul s2, s2, s3 fadd s1, s2, s1 fmov s2, #4.00000000 fadd s1, s1, s2 fmul s1, s1, s0 Lloh0: adrp x8, _APLL_MIN_FREQ@GOTPAGE Lloh1: ldr x8, [x8, _APLL_MIN_FREQ@GOTPAGEOFF] Lloh2: ldr s2, [x8] Lloh3: adrp x8, _APLL_MAX_FREQ@GOTPAGE Lloh4: ldr x8, [x8, _APLL_MAX_FREQ@GOTPAGEOFF] Lloh5: ldr s0, [x8] fcmp s1, s2 fccmp s1, s0, #0, pl b.gt LBB0_2 ; %bb.1: lsl w8, w19, #1 add w8, w8, #4 scvtf s0, w8 fdiv s0, s1, s0 fmov s1, #0.50000000 fmul s0, s0, s1 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _APLL_MIN_FREQ,4,2 ; @APLL_MIN_FREQ .comm _APLL_MAX_FREQ,4,2 ; @APLL_MAX_FREQ .comm _EFUSE_BLK0_RDATA3_REG,4,2 ; @EFUSE_BLK0_RDATA3_REG .no_dead_strip _i2s_apll_get_fi2s .subsections_via_symbols
AnghaBench/esp-idf/components/driver/extr_i2s.c_i2s_apll_get_fi2s.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wm8350_rtc_probe _wm8350_rtc_probe: ## @wm8350_rtc_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _platform_get_drvdata movq %rax, %r15 movq _WM8350_RTC_TIME_CONTROL@GOTPCREL(%rip), %r13 movl (%r13), %esi movq %rax, %rdi callq _wm8350_reg_read movl %eax, %ebx movq _WM8350_RTC_BCD@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi jmp LBB0_4 LBB0_2: movq _WM8350_RTC_12HR@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_7 ## %bb.3: leaq L_.str.1(%rip), %rsi LBB0_4: xorl %r12d, %r12d movq %r14, %rdi xorl %eax, %eax callq _dev_err movq _EINVAL@GOTPCREL(%rip), %rax LBB0_5: subl (%rax), %r12d LBB0_6: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq _WM8350_POWER_MGMT_5@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _wm8350_reg_read movq _WM8350_RTC_TICK_ENA@GOTPCREL(%rip), %r12 testl %eax, (%r12) jne LBB0_10 ## %bb.8: movl (%r15), %edi leaq L_.str.2(%rip), %rsi callq _dev_info movq %r15, %rdi callq _wm8350_reg_unlock movq _WM8350_POWER_MGMT_5@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r12), %edx movq %r15, %rdi callq _wm8350_set_bits testl %eax, %eax js LBB0_21 ## %bb.9: movq %r15, %rdi callq _wm8350_reg_lock LBB0_10: movq _WM8350_RTC_STS@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_17 ## %bb.11: movl (%r13), %esi movq _WM8350_RTC_SET@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r15, %rdi callq _wm8350_clear_bits testl %eax, %eax js LBB0_15 ## %bb.12: movq _WM8350_SET_TIME_RETRIES@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _WM8350_RTC_STS@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movl (%r13), %esi movq %r15, %rdi callq _wm8350_reg_read testl %eax, (%r12) je LBB0_16 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 decl %ebx jne LBB0_13 jmp LBB0_19 LBB0_15: movl %eax, %r12d leaq L_.str.4(%rip), %rsi jmp LBB0_22 LBB0_16: testl %ebx, %ebx je LBB0_19 LBB0_17: movq %r14, %rdi movl $1, %esi callq _device_init_wakeup movq _THIS_MODULE@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq L_.str.6(%rip), %rdi movq _wm8350_rtc_ops@GOTPCREL(%rip), %rdx movq %r14, %rsi callq _rtc_device_register movl %eax, 4(%r15) movl %eax, %edi callq _IS_ERR testq %rax, %rax je LBB0_20 ## %bb.18: movl 4(%r15), %edi callq _PTR_ERR movl %eax, %r12d leaq L_.str.7(%rip), %rsi movq %r14, %rdi movl %eax, %edx jmp LBB0_23 LBB0_19: leaq L_.str.5(%rip), %rsi xorl %r12d, %r12d movq %r14, %rdi xorl %eax, %eax callq _dev_err movq _ENODEV@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_20: movq _WM8350_IRQ_RTC_SEC@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq %r15, %rdi callq _wm8350_mask_irq movq _WM8350_IRQ_RTC_PER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _wm8350_mask_irq movl (%rbx), %esi movq _wm8350_rtc_update_handler@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %r12d, %r12d movq %r15, %rdi xorl %ecx, %ecx callq _wm8350_register_irq movq _WM8350_IRQ_RTC_ALM@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _wm8350_rtc_alarm_handler@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r15, %rdi xorl %ecx, %ecx callq _wm8350_register_irq movl (%rbx), %esi movq %r15, %rdi callq _wm8350_unmask_irq jmp LBB0_6 LBB0_21: movl %eax, %r12d leaq L_.str.3(%rip), %rsi LBB0_22: movq %r14, %rdi movl %r12d, %edx LBB0_23: xorl %eax, %eax callq _dev_err jmp LBB0_6 .cfi_endproc ## -- End function .comm _WM8350_RTC_TIME_CONTROL,4,2 ## @WM8350_RTC_TIME_CONTROL .comm _WM8350_RTC_BCD,4,2 ## @WM8350_RTC_BCD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "RTC BCD mode not supported\n" .comm _EINVAL,4,2 ## @EINVAL .comm _WM8350_RTC_12HR,4,2 ## @WM8350_RTC_12HR L_.str.1: ## @.str.1 .asciz "RTC 12 hour mode not supported\n" .comm _WM8350_POWER_MGMT_5,4,2 ## @WM8350_POWER_MGMT_5 .comm _WM8350_RTC_TICK_ENA,4,2 ## @WM8350_RTC_TICK_ENA L_.str.2: ## @.str.2 .asciz "Starting RTC\n" L_.str.3: ## @.str.3 .asciz "failed to enable RTC: %d\n" .comm _WM8350_RTC_STS,4,2 ## @WM8350_RTC_STS .comm _WM8350_RTC_SET,4,2 ## @WM8350_RTC_SET L_.str.4: ## @.str.4 .asciz "failed to start: %d\n" .comm _WM8350_SET_TIME_RETRIES,4,2 ## @WM8350_SET_TIME_RETRIES L_.str.5: ## @.str.5 .asciz "failed to start: timeout\n" .comm _ENODEV,4,2 ## @ENODEV L_.str.6: ## @.str.6 .asciz "wm8350" .comm _wm8350_rtc_ops,4,2 ## @wm8350_rtc_ops .comm _THIS_MODULE,4,2 ## @THIS_MODULE L_.str.7: ## @.str.7 .asciz "failed to register RTC: %d\n" .comm _WM8350_IRQ_RTC_SEC,4,2 ## @WM8350_IRQ_RTC_SEC .comm _WM8350_IRQ_RTC_PER,4,2 ## @WM8350_IRQ_RTC_PER .comm _wm8350_rtc_update_handler,4,2 ## @wm8350_rtc_update_handler .comm _WM8350_IRQ_RTC_ALM,4,2 ## @WM8350_IRQ_RTC_ALM .comm _wm8350_rtc_alarm_handler,4,2 ## @wm8350_rtc_alarm_handler .no_dead_strip _wm8350_rtc_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wm8350_rtc_probe _wm8350_rtc_probe: ; @wm8350_rtc_probe .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 bl _platform_get_drvdata mov x20, x0 Lloh0: adrp x23, _WM8350_RTC_TIME_CONTROL@GOTPAGE Lloh1: ldr x23, [x23, _WM8350_RTC_TIME_CONTROL@GOTPAGEOFF] ldr w1, [x23] bl _wm8350_reg_read Lloh2: adrp x8, _WM8350_RTC_BCD@GOTPAGE Lloh3: ldr x8, [x8, _WM8350_RTC_BCD@GOTPAGEOFF] Lloh4: ldr w8, [x8] tst w8, w0 b.eq LBB0_2 ; %bb.1: Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF b LBB0_4 LBB0_2: mov x21, x0 Lloh7: adrp x8, _WM8350_RTC_12HR@GOTPAGE Lloh8: ldr x8, [x8, _WM8350_RTC_12HR@GOTPAGEOFF] Lloh9: ldr w8, [x8] tst w8, w0 b.eq LBB0_7 ; %bb.3: Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF LBB0_4: mov x0, x19 bl _dev_err Lloh12: adrp x8, _EINVAL@GOTPAGE Lloh13: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_5: ldr w8, [x8] neg w22, w8 LBB0_6: mov x0, x22 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_7: Lloh14: adrp x22, _WM8350_POWER_MGMT_5@GOTPAGE Lloh15: ldr x22, [x22, _WM8350_POWER_MGMT_5@GOTPAGEOFF] ldr w1, [x22] mov x0, x20 bl _wm8350_reg_read Lloh16: adrp x24, _WM8350_RTC_TICK_ENA@GOTPAGE Lloh17: ldr x24, [x24, _WM8350_RTC_TICK_ENA@GOTPAGEOFF] ldr w8, [x24] tst w8, w0 b.ne LBB0_10 ; %bb.8: ldr w0, [x20] Lloh18: adrp x1, l_.str.2@PAGE Lloh19: add x1, x1, l_.str.2@PAGEOFF bl _dev_info mov x0, x20 bl _wm8350_reg_unlock ldr w1, [x22] ldr w2, [x24] mov x0, x20 bl _wm8350_set_bits tbnz w0, #31, LBB0_22 ; %bb.9: mov x0, x20 bl _wm8350_reg_lock LBB0_10: Lloh20: adrp x24, _WM8350_RTC_STS@GOTPAGE Lloh21: ldr x24, [x24, _WM8350_RTC_STS@GOTPAGEOFF] ldr w8, [x24] tst w8, w21 b.eq LBB0_17 ; %bb.11: ldr w1, [x23] Lloh22: adrp x8, _WM8350_RTC_SET@GOTPAGE Lloh23: ldr x8, [x8, _WM8350_RTC_SET@GOTPAGEOFF] Lloh24: ldr w2, [x8] mov x0, x20 bl _wm8350_clear_bits tbnz w0, #31, LBB0_15 ; %bb.12: Lloh25: adrp x8, _WM8350_SET_TIME_RETRIES@GOTPAGE Lloh26: ldr x8, [x8, _WM8350_SET_TIME_RETRIES@GOTPAGEOFF] Lloh27: ldr w21, [x8] LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr w1, [x23] mov x0, x20 bl _wm8350_reg_read ldr w8, [x24] tst w8, w0 b.eq LBB0_16 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 subs w21, w21, #1 b.ne LBB0_13 b LBB0_20 LBB0_15: mov x22, x0 str x22, [sp] Lloh28: adrp x1, l_.str.4@PAGE Lloh29: add x1, x1, l_.str.4@PAGEOFF b LBB0_19 LBB0_16: cbz w21, LBB0_20 LBB0_17: mov x0, x19 mov w1, #1 bl _device_init_wakeup Lloh30: adrp x8, _THIS_MODULE@GOTPAGE Lloh31: ldr x8, [x8, _THIS_MODULE@GOTPAGEOFF] Lloh32: ldr w3, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF Lloh35: adrp x2, _wm8350_rtc_ops@GOTPAGE Lloh36: ldr x2, [x2, _wm8350_rtc_ops@GOTPAGEOFF] mov x1, x19 bl _rtc_device_register str w0, [x20, #4] bl _IS_ERR cbz x0, LBB0_21 ; %bb.18: ldr w0, [x20, #4] bl _PTR_ERR mov x22, x0 str x22, [sp] Lloh37: adrp x1, l_.str.7@PAGE Lloh38: add x1, x1, l_.str.7@PAGEOFF LBB0_19: mov x0, x19 bl _dev_err ; kill: def $w22 killed $w22 killed $x22 def $x22 b LBB0_6 LBB0_20: Lloh39: adrp x1, l_.str.5@PAGE Lloh40: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _dev_err Lloh41: adrp x8, _ENODEV@GOTPAGE Lloh42: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_5 LBB0_21: Lloh43: adrp x19, _WM8350_IRQ_RTC_SEC@GOTPAGE Lloh44: ldr x19, [x19, _WM8350_IRQ_RTC_SEC@GOTPAGEOFF] ldr w1, [x19] mov x0, x20 bl _wm8350_mask_irq Lloh45: adrp x8, _WM8350_IRQ_RTC_PER@GOTPAGE Lloh46: ldr x8, [x8, _WM8350_IRQ_RTC_PER@GOTPAGEOFF] Lloh47: ldr w1, [x8] mov x0, x20 bl _wm8350_mask_irq ldr w1, [x19] Lloh48: adrp x8, _wm8350_rtc_update_handler@GOTPAGE Lloh49: ldr x8, [x8, _wm8350_rtc_update_handler@GOTPAGEOFF] Lloh50: ldr w2, [x8] mov x0, x20 mov x3, #0 bl _wm8350_register_irq Lloh51: adrp x19, _WM8350_IRQ_RTC_ALM@GOTPAGE Lloh52: ldr x19, [x19, _WM8350_IRQ_RTC_ALM@GOTPAGEOFF] ldr w1, [x19] Lloh53: adrp x8, _wm8350_rtc_alarm_handler@GOTPAGE Lloh54: ldr x8, [x8, _wm8350_rtc_alarm_handler@GOTPAGEOFF] Lloh55: ldr w2, [x8] mov x0, x20 mov x3, #0 bl _wm8350_register_irq ldr w1, [x19] mov x0, x20 bl _wm8350_unmask_irq mov w22, #0 b LBB0_6 LBB0_22: mov x22, x0 str x22, [sp] Lloh56: adrp x1, l_.str.3@PAGE Lloh57: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _dev_err b LBB0_6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGot Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGot Lloh43, Lloh44 .loh AdrpAdd Lloh56, Lloh57 .cfi_endproc ; -- End function .comm _WM8350_RTC_TIME_CONTROL,4,2 ; @WM8350_RTC_TIME_CONTROL .comm _WM8350_RTC_BCD,4,2 ; @WM8350_RTC_BCD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "RTC BCD mode not supported\n" .comm _EINVAL,4,2 ; @EINVAL .comm _WM8350_RTC_12HR,4,2 ; @WM8350_RTC_12HR l_.str.1: ; @.str.1 .asciz "RTC 12 hour mode not supported\n" .comm _WM8350_POWER_MGMT_5,4,2 ; @WM8350_POWER_MGMT_5 .comm _WM8350_RTC_TICK_ENA,4,2 ; @WM8350_RTC_TICK_ENA l_.str.2: ; @.str.2 .asciz "Starting RTC\n" l_.str.3: ; @.str.3 .asciz "failed to enable RTC: %d\n" .comm _WM8350_RTC_STS,4,2 ; @WM8350_RTC_STS .comm _WM8350_RTC_SET,4,2 ; @WM8350_RTC_SET l_.str.4: ; @.str.4 .asciz "failed to start: %d\n" .comm _WM8350_SET_TIME_RETRIES,4,2 ; @WM8350_SET_TIME_RETRIES l_.str.5: ; @.str.5 .asciz "failed to start: timeout\n" .comm _ENODEV,4,2 ; @ENODEV l_.str.6: ; @.str.6 .asciz "wm8350" .comm _wm8350_rtc_ops,4,2 ; @wm8350_rtc_ops .comm _THIS_MODULE,4,2 ; @THIS_MODULE l_.str.7: ; @.str.7 .asciz "failed to register RTC: %d\n" .comm _WM8350_IRQ_RTC_SEC,4,2 ; @WM8350_IRQ_RTC_SEC .comm _WM8350_IRQ_RTC_PER,4,2 ; @WM8350_IRQ_RTC_PER .comm _wm8350_rtc_update_handler,4,2 ; @wm8350_rtc_update_handler .comm _WM8350_IRQ_RTC_ALM,4,2 ; @WM8350_IRQ_RTC_ALM .comm _wm8350_rtc_alarm_handler,4,2 ; @wm8350_rtc_alarm_handler .no_dead_strip _wm8350_rtc_probe .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/rtc/extr_rtc-wm8350.c_wm8350_rtc_probe.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/132952265.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function create_graph _create_graph: ## @create_graph .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 _CLSCTX_INPROC_SERVER@GOTPCREL(%rip), %rax movl (%rax), %edx movq _CLSID_FilterGraph@GOTPCREL(%rip), %rdi movq _IID_IFilterGraph2@GOTPCREL(%rip), %rcx leaq -8(%rbp), %r8 xorl %esi, %esi callq _CoCreateInstance movq _S_OK@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil leaq L_.str(%rip), %rsi movq %rax, %rdx callq _ok movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _CLSID_FilterGraph,4,2 ## @CLSID_FilterGraph .comm _CLSCTX_INPROC_SERVER,4,2 ## @CLSCTX_INPROC_SERVER .comm _IID_IFilterGraph2,4,2 ## @IID_IFilterGraph2 .comm _S_OK,8,3 ## @S_OK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to create FilterGraph: %#x\n" .no_dead_strip _create_graph .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function create_graph _create_graph: ; @create_graph .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, _CLSCTX_INPROC_SERVER@GOTPAGE Lloh1: ldr x8, [x8, _CLSCTX_INPROC_SERVER@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x0, _CLSID_FilterGraph@GOTPAGE Lloh4: ldr x0, [x0, _CLSID_FilterGraph@GOTPAGEOFF] Lloh5: adrp x3, _IID_IFilterGraph2@GOTPAGE Lloh6: ldr x3, [x3, _IID_IFilterGraph2@GOTPAGEOFF] add x4, sp, #8 mov x1, #0 bl _CoCreateInstance mov x2, x0 Lloh7: adrp x8, _S_OK@GOTPAGE Lloh8: ldr x8, [x8, _S_OK@GOTPAGEOFF] Lloh9: ldr x8, [x8] cmp x0, x8 cset w0, eq Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF bl _ok ldr x0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CLSID_FilterGraph,4,2 ; @CLSID_FilterGraph .comm _CLSCTX_INPROC_SERVER,4,2 ; @CLSCTX_INPROC_SERVER .comm _IID_IFilterGraph2,4,2 ; @IID_IFilterGraph2 .comm _S_OK,8,3 ; @S_OK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to create FilterGraph: %#x\n" .no_dead_strip _create_graph .subsections_via_symbols
AnghaBench/reactos/modules/rostests/winetests/quartz/extr_filtergraph.c_create_graph.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mmio_write_32 ## -- Begin function mmio_write_32 .p2align 4, 0x90 _mmio_write_32: ## @mmio_write_32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .globl _mmio_read_32 ## -- Begin function mmio_read_32 .p2align 4, 0x90 _mmio_read_32: ## @mmio_read_32 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %eax popq %rbp retq .cfi_endproc ## -- End function .globl _mmio_write_64 ## -- Begin function mmio_write_64 .p2align 4, 0x90 _mmio_write_64: ## @mmio_write_64 .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 retq .cfi_endproc ## -- End function .globl _mmio_read_64 ## -- Begin function mmio_read_64 .p2align 4, 0x90 _mmio_read_64: ## @mmio_read_64 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mmio_write_32 ; -- Begin function mmio_write_32 .p2align 2 _mmio_write_32: ; @mmio_write_32 .cfi_startproc ; %bb.0: str w1, [x0] ret .cfi_endproc ; -- End function .globl _mmio_read_32 ; -- Begin function mmio_read_32 .p2align 2 _mmio_read_32: ; @mmio_read_32 .cfi_startproc ; %bb.0: ldr w0, [x0] ret .cfi_endproc ; -- End function .globl _mmio_write_64 ; -- Begin function mmio_write_64 .p2align 2 _mmio_write_64: ; @mmio_write_64 .cfi_startproc ; %bb.0: str x1, [x0] ret .cfi_endproc ; -- End function .globl _mmio_read_64 ; -- Begin function mmio_read_64 .p2align 2 _mmio_read_64: ; @mmio_read_64 .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/27971.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 $112, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq -112(%rbp), %rdi callq _gets movb -112(%rbp), %al testb %al, %al je LBB0_5 ## %bb.1: leaq -111(%rbp), %rcx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movzbl (%rcx), %eax incq %rcx testb %al, %al je LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal -97(%rax), %edx cmpb $25, %dl ja LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 addb $-32, %al movb %al, -1(%rcx) jmp LBB0_4 LBB0_5: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq -112(%rbp), %rdi callq _puts movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -8(%rbp), %rax jne LBB0_7 ## %bb.6: xorl %eax, %eax addq $112, %rsp popq %rbp retq LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter string: " L_.str.1: ## @.str.1 .asciz "\nToUpper string: " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf add x19, sp, #4 add x0, sp, #4 bl _gets ldrb w8, [sp, #4] cbz w8, LBB0_5 ; %bb.1: add x9, x19, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x9], #1 cbz w8, LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 sub w10, w8, #97 and w10, w10, #0xff cmp w10, #25 b.hi LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 sub w8, w8, #32 sturb w8, [x9, #-1] b LBB0_2 LBB0_5: Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf add x0, sp, #4 bl _puts ldur x8, [x29, #-24] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.6: mov w0, #0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_7: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter string: " l_.str.1: ; @.str.1 .asciz "\nToUpper string: " .subsections_via_symbols
the_stack_data/73576468.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nvme_delete_queue _nvme_delete_queue: ## @nvme_delete_queue .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r12 movq 8(%rdi), %rax movq (%rax), %r14 leaq -48(%rbp), %rbx movq %rbx, %rdi xorl %esi, %esi movl $16, %edx callq _memset movq %r15, -40(%rbp) movl 4(%r12), %edi callq _cpu_to_le16 movl %eax, -48(%rbp) movq _BLK_MQ_REQ_NOWAIT@GOTPCREL(%rip), %rax movl (%rax), %edx movq _NVME_QID_ANY@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r14, %rdi movq %rbx, %rsi callq _nvme_alloc_request movq %rax, %rbx movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _PTR_ERR movl %eax, %r15d jmp LBB0_6 LBB0_2: movq _ADMIN_TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movq %r12, (%rbx) movq %r12, %rdi callq _init_completion movq _nvme_admin_delete_cq@GOTPCREL(%rip), %rax cmpq %r15, (%rax) jne LBB0_3 ## %bb.4: movq _nvme_del_cq_end@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _nvme_del_queue_end@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %r8d xorl %r15d, %r15d movq %r14, %rdi xorl %esi, %esi movq %rbx, %rdx xorl %ecx, %ecx callq _blk_execute_rq_nowait LBB0_6: movl %r15d, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BLK_MQ_REQ_NOWAIT,4,2 ## @BLK_MQ_REQ_NOWAIT .comm _NVME_QID_ANY,4,2 ## @NVME_QID_ANY .comm _ADMIN_TIMEOUT,4,2 ## @ADMIN_TIMEOUT .comm _nvme_admin_delete_cq,8,3 ## @nvme_admin_delete_cq .comm _nvme_del_cq_end,4,2 ## @nvme_del_cq_end .comm _nvme_del_queue_end,4,2 ## @nvme_del_queue_end .no_dead_strip _nvme_delete_queue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nvme_delete_queue _nvme_delete_queue: ; @nvme_delete_queue .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x21, x0 ldr x8, [x0, #8] ldr x19, [x8] mov x0, sp mov w1, #0 mov w2, #16 bl _memset str x20, [sp, #8] ldr w0, [x21, #4] bl _cpu_to_le16 str w0, [sp] Lloh0: adrp x8, _BLK_MQ_REQ_NOWAIT@GOTPAGE Lloh1: ldr x8, [x8, _BLK_MQ_REQ_NOWAIT@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, _NVME_QID_ANY@GOTPAGE Lloh4: ldr x8, [x8, _NVME_QID_ANY@GOTPAGEOFF] Lloh5: ldr w3, [x8] mov x1, sp mov x0, x19 bl _nvme_alloc_request mov x22, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: mov x0, x22 bl _PTR_ERR b LBB0_3 LBB0_2: Lloh6: adrp x8, _ADMIN_TIMEOUT@GOTPAGE Lloh7: ldr x8, [x8, _ADMIN_TIMEOUT@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x22, #8] str x21, [x22] mov x0, x21 bl _init_completion Lloh9: adrp x8, _nvme_admin_delete_cq@GOTPAGE Lloh10: ldr x8, [x8, _nvme_admin_delete_cq@GOTPAGEOFF] Lloh11: adrp x9, _nvme_del_cq_end@GOTPAGE Lloh12: ldr x9, [x9, _nvme_del_cq_end@GOTPAGEOFF] Lloh13: ldr x8, [x8] Lloh14: adrp x10, _nvme_del_queue_end@GOTPAGE Lloh15: ldr x10, [x10, _nvme_del_queue_end@GOTPAGEOFF] cmp x8, x20 csel x8, x9, x10, eq ldr w4, [x8] mov x0, x19 mov x1, #0 mov x2, x22 mov w3, #0 bl _blk_execute_rq_nowait mov w0, #0 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _BLK_MQ_REQ_NOWAIT,4,2 ; @BLK_MQ_REQ_NOWAIT .comm _NVME_QID_ANY,4,2 ; @NVME_QID_ANY .comm _ADMIN_TIMEOUT,4,2 ; @ADMIN_TIMEOUT .comm _nvme_admin_delete_cq,8,3 ; @nvme_admin_delete_cq .comm _nvme_del_cq_end,4,2 ; @nvme_del_cq_end .comm _nvme_del_queue_end,4,2 ; @nvme_del_queue_end .no_dead_strip _nvme_delete_queue .subsections_via_symbols
AnghaBench/linux/drivers/nvme/host/extr_pci.c_nvme_delete_queue.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ebt_stp_mt _ebt_stp_mt: ## @ebt_stp_mt .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 %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq (%rsi), %r14 movq l___const.ebt_stp_mt.header+16(%rip), %rax movq %rax, -48(%rbp) movaps l___const.ebt_stp_mt.header(%rip), %xmm0 movaps %xmm0, -64(%rbp) xorl %r15d, %r15d leaq -80(%rbp), %rcx xorl %esi, %esi movl $8, %edx callq _skb_header_pointer testq %rax, %rax je LBB0_9 ## %bb.1: movq %rax, %rbx leaq -64(%rbp), %rsi movq %rax, %rdi movl $24, %edx callq _memcmp testq %rax, %rax je LBB0_2 LBB0_9: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_11 ## %bb.10: movl %r15d, %eax addq $48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq _EBT_STP_TYPE@GOTPCREL(%rip), %rax movl (%rax), %esi testl %esi, (%r14) je LBB0_4 ## %bb.3: movq 8(%r14), %rax xorl %edi, %edi cmpq (%rbx), %rax setne %dil callq _FWINV testq %rax, %rax jne LBB0_9 LBB0_4: movq (%rbx), %rax movq _BPDU_TYPE_CONFIG@GOTPCREL(%rip), %rcx movl $1, %r15d cmpq (%rcx), %rax jne LBB0_9 ## %bb.5: movq _EBT_STP_CONFIG_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r14) je LBB0_9 ## %bb.6: leaq -72(%rbp), %rcx movq %r12, %rdi movl $8, %esi movl $8, %edx callq _skb_header_pointer testq %rax, %rax je LBB0_7 ## %bb.8: movq %r14, %rdi movq %rax, %rsi callq _ebt_filter_config movl %eax, %r15d jmp LBB0_9 LBB0_7: xorl %r15d, %r15d jmp LBB0_9 LBB0_11: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .p2align 4 ## @__const.ebt_stp_mt.header l___const.ebt_stp_mt.header: .long 66 ## 0x42 .long 66 ## 0x42 .long 3 ## 0x3 .long 0 ## 0x0 .long 0 ## 0x0 .long 0 ## 0x0 .comm _EBT_STP_TYPE,4,2 ## @EBT_STP_TYPE .comm _BPDU_TYPE_CONFIG,8,3 ## @BPDU_TYPE_CONFIG .comm _EBT_STP_CONFIG_MASK,4,2 ## @EBT_STP_CONFIG_MASK .no_dead_strip _ebt_stp_mt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ebt_stp_mt _ebt_stp_mt: ; @ebt_stp_mt .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] ldr x19, [x1] Lloh3: adrp x8, l___const.ebt_stp_mt.header@PAGE Lloh4: add x8, x8, l___const.ebt_stp_mt.header@PAGEOFF ldr q0, [x8] str q0, [sp, #16] ldr x8, [x8, #16] str x8, [sp, #32] add x3, sp, #8 mov w1, #0 mov w2, #8 bl _skb_header_pointer cbz x0, LBB0_3 ; %bb.1: mov x21, x0 add x1, sp, #16 mov w2, #24 bl _memcmp cbz x0, LBB0_5 LBB0_2: mov w0, #0 LBB0_3: ldr x8, [sp, #40] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.4: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_5: ldr w8, [x19] Lloh8: adrp x9, _EBT_STP_TYPE@GOTPAGE Lloh9: ldr x9, [x9, _EBT_STP_TYPE@GOTPAGEOFF] Lloh10: ldr w1, [x9] tst w1, w8 b.eq LBB0_7 ; %bb.6: ldr x8, [x19, #8] ldr x9, [x21] cmp x8, x9 cset w0, ne bl _FWINV cbnz x0, LBB0_2 LBB0_7: ldr x8, [x21] Lloh11: adrp x9, _BPDU_TYPE_CONFIG@GOTPAGE Lloh12: ldr x9, [x9, _BPDU_TYPE_CONFIG@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x8, x9 b.ne LBB0_11 ; %bb.8: ldr w8, [x19] Lloh14: adrp x9, _EBT_STP_CONFIG_MASK@GOTPAGE Lloh15: ldr x9, [x9, _EBT_STP_CONFIG_MASK@GOTPAGEOFF] Lloh16: ldr w9, [x9] tst w9, w8 b.eq LBB0_11 ; %bb.9: mov x3, sp mov x0, x20 mov w1, #8 mov w2, #8 bl _skb_header_pointer cbz x0, LBB0_3 ; %bb.10: mov x1, x0 mov x0, x19 bl _ebt_filter_config b LBB0_3 LBB0_11: mov w0, #1 b LBB0_3 LBB0_12: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2 ; @__const.ebt_stp_mt.header l___const.ebt_stp_mt.header: .long 66 ; 0x42 .long 66 ; 0x42 .long 3 ; 0x3 .long 0 ; 0x0 .long 0 ; 0x0 .long 0 ; 0x0 .comm _EBT_STP_TYPE,4,2 ; @EBT_STP_TYPE .comm _BPDU_TYPE_CONFIG,8,3 ; @BPDU_TYPE_CONFIG .comm _EBT_STP_CONFIG_MASK,4,2 ; @EBT_STP_CONFIG_MASK .no_dead_strip _ebt_stp_mt .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/bridge/netfilter/extr_ebt_stp.c_ebt_stp_mt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mlx5e_destroy_groups _mlx5e_destroy_groups: ## @mlx5e_destroy_groups .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movl (%rdi), %ebx testl %ebx, %ebx jle LBB0_5 ## %bb.1: incq %rbx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r14), %rax movq $0, (%rax,%r15,8) decq %rbx cmpq $1, %rbx jbe LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal -2(%rbx), %r15d movq 8(%r14), %rax movq (%rax,%r15,8), %rdi callq _IS_ERR_OR_NULL testl %eax, %eax jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r14), %rax movq (%rax,%r15,8), %rdi callq _mlx5_destroy_flow_group jmp LBB0_4 LBB0_5: movl $0, (%r14) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mlx5e_destroy_groups .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mlx5e_destroy_groups _mlx5e_destroy_groups: ; @mlx5e_destroy_groups .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 w8, [x0] cmp w8, #1 b.lt LBB0_5 ; %bb.1: add x20, x8, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #8] str xzr, [x8, x21, lsl #3] sub x20, x20, #1 cmp x20, #1 b.ls LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 sub w21, w20, #2 ldr x8, [x19, #8] ldr x0, [x8, w21, uxtw #3] bl _IS_ERR_OR_NULL cbnz w0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #8] ldr x0, [x8, x21, lsl #3] bl _mlx5_destroy_flow_group b LBB0_2 LBB0_5: str wzr, [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 .no_dead_strip _mlx5e_destroy_groups .subsections_via_symbols
AnghaBench/freebsd/sys/dev/mlx5/mlx5_en/extr_mlx5_en_flow_table.c_mlx5e_destroy_groups.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cuda_ext_vk_uninit _cuda_ext_vk_uninit: ## @cuda_ext_vk_uninit .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 8(%rdi), %rax movq (%rax), %rax movslq %esi, %rcx movq (%rax,%rcx,8), %rbx testq %rbx, %rbx je LBB0_10 ## %bb.1: movq %rdi, %r14 movq 16(%rdi), %rax movq (%rax), %rax movq (%rax), %r15 movq 32(%rbx), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: callq *16(%r15) movl %eax, %edi callq _CHECK_CU movq $0, 32(%rbx) LBB0_3: movq 24(%rbx), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.4: callq *8(%r15) movl %eax, %edi callq _CHECK_CU movq $0, 24(%rbx) LBB0_5: movq 16(%rbx), %rdi testq %rdi, %rdi je LBB0_7 ## %bb.6: callq *(%r15) movl %eax, %edi callq _CHECK_CU movq $0, 16(%rbx) LBB0_7: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_9 ## %bb.8: callq *(%r15) movl %eax, %edi callq _CHECK_CU movq $0, 8(%rbx) LBB0_9: movl (%r14), %edi callq _ra_pl_get movl %eax, %edi movq %rbx, %rsi callq _pl_sync_destroy LBB0_10: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _talloc_free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _cuda_ext_vk_uninit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cuda_ext_vk_uninit _cuda_ext_vk_uninit: ; @cuda_ext_vk_uninit .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x0, #8] ldr x8, [x8] ldr x19, [x8, w1, sxtw #3] cbz x19, LBB0_10 ; %bb.1: mov x20, x0 ldr x8, [x0, #16] ldr x8, [x8] ldr x21, [x8] ldr x0, [x19, #32] cbz x0, LBB0_3 ; %bb.2: ldr x8, [x21, #16] blr x8 bl _CHECK_CU str xzr, [x19, #32] LBB0_3: ldr x0, [x19, #24] cbz x0, LBB0_5 ; %bb.4: ldr x8, [x21, #8] blr x8 bl _CHECK_CU str xzr, [x19, #24] LBB0_5: ldr x0, [x19, #16] cbz x0, LBB0_7 ; %bb.6: ldr x8, [x21] blr x8 bl _CHECK_CU str xzr, [x19, #16] LBB0_7: ldr x0, [x19, #8] cbz x0, LBB0_9 ; %bb.8: ldr x8, [x21] blr x8 bl _CHECK_CU str xzr, [x19, #8] LBB0_9: ldr w0, [x20] bl _ra_pl_get mov x1, x19 bl _pl_sync_destroy LBB0_10: 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 _talloc_free .cfi_endproc ; -- End function .no_dead_strip _cuda_ext_vk_uninit .subsections_via_symbols
AnghaBench/mpv/video/out/hwdec/extr_hwdec_cuda_vk.c_cuda_ext_vk_uninit.c
anghabench