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 .p2align 4, 0x90 ## -- Begin function hash_def_hash _hash_def_hash: ## @hash_def_hash .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rax movslq %edi, %rcx movq %rsi, %rdx orq %rcx, %rdx shrq $32, %rdx je LBB0_1 ## %bb.2: xorl %edx, %edx divq %rcx movq %rdx, %rax ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_1: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %edi movl %edx, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _hash_def_hash .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hash_def_hash _hash_def_hash: ; @hash_def_hash .cfi_startproc ; %bb.0: ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 udiv x8, x1, x8 msub w0, w8, w0, w1 ret .cfi_endproc ; -- End function .no_dead_strip _hash_def_hash .subsections_via_symbols
AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_hash.c_hash_def_hash.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function vidioc_enum_input _vidioc_enum_input: ## @vidioc_enum_input .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 (%rdx), %r14d movq _MAX_EM28XX_INPUT@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jae LBB0_1 ## %bb.2: movq %rdx, %rbx movq (%rsi), %r12 movl %r14d, %edi callq _INPUT cmpq $0, (%rax) je LBB0_1 ## %bb.3: movl %r14d, (%rbx) movq _V4L2_INPUT_TYPE_CAMERA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movl 12(%rbx), %r15d movq _iname@GOTPCREL(%rip), %rax movq (%rax), %r13 movl %r14d, %edi callq _INPUT movq (%rax), %rax movl (%r13,%rax,4), %esi movl %r15d, %edi callq _strcpy movq _EM28XX_VMUX_TELEVISION@GOTPCREL(%rip), %rax movq (%rax), %r15 movl %r14d, %edi callq _INPUT cmpq (%rax), %r15 jne LBB0_6 ## %bb.4: movq _EM28XX_VMUX_CABLE@GOTPCREL(%rip), %rax movq (%rax), %r15 movl %r14d, %edi callq _INPUT cmpq (%rax), %r15 jne LBB0_6 ## %bb.5: movq _V4L2_INPUT_TYPE_TUNER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) LBB0_6: movq (%r12), %rax movl (%rax), %eax movl %eax, 4(%rbx) xorl %eax, %eax jmp LBB0_7 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_7: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_EM28XX_INPUT,4,2 ## @MAX_EM28XX_INPUT .comm _EINVAL,4,2 ## @EINVAL .comm _V4L2_INPUT_TYPE_CAMERA,4,2 ## @V4L2_INPUT_TYPE_CAMERA .comm _iname,8,3 ## @iname .comm _EM28XX_VMUX_TELEVISION,8,3 ## @EM28XX_VMUX_TELEVISION .comm _EM28XX_VMUX_CABLE,8,3 ## @EM28XX_VMUX_CABLE .comm _V4L2_INPUT_TYPE_TUNER,4,2 ## @V4L2_INPUT_TYPE_TUNER .no_dead_strip _vidioc_enum_input .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function vidioc_enum_input _vidioc_enum_input: ; @vidioc_enum_input .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 ldr w20, [x2] Lloh0: adrp x8, _MAX_EM28XX_INPUT@GOTPAGE Lloh1: ldr x8, [x8, _MAX_EM28XX_INPUT@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w20, w8 b.hs LBB0_6 ; %bb.1: mov x19, x2 ldr x22, [x1] mov x0, x20 bl _INPUT ldr x8, [x0] cbz x8, LBB0_6 ; %bb.2: str w20, [x19] Lloh3: adrp x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGE Lloh4: ldr x8, [x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [x19, #8] ldr w21, [x19, #12] Lloh6: adrp x8, _iname@GOTPAGE Lloh7: ldr x8, [x8, _iname@GOTPAGEOFF] Lloh8: ldr x23, [x8] mov x0, x20 bl _INPUT ldr x8, [x0] ldr w1, [x23, x8, lsl #2] mov x0, x21 bl _strcpy Lloh9: adrp x8, _EM28XX_VMUX_TELEVISION@GOTPAGE Lloh10: ldr x8, [x8, _EM28XX_VMUX_TELEVISION@GOTPAGEOFF] Lloh11: ldr x21, [x8] mov x0, x20 bl _INPUT ldr x8, [x0] cmp x21, x8 b.ne LBB0_5 ; %bb.3: Lloh12: adrp x8, _EM28XX_VMUX_CABLE@GOTPAGE Lloh13: ldr x8, [x8, _EM28XX_VMUX_CABLE@GOTPAGEOFF] Lloh14: ldr x21, [x8] mov x0, x20 bl _INPUT ldr x8, [x0] cmp x21, x8 b.ne LBB0_5 ; %bb.4: Lloh15: adrp x8, _V4L2_INPUT_TYPE_TUNER@GOTPAGE Lloh16: ldr x8, [x8, _V4L2_INPUT_TYPE_TUNER@GOTPAGEOFF] Lloh17: ldr w8, [x8] str w8, [x19, #8] LBB0_5: mov w0, #0 ; =0x0 ldr x8, [x22] ldr w8, [x8] str w8, [x19, #4] b LBB0_7 LBB0_6: Lloh18: adrp x8, _EINVAL@GOTPAGE Lloh19: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh20: ldr w8, [x8] neg w0, w8 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _MAX_EM28XX_INPUT,4,2 ; @MAX_EM28XX_INPUT .comm _EINVAL,4,2 ; @EINVAL .comm _V4L2_INPUT_TYPE_CAMERA,4,2 ; @V4L2_INPUT_TYPE_CAMERA .comm _iname,8,3 ; @iname .comm _EM28XX_VMUX_TELEVISION,8,3 ; @EM28XX_VMUX_TELEVISION .comm _EM28XX_VMUX_CABLE,8,3 ; @EM28XX_VMUX_CABLE .comm _V4L2_INPUT_TYPE_TUNER,4,2 ; @V4L2_INPUT_TYPE_TUNER .no_dead_strip _vidioc_enum_input .subsections_via_symbols
assembly_file_9353.c
assembly_dataset
.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 estimate_split LCPI0_0: .quad 0x3ff0000000000000 ## double 1 LCPI0_1: .quad 0x3e112e0be826d695 ## double 1.0000000000000001E-9 .section __TEXT,__text,regular,pure_instructions .globl _estimate_split .p2align 4, 0x90 _estimate_split: ## @estimate_split .cfi_startproc ## %bb.0: testl %edi, %edi setle %cl testl %esi, %esi setle %dl xorl %eax, %eax orb %cl, %dl jne LBB0_3 ## %bb.1: cmpl $1, %esi jne LBB0_4 ## %bb.2: movl %edi, %eax LBB0_3: retq LBB0_4: 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 cmpl $100, %edi jb LBB0_7 ## %bb.5: imull $100, %esi, %eax cmpl %edi, %eax ja LBB0_7 ## %bb.6: cvtsi2sd %edi, %xmm0 cvtsi2sd %esi, %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, -24(%rbp) ## 8-byte Spill callq _sqrt ## kill: def $eax killed $eax def $rax leal (,%rax,8), %ecx subl %eax, %ecx xorps %xmm0, %xmm0 cvtsi2sd %ecx, %xmm0 addsd -24(%rbp), %xmm0 ## 8-byte Folded Reload addsd LCPI0_0(%rip), %xmm0 cvttsd2si %xmm0, %eax jmp LBB0_11 LBB0_7: cvtsi2sd %esi, %xmm1 movsd %xmm1, -24(%rbp) ## 8-byte Spill movsd LCPI0_0(%rip), %xmm2 ## xmm2 = [1.0E+0,0.0E+0] movapd %xmm2, %xmm0 divsd %xmm1, %xmm0 movapd %xmm2, %xmm1 subsd %xmm0, %xmm1 cvttsd2si %xmm1, %eax movl %edi, %ebx movl %eax, %edi movl %esi, %r14d callq _log imull %ebx, %eax movl %eax, %edi callq _exp movsd LCPI0_0(%rip), %xmm4 ## xmm4 = [1.0E+0,0.0E+0] xorl %eax, %eax movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.0000000000000001E-9,0.0E+0] divsd -24(%rbp), %xmm1 ## 8-byte Folded Reload subsd %xmm1, %xmm4 ucomisd %xmm0, %xmm4 jbe LBB0_11 ## %bb.8: movl %ebx, %ecx movl %r14d, %edx xorps %xmm2, %xmm2 cvtsi2sd %ebx, %xmm2 divsd %xmm2, %xmm1 movl $1, %esi subl %r14d, %esi xorl %edi, %edi movl %ebx, %r8d movl %esi, %r9d xorl %eax, %eax movapd %xmm0, %xmm2 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 ucomisd %xmm2, %xmm1 seta %r10b cmpl %ecx, %edi setg %r11b testb %r11b, %r10b jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 xorps %xmm3, %xmm3 cvtsi2sd %r8d, %xmm3 mulsd %xmm3, %xmm2 xorps %xmm3, %xmm3 cvtsi2sd %r9d, %xmm3 decl %eax divsd %xmm3, %xmm2 addsd %xmm2, %xmm0 addl %esi, %r9d incl %r8d subl %edx, %edi ucomisd %xmm0, %xmm4 ja LBB0_9 LBB0_11: addq $16, %rsp popq %rbx popq %r14 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 _estimate_split ; -- Begin function estimate_split .p2align 2 _estimate_split: ; @estimate_split .cfi_startproc ; %bb.0: mov x8, x0 mov w0, #0 ; =0x0 cmp w8, #1 b.lt LBB0_4 ; %bb.1: cmp w1, #1 b.lt LBB0_4 ; %bb.2: b.ne LBB0_5 ; %bb.3: mov x0, x8 LBB0_4: ret LBB0_5: stp d9, d8, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset b8, -56 .cfi_offset b9, -64 cmp w8, #100 b.lo LBB0_8 ; %bb.6: mov w9, #100 ; =0x64 mul w9, w1, w9 cmp w9, w8 b.hi LBB0_8 ; %bb.7: ucvtf d0, w8 ucvtf d1, w1 fdiv d8, d0, d1 fmov d0, d8 bl _sqrt lsl w8, w0, #3 sub w8, w8, w0 scvtf d0, w8 fadd d0, d8, d0 fmov d1, #1.00000000 fadd d0, d0, d1 fcvtzs w0, d0 b LBB0_13 LBB0_8: mov x19, x1 ucvtf d8, w1 fmov d9, #1.00000000 fdiv d0, d9, d8 fsub d0, d9, d0 fcvtzs w0, d0 mov x21, x8 bl _log mov x20, x21 mul w0, w0, w21 bl _exp mov x8, #54933 ; =0xd695 movk x8, #59430, lsl #16 movk x8, #11787, lsl #32 movk x8, #15889, lsl #48 fmov d1, x8 fdiv d2, d1, d8 fsub d1, d9, d2 fcmp d0, d1 b.pl LBB0_12 ; %bb.9: mov w8, #0 ; =0x0 mov w0, #0 ; =0x0 mov x9, x20 ucvtf d3, w20 fdiv d2, d2, d3 mov w11, #1 ; =0x1 mov x10, x19 sub w11, w11, w19 mov x12, x20 mov x13, x11 fmov d3, d0 LBB0_10: ; =>This Inner Loop Header: Depth=1 fcmp d3, d2 ccmp w8, w9, #4, mi b.gt LBB0_13 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 scvtf d4, w12 fmul d3, d3, d4 sub w0, w0, #1 scvtf d4, w13 fdiv d3, d3, d4 fadd d0, d0, d3 add w13, w13, w11 add w12, w12, #1 sub w8, w8, w10 fcmp d0, d1 b.mi LBB0_10 b LBB0_13 LBB0_12: mov w0, #0 ; =0x0 LBB0_13: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
assembly_file_75148.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zbrajanje ## -- Begin function zbrajanje .p2align 4, 0x90 _zbrajanje: ## @zbrajanje .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $7, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _y,4,2 ## @y .comm _x,4,2 ## @x .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _zbrajanje ; -- Begin function zbrajanje .p2align 2 _zbrajanje: ; @zbrajanje .cfi_startproc ; %bb.0: mov w0, #7 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .comm _y,4,2 ; @y .comm _x,4,2 ; @x .subsections_via_symbols
the_stack_data/68888906.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tmpfs_chmod ## -- Begin function tmpfs_chmod .p2align 4, 0x90 _tmpfs_chmod: ## @tmpfs_chmod .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r13 movq %rdx, %r12 movl %esi, %r14d movq %rdi, %rbx leaq L_.str(%rip), %rsi callq _ASSERT_VOP_ELOCKED movq %rbx, %rdi callq _VP_TO_TMPFS_NODE movq %rax, %r15 movq 8(%rbx), %rax movq _MNT_RDONLY@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, (%rax) je LBB0_2 ## %bb.1: movq _EROFS@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_13 LBB0_2: movq _IMMUTABLE@GOTPCREL(%rip), %rax movq _APPEND@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx testl %ecx, (%r15) je LBB0_4 ## %bb.3: movq _EPERM@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_13 LBB0_4: movq _VADMIN@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movq %r12, %rdx movq %r13, %rcx callq _VOP_ACCESS testl %eax, %eax jne LBB0_13 ## %bb.5: movq (%rbx), %rax movq _VDIR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_9 ## %bb.6: movq _S_ISTXT@GOTPCREL(%rip), %rax testl %r14d, (%rax) je LBB0_9 ## %bb.7: movq _PRIV_VFS_STICKYFILE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _priv_check_cred testl %eax, %eax je LBB0_9 ## %bb.8: movq _EFTYPE@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_13 LBB0_9: movl 12(%r15), %edi movq %r12, %rsi callq _groupmember testl %eax, %eax je LBB0_10 LBB0_12: movq _ALLPERMS@GOTPCREL(%rip), %rax movl 4(%r15), %ecx xorl %ecx, %r14d andl (%rax), %r14d xorl %ecx, %r14d movl %r14d, 4(%r15) movq _TMPFS_NODE_CHANGED@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 8(%r15) leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _ASSERT_VOP_ELOCKED xorl %eax, %eax LBB0_13: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: movq _S_ISGID@GOTPCREL(%rip), %rax testl %r14d, (%rax) je LBB0_12 ## %bb.11: movq _PRIV_VFS_SETGID@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _priv_check_cred testl %eax, %eax jne LBB0_13 jmp LBB0_12 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "chmod" .comm _MNT_RDONLY,4,2 ## @MNT_RDONLY .comm _EROFS,4,2 ## @EROFS .comm _IMMUTABLE,4,2 ## @IMMUTABLE .comm _APPEND,4,2 ## @APPEND .comm _EPERM,4,2 ## @EPERM .comm _VADMIN,4,2 ## @VADMIN .comm _VDIR,8,3 ## @VDIR .comm _S_ISTXT,4,2 ## @S_ISTXT .comm _PRIV_VFS_STICKYFILE,4,2 ## @PRIV_VFS_STICKYFILE .comm _EFTYPE,4,2 ## @EFTYPE .comm _S_ISGID,4,2 ## @S_ISGID .comm _PRIV_VFS_SETGID,4,2 ## @PRIV_VFS_SETGID .comm _ALLPERMS,4,2 ## @ALLPERMS .comm _TMPFS_NODE_CHANGED,4,2 ## @TMPFS_NODE_CHANGED L_.str.1: ## @.str.1 .asciz "chmod2" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tmpfs_chmod ; -- Begin function tmpfs_chmod .p2align 2 _tmpfs_chmod: ; @tmpfs_chmod .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 x23, x3 mov x22, x2 mov x20, x1 mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _ASSERT_VOP_ELOCKED mov x0, x19 bl _VP_TO_TMPFS_NODE ldr x8, [x19, #8] ldr w8, [x8] Lloh2: adrp x9, _MNT_RDONLY@GOTPAGE Lloh3: ldr x9, [x9, _MNT_RDONLY@GOTPAGEOFF] Lloh4: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: Lloh5: adrp x8, _EROFS@GOTPAGE Lloh6: ldr x8, [x8, _EROFS@GOTPAGEOFF] Lloh7: ldr w0, [x8] b LBB0_11 LBB0_2: mov x21, x0 ldr w8, [x0] Lloh8: adrp x9, _IMMUTABLE@GOTPAGE Lloh9: ldr x9, [x9, _IMMUTABLE@GOTPAGEOFF] Lloh10: ldr w9, [x9] Lloh11: adrp x10, _APPEND@GOTPAGE Lloh12: ldr x10, [x10, _APPEND@GOTPAGEOFF] Lloh13: ldr w10, [x10] orr w9, w10, w9 tst w9, w8 b.eq LBB0_4 ; %bb.3: Lloh14: adrp x8, _EPERM@GOTPAGE Lloh15: ldr x8, [x8, _EPERM@GOTPAGEOFF] Lloh16: ldr w0, [x8] b LBB0_11 LBB0_4: Lloh17: adrp x8, _VADMIN@GOTPAGE Lloh18: ldr x8, [x8, _VADMIN@GOTPAGEOFF] Lloh19: ldr w1, [x8] mov x0, x19 mov x2, x22 mov x3, x23 bl _VOP_ACCESS cbnz w0, LBB0_11 ; %bb.5: ldr x8, [x19] Lloh20: adrp x9, _VDIR@GOTPAGE Lloh21: ldr x9, [x9, _VDIR@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x8, x9 b.eq LBB0_9 ; %bb.6: Lloh23: adrp x8, _S_ISTXT@GOTPAGE Lloh24: ldr x8, [x8, _S_ISTXT@GOTPAGEOFF] Lloh25: ldr w8, [x8] tst w8, w20 b.eq LBB0_9 ; %bb.7: Lloh26: adrp x8, _PRIV_VFS_STICKYFILE@GOTPAGE Lloh27: ldr x8, [x8, _PRIV_VFS_STICKYFILE@GOTPAGEOFF] Lloh28: ldr w1, [x8] mov x0, x22 bl _priv_check_cred cbz w0, LBB0_9 ; %bb.8: Lloh29: adrp x8, _EFTYPE@GOTPAGE Lloh30: ldr x8, [x8, _EFTYPE@GOTPAGEOFF] Lloh31: ldr w0, [x8] b LBB0_11 LBB0_9: ldr w0, [x21, #12] mov x1, x22 bl _groupmember cbz w0, LBB0_12 LBB0_10: Lloh32: adrp x8, _ALLPERMS@GOTPAGE Lloh33: ldr x8, [x8, _ALLPERMS@GOTPAGEOFF] Lloh34: ldr w8, [x8] ldp w9, w10, [x21, #4] bic w9, w9, w8 and w8, w8, w20 orr w8, w9, w8 Lloh35: adrp x9, _TMPFS_NODE_CHANGED@GOTPAGE Lloh36: ldr x9, [x9, _TMPFS_NODE_CHANGED@GOTPAGEOFF] Lloh37: ldr w9, [x9] orr w9, w10, w9 stp w8, w9, [x21, #4] Lloh38: adrp x1, l_.str.1@PAGE Lloh39: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _ASSERT_VOP_ELOCKED mov w0, #0 LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_12: Lloh40: adrp x8, _S_ISGID@GOTPAGE Lloh41: ldr x8, [x8, _S_ISGID@GOTPAGEOFF] Lloh42: ldr w8, [x8] tst w8, w20 b.eq LBB0_10 ; %bb.13: Lloh43: adrp x8, _PRIV_VFS_SETGID@GOTPAGE Lloh44: ldr x8, [x8, _PRIV_VFS_SETGID@GOTPAGEOFF] Lloh45: ldr w1, [x8] mov x0, x22 bl _priv_check_cred cbnz w0, LBB0_11 b LBB0_10 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "chmod" .comm _MNT_RDONLY,4,2 ; @MNT_RDONLY .comm _EROFS,4,2 ; @EROFS .comm _IMMUTABLE,4,2 ; @IMMUTABLE .comm _APPEND,4,2 ; @APPEND .comm _EPERM,4,2 ; @EPERM .comm _VADMIN,4,2 ; @VADMIN .comm _VDIR,8,3 ; @VDIR .comm _S_ISTXT,4,2 ; @S_ISTXT .comm _PRIV_VFS_STICKYFILE,4,2 ; @PRIV_VFS_STICKYFILE .comm _EFTYPE,4,2 ; @EFTYPE .comm _S_ISGID,4,2 ; @S_ISGID .comm _PRIV_VFS_SETGID,4,2 ; @PRIV_VFS_SETGID .comm _ALLPERMS,4,2 ; @ALLPERMS .comm _TMPFS_NODE_CHANGED,4,2 ; @TMPFS_NODE_CHANGED l_.str.1: ; @.str.1 .asciz "chmod2" .subsections_via_symbols
AnghaBench/freebsd/sys/fs/tmpfs/extr_tmpfs_subr.c_tmpfs_chmod.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TPAL_SetPhy1000FullDuplex ## -- Begin function TPAL_SetPhy1000FullDuplex .p2align 4, 0x90 _TPAL_SetPhy1000FullDuplex: ## @TPAL_SetPhy1000FullDuplex .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 $1, %esi callq _ET1310_PhyPowerDown movq _TRUEPHY_ADV_DUPLEX_NONE@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _ET1310_PhyAdvertise100BaseT movl (%r14), %esi movq %rbx, %rdi callq _ET1310_PhyAdvertise10BaseT movq _TRUEPHY_ADV_DUPLEX_FULL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _ET1310_PhyAdvertise1000BaseT movq %rbx, %rdi xorl %esi, %esi popq %rbx popq %r14 popq %rbp jmp _ET1310_PhyPowerDown ## TAILCALL .cfi_endproc ## -- End function .comm _TRUEPHY_ADV_DUPLEX_NONE,4,2 ## @TRUEPHY_ADV_DUPLEX_NONE .comm _TRUEPHY_ADV_DUPLEX_FULL,4,2 ## @TRUEPHY_ADV_DUPLEX_FULL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TPAL_SetPhy1000FullDuplex ; -- Begin function TPAL_SetPhy1000FullDuplex .p2align 2 _TPAL_SetPhy1000FullDuplex: ; @TPAL_SetPhy1000FullDuplex .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 w1, #1 bl _ET1310_PhyPowerDown Lloh0: adrp x20, _TRUEPHY_ADV_DUPLEX_NONE@GOTPAGE Lloh1: ldr x20, [x20, _TRUEPHY_ADV_DUPLEX_NONE@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _ET1310_PhyAdvertise100BaseT ldr w1, [x20] mov x0, x19 bl _ET1310_PhyAdvertise10BaseT Lloh2: adrp x8, _TRUEPHY_ADV_DUPLEX_FULL@GOTPAGE Lloh3: ldr x8, [x8, _TRUEPHY_ADV_DUPLEX_FULL@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov x0, x19 bl _ET1310_PhyAdvertise1000BaseT mov x0, x19 mov w1, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ET1310_PhyPowerDown .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TRUEPHY_ADV_DUPLEX_NONE,4,2 ; @TRUEPHY_ADV_DUPLEX_NONE .comm _TRUEPHY_ADV_DUPLEX_FULL,4,2 ; @TRUEPHY_ADV_DUPLEX_FULL .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/et131x/extr_et1310_phy.c_TPAL_SetPhy1000FullDuplex.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function WK_pack_2bits _WK_pack_2bits: ## @WK_pack_2bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpq %rsi, %rdi jae LBB0_1 ## %bb.2: leaq 16(%rdi), %rax cmpq %rax, %rsi movq %rax, %r8 cmovaq %rsi, %r8 movq %rdi, %rcx notq %rcx addq %rcx, %r8 cmpq $48, %r8 jb LBB0_3 ## %bb.4: cmpq %rax, %rsi cmovaq %rsi, %rax addq %rcx, %rax shrq $4, %rax movq %rax, %rcx shlq $4, %rcx addq %rdi, %rcx addq $16, %rcx cmpq %rdx, %rcx jbe LBB0_6 ## %bb.5: leaq (%rdx,%rax,4), %rax addq $4, %rax cmpq %rdi, %rax jbe LBB0_6 LBB0_3: movq %rdi, %r11 movq %rdx, %rax .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movl 4(%r11), %edx movl 8(%r11), %edi shll $2, %edx orl (%r11), %edx shll $4, %edi movl 12(%r11), %ecx shll $6, %ecx orl %edi, %ecx orl %edx, %ecx movl %ecx, (%rax) addq $4, %rax addq $16, %r11 cmpq %rsi, %r11 jb LBB0_9 LBB0_10: popq %rbp retq LBB0_1: movq %rdx, %rax popq %rbp retq LBB0_6: shrq $4, %r8 incq %r8 movq %r8, %r9 andq $-4, %r9 movq %r9, %r11 shlq $4, %r11 addq %rdi, %r11 leaq (%rdx,%r9,4), %rax xorl %r10d, %r10d .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movdqu (%rdi), %xmm0 movdqu 16(%rdi), %xmm1 movdqu 32(%rdi), %xmm2 movdqu 48(%rdi), %xmm3 movdqa %xmm0, %xmm4 punpckldq %xmm1, %xmm4 ## xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1] movdqa %xmm2, %xmm5 punpckldq %xmm3, %xmm5 ## xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1] punpcklqdq %xmm5, %xmm4 ## xmm4 = xmm4[0],xmm5[0] pshufd $85, %xmm0, %xmm6 ## xmm6 = xmm0[1,1,1,1] pblendw $12, %xmm1, %xmm6 ## xmm6 = xmm6[0,1],xmm1[2,3],xmm6[4,5,6,7] pblendw $240, %xmm5, %xmm6 ## xmm6 = xmm6[0,1,2,3],xmm5[4,5,6,7] pshufd $170, %xmm3, %xmm5 ## xmm5 = xmm3[2,2,2,2] pblendw $63, %xmm2, %xmm5 ## xmm5 = xmm2[0,1,2,3,4,5],xmm5[6,7] punpckhdq %xmm1, %xmm0 ## xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3] pblendw $15, %xmm0, %xmm5 ## xmm5 = xmm0[0,1,2,3],xmm5[4,5,6,7] punpckhdq %xmm3, %xmm2 ## xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3] punpckhqdq %xmm2, %xmm0 ## xmm0 = xmm0[1],xmm2[1] pslld $2, %xmm6 por %xmm4, %xmm6 pslld $4, %xmm5 pslld $6, %xmm0 por %xmm5, %xmm0 por %xmm6, %xmm0 movdqu %xmm0, (%rdx,%r10,4) addq $4, %r10 addq $64, %rdi cmpq %r10, %r9 jne LBB0_7 ## %bb.8: cmpq %r9, %r8 jne LBB0_9 jmp LBB0_10 .cfi_endproc ## -- End function .no_dead_strip _WK_pack_2bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function WK_pack_2bits _WK_pack_2bits: ; @WK_pack_2bits .cfi_startproc ; %bb.0: cmp x0, x1 b.hs LBB0_6 ; %bb.1: mov x8, x0 add x10, x0, #16 cmp x1, x10 csel x9, x1, x10, hi mvn x11, x0 add x9, x9, x11 cmp x9, #240 b.lo LBB0_7 ; %bb.2: cmp x1, x10 csel x10, x1, x10, hi add x10, x10, x11 lsr x10, x10, #4 add x11, x2, x10, lsl #2 add x11, x11, #4 add x10, x8, x10, lsl #4 add x10, x10, #16 cmp x10, x2 ccmp x11, x8, #0, hi b.hi LBB0_7 ; %bb.3: lsr x9, x9, #4 add x10, x9, #1 and x11, x10, #0x1ffffffffffffff0 add x9, x8, x11, lsl #4 add x0, x2, x11, lsl #2 add x8, x8, #128 add x12, x2, #32 mov x13, x11 LBB0_4: ; =>This Inner Loop Header: Depth=1 sub x14, x8, #128 sub x15, x8, #64 ld4.4s { v0, v1, v2, v3 }, [x14] ld4.4s { v4, v5, v6, v7 }, [x15] mov x14, x8 ld4.4s { v16, v17, v18, v19 }, [x14], #64 ld4.4s { v20, v21, v22, v23 }, [x14] shl.4s v24, v1, #2 shl.4s v25, v5, #2 shl.4s v26, v17, #2 shl.4s v27, v21, #2 orr.16b v24, v24, v0 orr.16b v25, v25, v4 orr.16b v26, v26, v16 orr.16b v27, v27, v20 shl.4s v28, v2, #4 shl.4s v29, v6, #4 shl.4s v30, v18, #4 shl.4s v31, v22, #4 orr.16b v24, v24, v28 orr.16b v25, v25, v29 orr.16b v26, v26, v30 orr.16b v27, v27, v31 shl.4s v0, v3, #6 shl.4s v1, v7, #6 shl.4s v2, v19, #6 shl.4s v3, v23, #6 orr.16b v0, v24, v0 orr.16b v1, v25, v1 orr.16b v2, v26, v2 stp q0, q1, [x12, #-32] orr.16b v0, v27, v3 stp q2, q0, [x12], #64 add x8, x8, #256 subs x13, x13, #16 b.ne LBB0_4 ; %bb.5: cmp x10, x11 b.ne LBB0_8 b LBB0_9 LBB0_6: mov x0, x2 ret LBB0_7: mov x9, x8 mov x0, x2 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldp w8, w10, [x9] orr w8, w8, w10, lsl #2 ldp w10, w11, [x9, #8] orr w8, w8, w10, lsl #4 orr w8, w8, w11, lsl #6 str w8, [x0], #4 add x9, x9, #16 cmp x9, x1 b.lo LBB0_8 LBB0_9: ret .cfi_endproc ; -- End function .no_dead_strip _WK_pack_2bits .subsections_via_symbols
AnghaBench/darwin-xnu/libkern/kxld/extr_WKdmCompress.c_WK_pack_2bits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _initTermios ## -- Begin function initTermios .p2align 4, 0x90 _initTermios: ## @initTermios .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 leaq _old(%rip), %rsi xorl %edi, %edi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax testl %ebx, %ebx movq $-265, %rcx ## imm = 0xFEF7 movl $8, %edx cmoveq %rcx, %rdx movq %rax, _new+64(%rip) andq %rdx, _new+24(%rip) leaq _new(%rip), %rdx xorl %edi, %edi xorl %esi, %esi addq $8, %rsp popq %rbx popq %rbp jmp _tcsetattr ## TAILCALL .cfi_endproc ## -- End function .globl _resetTermios ## -- Begin function resetTermios .p2align 4, 0x90 _resetTermios: ## @resetTermios .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq _old(%rip), %rdx xorl %edi, %edi xorl %esi, %esi popq %rbp jmp _tcsetattr ## TAILCALL .cfi_endproc ## -- End function .globl _getch_ ## -- Begin function getch_ .p2align 4, 0x90 _getch_: ## @getch_ .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx leaq _old(%rip), %r14 xorl %edi, %edi movq %r14, %rsi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax movq %rax, _new+64(%rip) testl %ebx, %ebx movq $-265, %rax ## imm = 0xFEF7 movl $8, %ecx cmoveq %rax, %rcx leaq _new(%rip), %rdx andq %rcx, _new+24(%rip) xorl %edi, %edi xorl %esi, %esi callq _tcsetattr callq _getchar movl %eax, %ebx xorl %edi, %edi xorl %esi, %esi movq %r14, %rdx callq _tcsetattr movsbl %bl, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _getch ## -- Begin function getch .p2align 4, 0x90 _getch: ## @getch .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 leaq _old(%rip), %r14 xorl %edi, %edi movq %r14, %rsi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax movq %rax, _new+64(%rip) leaq _new(%rip), %rdx andq $-265, _new+24(%rip) ## imm = 0xFEF7 xorl %edi, %edi xorl %esi, %esi callq _tcsetattr callq _getchar movl %eax, %ebx xorl %edi, %edi xorl %esi, %esi movq %r14, %rdx callq _tcsetattr movsbl %bl, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _getche ## -- Begin function getche .p2align 4, 0x90 _getche: ## @getche .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 leaq _old(%rip), %r14 xorl %edi, %edi movq %r14, %rsi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax movq %rax, _new+64(%rip) leaq _new(%rip), %rdx andq $8, _new+24(%rip) xorl %edi, %edi xorl %esi, %esi callq _tcsetattr callq _getchar movl %eax, %ebx xorl %edi, %edi xorl %esi, %esi movq %r14, %rdx callq _tcsetattr movsbl %bl, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str(%rip), %rdi callq _puts leaq L_str.8(%rip), %rdi callq _puts leaq _old(%rip), %r12 leaq _new(%rip), %r14 leaq LJTI5_0(%rip), %r13 movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB5_1 .p2align 4, 0x90 LBB5_2: ## in Loop: Header=BB5_1 Depth=1 cmpb $10, %bl je LBB5_3 LBB5_1: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi movq %r12, %rsi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax movq %rax, _new+64(%rip) andq $-265, _new+24(%rip) ## imm = 0xFEF7 xorl %edi, %edi xorl %esi, %esi movq %r14, %rdx callq _tcsetattr callq _getchar movl %eax, %ebx xorl %edi, %edi xorl %esi, %esi movq %r12, %rdx callq _tcsetattr cmpb $27, %bl jne LBB5_2 ## %bb.4: ## in Loop: Header=BB5_1 Depth=1 xorl %edi, %edi movq %r12, %rsi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax movq %rax, _new+64(%rip) andq $-265, _new+24(%rip) ## imm = 0xFEF7 xorl %edi, %edi xorl %esi, %esi movq %r14, %rdx callq _tcsetattr callq _getchar movl %eax, %r15d xorl %edi, %edi xorl %esi, %esi movq %r12, %rdx callq _tcsetattr cmpb $91, %r15b jne LBB5_6 ## %bb.5: ## in Loop: Header=BB5_1 Depth=1 xorl %edi, %edi movq %r12, %rsi callq _tcgetattr movups _old+16(%rip), %xmm0 movups %xmm0, _new+16(%rip) movups _old(%rip), %xmm0 movups %xmm0, _new(%rip) movups _old+32(%rip), %xmm0 movups %xmm0, _new+32(%rip) movups _old+48(%rip), %xmm0 movups %xmm0, _new+48(%rip) movq _old+64(%rip), %rax movq %rax, _new+64(%rip) andq $-265, _new+24(%rip) ## imm = 0xFEF7 xorl %edi, %edi xorl %esi, %esi movq %r14, %rdx callq _tcsetattr callq _getchar movl %eax, %r15d xorl %edi, %edi xorl %esi, %esi movq %r12, %rdx callq _tcsetattr LBB5_6: ## in Loop: Header=BB5_1 Depth=1 addb $-65, %r15b cmpb $3, %r15b ja LBB5_1 ## %bb.7: ## in Loop: Header=BB5_1 Depth=1 movzbl %r15b, %eax movslq (%r13,%rax,4), %rax addq %r13, %rax jmpq *%rax LBB5_11: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.5(%rip), %rdi callq _puts jmp LBB5_1 LBB5_12: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.6(%rip), %rdi callq _puts jmp LBB5_1 LBB5_8: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.2(%rip), %rdi callq _puts movl -44(%rbp), %esi ## 4-byte Reload decl %esi jmp LBB5_9 LBB5_10: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.4(%rip), %rdi callq _puts movl -44(%rbp), %esi ## 4-byte Reload incl %esi LBB5_9: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.3(%rip), %rdi movl %esi, -44(%rbp) ## 4-byte Spill xorl %eax, %eax callq _printf jmp LBB5_1 LBB5_3: leaq L_.str.7(%rip), %rdi movl -44(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L5_0_set_8, LBB5_8-LJTI5_0 .set L5_0_set_10, LBB5_10-LJTI5_0 .set L5_0_set_11, LBB5_11-LJTI5_0 .set L5_0_set_12, LBB5_12-LJTI5_0 LJTI5_0: .long L5_0_set_8 .long L5_0_set_10 .long L5_0_set_11 .long L5_0_set_12 .end_data_region ## -- End function .zerofill __DATA,__bss,_old,72,3 ## @old .zerofill __DATA,__bss,_new,72,3 ## @new .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "You pressed up arrow! \n" L_.str.3: ## @.str.3 .asciz "Menunum is now %d \n" L_.str.4: ## @.str.4 .asciz "You pressed down arrow! \n" L_.str.5: ## @.str.5 .asciz "You pressed right arrow! \n" L_.str.6: ## @.str.6 .asciz "You pressed left arrow! \n" L_.str.7: ## @.str.7 .asciz "You pressed ENTER! You chose item %d \n" L_str: ## @str .asciz "Public Domain Readline " L_str.8: ## @str.8 .asciz "\nUse the up and down arrow keys then press Enter" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _initTermios ; -- Begin function initTermios .p2align 2 _initTermios: ; @initTermios .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x20, _old@PAGE Lloh1: add x20, x20, _old@PAGEOFF mov w0, #0 mov x1, x20 bl _tcgetattr Lloh2: adrp x2, _new@PAGE Lloh3: add x2, x2, _new@PAGEOFF ldp q0, q1, [x20, #32] stp q0, q1, [x2, #32] ldr x8, [x20, #64] str x8, [x2, #64] ldp q1, q0, [x20] stp q1, q0, [x2] ldr x8, [x2, #24] cmp w19, #0 mov w9, #8 mov x10, #-265 csel x9, x10, x9, eq and x8, x9, x8 str x8, [x2, #24] mov w0, #0 mov w1, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _tcsetattr .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _resetTermios ; -- Begin function resetTermios .p2align 2 _resetTermios: ; @resetTermios .cfi_startproc ; %bb.0: Lloh4: adrp x2, _old@PAGE Lloh5: add x2, x2, _old@PAGEOFF mov w0, #0 mov w1, #0 b _tcsetattr .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _getch_ ; -- Begin function getch_ .p2align 2 _getch_: ; @getch_ .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 Lloh6: adrp x20, _old@PAGE Lloh7: add x20, x20, _old@PAGEOFF mov w0, #0 mov x1, x20 bl _tcgetattr Lloh8: adrp x2, _new@PAGE Lloh9: add x2, x2, _new@PAGEOFF ldp q0, q1, [x20, #32] stp q0, q1, [x2, #32] ldr x8, [x20, #64] str x8, [x2, #64] ldp q1, q0, [x20] stp q1, q0, [x2] ldr x8, [x2, #24] cmp w19, #0 mov w9, #8 mov x10, #-265 csel x9, x10, x9, eq and x8, x8, x9 str x8, [x2, #24] mov w0, #0 mov w1, #0 bl _tcsetattr bl _getchar mov x19, x0 mov w0, #0 mov w1, #0 mov x2, x20 bl _tcsetattr sxtb w0, w19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _getch ; -- Begin function getch .p2align 2 _getch: ; @getch .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 Lloh10: adrp x19, _old@PAGE Lloh11: add x19, x19, _old@PAGEOFF mov w0, #0 mov x1, x19 bl _tcgetattr Lloh12: adrp x2, _new@PAGE Lloh13: add x2, x2, _new@PAGEOFF ldp q0, q1, [x19, #32] stp q0, q1, [x2, #32] ldr x8, [x19, #64] str x8, [x2, #64] ldp q1, q0, [x19] stp q1, q0, [x2] ldr x8, [x2, #24] mov x9, #-265 and x8, x8, x9 str x8, [x2, #24] mov w0, #0 mov w1, #0 bl _tcsetattr bl _getchar mov x20, x0 mov w0, #0 mov w1, #0 mov x2, x19 bl _tcsetattr sxtb w0, w20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _getche ; -- Begin function getche .p2align 2 _getche: ; @getche .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 Lloh14: adrp x19, _old@PAGE Lloh15: add x19, x19, _old@PAGEOFF mov w0, #0 mov x1, x19 bl _tcgetattr Lloh16: adrp x2, _new@PAGE Lloh17: add x2, x2, _new@PAGEOFF ldp q0, q1, [x19, #32] stp q0, q1, [x2, #32] ldr x8, [x19, #64] str x8, [x2, #64] ldp q1, q0, [x19] stp q1, q0, [x2] ldr x8, [x2, #24] and x8, x8, #0x8 str x8, [x2, #24] mov w0, #0 mov w1, #0 bl _tcsetattr bl _getchar mov x20, x0 mov w0, #0 mov w1, #0 mov x2, x19 bl _tcsetattr sxtb w0, w20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh18: adrp x0, l_str@PAGE Lloh19: add x0, x0, l_str@PAGEOFF bl _puts Lloh20: adrp x0, l_str.8@PAGE Lloh21: add x0, x0, l_str.8@PAGEOFF bl _puts mov w25, #0 Lloh22: adrp x19, _old@PAGE Lloh23: add x19, x19, _old@PAGEOFF Lloh24: adrp x20, _new@PAGE Lloh25: add x20, x20, _new@PAGEOFF mov x26, #-265 Lloh26: adrp x27, l_.str.5@PAGE Lloh27: add x27, x27, l_.str.5@PAGEOFF Lloh28: adrp x28, lJTI5_0@PAGE Lloh29: add x28, x28, lJTI5_0@PAGEOFF Lloh30: adrp x22, l_.str.3@PAGE Lloh31: add x22, x22, l_.str.3@PAGEOFF Lloh32: adrp x23, l_.str.4@PAGE Lloh33: add x23, x23, l_.str.4@PAGEOFF Lloh34: adrp x21, l_.str.6@PAGE Lloh35: add x21, x21, l_.str.6@PAGEOFF b LBB5_2 LBB5_1: ; in Loop: Header=BB5_2 Depth=1 cmp w8, #10 b.eq LBB5_12 LBB5_2: ; =>This Inner Loop Header: Depth=1 mov w0, #0 mov x1, x19 bl _tcgetattr ldp q0, q1, [x19, #32] stp q0, q1, [x20, #32] ldr x8, [x19, #64] str x8, [x20, #64] ldp q1, q0, [x19] stp q1, q0, [x20] ldr x8, [x20, #24] and x8, x8, x26 str x8, [x20, #24] mov w0, #0 mov w1, #0 mov x2, x20 bl _tcsetattr bl _getchar mov x24, x0 mov w0, #0 mov w1, #0 mov x2, x19 bl _tcsetattr and w8, w24, #0xff cmp w8, #27 b.ne LBB5_1 ; %bb.3: ; in Loop: Header=BB5_2 Depth=1 mov w0, #0 mov x1, x19 bl _tcgetattr ldp q0, q1, [x19, #32] stp q0, q1, [x20, #32] ldr x8, [x19, #64] str x8, [x20, #64] ldp q1, q0, [x19] stp q1, q0, [x20] ldr x8, [x20, #24] and x8, x8, x26 str x8, [x20, #24] mov w0, #0 mov w1, #0 mov x2, x20 bl _tcsetattr bl _getchar and w24, w0, #0xff mov w0, #0 mov w1, #0 mov x2, x19 bl _tcsetattr cmp w24, #91 b.ne LBB5_5 ; %bb.4: ; in Loop: Header=BB5_2 Depth=1 mov w0, #0 mov x1, x19 bl _tcgetattr ldp q0, q1, [x19, #32] stp q0, q1, [x20, #32] ldr x8, [x19, #64] str x8, [x20, #64] ldp q1, q0, [x19] stp q1, q0, [x20] ldr x8, [x20, #24] and x8, x8, x26 str x8, [x20, #24] mov w0, #0 mov w1, #0 mov x2, x20 bl _tcsetattr bl _getchar and w24, w0, #0xff mov w0, #0 mov w1, #0 mov x2, x19 bl _tcsetattr LBB5_5: ; in Loop: Header=BB5_2 Depth=1 sub w8, w24, #65 cmp w8, #3 b.hi LBB5_2 ; %bb.6: ; in Loop: Header=BB5_2 Depth=1 adr x9, LBB5_7 ldrb w10, [x28, x8] add x9, x9, x10, lsl #2 mov x0, x27 br x9 LBB5_7: ; in Loop: Header=BB5_2 Depth=1 mov x0, x21 LBB5_8: ; in Loop: Header=BB5_2 Depth=1 bl _puts b LBB5_2 LBB5_9: ; in Loop: Header=BB5_2 Depth=1 Lloh36: adrp x0, l_.str.2@PAGE Lloh37: add x0, x0, l_.str.2@PAGEOFF bl _puts sub w25, w25, #1 b LBB5_11 LBB5_10: ; in Loop: Header=BB5_2 Depth=1 mov x0, x23 bl _puts add w25, w25, #1 LBB5_11: ; in Loop: Header=BB5_2 Depth=1 str x25, [sp] mov x0, x22 bl _printf b LBB5_2 LBB5_12: ; kill: def $w25 killed $w25 killed $x25 def $x25 str x25, [sp] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .cfi_endproc .section __TEXT,__const lJTI5_0: .byte (LBB5_9-LBB5_7)>>2 .byte (LBB5_10-LBB5_7)>>2 .byte (LBB5_8-LBB5_7)>>2 .byte (LBB5_7-LBB5_7)>>2 ; -- End function .zerofill __DATA,__bss,_old,72,3 ; @old .zerofill __DATA,__bss,_new,72,3 ; @new .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "You pressed up arrow! \n" l_.str.3: ; @.str.3 .asciz "Menunum is now %d \n" l_.str.4: ; @.str.4 .asciz "You pressed down arrow! \n" l_.str.5: ; @.str.5 .asciz "You pressed right arrow! \n" l_.str.6: ; @.str.6 .asciz "You pressed left arrow! \n" l_.str.7: ; @.str.7 .asciz "You pressed ENTER! You chose item %d \n" l_str: ; @str .asciz "Public Domain Readline " l_str.8: ; @str.8 .asciz "\nUse the up and down arrow keys then press Enter" .subsections_via_symbols
the_stack_data/36889.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function v4l_s_parm _v4l_s_parm: ## @v4l_s_parm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movl 48(%rcx), %esi movq %r15, %rdi callq _check_fmt testl %eax, %eax je LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movl 48(%rbx), %edi callq _V4L2_TYPE_IS_OUTPUT leaq 40(%rbx), %rcx leaq 16(%rbx), %rdx leaq 32(%rbx), %rsi testq %rax, %rax movl $24, %r13d cmoveq %rax, %r13 cmoveq %rdx, %rcx movq %r14, -48(%rbp) ## 8-byte Spill leaq 8(%rbx), %r14 movl (%rcx), %edi cmovneq %rsi, %r14 xorl %esi, %esi movl $4, %edx callq _memset movq $0, (%r14) movq _V4L2_MODE_HIGHQUALITY@GOTPCREL(%rip), %rax movl (%rax), %eax andl %eax, (%rbx,%r13) movq (%r12), %rax movq %r15, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movq %rbx, %rdx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _V4L2_MODE_HIGHQUALITY,4,2 ## @V4L2_MODE_HIGHQUALITY .no_dead_strip _v4l_s_parm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function v4l_s_parm _v4l_s_parm: ; @v4l_s_parm .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, x3 mov x20, x2 mov x21, x1 mov x22, x0 ldr w1, [x3, #48] mov x0, x21 bl _check_fmt cbz w0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_2: ldr w0, [x19, #48] bl _V4L2_TYPE_IS_OUTPUT mov w8, #40 mov w9, #16 cmp x0, #0 csel x8, x9, x8, eq mov w9, #32 mov w10, #8 csel x23, x10, x9, eq mov w9, #24 csel x24, xzr, x9, eq ldr w0, [x19, x8] mov w1, #0 mov w2, #4 bl _memset str xzr, [x19, x23] Lloh0: adrp x8, _V4L2_MODE_HIGHQUALITY@GOTPAGE Lloh1: ldr x8, [x8, _V4L2_MODE_HIGHQUALITY@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w9, [x19, x24] and w8, w9, w8 str w8, [x19, x24] ldr x3, [x22] mov x0, x21 mov x1, x20 mov x2, 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 br x3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _V4L2_MODE_HIGHQUALITY,4,2 ; @V4L2_MODE_HIGHQUALITY .no_dead_strip _v4l_s_parm .subsections_via_symbols
AnghaBench/linux/drivers/media/v4l2-core/extr_v4l2-ioctl.c_v4l_s_parm.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function p970_compute_mmcr _p970_compute_mmcr: ## @p970_compute_mmcr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -136(%rbp) ## 8-byte Spill movq %rdi, -120(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl $117706760, -101(%rbp) ## imm = 0x7041008 movl $135790592, -104(%rbp) ## imm = 0x8180000 movl $-1, %r12d cmpl $8, %esi jg LBB0_1 ## %bb.3: movl %esi, %r14d movq %rcx, -128(%rbp) ## 8-byte Spill movq $0, -56(%rbp) leaq -94(%rbp), %rdi xorl %ebx, %ebx xorl %esi, %esi movl $4, %edx callq _memset leaq -80(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _memset movl $0, %eax movl $0, %r13d testl %r14d, %r14d js LBB0_18 ## %bb.4: movq _PM_PMC_SH@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PM_PMC_MSK@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq _PM_UNIT_SH@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _PM_UNIT_MSK@GOTPCREL(%rip), %rcx movl (%rcx), %r8d movq _PM_BYTE_SH@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _PM_BYTE_MSK@GOTPCREL(%rip), %rcx movl (%rcx), %r9d movq _PM_LASTUNIT@GOTPCREL(%rip), %rcx movl (%rcx), %r10d movq %r14, -112(%rbp) ## 8-byte Spill leal 1(%r14), %r11d xorl %ebx, %ebx xorl %r13d, %r13d jmp LBB0_7 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_7 Depth=1 movb %r12b, -94(%rbp,%r14) movb $1, -80(%rbp,%r12) LBB0_6: ## in Loop: Header=BB0_7 Depth=1 incq %rbx cmpq %rbx, %r11 je LBB0_17 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -120(%rbp), %rcx ## 8-byte Reload movl (%rcx,%rbx,4), %r14d movl %r14d, %r15d movl %eax, %ecx sarl %cl, %r15d andl %edi, %r15d je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 leal -1(%r15), %ecx movl $1, %r12d shll %cl, %r12d btl %ecx, %r13d jb LBB0_32 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 orl %r12d, %r13d andl $2, %ecx incl -56(%rbp,%rcx,2) LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movl %r14d, %r12d movl %edx, %ecx sarl %cl, %r12d andl %r8d, %r12d movl %esi, %ecx sarl %cl, %r14d testl %r12d, %r12d je LBB0_6 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 cmpl %r10d, %r12d ja LBB0_32 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 andl %r9d, %r14d testl %r15d, %r15d jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 movl %r14d, %ecx andl $1, %ecx incl -56(%rbp,%rcx,4) LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movzbl -94(%rbp,%r14), %ecx testl %ecx, %ecx je LBB0_5 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 cmpl %ecx, %r12d je LBB0_5 LBB0_32: movl $-1, %r12d jmp LBB0_1 LBB0_17: movl -56(%rbp), %eax movl -52(%rbp), %ebx movq -112(%rbp), %r14 ## 8-byte Reload movl $-1, %r12d LBB0_18: cmpl $4, %eax ja LBB0_1 ## %bb.19: cmpl $4, %ebx ja LBB0_1 ## %bb.20: movq _PM_ISU@GOTPCREL(%rip), %rax movq (%rax), %rax movq _PM_FPU@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movq _PM_IFU@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl -80(%rbp,%rcx), %ecx orb -80(%rbp,%rsi), %cl movq _PM_VPU@GOTPCREL(%rip), %rdx movq (%rdx), %rdx orb -80(%rbp,%rdx), %cl testb %cl, -80(%rbp,%rax) je LBB0_22 ## %bb.21: movb $6, -104(%rbp,%rax) LBB0_22: movw $0, -90(%rbp) movq _PM_STS@GOTPCREL(%rip), %rax movl (%rax), %edx movl %edx, %eax subl %esi, %eax jge LBB0_24 ## %bb.23: xorl %eax, %eax xorl %ebx, %ebx testb %al, %al jne LBB0_1 jmp LBB0_29 LBB0_24: movq _MMCR1_TTM1SEL_SH@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq %esi, %rdi leaq (%rdi,%rbp), %rsi addq $-80, %rsi addq %rbp, %rdi addq $-104, %rdi incl %eax xorl %r8d, %r8d leaq -90(%rbp), %r9 xorl %ebx, %ebx jmp LBB0_26 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_26 Depth=1 incq %r8 cmpl %r8d, %eax je LBB0_28 LBB0_26: ## =>This Inner Loop Header: Depth=1 cmpb $0, (%rsi,%r8) je LBB0_25 ## %bb.27: ## in Loop: Header=BB0_26 Depth=1 movzbl (%rdi,%r8), %r10d btl $2, %r10d movq %r9, %r11 adcq $0, %r11 incb (%r11) andl $-5, %r10d shlq %cl, %r10 orq %r10, %rbx jmp LBB0_25 LBB0_28: cmpb $2, -90(%rbp) setae %cl cmpb $2, -89(%rbp) setae %al orb %cl, %al testb %al, %al jne LBB0_1 LBB0_29: movq _PM_LSU0@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MMCR1_TD_CP_DBG0SEL_SH@GOTPCREL(%rip), %rax movl (%rax), %eax movzbl -94(%rbp), %ecx testl %ecx, %ecx je LBB0_36 ## %bb.30: cmpl %ecx, %edx jae LBB0_34 ## %bb.31: xorl %edi, %edi cmpl %ecx, %esi sete %dil xorq $3, %rdi jmp LBB0_35 LBB0_34: movl %ecx, %ecx movzbl -104(%rbp,%rcx), %edi shrl $2, %edi andl $1, %edi LBB0_35: movl %eax, %ecx shlq %cl, %rdi orq %rdi, %rbx LBB0_36: movq _PM_LSU1L@GOTPCREL(%rip), %rdi movq _MMCR1_TTM3SEL_SH@GOTPCREL(%rip), %r9 movzbl -93(%rbp), %ecx testl %ecx, %ecx je LBB0_41 ## %bb.37: cmpl %ecx, %edx jae LBB0_39 ## %bb.38: xorl %r8d, %r8d cmpl %ecx, %esi sete %r8b xorq $3, %r8 jmp LBB0_40 LBB0_39: movl %ecx, %ecx movzbl -104(%rbp,%rcx), %r8d shrl $2, %r8d andl $1, %r8d LBB0_40: leal -2(%rax), %ecx ## kill: def $cl killed $cl killed $ecx shlq %cl, %r8 orq %r8, %rbx LBB0_41: movl (%rdi), %r8d movl (%r9), %edi movzbl -92(%rbp), %ecx testl %ecx, %ecx je LBB0_48 ## %bb.42: cmpl %ecx, %edx jae LBB0_46 ## %bb.43: movl $2, %r9d cmpl %ecx, %esi je LBB0_47 ## %bb.44: movl $3, %r9d cmpl %ecx, %r8d jne LBB0_47 ## %bb.45: leal -5(%rdi), %ecx btsq %rcx, %rbx jmp LBB0_47 LBB0_46: movl %ecx, %ecx movzbl -104(%rbp,%rcx), %r9d shrl $2, %r9d andl $1, %r9d LBB0_47: leal -4(%rax), %ecx ## kill: def $cl killed $cl killed $ecx shlq %cl, %r9 orq %r9, %rbx LBB0_48: movzbl -91(%rbp), %ecx testl %ecx, %ecx je LBB0_55 ## %bb.49: cmpl %ecx, %edx jae LBB0_53 ## %bb.50: movl $2, %edx cmpl %ecx, %esi je LBB0_54 ## %bb.51: movl $3, %edx cmpl %ecx, %r8d jne LBB0_54 ## %bb.52: addb $-6, %dil btsq %rdi, %rbx jmp LBB0_54 LBB0_53: movl %ecx, %ecx movzbl -104(%rbp,%rcx), %edx shrl $2, %edx andl $1, %edx LBB0_54: addb $-6, %al movl %eax, %ecx shlq %cl, %rdx orq %rdx, %rbx LBB0_55: leaq -88(%rbp), %rdi movl $8, %esi movl $8, %edx callq _memset testl %r14d, %r14d jle LBB0_77 ## %bb.56: movl %r14d, %eax movq %rax, -112(%rbp) ## 8-byte Spill xorl %r12d, %r12d xorl %r15d, %r15d jmp LBB0_58 .p2align 4, 0x90 LBB0_57: ## in Loop: Header=BB0_58 Depth=1 orq %rax, %r15 movslq %r14d, %rax orq %rax, %rbx incq %r12 cmpq %r12, -112(%rbp) ## 8-byte Folded Reload je LBB0_76 LBB0_58: ## =>This Inner Loop Header: Depth=1 movq -120(%rbp), %rax ## 8-byte Reload movl (%rax,%r12,4), %edx movq _PM_PMC_SH@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movl %edx, %r8d sarl %cl, %r8d movq _PM_BYTE_SH@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movl %edx, %esi sarl %cl, %esi movq _PM_BYTE_MSK@GOTPCREL(%rip), %rax andl (%rax), %esi movq _PM_PMCSEL_MSK@GOTPCREL(%rip), %rax movl (%rax), %eax andl %edx, %eax movq _PM_PMC_MSK@GOTPCREL(%rip), %rcx andl (%rcx), %r8d je LBB0_62 ## %bb.59: ## in Loop: Header=BB0_58 Depth=1 decl %r8d testl %eax, %eax jne LBB0_73 ## %bb.60: ## in Loop: Header=BB0_58 Depth=1 xorl %eax, %eax testb $2, %sil je LBB0_73 ## %bb.61: ## in Loop: Header=BB0_58 Depth=1 movq _mmcr1_adder_bits@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl %r8d, %edx movzbl (%rcx,%rdx,8), %ecx btsq %rcx, %rbx jmp LBB0_73 .p2align 4, 0x90 LBB0_62: ## in Loop: Header=BB0_58 Depth=1 movq _PM_UNIT_SH@GOTPCREL(%rip), %rcx movzbl (%rcx), %ecx sarl %cl, %edx andl $2, %esi movq _PM_UNIT_MSK@GOTPCREL(%rip), %rcx andl (%rcx), %edx leal 16(,%rsi,4), %ecx movl $8, %esi cmovel %esi, %ecx setne %dil movl -56(%rbp), %esi cmpl $4, %esi setae %r8b orb %r13b, %r8b orb %dil, %r8b xorl %r9d, %r9d testb $1, %r8b je LBB0_70 ## %bb.63: ## in Loop: Header=BB0_58 Depth=1 cmpl $4, %esi setae %dil movl %r13d, %r8d andl $2, %r8d orl %edx, %r8d setne %r8b orb %dil, %r8b movl $1, %r9d cmpb $1, %r8b jne LBB0_70 ## %bb.64: ## in Loop: Header=BB0_58 Depth=1 movl %r13d, %edi andl $4, %edi orl %edx, %edi setne %r8b movl -52(%rbp), %edi cmpl $4, %edi setae %r10b orb %r8b, %r10b movl $2, %r9d cmpb $1, %r10b jne LBB0_75 ## %bb.65: ## in Loop: Header=BB0_58 Depth=1 cmpl $4, %edi setae %r8b movl %r13d, %r9d andl $8, %r9d orl %edx, %r9d setne %r10b orb %r8b, %r10b movl $3, %r9d cmpb $1, %r10b jne LBB0_75 ## %bb.66: ## in Loop: Header=BB0_58 Depth=1 cmpl $4, %esi setae %r8b movl %r13d, %r9d andl $16, %r9d orl %edx, %r9d setne %r10b orb %r8b, %r10b movl $4, %r9d cmpb $1, %r10b jne LBB0_70 ## %bb.67: ## in Loop: Header=BB0_58 Depth=1 cmpl $4, %esi setae %r8b movl %r13d, %r9d andl $32, %r9d orl %edx, %r9d setne %r11b orb %r8b, %r11b movl $5, %r9d leaq -56(%rbp), %r10 cmpb $1, %r11b jne LBB0_71 ## %bb.68: ## in Loop: Header=BB0_58 Depth=1 cmpl $4, %edi setae %sil movl %r13d, %r8d andl $64, %r8d orl %edx, %r8d setne %r8b orb %sil, %r8b movl $6, %r9d cmpb $1, %r8b jne LBB0_75 ## %bb.69: ## in Loop: Header=BB0_58 Depth=1 cmpl $4, %edi setae %sil movl %r13d, %r8d andl $128, %r8d orl %edx, %r8d setne %dl orb %sil, %dl movl $7, %r9d movl $8, %r8d leaq -52(%rbp), %r10 movl %edi, %esi cmpb $1, %dl jne LBB0_71 jmp LBB0_72 .p2align 4, 0x90 LBB0_70: ## in Loop: Header=BB0_58 Depth=1 leaq -56(%rbp), %r10 LBB0_71: ## in Loop: Header=BB0_58 Depth=1 incl %esi movl %esi, (%r10) movl %r9d, %r8d LBB0_72: ## in Loop: Header=BB0_58 Depth=1 orl %ecx, %eax btsl %r8d, %r13d LBB0_73: ## in Loop: Header=BB0_58 Depth=1 movl %r8d, %ecx movb %al, -88(%rbp,%rcx) movq -136(%rbp), %rax ## 8-byte Reload movl %r8d, (%rax,%r12,4) movq -120(%rbp), %rax ## 8-byte Reload movl (%rax,%r12,4), %edi movq _PM_SPCSEL_SH@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movl %edi, %r14d sarl %cl, %r14d movq _PM_SPCSEL_MSK@GOTPCREL(%rip), %rax andl (%rax), %r14d callq _p970_marked_instr_event testq %rax, %rax je LBB0_57 ## %bb.74: ## in Loop: Header=BB0_58 Depth=1 movq _MMCRA_SAMPLE_ENABLE@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_57 LBB0_75: ## in Loop: Header=BB0_58 Depth=1 leaq -52(%rbp), %r10 movl %edi, %esi jmp LBB0_71 LBB0_76: orq $8192, %r15 ## imm = 0x2000 jmp LBB0_78 LBB0_77: movl $8192, %r15d ## imm = 0x2000 LBB0_78: movq _MMCR0_PMC1SEL_SH@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movzbl -88(%rbp), %esi shll %cl, %esi movzbl -87(%rbp), %edx addb $-7, %cl shll %cl, %edx movq _MMCR1_PMC3SEL_SH@GOTPCREL(%rip), %rax movzbl (%rax), %eax movzbl -86(%rbp), %edi movl %eax, %ecx shlq %cl, %rdi movzbl -85(%rbp), %r9d leal -5(%rax), %ecx ## kill: def $cl killed $cl killed $ecx shlq %cl, %r9 movzbl -84(%rbp), %r8d leal -10(%rax), %ecx ## kill: def $cl killed $cl killed $ecx shlq %cl, %r8 orl %esi, %edx movzbl -83(%rbp), %esi leal -15(%rax), %ecx ## kill: def $cl killed $cl killed $ecx shlq %cl, %rsi orq %rdi, %r9 orq %r9, %r8 movzbl -82(%rbp), %edi leal -20(%rax), %ecx ## kill: def $cl killed $cl killed $ecx shlq %cl, %rdi orq %r8, %rsi orq %rsi, %rdi movzbl -81(%rbp), %esi addb $-25, %al movl %eax, %ecx shlq %cl, %rsi orq %rbx, %rdi xorl %r12d, %r12d movl $0, %eax testb $1, %r13b je LBB0_80 ## %bb.79: movq _MMCR0_PMC1CE@GOTPCREL(%rip), %rax movq (%rax), %rax LBB0_80: orq %rdi, %rsi movslq %edx, %rcx movl $0, %edi testb $-2, %r13b movq -128(%rbp), %rdx ## 8-byte Reload je LBB0_82 ## %bb.81: movq _MMCR0_PMCjCE@GOTPCREL(%rip), %rdi movq (%rdi), %rdi LBB0_82: orq %rdi, %rax orq %rcx, %rax movq %rax, (%rdx) movq %rsi, 8(%rdx) movq %r15, 16(%rdx) LBB0_1: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_83 ## %bb.2: movl %r12d, %eax addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_83: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const l___const.p970_compute_mmcr.unitmap: ## @__const.p970_compute_mmcr.unitmap .ascii "\000\000\030\b\020\004\007" .comm _PM_PMC_SH,4,2 ## @PM_PMC_SH .comm _PM_PMC_MSK,4,2 ## @PM_PMC_MSK .comm _PM_UNIT_SH,4,2 ## @PM_UNIT_SH .comm _PM_UNIT_MSK,4,2 ## @PM_UNIT_MSK .comm _PM_BYTE_SH,4,2 ## @PM_BYTE_SH .comm _PM_BYTE_MSK,4,2 ## @PM_BYTE_MSK .comm _PM_LASTUNIT,4,2 ## @PM_LASTUNIT .comm _PM_ISU,8,3 ## @PM_ISU .comm _PM_FPU,8,3 ## @PM_FPU .comm _PM_IFU,8,3 ## @PM_IFU .comm _PM_VPU,8,3 ## @PM_VPU .comm _PM_STS,4,2 ## @PM_STS .comm _MMCR1_TTM1SEL_SH,8,3 ## @MMCR1_TTM1SEL_SH .comm _PM_LSU0,4,2 ## @PM_LSU0 .comm _PM_LSU1L,4,2 ## @PM_LSU1L .comm _MMCR1_TTM3SEL_SH,4,2 ## @MMCR1_TTM3SEL_SH .comm _MMCR1_TD_CP_DBG0SEL_SH,4,2 ## @MMCR1_TD_CP_DBG0SEL_SH .comm _PM_PMCSEL_MSK,4,2 ## @PM_PMCSEL_MSK .comm _mmcr1_adder_bits,8,3 ## @mmcr1_adder_bits .comm _PM_SPCSEL_SH,4,2 ## @PM_SPCSEL_SH .comm _PM_SPCSEL_MSK,4,2 ## @PM_SPCSEL_MSK .comm _MMCRA_SAMPLE_ENABLE,8,3 ## @MMCRA_SAMPLE_ENABLE .comm _MMCR0_PMC1SEL_SH,4,2 ## @MMCR0_PMC1SEL_SH .comm _MMCR1_PMC3SEL_SH,4,2 ## @MMCR1_PMC3SEL_SH .comm _MMCR0_PMC1CE,8,3 ## @MMCR0_PMC1CE .comm _MMCR0_PMCjCE,8,3 ## @MMCR0_PMCjCE .no_dead_strip _p970_compute_mmcr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function p970_compute_mmcr _p970_compute_mmcr: ; @p970_compute_mmcr .cfi_startproc ; %bb.0: sub sp, sp, #176 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #72] mov w8, #4104 ; =0x1008 movk w8, #1796, lsl #16 stur w8, [sp, #31] mov w8, #135790592 ; =0x8180000 str w8, [sp, #28] cmp w1, #8 b.le LBB0_4 LBB0_1: mov w0, #-1 ; =0xffffffff LBB0_2: ldr x8, [sp, #72] 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_97 ; %bb.3: 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 add sp, sp, #176 ret LBB0_4: mov x20, x2 mov x22, x1 mov x21, x0 mov x25, x3 str xzr, [sp, #64] add x19, sp, #36 add x0, sp, #36 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 bl _memset add x24, sp, #48 add x0, sp, #48 mov w1, #0 ; =0x0 mov w2, #16 ; =0x10 bl _memset tbnz w22, #31, LBB0_16 ; %bb.5: mov w23, #0 ; =0x0 Lloh6: adrp x8, _PM_PMC_SH@GOTPAGE Lloh7: ldr x8, [x8, _PM_PMC_SH@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x9, _PM_PMC_MSK@GOTPAGE Lloh10: ldr x9, [x9, _PM_PMC_MSK@GOTPAGEOFF] Lloh11: adrp x10, _PM_UNIT_SH@GOTPAGE Lloh12: ldr x10, [x10, _PM_UNIT_SH@GOTPAGEOFF] Lloh13: ldr w9, [x9] Lloh14: ldr w10, [x10] Lloh15: adrp x11, _PM_UNIT_MSK@GOTPAGE Lloh16: ldr x11, [x11, _PM_UNIT_MSK@GOTPAGEOFF] Lloh17: adrp x12, _PM_BYTE_SH@GOTPAGE Lloh18: ldr x12, [x12, _PM_BYTE_SH@GOTPAGEOFF] Lloh19: ldr w11, [x11] Lloh20: ldr w12, [x12] Lloh21: adrp x13, _PM_BYTE_MSK@GOTPAGE Lloh22: ldr x13, [x13, _PM_BYTE_MSK@GOTPAGEOFF] Lloh23: ldr w13, [x13] add w14, w22, #1 Lloh24: adrp x0, _PM_LASTUNIT@GOTPAGE Lloh25: ldr x0, [x0, _PM_LASTUNIT@GOTPAGEOFF] add x15, sp, #64 mov w16, #1 ; =0x1 mov x17, x21 Lloh26: ldr w0, [x0] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 subs x14, x14, #1 b.eq LBB0_17 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr w2, [x17], #4 asr w1, w2, w8 ands w1, w1, w9 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 sub w3, w1, #1 lsl w4, w16, w3 tst w4, w23 b.ne LBB0_1 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 orr w23, w4, w23 ubfx w3, w3, #1, #1 orr x3, x15, x3, lsl #2 ldr w4, [x3] add w4, w4, #1 str w4, [x3] LBB0_10: ; in Loop: Header=BB0_7 Depth=1 asr w3, w2, w10 and x3, x3, x11 cbz w3, LBB0_6 ; %bb.11: ; in Loop: Header=BB0_7 Depth=1 cmp w3, w0 b.hi LBB0_1 ; %bb.12: ; in Loop: Header=BB0_7 Depth=1 asr w2, w2, w12 and x2, x2, x13 cbnz w1, LBB0_14 ; %bb.13: ; in Loop: Header=BB0_7 Depth=1 and w1, w2, #0x1 orr x1, x15, x1, lsl #2 ldr w4, [x1] add w4, w4, #1 str w4, [x1] LBB0_14: ; in Loop: Header=BB0_7 Depth=1 ldrb w1, [x19, x2] cmp w1, #0 ccmp w3, w1, #4, ne b.ne LBB0_1 ; %bb.15: ; in Loop: Header=BB0_7 Depth=1 strb w3, [x19, x2] strb w16, [x24, x3] b LBB0_6 LBB0_16: mov w8, #0 ; =0x0 mov w9, #0 ; =0x0 mov w23, #0 ; =0x0 b LBB0_18 LBB0_17: ldp w9, w8, [sp, #64] LBB0_18: mov w0, #-1 ; =0xffffffff cmp w9, #4 b.hi LBB0_2 ; %bb.19: cmp w8, #4 b.hi LBB0_2 ; %bb.20: Lloh27: adrp x8, _PM_ISU@GOTPAGE Lloh28: ldr x8, [x8, _PM_ISU@GOTPAGEOFF] Lloh29: ldr x8, [x8] add x9, sp, #48 ldrb w11, [x9, x8] Lloh30: adrp x10, _PM_FPU@GOTPAGE Lloh31: ldr x10, [x10, _PM_FPU@GOTPAGEOFF] Lloh32: ldr x10, [x10] ldrb w12, [x9, x10] Lloh33: adrp x13, _PM_IFU@GOTPAGE Lloh34: ldr x13, [x13, _PM_IFU@GOTPAGEOFF] Lloh35: ldr x13, [x13] ldrb w13, [x9, x13] Lloh36: adrp x14, _PM_VPU@GOTPAGE Lloh37: ldr x14, [x14, _PM_VPU@GOTPAGEOFF] orr w12, w13, w12 Lloh38: ldr x13, [x14] ldrb w9, [x9, x13] orr w9, w12, w9 tst w9, w11 b.eq LBB0_22 ; %bb.21: add x9, sp, #28 mov w11, #6 ; =0x6 strb w11, [x9, x8] LBB0_22: strh wzr, [sp, #26] Lloh39: adrp x8, _PM_STS@GOTPAGE Lloh40: ldr x8, [x8, _PM_STS@GOTPAGEOFF] Lloh41: ldr w8, [x8] subs w12, w8, w10 b.ge LBB0_24 ; %bb.23: mov w9, #0 ; =0x0 mov x24, #0 ; =0x0 tbnz w9, #0, LBB0_1 b LBB0_29 LBB0_24: mov x24, #0 ; =0x0 Lloh42: adrp x9, _MMCR1_TTM1SEL_SH@GOTPAGE Lloh43: ldr x9, [x9, _MMCR1_TTM1SEL_SH@GOTPAGEOFF] Lloh44: ldr x9, [x9] sxtw x11, w10 add x10, sp, #48 add x10, x10, x11 add x13, sp, #28 add x11, x13, x11 add w12, w12, #1 add x13, sp, #26 b LBB0_26 LBB0_25: ; in Loop: Header=BB0_26 Depth=1 add x11, x11, #1 subs w12, w12, #1 b.eq LBB0_28 LBB0_26: ; =>This Inner Loop Header: Depth=1 ldrb w14, [x10], #1 cbz w14, LBB0_25 ; %bb.27: ; in Loop: Header=BB0_26 Depth=1 ldrb w14, [x11] ubfx x15, x14, #2, #1 ldrb w16, [x13, x15] add w16, w16, #1 strb w16, [x13, x15] and x14, x14, #0xfffffffffffffffb lsl x14, x14, x9 orr x24, x14, x24 b LBB0_25 LBB0_28: ldrb w9, [sp, #26] ldrb w10, [sp, #27] and w10, w10, #0xff cmp w9, #1 ccmp w10, #1, #2, ls cset w9, hi tbnz w9, #0, LBB0_1 LBB0_29: Lloh45: adrp x9, _PM_LSU0@GOTPAGE Lloh46: ldr x9, [x9, _PM_LSU0@GOTPAGEOFF] Lloh47: ldr w10, [x9] Lloh48: adrp x9, _MMCR1_TD_CP_DBG0SEL_SH@GOTPAGE Lloh49: ldr x9, [x9, _MMCR1_TD_CP_DBG0SEL_SH@GOTPAGEOFF] Lloh50: ldr w9, [x9] ldrb w11, [sp, #36] cbz w11, LBB0_34 ; %bb.30: cmp w8, w11 b.hs LBB0_32 ; %bb.31: cmp w10, w11 mov w11, #2 ; =0x2 cinc x11, x11, ne b LBB0_33 LBB0_32: add x12, sp, #28 ldrb w11, [x12, w11, uxtw] ubfx x11, x11, #2, #1 LBB0_33: lsl x11, x11, x9 orr x24, x11, x24 LBB0_34: Lloh51: adrp x11, _PM_LSU1L@GOTPAGE Lloh52: ldr x11, [x11, _PM_LSU1L@GOTPAGEOFF] Lloh53: adrp x13, _MMCR1_TTM3SEL_SH@GOTPAGE Lloh54: ldr x13, [x13, _MMCR1_TTM3SEL_SH@GOTPAGEOFF] ldrb w12, [sp, #37] cbz w12, LBB0_39 ; %bb.35: cmp w8, w12 b.hs LBB0_37 ; %bb.36: cmp w10, w12 mov w12, #2 ; =0x2 cinc x12, x12, ne b LBB0_38 LBB0_37: add x14, sp, #28 ldrb w12, [x14, w12, uxtw] ubfx x12, x12, #2, #1 LBB0_38: sub w14, w9, #2 lsl x12, x12, x14 orr x24, x12, x24 LBB0_39: ldr w12, [x11] ldr w11, [x13] ldrb w13, [sp, #38] cbz w13, LBB0_48 ; %bb.40: cmp w8, w13 b.hs LBB0_43 ; %bb.41: cmp w10, w13 b.ne LBB0_44 ; %bb.42: mov w13, #2 ; =0x2 b LBB0_47 LBB0_43: add x14, sp, #28 ldrb w13, [x14, w13, uxtw] ubfx x13, x13, #2, #1 b LBB0_47 LBB0_44: cmp w12, w13 b.ne LBB0_46 ; %bb.45: sub w13, w11, #5 mov w14, #1 ; =0x1 lsl x13, x14, x13 orr x24, x13, x24 LBB0_46: mov w13, #3 ; =0x3 LBB0_47: sub w14, w9, #4 lsl x13, x13, x14 orr x24, x13, x24 LBB0_48: ldrb w13, [sp, #39] cbz w13, LBB0_57 ; %bb.49: cmp w8, w13 b.hs LBB0_52 ; %bb.50: cmp w10, w13 b.ne LBB0_53 ; %bb.51: mov w8, #2 ; =0x2 b LBB0_56 LBB0_52: add x8, sp, #28 ldrb w8, [x8, w13, uxtw] ubfx x8, x8, #2, #1 b LBB0_56 LBB0_53: cmp w12, w13 b.ne LBB0_55 ; %bb.54: sub w8, w11, #6 mov w10, #1 ; =0x1 lsl x8, x10, x8 orr x24, x8, x24 LBB0_55: mov w8, #3 ; =0x3 LBB0_56: sub w9, w9, #6 lsl x8, x8, x9 orr x24, x8, x24 LBB0_57: add x0, sp, #40 mov w1, #8 ; =0x8 mov w2, #8 ; =0x8 bl _memset cmp w22, #1 b.lt LBB0_95 ; %bb.58: mov x27, #0 ; =0x0 add x8, sp, #64 orr x8, x8, #0x4 stp x25, x8, [sp, #8] ; 16-byte Folded Spill Lloh55: adrp x28, _PM_PMCSEL_MSK@GOTPAGE Lloh56: ldr x28, [x28, _PM_PMCSEL_MSK@GOTPAGEOFF] mov w22, w22 Lloh57: adrp x26, _PM_SPCSEL_SH@GOTPAGE Lloh58: ldr x26, [x26, _PM_SPCSEL_SH@GOTPAGEOFF] Lloh59: adrp x19, _PM_SPCSEL_MSK@GOTPAGE Lloh60: ldr x19, [x19, _PM_SPCSEL_MSK@GOTPAGEOFF] Lloh61: adrp x25, _MMCRA_SAMPLE_ENABLE@GOTPAGE Lloh62: ldr x25, [x25, _MMCRA_SAMPLE_ENABLE@GOTPAGEOFF] b LBB0_63 LBB0_59: ; in Loop: Header=BB0_63 Depth=1 mov w10, #0 ; =0x0 add x13, sp, #64 LBB0_60: ; in Loop: Header=BB0_63 Depth=1 add w11, w11, #1 str w11, [x13] LBB0_61: ; in Loop: Header=BB0_63 Depth=1 orr w8, w9, w8 mov w9, #1 ; =0x1 lsl w9, w9, w10 orr w23, w9, w23 LBB0_62: ; in Loop: Header=BB0_63 Depth=1 add x9, sp, #40 strb w8, [x9, w10, uxtw] str w10, [x20], #4 ldr w0, [x21], #4 ldr w8, [x26] asr w8, w0, w8 ldr w9, [x19] and w8, w8, w9 sxtw x8, w8 orr x24, x24, x8 bl _p970_marked_instr_event ldr x8, [x25] cmp x0, #0 csel x8, xzr, x8, eq orr x27, x8, x27 subs x22, x22, #1 b.eq LBB0_94 LBB0_63: ; =>This Inner Loop Header: Depth=1 ldr w9, [x21] Lloh63: adrp x8, _PM_PMC_SH@GOTPAGE Lloh64: ldr x8, [x8, _PM_PMC_SH@GOTPAGEOFF] Lloh65: ldr w8, [x8] asr w10, w9, w8 Lloh66: adrp x8, _PM_PMC_MSK@GOTPAGE Lloh67: ldr x8, [x8, _PM_PMC_MSK@GOTPAGEOFF] Lloh68: ldr w12, [x8] Lloh69: adrp x8, _PM_BYTE_SH@GOTPAGE Lloh70: ldr x8, [x8, _PM_BYTE_SH@GOTPAGEOFF] Lloh71: ldr w8, [x8] asr w8, w9, w8 Lloh72: adrp x11, _PM_BYTE_MSK@GOTPAGE Lloh73: ldr x11, [x11, _PM_BYTE_MSK@GOTPAGEOFF] Lloh74: ldr w11, [x11] and w11, w8, w11 ldr w8, [x28] and w8, w8, w9 ands w10, w10, w12 b.eq LBB0_67 ; %bb.64: ; in Loop: Header=BB0_63 Depth=1 sub w10, w10, #1 cbnz w8, LBB0_62 ; %bb.65: ; in Loop: Header=BB0_63 Depth=1 mov w8, #0 ; =0x0 tbz w11, #1, LBB0_62 ; %bb.66: ; in Loop: Header=BB0_63 Depth=1 Lloh75: adrp x9, _mmcr1_adder_bits@GOTPAGE Lloh76: ldr x9, [x9, _mmcr1_adder_bits@GOTPAGEOFF] Lloh77: ldr x9, [x9] ldr x9, [x9, w10, uxtw #3] mov w11, #1 ; =0x1 lsl x9, x11, x9 orr x24, x9, x24 b LBB0_62 LBB0_67: ; in Loop: Header=BB0_63 Depth=1 Lloh78: adrp x10, _PM_UNIT_SH@GOTPAGE Lloh79: ldr x10, [x10, _PM_UNIT_SH@GOTPAGEOFF] Lloh80: ldr w10, [x10] asr w9, w9, w10 Lloh81: adrp x10, _PM_UNIT_MSK@GOTPAGE Lloh82: ldr x10, [x10, _PM_UNIT_MSK@GOTPAGEOFF] Lloh83: ldr w10, [x10] ands w13, w9, w10 lsr w9, w11, #1 mov w10, #16 ; =0x10 bfi w10, w9, #3, #1 mov w9, #8 ; =0x8 csel w9, w10, w9, ne ldr w11, [sp, #64] tbnz w23, #0, LBB0_69 ; %bb.68: ; in Loop: Header=BB0_63 Depth=1 cmp w13, #0 ccmp w11, #3, #2, eq b.ls LBB0_59 LBB0_69: ; in Loop: Header=BB0_63 Depth=1 tbnz w23, #1, LBB0_72 ; %bb.70: ; in Loop: Header=BB0_63 Depth=1 cmp w13, #0 ccmp w11, #4, #2, eq b.hs LBB0_72 ; %bb.71: ; in Loop: Header=BB0_63 Depth=1 add x13, sp, #64 mov w10, #1 ; =0x1 b LBB0_60 LBB0_72: ; in Loop: Header=BB0_63 Depth=1 ldr w12, [sp, #68] tbnz w23, #2, LBB0_75 ; %bb.73: ; in Loop: Header=BB0_63 Depth=1 cmp w13, #0 ccmp w12, #4, #2, eq b.hs LBB0_75 ; %bb.74: ; in Loop: Header=BB0_63 Depth=1 mov w10, #2 ; =0x2 b LBB0_78 LBB0_75: ; in Loop: Header=BB0_63 Depth=1 tbnz w23, #3, LBB0_79 ; %bb.76: ; in Loop: Header=BB0_63 Depth=1 cmp w13, #0 ccmp w12, #4, #2, eq b.hs LBB0_79 ; %bb.77: ; in Loop: Header=BB0_63 Depth=1 mov w10, #3 ; =0x3 LBB0_78: ; in Loop: Header=BB0_63 Depth=1 ldr x13, [sp, #16] ; 8-byte Folded Reload mov x11, x12 b LBB0_60 LBB0_79: ; in Loop: Header=BB0_63 Depth=1 tbnz w23, #4, LBB0_82 ; %bb.80: ; in Loop: Header=BB0_63 Depth=1 cmp w13, #0 ccmp w11, #4, #2, eq b.hs LBB0_82 ; %bb.81: ; in Loop: Header=BB0_63 Depth=1 add x13, sp, #64 mov w10, #4 ; =0x4 b LBB0_60 LBB0_82: ; in Loop: Header=BB0_63 Depth=1 tbnz w23, #5, LBB0_86 ; %bb.83: ; in Loop: Header=BB0_63 Depth=1 cbnz w13, LBB0_86 ; %bb.84: ; in Loop: Header=BB0_63 Depth=1 cmp w11, #4 b.hs LBB0_86 ; %bb.85: ; in Loop: Header=BB0_63 Depth=1 add x13, sp, #64 mov w10, #5 ; =0x5 b LBB0_60 LBB0_86: ; in Loop: Header=BB0_63 Depth=1 tbnz w23, #6, LBB0_90 ; %bb.87: ; in Loop: Header=BB0_63 Depth=1 cbnz w13, LBB0_90 ; %bb.88: ; in Loop: Header=BB0_63 Depth=1 cmp w12, #4 b.hs LBB0_90 ; %bb.89: ; in Loop: Header=BB0_63 Depth=1 mov w10, #6 ; =0x6 b LBB0_78 LBB0_90: ; in Loop: Header=BB0_63 Depth=1 mov w10, #8 ; =0x8 tbnz w23, #7, LBB0_61 ; %bb.91: ; in Loop: Header=BB0_63 Depth=1 cbnz w13, LBB0_61 ; %bb.92: ; in Loop: Header=BB0_63 Depth=1 cmp w12, #4 b.hs LBB0_61 ; %bb.93: ; in Loop: Header=BB0_63 Depth=1 mov w10, #7 ; =0x7 b LBB0_78 LBB0_94: orr x8, x27, #0x2000 ldr x25, [sp, #8] ; 8-byte Folded Reload b LBB0_96 LBB0_95: mov w8, #8192 ; =0x2000 LBB0_96: mov w0, #0 ; =0x0 Lloh84: adrp x9, _MMCR0_PMC1SEL_SH@GOTPAGE Lloh85: ldr x9, [x9, _MMCR0_PMC1SEL_SH@GOTPAGEOFF] Lloh86: ldr w9, [x9] ldrb w10, [sp, #40] lsl w10, w10, w9 ldrb w11, [sp, #41] sub w9, w9, #7 Lloh87: adrp x12, _MMCR1_PMC3SEL_SH@GOTPAGE Lloh88: ldr x12, [x12, _MMCR1_PMC3SEL_SH@GOTPAGEOFF] lsl w9, w11, w9 Lloh89: ldr w11, [x12] ldrb w12, [sp, #42] lsl x12, x12, x11 orr x12, x12, x24 ldrb w13, [sp, #43] sub w14, w11, #5 lsl x13, x13, x14 orr x12, x13, x12 ldrb w13, [sp, #44] sub w14, w11, #10 lsl x13, x13, x14 ldrb w14, [sp, #45] sub w15, w11, #15 lsl x14, x14, x15 orr x13, x14, x13 orr x12, x13, x12 ldrb w13, [sp, #46] sub w14, w11, #20 lsl x13, x13, x14 ldrb w14, [sp, #47] sub w11, w11, #25 lsl x11, x14, x11 orr x11, x11, x13 orr x11, x11, x12 orr w9, w10, w9 sxtw x9, w9 Lloh90: adrp x10, _MMCR0_PMC1CE@GOTPAGE Lloh91: ldr x10, [x10, _MMCR0_PMC1CE@GOTPAGEOFF] Lloh92: ldr x10, [x10] tst w23, #0x1 csel x10, xzr, x10, eq Lloh93: adrp x12, _MMCR0_PMCjCE@GOTPAGE Lloh94: ldr x12, [x12, _MMCR0_PMCjCE@GOTPAGEOFF] Lloh95: ldr x12, [x12] tst w23, #0xfe csel x12, xzr, x12, eq orr x10, x10, x12 orr x9, x10, x9 stp x9, x11, [x25] str x8, [x25, #16] b LBB0_2 LBB0_97: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh19 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh13 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGot Lloh53, Lloh54 .loh AdrpLdrGot Lloh51, Lloh52 .loh AdrpLdrGot Lloh61, Lloh62 .loh AdrpLdrGot Lloh59, Lloh60 .loh AdrpLdrGot Lloh57, Lloh58 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92 .loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89 .loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86 .cfi_endproc ; -- End function .section __TEXT,__const l___const.p970_compute_mmcr.unitmap: ; @__const.p970_compute_mmcr.unitmap .ascii "\000\000\030\b\020\004\007" .comm _PM_PMC_SH,4,2 ; @PM_PMC_SH .comm _PM_PMC_MSK,4,2 ; @PM_PMC_MSK .comm _PM_UNIT_SH,4,2 ; @PM_UNIT_SH .comm _PM_UNIT_MSK,4,2 ; @PM_UNIT_MSK .comm _PM_BYTE_SH,4,2 ; @PM_BYTE_SH .comm _PM_BYTE_MSK,4,2 ; @PM_BYTE_MSK .comm _PM_LASTUNIT,4,2 ; @PM_LASTUNIT .comm _PM_ISU,8,3 ; @PM_ISU .comm _PM_FPU,8,3 ; @PM_FPU .comm _PM_IFU,8,3 ; @PM_IFU .comm _PM_VPU,8,3 ; @PM_VPU .comm _PM_STS,4,2 ; @PM_STS .comm _MMCR1_TTM1SEL_SH,8,3 ; @MMCR1_TTM1SEL_SH .comm _PM_LSU0,4,2 ; @PM_LSU0 .comm _PM_LSU1L,4,2 ; @PM_LSU1L .comm _MMCR1_TTM3SEL_SH,4,2 ; @MMCR1_TTM3SEL_SH .comm _MMCR1_TD_CP_DBG0SEL_SH,4,2 ; @MMCR1_TD_CP_DBG0SEL_SH .comm _PM_PMCSEL_MSK,4,2 ; @PM_PMCSEL_MSK .comm _mmcr1_adder_bits,8,3 ; @mmcr1_adder_bits .comm _PM_SPCSEL_SH,4,2 ; @PM_SPCSEL_SH .comm _PM_SPCSEL_MSK,4,2 ; @PM_SPCSEL_MSK .comm _MMCRA_SAMPLE_ENABLE,8,3 ; @MMCRA_SAMPLE_ENABLE .comm _MMCR0_PMC1SEL_SH,4,2 ; @MMCR0_PMC1SEL_SH .comm _MMCR1_PMC3SEL_SH,4,2 ; @MMCR1_PMC3SEL_SH .comm _MMCR0_PMC1CE,8,3 ; @MMCR0_PMC1CE .comm _MMCR0_PMCjCE,8,3 ; @MMCR0_PMCjCE .no_dead_strip _p970_compute_mmcr .subsections_via_symbols
assembly_file_153049.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function envname_is_headername _envname_is_headername: ## @envname_is_headername .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), %rax addq $5, %rax xorl %r14d, %r14d cmpq %rax, (%rdi) jne LBB0_7 ## %bb.1: movq %rsi, %r15 movq %rdi, %r13 movq 8(%rdi), %rdi leaq L_.str(%rip), %rsi movl $5, %edx callq _memcmp testq %rax, %rax jne LBB0_7 ## %bb.2: movq (%r15), %r12 testq %r12, %r12 jle LBB0_6 ## %bb.3: movq 8(%r15), %rbx addq %rbx, %r12 movq 8(%r13), %r15 addq $5, %r15 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movzbl (%r15), %r13d movsbl (%rbx), %edi callq _h2o_toupper cmpb %al, %r13b jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 incq %r15 incq %rbx cmpq %r12, %rbx jb LBB0_4 LBB0_6: movl $1, %r14d LBB0_7: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "HTTP_" .no_dead_strip _envname_is_headername .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function envname_is_headername _envname_is_headername: ; @envname_is_headername .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 x9, [x1] add x9, x9, #5 cmp x8, x9 b.ne LBB0_2 ; %bb.1: mov x20, x1 mov x19, x0 ldr x0, [x0, #8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w2, #5 bl _memcmp cbz x0, LBB0_4 LBB0_2: mov w0, #0 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: ldr x8, [x20] cmp x8, #1 b.lt LBB0_8 ; %bb.5: ldr x20, [x20, #8] add x21, x20, x8 ldr x8, [x19, #8] add x19, x8, #5 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldrb w22, [x19] ldrsb w0, [x20] bl _h2o_toupper cmp w22, w0, uxtb b.ne LBB0_2 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 add x19, x19, #1 add x20, x20, #1 cmp x20, x21 b.lo LBB0_6 LBB0_8: mov w0, #1 b LBB0_3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "HTTP_" .no_dead_strip _envname_is_headername .subsections_via_symbols
AnghaBench/h2o/lib/handler/extr_fastcgi.c_envname_is_headername.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _create_large_chunked_message ## -- Begin function create_large_chunked_message .p2align 4, 0x90 _create_large_chunked_message: ## @create_large_chunked_message .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %r15d movq %rsi, %rdi callq _strlen movq %rax, %rbx imull $1031, %r15d, %eax ## imm = 0x407 cltq leaq (%rbx,%rax), %rcx movq %rcx, -48(%rbp) ## 8-byte Spill leaq (%rbx,%rax), %rdi addq $6, %rdi callq _malloc movq %rax, %r13 movq %rax, %rdi movq %r14, %rsi movl %ebx, %edx callq _memcpy testl %r15d, %r15d movq %r13, -56(%rbp) ## 8-byte Spill js LBB0_3 ## %bb.1: movq %rbx, %r12 addq %r13, %r12 xorl %r13d, %r13d leaq L_.str.1(%rip), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi leaq L_.str(%rip), %rsi movl $5, %edx callq _memcpy leaq 5(%r12), %rdi movl $67, %esi movl $1024, %edx ## imm = 0x400 callq _memset leaq 1029(%r12), %rdi movq %r14, %rsi callq _strcpy addq $1031, %rbx ## imm = 0x407 decl %r13d addq $1031, %r12 ## imm = 0x407 cmpl %r15d, %r13d jle LBB0_2 LBB0_3: movq -56(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi addq %rbx, %rdi leaq L_.str.2(%rip), %rsi movl $6, %edx callq _memcpy xorl %edi, %edi cmpq -48(%rbp), %rbx ## 8-byte Folded Reload sete %dil callq _assert movq %r14, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "400\r\n" L_.str.1: ## @.str.1 .asciz "\r\n" L_.str.2: ## @.str.2 .asciz "0\r\n\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _create_large_chunked_message ; -- Begin function create_large_chunked_message .p2align 2 _create_large_chunked_message: ; @create_large_chunked_message .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x1 mov x21, x0 mov x0, x1 bl _strlen mov x19, x0 mov w8, #1031 ; =0x407 mul w8, w21, w8 add x25, x0, w8, sxtw add x0, x25, #6 bl _malloc mov x20, x0 mov x1, x22 mov x2, x19 bl _memcpy tbnz w21, #31, LBB0_3 ; %bb.1: mov w26, #0 ; =0x0 add x22, x20, x19 Lloh0: adrp x23, l_.str@PAGE Lloh1: add x23, x23, l_.str@PAGEOFF Lloh2: adrp x24, l_.str.1@PAGE Lloh3: add x24, x24, l_.str.1@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x23 mov w2, #5 ; =0x5 bl _memcpy add x0, x22, #5 mov w1, #67 ; =0x43 mov w2, #1024 ; =0x400 bl _memset add x0, x22, #1029 mov x1, x24 bl _strcpy add x19, x19, #1031 sub w26, w26, #1 add x22, x22, #1031 cmp w26, w21 b.le LBB0_2 LBB0_3: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF add x0, x20, x19 mov w2, #6 ; =0x6 bl _memcpy cmp x19, x25 cset w0, eq bl _assert 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload 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 "400\r\n" l_.str.1: ; @.str.1 .asciz "\r\n" l_.str.2: ; @.str.2 .asciz "0\r\n\r\n" .subsections_via_symbols
assembly_file_112548.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mp4_write_box_mdia _mp4_write_box_mdia: ## @mp4_write_box_mdia .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 _MP4_BOX_TYPE_MDHD@GOTPCREL(%rip), %rax movl (%rax), %esi callq _mp4_write_box movq _VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r14 cmpq (%r14), %rax jne LBB0_2 ## %bb.1: movq _MP4_BOX_TYPE_HDLR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _mp4_write_box cmpq (%r14), %rax jne LBB0_2 ## %bb.3: movq _MP4_BOX_TYPE_MINF@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _mp4_write_box ## TAILCALL LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _VC_CONTAINER_SUCCESS,8,3 ## @VC_CONTAINER_SUCCESS .comm _MP4_BOX_TYPE_MDHD,4,2 ## @MP4_BOX_TYPE_MDHD .comm _MP4_BOX_TYPE_HDLR,4,2 ## @MP4_BOX_TYPE_HDLR .comm _MP4_BOX_TYPE_MINF,4,2 ## @MP4_BOX_TYPE_MINF .no_dead_strip _mp4_write_box_mdia .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mp4_write_box_mdia _mp4_write_box_mdia: ; @mp4_write_box_mdia .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, _MP4_BOX_TYPE_MDHD@GOTPAGE Lloh1: ldr x8, [x8, _MP4_BOX_TYPE_MDHD@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _mp4_write_box Lloh3: adrp x20, _VC_CONTAINER_SUCCESS@GOTPAGE Lloh4: ldr x20, [x20, _VC_CONTAINER_SUCCESS@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.ne LBB0_3 ; %bb.1: Lloh5: adrp x8, _MP4_BOX_TYPE_HDLR@GOTPAGE Lloh6: ldr x8, [x8, _MP4_BOX_TYPE_HDLR@GOTPAGEOFF] Lloh7: ldr w1, [x8] mov x0, x19 bl _mp4_write_box ldr x8, [x20] cmp x0, x8 b.ne LBB0_3 ; %bb.2: Lloh8: adrp x8, _MP4_BOX_TYPE_MINF@GOTPAGE Lloh9: ldr x8, [x8, _MP4_BOX_TYPE_MINF@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mp4_write_box LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _VC_CONTAINER_SUCCESS,8,3 ; @VC_CONTAINER_SUCCESS .comm _MP4_BOX_TYPE_MDHD,4,2 ; @MP4_BOX_TYPE_MDHD .comm _MP4_BOX_TYPE_HDLR,4,2 ; @MP4_BOX_TYPE_HDLR .comm _MP4_BOX_TYPE_MINF,4,2 ; @MP4_BOX_TYPE_MINF .no_dead_strip _mp4_write_box_mdia .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_writer.c_mp4_write_box_mdia.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _helper_token_match ## -- Begin function helper_token_match .p2align 4, 0x90 _helper_token_match: ## @helper_token_match .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 _TRUE@GOTPCREL(%rip), %rax movl (%rax), %r15d testq %rdi, %rdi je LBB0_4 ## %bb.1: movq %rdi, %r14 testl %r15d, %r15d sete %al movq (%rdi), %rcx testq %rcx, %rcx sete %dl xorl %r15d, %r15d testb %dl, %al jne LBB0_4 ## %bb.2: movq %rsi, %rbx addq $8, %r14 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl 4(%rcx), %edi xorl %r15d, %r15d movq %rbx, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _g_regex_match movq -8(%r14), %rdx movq (%r14), %rcx cmpl %eax, (%rdx) sete %al testq %rcx, %rcx sete %dl andb %al, %dl addq $8, %r14 cmpb $1, %dl jne LBB0_3 LBB0_4: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _helper_token_match ; -- Begin function helper_token_match .p2align 2 _helper_token_match: ; @helper_token_match .cfi_startproc ; %bb.0: mov x8, x0 Lloh0: adrp x9, _TRUE@GOTPAGE Lloh1: ldr x9, [x9, _TRUE@GOTPAGEOFF] Lloh2: ldr w0, [x9] cbz x8, LBB0_5 ; %bb.1: ldr x9, [x8] cmp w0, #0 ccmp x9, #0, #0, eq b.eq LBB0_6 ; %bb.2: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 add x20, x8, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [x9, #4] mov x1, x19 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _g_regex_match ldp x8, x9, [x20, #-8] ldr w8, [x8] add x20, x20, #8 cmp w8, w0 ccmp x9, #0, #0, eq b.ne LBB0_3 ; %bb.4: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload LBB0_5: ret LBB0_6: mov w0, #0 ; =0x0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
assembly_file_11580.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $112, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) cmpl $2, %edi jg LBB0_2 ## %bb.1: leaq L_str(%rip), %rdi callq _puts movl $1, %ebx jmp LBB0_5 LBB0_2: movq %rsi, %rbx movq 8(%rsi), %r14 movq %r14, %rdi callq _strlen cmpq $100, %rax ja LBB0_4 ## %bb.3: leaq -128(%rbp), %rdi movl $100, %edx movq %r14, %rsi callq ___strcpy_chk LBB0_4: movq 16(%rbx), %rdi callq _atoi movl %eax, -28(%rbp) leaq L_.str.1(%rip), %rdi xorl %ebx, %ebx leaq -128(%rbp), %rsi movl %eax, %edx xorl %eax, %eax callq _printf LBB0_5: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_7 ## %bb.6: movl %ebx, %eax addq $112, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Name = %s \nAge = %d\n" L_str: ## @str .asciz "Indique nombe y edad por favor " .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 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] cmp w0, #2 b.gt LBB0_2 ; %bb.1: Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #1 b LBB0_5 LBB0_2: mov x19, x1 ldr x20, [x1, #8] mov x0, x20 bl _strlen cmp x0, #100 b.hi LBB0_4 ; %bb.3: add x0, sp, #16 mov x1, x20 mov w2, #100 bl ___strcpy_chk LBB0_4: ldr x0, [x19, #16] bl _atoi ; kill: def $w0 killed $w0 def $x0 str w0, [sp, #116] add x8, sp, #16 stp x8, x0, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #0 LBB0_5: 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: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_7: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Name = %s \nAge = %d\n" l_str: ; @str .asciz "Indique nombe y edad por favor " .subsections_via_symbols
the_stack_data/56701.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function riva_save_state _riva_save_state: ## @riva_save_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 xorl %eax, %eax callq _NVTRACE_ENTER movq %r15, %rdi xorl %esi, %esi callq *8(%r15) leaq 36(%r14), %rsi movq %r15, %rdi callq *(%r15) movq %r15, %rdi callq _MISCin movl %eax, 32(%r14) movq _NUM_CRT_REGS@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB0_3 ## %bb.1: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %ebx, %esi callq _CRTCin movq 24(%r14), %rcx movl %eax, (%rcx,%rbx,4) incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jl LBB0_2 LBB0_3: movq _NUM_ATC_REGS@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB0_6 ## %bb.4: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %ebx, %esi callq _ATTRin movq 16(%r14), %rcx movl %eax, (%rcx,%rbx,4) incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jl LBB0_5 LBB0_6: movq _NUM_GRC_REGS@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB0_9 ## %bb.7: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %ebx, %esi callq _GRAin movq 8(%r14), %rcx movl %eax, (%rcx,%rbx,4) incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jl LBB0_8 LBB0_9: movq _NUM_SEQ_REGS@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB0_12 ## %bb.10: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %ebx, %esi callq _SEQin movq (%r14), %rcx movl %eax, (%rcx,%rbx,4) incq %rbx movslq (%r12), %rax cmpq %rax, %rbx jl LBB0_11 LBB0_12: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _NVTRACE_LEAVE ## TAILCALL .cfi_endproc ## -- End function .comm _NUM_CRT_REGS,4,2 ## @NUM_CRT_REGS .comm _NUM_ATC_REGS,4,2 ## @NUM_ATC_REGS .comm _NUM_GRC_REGS,4,2 ## @NUM_GRC_REGS .comm _NUM_SEQ_REGS,4,2 ## @NUM_SEQ_REGS .no_dead_strip _riva_save_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function riva_save_state _riva_save_state: ; @riva_save_state .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 _NVTRACE_ENTER ldr x8, [x20, #8] mov x0, x20 mov w1, #0 blr x8 ldr x8, [x20] add x1, x19, #36 mov x0, x20 blr x8 mov x0, x20 bl _MISCin str w0, [x19, #32] Lloh0: adrp x22, _NUM_CRT_REGS@GOTPAGE Lloh1: ldr x22, [x22, _NUM_CRT_REGS@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _CRTCin ldr x8, [x19, #24] str w0, [x8, x21, lsl #2] add x21, x21, #1 ldrsw x8, [x22] cmp x21, x8 b.lt LBB0_2 LBB0_3: Lloh2: adrp x22, _NUM_ATC_REGS@GOTPAGE Lloh3: ldr x22, [x22, _NUM_ATC_REGS@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_6 ; %bb.4: mov x21, #0 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _ATTRin ldr x8, [x19, #16] str w0, [x8, x21, lsl #2] add x21, x21, #1 ldrsw x8, [x22] cmp x21, x8 b.lt LBB0_5 LBB0_6: Lloh4: adrp x22, _NUM_GRC_REGS@GOTPAGE Lloh5: ldr x22, [x22, _NUM_GRC_REGS@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_9 ; %bb.7: mov x21, #0 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _GRAin ldr x8, [x19, #8] str w0, [x8, x21, lsl #2] add x21, x21, #1 ldrsw x8, [x22] cmp x21, x8 b.lt LBB0_8 LBB0_9: Lloh6: adrp x22, _NUM_SEQ_REGS@GOTPAGE Lloh7: ldr x22, [x22, _NUM_SEQ_REGS@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_12 ; %bb.10: mov x21, #0 LBB0_11: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _SEQin ldr x8, [x19] str w0, [x8, x21, lsl #2] add x21, x21, #1 ldrsw x8, [x22] cmp x21, x8 b.lt LBB0_11 LBB0_12: 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 _NVTRACE_LEAVE .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _NUM_CRT_REGS,4,2 ; @NUM_CRT_REGS .comm _NUM_ATC_REGS,4,2 ; @NUM_ATC_REGS .comm _NUM_GRC_REGS,4,2 ; @NUM_GRC_REGS .comm _NUM_SEQ_REGS,4,2 ; @NUM_SEQ_REGS .no_dead_strip _riva_save_state .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/riva/extr_fbdev.c_riva_save_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_dma_control1 _set_dma_control1: ## @set_dma_control1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 movq _LCD_SPU_DMA_CTRL1@GOTPCREL(%rip), %r15 movq (%r15), %rdi addq (%r14), %rdi callq _readl movq _FB_SYNC_VERT_HIGH_ACT@GOTPCREL(%rip), %rcx xorl %edi, %edi andl (%rcx), %ebx sete %dil shll $27, %edi orl %eax, %edi orl $540213121, %edi ## imm = 0x2032FF81 movq (%r15), %rsi addq (%r14), %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _writel ## TAILCALL .cfi_endproc ## -- End function .comm _LCD_SPU_DMA_CTRL1,8,3 ## @LCD_SPU_DMA_CTRL1 .comm _FB_SYNC_VERT_HIGH_ACT,4,2 ## @FB_SYNC_VERT_HIGH_ACT .no_dead_strip _set_dma_control1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_dma_control1 _set_dma_control1: ; @set_dma_control1 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr x8, [x0] Lloh0: adrp x21, _LCD_SPU_DMA_CTRL1@GOTPAGE Lloh1: ldr x21, [x21, _LCD_SPU_DMA_CTRL1@GOTPAGEOFF] ldr x9, [x21] add x0, x9, x8 bl _readl Lloh2: adrp x8, _FB_SYNC_VERT_HIGH_ACT@GOTPAGE Lloh3: ldr x8, [x8, _FB_SYNC_VERT_HIGH_ACT@GOTPAGEOFF] Lloh4: ldr w8, [x8] tst w8, w19 mov w8, #65409 movk w8, #8242, lsl #16 mov w9, #65409 movk w9, #10290, lsl #16 csel w8, w9, w8, eq orr w0, w8, w0 ldr x8, [x20] ldr x9, [x21] add x1, x9, 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 b _writel .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _LCD_SPU_DMA_CTRL1,8,3 ; @LCD_SPU_DMA_CTRL1 .comm _FB_SYNC_VERT_HIGH_ACT,4,2 ; @FB_SYNC_VERT_HIGH_ACT .no_dead_strip _set_dma_control1 .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/extr_pxa168fb.c_set_dma_control1.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amd64_csrow_nr_pages _amd64_csrow_nr_pages: ## @amd64_csrow_nr_pages .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rdi, %r15 xorl %eax, %eax testq %rsi, %rsi sete %al movl (%rdi,%rax,4), %ebx movl %edx, %ecx shrl $31, %ecx addl %edx, %ecx addl %ecx, %ecx andb $-4, %cl ## kill: def $cl killed $cl killed $ecx sarl %cl, %ebx andl $15, %ebx movq 16(%rdi), %rax movl %ebx, %edx callq *(%rax) movq _PAGE_SHIFT@GOTPCREL(%rip), %rdx movb $20, %cl subb (%rdx), %cl movl %eax, %r12d shll %cl, %r12d leaq L_.str(%rip), %rdi movl %r14d, %esi movl %ebx, %edx callq _debugf0 movl 8(%r15), %edx leaq L_.str.1(%rip), %rdi movl %r12d, %esi callq _debugf0 movl %r12d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " (csrow=%d) DBAM map index= %d\n" L_.str.1: ## @.str.1 .asciz " nr_pages= %u channel-count = %d\n" .no_dead_strip _amd64_csrow_nr_pages .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amd64_csrow_nr_pages _amd64_csrow_nr_pages: ; @amd64_csrow_nr_pages .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x0 cmp x1, #0 cset w8, eq cmp w2, #0 ldr w8, [x0, w8, uxtw #2] cinc w9, w2, lt lsl w9, w9, #1 and w9, w9, #0xfffffffc asr w8, w8, w9 and w21, w8, #0xf ldr x8, [x0, #16] ldr x8, [x8] mov x2, x21 blr x8 Lloh0: adrp x8, _PAGE_SHIFT@GOTPAGE Lloh1: ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov w9, #20 sub w8, w9, w8 lsl w22, w0, w8 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF mov x1, x19 mov x2, x21 bl _debugf0 ldr w2, [x20, #8] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF mov x1, x22 bl _debugf0 mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " (csrow=%d) DBAM map index= %d\n" l_.str.1: ; @.str.1 .asciz " nr_pages= %u channel-count = %d\n" .no_dead_strip _amd64_csrow_nr_pages .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/edac/extr_amd64_edac.c_amd64_csrow_nr_pages.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qed_grc_dump_mem _qed_grc_dump_mem: ## @qed_grc_dump_mem .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, %r14d movl %ecx, %r13d movq %rdx, %r15 movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %rbx movl 16(%rbp), %r9d movl 32(%rbp), %r12d movl 40(%rbp), %r11d movl 56(%rbp), %eax movsbl 64(%rbp), %r10d subq $8, %rsp movq %rdx, %rsi movl %ecx, %edx movq %r8, %rcx movl %r14d, %r8d pushq %r10 pushq %rax pushq 48(%rbp) pushq %r11 pushq %r12 callq _qed_grc_dump_mem_hdr addq $48, %rsp movslq %eax, %r12 leaq (%r15,%r12,4), %rdx movq _SPLIT_TYPE_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax subq $8, %rsp movq %rbx, %rdi movq -48(%rbp), %rsi ## 8-byte Reload movl %r13d, %ecx movl %r14d, %r8d movl 16(%rbp), %r9d pushq $0 pushq %rax movl 24(%rbp), %eax pushq %rax callq _qed_grc_dump_addr_range addq $32, %rsp addl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SPLIT_TYPE_NONE,4,2 ## @SPLIT_TYPE_NONE .no_dead_strip _qed_grc_dump_mem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qed_grc_dump_mem _qed_grc_dump_mem: ; @qed_grc_dump_mem .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, x7 mov x20, x6 mov x21, x5 mov x22, x3 mov x23, x2 mov x24, x1 mov x25, x0 ldp w6, w7, [x29, #16] ldr x8, [x29, #24] ldr w9, [x29, #32] ldrsb w10, [x29, #36] strb w10, [sp, #12] str w9, [sp, #8] str x8, [sp] mov x1, x2 mov x2, x3 mov x3, x4 mov x4, x5 mov x5, x20 bl _qed_grc_dump_mem_hdr mov x26, x0 add x2, x23, w0, sxtw #2 Lloh0: adrp x8, _SPLIT_TYPE_NONE@GOTPAGE Lloh1: ldr x8, [x8, _SPLIT_TYPE_NONE@GOTPAGEOFF] Lloh2: ldr w7, [x8] str wzr, [sp] mov x0, x25 mov x1, x24 mov x3, x22 mov x4, x21 mov x5, x20 mov x6, x19 bl _qed_grc_dump_addr_range add w0, w0, w26 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SPLIT_TYPE_NONE,4,2 ; @SPLIT_TYPE_NONE .no_dead_strip _qed_grc_dump_mem .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_debug.c_qed_grc_dump_mem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function addinfo _addinfo: ## @addinfo .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 $80, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq (%rdi), %rbx movq %rbx, %rdi callq _isLua testq %rax, %rax je LBB0_2 ## %bb.1: movq %r15, %rdi movq %rbx, %rsi callq _currentline movl %eax, %r12d movq %rbx, %rdi callq _getluaproto movl (%rax), %edi callq _getstr leaq -112(%rbp), %rbx movq %rbx, %rdi movl %eax, %esi movl $60, %edx callq _luaO_chunkid leaq L_.str(%rip), %rsi movq %r15, %rdi movq %rbx, %rdx movl %r12d, %ecx movq %r14, %r8 callq _luaO_pushfstring LBB0_2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_4 ## %bb.3: addq $80, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:%d: %s" .no_dead_strip _addinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function addinfo _addinfo: ; @addinfo .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 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 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] ldr x21, [x0] mov x0, x21 bl _isLua cbz x0, LBB0_2 ; %bb.1: mov x0, x20 mov x1, x21 bl _currentline mov x22, x0 mov x0, x21 bl _getluaproto ldr w0, [x0] bl _getstr mov x1, x0 add x0, sp, #12 mov w2, #60 bl _luaO_chunkid Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF add x2, sp, #12 mov x0, x20 mov x3, x22 mov x4, x19 bl _luaO_pushfstring LBB0_2: ldur x8, [x29, #-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_4 ; %bb.3: 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 add sp, sp, #128 ret LBB0_4: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:%d: %s" .no_dead_strip _addinfo .subsections_via_symbols
AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_addinfo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_atoi ## -- Begin function ft_atoi .p2align 4, 0x90 _ft_atoi: ## @ft_atoi .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 incq %rdi movzbl -1(%rdi), %ecx leal -9(%rcx), %eax cmpb $5, %al jb LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpb $32, %cl je LBB0_1 ## %bb.3: movl $1, %edx jmp LBB0_4 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 movl %edx, %eax negl %eax cmpb $45, %cl cmovel %eax, %edx movzbl (%rdi), %ecx incq %rdi LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpb $43, %cl je LBB0_10 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpb $45, %cl je LBB0_10 ## %bb.6: leal -48(%rcx), %esi xorl %eax, %eax cmpb $9, %sil ja LBB0_9 ## %bb.7: xorl %eax, %eax .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movzbl %cl, %ecx leal (%rax,%rax,4), %eax leal (%rcx,%rax,2), %eax addl $-48, %eax movzbl (%rdi), %ecx leal -48(%rcx), %esi incq %rdi cmpb $10, %sil jb LBB0_8 LBB0_9: imull %edx, %eax ## kill: def $eax killed $eax killed $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 _ft_atoi ; -- Begin function ft_atoi .p2align 2 _ft_atoi: ; @ft_atoi .cfi_startproc ; %bb.0: b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x0, x0, #1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x0] sub w8, w9, #9 cmp w8, #5 b.lo LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cmp w9, #32 b.eq LBB0_1 ; %bb.4: mov w8, #1 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 cmp w9, #45 cneg w8, w8, eq ldrb w9, [x0, #1]! LBB0_6: ; =>This Inner Loop Header: Depth=1 cmp w9, #43 b.eq LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cmp w9, #45 b.eq LBB0_5 ; %bb.8: sub w10, w9, #48 cmp w10, #9 b.hi LBB0_12 ; %bb.9: mov w10, #0 mov w11, #1 mov w12, #10 LBB0_10: ; =>This Inner Loop Header: Depth=1 madd w9, w10, w12, w9 sub w10, w9, #48 ldrb w9, [x0, x11] sub w13, w9, #48 add x11, x11, #1 cmp w13, #10 b.lo LBB0_10 ; %bb.11: mul w0, w10, w8 ret LBB0_12: mul w0, wzr, w8 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/851634.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i9xx_plane_has_windowing _i9xx_plane_has_windowing: ## @i9xx_plane_has_windowing .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 4(%rdi), %edi callq _to_i915 movq %rax, %r14 movl (%rbx), %ebx movq %rax, %rdi callq _IS_CHERRYVIEW testq %rax, %rax je LBB0_3 ## %bb.1: movq _PLANE_B@GOTPCREL(%rip), %rax LBB0_2: cmpl (%rax), %ebx sete %al jmp LBB0_7 LBB0_3: movq %r14, %rdi callq _INTEL_GEN cmpl $4, %eax jg LBB0_6 ## %bb.5: movq %r14, %rdi callq _IS_G4X testq %rax, %rax je LBB0_8 LBB0_6: xorl %eax, %eax LBB0_7: movzbl %al, %eax popq %rbx popq %r14 popq %rbp retq LBB0_8: movq %r14, %rdi movl $4, %esi callq _IS_GEN testq %rax, %rax je LBB0_10 ## %bb.9: movq _PLANE_C@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_10: movq _PLANE_B@GOTPCREL(%rip), %rax cmpl (%rax), %ebx sete %cl movq _PLANE_C@GOTPCREL(%rip), %rax cmpl (%rax), %ebx sete %al orb %cl, %al jmp LBB0_7 .cfi_endproc ## -- End function .comm _PLANE_B,4,2 ## @PLANE_B .comm _PLANE_C,4,2 ## @PLANE_C .no_dead_strip _i9xx_plane_has_windowing .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i9xx_plane_has_windowing _i9xx_plane_has_windowing: ; @i9xx_plane_has_windowing .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr w0, [x0, #4] bl _to_i915 mov x19, x0 ldr w20, [x20] bl _IS_CHERRYVIEW cbz x0, LBB0_4 ; %bb.1: Lloh0: adrp x8, _PLANE_B@GOTPAGE Lloh1: ldr x8, [x8, _PLANE_B@GOTPAGEOFF] LBB0_2: ldr w8, [x8] cmp w20, w8 LBB0_3: cset w0, eq b LBB0_7 LBB0_4: mov x0, x19 bl _INTEL_GEN cmp w0, #4 b.gt LBB0_6 ; %bb.5: mov x0, x19 bl _IS_G4X cbz x0, LBB0_8 LBB0_6: mov w0, #0 LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_8: mov x0, x19 mov w1, #4 bl _IS_GEN cbz x0, LBB0_10 ; %bb.9: Lloh2: adrp x8, _PLANE_C@GOTPAGE Lloh3: ldr x8, [x8, _PLANE_C@GOTPAGEOFF] b LBB0_2 LBB0_10: Lloh4: adrp x8, _PLANE_B@GOTPAGE Lloh5: ldr x8, [x8, _PLANE_B@GOTPAGEOFF] Lloh6: ldr w8, [x8] cmp w20, w8 Lloh7: adrp x8, _PLANE_C@GOTPAGE Lloh8: ldr x8, [x8, _PLANE_C@GOTPAGEOFF] Lloh9: ldr w8, [x8] ccmp w20, w8, #4, ne b LBB0_3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _PLANE_B,4,2 ; @PLANE_B .comm _PLANE_C,4,2 ; @PLANE_C .no_dead_strip _i9xx_plane_has_windowing .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/display/extr_intel_display.c_i9xx_plane_has_windowing.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function NI_M_Series_PFI_Gate_Select _NI_M_Series_PFI_Gate_Select: ## @NI_M_Series_PFI_Gate_Select .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movq _ni_m_series_max_pfi_channel@GOTPCREL(%rip), %rax xorl %edi, %edi cmpl %ebx, (%rax) setb %dil callq _BUG_ON leal 11(%rbx), %ecx leal 1(%rbx), %eax cmpl $10, %ebx cmovael %ecx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _ni_m_series_max_pfi_channel,4,2 ## @ni_m_series_max_pfi_channel .no_dead_strip _NI_M_Series_PFI_Gate_Select .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function NI_M_Series_PFI_Gate_Select _NI_M_Series_PFI_Gate_Select: ; @NI_M_Series_PFI_Gate_Select .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, _ni_m_series_max_pfi_channel@GOTPAGE Lloh1: ldr x8, [x8, _ni_m_series_max_pfi_channel@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w0 cset w0, lo bl _BUG_ON cmp w19, #10 add w8, w19, #11 csinc w0, w8, w19, hs 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 _ni_m_series_max_pfi_channel,4,2 ; @ni_m_series_max_pfi_channel .no_dead_strip _NI_M_Series_PFI_Gate_Select .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_ni_tio.c_NI_M_Series_PFI_Gate_Select.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m68k_op_btst_8_s_pcix _m68k_op_btst_8_s_pcix: ## @m68k_op_btst_8_s_pcix .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 xorl %eax, %eax callq _OPER_I_8 movl %eax, %ebx xorl %eax, %eax callq _OPER_PCIX_8 andb $7, %bl movl $1, %edx movl %ebx, %ecx shll %cl, %edx andl %eax, %edx movq _FLAG_Z@GOTPCREL(%rip), %rax movl %edx, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _FLAG_Z,4,2 ## @FLAG_Z .no_dead_strip _m68k_op_btst_8_s_pcix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m68k_op_btst_8_s_pcix _m68k_op_btst_8_s_pcix: ; @m68k_op_btst_8_s_pcix .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 _OPER_I_8 and w19, w0, #0x7 bl _OPER_PCIX_8 mov w8, #1 lsl w8, w8, w19 and w8, w8, w0 Lloh0: adrp x9, _FLAG_Z@GOTPAGE Lloh1: ldr x9, [x9, _FLAG_Z@GOTPAGEOFF] Lloh2: str w8, [x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FLAG_Z,4,2 ; @FLAG_Z .no_dead_strip _m68k_op_btst_8_s_pcix .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_btst_8_s_pcix.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _p_new ## -- Begin function p_new .p2align 4, 0x90 _p_new: ## @p_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 %r15 pushq %r14 pushq %rbx subq $216, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r15d movq %rsi, -232(%rbp) movq %rdx, -224(%rbp) movq %rcx, -216(%rbp) movq %r8, -208(%rbp) movq %r9, -200(%rbp) testb %al, %al je LBB0_21 ## %bb.20: movaps %xmm0, -192(%rbp) movaps %xmm1, -176(%rbp) movaps %xmm2, -160(%rbp) movaps %xmm3, -144(%rbp) movaps %xmm4, -128(%rbp) movaps %xmm5, -112(%rbp) movaps %xmm6, -96(%rbp) movaps %xmm7, -80(%rbp) LBB0_21: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) movl %edi, %ebx negl %ebx cmovsl %edi, %ebx movl $16, %edi callq _malloc movq %rax, %r14 movl %ebx, (%rax) leaq 8(,%rbx,8), %rdi callq _malloc movq %rax, 8(%r14) testl %r15d, %r15d js LBB0_1 ## %bb.2: leaq 1(%rbx), %r8 movabsq $206158430216, %rcx ## imm = 0x3000000008 movq %rcx, -64(%rbp) leaq -240(%rbp), %r9 movq %r9, -48(%rbp) leaq 16(%rbp), %rdx movq %rdx, -56(%rbp) movl -60(%rbp), %esi testl %r15d, %r15d je LBB0_3 ## %bb.4: movl %r8d, %edi andl $-2, %edi xorl %edx, %edx jmp LBB0_5 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movl %esi, %ebx addq %r9, %rbx addl $16, %esi movl %esi, -60(%rbp) LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, 8(%rax,%rdx,8) addq $2, %rdx cmpq %rdx, %rdi je LBB0_12 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpl $160, %esi ja LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl %esi, %ebx addq %r9, %rbx addl $16, %esi movl %esi, -60(%rbp) jmp LBB0_8 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq -56(%rbp), %rbx leaq 8(%rbx), %rcx movq %rcx, -56(%rbp) LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, (%rax,%rdx,8) cmpl $161, %esi jb LBB0_10 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq -56(%rbp), %rbx leaq 8(%rbx), %rcx movq %rcx, -56(%rbp) jmp LBB0_11 LBB0_1: movl %ebx, %ecx leaq 8(,%rcx,8), %rsi movq %rax, %rdi callq ___bzero jmp LBB0_17 LBB0_3: xorl %edx, %edx LBB0_12: testb $1, %r8b je LBB0_17 ## %bb.13: cmpl $161, %esi jae LBB0_14 ## %bb.15: movl %esi, %ecx addq %rcx, %r9 addl $16, %esi movl %esi, -60(%rbp) jmp LBB0_16 LBB0_14: movq -56(%rbp), %r9 leaq 8(%r9), %rcx movq %rcx, -56(%rbp) LBB0_16: movsd (%r9), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, (%rax,%rdx,8) LBB0_17: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB0_19 ## %bb.18: movq %r14, %rax addq $216, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _p_del ## -- Begin function p_del .p2align 4, 0x90 _p_del: ## @p_del .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq 8(%rdi), %rdi callq _free movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .globl _p_print ## -- Begin function p_print .p2align 4, 0x90 _p_print: ## @p_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $0, (%rdi) js LBB2_3 ## %bb.1: movq %rdi, %r15 movq $-1, %rbx leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB2_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movsd 8(%rax,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r14, %rdi movb $1, %al callq _printf movslq (%r15), %rax incq %rbx cmpq %rax, %rbx jl LBB2_2 LBB2_3: movl $10, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .globl _p_copy ## -- Begin function p_copy .p2align 4, 0x90 _p_copy: ## @p_copy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx xorl %edi, %edi subl (%rbx), %edi xorl %eax, %eax callq _p_new movq %rax, %r14 movq 8(%rax), %rdi movq 8(%rbx), %rsi movslq (%rbx), %rax leaq 8(,%rax,8), %rdx callq _memcpy movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _p_div ## -- Begin function p_div .p2align 4, 0x90 _p_div: ## @p_div .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, %r14 movl (%rdi), %edi subl (%rsi), %edi js LBB4_5 ## %bb.1: movq %rdx, %r13 movq %rsi, %r12 negl %edi xorl %eax, %eax callq _p_new movq %rax, -48(%rbp) ## 8-byte Spill xorl %edi, %edi subl (%r14), %edi xorl %eax, %eax callq _p_new movq %rax, %r15 movq 8(%rax), %rbx movq 8(%r14), %rsi movslq (%r14), %rax leaq 8(,%rax,8), %rdx movq %rbx, %rdi callq _memcpy movq %r15, -56(%rbp) ## 8-byte Spill movq %r15, (%r13) movslq (%r14), %r8 movslq (%r12), %r13 cmpl %r13d, %r8d jge LBB4_7 LBB4_2: movq -56(%rbp), %rdx ## 8-byte Reload movslq (%rdx), %rax leaq (%rbx,%rax,8), %rcx addq $-8, %rcx xorpd %xmm0, %xmm0 .p2align 4, 0x90 LBB4_3: ## =>This Inner Loop Header: Depth=1 movsd (%rcx), %xmm1 ## xmm1 = mem[0],zero decl %eax addq $-8, %rcx ucomisd %xmm0, %xmm1 jne LBB4_4 jnp LBB4_3 LBB4_4: movl %eax, (%rdx) movq -48(%rbp), %rax ## 8-byte Reload jmp LBB4_6 LBB4_5: xorl %eax, %eax LBB4_6: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_7: movl %r13d, %edx movq 8(%r12), %rsi movq -48(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax movq %rax, -104(%rbp) ## 8-byte Spill movq %r8, %rax subq %r13, %rax shlq $3, %rax movq %rax, -88(%rbp) ## 8-byte Spill leaq (%r8,%rdx), %rax subq %r13, %rax shlq $3, %rax movq %rax, -72(%rbp) ## 8-byte Spill leaq (%rsi,%rdx,8), %rax movq %rax, -80(%rbp) ## 8-byte Spill movl %edx, %eax andl $-4, %eax movq %rax, -64(%rbp) ## 8-byte Spill movq %rdx, %rax negq %rax movq %rax, -96(%rbp) ## 8-byte Spill leaq (,%r8,8), %rax leaq (,%r13,8), %rcx subq %rcx, %rax leaq (%rax,%rbx), %rdi addq $16, %rdi leaq (,%rdx,8), %r12 andq $-32, %r12 xorl %r15d, %r15d movabsq $4294967296, %r10 ## imm = 0x100000000 movabsq $8589934592, %r9 ## imm = 0x200000000 jmp LBB4_9 .p2align 4, 0x90 LBB4_8: ## in Loop: Header=BB4_9 Depth=1 leaq -1(%r8), %rax incq %r15 addq $-8, %rdi cmpq %r13, %r8 movq %rax, %r8 jle LBB4_2 LBB4_9: ## =>This Loop Header: Depth=1 ## Child Loop BB4_16 Depth 2 ## Child Loop BB4_22 Depth 2 movq %r8, %rcx movsd (%rbx,%r8,8), %xmm0 ## xmm0 = mem[0],zero divsd (%rsi,%r13,8), %xmm0 subq %r13, %rcx movq -104(%rbp), %rax ## 8-byte Reload movsd %xmm0, (%rax,%rcx,8) movq $0, (%rbx,%r8,8) testl %edx, %edx jle LBB4_8 ## %bb.10: ## in Loop: Header=BB4_9 Depth=1 cmpl $4, %r13d jb LBB4_11 ## %bb.12: ## in Loop: Header=BB4_9 Depth=1 leaq (,%r15,8), %r11 movq -88(%rbp), %rax ## 8-byte Reload subq %r11, %rax addq %rbx, %rax cmpq -80(%rbp), %rax ## 8-byte Folded Reload jae LBB4_15 ## %bb.13: ## in Loop: Header=BB4_9 Depth=1 movq -72(%rbp), %rax ## 8-byte Reload subq %r11, %rax addq %rbx, %rax cmpq %rsi, %rax jbe LBB4_15 LBB4_11: ## in Loop: Header=BB4_9 Depth=1 xorl %eax, %eax LBB4_18: ## in Loop: Header=BB4_9 Depth=1 movq %rax, %r14 testb $1, %dl je LBB4_20 ## %bb.19: ## in Loop: Header=BB4_9 Depth=1 movslq %eax, %r11 addq %rcx, %r11 movsd (%rbx,%r11,8), %xmm1 ## xmm1 = mem[0],zero movsd (%rsi,%rax,8), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm0, %xmm2 subsd %xmm2, %xmm1 movsd %xmm1, (%rbx,%r11,8) movq %rax, %r14 orq $1, %r14 LBB4_20: ## in Loop: Header=BB4_9 Depth=1 notq %rax cmpq -96(%rbp), %rax ## 8-byte Folded Reload je LBB4_8 ## %bb.21: ## in Loop: Header=BB4_9 Depth=1 movq %r14, %r11 shlq $32, %r11 .p2align 4, 0x90 LBB4_22: ## Parent Loop BB4_9 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r11, %rax sarq $32, %rax addq %rcx, %rax movsd (%rbx,%rax,8), %xmm1 ## xmm1 = mem[0],zero movsd (%rsi,%r14,8), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm0, %xmm2 subsd %xmm2, %xmm1 movsd %xmm1, (%rbx,%rax,8) leaq (%r11,%r10), %rax sarq $32, %rax addq %rcx, %rax movsd (%rbx,%rax,8), %xmm1 ## xmm1 = mem[0],zero movsd 8(%rsi,%r14,8), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm0, %xmm2 subsd %xmm2, %xmm1 movsd %xmm1, (%rbx,%rax,8) addq $2, %r14 addq %r9, %r11 cmpq %r14, %rdx jne LBB4_22 jmp LBB4_8 LBB4_15: ## in Loop: Header=BB4_9 Depth=1 movddup %xmm0, %xmm1 ## xmm1 = xmm0[0,0] xorl %eax, %eax .p2align 4, 0x90 LBB4_16: ## Parent Loop BB4_9 Depth=1 ## => This Inner Loop Header: Depth=2 movupd (%rsi,%rax), %xmm2 movupd 16(%rsi,%rax), %xmm3 movupd -16(%rdi,%rax), %xmm4 movupd (%rdi,%rax), %xmm5 mulpd %xmm1, %xmm2 subpd %xmm2, %xmm4 mulpd %xmm1, %xmm3 subpd %xmm3, %xmm5 movupd %xmm4, -16(%rdi,%rax) movupd %xmm5, (%rdi,%rax) addq $32, %rax cmpq %rax, %r12 jne LBB4_16 ## %bb.17: ## in Loop: Header=BB4_9 Depth=1 movq -64(%rbp), %r11 ## 8-byte Reload movq %r11, %rax cmpq %rdx, %r11 je LBB4_8 jmp LBB4_18 .cfi_endproc ## -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI5_0: .quad 0x3ff0000000000000 ## double 1 LCPI5_1: .quad 0x4000000000000000 ## double 2 LCPI5_2: .quad 0x4008000000000000 ## double 3 LCPI5_3: .quad 0x4010000000000000 ## double 4 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 movsd LCPI5_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI5_1(%rip), %xmm1 ## xmm1 = mem[0],zero movsd LCPI5_2(%rip), %xmm2 ## xmm2 = mem[0],zero movsd LCPI5_3(%rip), %xmm3 ## xmm3 = mem[0],zero movl $3, %edi movb $4, %al callq _p_new movq %rax, %r12 movl $2, %edi movsd LCPI5_0(%rip), %xmm0 ## xmm0 = mem[0],zero movsd LCPI5_1(%rip), %xmm1 ## xmm1 = mem[0],zero movaps %xmm0, %xmm2 movb $3, %al callq _p_new leaq -64(%rbp), %rdx movq %r12, %rdi movq %rax, -56(%rbp) ## 8-byte Spill movq %rax, %rsi callq _p_div movq %rax, -48(%rbp) ## 8-byte Spill leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf movl (%r12), %ebx testl %ebx, %ebx js LBB5_3 ## %bb.1: movq 8(%r12), %r15 incq %rbx xorl %r14d, %r14d leaq L_.str(%rip), %r13 .p2align 4, 0x90 LBB5_2: ## =>This Inner Loop Header: Depth=1 movsd (%r15,%r14,8), %xmm0 ## xmm0 = mem[0],zero movq %r13, %rdi movb $1, %al callq _printf incq %r14 cmpq %r14, %rbx jne LBB5_2 LBB5_3: movl $10, %edi callq _putchar leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %r15d testl %r15d, %r15d js LBB5_6 ## %bb.4: movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax), %r14 incq %r15 xorl %ebx, %ebx leaq L_.str(%rip), %r13 .p2align 4, 0x90 LBB5_5: ## =>This Inner Loop Header: Depth=1 movsd (%r14,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r13, %rdi movb $1, %al callq _printf incq %rbx cmpq %rbx, %r15 jne LBB5_5 LBB5_6: movl $10, %edi callq _putchar leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf movq -48(%rbp), %rax ## 8-byte Reload movl (%rax), %r15d testl %r15d, %r15d js LBB5_9 ## %bb.7: movq -48(%rbp), %rax ## 8-byte Reload movq 8(%rax), %r14 incq %r15 xorl %ebx, %ebx leaq L_.str(%rip), %r13 .p2align 4, 0x90 LBB5_8: ## =>This Inner Loop Header: Depth=1 movsd (%r14,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r13, %rdi movb $1, %al callq _printf incq %rbx cmpq %rbx, %r15 jne LBB5_8 LBB5_9: movl $10, %edi callq _putchar leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf movq -64(%rbp), %r15 cmpl $0, (%r15) js LBB5_12 ## %bb.10: movq $-1, %rbx leaq L_.str(%rip), %r13 .p2align 4, 0x90 LBB5_11: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movsd 8(%rax,%rbx,8), %xmm0 ## xmm0 = mem[0],zero movq %r13, %rdi movb $1, %al callq _printf movslq (%r15), %rax incq %rbx cmpq %rax, %rbx jl LBB5_11 LBB5_12: movl $10, %edi callq _putchar movq 8(%r12), %rdi callq _free movq %r12, %rdi callq _free movq -48(%rbp), %rbx ## 8-byte Reload movq 8(%rbx), %rdi callq _free movq %rbx, %rdi callq _free movq 8(%r15), %rdi callq _free movq %r15, %rdi callq _free movq -56(%rbp), %rbx ## 8-byte Reload movq 8(%rbx), %rdi callq _free movq %rbx, %rdi callq _free xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%g " L_.str.2: ## @.str.2 .asciz "poly: " L_.str.3: ## @.str.3 .asciz "div: " L_.str.4: ## @.str.4 .asciz "quot: " L_.str.5: ## @.str.5 .asciz "rem: " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _p_new ; -- Begin function p_new .p2align 2 _p_new: ; @p_new .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, x0 cmp w0, #0 cneg w22, w0, mi mov w0, #16 bl _malloc mov x19, x0 str w22, [x0] add w21, w22, #1 lsl x0, x21, #3 bl _malloc str x0, [x19, #8] tbnz w20, #31, LBB0_3 ; %bb.1: add x8, x29, #16 str x8, [sp, #8] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] add x9, x8, #8 str x9, [sp, #8] ldr d0, [x8] str d0, [x0], #8 subs x21, x21, #1 b.ne LBB0_2 b LBB0_4 LBB0_3: lsl x8, x22, #3 add x1, x8, #8 bl _bzero LBB0_4: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .globl _p_del ; -- Begin function p_del .p2align 2 _p_del: ; @p_del .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] bl _free mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free .cfi_endproc ; -- End function .globl _p_print ; -- Begin function p_print .p2align 2 _p_print: ; @p_print .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0] tbnz w8, #31, LBB2_3 ; %bb.1: mov x19, x0 mov x21, #0 Lloh0: adrp x20, l_.str@PAGE Lloh1: add x20, x20, l_.str@PAGEOFF LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr d0, [x8, x21, lsl #3] str d0, [sp] mov x0, x20 bl _printf add x8, x21, #1 ldrsw x9, [x19] cmp x21, x9 mov x21, x8 b.lt LBB2_2 LBB2_3: mov w0, #10 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _putchar .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _p_copy ; -- Begin function p_copy .p2align 2 _p_copy: ; @p_copy .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w8, [x0] neg w0, w8 bl _p_new mov x20, x0 ldr x0, [x0, #8] ldr x1, [x19, #8] ldrsw x8, [x19] lsl x8, x8, #3 add x2, x8, #8 bl _memcpy mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _p_div ; -- Begin function p_div .p2align 2 _p_div: ; @p_div .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 ldr w8, [x0] ldr w9, [x1] subs w8, w8, w9 b.mi LBB4_5 ; %bb.1: mov x23, x2 mov x22, x1 mov x24, x0 neg w0, w8 bl _p_new mov x19, x0 ldr w8, [x24] neg w0, w8 bl _p_new mov x20, x0 ldr x21, [x0, #8] ldr x1, [x24, #8] ldrsw x8, [x24] lsl x8, x8, #3 add x2, x8, #8 mov x0, x21 bl _memcpy str x20, [x23] ldrsw x9, [x24] ldrsw x8, [x22] cmp w9, w8 b.ge LBB4_7 LBB4_2: ldrsw x8, [x20] add x9, x21, x8, lsl #3 sub x9, x9, #8 LBB4_3: ; =>This Inner Loop Header: Depth=1 ldr d0, [x9], #-8 sub w8, w8, #1 fcmp d0, #0.0 b.eq LBB4_3 ; %bb.4: str w8, [x20] b LBB4_6 LBB4_5: mov x19, #0 LBB4_6: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB4_7: mov x10, #0 and x11, x8, #0xffffffff ldr x12, [x22, #8] ldr x13, [x19, #8] sub x14, x9, x8 lsl x14, x14, #3 add x15, x9, x11 sub x15, x15, x8 lsl x15, x15, #3 add x16, x12, x11, lsl #3 and x17, x11, #0xfffffff8 lsl x0, x9, #3 sub x0, x0, x8, lsl #3 add x0, x0, x21 add x0, x0, #32 add x1, x12, #32 mov x2, #4294967296 b LBB4_9 LBB4_8: ; in Loop: Header=BB4_9 Depth=1 sub x3, x9, #1 add x10, x10, #1 sub x0, x0, #8 cmp x9, x8 mov x9, x3 b.le LBB4_2 LBB4_9: ; =>This Loop Header: Depth=1 ; Child Loop BB4_17 Depth 2 ; Child Loop BB4_15 Depth 2 lsl x4, x9, #3 ldr d0, [x21, x4] ldr d1, [x12, x8, lsl #3] fdiv d0, d0, d1 sub x3, x9, x8 str d0, [x13, x3, lsl #3] str xzr, [x21, x4] cmp w11, #1 b.lt LBB4_8 ; %bb.10: ; in Loop: Header=BB4_9 Depth=1 cmp w8, #8 b.lo LBB4_13 ; %bb.11: ; in Loop: Header=BB4_9 Depth=1 lsl x4, x10, #3 sub x5, x14, x4 add x5, x21, x5 cmp x5, x16 b.hs LBB4_16 ; %bb.12: ; in Loop: Header=BB4_9 Depth=1 sub x4, x15, x4 add x4, x21, x4 cmp x4, x12 b.ls LBB4_16 LBB4_13: ; in Loop: Header=BB4_9 Depth=1 mov x6, #0 LBB4_14: ; in Loop: Header=BB4_9 Depth=1 lsl x4, x6, #32 sub x5, x11, x6 add x6, x12, x6, lsl #3 LBB4_15: ; Parent Loop BB4_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d1, [x6], #8 add x7, x3, x4, asr #32 lsl x7, x7, #3 ldr d2, [x21, x7] fmsub d1, d1, d0, d2 str d1, [x21, x7] add x4, x4, x2 subs x5, x5, #1 b.ne LBB4_15 b LBB4_8 LBB4_16: ; in Loop: Header=BB4_9 Depth=1 dup.2d v1, v0[0] mov x4, x1 mov x5, x0 mov x6, x17 LBB4_17: ; Parent Loop BB4_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q2, q3, [x4, #-32] ldp q4, q5, [x4], #64 ldp q6, q7, [x5, #-32] ldp q16, q17, [x5] fmls.2d v6, v1, v2 fmls.2d v7, v1, v3 fmls.2d v16, v1, v4 fmls.2d v17, v1, v5 stp q6, q7, [x5, #-32] stp q16, q17, [x5], #64 subs x6, x6, #8 b.ne LBB4_17 ; %bb.18: ; in Loop: Header=BB4_9 Depth=1 mov x6, x17 cmp x17, x11 b.eq LBB4_8 b LBB4_14 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x8, #4616189618054758400 mov x9, #4613937818241073152 stp x9, x8, [sp, #16] mov x19, #4611686018427387904 mov x21, #4607182418800017408 stp x21, x19, [sp] mov w0, #3 bl _p_new mov x20, x0 stp x19, x21, [sp, #8] str x21, [sp] mov w0, #2 bl _p_new mov x19, x0 add x2, sp, #40 mov x0, x20 mov x1, x19 bl _p_div mov x21, x0 Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _printf ldr w8, [x20] tbnz w8, #31, LBB5_3 ; %bb.1: ldr x23, [x20, #8] add x24, x8, #1 Lloh4: adrp x22, l_.str@PAGE Lloh5: add x22, x22, l_.str@PAGEOFF LBB5_2: ; =>This Inner Loop Header: Depth=1 ldr d0, [x23], #8 str d0, [sp] mov x0, x22 bl _printf subs x24, x24, #1 b.ne LBB5_2 LBB5_3: mov w0, #10 bl _putchar Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf ldr w8, [x19] tbnz w8, #31, LBB5_6 ; %bb.4: ldr x23, [x19, #8] add x24, x8, #1 Lloh8: adrp x22, l_.str@PAGE Lloh9: add x22, x22, l_.str@PAGEOFF LBB5_5: ; =>This Inner Loop Header: Depth=1 ldr d0, [x23], #8 str d0, [sp] mov x0, x22 bl _printf subs x24, x24, #1 b.ne LBB5_5 LBB5_6: mov w0, #10 bl _putchar Lloh10: adrp x0, l_.str.4@PAGE Lloh11: add x0, x0, l_.str.4@PAGEOFF bl _printf ldr w8, [x21] tbnz w8, #31, LBB5_9 ; %bb.7: ldr x23, [x21, #8] add x24, x8, #1 Lloh12: adrp x22, l_.str@PAGE Lloh13: add x22, x22, l_.str@PAGEOFF LBB5_8: ; =>This Inner Loop Header: Depth=1 ldr d0, [x23], #8 str d0, [sp] mov x0, x22 bl _printf subs x24, x24, #1 b.ne LBB5_8 LBB5_9: mov w0, #10 bl _putchar Lloh14: adrp x0, l_.str.5@PAGE Lloh15: add x0, x0, l_.str.5@PAGEOFF bl _printf ldr x22, [sp, #40] ldr w8, [x22] tbnz w8, #31, LBB5_12 ; %bb.10: mov x24, #0 Lloh16: adrp x23, l_.str@PAGE Lloh17: add x23, x23, l_.str@PAGEOFF LBB5_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22, #8] ldr d0, [x8, x24, lsl #3] str d0, [sp] mov x0, x23 bl _printf add x8, x24, #1 ldrsw x9, [x22] cmp x24, x9 mov x24, x8 b.lt LBB5_11 LBB5_12: mov w0, #10 bl _putchar ldr x0, [x20, #8] bl _free mov x0, x20 bl _free ldr x0, [x21, #8] bl _free mov x0, x21 bl _free ldr x0, [x22, #8] bl _free mov x0, x22 bl _free ldr x0, [x19, #8] bl _free mov x0, x19 bl _free mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%g " l_.str.2: ; @.str.2 .asciz "poly: " l_.str.3: ; @.str.3 .asciz "div: " l_.str.4: ; @.str.4 .asciz "quot: " l_.str.5: ; @.str.5 .asciz "rem: " .subsections_via_symbols
the_stack_data/134649.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cfg80211_wext_giwessid _cfg80211_wext_giwessid: ## @cfg80211_wext_giwessid .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 xorps %xmm0, %xmm0 movups %xmm0, (%rdx) movl (%rax), %eax cmpl $128, %eax je LBB0_3 ## %bb.1: cmpl $129, %eax jne LBB0_4 ## %bb.2: popq %rbp jmp _cfg80211_ibss_wext_giwessid ## TAILCALL LBB0_3: popq %rbp jmp _cfg80211_mgd_wext_giwessid ## TAILCALL LBB0_4: movq _EOPNOTSUPP@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP .no_dead_strip _cfg80211_wext_giwessid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cfg80211_wext_giwessid _cfg80211_wext_giwessid: ; @cfg80211_wext_giwessid .cfi_startproc ; %bb.0: ldr x8, [x0] stp xzr, xzr, [x2] ldr w8, [x8] cmp w8, #128 b.eq LBB0_3 ; %bb.1: cmp w8, #129 b.ne LBB0_4 ; %bb.2: b _cfg80211_ibss_wext_giwessid LBB0_3: b _cfg80211_mgd_wext_giwessid LBB0_4: Lloh0: adrp x8, _EOPNOTSUPP@GOTPAGE Lloh1: ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP .no_dead_strip _cfg80211_wext_giwessid .subsections_via_symbols
AnghaBench/linux/net/wireless/extr_wext-compat.c_cfg80211_wext_giwessid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function metaslab_check_free_impl_cb _metaslab_check_free_impl_cb: ## @metaslab_check_free_impl_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rax cmpq _vdev_indirect_ops@GOTPCREL(%rip), %rax je LBB0_1 ## %bb.2: movq %rsi, %rdi movl %edx, %esi movl %ecx, %edx popq %rbp jmp _metaslab_check_free_impl ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .comm _vdev_indirect_ops,4,2 ## @vdev_indirect_ops .no_dead_strip _metaslab_check_free_impl_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function metaslab_check_free_impl_cb _metaslab_check_free_impl_cb: ; @metaslab_check_free_impl_cb .cfi_startproc ; %bb.0: ldr x8, [x1] Lloh0: adrp x9, _vdev_indirect_ops@GOTPAGE Lloh1: ldr x9, [x9, _vdev_indirect_ops@GOTPAGEOFF] cmp x8, x9 b.eq LBB0_2 ; %bb.1: mov x0, x1 mov x1, x2 mov x2, x3 b _metaslab_check_free_impl LBB0_2: ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _vdev_indirect_ops,4,2 ; @vdev_indirect_ops .no_dead_strip _metaslab_check_free_impl_cb .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_metaslab.c_metaslab_check_free_impl_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _tempContents@GOTPCREL(%rip), %rbx movl $500, %esi ## imm = 0x1F4 movq %rbx, %rdi callq ___bzero movq _forbiddenItems@GOTPCREL(%rip), %rax leaq 50(%rax), %rcx movq %rcx, -72(%rbp) ## 8-byte Spill leaq 100(%rax), %rcx movq %rcx, -64(%rbp) ## 8-byte Spill leaq 150(%rax), %rcx movq %rcx, -56(%rbp) ## 8-byte Spill leaq 200(%rax), %r15 leaq 250(%rax), %r12 movq _contents@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 leaq L_.str(%rip), %rdi callq _puts movq _forbiddenItems@GOTPCREL(%rip), %rdi callq _gets movq -72(%rbp), %rdi ## 8-byte Reload callq _gets movq -64(%rbp), %rdi ## 8-byte Reload callq _gets movq -56(%rbp), %rdi ## 8-byte Reload callq _gets movq %r15, %rdi callq _gets movq %r12, %rdi callq _gets movl $0, -44(%rbp) leaq L_.str.1(%rip), %rdi callq _puts leaq L_.str.2(%rip), %r14 movq %r14, %rdi leaq -44(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -44(%rbp) je LBB0_14 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leaq L_str(%rip), %rdi callq _puts leaq L_str.8(%rip), %rdi callq _puts movq %r14, %rdi leaq _customerNumber(%rip), %rsi xorl %eax, %eax callq _scanf movl _customerNumber(%rip), %eax cmpl $-1, %eax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq _customers@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 leaq L_str.9(%rip), %rdi callq _puts movslq _customerNumberIncrementer(%rip), %rax leaq 1(%rax), %rcx movl %ecx, _customerNumberIncrementer(%rip) movl _customerNumber(%rip), %ecx movq _customers@GOTPCREL(%rip), %rdx movl %ecx, 4(%rdx,%rax,4) jmp LBB0_6 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf LBB0_6: ## in Loop: Header=BB0_1 Depth=1 leaq L_.str.7(%rip), %rdi callq _puts movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fflush movq %rbx, %rdi callq _gets xorl %eax, %eax movl $1, %ecx jmp LBB0_7 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_7 Depth=2 addq $2, %rcx cmpq $501, %rcx ## imm = 0x1F5 je LBB0_1 LBB0_7: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl -1(%rbx,%rcx), %edx cmpb $32, %dl je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 testb %dl, %dl je LBB0_1 ## %bb.9: ## in Loop: Header=BB0_7 Depth=2 cltq movb %dl, (%r13,%rax) incl %eax LBB0_10: ## in Loop: Header=BB0_7 Depth=2 movzbl (%rbx,%rcx), %edx cmpb $32, %dl je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_7 Depth=2 testb %dl, %dl je LBB0_1 ## %bb.12: ## in Loop: Header=BB0_7 Depth=2 cltq movb %dl, (%r13,%rax) incl %eax jmp LBB0_13 LBB0_14: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _customerSearcher ## -- Begin function customerSearcher .p2align 4, 0x90 _customerSearcher: ## @customerSearcher .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl _customerNumber(%rip), %ecx movq _customers@GOTPCREL(%rip), %rax cmpl (%rax), %ecx movl $-1, %eax cmovnel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _checkFinish ## -- Begin function checkFinish .p2align 4, 0x90 _checkFinish: ## @checkFinish .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _mother ## -- Begin function mother .p2align 4, 0x90 _mother: ## @mother .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r14 callq _strlen movq %rax, %r15 movq %r12, %rdi callq _strlen subl %eax, %r15d testl %r15d, %r15d jle LBB3_9 ## %bb.1: movl %eax, %r11d decl %r11d movl %r15d, %r10d leaq 1(%r14), %rsi xorl %edi, %edi movq _startIndex@GOTPCREL(%rip), %r8 movq _endIndex@GOTPCREL(%rip), %r9 jmp LBB3_2 .p2align 4, 0x90 LBB3_8: ## in Loop: Header=BB3_2 Depth=1 incq %rdi incq %rsi cmpq %r10, %rdi je LBB3_9 LBB3_2: ## =>This Loop Header: Depth=1 ## Child Loop BB3_5 Depth 2 leal (%rdi,%rax), %edx movl %edi, (%r8) movl %edx, (%r9) testl %eax, %eax jle LBB3_8 ## %bb.3: ## in Loop: Header=BB3_2 Depth=1 movb (%r14,%rdi), %dl cmpb (%r12), %dl jne LBB3_8 ## %bb.4: ## in Loop: Header=BB3_2 Depth=1 xorl %edx, %edx .p2align 4, 0x90 LBB3_5: ## Parent Loop BB3_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rdx, %r11 je LBB3_6 ## %bb.7: ## in Loop: Header=BB3_5 Depth=2 movzbl (%rsi,%rdx), %ebx leaq 1(%rdx), %rcx cmpb 1(%r12,%rdx), %bl movq %rcx, %rdx je LBB3_5 jmp LBB3_8 LBB3_6: movl $1, %eax jmp LBB3_10 LBB3_9: xorl %eax, %eax LBB3_10: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _searchWord ## -- Begin function searchWord .p2align 4, 0x90 _searchWord: ## @searchWord .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r14 callq _strlen movq %rax, %r15 movq %r12, %rdi callq _strlen subl %eax, %r15d testl %r15d, %r15d jle LBB4_10 ## %bb.1: movl %eax, %r11d decl %r11d movl %r15d, %r8d leaq 1(%r14), %r15 xorl %esi, %esi movq _startIndex@GOTPCREL(%rip), %r9 movq _endIndex@GOTPCREL(%rip), %r10 jmp LBB4_3 .p2align 4, 0x90 LBB4_2: ## in Loop: Header=BB4_3 Depth=1 incq %rsi incq %r15 cmpq %r8, %rsi je LBB4_10 LBB4_3: ## =>This Loop Header: Depth=1 ## Child Loop BB4_6 Depth 2 leal (%rsi,%rax), %edx movl %esi, (%r9) movl %edx, (%r10) testl %eax, %eax jle LBB4_2 ## %bb.4: ## in Loop: Header=BB4_3 Depth=1 movb (%r14,%rsi), %bl cmpb (%r12), %bl jne LBB4_2 ## %bb.5: ## in Loop: Header=BB4_3 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB4_6: ## Parent Loop BB4_3 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rbx, %r11 je LBB4_8 ## %bb.7: ## in Loop: Header=BB4_6 Depth=2 movzbl (%r15,%rbx), %ecx leaq 1(%rbx), %rdi cmpb 1(%r12,%rbx), %cl movq %rdi, %rbx je LBB4_6 jmp LBB4_2 LBB4_8: movq %r14, %rdi ## kill: def $esi killed $esi killed $rsi callq _reconstruct movl $1, %eax jmp LBB4_11 LBB4_10: xorl %eax, %eax LBB4_11: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _reconstruct ## -- Begin function reconstruct .p2align 4, 0x90 _reconstruct: ## @reconstruct .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movl %esi, %r14d movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %esi, %eax movq %rax, -64(%rbp) ## 8-byte Spill callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -72(%rbp) ## 8-byte Spill movq %r15, %rdi callq _strlen movq %rax, %r13 movslq %ebx, %rbx subq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movl %r14d, -52(%rbp) ## 4-byte Spill testl %r14d, %r14d movq -72(%rbp), %r14 ## 8-byte Reload jle LBB5_2 ## %bb.1: movq %r14, %rdi movq %r15, %rsi movq -64(%rbp), %rdx ## 8-byte Reload callq _memcpy LBB5_2: movq %r13, %r8 subq %rbx, %r8 jbe LBB5_10 ## %bb.3: cmpq $8, %r8 jae LBB5_5 ## %bb.4: xorl %eax, %eax LBB5_26: movq %rbx, %rdx jmp LBB5_27 LBB5_5: cmpq $32, %r8 jae LBB5_16 ## %bb.6: xorl %eax, %eax jmp LBB5_7 LBB5_16: movq %r8, %rax andq $-32, %rax leaq -32(%rax), %rcx movq %rcx, %rsi shrq $5, %rsi incq %rsi movl %esi, %edx andl $3, %edx cmpq $96, %rcx jae LBB5_18 ## %bb.17: xorl %edi, %edi jmp LBB5_20 LBB5_18: andq $-4, %rsi leaq (%rbx,%r15), %rcx addq $112, %rcx xorl %edi, %edi .p2align 4, 0x90 LBB5_19: ## =>This Inner Loop Header: Depth=1 movups -112(%rcx,%rdi), %xmm0 movups -96(%rcx,%rdi), %xmm1 movaps %xmm0, (%r12,%rdi) movaps %xmm1, 16(%r12,%rdi) movups -80(%rcx,%rdi), %xmm0 movups -64(%rcx,%rdi), %xmm1 movaps %xmm0, 32(%r12,%rdi) movaps %xmm1, 48(%r12,%rdi) movups -48(%rcx,%rdi), %xmm0 movups -32(%rcx,%rdi), %xmm1 movaps %xmm0, 64(%r12,%rdi) movaps %xmm1, 80(%r12,%rdi) movups -16(%rcx,%rdi), %xmm0 movups (%rcx,%rdi), %xmm1 movaps %xmm0, 96(%r12,%rdi) movaps %xmm1, 112(%r12,%rdi) subq $-128, %rdi addq $-4, %rsi jne LBB5_19 LBB5_20: testq %rdx, %rdx je LBB5_23 ## %bb.21: leaq (%rdi,%r12), %rcx addq $16, %rcx addq %rbx, %rdi leaq (%r15,%rdi), %rsi addq $16, %rsi shlq $5, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB5_22: ## =>This Inner Loop Header: Depth=1 movups -16(%rsi,%rdi), %xmm0 movups (%rsi,%rdi), %xmm1 movaps %xmm0, -16(%rcx,%rdi) movaps %xmm1, (%rcx,%rdi) addq $32, %rdi cmpq %rdi, %rdx jne LBB5_22 LBB5_23: cmpq %rax, %r8 je LBB5_10 ## %bb.24: testb $24, %r8b je LBB5_25 LBB5_7: movq %rax, %rcx movq %r8, %rax andq $-8, %rax leaq (%rax,%rbx), %rdx addq %r15, %rbx .p2align 4, 0x90 LBB5_8: ## =>This Inner Loop Header: Depth=1 movq (%rbx,%rcx), %rsi movq %rsi, (%r12,%rcx) addq $8, %rcx cmpq %rcx, %rax jne LBB5_8 ## %bb.9: cmpq %rax, %r8 je LBB5_10 LBB5_27: movq %r12, %rcx addq %rax, %rcx .p2align 4, 0x90 LBB5_28: ## =>This Inner Loop Header: Depth=1 movzbl (%r15,%rdx), %eax movb %al, (%rcx) incq %rdx incq %rcx cmpq %rdx, %r13 ja LBB5_28 LBB5_10: movq %r14, %rdi callq _strlen movq %rax, %r13 testq %rax, %rax je LBB5_12 ## %bb.11: movq %r15, %rdi movq %r14, %rsi movq %r13, %rdx callq _memcpy LBB5_12: movq %r12, %rdi callq _strlen movq %rax, %rbx testq %rax, %rax je LBB5_14 ## %bb.13: movslq -52(%rbp), %rdi ## 4-byte Folded Reload addq %r15, %rdi movq %r12, %rsi movq %rbx, %rdx callq _memcpy LBB5_14: addq %r13, %rbx movb $0, (%r15,%rbx) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB5_15 ## %bb.29: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB5_25: addq %rax, %rbx jmp LBB5_26 LBB5_15: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _customerNumber ## @customerNumber .zerofill __DATA,__common,_customerNumber,4,2 .section __DATA,__data .globl _customerNumberIncrementer ## @customerNumberIncrementer .p2align 2 _customerNumberIncrementer: .long 4294967295 ## 0xffffffff .comm _tempContents,500,4 ## @tempContents .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Hello Admin Please the Forbidden Items" .comm _forbiddenItems,300,4 ## @forbiddenItems L_.str.1: ## @.str.1 .asciz "Do you want to start the system? 1--> Yes, 0 --> No:" L_.str.2: ## @.str.2 .asciz "%d" .comm _customers,2000,4 ## @customers L_.str.6: ## @.str.6 .asciz "Already exists" L_.str.7: ## @.str.7 .asciz "Please enter the contents of cargo" .comm _contents,500,4 ## @contents .comm _startIndex,4,2 ## @startIndex .comm _endIndex,4,2 ## @endIndex .comm _transactions,5840,4 ## @transactions .comm _money,8,3 ## @money .comm _stringToConstruct,2000,4 ## @stringToConstruct .comm _start,4,2 ## @start .comm _end,4,2 ## @end L_str: ## @str .asciz "Welcome the the Cargo Tracking System " L_str.8: ## @str.8 .asciz "Please enter the customer number:" L_str.9: ## @str.9 .asciz "New Customer Added;" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x19, _tempContents@GOTPAGE Lloh1: ldr x19, [x19, _tempContents@GOTPAGEOFF] str wzr, [x19, #496] movi.2d v0, #0000000000000000 stp q0, q0, [x19, #464] stp q0, q0, [x19, #432] stp q0, q0, [x19, #400] stp q0, q0, [x19, #368] stp q0, q0, [x19, #336] stp q0, q0, [x19, #304] stp q0, q0, [x19, #272] stp q0, q0, [x19, #240] stp q0, q0, [x19, #208] stp q0, q0, [x19, #176] stp q0, q0, [x19, #144] stp q0, q0, [x19, #112] Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF stp q0, q0, [x19, #80] Lloh4: adrp x22, l_.str.2@PAGE Lloh5: add x22, x22, l_.str.2@PAGEOFF stp q0, q0, [x19, #48] str q0, [x19, #32] Lloh6: adrp x25, _forbiddenItems@GOTPAGE Lloh7: ldr x25, [x25, _forbiddenItems@GOTPAGEOFF] Lloh8: adrp x23, _customers@GOTPAGE Lloh9: ldr x23, [x23, _customers@GOTPAGEOFF] adrp x28, _customerNumber@PAGE Lloh10: adrp x27, l_.str.7@PAGE Lloh11: add x27, x27, l_.str.7@PAGEOFF Lloh12: adrp x20, ___stdinp@GOTPAGE Lloh13: ldr x20, [x20, ___stdinp@GOTPAGEOFF] stp q0, q0, [x19] adrp x24, _customerNumberIncrementer@PAGE Lloh14: adrp x26, _contents@GOTPAGE Lloh15: ldr x26, [x26, _contents@GOTPAGEOFF] LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 Lloh16: adrp x0, l_.str@PAGE Lloh17: add x0, x0, l_.str@PAGEOFF bl _puts mov x0, x25 bl _gets add x0, x25, #50 bl _gets add x0, x25, #100 bl _gets add x0, x25, #150 bl _gets add x0, x25, #200 bl _gets add x0, x25, #250 bl _gets str wzr, [sp, #12] mov x0, x21 bl _puts add x8, sp, #12 str x8, [sp] mov x0, x22 bl _scanf ldr w8, [sp, #12] cbz w8, LBB0_11 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 Lloh18: adrp x0, l_str@PAGE Lloh19: add x0, x0, l_str@PAGEOFF bl _puts Lloh20: adrp x0, l_str.8@PAGE Lloh21: add x0, x0, l_str.8@PAGEOFF bl _puts Lloh22: adrp x8, _customerNumber@PAGE Lloh23: add x8, x8, _customerNumber@PAGEOFF str x8, [sp] mov x0, x22 bl _scanf ldr w8, [x28, _customerNumber@PAGEOFF] cmn w8, #1 b.eq LBB0_5 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 ldr w9, [x23] cmp w8, w9 b.eq LBB0_5 ; %bb.4: ; in Loop: Header=BB0_1 Depth=1 Lloh24: adrp x0, l_str.9@PAGE Lloh25: add x0, x0, l_str.9@PAGEOFF bl _puts ldrsw x8, [x24, _customerNumberIncrementer@PAGEOFF] add x8, x8, #1 str w8, [x24, _customerNumberIncrementer@PAGEOFF] ldr w9, [x28, _customerNumber@PAGEOFF] str w9, [x23, x8, lsl #2] b LBB0_6 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 Lloh26: adrp x0, l_.str.6@PAGE Lloh27: add x0, x0, l_.str.6@PAGEOFF bl _printf LBB0_6: ; in Loop: Header=BB0_1 Depth=1 mov x0, x27 bl _puts ldr x0, [x20] bl _fflush mov x0, x19 bl _gets mov x8, #0 mov w9, #0 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=2 strb w10, [x26, w9, sxtw] add w9, w9, #1 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 add x8, x8, #1 cmp x8, #500 b.eq LBB0_1 LBB0_9: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x19, x8] cmp w10, #32 b.eq LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 cbnz w10, LBB0_7 b LBB0_1 LBB0_11: mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _customerSearcher ; -- Begin function customerSearcher .p2align 2 _customerSearcher: ; @customerSearcher .cfi_startproc ; %bb.0: Lloh28: adrp x8, _customerNumber@PAGE Lloh29: ldr w8, [x8, _customerNumber@PAGEOFF] Lloh30: adrp x9, _customers@GOTPAGE Lloh31: ldr x9, [x9, _customers@GOTPAGEOFF] Lloh32: ldr w9, [x9] cmp w8, w9 csinv w0, w8, wzr, ne ret .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdr Lloh28, Lloh29 .cfi_endproc ; -- End function .globl _checkFinish ; -- Begin function checkFinish .p2align 2 _checkFinish: ; @checkFinish .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .globl _mother ; -- Begin function mother .p2align 2 _mother: ; @mother .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _strlen mov x21, x0 mov x0, x19 bl _strlen sub w8, w21, w0 cmp w8, #1 b.lt LBB3_9 ; %bb.1: mov x9, #0 sub w10, w0, #1 add x11, x20, #1 add x12, x19, #1 Lloh33: adrp x13, _startIndex@GOTPAGE Lloh34: ldr x13, [x13, _startIndex@GOTPAGEOFF] Lloh35: adrp x14, _endIndex@GOTPAGE Lloh36: ldr x14, [x14, _endIndex@GOTPAGEOFF] b LBB3_3 LBB3_2: ; in Loop: Header=BB3_3 Depth=1 add x9, x9, #1 add x11, x11, #1 cmp x9, x8 b.eq LBB3_9 LBB3_3: ; =>This Loop Header: Depth=1 ; Child Loop BB3_6 Depth 2 str w9, [x13] add w15, w9, w0 str w15, [x14] cmp w0, #1 b.lt LBB3_2 ; %bb.4: ; in Loop: Header=BB3_3 Depth=1 ldrb w15, [x20, x9] ldrb w16, [x19] cmp w15, w16 b.ne LBB3_2 ; %bb.5: ; in Loop: Header=BB3_3 Depth=1 mov x15, x10 mov x16, x12 mov x17, x11 LBB3_6: ; Parent Loop BB3_3 Depth=1 ; => This Inner Loop Header: Depth=2 cbz x15, LBB3_8 ; %bb.7: ; in Loop: Header=BB3_6 Depth=2 ldrb w1, [x17], #1 ldrb w2, [x16], #1 sub x15, x15, #1 cmp w1, w2 b.eq LBB3_6 b LBB3_2 LBB3_8: mov w0, #1 b LBB3_10 LBB3_9: mov w0, #0 LBB3_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh33, Lloh34 .cfi_endproc ; -- End function .globl _searchWord ; -- Begin function searchWord .p2align 2 _searchWord: ; @searchWord .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 bl _strlen mov x21, x0 mov x0, x20 bl _strlen sub w8, w21, w0 cmp w8, #1 b.lt LBB4_9 ; %bb.1: mov x1, #0 sub w9, w0, #1 add x10, x20, #1 Lloh37: adrp x11, _startIndex@GOTPAGE Lloh38: ldr x11, [x11, _startIndex@GOTPAGEOFF] Lloh39: adrp x12, _endIndex@GOTPAGE Lloh40: ldr x12, [x12, _endIndex@GOTPAGEOFF] b LBB4_3 LBB4_2: ; in Loop: Header=BB4_3 Depth=1 add x1, x1, #1 cmp x1, x8 b.eq LBB4_9 LBB4_3: ; =>This Loop Header: Depth=1 ; Child Loop BB4_6 Depth 2 str w1, [x11] add w2, w1, w0 str w2, [x12] cmp w0, #1 b.lt LBB4_2 ; %bb.4: ; in Loop: Header=BB4_3 Depth=1 ldrb w13, [x19, x1] ldrb w14, [x20] cmp w13, w14 b.ne LBB4_2 ; %bb.5: ; in Loop: Header=BB4_3 Depth=1 mov x14, #0 add x13, x19, x1 LBB4_6: ; Parent Loop BB4_3 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x9, x14 b.eq LBB4_8 ; %bb.7: ; in Loop: Header=BB4_6 Depth=2 add x15, x13, x14 ldrb w16, [x10, x14] add x14, x14, #1 ldrb w15, [x15, #1] cmp w15, w16 b.eq LBB4_6 b LBB4_2 LBB4_8: mov x0, x19 ; kill: def $w1 killed $w1 killed $x1 bl _reconstruct mov w0, #1 b LBB4_10 LBB4_9: mov w0, #0 LBB4_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGot Lloh37, Lloh38 .cfi_endproc ; -- End function .globl _reconstruct ; -- Begin function reconstruct .p2align 2 _reconstruct: ; @reconstruct .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 sub sp, sp, #16 mov x22, x2 mov x20, x1 mov x19, x0 Lloh41: adrp x8, ___stack_chk_guard@GOTPAGE Lloh42: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh43: ldr x8, [x8] stur x8, [x29, #-72] mov w24, w1 mov x9, x24 Lloh44: adrp x16, ___chkstk_darwin@GOTPAGE Lloh45: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x24, #15 and x9, x9, #0x1fffffff0 sub x21, x8, x9 mov sp, x21 bl _strlen mov x23, x0 sxtw x25, w22 sub x9, x0, x25 add x8, x9, #15 and x8, x8, #0xfffffffffffffff0 Lloh46: adrp x16, ___chkstk_darwin@GOTPAGE Lloh47: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x22, x9, x8 mov sp, x22 cmp w20, #1 b.lt LBB5_2 ; %bb.1: mov x0, x21 mov x1, x19 mov x2, x24 bl _memcpy LBB5_2: subs x9, x23, x25 b.ls LBB5_17 ; %bb.3: cmp x9, #8 b.hs LBB5_5 ; %bb.4: mov x8, #0 mov x10, x25 b LBB5_15 LBB5_5: cmp x9, #64 b.hs LBB5_7 ; %bb.6: mov x8, #0 b LBB5_11 LBB5_7: and x8, x9, #0xffffffffffffffc0 add x10, x25, x19 add x10, x10, #32 add x11, x22, #32 mov x12, x8 LBB5_8: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x10, #-32] ldp q2, q3, [x10], #64 stp q0, q1, [x11, #-32] stp q2, q3, [x11], #64 subs x12, x12, #64 b.ne LBB5_8 ; %bb.9: cmp x9, x8 b.eq LBB5_17 ; %bb.10: tst x9, #0x38 b.eq LBB5_14 LBB5_11: mov x13, x8 and x8, x9, #0xfffffffffffffff8 add x10, x8, x25 add x11, x22, x13 sub x12, x13, x8 add x13, x13, x25 add x13, x19, x13 LBB5_12: ; =>This Inner Loop Header: Depth=1 ldr d0, [x13], #8 str d0, [x11], #8 adds x12, x12, #8 b.ne LBB5_12 ; %bb.13: cmp x9, x8 b.ne LBB5_15 b LBB5_17 LBB5_14: add x10, x8, x25 LBB5_15: add x8, x22, x8 LBB5_16: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x19, x10] strb w9, [x8], #1 add x10, x10, #1 cmp x23, x10 b.hi LBB5_16 LBB5_17: mov x0, x21 bl _strlen mov x23, x0 cbz x0, LBB5_19 ; %bb.18: mov x0, x19 mov x1, x21 mov x2, x23 bl _memcpy LBB5_19: mov x0, x22 bl _strlen mov x21, x0 cbz x0, LBB5_21 ; %bb.20: add x0, x19, w20, sxtw mov x1, x22 mov x2, x21 bl _memcpy LBB5_21: add x8, x21, x23 strb wzr, [x19, x8] ldur x8, [x29, #-72] Lloh48: adrp x9, ___stack_chk_guard@GOTPAGE Lloh49: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh50: ldr x9, [x9] cmp x9, x8 b.ne LBB5_23 ; %bb.22: sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB5_23: bl ___stack_chk_fail .loh AdrpLdrGot Lloh46, Lloh47 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .cfi_endproc ; -- End function .globl _customerNumber ; @customerNumber .zerofill __DATA,__common,_customerNumber,4,2 .section __DATA,__data .globl _customerNumberIncrementer ; @customerNumberIncrementer .p2align 2 _customerNumberIncrementer: .long 4294967295 ; 0xffffffff .comm _tempContents,500,0 ; @tempContents .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hello Admin Please the Forbidden Items" .comm _forbiddenItems,300,0 ; @forbiddenItems l_.str.1: ; @.str.1 .asciz "Do you want to start the system? 1--> Yes, 0 --> No:" l_.str.2: ; @.str.2 .asciz "%d" .comm _customers,2000,2 ; @customers l_.str.6: ; @.str.6 .asciz "Already exists" l_.str.7: ; @.str.7 .asciz "Please enter the contents of cargo" .comm _contents,500,0 ; @contents .comm _startIndex,4,2 ; @startIndex .comm _endIndex,4,2 ; @endIndex .comm _transactions,5840,3 ; @transactions .comm _money,8,3 ; @money .comm _stringToConstruct,2000,2 ; @stringToConstruct .comm _start,4,2 ; @start .comm _end,4,2 ; @end l_str: ; @str .asciz "Welcome the the Cargo Tracking System " l_str.8: ; @str.8 .asciz "Please enter the customer number:" l_str.9: ; @str.9 .asciz "New Customer Added;" .subsections_via_symbols
the_stack_data/178266698.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function str_char_print _str_char_print: ## @str_char_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r12d movq %rsi, %r14 movq %rdi, %r15 movzbl %r12b, %ebx movl %ebx, %edi callq _isprint cmpb $9, %bl je LBB0_2 ## %bb.1: testq %rax, %rax jne LBB0_2 ## %bb.9: leaq L_.str.1(%rip), %rdx jmp LBB0_5 LBB0_2: cmpb $92, %r12b je LBB0_4 ## %bb.3: cmpb $34, %r12b jne LBB0_6 LBB0_4: leaq L_.str(%rip), %rdx LBB0_5: movq %r15, %rdi movq %r14, %rsi movl %r12d, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _sldns_str_print ## TAILCALL LBB0_6: cmpq $0, (%r14) je LBB0_8 ## %bb.7: movq (%r15), %rax movb %r12b, (%rax) incq (%r15) decq (%r14) LBB0_8: movl $1, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\\%c" L_.str.1: ## @.str.1 .asciz "\\%03u" .no_dead_strip _str_char_print .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function str_char_print _str_char_print: ; @str_char_print .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x2 mov x19, x1 mov x21, x0 and w0, w2, #0xff bl _isprint cmp w20, #9 b.eq LBB0_3 ; %bb.1: cbnz x0, LBB0_3 ; %bb.2: Lloh0: adrp x2, l_.str.1@PAGE Lloh1: add x2, x2, l_.str.1@PAGEOFF b LBB0_6 LBB0_3: cmp w20, #92 b.eq LBB0_5 ; %bb.4: cmp w20, #34 b.ne LBB0_7 LBB0_5: Lloh2: adrp x2, l_.str@PAGE Lloh3: add x2, x2, l_.str@PAGEOFF LBB0_6: mov x0, x21 mov x1, x19 mov x3, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _sldns_str_print LBB0_7: ldr x8, [x19] cbz x8, LBB0_9 ; %bb.8: ldr x8, [x21] strb w20, [x8] ldr x8, [x21] add x8, x8, #1 str x8, [x21] ldr x8, [x19] sub x8, x8, #1 str x8, [x19] LBB0_9: mov w0, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\\%c" l_.str.1: ; @.str.1 .asciz "\\%03u" .no_dead_strip _str_char_print .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/sldns/extr_wire2str.c_str_char_print.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 legacy_negative_binomial LCPI0_0: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .globl _legacy_negative_binomial .p2align 4, 0x90 _legacy_negative_binomial: ## @legacy_negative_binomial .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 movsd LCPI0_0(%rip), %xmm2 ## xmm2 = [1.0E+0,0.0E+0] subsd %xmm1, %xmm2 divsd %xmm1, %xmm2 cvttsd2si %xmm2, %esi callq _legacy_gamma movl (%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _random_poisson ## TAILCALL .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_1379 ## @g_aug_volatile_1379 .p2align 2, 0x0 _g_aug_volatile_1379: .long 5 ## 0x5 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _legacy_negative_binomial ; -- Begin function legacy_negative_binomial .p2align 2 _legacy_negative_binomial: ; @legacy_negative_binomial .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 fmov d2, #1.00000000 fsub d2, d2, d1 fdiv d1, d2, d1 fcvtzs w1, d1 bl _legacy_gamma ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _random_poisson .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_1379 ; @g_aug_volatile_1379 .p2align 2, 0x0 _g_aug_volatile_1379: .long 5 ; 0x5 .subsections_via_symbols
assembly_file_29967.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function regmap_get_slimbus _regmap_get_slimbus: ## @regmap_get_slimbus .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $8, (%rsi) jne LBB0_3 ## %bb.1: cmpl $16, 4(%rsi) jne LBB0_3 ## %bb.2: movq _regmap_slimbus_bus@GOTPCREL(%rip), %rax popq %rbp retq LBB0_3: movq _ENOTSUPP@GOTPCREL(%rip), %rax xorl %edi, %edi subl (%rax), %edi popq %rbp jmp _ERR_PTR ## TAILCALL .cfi_endproc ## -- End function .comm _regmap_slimbus_bus,4,2 ## @regmap_slimbus_bus .comm _ENOTSUPP,4,2 ## @ENOTSUPP .no_dead_strip _regmap_get_slimbus .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function regmap_get_slimbus _regmap_get_slimbus: ; @regmap_get_slimbus .cfi_startproc ; %bb.0: ldr w8, [x1] cmp w8, #8 b.ne LBB0_3 ; %bb.1: ldr w8, [x1, #4] cmp w8, #16 b.ne LBB0_3 ; %bb.2: Lloh0: adrp x0, _regmap_slimbus_bus@GOTPAGE Lloh1: ldr x0, [x0, _regmap_slimbus_bus@GOTPAGEOFF] ret LBB0_3: Lloh2: adrp x8, _ENOTSUPP@GOTPAGE Lloh3: ldr x8, [x8, _ENOTSUPP@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 b _ERR_PTR .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _regmap_slimbus_bus,4,2 ; @regmap_slimbus_bus .comm _ENOTSUPP,4,2 ; @ENOTSUPP .no_dead_strip _regmap_get_slimbus .subsections_via_symbols
AnghaBench/linux/drivers/base/regmap/extr_regmap-slimbus.c_regmap_get_slimbus.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _push_begin ## -- Begin function push_begin .p2align 4, 0x90 _push_begin: ## @push_begin .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movl $16, %edi callq _malloc movq _ptr@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl %ebx, (%rax) movq $0, 8(%rax) movq _top(%rip), %rcx testq %rcx, %rcx je LBB0_1 ## %bb.2: movq %rcx, 8(%rax) leaq _top(%rip), %rcx jmp LBB0_3 LBB0_1: movq %rax, _top(%rip) movq _cur@GOTPCREL(%rip), %rcx LBB0_3: movq %rax, (%rcx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _push_end ## -- Begin function push_end .p2align 4, 0x90 _push_end: ## @push_end .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movl $16, %edi callq _malloc movq _ptr@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl %ebx, (%rax) movq $0, 8(%rax) cmpq $0, _top(%rip) je LBB1_1 ## %bb.2: movq _cur@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq 8(%rcx), %rdx testq %rdx, %rdx je LBB1_5 .p2align 4, 0x90 LBB1_3: ## =>This Inner Loop Header: Depth=1 movq %rdx, %rcx movq 8(%rdx), %rdx testq %rdx, %rdx jne LBB1_3 LBB1_5: addq $8, %rcx jmp LBB1_6 LBB1_1: leaq _top(%rip), %rcx LBB1_6: movq %rax, (%rcx) movq _cur@GOTPCREL(%rip), %rcx movq %rax, (%rcx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _push_mid ## -- Begin function push_mid .p2align 4, 0x90 _push_mid: ## @push_mid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movl %edi, %ebx movl $16, %edi callq _malloc movq _ptr@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movl %ebx, (%rax) movq $0, 8(%rax) movq _top(%rip), %rcx testq %rcx, %rcx je LBB2_9 ## %bb.1: cmpl $2, %r14d je LBB2_7 ## %bb.2: leal -2(%r14), %esi addl $-3, %r14d movl %esi, %edx andl $7, %edx cmpl $7, %r14d jb LBB2_5 ## %bb.3: andl $-8, %esi .p2align 4, 0x90 LBB2_4: ## =>This Inner Loop Header: Depth=1 movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx addl $-8, %esi jne LBB2_4 LBB2_5: testl %edx, %edx je LBB2_7 .p2align 4, 0x90 LBB2_6: ## =>This Inner Loop Header: Depth=1 movq 8(%rcx), %rcx decl %edx jne LBB2_6 LBB2_7: movq _cur@GOTPCREL(%rip), %rdx movq %rcx, (%rdx) movq 8(%rcx), %rdx addq $8, %rcx movq %rdx, 8(%rax) jmp LBB2_8 LBB2_9: movq %rax, _top(%rip) movq _cur@GOTPCREL(%rip), %rcx LBB2_8: movq %rax, (%rcx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _display ## -- Begin function display .p2align 4, 0x90 _display: ## @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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _top(%rip), %rax movq _ptr@GOTPCREL(%rip), %rbx movq %rax, (%rbx) testq %rax, %rax je LBB3_3 ## %bb.1: leaq L_.str(%rip), %r14 .p2align 4, 0x90 LBB3_2: ## =>This Inner Loop Header: Depth=1 movl (%rax), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq (%rbx), %rax movq 8(%rax), %rax movq %rax, (%rbx) testq %rax, %rax jne LBB3_2 LBB3_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str(%rip), %r14 leaq L_.str.2(%rip), %r12 movq _ptr@GOTPCREL(%rip), %r13 leaq L_.str(%rip), %r15 jmp LBB4_1 LBB4_3: ## in Loop: Header=BB4_1 Depth=1 leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq %r12, %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl $16, %edi callq _malloc movq %rax, (%r13) movl %ebx, (%rax) movq $0, 8(%rax) movq _top(%rip), %rcx testq %rcx, %rcx je LBB4_4 ## %bb.27: ## in Loop: Header=BB4_1 Depth=1 movq %rcx, 8(%rax) leaq _top(%rip), %rcx LBB4_28: ## in Loop: Header=BB4_1 Depth=1 movq %rax, (%rcx) LBB4_29: ## in Loop: Header=BB4_1 Depth=1 leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.7(%rip), %rdi leaq -41(%rbp), %rsi xorl %eax, %eax callq _scanf cmpb $121, -41(%rbp) jne LBB4_30 LBB4_1: ## =>This Loop Header: Depth=1 ## Child Loop BB4_24 Depth 2 ## Child Loop BB4_19 Depth 2 ## Child Loop BB4_21 Depth 2 ## Child Loop BB4_8 Depth 2 movq %r14, %rdi callq _puts movq %r12, %rdi leaq -56(%rbp), %rsi xorl %eax, %eax callq _scanf movl -56(%rbp), %eax decl %eax cmpl $4, %eax ja LBB4_29 ## %bb.2: ## in Loop: Header=BB4_1 Depth=1 leaq LJTI4_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB4_6: ## in Loop: Header=BB4_1 Depth=1 leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq %r12, %rdi leaq -48(%rbp), %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl $16, %edi callq _malloc movq %rax, (%r13) movl %ebx, (%rax) movq $0, 8(%rax) cmpq $0, _top(%rip) leaq _top(%rip), %rcx je LBB4_11 ## %bb.7: ## in Loop: Header=BB4_1 Depth=1 movq _cur@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq 8(%rcx), %rdx testq %rdx, %rdx je LBB4_10 .p2align 4, 0x90 LBB4_8: ## Parent Loop BB4_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rdx, %rcx movq 8(%rdx), %rdx testq %rdx, %rdx jne LBB4_8 LBB4_10: ## in Loop: Header=BB4_1 Depth=1 addq $8, %rcx LBB4_11: ## in Loop: Header=BB4_1 Depth=1 movq %rax, (%rcx) movq _cur@GOTPCREL(%rip), %rcx jmp LBB4_28 LBB4_12: ## in Loop: Header=BB4_1 Depth=1 movq %r14, %r12 leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.5(%rip), %rdi leaq -48(%rbp), %rsi leaq -52(%rbp), %rdx xorl %eax, %eax callq _scanf movl -48(%rbp), %ebx movl -52(%rbp), %r14d movl $16, %edi callq _malloc movq %rax, (%r13) movl %ebx, (%rax) movq $0, 8(%rax) movq _top(%rip), %rcx testq %rcx, %rcx je LBB4_17 ## %bb.13: ## in Loop: Header=BB4_1 Depth=1 cmpl $2, %r14d jne LBB4_15 ## %bb.14: ## in Loop: Header=BB4_1 Depth=1 movq %r12, %r14 leaq L_.str.2(%rip), %r12 jmp LBB4_22 LBB4_23: ## in Loop: Header=BB4_1 Depth=1 movq _top(%rip), %rax .p2align 4, 0x90 LBB4_24: ## Parent Loop BB4_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rax, (%r13) testq %rax, %rax je LBB4_29 ## %bb.25: ## in Loop: Header=BB4_24 Depth=2 movl (%rax), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movq (%r13), %rax movq 8(%rax), %rax jmp LBB4_24 LBB4_4: ## in Loop: Header=BB4_1 Depth=1 movq %rax, _top(%rip) movq _cur@GOTPCREL(%rip), %rcx jmp LBB4_28 LBB4_17: ## in Loop: Header=BB4_1 Depth=1 movq %rax, _top(%rip) movq _cur@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq %r12, %r14 leaq L_.str.2(%rip), %r12 jmp LBB4_29 LBB4_15: ## in Loop: Header=BB4_1 Depth=1 leal -2(%r14), %esi addl $-3, %r14d movl %esi, %edx andl $7, %edx cmpl $7, %r14d jae LBB4_18 ## %bb.16: ## in Loop: Header=BB4_1 Depth=1 movq %r12, %r14 jmp LBB4_20 LBB4_18: ## in Loop: Header=BB4_1 Depth=1 andl $-8, %esi movq %r12, %r14 .p2align 4, 0x90 LBB4_19: ## Parent Loop BB4_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx movq 8(%rcx), %rcx addl $-8, %esi jne LBB4_19 LBB4_20: ## in Loop: Header=BB4_1 Depth=1 testl %edx, %edx leaq L_.str.2(%rip), %r12 je LBB4_22 .p2align 4, 0x90 LBB4_21: ## Parent Loop BB4_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%rcx), %rcx decl %edx jne LBB4_21 LBB4_22: ## in Loop: Header=BB4_1 Depth=1 movq _cur@GOTPCREL(%rip), %rdx movq %rcx, (%rdx) movq 8(%rcx), %rdx addq $8, %rcx movq %rdx, 8(%rax) jmp LBB4_28 LBB4_30: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_26: xorl %edi, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L4_0_set_3, LBB4_3-LJTI4_0 .set L4_0_set_6, LBB4_6-LJTI4_0 .set L4_0_set_12, LBB4_12-LJTI4_0 .set L4_0_set_23, LBB4_23-LJTI4_0 .set L4_0_set_26, LBB4_26-LJTI4_0 LJTI4_0: .long L4_0_set_3 .long L4_0_set_6 .long L4_0_set_12 .long L4_0_set_23 .long L4_0_set_26 .end_data_region ## -- End function .globl _top ## @top .zerofill __DATA,__common,_top,8,3 .comm _ptr,8,3 ## @ptr .comm _cur,8,3 ## @cur .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d " L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz "\nEnter data->" L_.str.4: ## @.str.4 .asciz "\nEnter data and position->" L_.str.5: ## @.str.5 .asciz "%d%d" L_.str.6: ## @.str.6 .asciz "\nDo you want to contd(y/n)=>" L_.str.7: ## @.str.7 .asciz " %c" L_str: ## @str .asciz "\n1.Insert data in beginning\n2.Insert data in end\n3.Insert data in middle\n4.Display\n5.Exit" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _push_begin ; -- Begin function push_begin .p2align 2 _push_begin: ; @push_begin .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #16 bl _malloc Lloh0: adrp x8, _ptr@GOTPAGE Lloh1: ldr x8, [x8, _ptr@GOTPAGEOFF] Lloh2: str x0, [x8] str w19, [x0] str xzr, [x0, #8] adrp x8, _top@PAGE ldr x9, [x8, _top@PAGEOFF] cbz x9, LBB0_2 ; %bb.1: str x9, [x0, #8] Lloh3: adrp x8, _top@PAGE Lloh4: add x8, x8, _top@PAGEOFF b LBB0_3 LBB0_2: str x0, [x8, _top@PAGEOFF] Lloh5: adrp x8, _cur@GOTPAGE Lloh6: ldr x8, [x8, _cur@GOTPAGEOFF] LBB0_3: str x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .globl _push_end ; -- Begin function push_end .p2align 2 _push_end: ; @push_end .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w0, #16 bl _malloc Lloh7: adrp x8, _ptr@GOTPAGE Lloh8: ldr x8, [x8, _ptr@GOTPAGEOFF] Lloh9: str x0, [x8] str w19, [x0] str xzr, [x0, #8] Lloh10: adrp x9, _top@PAGE Lloh11: add x9, x9, _top@PAGEOFF ldr x10, [x9] Lloh12: adrp x8, _cur@GOTPAGE Lloh13: ldr x8, [x8, _cur@GOTPAGEOFF] cbz x10, LBB1_4 ; %bb.1: ldr x9, [x8] ldr x10, [x9, #8] cbz x10, LBB1_3 LBB1_2: ; =>This Inner Loop Header: Depth=1 mov x9, x10 ldr x10, [x10, #8] cbnz x10, LBB1_2 LBB1_3: add x9, x9, #8 LBB1_4: str x0, [x9] str x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotStr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .globl _push_mid ; -- Begin function push_mid .p2align 2 _push_mid: ; @push_mid .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov w0, #16 bl _malloc Lloh14: adrp x8, _ptr@GOTPAGE Lloh15: ldr x8, [x8, _ptr@GOTPAGEOFF] Lloh16: str x0, [x8] str w20, [x0] str xzr, [x0, #8] adrp x9, _top@PAGE ldr x8, [x9, _top@PAGEOFF] cbz x8, LBB2_4 ; %bb.1: subs w9, w19, #2 b.eq LBB2_3 LBB2_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #8] subs w9, w9, #1 b.ne LBB2_2 LBB2_3: Lloh17: adrp x9, _cur@GOTPAGE Lloh18: ldr x9, [x9, _cur@GOTPAGEOFF] Lloh19: str x8, [x9] ldr x9, [x8, #8]! str x9, [x0, #8] b LBB2_5 LBB2_4: str x0, [x9, _top@PAGEOFF] Lloh20: adrp x8, _cur@GOTPAGE Lloh21: ldr x8, [x8, _cur@GOTPAGEOFF] LBB2_5: str x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .cfi_endproc ; -- End function .globl _display ; -- Begin function display .p2align 2 _display: ; @display .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 Lloh22: adrp x8, _top@PAGE Lloh23: ldr x8, [x8, _top@PAGEOFF] Lloh24: adrp x20, _ptr@GOTPAGE Lloh25: ldr x20, [x20, _ptr@GOTPAGEOFF] str x8, [x20] cbz x8, LBB3_3 ; %bb.1: Lloh26: adrp x19, l_.str@PAGE Lloh27: add x19, x19, l_.str@PAGEOFF LBB3_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x8] str x8, [sp] mov x0, x19 bl _printf ldr x8, [x20] ldr x8, [x8, #8] str x8, [x20] cbnz x8, LBB3_2 LBB3_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdr Lloh22, Lloh23 .loh AdrpAdd Lloh26, Lloh27 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh28: adrp x19, l_str@PAGE Lloh29: add x19, x19, l_str@PAGEOFF add x27, sp, #24 Lloh30: adrp x20, l_.str.2@PAGE Lloh31: add x20, x20, l_.str.2@PAGEOFF Lloh32: adrp x21, l_.str.6@PAGE Lloh33: add x21, x21, l_.str.6@PAGEOFF Lloh34: adrp x22, l_.str.7@PAGE Lloh35: add x22, x22, l_.str.7@PAGEOFF Lloh36: adrp x28, lJTI4_0@PAGE Lloh37: add x28, x28, lJTI4_0@PAGEOFF add x24, sp, #23 Lloh38: adrp x23, _ptr@GOTPAGE Lloh39: ldr x23, [x23, _ptr@GOTPAGEOFF] Lloh40: adrp x26, l_.str@PAGE Lloh41: add x26, x26, l_.str@PAGEOFF b LBB4_5 LBB4_1: ; in Loop: Header=BB4_5 Depth=1 Lloh42: adrp x0, l_.str.3@PAGE Lloh43: add x0, x0, l_.str.3@PAGEOFF bl _printf add x8, sp, #28 str x8, [sp] mov x0, x20 bl _scanf ldr w25, [sp, #28] mov w0, #16 bl _malloc str x0, [x23] str w25, [x0] str xzr, [x0, #8] adrp x9, _top@PAGE ldr x8, [x9, _top@PAGEOFF] cbz x8, LBB4_17 ; %bb.2: ; in Loop: Header=BB4_5 Depth=1 str x8, [x0, #8] Lloh44: adrp x8, _top@PAGE Lloh45: add x8, x8, _top@PAGEOFF LBB4_3: ; in Loop: Header=BB4_5 Depth=1 str x0, [x8] LBB4_4: ; in Loop: Header=BB4_5 Depth=1 mov x0, x21 bl _printf str x24, [sp] mov x0, x22 bl _scanf ldrb w8, [sp, #23] cmp w8, #121 b.ne LBB4_22 LBB4_5: ; =>This Loop Header: Depth=1 ; Child Loop BB4_16 Depth 2 ; Child Loop BB4_13 Depth 2 ; Child Loop BB4_9 Depth 2 mov x0, x19 bl _puts str x27, [sp] mov x0, x20 bl _scanf ldr w8, [sp, #24] sub w8, w8, #1 cmp w8, #4 b.hi LBB4_4 ; %bb.6: ; in Loop: Header=BB4_5 Depth=1 adr x9, LBB4_1 ldrb w10, [x28, x8] add x9, x9, x10, lsl #2 br x9 LBB4_7: ; in Loop: Header=BB4_5 Depth=1 Lloh46: adrp x0, l_.str.3@PAGE Lloh47: add x0, x0, l_.str.3@PAGEOFF bl _printf add x8, sp, #28 str x8, [sp] mov x0, x20 bl _scanf ldr w25, [sp, #28] mov w0, #16 bl _malloc str x0, [x23] str w25, [x0] str xzr, [x0, #8] Lloh48: adrp x9, _top@PAGE Lloh49: add x9, x9, _top@PAGEOFF ldr x8, [x9] cbz x8, LBB4_18 ; %bb.8: ; in Loop: Header=BB4_5 Depth=1 Lloh50: adrp x8, _cur@GOTPAGE Lloh51: ldr x8, [x8, _cur@GOTPAGEOFF] Lloh52: ldr x8, [x8] ldr x9, [x8, #8] cbz x9, LBB4_10 LBB4_9: ; Parent Loop BB4_5 Depth=1 ; => This Inner Loop Header: Depth=2 mov x8, x9 ldr x9, [x9, #8] cbnz x9, LBB4_9 LBB4_10: ; in Loop: Header=BB4_5 Depth=1 add x8, x8, #8 b LBB4_19 LBB4_11: ; in Loop: Header=BB4_5 Depth=1 mov x27, x28 Lloh53: adrp x0, l_.str.4@PAGE Lloh54: add x0, x0, l_.str.4@PAGEOFF bl _printf add x8, sp, #16 str x8, [sp, #8] add x8, sp, #28 str x8, [sp] Lloh55: adrp x0, l_.str.5@PAGE Lloh56: add x0, x0, l_.str.5@PAGEOFF bl _scanf ldr w28, [sp, #28] ldr w25, [sp, #16] mov w0, #16 bl _malloc str x0, [x23] str w28, [x0] str xzr, [x0, #8] adrp x9, _top@PAGE ldr x8, [x9, _top@PAGEOFF] cbz x8, LBB4_21 ; %bb.12: ; in Loop: Header=BB4_5 Depth=1 mov x28, x27 subs w9, w25, #2 b.eq LBB4_14 LBB4_13: ; Parent Loop BB4_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x8, #8] subs w9, w9, #1 b.ne LBB4_13 LBB4_14: ; in Loop: Header=BB4_5 Depth=1 Lloh57: adrp x9, _cur@GOTPAGE Lloh58: ldr x9, [x9, _cur@GOTPAGEOFF] Lloh59: str x8, [x9] ldr x9, [x8, #8]! str x9, [x0, #8] str x0, [x8] add x27, sp, #24 b LBB4_4 LBB4_15: ; in Loop: Header=BB4_5 Depth=1 Lloh60: adrp x8, _top@PAGE Lloh61: ldr x8, [x8, _top@PAGEOFF] str x8, [x23] cbz x8, LBB4_4 LBB4_16: ; Parent Loop BB4_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x8] str x8, [sp] mov x0, x26 bl _printf ldr x8, [x23] ldr x8, [x8, #8] str x8, [x23] cbnz x8, LBB4_16 b LBB4_4 LBB4_17: ; in Loop: Header=BB4_5 Depth=1 str x0, [x9, _top@PAGEOFF] b LBB4_20 LBB4_18: ; in Loop: Header=BB4_5 Depth=1 mov x8, x9 LBB4_19: ; in Loop: Header=BB4_5 Depth=1 str x0, [x8] LBB4_20: ; in Loop: Header=BB4_5 Depth=1 Lloh62: adrp x8, _cur@GOTPAGE Lloh63: ldr x8, [x8, _cur@GOTPAGEOFF] b LBB4_3 LBB4_21: ; in Loop: Header=BB4_5 Depth=1 str x0, [x9, _top@PAGEOFF] Lloh64: adrp x8, _cur@GOTPAGE Lloh65: ldr x8, [x8, _cur@GOTPAGEOFF] Lloh66: str x0, [x8] mov x28, x27 add x27, sp, #24 b LBB4_4 LBB4_22: mov w0, #0 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 LBB4_23: mov w0, #0 bl _exit .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh57, Lloh58, Lloh59 .loh AdrpLdr Lloh60, Lloh61 .loh AdrpLdrGot Lloh62, Lloh63 .loh AdrpLdrGotStr Lloh64, Lloh65, Lloh66 .cfi_endproc .section __TEXT,__const lJTI4_0: .byte (LBB4_1-LBB4_1)>>2 .byte (LBB4_7-LBB4_1)>>2 .byte (LBB4_11-LBB4_1)>>2 .byte (LBB4_15-LBB4_1)>>2 .byte (LBB4_23-LBB4_1)>>2 ; -- End function .globl _top ; @top .zerofill __DATA,__common,_top,8,3 .comm _ptr,8,3 ; @ptr .comm _cur,8,3 ; @cur .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d " l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz "\nEnter data->" l_.str.4: ; @.str.4 .asciz "\nEnter data and position->" l_.str.5: ; @.str.5 .asciz "%d%d" l_.str.6: ; @.str.6 .asciz "\nDo you want to contd(y/n)=>" l_.str.7: ; @.str.7 .asciz " %c" l_str: ; @str .asciz "\n1.Insert data in beginning\n2.Insert data in end\n3.Insert data in middle\n4.Display\n5.Exit" .subsections_via_symbols
the_stack_data/265197.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0 _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0: ## @MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax movq _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl shll %cl, %eax movq _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT,4,2 ## @MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT .comm _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK,4,2 ## @MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK .no_dead_strip _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0 _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0: ; @MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT@GOTPAGE Lloh1: ldr x8, [x8, _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl w8, w0, w8 Lloh3: adrp x9, _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK@GOTPAGE Lloh4: ldr x9, [x9, _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK@GOTPAGEOFF] Lloh5: ldr w9, [x9] and w0, w8, w9 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT,4,2 ; @MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__SHIFT .comm _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK,4,2 ; @MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0__MASK .no_dead_strip _MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0 .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/disp/mdp4/extr_mdp4.xml.h_MDP4_LCDC_LVDS_MUX_CTL_3_TO_0_BIT0.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cx24110_get_frontend _cx24110_get_frontend: ## @cx24110_get_frontend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq (%rdi), %r15 movq %r15, %rdi movl $7, %esi callq _cx24110_readreg andl $3, %eax movl $355464, %r13d ## imm = 0x56C88 cmpl $3, %eax je LBB0_2 ## %bb.1: movl %eax, %eax leaq l_switch.table.cx24110_get_frontend(%rip), %rcx movl (%rcx,%rax,4), %r13d LBB0_2: movq %r15, %rdi movl $68, %esi callq _cx24110_readreg movl %eax, %r12d andl $31, %r12d imull %r13d, %r12d movq %r15, %rdi movl $69, %esi callq _cx24110_readreg movl %eax, %ebx imull %r13d, %ebx shrl $8, %ebx addl %r12d, %ebx movq %r15, %rdi movl $70, %esi callq _cx24110_readreg imull %r13d, %eax shrl $16, %eax addl (%r14), %ebx addl %eax, %ebx movl %ebx, (%r14) movq %r15, %rdi movl $34, %esi callq _cx24110_readreg testb $16, %al jne LBB0_3 ## %bb.4: movq _INVERSION_OFF@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _INVERSION_ON@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax movl %eax, 8(%r14) movq %r15, %rdi callq _cx24110_get_fec movl %eax, 4(%r14) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _INVERSION_ON,4,2 ## @INVERSION_ON .comm _INVERSION_OFF,4,2 ## @INVERSION_OFF .no_dead_strip _cx24110_get_frontend .section __TEXT,__const .p2align 2 ## @switch.table.cx24110_get_frontend l_switch.table.cx24110_get_frontend: .long 177732 ## 0x2b644 .long 236976 ## 0x39db0 .long 315968 ## 0x4d240 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cx24110_get_frontend _cx24110_get_frontend: ; @cx24110_get_frontend .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 x20, [x0] mov x0, x20 mov w1, #7 bl _cx24110_readreg and w8, w0, #0x3 cmp w8, #3 b.ne LBB0_2 ; %bb.1: mov w21, #27784 movk w21, #5, lsl #16 b LBB0_3 LBB0_2: Lloh0: adrp x9, l_switch.table.cx24110_get_frontend@PAGE Lloh1: add x9, x9, l_switch.table.cx24110_get_frontend@PAGEOFF ldr w21, [x9, w8, uxtw #2] LBB0_3: mov x0, x20 mov w1, #68 bl _cx24110_readreg and w8, w0, #0x1f mul w22, w8, w21 mov x0, x20 mov w1, #69 bl _cx24110_readreg mul w8, w0, w21 add w22, w22, w8, lsr #8 mov x0, x20 mov w1, #70 bl _cx24110_readreg mul w8, w0, w21 ldr w9, [x19] add w9, w22, w9 add w8, w9, w8, lsr #16 str w8, [x19] mov x0, x20 mov w1, #34 bl _cx24110_readreg Lloh2: adrp x8, _INVERSION_ON@GOTPAGE Lloh3: ldr x8, [x8, _INVERSION_ON@GOTPAGEOFF] Lloh4: adrp x9, _INVERSION_OFF@GOTPAGE Lloh5: ldr x9, [x9, _INVERSION_OFF@GOTPAGEOFF] tst w0, #0x10 csel x8, x9, x8, eq ldr w8, [x8] str w8, [x19, #8] mov x0, x20 bl _cx24110_get_fec str w0, [x19, #4] 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 AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _INVERSION_ON,4,2 ; @INVERSION_ON .comm _INVERSION_OFF,4,2 ; @INVERSION_OFF .no_dead_strip _cx24110_get_frontend .section __TEXT,__const .p2align 2 ; @switch.table.cx24110_get_frontend l_switch.table.cx24110_get_frontend: .long 177732 ; 0x2b644 .long 236976 ; 0x39db0 .long 315968 ; 0x4d240 .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_cx24110.c_cx24110_get_frontend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _get_kernel_addr_trusty ## -- Begin function get_kernel_addr_trusty .p2align 4, 0x90 _get_kernel_addr_trusty: ## @get_kernel_addr_trusty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 leaq L_.str(%rip), %r15 movq %r15, %rdi callq _strlen movq %r14, %rdi movl %ebx, %esi movq %r15, %rdx movl %eax, %ecx callq _memmem testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %rbx xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpb $45, (%rbx,%r14) leaq 1(%r14), %r14 jne LBB0_2 ## %bb.3: decl %r14d leaq L_.str.1(%rip), %r15 movq %r15, %rdi callq _strlen movq %rbx, %rdi movl %r14d, %esi movq %r15, %rdx movl %eax, %ecx callq _memmem testq %rax, %rax je LBB0_6 ## %bb.4: movq %rax, %rcx addq $16, %rcx movq %rcx, -32(%rbp) leaq -32(%rbp), %rsi movq %rax, %rdi movl $16, %edx callq _strtoul andq $-16777216, %rax ## imm = 0xFF000000 jmp LBB0_7 LBB0_6: xorl %eax, %eax LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Freeing unused" L_.str.1: ## @.str.1 .asciz "ffffff" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _get_kernel_addr_trusty ; -- Begin function get_kernel_addr_trusty .p2align 2 _get_kernel_addr_trusty: ; @get_kernel_addr_trusty .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x21, l_.str@PAGE Lloh1: add x21, x21, l_.str@PAGEOFF mov x0, x21 bl _strlen mov x3, x0 mov x0, x20 mov x1, x19 mov x2, x21 bl _memmem cbz x0, LBB0_5 ; %bb.1: mov x19, x0 mov w20, #-1 ; =0xffffffff mov x8, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x8], #1 add w20, w20, #1 cmp w9, #45 b.ne LBB0_2 ; %bb.3: Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF mov x0, x21 bl _strlen mov x3, x0 mov x0, x19 mov x1, x20 mov x2, x21 bl _memmem cbz x0, LBB0_5 ; %bb.4: add x8, x0, #16 str x8, [sp, #8] add x1, sp, #8 mov w2, #16 ; =0x10 bl _strtoul and x0, x0, #0xffffffffff000000 LBB0_5: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Freeing unused" l_.str.1: ; @.str.1 .asciz "ffffff" .subsections_via_symbols
assembly_file_24067.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _rtl8192ee_read_power_value_fromprom __rtl8192ee_read_power_value_fromprom: ## @_rtl8192ee_read_power_value_fromprom .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movl %ecx, -56(%rbp) ## 4-byte Spill movq %rdx, %r12 movq %rsi, -64(%rbp) ## 8-byte Spill movq %rdi, %r13 callq _rtl_priv movq %rax, %rdi movq _EEPROM_TX_PWR_INX@GOTPCREL(%rip), %rax movslq (%rax), %r14 movq _COMP_INIT@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq 1(%r14), %r8 movl 4(%rbx,%r14,4), %r9d leaq L_.str(%rip), %rcx movq %rdi, %r15 ## kill: def $r8d killed $r8d killed $r8 xorl %eax, %eax callq _RT_TRACE cmpl $0, -56(%rbp) ## 4-byte Folded Reload jne LBB0_95 ## %bb.1: cmpl $255, 4(%rbx,%r14,4) je LBB0_95 ## %bb.2: movq %r13, %rdi callq _rtl_priv movl $1, (%rax) movq _MAX_RF_PATH@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_113 ## %bb.3: movq %rbx, %r15 movq %r14, %rdi xorl %r13d, %r13d movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %rsi movabsq $4294967296, %r11 ## imm = 0x100000000 movq %rbx, -56(%rbp) ## 8-byte Spill movq %r12, -72(%rbp) ## 8-byte Spill jmp LBB0_6 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_6 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload addl %ebx, %edi movq -56(%rbp), %r15 ## 8-byte Reload LBB0_5: ## in Loop: Header=BB0_6 Depth=1 incq %r13 movq _MAX_RF_PATH@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r13 movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %rsi movabsq $4294967296, %r11 ## imm = 0x100000000 jge LBB0_113 LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_11 Depth 2 ## Child Loop BB0_20 Depth 2 ## Child Loop BB0_48 Depth 2 ## Child Loop BB0_55 Depth 2 ## Child Loop BB0_77 Depth 2 ## Child Loop BB0_88 Depth 2 cmpl $0, (%rsi) jle LBB0_13 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movslq %edi, %rdx leaq (%r15,%rdx,4), %r9 shlq $32, %rdx movq %rdi, %r8 movl %edi, %ecx movl $45, %r10d xorl %eax, %eax movq -64(%rbp), %r14 ## 8-byte Reload .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r9,%rax,4), %edi movq (%r14), %rbx movq (%rbx,%r13,8), %rbx cmpl $255, %edi cmovel %r10d, %edi movl %edi, (%rbx,%rax,4) incq %rax movslq (%rsi), %rdi addq %r11, %rdx incl %ecx cmpq %rdi, %rax jl LBB0_8 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 cmpl $1, %edi jle LBB0_14 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 movslq %ecx, %rcx leaq (%r15,%rcx,4), %rdx xorl %ecx, %ecx movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %rbx movl $45, %r9d .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rdx,%rcx,4), %esi movq 8(%r14), %rdi movq (%rdi,%r13,8), %rdi cmpl $255, %esi cmovel %r9d, %esi movl %esi, (%rdi,%rcx,4) incq %rcx movslq (%rbx), %rsi decq %rsi cmpq %rsi, %rcx jl LBB0_11 ## %bb.12: ## in Loop: Header=BB0_6 Depth=1 addl %eax, %r8d addl %r8d, %ecx movl %ecx, %edi jmp LBB0_15 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_6 Depth=1 movq -64(%rbp), %r14 ## 8-byte Reload jmp LBB0_15 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_6 Depth=1 movq %r8, %rdi movl %edi, %edi addq %rax, %rdi LBB0_15: ## in Loop: Header=BB0_6 Depth=1 movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB0_46 ## %bb.16: ## in Loop: Header=BB0_6 Depth=1 xorl %r15d, %r15d jmp LBB0_20 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_20 Depth=2 movq 40(%r14), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%r15,4) movl $2, %ecx LBB0_18: ## in Loop: Header=BB0_20 Depth=2 movq -72(%rbp), %r12 ## 8-byte Reload movq -48(%rbp), %rdi ## 8-byte Reload LBB0_19: ## in Loop: Header=BB0_20 Depth=2 addl %ecx, %edi incq %r15 movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r15 jge LBB0_45 LBB0_20: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 testq %r15, %r15 movq %rdi, -48(%rbp) ## 8-byte Spill je LBB0_23 ## %bb.21: ## in Loop: Header=BB0_20 Depth=2 movslq %edi, %r12 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax,%r12,4), %ebx cmpl $255, %ebx jne LBB0_25 ## %bb.22: ## in Loop: Header=BB0_20 Depth=2 movq 32(%r14), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%r15,4) jmp LBB0_27 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_20 Depth=2 movq 32(%r14), %rax movq (%rax,%r13,8), %rax movl $0, (%rax) movq %r14, %rax movslq %edi, %r14 movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx,%r14,4), %ebx cmpl $255, %ebx jne LBB0_38 ## %bb.24: ## in Loop: Header=BB0_20 Depth=2 movq 16(%rax), %rax movq (%rax,%r13,8), %rax movl $2, (%rax) jmp LBB0_40 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_20 Depth=2 shrl $4, %ebx andl $15, %ebx movq 32(%r14), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax,%r15,4) movl $3, %edi callq _BIT testl %ebx, %eax je LBB0_27 ## %bb.26: ## in Loop: Header=BB0_20 Depth=2 movq 32(%r14), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%r15,4) LBB0_27: ## in Loop: Header=BB0_20 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax,%r12,4), %ebx cmpl $255, %ebx jne LBB0_29 ## %bb.28: ## in Loop: Header=BB0_20 Depth=2 movq 16(%r14), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%r15,4) jmp LBB0_31 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_20 Depth=2 andl $15, %ebx movq 16(%r14), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax,%r15,4) movl $3, %edi callq _BIT testl %ebx, %eax je LBB0_31 ## %bb.30: ## in Loop: Header=BB0_20 Depth=2 movq 16(%r14), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%r15,4) LBB0_31: ## in Loop: Header=BB0_20 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movl 4(%rax,%r12,4), %r14d incq %r12 cmpl $255, %r14d jne LBB0_33 ## %bb.32: ## in Loop: Header=BB0_20 Depth=2 movq -64(%rbp), %r14 ## 8-byte Reload movq 24(%r14), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%r15,4) jmp LBB0_35 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_20 Depth=2 shrl $4, %r14d andl $15, %r14d movq -64(%rbp), %rbx ## 8-byte Reload movq 24(%rbx), %rax movq (%rax,%r13,8), %rax movl %r14d, (%rax,%r15,4) movl $3, %edi callq _BIT testl %r14d, %eax movq %rbx, %r14 je LBB0_35 ## %bb.34: ## in Loop: Header=BB0_20 Depth=2 movq 24(%r14), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%r15,4) LBB0_35: ## in Loop: Header=BB0_20 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax,%r12,4), %ebx cmpl $255, %ebx je LBB0_17 ## %bb.36: ## in Loop: Header=BB0_20 Depth=2 andl $15, %ebx movq 40(%r14), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax,%r15,4) movl $3, %edi callq _BIT movl $2, %ecx testl %ebx, %eax je LBB0_18 ## %bb.37: ## in Loop: Header=BB0_20 Depth=2 movq 40(%r14), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%r15,4) jmp LBB0_18 LBB0_38: ## in Loop: Header=BB0_20 Depth=2 shrl $4, %ebx andl $15, %ebx movq 16(%rax), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax) movl $3, %edi callq _BIT testl %ebx, %eax je LBB0_40 ## %bb.39: ## in Loop: Header=BB0_20 Depth=2 movq -64(%rbp), %rax ## 8-byte Reload movq 16(%rax), %rax movq (%rax,%r13,8), %rax orl $240, (%rax) LBB0_40: ## in Loop: Header=BB0_20 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax,%r14,4), %ebx cmpl $255, %ebx jne LBB0_42 ## %bb.41: ## in Loop: Header=BB0_20 Depth=2 movq -64(%rbp), %r14 ## 8-byte Reload movq 24(%r14), %rax movq (%rax,%r13,8), %rax movl $4, (%rax) movq -48(%rbp), %rdi ## 8-byte Reload jmp LBB0_44 LBB0_42: ## in Loop: Header=BB0_20 Depth=2 andl $15, %ebx movq -64(%rbp), %r14 ## 8-byte Reload movq 24(%r14), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax) movl $3, %edi callq _BIT testl %ebx, %eax movq -48(%rbp), %rdi ## 8-byte Reload je LBB0_44 ## %bb.43: ## in Loop: Header=BB0_20 Depth=2 movq 24(%r14), %rax movq (%rax,%r13,8), %rax orl $240, (%rax) LBB0_44: ## in Loop: Header=BB0_20 Depth=2 movq 40(%r14), %rax movq (%rax,%r13,8), %rax movl $0, (%rax) movl $1, %ecx jmp LBB0_19 .p2align 4, 0x90 LBB0_45: ## in Loop: Header=BB0_6 Depth=1 movq -56(%rbp), %r15 ## 8-byte Reload LBB0_46: ## in Loop: Header=BB0_6 Depth=1 movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) jle LBB0_50 ## %bb.47: ## in Loop: Header=BB0_6 Depth=1 movslq %edi, %rax leaq (%r15,%rax,4), %rcx xorl %eax, %eax movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %rbx movl $254, %r8d .p2align 4, 0x90 LBB0_48: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rcx,%rax,4), %edx movq (%r12), %rsi movq (%rsi,%r13,8), %rsi cmpl $255, %edx cmovel %r8d, %edx movl %edx, (%rsi,%rax,4) incq %rax movslq (%rbx), %rdx cmpq %rdx, %rax jl LBB0_48 ## %bb.49: ## in Loop: Header=BB0_6 Depth=1 addl %eax, %edi movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_50: ## in Loop: Header=BB0_6 Depth=1 testl %eax, %eax jle LBB0_72 ## %bb.51: ## in Loop: Header=BB0_6 Depth=1 movslq %edi, %rax leaq (%r15,%rax,4), %r15 xorl %r14d, %r14d movq %rdi, -48(%rbp) ## 8-byte Spill jmp LBB0_55 .p2align 4, 0x90 LBB0_52: ## in Loop: Header=BB0_55 Depth=2 movq 16(%r12), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%r14,4) LBB0_53: ## in Loop: Header=BB0_55 Depth=2 movq -48(%rbp), %rdi ## 8-byte Reload LBB0_54: ## in Loop: Header=BB0_55 Depth=2 incq %r14 movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r14 jge LBB0_71 LBB0_55: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 testq %r14, %r14 je LBB0_58 ## %bb.56: ## in Loop: Header=BB0_55 Depth=2 movl (%r15,%r14,4), %ebx cmpl $255, %ebx jne LBB0_60 ## %bb.57: ## in Loop: Header=BB0_55 Depth=2 movq 40(%r12), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%r14,4) jmp LBB0_62 .p2align 4, 0x90 LBB0_58: ## in Loop: Header=BB0_55 Depth=2 movq 40(%r12), %rax movq (%rax,%r13,8), %rax movl $0, (%rax) movl (%r15,%r14,4), %ebx cmpl $255, %ebx jne LBB0_65 ## %bb.59: ## in Loop: Header=BB0_55 Depth=2 movq 16(%r12), %rax movq (%rax,%r13,8), %rax movl $0, (%rax) jmp LBB0_67 .p2align 4, 0x90 LBB0_60: ## in Loop: Header=BB0_55 Depth=2 shrl $4, %ebx andl $15, %ebx movq 40(%r12), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax,%r14,4) movl $3, %edi callq _BIT testl %ebx, %eax je LBB0_62 ## %bb.61: ## in Loop: Header=BB0_55 Depth=2 movq 40(%r12), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%r14,4) LBB0_62: ## in Loop: Header=BB0_55 Depth=2 movl (%r15,%r14,4), %ebx cmpl $255, %ebx je LBB0_52 ## %bb.63: ## in Loop: Header=BB0_55 Depth=2 andl $15, %ebx movq 16(%r12), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax,%r14,4) movl $3, %edi callq _BIT testl %ebx, %eax movq -48(%rbp), %rdi ## 8-byte Reload je LBB0_54 ## %bb.64: ## in Loop: Header=BB0_55 Depth=2 movq 16(%r12), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%r14,4) jmp LBB0_54 LBB0_65: ## in Loop: Header=BB0_55 Depth=2 shrl $4, %ebx andl $15, %ebx movq 16(%r12), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax) movl $3, %edi callq _BIT testl %ebx, %eax je LBB0_67 ## %bb.66: ## in Loop: Header=BB0_55 Depth=2 movq 16(%r12), %rax movq (%rax,%r13,8), %rax orl $240, (%rax) LBB0_67: ## in Loop: Header=BB0_55 Depth=2 movl (%r15,%r14,4), %ebx cmpl $255, %ebx jne LBB0_69 ## %bb.68: ## in Loop: Header=BB0_55 Depth=2 movq 8(%r12), %rax movq (%rax,%r13,8), %rax movl $4, (%rax) jmp LBB0_53 LBB0_69: ## in Loop: Header=BB0_55 Depth=2 andl $15, %ebx movq 8(%r12), %rax movq (%rax,%r13,8), %rax movl %ebx, (%rax) movl $3, %edi callq _BIT testl %ebx, %eax movq -48(%rbp), %rdi ## 8-byte Reload je LBB0_54 ## %bb.70: ## in Loop: Header=BB0_55 Depth=2 movq 8(%r12), %rax movq (%rax,%r13,8), %rax orl $240, (%rax) jmp LBB0_54 .p2align 4, 0x90 LBB0_71: ## in Loop: Header=BB0_6 Depth=1 addl %r14d, %edi movq -56(%rbp), %r15 ## 8-byte Reload LBB0_72: ## in Loop: Header=BB0_6 Depth=1 movslq %edi, %rdx movl (%r15,%rdx,4), %esi cmpl $255, %esi jne LBB0_74 ## %bb.73: ## in Loop: Header=BB0_6 Depth=1 movq 8(%r12), %rcx movq (%rcx,%r13,8), %rcx movl $254, 4(%rcx) movl $254, %esi jmp LBB0_75 .p2align 4, 0x90 LBB0_74: ## in Loop: Header=BB0_6 Depth=1 shrl $4, %esi andl $15, %esi movq 8(%r12), %rcx movq (%rcx,%r13,8), %rcx movl %esi, 4(%rcx) movl (%r15,%rdx,4), %esi andl $15, %esi LBB0_75: ## in Loop: Header=BB0_6 Depth=1 movl %esi, 8(%rcx) movl 4(%r15,%rdx,4), %edx movl %edx, %esi andl $15, %esi cmpl $255, %edx movl $254, %edx cmovel %edx, %esi movl %esi, 12(%rcx) cmpl $2, %eax jl LBB0_84 ## %bb.76: ## in Loop: Header=BB0_6 Depth=1 movq %rdi, -48(%rbp) ## 8-byte Spill movl $2, %ebx .p2align 4, 0x90 LBB0_77: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl -4(%rcx,%rbx,4), %r14d cmpl $255, %r14d jne LBB0_79 ## %bb.78: ## in Loop: Header=BB0_77 Depth=2 movl $254, -4(%rcx,%rbx,4) jmp LBB0_81 .p2align 4, 0x90 LBB0_79: ## in Loop: Header=BB0_77 Depth=2 movl $3, %edi callq _BIT testl %r14d, %eax je LBB0_81 ## %bb.80: ## in Loop: Header=BB0_77 Depth=2 movq 8(%r12), %rax movq (%rax,%r13,8), %rax orl $240, -4(%rax,%rbx,4) LBB0_81: ## in Loop: Header=BB0_77 Depth=2 movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %rbx jge LBB0_83 ## %bb.82: ## in Loop: Header=BB0_77 Depth=2 movq 8(%r12), %rax movq (%rax,%r13,8), %rcx incq %rbx jmp LBB0_77 .p2align 4, 0x90 LBB0_83: ## in Loop: Header=BB0_6 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload LBB0_84: ## in Loop: Header=BB0_6 Depth=1 addl $2, %edi testl %eax, %eax jle LBB0_5 ## %bb.85: ## in Loop: Header=BB0_6 Depth=1 movq %rdi, -48(%rbp) ## 8-byte Spill movslq %edi, %rax leaq (%r15,%rax,4), %r15 xorl %ebx, %ebx jmp LBB0_88 .p2align 4, 0x90 LBB0_86: ## in Loop: Header=BB0_88 Depth=2 movq 32(%r12), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%rbx,4) LBB0_87: ## in Loop: Header=BB0_88 Depth=2 incq %rbx movq _MAX_TX_COUNT@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %rbx jge LBB0_4 LBB0_88: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r15,%rbx,4), %r14d cmpl $255, %r14d jne LBB0_90 ## %bb.89: ## in Loop: Header=BB0_88 Depth=2 movq 24(%r12), %rax movq (%rax,%r13,8), %rax movl $254, (%rax,%rbx,4) jmp LBB0_92 .p2align 4, 0x90 LBB0_90: ## in Loop: Header=BB0_88 Depth=2 shrl $4, %r14d andl $15, %r14d movq 24(%r12), %rax movq (%rax,%r13,8), %rax movl %r14d, (%rax,%rbx,4) movl $3, %edi callq _BIT testl %r14d, %eax je LBB0_92 ## %bb.91: ## in Loop: Header=BB0_88 Depth=2 movq 24(%r12), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%rbx,4) LBB0_92: ## in Loop: Header=BB0_88 Depth=2 movl (%r15,%rbx,4), %r14d cmpl $255, %r14d je LBB0_86 ## %bb.93: ## in Loop: Header=BB0_88 Depth=2 andl $15, %r14d movq 32(%r12), %rax movq (%rax,%r13,8), %rax movl %r14d, (%rax,%rbx,4) movl $3, %edi callq _BIT testl %r14d, %eax je LBB0_87 ## %bb.94: ## in Loop: Header=BB0_88 Depth=2 movq 32(%r12), %rax movq (%rax,%r13,8), %rax orl $240, (%rax,%rbx,4) jmp LBB0_87 LBB0_95: movq _COMP_INIT@GOTPCREL(%rip), %rax movl (%rax), %esi movq _DBG_LOUD@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _RT_TRACE movq _MAX_RF_PATH@GOTPCREL(%rip), %r8 cmpl $0, (%r8) jle LBB0_113 ## %bb.96: xorl %r14d, %r14d movq _MAX_CHNL_GROUP_24G@GOTPCREL(%rip), %r9 movq _MAX_TX_COUNT@GOTPCREL(%rip), %r11 movq _MAX_CHNL_GROUP_5G@GOTPCREL(%rip), %r10 jmp LBB0_98 .p2align 4, 0x90 LBB0_97: ## in Loop: Header=BB0_98 Depth=1 incq %r14 movslq (%r8), %rax cmpq %rax, %r14 jge LBB0_113 LBB0_98: ## =>This Loop Header: Depth=1 ## Child Loop BB0_100 Depth 2 ## Child Loop BB0_104 Depth 2 ## Child Loop BB0_107 Depth 2 ## Child Loop BB0_112 Depth 2 cmpl $0, (%r9) jle LBB0_101 ## %bb.99: ## in Loop: Header=BB0_98 Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rax movq 8(%rcx), %rcx movq (%rax,%r14,8), %rax movq (%rcx,%r14,8), %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_100: ## Parent Loop BB0_98 Depth=1 ## => This Inner Loop Header: Depth=2 movl $45, (%rax,%rdx,4) movl $45, (%rcx,%rdx,4) incq %rdx movslq (%r9), %rsi cmpq %rsi, %rdx jl LBB0_100 LBB0_101: ## in Loop: Header=BB0_98 Depth=1 movl (%r11), %eax testl %eax, %eax jle LBB0_105 ## %bb.102: ## in Loop: Header=BB0_98 Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload movq 16(%rcx), %rax movq (%rax,%r14,8), %rbx movl $2, (%rbx) movq 24(%rcx), %rax movq (%rax,%r14,8), %rdx movl $4, (%rdx) movl (%r11), %eax cmpl $2, %eax jl LBB0_105 ## %bb.103: ## in Loop: Header=BB0_98 Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload movq 32(%rcx), %rax movq 40(%rcx), %rcx movq (%rax,%r14,8), %rdi movq (%rcx,%r14,8), %rsi movl $1, %ecx .p2align 4, 0x90 LBB0_104: ## Parent Loop BB0_98 Depth=1 ## => This Inner Loop Header: Depth=2 movl $254, (%rbx,%rcx,4) movl $254, (%rdi,%rcx,4) movl $254, (%rsi,%rcx,4) movl $254, (%rdx,%rcx,4) movslq (%r11), %rax incq %rcx cmpq %rax, %rcx jl LBB0_104 LBB0_105: ## in Loop: Header=BB0_98 Depth=1 cmpl $0, (%r10) jle LBB0_109 ## %bb.106: ## in Loop: Header=BB0_98 Depth=1 movq (%r12), %rax movq (%rax,%r14,8), %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_107: ## Parent Loop BB0_98 Depth=1 ## => This Inner Loop Header: Depth=2 movl $42, (%rax,%rcx,4) incq %rcx movslq (%r10), %rdx cmpq %rdx, %rcx jl LBB0_107 ## %bb.108: ## in Loop: Header=BB0_98 Depth=1 movl (%r11), %eax LBB0_109: ## in Loop: Header=BB0_98 Depth=1 testl %eax, %eax jle LBB0_97 ## %bb.110: ## in Loop: Header=BB0_98 Depth=1 movq 8(%r12), %rax movq (%rax,%r14,8), %rbx movl $4, (%rbx) movq 16(%r12), %rax movq (%rax,%r14,8), %rax movl $0, (%rax) movq 24(%r12), %rcx movq (%rcx,%r14,8), %rdx movl $254, (%rdx) movq 32(%r12), %rcx movq (%rcx,%r14,8), %rdi movl $254, (%rdi) cmpl $2, (%r11) jl LBB0_97 ## %bb.111: ## in Loop: Header=BB0_98 Depth=1 movq 40(%r12), %rcx movq (%rcx,%r14,8), %rsi movl $1, %ecx .p2align 4, 0x90 LBB0_112: ## Parent Loop BB0_98 Depth=1 ## => This Inner Loop Header: Depth=2 movl $254, (%rbx) movl $254, (%rax) movl $254, (%rsi) movl $254, (%rdx) movl $254, (%rdi) incl %ecx cmpl (%r11), %ecx jl LBB0_112 jmp LBB0_97 LBB0_113: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EEPROM_TX_PWR_INX,4,2 ## @EEPROM_TX_PWR_INX .comm _COMP_INIT,4,2 ## @COMP_INIT .comm _DBG_LOUD,4,2 ## @DBG_LOUD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hal_ReadPowerValueFromPROM92E(): PROMContent[0x%x]=0x%x\n" L_.str.1: ## @.str.1 .asciz "auto load fail : Use Default value!\n" .comm _MAX_RF_PATH,4,2 ## @MAX_RF_PATH .comm _MAX_CHNL_GROUP_24G,4,2 ## @MAX_CHNL_GROUP_24G .comm _MAX_TX_COUNT,4,2 ## @MAX_TX_COUNT .comm _MAX_CHNL_GROUP_5G,4,2 ## @MAX_CHNL_GROUP_5G .no_dead_strip __rtl8192ee_read_power_value_fromprom .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _rtl8192ee_read_power_value_fromprom __rtl8192ee_read_power_value_fromprom: ; @_rtl8192ee_read_power_value_fromprom .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x4 mov x24, x3 mov x19, x2 mov x20, x1 mov x22, x0 bl _rtl_priv mov x23, x0 Lloh0: adrp x8, _EEPROM_TX_PWR_INX@GOTPAGE Lloh1: ldr x8, [x8, _EEPROM_TX_PWR_INX@GOTPAGEOFF] Lloh2: ldr w27, [x8] Lloh3: adrp x25, _COMP_INIT@GOTPAGE Lloh4: ldr x25, [x25, _COMP_INIT@GOTPAGEOFF] Lloh5: adrp x26, _DBG_LOUD@GOTPAGE Lloh6: ldr x26, [x26, _DBG_LOUD@GOTPAGEOFF] ldr w1, [x25] ldr w2, [x26] add w8, w27, #1 sbfiz x28, x8, #2, #32 ldr w9, [x21, x28] stp x8, x9, [sp] Lloh7: adrp x3, l_.str@PAGE Lloh8: add x3, x3, l_.str@PAGEOFF bl _RT_TRACE cbnz w24, LBB0_95 ; %bb.1: ldr w8, [x21, x28] cmp w8, #255 b.eq LBB0_95 ; %bb.2: mov x0, x22 bl _rtl_priv mov w8, #1 str w8, [x0] Lloh9: adrp x8, _MAX_RF_PATH@GOTPAGE Lloh10: ldr x8, [x8, _MAX_RF_PATH@GOTPAGEOFF] Lloh11: ldr w8, [x8] cmp w8, #1 b.lt LBB0_113 ; %bb.3: mov x23, #0 Lloh12: adrp x15, _MAX_CHNL_GROUP_24G@GOTPAGE Lloh13: ldr x15, [x15, _MAX_CHNL_GROUP_24G@GOTPAGEOFF] mov w16, #45 Lloh14: adrp x26, _MAX_TX_COUNT@GOTPAGE Lloh15: ldr x26, [x26, _MAX_TX_COUNT@GOTPAGEOFF] mov x17, #4294967296 mov w28, #254 Lloh16: adrp x0, _MAX_CHNL_GROUP_5G@GOTPAGE Lloh17: ldr x0, [x0, _MAX_CHNL_GROUP_5G@GOTPAGEOFF] b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 add w27, w27, w22 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 Lloh18: adrp x15, _MAX_CHNL_GROUP_24G@GOTPAGE Lloh19: ldr x15, [x15, _MAX_CHNL_GROUP_24G@GOTPAGEOFF] mov w16, #45 mov x17, #4294967296 Lloh20: adrp x0, _MAX_CHNL_GROUP_5G@GOTPAGE Lloh21: ldr x0, [x0, _MAX_CHNL_GROUP_5G@GOTPAGEOFF] add x23, x23, #1 Lloh22: adrp x8, _MAX_RF_PATH@GOTPAGE Lloh23: ldr x8, [x8, _MAX_RF_PATH@GOTPAGEOFF] Lloh24: ldrsw x8, [x8] cmp x23, x8 b.ge LBB0_113 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_11 Depth 2 ; Child Loop BB0_19 Depth 2 ; Child Loop BB0_49 Depth 2 ; Child Loop BB0_55 Depth 2 ; Child Loop BB0_77 Depth 2 ; Child Loop BB0_88 Depth 2 ldr w8, [x15] cmp w8, #1 b.lt LBB0_14 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 mov x8, #0 add x9, x21, w27, sxtw #2 mov x10, x27 sbfiz x11, x10, #32, #32 LBB0_8: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 lsl x12, x8, #2 ldr w13, [x9, x12] ldr x14, [x20] ldr x14, [x14, x23, lsl #3] cmp w13, #255 csel w13, w16, w13, eq str w13, [x14, x12] add x8, x8, #1 ldrsw x12, [x15] add x11, x11, x17 add w10, w10, #1 cmp x8, x12 b.lt LBB0_8 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 cmp w12, #1 b.le LBB0_13 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 mov x9, #0 add x10, x21, w10, sxtw #2 LBB0_11: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 lsl x11, x9, #2 ldr w12, [x10, x11] ldr x13, [x20, #8] ldr x13, [x13, x23, lsl #3] cmp w12, #255 csel w12, w16, w12, eq str w12, [x13, x11] add x9, x9, #1 ldrsw x11, [x15] sub x11, x11, #1 cmp x9, x11 b.lt LBB0_11 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 add w8, w27, w8 add w27, w8, w9 b LBB0_14 LBB0_13: ; in Loop: Header=BB0_6 Depth=1 add x27, x8, w27, uxtw ; kill: def $w27 killed $w27 killed $x27 def $x27 LBB0_14: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x26] cmp w8, #1 b.lt LBB0_47 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 mov x22, #0 b LBB0_19 LBB0_16: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #40] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] LBB0_17: ; in Loop: Header=BB0_19 Depth=2 mov w8, #2 LBB0_18: ; in Loop: Header=BB0_19 Depth=2 add w27, w27, w8 add x22, x22, #1 ldrsw x8, [x26] cmp x22, x8 b.ge LBB0_46 LBB0_19: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 cbz x22, LBB0_22 ; %bb.20: ; in Loop: Header=BB0_19 Depth=2 ldr w8, [x21, w27, sxtw #2] cmp w8, #255 b.ne LBB0_24 ; %bb.21: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #32] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] b LBB0_26 LBB0_22: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #32] ldr x8, [x8, x23, lsl #3] str wzr, [x8] ldr w8, [x21, w27, sxtw #2] cmp w8, #255 b.ne LBB0_37 ; %bb.23: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #16] ldr x8, [x8, x23, lsl #3] mov w9, #2 b LBB0_39 LBB0_24: ; in Loop: Header=BB0_19 Depth=2 ubfx w25, w8, #4, #4 ldr x8, [x20, #32] ldr x8, [x8, x23, lsl #3] str w25, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w25 b.eq LBB0_26 ; %bb.25: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #32] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] LBB0_26: ; in Loop: Header=BB0_19 Depth=2 mov x8, x27 sxtw x25, w8 ldr w8, [x21, x25, lsl #2] cmp w8, #255 b.ne LBB0_28 ; %bb.27: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #16] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] b LBB0_30 LBB0_28: ; in Loop: Header=BB0_19 Depth=2 and w24, w8, #0xf ldr x8, [x20, #16] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_30 ; %bb.29: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #16] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] LBB0_30: ; in Loop: Header=BB0_19 Depth=2 add x25, x25, #1 ldr w8, [x21, x25, lsl #2] cmp w8, #255 b.ne LBB0_32 ; %bb.31: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #24] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] b LBB0_34 LBB0_32: ; in Loop: Header=BB0_19 Depth=2 ubfx w24, w8, #4, #4 ldr x8, [x20, #24] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_34 ; %bb.33: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #24] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] LBB0_34: ; in Loop: Header=BB0_19 Depth=2 ldr w8, [x21, x25, lsl #2] cmp w8, #255 b.eq LBB0_16 ; %bb.35: ; in Loop: Header=BB0_19 Depth=2 and w24, w8, #0xf ldr x8, [x20, #40] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_17 ; %bb.36: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #40] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] b LBB0_17 LBB0_37: ; in Loop: Header=BB0_19 Depth=2 ubfx w25, w8, #4, #4 ldr x8, [x20, #16] ldr x8, [x8, x23, lsl #3] str w25, [x8] mov w0, #3 bl _BIT tst w0, w25 b.eq LBB0_40 ; %bb.38: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #16] ldr x8, [x8, x23, lsl #3] ldr w9, [x8] orr w9, w9, #0xf0 LBB0_39: ; in Loop: Header=BB0_19 Depth=2 str w9, [x8] LBB0_40: ; in Loop: Header=BB0_19 Depth=2 sxtw x8, w27 ldr w8, [x21, x8, lsl #2] cmp w8, #255 b.ne LBB0_42 ; %bb.41: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #24] ldr x8, [x8, x23, lsl #3] mov w9, #4 b LBB0_44 LBB0_42: ; in Loop: Header=BB0_19 Depth=2 and w25, w8, #0xf ldr x8, [x20, #24] ldr x8, [x8, x23, lsl #3] str w25, [x8] mov w0, #3 bl _BIT tst w0, w25 b.eq LBB0_45 ; %bb.43: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #24] ldr x8, [x8, x23, lsl #3] ldr w9, [x8] orr w9, w9, #0xf0 LBB0_44: ; in Loop: Header=BB0_19 Depth=2 str w9, [x8] LBB0_45: ; in Loop: Header=BB0_19 Depth=2 ldr x8, [x20, #40] ldr x8, [x8, x23, lsl #3] str wzr, [x8] mov w8, #1 b LBB0_18 LBB0_46: ; in Loop: Header=BB0_6 Depth=1 Lloh25: adrp x0, _MAX_CHNL_GROUP_5G@GOTPAGE Lloh26: ldr x0, [x0, _MAX_CHNL_GROUP_5G@GOTPAGEOFF] LBB0_47: ; in Loop: Header=BB0_6 Depth=1 ldr w9, [x0] cmp w9, #1 b.lt LBB0_51 ; %bb.48: ; in Loop: Header=BB0_6 Depth=1 mov x8, #0 add x9, x21, w27, sxtw #2 LBB0_49: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 lsl x10, x8, #2 ldr w11, [x9, x10] ldr x12, [x19] ldr x12, [x12, x23, lsl #3] cmp w11, #255 csel w11, w28, w11, eq str w11, [x12, x10] add x8, x8, #1 ldrsw x10, [x0] cmp x8, x10 b.lt LBB0_49 ; %bb.50: ; in Loop: Header=BB0_6 Depth=1 add w27, w27, w8 ldr w8, [x26] LBB0_51: ; in Loop: Header=BB0_6 Depth=1 cmp w8, #1 b.lt LBB0_72 ; %bb.52: ; in Loop: Header=BB0_6 Depth=1 mov x22, #0 add x25, x21, w27, sxtw #2 b LBB0_55 LBB0_53: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #16] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] LBB0_54: ; in Loop: Header=BB0_55 Depth=2 add x22, x22, #1 ldrsw x8, [x26] cmp x22, x8 b.ge LBB0_71 LBB0_55: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 cbz x22, LBB0_58 ; %bb.56: ; in Loop: Header=BB0_55 Depth=2 ldr w8, [x25, x22, lsl #2] cmp w8, #255 b.ne LBB0_60 ; %bb.57: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #40] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] b LBB0_62 LBB0_58: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #40] ldr x8, [x8, x23, lsl #3] str wzr, [x8] ldr w8, [x25, x22, lsl #2] cmp w8, #255 b.ne LBB0_65 ; %bb.59: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #16] ldr x8, [x8, x23, lsl #3] str wzr, [x8] b LBB0_67 LBB0_60: ; in Loop: Header=BB0_55 Depth=2 ubfx w24, w8, #4, #4 ldr x8, [x19, #40] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_62 ; %bb.61: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #40] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] LBB0_62: ; in Loop: Header=BB0_55 Depth=2 ldr w8, [x25, x22, lsl #2] cmp w8, #255 b.eq LBB0_53 ; %bb.63: ; in Loop: Header=BB0_55 Depth=2 and w24, w8, #0xf ldr x8, [x19, #16] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_54 ; %bb.64: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #16] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] b LBB0_54 LBB0_65: ; in Loop: Header=BB0_55 Depth=2 ubfx w24, w8, #4, #4 ldr x8, [x19, #16] ldr x8, [x8, x23, lsl #3] str w24, [x8] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_67 ; %bb.66: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #16] ldr x8, [x8, x23, lsl #3] ldr w9, [x8] orr w9, w9, #0xf0 str w9, [x8] LBB0_67: ; in Loop: Header=BB0_55 Depth=2 ldr w8, [x25, x22, lsl #2] cmp w8, #255 b.ne LBB0_69 ; %bb.68: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #8] ldr x8, [x8, x23, lsl #3] mov w9, #4 str w9, [x8] b LBB0_54 LBB0_69: ; in Loop: Header=BB0_55 Depth=2 and w24, w8, #0xf ldr x8, [x19, #8] ldr x8, [x8, x23, lsl #3] str w24, [x8] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_54 ; %bb.70: ; in Loop: Header=BB0_55 Depth=2 ldr x8, [x19, #8] ldr x8, [x8, x23, lsl #3] ldr w9, [x8] orr w9, w9, #0xf0 str w9, [x8] b LBB0_54 LBB0_71: ; in Loop: Header=BB0_6 Depth=1 add w27, w27, w22 ; kill: def $w8 killed $w8 killed $x8 def $x8 LBB0_72: ; in Loop: Header=BB0_6 Depth=1 mov x9, x27 sxtw x22, w9 ldr w9, [x21, w27, sxtw #2] cmp w9, #255 b.ne LBB0_74 ; %bb.73: ; in Loop: Header=BB0_6 Depth=1 ldr x9, [x19, #8] ldr x9, [x9, x23, lsl #3] mov w10, #254 str w10, [x9, #4] b LBB0_75 LBB0_74: ; in Loop: Header=BB0_6 Depth=1 ubfx w10, w9, #4, #4 ldr x9, [x19, #8] ldr x9, [x9, x23, lsl #3] str w10, [x9, #4] ldr w10, [x21, x22, lsl #2] and w10, w10, #0xf LBB0_75: ; in Loop: Header=BB0_6 Depth=1 str w10, [x9, #8] add x10, x21, x22, lsl #2 ldr w10, [x10, #4] and w11, w10, #0xf cmp w10, #255 csel w10, w28, w11, eq str w10, [x9, #12] cmp w8, #1 b.le LBB0_84 ; %bb.76: ; in Loop: Header=BB0_6 Depth=1 mov w25, #1 LBB0_77: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w27, [x9, x25, lsl #2] cmp w27, #255 b.ne LBB0_79 ; %bb.78: ; in Loop: Header=BB0_77 Depth=2 str w28, [x9, x25, lsl #2] b LBB0_81 LBB0_79: ; in Loop: Header=BB0_77 Depth=2 mov w0, #3 bl _BIT tst w0, w27 b.eq LBB0_81 ; %bb.80: ; in Loop: Header=BB0_77 Depth=2 ldr x8, [x19, #8] ldr x8, [x8, x23, lsl #3] lsl x9, x25, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] LBB0_81: ; in Loop: Header=BB0_77 Depth=2 add x25, x25, #1 ldrsw x8, [x26] cmp x25, x8 b.ge LBB0_83 ; %bb.82: ; in Loop: Header=BB0_77 Depth=2 ldr x8, [x19, #8] ldr x9, [x8, x23, lsl #3] b LBB0_77 LBB0_83: ; in Loop: Header=BB0_6 Depth=1 ; kill: def $w8 killed $w8 killed $x8 def $x8 LBB0_84: ; in Loop: Header=BB0_6 Depth=1 add w27, w22, #2 cmp w8, #1 b.lt LBB0_5 ; %bb.85: ; in Loop: Header=BB0_6 Depth=1 mov x22, #0 add x25, x21, w27, sxtw #2 b LBB0_88 LBB0_86: ; in Loop: Header=BB0_88 Depth=2 ldr x8, [x19, #32] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] LBB0_87: ; in Loop: Header=BB0_88 Depth=2 add x22, x22, #1 ldrsw x8, [x26] cmp x22, x8 b.ge LBB0_4 LBB0_88: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x25, x22, lsl #2] cmp w8, #255 b.ne LBB0_90 ; %bb.89: ; in Loop: Header=BB0_88 Depth=2 ldr x8, [x19, #24] ldr x8, [x8, x23, lsl #3] str w28, [x8, x22, lsl #2] b LBB0_92 LBB0_90: ; in Loop: Header=BB0_88 Depth=2 ubfx w24, w8, #4, #4 ldr x8, [x19, #24] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_92 ; %bb.91: ; in Loop: Header=BB0_88 Depth=2 ldr x8, [x19, #24] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] LBB0_92: ; in Loop: Header=BB0_88 Depth=2 ldr w8, [x25, x22, lsl #2] cmp w8, #255 b.eq LBB0_86 ; %bb.93: ; in Loop: Header=BB0_88 Depth=2 and w24, w8, #0xf ldr x8, [x19, #32] ldr x8, [x8, x23, lsl #3] str w24, [x8, x22, lsl #2] mov w0, #3 bl _BIT tst w0, w24 b.eq LBB0_87 ; %bb.94: ; in Loop: Header=BB0_88 Depth=2 ldr x8, [x19, #32] ldr x8, [x8, x23, lsl #3] lsl x9, x22, #2 ldr w10, [x8, x9] orr w10, w10, #0xf0 str w10, [x8, x9] b LBB0_87 LBB0_95: ldr w1, [x25] ldr w2, [x26] Lloh27: adrp x3, l_.str.1@PAGE Lloh28: add x3, x3, l_.str.1@PAGEOFF mov x0, x23 bl _RT_TRACE Lloh29: adrp x8, _MAX_RF_PATH@GOTPAGE Lloh30: ldr x8, [x8, _MAX_RF_PATH@GOTPAGEOFF] ldr w9, [x8] cmp w9, #1 b.lt LBB0_113 ; %bb.96: mov x9, #0 Lloh31: adrp x10, _MAX_CHNL_GROUP_24G@GOTPAGE Lloh32: ldr x10, [x10, _MAX_CHNL_GROUP_24G@GOTPAGEOFF] mov w11, #45 Lloh33: adrp x12, _MAX_TX_COUNT@GOTPAGE Lloh34: ldr x12, [x12, _MAX_TX_COUNT@GOTPAGEOFF] mov w13, #2 mov w14, #4 mov w15, #254 Lloh35: adrp x16, _MAX_CHNL_GROUP_5G@GOTPAGE Lloh36: ldr x16, [x16, _MAX_CHNL_GROUP_5G@GOTPAGEOFF] mov w17, #42 b LBB0_98 LBB0_97: ; in Loop: Header=BB0_98 Depth=1 add x9, x9, #1 ldrsw x0, [x8] cmp x9, x0 b.ge LBB0_113 LBB0_98: ; =>This Loop Header: Depth=1 ; Child Loop BB0_100 Depth 2 ; Child Loop BB0_104 Depth 2 ; Child Loop BB0_107 Depth 2 ; Child Loop BB0_112 Depth 2 ldr w1, [x10] lsl x0, x9, #3 cmp w1, #1 b.lt LBB0_101 ; %bb.99: ; in Loop: Header=BB0_98 Depth=1 mov x1, #0 ldp x2, x3, [x20] ldr x2, [x2, x0] ldr x3, [x3, x0] LBB0_100: ; Parent Loop BB0_98 Depth=1 ; => This Inner Loop Header: Depth=2 lsl x4, x1, #2 str w11, [x2, x4] str w11, [x3, x4] add x1, x1, #1 ldrsw x4, [x10] cmp x1, x4 b.lt LBB0_100 LBB0_101: ; in Loop: Header=BB0_98 Depth=1 ldr w1, [x12] cmp w1, #1 b.lt LBB0_105 ; %bb.102: ; in Loop: Header=BB0_98 Depth=1 ldp x1, x3, [x20, #16] ldr x2, [x1, x0] str w13, [x2] ldr x3, [x3, x0] str w14, [x3] ldr w1, [x12] cmp w1, #1 b.le LBB0_105 ; %bb.103: ; in Loop: Header=BB0_98 Depth=1 ldp x1, x5, [x20, #32] ldr x4, [x1, x0] ldr x5, [x5, x0] mov w6, #1 LBB0_104: ; Parent Loop BB0_98 Depth=1 ; => This Inner Loop Header: Depth=2 lsl x1, x6, #2 str w15, [x2, x1] str w15, [x4, x1] str w15, [x5, x1] str w15, [x3, x1] ldrsw x1, [x12] add x6, x6, #1 cmp x6, x1 b.lt LBB0_104 LBB0_105: ; in Loop: Header=BB0_98 Depth=1 ldr w2, [x16] cmp w2, #1 b.lt LBB0_109 ; %bb.106: ; in Loop: Header=BB0_98 Depth=1 mov x1, #0 ldr x2, [x19] ldr x2, [x2, x9, lsl #3] LBB0_107: ; Parent Loop BB0_98 Depth=1 ; => This Inner Loop Header: Depth=2 str w17, [x2, x1, lsl #2] add x1, x1, #1 ldrsw x3, [x16] cmp x1, x3 b.lt LBB0_107 ; %bb.108: ; in Loop: Header=BB0_98 Depth=1 ldr w1, [x12] LBB0_109: ; in Loop: Header=BB0_98 Depth=1 cmp w1, #1 b.lt LBB0_97 ; %bb.110: ; in Loop: Header=BB0_98 Depth=1 ldp x1, x2, [x19, #8] ldr x1, [x1, x0] ldr x2, [x2, x0] str w14, [x1] str wzr, [x2] ldp x3, x4, [x19, #24] ldr x3, [x3, x0] str w15, [x3] ldr x0, [x4, x0] str w15, [x0] ldr w4, [x12] cmp w4, #2 b.lt LBB0_97 ; %bb.111: ; in Loop: Header=BB0_98 Depth=1 ldr x4, [x19, #40] ldr x4, [x4, x9, lsl #3] mov w5, #1 LBB0_112: ; Parent Loop BB0_98 Depth=1 ; => This Inner Loop Header: Depth=2 str w15, [x1] str w15, [x2] str w15, [x4] str w15, [x3] str w15, [x0] ldr w6, [x12] add w5, w5, #1 cmp w5, w6 b.lt LBB0_112 b LBB0_97 LBB0_113: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh31, Lloh32 .cfi_endproc ; -- End function .comm _EEPROM_TX_PWR_INX,4,2 ; @EEPROM_TX_PWR_INX .comm _COMP_INIT,4,2 ; @COMP_INIT .comm _DBG_LOUD,4,2 ; @DBG_LOUD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hal_ReadPowerValueFromPROM92E(): PROMContent[0x%x]=0x%x\n" l_.str.1: ; @.str.1 .asciz "auto load fail : Use Default value!\n" .comm _MAX_RF_PATH,4,2 ; @MAX_RF_PATH .comm _MAX_CHNL_GROUP_24G,4,2 ; @MAX_CHNL_GROUP_24G .comm _MAX_TX_COUNT,4,2 ; @MAX_TX_COUNT .comm _MAX_CHNL_GROUP_5G,4,2 ; @MAX_CHNL_GROUP_5G .no_dead_strip __rtl8192ee_read_power_value_fromprom .subsections_via_symbols
the_stack_data/48574168.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tv_hchacha20 _tv_hchacha20: ## @tv_hchacha20 .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 _crypto_core_hchacha20_CONSTBYTES@GOTPCREL(%rip), %rax movl (%rax), %edi callq _sodium_malloc movq %rax, -80(%rbp) ## 8-byte Spill movq _crypto_core_hchacha20_KEYBYTES@GOTPCREL(%rip), %rax movl (%rax), %edi callq _sodium_malloc movq %rax, -48(%rbp) ## 8-byte Spill movq _crypto_core_hchacha20_INPUTBYTES@GOTPCREL(%rip), %rax movl (%rax), %edi callq _sodium_malloc movq %rax, -72(%rbp) ## 8-byte Spill movq _crypto_core_hchacha20_OUTPUTBYTES@GOTPCREL(%rip), %rbx movl (%rbx), %edi callq _sodium_malloc movq %rax, -64(%rbp) ## 8-byte Spill movl (%rbx), %edi callq _sodium_malloc movq %rax, -56(%rbp) ## 8-byte Spill xorl %r13d, %r13d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq _crypto_core_hchacha20_KEYBYTES@GOTPCREL(%rip), %rax movl (%rax), %r14d leaq _tv_hchacha20.tvs(%rip), %rax movq 24(%r13,%rax), %r15 movq 32(%r13,%rax), %r12 movq %r15, %rdi callq _strlen movq $0, (%rsp) movq -48(%rbp), %rdi ## 8-byte Reload movl %r14d, %esi movq %r15, %rdx movl %eax, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _sodium_hex2bin movq _crypto_core_hchacha20_INPUTBYTES@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %r12, %rdi callq _strlen movq $0, (%rsp) movq -72(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movl %ebx, %esi movq %r12, %rdx movl %eax, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _sodium_hex2bin movq _crypto_core_hchacha20_OUTPUTBYTES@GOTPCREL(%rip), %rax movl (%rax), %r14d leaq _tv_hchacha20.tvs(%rip), %rax movq 40(%r13,%rax), %rbx movq %rbx, %rdi callq _strlen movq $0, (%rsp) movq -64(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi movl %r14d, %esi movq %rbx, %rdx movl %eax, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _sodium_hex2bin movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi movq %r15, %rsi movq -48(%rbp), %rdx ## 8-byte Reload xorl %ecx, %ecx callq _crypto_core_hchacha20 movq _crypto_core_hchacha20_OUTPUTBYTES@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rdi movq %rbx, %rsi callq _memcmp xorl %edi, %edi testq %rax, %rax sete %dil callq _assert addq $48, %r13 cmpq $480, %r13 ## imm = 0x1E0 jne LBB0_1 ## %bb.2: movq _crypto_core_hchacha20_CONSTBYTES@GOTPCREL(%rip), %rbx movl (%rbx), %esi leal (%rsi,%rsi), %ecx incl %ecx movq $0, (%rsp) leaq L_.str.30(%rip), %rdx movq -80(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi ## kill: def $esi killed $esi killed $rsi xorl %r8d, %r8d xorl %r9d, %r9d callq _sodium_hex2bin movq _crypto_core_hchacha20_OUTPUTBYTES@GOTPCREL(%rip), %r15 movl (%r15), %esi leal (%rsi,%rsi), %ecx incl %ecx movq $0, (%rsp) leaq L_.str.31(%rip), %rdx movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi ## kill: def $esi killed $esi killed $rsi xorl %r8d, %r8d xorl %r9d, %r9d callq _sodium_hex2bin movq -56(%rbp), %r15 ## 8-byte Reload movq %r15, %rdi movq -72(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi movq -48(%rbp), %r13 ## 8-byte Reload movq %r13, %rdx movq %r12, %rcx callq _crypto_core_hchacha20 movq _crypto_core_hchacha20_OUTPUTBYTES@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movq %r15, %rsi callq _memcmp xorl %edi, %edi testq %rax, %rax sete %dil callq _assert movq %r15, %rdi callq _sodium_free movq %r14, %rdi callq _sodium_free movq %rbx, %rdi callq _sodium_free movq %r13, %rdi callq _sodium_free movq %r12, %rdi callq _sodium_free xorl %eax, %eax callq _crypto_core_hchacha20_outputbytes xorl %edi, %edi movq _crypto_core_hchacha20_OUTPUTBYTES@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %dil callq _assert xorl %eax, %eax callq _crypto_core_hchacha20_inputbytes xorl %edi, %edi movq _crypto_core_hchacha20_INPUTBYTES@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %dil callq _assert xorl %eax, %eax callq _crypto_core_hchacha20_keybytes xorl %edi, %edi movq _crypto_core_hchacha20_KEYBYTES@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %dil callq _assert xorl %eax, %eax callq _crypto_core_hchacha20_constbytes xorl %edi, %edi movq _crypto_core_hchacha20_CONSTBYTES@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax sete %dil callq _assert leaq L_str(%rip), %rdi addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .section __DATA,__const .p2align 4 ## @tv_hchacha20.tvs _tv_hchacha20.tvs: .quad L_.str .quad L_.str.1 .quad L_.str.2 .quad 0 .quad 0 .quad 0 .quad L_.str.3 .quad L_.str.4 .quad L_.str.5 .quad 0 .quad 0 .quad 0 .quad L_.str.6 .quad L_.str.7 .quad L_.str.8 .quad 0 .quad 0 .quad 0 .quad L_.str.9 .quad L_.str.10 .quad L_.str.11 .quad 0 .quad 0 .quad 0 .quad L_.str.12 .quad L_.str.13 .quad L_.str.14 .quad 0 .quad 0 .quad 0 .quad L_.str.15 .quad L_.str.16 .quad L_.str.17 .quad 0 .quad 0 .quad 0 .quad L_.str.18 .quad L_.str.19 .quad L_.str.20 .quad 0 .quad 0 .quad 0 .quad L_.str.21 .quad L_.str.22 .quad L_.str.23 .quad 0 .quad 0 .quad 0 .quad L_.str.24 .quad L_.str.25 .quad L_.str.26 .quad 0 .quad 0 .quad 0 .quad L_.str.27 .quad L_.str.28 .quad L_.str.29 .quad 0 .quad 0 .quad 0 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "24f11cce8a1b3d61e441561a696c1c1b7e173d084fd4812425435a8896a013dc" L_.str.1: ## @.str.1 .asciz "d9660c5900ae19ddad28d6e06e45fe5e" L_.str.2: ## @.str.2 .asciz "5966b3eec3bff1189f831f06afe4d4e3be97fa9235ec8c20d08acfbbb4e851e3" L_.str.3: ## @.str.3 .asciz "80a5f6272031e18bb9bcd84f3385da65e7731b7039f13f5e3d475364cd4d42f7" L_.str.4: ## @.str.4 .asciz "c0eccc384b44c88e92c57eb2d5ca4dfa" L_.str.5: ## @.str.5 .asciz "6ed11741f724009a640a44fce7320954c46e18e0d7ae063bdbc8d7cf372709df" L_.str.6: ## @.str.6 .asciz "cb1fc686c0eec11a89438b6f4013bf110e7171dace3297f3a657a309b3199629" L_.str.7: ## @.str.7 .asciz "fcd49b93e5f8f299227e64d40dc864a3" L_.str.8: ## @.str.8 .asciz "84b7e96937a1a0a406bb7162eeaad34308d49de60fd2f7ec9dc6a79cbab2ca34" L_.str.9: ## @.str.9 .asciz "6640f4d80af5496ca1bc2cfff1fefbe99638dbceaabd7d0ade118999d45f053d" L_.str.10: ## @.str.10 .asciz "31f59ceeeafdbfe8cae7914caeba90d6" L_.str.11: ## @.str.11 .asciz "9af4697d2f5574a44834a2c2ae1a0505af9f5d869dbe381a994a18eb374c36a0" L_.str.12: ## @.str.12 .asciz "0693ff36d971225a44ac92c092c60b399e672e4cc5aafd5e31426f123787ac27" L_.str.13: ## @.str.13 .asciz "3a6293da061da405db45be1731d5fc4d" L_.str.14: ## @.str.14 .asciz "f87b38609142c01095bfc425573bb3c698f9ae866b7e4216840b9c4caf3b0865" L_.str.15: ## @.str.15 .asciz "809539bd2639a23bf83578700f055f313561c7785a4a19fc9114086915eee551" L_.str.16: ## @.str.16 .asciz "780c65d6a3318e479c02141d3f0b3918" L_.str.17: ## @.str.17 .asciz "902ea8ce4680c09395ce71874d242f84274243a156938aaa2dd37ac5be382b42" L_.str.18: ## @.str.18 .asciz "1a170ddf25a4fd69b648926e6d794e73408805835c64b2c70efddd8cd1c56ce0" L_.str.19: ## @.str.19 .asciz "05dbee10de87eb0c5acb2b66ebbe67d3" L_.str.20: ## @.str.20 .asciz "a4e20b634c77d7db908d387b48ec2b370059db916e8ea7716dc07238532d5981" L_.str.21: ## @.str.21 .asciz "3b354e4bb69b5b4a1126f509e84cad49f18c9f5f29f0be0c821316a6986e15a6" L_.str.22: ## @.str.22 .asciz "d8a89af02f4b8b2901d8321796388b6c" L_.str.23: ## @.str.23 .asciz "9816cb1a5b61993735a4b161b51ed2265b696e7ded5309c229a5a99f53534fbc" L_.str.24: ## @.str.24 .asciz "4b9a818892e15a530db50dd2832e95ee192e5ed6afffb408bd624a0c4e12a081" L_.str.25: ## @.str.25 .asciz "a9079c551de70501be0286d1bc78b045" L_.str.26: ## @.str.26 .asciz "ebc5224cf41ea97473683b6c2f38a084bf6e1feaaeff62676db59d5b719d999b" L_.str.27: ## @.str.27 .asciz "c49758f00003714c38f1d4972bde57ee8271f543b91e07ebce56b554eb7fa6a7" L_.str.28: ## @.str.28 .asciz "31f0204e10cf4f2035f9e62bb5ba7303" L_.str.29: ## @.str.29 .asciz "0dd8cc400f702d2c06ed920be52048a287076b86480ae273c6d568a2e9e7518c" .comm _crypto_core_hchacha20_CONSTBYTES,4,2 ## @crypto_core_hchacha20_CONSTBYTES .comm _crypto_core_hchacha20_KEYBYTES,4,2 ## @crypto_core_hchacha20_KEYBYTES .comm _crypto_core_hchacha20_INPUTBYTES,4,2 ## @crypto_core_hchacha20_INPUTBYTES .comm _crypto_core_hchacha20_OUTPUTBYTES,4,2 ## @crypto_core_hchacha20_OUTPUTBYTES L_.str.30: ## @.str.30 .asciz "0d29b795c1ca70c1652e823364d32417" L_.str.31: ## @.str.31 .asciz "934d941d78eb9bfc2f0376f7ccd4a11ecf0c6a44104618a9749ef47fe97037a2" L_str: ## @str .asciz "tv_hchacha20: ok" .no_dead_strip _tv_hchacha20 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tv_hchacha20 _tv_hchacha20: ; @tv_hchacha20 .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, _crypto_core_hchacha20_CONSTBYTES@GOTPAGE Lloh1: ldr x8, [x8, _crypto_core_hchacha20_CONSTBYTES@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _sodium_malloc str x0, [sp, #8] ; 8-byte Folded Spill Lloh3: adrp x8, _crypto_core_hchacha20_KEYBYTES@GOTPAGE Lloh4: ldr x8, [x8, _crypto_core_hchacha20_KEYBYTES@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _sodium_malloc mov x20, x0 Lloh6: adrp x8, _crypto_core_hchacha20_INPUTBYTES@GOTPAGE Lloh7: ldr x8, [x8, _crypto_core_hchacha20_INPUTBYTES@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _sodium_malloc mov x21, x0 Lloh9: adrp x26, _crypto_core_hchacha20_OUTPUTBYTES@GOTPAGE Lloh10: ldr x26, [x26, _crypto_core_hchacha20_OUTPUTBYTES@GOTPAGEOFF] ldr w0, [x26] bl _sodium_malloc mov x22, x0 ldr w0, [x26] bl _sodium_malloc mov x23, x0 mov x19, #0 Lloh11: adrp x27, _tv_hchacha20.tvs@PAGE Lloh12: add x27, x27, _tv_hchacha20.tvs@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 Lloh13: adrp x8, _crypto_core_hchacha20_KEYBYTES@GOTPAGE Lloh14: ldr x8, [x8, _crypto_core_hchacha20_KEYBYTES@GOTPAGEOFF] Lloh15: ldr w24, [x8] add x28, x27, x19 ldr x25, [x28, #24] mov x0, x25 bl _strlen mov x3, x0 mov x0, x20 mov x1, x24 mov x2, x25 mov x4, #0 mov x5, #0 mov x6, #0 bl _sodium_hex2bin Lloh16: adrp x8, _crypto_core_hchacha20_INPUTBYTES@GOTPAGE Lloh17: ldr x8, [x8, _crypto_core_hchacha20_INPUTBYTES@GOTPAGEOFF] Lloh18: ldr w24, [x8] ldr x25, [x28, #32] mov x0, x25 bl _strlen mov x3, x0 mov x0, x21 mov x1, x24 mov x2, x25 mov x4, #0 mov x5, #0 mov x6, #0 bl _sodium_hex2bin ldr w24, [x26] ldr x25, [x28, #40] mov x0, x25 bl _strlen mov x3, x0 mov x0, x22 mov x1, x24 mov x2, x25 mov x4, #0 mov x5, #0 mov x6, #0 bl _sodium_hex2bin mov x0, x23 mov x1, x21 mov x2, x20 mov x3, #0 bl _crypto_core_hchacha20 ldr w2, [x26] mov x0, x22 mov x1, x23 bl _memcmp cmp x0, #0 cset w0, eq bl _assert add x19, x19, #48 cmp x19, #480 b.ne LBB0_1 ; %bb.2: Lloh19: adrp x19, _crypto_core_hchacha20_CONSTBYTES@GOTPAGE Lloh20: ldr x19, [x19, _crypto_core_hchacha20_CONSTBYTES@GOTPAGEOFF] ldr w1, [x19] mov w24, #1 mov w3, #1 bfi w3, w1, #1, #31 Lloh21: adrp x2, l_.str.30@PAGE Lloh22: add x2, x2, l_.str.30@PAGEOFF ldr x25, [sp, #8] ; 8-byte Folded Reload mov x0, x25 mov x4, #0 mov x5, #0 mov x6, #0 bl _sodium_hex2bin ldr w1, [x26] bfi w24, w1, #1, #31 Lloh23: adrp x2, l_.str.31@PAGE Lloh24: add x2, x2, l_.str.31@PAGEOFF mov x0, x22 mov x3, x24 mov x4, #0 mov x5, #0 mov x6, #0 bl _sodium_hex2bin mov x0, x23 mov x1, x21 mov x2, x20 mov x3, x25 bl _crypto_core_hchacha20 ldr w2, [x26] mov x0, x22 mov x1, x23 bl _memcmp cmp x0, #0 cset w0, eq bl _assert mov x0, x23 bl _sodium_free mov x0, x22 bl _sodium_free mov x0, x21 bl _sodium_free mov x0, x20 bl _sodium_free mov x0, x25 bl _sodium_free bl _crypto_core_hchacha20_outputbytes ldr w8, [x26] cmp w0, w8 cset w0, eq bl _assert bl _crypto_core_hchacha20_inputbytes Lloh25: adrp x8, _crypto_core_hchacha20_INPUTBYTES@GOTPAGE Lloh26: ldr x8, [x8, _crypto_core_hchacha20_INPUTBYTES@GOTPAGEOFF] Lloh27: ldr w8, [x8] cmp w0, w8 cset w0, eq bl _assert bl _crypto_core_hchacha20_keybytes Lloh28: adrp x8, _crypto_core_hchacha20_KEYBYTES@GOTPAGE Lloh29: ldr x8, [x8, _crypto_core_hchacha20_KEYBYTES@GOTPAGEOFF] Lloh30: ldr w8, [x8] cmp w0, w8 cset w0, eq bl _assert bl _crypto_core_hchacha20_constbytes ldr w8, [x19] cmp w0, w8 cset w0, eq bl _assert Lloh31: adrp x0, l_str@PAGE Lloh32: add x0, x0, l_str@PAGEOFF ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _puts .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .cfi_endproc ; -- End function .section __DATA,__const .p2align 3 ; @tv_hchacha20.tvs _tv_hchacha20.tvs: .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad 0 .quad 0 .quad 0 .quad l_.str.3 .quad l_.str.4 .quad l_.str.5 .quad 0 .quad 0 .quad 0 .quad l_.str.6 .quad l_.str.7 .quad l_.str.8 .quad 0 .quad 0 .quad 0 .quad l_.str.9 .quad l_.str.10 .quad l_.str.11 .quad 0 .quad 0 .quad 0 .quad l_.str.12 .quad l_.str.13 .quad l_.str.14 .quad 0 .quad 0 .quad 0 .quad l_.str.15 .quad l_.str.16 .quad l_.str.17 .quad 0 .quad 0 .quad 0 .quad l_.str.18 .quad l_.str.19 .quad l_.str.20 .quad 0 .quad 0 .quad 0 .quad l_.str.21 .quad l_.str.22 .quad l_.str.23 .quad 0 .quad 0 .quad 0 .quad l_.str.24 .quad l_.str.25 .quad l_.str.26 .quad 0 .quad 0 .quad 0 .quad l_.str.27 .quad l_.str.28 .quad l_.str.29 .quad 0 .quad 0 .quad 0 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "24f11cce8a1b3d61e441561a696c1c1b7e173d084fd4812425435a8896a013dc" l_.str.1: ; @.str.1 .asciz "d9660c5900ae19ddad28d6e06e45fe5e" l_.str.2: ; @.str.2 .asciz "5966b3eec3bff1189f831f06afe4d4e3be97fa9235ec8c20d08acfbbb4e851e3" l_.str.3: ; @.str.3 .asciz "80a5f6272031e18bb9bcd84f3385da65e7731b7039f13f5e3d475364cd4d42f7" l_.str.4: ; @.str.4 .asciz "c0eccc384b44c88e92c57eb2d5ca4dfa" l_.str.5: ; @.str.5 .asciz "6ed11741f724009a640a44fce7320954c46e18e0d7ae063bdbc8d7cf372709df" l_.str.6: ; @.str.6 .asciz "cb1fc686c0eec11a89438b6f4013bf110e7171dace3297f3a657a309b3199629" l_.str.7: ; @.str.7 .asciz "fcd49b93e5f8f299227e64d40dc864a3" l_.str.8: ; @.str.8 .asciz "84b7e96937a1a0a406bb7162eeaad34308d49de60fd2f7ec9dc6a79cbab2ca34" l_.str.9: ; @.str.9 .asciz "6640f4d80af5496ca1bc2cfff1fefbe99638dbceaabd7d0ade118999d45f053d" l_.str.10: ; @.str.10 .asciz "31f59ceeeafdbfe8cae7914caeba90d6" l_.str.11: ; @.str.11 .asciz "9af4697d2f5574a44834a2c2ae1a0505af9f5d869dbe381a994a18eb374c36a0" l_.str.12: ; @.str.12 .asciz "0693ff36d971225a44ac92c092c60b399e672e4cc5aafd5e31426f123787ac27" l_.str.13: ; @.str.13 .asciz "3a6293da061da405db45be1731d5fc4d" l_.str.14: ; @.str.14 .asciz "f87b38609142c01095bfc425573bb3c698f9ae866b7e4216840b9c4caf3b0865" l_.str.15: ; @.str.15 .asciz "809539bd2639a23bf83578700f055f313561c7785a4a19fc9114086915eee551" l_.str.16: ; @.str.16 .asciz "780c65d6a3318e479c02141d3f0b3918" l_.str.17: ; @.str.17 .asciz "902ea8ce4680c09395ce71874d242f84274243a156938aaa2dd37ac5be382b42" l_.str.18: ; @.str.18 .asciz "1a170ddf25a4fd69b648926e6d794e73408805835c64b2c70efddd8cd1c56ce0" l_.str.19: ; @.str.19 .asciz "05dbee10de87eb0c5acb2b66ebbe67d3" l_.str.20: ; @.str.20 .asciz "a4e20b634c77d7db908d387b48ec2b370059db916e8ea7716dc07238532d5981" l_.str.21: ; @.str.21 .asciz "3b354e4bb69b5b4a1126f509e84cad49f18c9f5f29f0be0c821316a6986e15a6" l_.str.22: ; @.str.22 .asciz "d8a89af02f4b8b2901d8321796388b6c" l_.str.23: ; @.str.23 .asciz "9816cb1a5b61993735a4b161b51ed2265b696e7ded5309c229a5a99f53534fbc" l_.str.24: ; @.str.24 .asciz "4b9a818892e15a530db50dd2832e95ee192e5ed6afffb408bd624a0c4e12a081" l_.str.25: ; @.str.25 .asciz "a9079c551de70501be0286d1bc78b045" l_.str.26: ; @.str.26 .asciz "ebc5224cf41ea97473683b6c2f38a084bf6e1feaaeff62676db59d5b719d999b" l_.str.27: ; @.str.27 .asciz "c49758f00003714c38f1d4972bde57ee8271f543b91e07ebce56b554eb7fa6a7" l_.str.28: ; @.str.28 .asciz "31f0204e10cf4f2035f9e62bb5ba7303" l_.str.29: ; @.str.29 .asciz "0dd8cc400f702d2c06ed920be52048a287076b86480ae273c6d568a2e9e7518c" .comm _crypto_core_hchacha20_CONSTBYTES,4,2 ; @crypto_core_hchacha20_CONSTBYTES .comm _crypto_core_hchacha20_KEYBYTES,4,2 ; @crypto_core_hchacha20_KEYBYTES .comm _crypto_core_hchacha20_INPUTBYTES,4,2 ; @crypto_core_hchacha20_INPUTBYTES .comm _crypto_core_hchacha20_OUTPUTBYTES,4,2 ; @crypto_core_hchacha20_OUTPUTBYTES l_.str.30: ; @.str.30 .asciz "0d29b795c1ca70c1652e823364d32417" l_.str.31: ; @.str.31 .asciz "934d941d78eb9bfc2f0376f7ccd4a11ecf0c6a44104618a9749ef47fe97037a2" l_str: ; @str .asciz "tv_hchacha20: ok" .no_dead_strip _tv_hchacha20 .subsections_via_symbols
AnghaBench/libsodium/test/default/extr_xchacha20.c_tv_hchacha20.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function jsL_checkuint64 _jsL_checkuint64: ## @jsL_checkuint64 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx callq _js_tonumber xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jb LBB0_2 ## %bb.1: movq _UINT64_MAX@GOTPCREL(%rip), %rax movsd (%rax), %xmm1 ## xmm1 = mem[0],zero ucomisd %xmm0, %xmm1 jae LBB0_3 LBB0_2: leaq L_.str(%rip), %rsi movq %rbx, %rdi movl %r14d, %edx movsd %xmm0, -24(%rbp) ## 8-byte Spill callq _js_error movsd -24(%rbp), %xmm0 ## 8-byte Reload ## xmm0 = mem[0],zero LBB0_3: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _UINT64_MAX,8,3 ## @UINT64_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "uint64 out of range at index %d" .no_dead_strip _jsL_checkuint64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function jsL_checkuint64 _jsL_checkuint64: ; @jsL_checkuint64 .cfi_startproc ; %bb.0: stp d9, d8, [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 b8, -40 .cfi_offset b9, -48 mov x19, x1 mov x20, x0 bl _js_tonumber fmov d8, d0 Lloh0: adrp x8, _UINT64_MAX@GOTPAGE Lloh1: ldr x8, [x8, _UINT64_MAX@GOTPAGEOFF] Lloh2: ldr d0, [x8] fcmp d8, #0.0 fccmp d8, d0, #2, ge b.ls LBB0_2 ; %bb.1: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov x2, x19 bl _js_error LBB0_2: fmov d0, d8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _UINT64_MAX,8,3 ; @UINT64_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "uint64 out of range at index %d" .no_dead_strip _jsL_checkuint64 .subsections_via_symbols
AnghaBench/mpv/player/extr_javascript.c_jsL_checkuint64.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___aeabi_unwind_cpp_pr0 ## -- Begin function __aeabi_unwind_cpp_pr0 .p2align 4, 0x90 ___aeabi_unwind_cpp_pr0: ## @__aeabi_unwind_cpp_pr0 .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 ___aeabi_unwind_cpp_pr1 ## -- Begin function __aeabi_unwind_cpp_pr1 .p2align 4, 0x90 ___aeabi_unwind_cpp_pr1: ## @__aeabi_unwind_cpp_pr1 .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 ___aeabi_unwind_cpp_pr2 ## -- Begin function __aeabi_unwind_cpp_pr2 .p2align 4, 0x90 ___aeabi_unwind_cpp_pr2: ## @__aeabi_unwind_cpp_pr2 .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 ___aeabi_unwind_cpp_pr0 ; -- Begin function __aeabi_unwind_cpp_pr0 .p2align 2 ___aeabi_unwind_cpp_pr0: ; @__aeabi_unwind_cpp_pr0 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl ___aeabi_unwind_cpp_pr1 ; -- Begin function __aeabi_unwind_cpp_pr1 .p2align 2 ___aeabi_unwind_cpp_pr1: ; @__aeabi_unwind_cpp_pr1 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl ___aeabi_unwind_cpp_pr2 ; -- Begin function __aeabi_unwind_cpp_pr2 .p2align 2 ___aeabi_unwind_cpp_pr2: ; @__aeabi_unwind_cpp_pr2 .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/59512168.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _read_command_lines ## -- Begin function read_command_lines .p2align 4, 0x90 _read_command_lines: ## @read_command_lines .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rsi movq _control_level@GOTPCREL(%rip), %rax movq $0, (%rax) movq _END_MESSAGE@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rdi callq _readline_begin_hook movq $0, -48(%rbp) xorl %eax, %eax movq %rax, -56(%rbp) ## 8-byte Spill leaq -64(%rbp), %rbx movq _nop_command@GOTPCREL(%rip), %r14 movq _end_command@GOTPCREL(%rip), %r13 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _read_next_line cmpl (%r14), %eax je LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl (%r13), %eax je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq _ok_command@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_5 ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movq -64(%rbp), %rdi movq (%rdi), %rax movq _while_control@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 movq _if_control@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_13 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movq _control_level@GOTPCREL(%rip), %r12 incq (%r12) callq _recurse_read_control_structure decq (%r12) movl %eax, %r12d movq _invalid_control@GOTPCREL(%rip), %rax cmpl (%rax), %r12d je LBB0_7 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movq -64(%rbp), %rax testq %r15, %r15 je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_1 Depth=1 movq %rax, 8(%r15) movq %rax, %r15 jmp LBB0_1 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 movq %rax, -48(%rbp) leaq -48(%rbp), %rdi callq _make_cleanup_free_command_lines movq %rax, -56(%rbp) ## 8-byte Spill movq -64(%rbp), %r15 jmp LBB0_1 LBB0_3: movq _simple_control@GOTPCREL(%rip), %rax jmp LBB0_6 LBB0_5: movq _invalid_control@GOTPCREL(%rip), %rax LBB0_6: movl (%rax), %r12d LBB0_7: xorl %eax, %eax callq _dont_repeat cmpq $0, -48(%rbp) je LBB0_17 ## %bb.8: movq _invalid_control@GOTPCREL(%rip), %rax cmpl (%rax), %r12d jne LBB0_9 ## %bb.16: movq -56(%rbp), %rdi ## 8-byte Reload callq _do_cleanups jmp LBB0_17 LBB0_9: movq -56(%rbp), %rdi ## 8-byte Reload callq _discard_cleanups LBB0_17: xorl %eax, %eax callq _readline_end_hook movq -48(%rbp), %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _control_level,8,3 ## @control_level .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s %s\n" .comm _END_MESSAGE,4,2 ## @END_MESSAGE .comm _gdb_stdout,4,2 ## @gdb_stdout .comm _nop_command,4,2 ## @nop_command .comm _end_command,4,2 ## @end_command .comm _simple_control,4,2 ## @simple_control .comm _ok_command,4,2 ## @ok_command .comm _invalid_control,4,2 ## @invalid_control .comm _while_control,8,3 ## @while_control .comm _if_control,8,3 ## @if_control .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _read_command_lines ; -- Begin function read_command_lines .p2align 2 _read_command_lines: ; @read_command_lines .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x1, x0 Lloh0: adrp x22, _control_level@GOTPAGE Lloh1: ldr x22, [x22, _control_level@GOTPAGEOFF] str xzr, [x22] Lloh2: adrp x8, _END_MESSAGE@GOTPAGE Lloh3: ldr x8, [x8, _END_MESSAGE@GOTPAGEOFF] Lloh4: ldr w2, [x8] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _readline_begin_hook mov x19, #0 mov x28, #0 str xzr, [sp, #8] Lloh7: adrp x23, _nop_command@GOTPAGE Lloh8: ldr x23, [x23, _nop_command@GOTPAGEOFF] Lloh9: adrp x24, _end_command@GOTPAGE Lloh10: ldr x24, [x24, _end_command@GOTPAGEOFF] Lloh11: adrp x25, _ok_command@GOTPAGE Lloh12: ldr x25, [x25, _ok_command@GOTPAGEOFF] Lloh13: adrp x26, _while_control@GOTPAGE Lloh14: ldr x26, [x26, _while_control@GOTPAGEOFF] Lloh15: adrp x27, _if_control@GOTPAGE Lloh16: ldr x27, [x27, _if_control@GOTPAGEOFF] Lloh17: adrp x21, _invalid_control@GOTPAGE Lloh18: ldr x21, [x21, _invalid_control@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, sp bl _read_next_line ldr w8, [x23] cmp w0, w8 b.eq LBB0_1 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x24] cmp w0, w8 b.eq LBB0_9 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x25] cmp w0, w8 b.ne LBB0_10 ; %bb.4: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp] ldr x8, [x0] ldr x9, [x26] ldr x10, [x27] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x22] add x8, x8, #1 str x8, [x22] bl _recurse_read_control_structure ldr x8, [x22] sub x8, x8, #1 str x8, [x22] ldr w8, [x21] cmp w0, w8 b.eq LBB0_11 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp] cbz x28, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_1 Depth=1 str x8, [x28, #8] mov x28, x8 b LBB0_1 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 str x8, [sp, #8] add x0, sp, #8 bl _make_cleanup_free_command_lines mov x19, x0 ldr x28, [sp] b LBB0_1 LBB0_9: Lloh19: adrp x8, _simple_control@GOTPAGE Lloh20: ldr x8, [x8, _simple_control@GOTPAGEOFF] Lloh21: ldr w20, [x8] b LBB0_12 LBB0_10: ldr w20, [x21] b LBB0_12 LBB0_11: mov x20, x0 LBB0_12: bl _dont_repeat ldr x8, [sp, #8] cbz x8, LBB0_16 ; %bb.13: ldr w8, [x21] mov x0, x19 cmp w20, w8 b.ne LBB0_15 ; %bb.14: bl _do_cleanups b LBB0_16 LBB0_15: bl _discard_cleanups LBB0_16: bl _readline_end_hook ldr x0, [sp, #8] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _control_level,8,3 ; @control_level .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s %s\n" .comm _END_MESSAGE,4,2 ; @END_MESSAGE .comm _gdb_stdout,4,2 ; @gdb_stdout .comm _nop_command,4,2 ; @nop_command .comm _end_command,4,2 ; @end_command .comm _simple_control,4,2 ; @simple_control .comm _ok_command,4,2 ; @ok_command .comm _invalid_control,4,2 ; @invalid_control .comm _while_control,8,3 ; @while_control .comm _if_control,8,3 ; @if_control .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/cli/extr_cli-script.c_read_command_lines.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mlxsw_sp_rif_create _mlxsw_sp_rif_create: ## @mlxsw_sp_rif_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movl (%rsi), %edi callq _l3mdev_fib_table movq %rax, %r14 movl (%r12), %esi movq %rbx, %rdi callq _mlxsw_sp_dev_rif_type movq 8(%rbx), %rcx movl %eax, %eax testq %r14, %r14 jne LBB0_2 ## %bb.1: movq _RT_TABLE_MAIN@GOTPCREL(%rip), %rdx movl (%rdx), %r14d LBB0_2: movq (%rcx,%rax,8), %r13 movq %rbx, %rdi movl %r14d, %esi movq %r15, %rdx callq _mlxsw_sp_vr_get movq %rax, %r14 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_3 ## %bb.29: movq %r14, %rdi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ERR_CAST ## TAILCALL LBB0_3: movq %r13, -48(%rbp) ## 8-byte Spill decl (%r14) leaq -64(%rbp), %rsi movq %rbx, %rdi callq _mlxsw_sp_rif_index_alloc testl %eax, %eax je LBB0_6 ## %bb.4: movl %eax, %r13d leaq L_.str(%rip), %rsi movq %r15, %rdi callq _NL_SET_ERR_MSG_MOD jmp LBB0_5 LBB0_6: movq -48(%rbp), %rax ## 8-byte Reload movl 32(%rax), %edi movq -64(%rbp), %rsi movl 16(%r14), %edx movl (%r12), %ecx callq _mlxsw_sp_rif_alloc testq %rax, %rax je LBB0_7 ## %bb.8: movq %rax, %r13 movl (%rax), %edi callq _dev_hold movq (%rbx), %rax movq (%rax), %rax movq -64(%rbp), %rcx movq %r13, (%rax,%rcx,8) movq %rbx, 24(%r13) movq -48(%rbp), %rax ## 8-byte Reload movq %rax, 16(%r13) movq 24(%rax), %rax testq %rax, %rax movq %r13, -56(%rbp) ## 8-byte Spill je LBB0_9 ## %bb.10: movq %r13, %rdi movq %r15, %rsi callq *%rax movq %rax, %r15 movq %rax, %rdi callq _IS_ERR testq %rax, %rax je LBB0_13 ## %bb.11: movq %r15, %rdi callq _PTR_ERR movl %eax, %r13d jmp LBB0_12 LBB0_7: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r13d, %r13d subl (%rax), %r13d jmp LBB0_5 LBB0_9: xorl %r15d, %r15d jmp LBB0_14 LBB0_13: movq %r15, 8(%r13) LBB0_14: movq -48(%rbp), %rax ## 8-byte Reload movq 16(%rax), %rax testq %rax, %rax je LBB0_16 ## %bb.15: movq %r13, %rdi movq %r12, %rsi callq *%rax LBB0_16: movq %r13, %rdi movq -48(%rbp), %rax ## 8-byte Reload callq *(%rax) movl %eax, %r13d testl %eax, %eax je LBB0_17 ## %bb.24: testq %r15, %r15 je LBB0_12 LBB0_25: movq %r15, %rdi callq _mlxsw_sp_fid_put LBB0_12: movq (%rbx), %rax movq (%rax), %rax movq -64(%rbp), %rcx movq $0, (%rax,%rcx,8) movq -56(%rbp), %r12 ## 8-byte Reload movl (%r12), %edi callq _dev_put movq %r12, %rdi callq _kfree LBB0_5: decl (%r14) movq %rbx, %rdi movq %r14, %rsi callq _mlxsw_sp_vr_put movl %r13d, %edi callq _ERR_PTR movq %rax, %r12 LBB0_28: movq %r12, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_17: movq %r15, -72(%rbp) ## 8-byte Spill movq _MLXSW_SP_L3_PROTO_MAX@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_27 ## %bb.18: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_19: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rax movl (%rax,%r15,4), %edi movq -56(%rbp), %rsi ## 8-byte Reload callq _mlxsw_sp_mr_rif_add testl %eax, %eax jne LBB0_20 ## %bb.26: ## in Loop: Header=BB0_19 Depth=1 incq %r15 movq _MLXSW_SP_L3_PROTO_MAX@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r15 jl LBB0_19 LBB0_27: movq -56(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi callq _mlxsw_sp_rif_counters_alloc jmp LBB0_28 LBB0_20: movl %eax, %r13d testq %r15, %r15 movq -56(%rbp), %r12 ## 8-byte Reload je LBB0_23 ## %bb.21: incq %r15 LBB0_22: ## =>This Inner Loop Header: Depth=1 leal -2(%r15), %eax movq 8(%r14), %rcx movl (%rcx,%rax,4), %edi movq %r12, %rsi callq _mlxsw_sp_mr_rif_del decq %r15 cmpq $1, %r15 jg LBB0_22 LBB0_23: movq %r12, %rdi movq -48(%rbp), %rax ## 8-byte Reload callq *8(%rax) movq -72(%rbp), %r15 ## 8-byte Reload testq %r15, %r15 jne LBB0_25 jmp LBB0_12 .cfi_endproc ## -- End function .comm _RT_TABLE_MAIN,4,2 ## @RT_TABLE_MAIN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Exceeded number of supported router interfaces" .comm _ENOMEM,4,2 ## @ENOMEM .comm _MLXSW_SP_L3_PROTO_MAX,4,2 ## @MLXSW_SP_L3_PROTO_MAX .no_dead_strip _mlxsw_sp_rif_create .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mlxsw_sp_rif_create _mlxsw_sp_rif_create: ; @mlxsw_sp_rif_create .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x23, x2 mov x22, x1 mov x19, x0 ldr w0, [x1] bl _l3mdev_fib_table mov x20, x0 ldr w1, [x22] mov x0, x19 bl _mlxsw_sp_dev_rif_type ldr x8, [x19, #8] ldr x24, [x8, w0, uxtw #3] Lloh0: adrp x8, _RT_TABLE_MAIN@GOTPAGE Lloh1: ldr x8, [x8, _RT_TABLE_MAIN@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp x20, #0 csel w1, w8, w20, eq mov x0, x19 mov x2, x23 bl _mlxsw_sp_vr_get mov x20, x0 bl _IS_ERR cbz x0, LBB0_2 ; %bb.1: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 b _ERR_CAST LBB0_2: ldr w8, [x20] sub w8, w8, #1 str w8, [x20] add x1, sp, #8 mov x0, x19 bl _mlxsw_sp_rif_index_alloc cbz w0, LBB0_4 ; %bb.3: mov x22, x0 Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x23 bl _NL_SET_ERR_MSG_MOD b LBB0_15 LBB0_4: ldr w0, [x24, #32] ldr x1, [sp, #8] ldr w2, [x20, #16] ldr w3, [x22] bl _mlxsw_sp_rif_alloc cbz x0, LBB0_8 ; %bb.5: mov x21, x0 ldr w0, [x0] bl _dev_hold ldr x8, [x19] ldr x8, [x8] ldr x9, [sp, #8] str x21, [x8, x9, lsl #3] stp x24, x19, [x21, #16] ldr x8, [x24, #24] cbz x8, LBB0_9 ; %bb.6: mov x0, x21 mov x1, x23 blr x8 mov x23, x0 bl _IS_ERR cbz x0, LBB0_17 ; %bb.7: mov x0, x23 bl _PTR_ERR mov x22, x0 b LBB0_14 LBB0_8: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w22, w8 b LBB0_15 LBB0_9: mov x23, #0 ; =0x0 ldr x8, [x24, #16] cbz x8, LBB0_11 LBB0_10: mov x0, x21 mov x1, x22 blr x8 LBB0_11: ldr x8, [x24] mov x0, x21 blr x8 cbz w0, LBB0_18 ; %bb.12: mov x22, x0 cbz x23, LBB0_14 LBB0_13: mov x0, x23 bl _mlxsw_sp_fid_put LBB0_14: ldr x8, [x19] ldr x8, [x8] ldr x9, [sp, #8] str xzr, [x8, x9, lsl #3] ldr w0, [x21] bl _dev_put mov x0, x21 bl _kfree LBB0_15: ldr w8, [x20] sub w8, w8, #1 str w8, [x20] mov x0, x19 mov x1, x20 bl _mlxsw_sp_vr_put mov x0, x22 bl _ERR_PTR mov x21, x0 LBB0_16: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_17: str x23, [x21, #8] ldr x8, [x24, #16] cbnz x8, LBB0_10 b LBB0_11 LBB0_18: Lloh8: adrp x22, _MLXSW_SP_L3_PROTO_MAX@GOTPAGE Lloh9: ldr x22, [x22, _MLXSW_SP_L3_PROTO_MAX@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_22 ; %bb.19: mov x25, #0 ; =0x0 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr w0, [x8, x25, lsl #2] mov x1, x21 bl _mlxsw_sp_mr_rif_add cbnz w0, LBB0_23 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 add x25, x25, #1 ldrsw x8, [x22] cmp x25, x8 b.lt LBB0_20 LBB0_22: mov x0, x21 bl _mlxsw_sp_rif_counters_alloc b LBB0_16 LBB0_23: mov x22, x0 cbz x25, LBB0_26 ; %bb.24: add x25, x25, #1 LBB0_25: ; =>This Inner Loop Header: Depth=1 sub w8, w25, #2 ldr x9, [x20, #8] ldr w0, [x9, w8, uxtw #2] mov x1, x21 bl _mlxsw_sp_mr_rif_del sub x25, x25, #1 cmp x25, #1 b.gt LBB0_25 LBB0_26: ldr x8, [x24, #8] mov x0, x21 blr x8 mov x0, x22 mov x22, x0 cbnz x23, LBB0_13 b LBB0_14 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _RT_TABLE_MAIN,4,2 ; @RT_TABLE_MAIN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Exceeded number of supported router interfaces" .comm _ENOMEM,4,2 ; @ENOMEM .comm _MLXSW_SP_L3_PROTO_MAX,4,2 ; @MLXSW_SP_L3_PROTO_MAX .no_dead_strip _mlxsw_sp_rif_create .subsections_via_symbols
assembly_file_61181.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function error _error: ## @error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi callq _puts movq %rbx, %rdi callq _puts leaq L_.str.1(%rip), %rdi callq _puts .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 jmp LBB0_1 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n\n" L_.str.1: ## @.str.1 .asciz "\n\n -- System halted" .no_dead_strip _error .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function error _error: ; @error .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 x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _puts mov x0, x19 bl _puts Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _puts LBB0_1: ; =>This Inner Loop Header: Depth=1 b LBB0_1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n\n" l_.str.1: ; @.str.1 .asciz "\n\n -- System halted" .no_dead_strip _error .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/sh/boot/compressed/extr_misc.c_error.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 LCPI0_1: .quad 0x401921fb54442d18 ## double 6.2831853071795862 .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 $48, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi leaq -48(%rbp), %rsi leaq -40(%rbp), %rdx xorl %eax, %eax callq _scanf cmpl $2, %eax jne LBB0_3 ## %bb.1: leaq L_.str.1(%rip), %r14 leaq L_.str(%rip), %r15 leaq -48(%rbp), %r12 leaq -40(%rbp), %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero movsd %xmm0, -72(%rbp) ## 8-byte Spill mulsd LCPI0_0(%rip), %xmm0 movsd %xmm0, -56(%rbp) ## 8-byte Spill movsd -40(%rbp), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, -64(%rbp) ## 8-byte Spill movsd LCPI0_1(%rip), %xmm0 ## xmm0 = mem[0],zero divsd %xmm1, %xmm0 callq _sin mulsd -56(%rbp), %xmm0 ## 8-byte Folded Reload mulsd -72(%rbp), %xmm0 ## 8-byte Folded Reload mulsd -64(%rbp), %xmm0 ## 8-byte Folded Reload movq %r14, %rdi movb $1, %al callq _printf movq %r15, %rdi movq %r12, %rsi movq %rbx, %rdx xorl %eax, %eax callq _scanf cmpl $2, %eax je LBB0_2 LBB0_3: xorl %eax, %eax addq $48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lf %lf" L_.str.1: ## @.str.1 .asciz "%.3lf\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, #128 .cfi_def_cfa_offset 128 stp d11, d10, [sp, #32] ; 16-byte Folded Spill stp d9, d8, [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 b8, -72 .cfi_offset b9, -80 .cfi_offset b10, -88 .cfi_offset b11, -96 add x21, sp, #16 add x22, sp, #24 stp x22, x21, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf cmp w0, #2 b.ne LBB0_3 ; %bb.1: fmov d8, #0.50000000 mov x23, #11544 movk x23, #21572, lsl #16 movk x23, #8699, lsl #32 movk x23, #16409, lsl #48 Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF Lloh4: adrp x20, l_.str@PAGE Lloh5: add x20, x20, l_.str@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldp d11, d9, [sp, #16] fmul d10, d9, d8 fmov d0, x23 fdiv d0, d0, d11 bl _sin fmul d0, d10, d0 fmul d0, d9, d0 fmul d0, d11, d0 str d0, [sp] mov x0, x19 bl _printf stp x22, x21, [sp] mov x0, x20 bl _scanf cmp w0, #2 b.eq LBB0_2 LBB0_3: mov w0, #0 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 d9, d8, [sp, #48] ; 16-byte Folded Reload ldp d11, d10, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%lf %lf" l_.str.1: ; @.str.1 .asciz "%.3lf\n" .subsections_via_symbols
the_stack_data/101038.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ab8500_fg_get_ext_psy_data _ab8500_fg_get_ext_psy_data: ## @ab8500_fg_get_ext_psy_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx callq _dev_get_drvdata movq %rax, %r13 movq 16(%rax), %r15 movq %rbx, %rdi callq _power_supply_get_drvdata movq %rax, %r14 movl 8(%r13), %esi movq (%rbx), %rax movl 20(%rax), %edx movq %r15, %rdi callq _match_string testl %eax, %eax js LBB0_32 ## %bb.1: movq (%r13), %rax cmpl $0, (%rax) jle LBB0_32 ## %bb.2: movq %r14, %rcx addq $48, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill xorl %r15d, %r15d leaq -48(%rbp), %r12 jmp LBB0_3 LBB0_26: ## in Loop: Header=BB0_3 Depth=1 movl $0, 20(%r14) .p2align 4, 0x90 LBB0_31: ## in Loop: Header=BB0_3 Depth=1 incq %r15 movq (%r13), %rax movslq (%rax), %rcx cmpq %rcx, %r15 jge LBB0_32 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %rax movl (%rax,%r15,4), %ebx movq %r13, %rdi movl %ebx, %esi movq %r12, %rdx callq _power_supply_get_property testq %rax, %rax jne LBB0_31 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpl $134, %ebx je LBB0_28 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 cmpl $135, %ebx je LBB0_21 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 cmpl $136, %ebx jne LBB0_31 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq (%r13), %rax cmpl $128, 16(%rax) jne LBB0_31 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movl -48(%rbp), %eax movl $-129, %ecx addl %ecx, %eax cmpl $4, %eax ja LBB0_31 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_10: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, 4(%r14) je LBB0_31 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq $0, 4(%r14) jmp LBB0_12 LBB0_28: ## in Loop: Header=BB0_3 Depth=1 movq (%r13), %rax cmpl $128, 16(%rax) jne LBB0_31 ## %bb.29: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, 16(%r14) je LBB0_31 ## %bb.30: ## in Loop: Header=BB0_3 Depth=1 movl -48(%rbp), %eax movl %eax, (%r14) jmp LBB0_31 LBB0_21: ## in Loop: Header=BB0_3 Depth=1 movq (%r13), %rax cmpl $128, 16(%rax) jne LBB0_31 ## %bb.22: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, 16(%r14) jne LBB0_25 ## %bb.23: ## in Loop: Header=BB0_3 Depth=1 movq 40(%r14), %rcx movq (%rcx), %rax movq _BATTERY_UNKNOWN@GOTPCREL(%rip), %rdx cmpq (%rdx), %rax je LBB0_25 ## %bb.24: ## in Loop: Header=BB0_3 Depth=1 movq 8(%rcx), %rcx movl $1, 16(%r14) movl (%rcx,%rax,8), %edx movq _MILLI_TO_MICRO@GOTPCREL(%rip), %rsi imull (%rsi), %edx movl %edx, 36(%r14) movl %edx, 28(%r14) movl 4(%rcx,%rax,8), %eax movl %eax, 24(%r14) LBB0_25: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, -48(%rbp) jne LBB0_26 ## %bb.27: ## in Loop: Header=BB0_3 Depth=1 movl $1, 20(%r14) jmp LBB0_31 LBB0_16: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, 8(%r14) jne LBB0_31 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 movabsq $4294967297, %rax ## imm = 0x100000001 movq %rax, 8(%r14) movl 32(%r14), %eax movl 52(%r14), %edi movl %eax, 28(%r14) jmp LBB0_15 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, 4(%r14) je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, 8(%r14) je LBB0_31 LBB0_20: ## in Loop: Header=BB0_3 Depth=1 movq $1, 4(%r14) LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq 40(%r14), %rax cmpl $0, 16(%rax) je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi callq _ab8500_fg_update_cap_scalers LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movl 52(%r14), %edi LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rsi ## 8-byte Reload callq _queue_work jmp LBB0_31 LBB0_32: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 LJTI0_0: .long L0_0_set_10 .long L0_0_set_10 .long L0_0_set_16 .long L0_0_set_10 .long L0_0_set_18 .end_data_region ## -- End function .comm _BATTERY_UNKNOWN,8,3 ## @BATTERY_UNKNOWN .comm _MILLI_TO_MICRO,4,2 ## @MILLI_TO_MICRO .no_dead_strip _ab8500_fg_get_ext_psy_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function ab8500_fg_get_ext_psy_data lCPI0_0: .long 1 ; 0x1 .long 0 ; 0x0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _ab8500_fg_get_ext_psy_data: ; @ab8500_fg_get_ext_psy_data .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp d9, d8, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset b8, -104 .cfi_offset b9, -112 mov x21, x1 bl _dev_get_drvdata mov x19, x0 ldr x22, [x0, #16] mov x0, x21 bl _power_supply_get_drvdata mov x20, x0 ldr w1, [x19, #8] ldr x8, [x21] ldr w2, [x8, #20] mov x0, x22 bl _match_string tbnz w0, #31, LBB0_31 ; %bb.1: ldr x8, [x19] ldr w9, [x8] cmp w9, #1 b.lt LBB0_31 ; %bb.2: mov x23, #0 add x21, x20, #48 Lloh0: adrp x24, _BATTERY_UNKNOWN@GOTPAGE Lloh1: ldr x24, [x24, _BATTERY_UNKNOWN@GOTPAGEOFF] Lloh2: adrp x25, _MILLI_TO_MICRO@GOTPAGE Lloh3: ldr x25, [x25, _MILLI_TO_MICRO@GOTPAGEOFF] mov w26, #1 movi.2s v8, #1 Lloh4: adrp x27, lJTI0_0@PAGE Lloh5: add x27, x27, lJTI0_0@PAGEOFF Lloh6: adrp x9, lCPI0_0@PAGE Lloh7: ldr d9, [x9, lCPI0_0@PAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 str wzr, [x20, #20] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x23, x23, #1 ldr x8, [x19] ldrsw x9, [x8] cmp x23, x9 b.ge LBB0_31 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #8] ldr w22, [x8, x23, lsl #2] add x2, sp, #8 mov x0, x19 mov x1, x22 bl _power_supply_get_property cbnz x0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cmp w22, #134 b.eq LBB0_14 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 cmp w22, #135 b.eq LBB0_17 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 cmp w22, #136 b.ne LBB0_4 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19] ldr w8, [x8, #16] cmp w8, #128 b.ne LBB0_4 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #8] sub w8, w8, #129 cmp w8, #4 b.hi LBB0_4 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 adr x9, LBB0_12 ldrb w10, [x27, x8] add x9, x9, x10, lsl #2 br x9 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x20, #4] cbz w8, LBB0_4 ; %bb.13: ; in Loop: Header=BB0_5 Depth=1 stp wzr, wzr, [x20, #4] b LBB0_28 LBB0_14: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19] ldr w8, [x8, #16] cmp w8, #128 b.ne LBB0_4 ; %bb.15: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x20, #16] cbz w8, LBB0_4 ; %bb.16: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #8] str w8, [x20] b LBB0_4 LBB0_17: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19] ldr w8, [x8, #16] cmp w8, #128 b.ne LBB0_4 ; %bb.18: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x20, #16] cbnz w8, LBB0_21 ; %bb.19: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [x20, #40] ldr x8, [x9] ldr x10, [x24] cmp x8, x10 b.eq LBB0_21 ; %bb.20: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [x9, #8] str w26, [x20, #16] ldr w10, [x25] add x8, x9, x8, lsl #3 ldp w9, w8, [x8] mul w9, w9, w10 str w9, [x20, #36] stp w8, w9, [x20, #24] LBB0_21: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #8] cbnz w8, LBB0_3 ; %bb.22: ; in Loop: Header=BB0_5 Depth=1 str w26, [x20, #20] b LBB0_4 LBB0_23: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x20, #8] cbnz w8, LBB0_4 ; %bb.24: ; in Loop: Header=BB0_5 Depth=1 str d8, [x20, #8] ldr w8, [x20, #32] str w8, [x20, #28] b LBB0_30 LBB0_25: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x20, #4] cbz w8, LBB0_27 ; %bb.26: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x20, #8] cbz w8, LBB0_4 LBB0_27: ; in Loop: Header=BB0_5 Depth=1 stur d9, [x20, #4] LBB0_28: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x20, #40] ldr w8, [x8, #16] cbz w8, LBB0_30 ; %bb.29: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 bl _ab8500_fg_update_cap_scalers LBB0_30: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x20, #52] mov x1, x21 bl _queue_work b LBB0_4 LBB0_31: mov w0, #0 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 ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdr Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_23-LBB0_12)>>2 .byte (LBB0_12-LBB0_12)>>2 .byte (LBB0_25-LBB0_12)>>2 ; -- End function .comm _BATTERY_UNKNOWN,8,3 ; @BATTERY_UNKNOWN .comm _MILLI_TO_MICRO,4,2 ; @MILLI_TO_MICRO .no_dead_strip _ab8500_fg_get_ext_psy_data .subsections_via_symbols
AnghaBench/linux/drivers/power/supply/extr_ab8500_fg.c_ab8500_fg_get_ext_psy_data.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pqi_find_ident _pqi_find_ident: ## @pqi_find_ident .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, %r12d callq _pci_get_vendor movq %rax, %rbx movl %r12d, %edi callq _pci_get_device movq %rax, %r14 movl %r12d, %edi callq _pci_get_subvendor movq %rax, %r15 movl %r12d, %edi callq _pci_get_subdevice movq %rax, %rcx movq _pqi_identifiers@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rdx jmp LBB0_1 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq 32(%rax), %rdx addq $32, %rax LBB0_1: ## =>This Inner Loop Header: Depth=1 testq %rdx, %rdx je LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpq %rbx, %rdx jne LBB0_6 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpq %r14, 8(%rax) jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 cmpq %r15, 16(%rax) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 cmpq %rcx, 24(%rax) jne LBB0_6 jmp LBB0_13 LBB0_7: movq _pqi_family_identifiers@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rcx jmp LBB0_8 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 movq 32(%rax), %rcx addq $32, %rax LBB0_8: ## =>This Inner Loop Header: Depth=1 testq %rcx, %rcx je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 cmpq %rbx, %rcx jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 cmpq %r14, 8(%rax) jne LBB0_11 jmp LBB0_13 LBB0_12: xorl %eax, %eax LBB0_13: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _pqi_identifiers,8,3 ## @pqi_identifiers .comm _pqi_family_identifiers,8,3 ## @pqi_family_identifiers .no_dead_strip _pqi_find_ident .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pqi_find_ident _pqi_find_ident: ; @pqi_find_ident .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x22, x0 bl _pci_get_vendor mov x19, x0 mov x0, x22 bl _pci_get_device mov x20, x0 mov x0, x22 bl _pci_get_subvendor mov x21, x0 mov x0, x22 bl _pci_get_subdevice mov x8, x0 Lloh0: adrp x9, _pqi_identifiers@GOTPAGE Lloh1: ldr x9, [x9, _pqi_identifiers@GOTPAGEOFF] Lloh2: ldr x0, [x9] ldr x9, [x0] cbnz x9, LBB0_4 LBB0_1: Lloh3: adrp x8, _pqi_family_identifiers@GOTPAGE Lloh4: ldr x8, [x8, _pqi_family_identifiers@GOTPAGEOFF] Lloh5: ldr x0, [x8] ldr x8, [x0] cbnz x8, LBB0_9 LBB0_2: mov x0, #0 b LBB0_11 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x0, #32]! cbz x9, LBB0_1 LBB0_4: ; =>This Inner Loop Header: Depth=1 cmp x9, x19 b.ne LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x0, #8] cmp x9, x20 b.ne LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x0, #16] cmp x9, x21 b.ne LBB0_3 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x0, #24] cmp x9, x8 b.ne LBB0_3 b LBB0_11 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x0, #32]! cbz x8, LBB0_2 LBB0_9: ; =>This Inner Loop Header: Depth=1 cmp x8, x19 b.ne LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x0, #8] cmp x8, x20 b.ne LBB0_8 LBB0_11: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _pqi_identifiers,8,3 ; @pqi_identifiers .comm _pqi_family_identifiers,8,3 ; @pqi_family_identifiers .no_dead_strip _pqi_find_ident .subsections_via_symbols
AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_main.c_pqi_find_ident.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipcp_Show ## -- Begin function ipcp_Show .p2align 4, 0x90 _ipcp_Show: ## @ipcp_Show .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq 8(%rdi), %r12 movl (%rdi), %ebx movl 144(%r12), %r15d movq 136(%r12), %rdi callq _State2Nam leaq L_.str(%rip), %rsi movl %ebx, %edi movl %r15d, %edx movl %eax, %ecx xorl %eax, %eax callq _prompt_Printf movq 136(%r12), %rax movq _ST_OPENED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movl (%r14), %r15d movq 128(%r12), %rdi callq _inet_ntoa movq %rax, %rbx movl 120(%r12), %edi callq _vj2asc leaq L_.str.1(%rip), %rsi movl %r15d, %edi movq %rbx, %rdx movl %eax, %ecx xorl %eax, %eax callq _prompt_Printf movl (%r14), %r15d movq 112(%r12), %rdi callq _inet_ntoa movq %rax, %rbx movl 104(%r12), %edi callq _vj2asc leaq L_.str.2(%rip), %rsi movl %r15d, %edi movq %rbx, %rdx movl %eax, %ecx xorl %eax, %eax callq _prompt_Printf movl (%r14), %ebx movq %r12, %rdi callq _ipcp_QueueLen leaq L_.str.3(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf LBB0_2: movl (%r14), %edi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _prompt_Printf movl (%r14), %edi movl 92(%r12), %edx movl 84(%r12), %ecx cmpl $1, %ecx leaq L_.str.6(%rip), %rax leaq L_.str.7(%rip), %rsi movq %rsi, %r8 cmoveq %rax, %r8 movl 88(%r12), %r9d cmpl $1, %r9d cmoveq %rax, %rsi movq %rsi, (%rsp) leaq L_.str.5(%rip), %rsi xorl %eax, %eax callq _prompt_Printf movl (%r14), %ebx leaq 80(%r12), %rdi callq _ncprange_ntoa leaq L_.str.8(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf cmpq $0, 72(%r12) je LBB0_4 ## %bb.3: movl (%r14), %ebx movq 64(%r12), %rdi callq _inet_ntoa leaq L_.str.9(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf LBB0_4: movl (%r14), %ebx movl 60(%r12), %edi callq _command_ShowNegval movl 56(%r12), %ecx cmpq $0, 48(%r12) leaq L_.str.12(%rip), %rdx leaq L_.str.11(%rip), %r8 cmoveq %rdx, %r8 leaq L_.str.10(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf leaq 40(%r12), %rbx movq %rbx, %rdi callq _iplist_isvalid movl (%r14), %r15d testq %rax, %rax je LBB0_6 ## %bb.5: movq (%rbx), %rdx jmp LBB0_7 LBB0_6: leaq 32(%r12), %rdi callq _ncprange_ntoa movq %rax, %rdx LBB0_7: leaq L_.str.13(%rip), %rsi movl %r15d, %edi xorl %eax, %eax callq _prompt_Printf movl (%r14), %r15d movq 24(%r12), %rax movq (%rax), %rdi movq _INADDR_NONE@GOTPCREL(%rip), %r13 cmpq (%r13), %rdi jne LBB0_9 ## %bb.8: leaq L_.str.15(%rip), %rdx jmp LBB0_10 LBB0_9: callq _inet_ntoa movq %rax, %rdx LBB0_10: leaq L_.str.14(%rip), %rsi movl %r15d, %edi xorl %eax, %eax callq _prompt_Printf movq 24(%r12), %rax movq 8(%rax), %rdi cmpq (%r13), %rdi je LBB0_12 ## %bb.11: movl (%r14), %ebx callq _inet_ntoa leaq L_.str.16(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf LBB0_12: movl (%r14), %ebx movl 16(%r12), %edi callq _command_ShowNegval leaq L_.str.17(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf movl (%r14), %r15d movq 96(%r12), %rax movq (%rax), %rdi cmpq (%r13), %rdi jne LBB0_14 ## %bb.13: leaq L_.str.15(%rip), %rdx jmp LBB0_15 LBB0_14: callq _inet_ntoa movq %rax, %rdx LBB0_15: leaq L_.str.18(%rip), %rsi movl %r15d, %edi xorl %eax, %eax callq _prompt_Printf movq 96(%r12), %rax movq 8(%rax), %rdi cmpq (%r13), %rdi je LBB0_18 ## %bb.16: cmpq (%rax), %rdi je LBB0_18 ## %bb.17: movl (%r14), %ebx callq _inet_ntoa leaq L_.str.16(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf LBB0_18: movl (%r14), %ebx movq 8(%r12), %rax movq (%rax), %rdi callq _inet_ntoa leaq L_.str.19(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf movl (%r14), %ebx movq 8(%r12), %rax movq 8(%rax), %rdi callq _inet_ntoa leaq L_.str.20(%rip), %rsi movl %ebx, %edi movq %rax, %rdx xorl %eax, %eax callq _prompt_Printf movl (%r14), %esi movq %r12, %rdi callq _throughput_disp xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s [%s]\n" .comm _ST_OPENED,8,3 ## @ST_OPENED L_.str.1: ## @.str.1 .asciz " His side: %s, %s\n" L_.str.2: ## @.str.2 .asciz " My side: %s, %s\n" L_.str.3: ## @.str.3 .asciz " Queued packets: %lu\n" L_.str.4: ## @.str.4 .asciz "\nDefaults:\n" L_.str.5: ## @.str.5 .asciz " FSM retry = %us, max %u Config REQ%s, %u Term REQ%s\n" L_.str.6: ## @.str.6 .space 1 L_.str.7: ## @.str.7 .asciz "s" L_.str.8: ## @.str.8 .asciz " My Address: %s\n" L_.str.9: ## @.str.9 .asciz " Trigger address: %s\n" L_.str.10: ## @.str.10 .asciz " VJ compression: %s (%d slots %s slot compression)\n" L_.str.11: ## @.str.11 .asciz "with" L_.str.12: ## @.str.12 .asciz "without" L_.str.13: ## @.str.13 .asciz " His Address: %s\n" L_.str.14: ## @.str.14 .asciz " DNS: %s" .comm _INADDR_NONE,8,3 ## @INADDR_NONE L_.str.15: ## @.str.15 .asciz "none" L_.str.16: ## @.str.16 .asciz ", %s" L_.str.17: ## @.str.17 .asciz ", %s\n" L_.str.18: ## @.str.18 .asciz " Resolver DNS: %s" L_.str.19: ## @.str.19 .asciz "\n NetBIOS NS: %s, " L_.str.20: ## @.str.20 .asciz "%s\n\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipcp_Show ; -- Begin function ipcp_Show .p2align 2 _ipcp_Show: ; @ipcp_Show .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 ldr x19, [x0, #8] ldr w21, [x0] ldr x0, [x19, #136] ldr w22, [x19, #144] bl _State2Nam ; kill: def $w0 killed $w0 def $x0 stp x22, x0, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _prompt_Printf ldr x8, [x19, #136] Lloh2: adrp x9, _ST_OPENED@GOTPAGE Lloh3: ldr x9, [x9, _ST_OPENED@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr w21, [x20] ldr x0, [x19, #128] bl _inet_ntoa mov x22, x0 ldr w0, [x19, #120] bl _vj2asc ; kill: def $w0 killed $w0 def $x0 stp x22, x0, [sp] Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x21 bl _prompt_Printf ldr w21, [x20] ldr x0, [x19, #112] bl _inet_ntoa mov x22, x0 ldr w0, [x19, #104] bl _vj2asc ; kill: def $w0 killed $w0 def $x0 stp x22, x0, [sp] Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 bl _prompt_Printf ldr w21, [x20] mov x0, x19 bl _ipcp_QueueLen str x0, [sp] Lloh9: adrp x1, l_.str.3@PAGE Lloh10: add x1, x1, l_.str.3@PAGEOFF mov x0, x21 bl _prompt_Printf LBB0_2: ldr w0, [x20] Lloh11: adrp x1, l_.str.4@PAGE Lloh12: add x1, x1, l_.str.4@PAGEOFF bl _prompt_Printf ldr w0, [x20] Lloh13: adrp x8, l_.str.7@PAGE Lloh14: add x8, x8, l_.str.7@PAGEOFF Lloh15: adrp x9, l_.str.6@PAGE Lloh16: add x9, x9, l_.str.6@PAGEOFF ldp w10, w11, [x19, #84] cmp w10, #1 csel x12, x9, x8, eq cmp w11, #1 csel x8, x9, x8, eq ldr w9, [x19, #92] stp x9, x10, [sp] stp x11, x8, [sp, #24] str x12, [sp, #16] Lloh17: adrp x1, l_.str.5@PAGE Lloh18: add x1, x1, l_.str.5@PAGEOFF bl _prompt_Printf ldr w21, [x20] add x0, x19, #80 bl _ncprange_ntoa str x0, [sp] Lloh19: adrp x1, l_.str.8@PAGE Lloh20: add x1, x1, l_.str.8@PAGEOFF mov x0, x21 bl _prompt_Printf ldr x8, [x19, #72] cbz x8, LBB0_4 ; %bb.3: ldr w21, [x20] ldr x0, [x19, #64] bl _inet_ntoa str x0, [sp] Lloh21: adrp x1, l_.str.9@PAGE Lloh22: add x1, x1, l_.str.9@PAGEOFF mov x0, x21 bl _prompt_Printf LBB0_4: ldr w21, [x20] ldr w0, [x19, #60] bl _command_ShowNegval Lloh23: adrp x8, l_.str.11@PAGE Lloh24: add x8, x8, l_.str.11@PAGEOFF ldr x9, [x19, #48] Lloh25: adrp x10, l_.str.12@PAGE Lloh26: add x10, x10, l_.str.12@PAGEOFF cmp x9, #0 csel x8, x10, x8, eq ldr w9, [x19, #56] stp x9, x8, [sp, #8] str x0, [sp] Lloh27: adrp x1, l_.str.10@PAGE Lloh28: add x1, x1, l_.str.10@PAGEOFF mov x0, x21 bl _prompt_Printf add x22, x19, #40 mov x0, x22 bl _iplist_isvalid ldr w21, [x20] cbz x0, LBB0_6 ; %bb.5: ldr x0, [x22] b LBB0_7 LBB0_6: add x0, x19, #32 bl _ncprange_ntoa LBB0_7: str x0, [sp] Lloh29: adrp x1, l_.str.13@PAGE Lloh30: add x1, x1, l_.str.13@PAGEOFF mov x0, x21 bl _prompt_Printf ldr w21, [x20] ldr x8, [x19, #24] ldr x0, [x8] Lloh31: adrp x22, _INADDR_NONE@GOTPAGE Lloh32: ldr x22, [x22, _INADDR_NONE@GOTPAGEOFF] ldr x8, [x22] cmp x0, x8 b.ne LBB0_9 ; %bb.8: Lloh33: adrp x0, l_.str.15@PAGE Lloh34: add x0, x0, l_.str.15@PAGEOFF b LBB0_10 LBB0_9: bl _inet_ntoa LBB0_10: str x0, [sp] Lloh35: adrp x1, l_.str.14@PAGE Lloh36: add x1, x1, l_.str.14@PAGEOFF mov x0, x21 bl _prompt_Printf ldr x8, [x19, #24] ldr x0, [x8, #8] ldr x8, [x22] cmp x0, x8 b.eq LBB0_12 ; %bb.11: ldr w21, [x20] bl _inet_ntoa str x0, [sp] Lloh37: adrp x1, l_.str.16@PAGE Lloh38: add x1, x1, l_.str.16@PAGEOFF mov x0, x21 bl _prompt_Printf LBB0_12: ldr w21, [x20] ldr w0, [x19, #16] bl _command_ShowNegval str x0, [sp] Lloh39: adrp x1, l_.str.17@PAGE Lloh40: add x1, x1, l_.str.17@PAGEOFF mov x0, x21 bl _prompt_Printf ldr w21, [x20] ldr x8, [x19, #96] ldr x0, [x8] ldr x8, [x22] cmp x0, x8 b.ne LBB0_14 ; %bb.13: Lloh41: adrp x0, l_.str.15@PAGE Lloh42: add x0, x0, l_.str.15@PAGEOFF b LBB0_15 LBB0_14: bl _inet_ntoa LBB0_15: str x0, [sp] Lloh43: adrp x1, l_.str.18@PAGE Lloh44: add x1, x1, l_.str.18@PAGEOFF mov x0, x21 bl _prompt_Printf ldr x8, [x19, #96] ldr x0, [x8, #8] ldr x9, [x22] cmp x0, x9 b.eq LBB0_18 ; %bb.16: ldr x8, [x8] cmp x0, x8 b.eq LBB0_18 ; %bb.17: ldr w21, [x20] bl _inet_ntoa str x0, [sp] Lloh45: adrp x1, l_.str.16@PAGE Lloh46: add x1, x1, l_.str.16@PAGEOFF mov x0, x21 bl _prompt_Printf LBB0_18: ldr w21, [x20] ldr x8, [x19, #8] ldr x0, [x8] bl _inet_ntoa str x0, [sp] Lloh47: adrp x1, l_.str.19@PAGE Lloh48: add x1, x1, l_.str.19@PAGEOFF mov x0, x21 bl _prompt_Printf ldr w21, [x20] ldr x8, [x19, #8] ldr x0, [x8, #8] bl _inet_ntoa str x0, [sp] Lloh49: adrp x1, l_.str.20@PAGE Lloh50: add x1, x1, l_.str.20@PAGEOFF mov x0, x21 bl _prompt_Printf ldr w1, [x20] mov x0, x19 bl _throughput_disp 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 add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh47, Lloh48 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s [%s]\n" .comm _ST_OPENED,8,3 ; @ST_OPENED l_.str.1: ; @.str.1 .asciz " His side: %s, %s\n" l_.str.2: ; @.str.2 .asciz " My side: %s, %s\n" l_.str.3: ; @.str.3 .asciz " Queued packets: %lu\n" l_.str.4: ; @.str.4 .asciz "\nDefaults:\n" l_.str.5: ; @.str.5 .asciz " FSM retry = %us, max %u Config REQ%s, %u Term REQ%s\n" l_.str.6: ; @.str.6 .space 1 l_.str.7: ; @.str.7 .asciz "s" l_.str.8: ; @.str.8 .asciz " My Address: %s\n" l_.str.9: ; @.str.9 .asciz " Trigger address: %s\n" l_.str.10: ; @.str.10 .asciz " VJ compression: %s (%d slots %s slot compression)\n" l_.str.11: ; @.str.11 .asciz "with" l_.str.12: ; @.str.12 .asciz "without" l_.str.13: ; @.str.13 .asciz " His Address: %s\n" l_.str.14: ; @.str.14 .asciz " DNS: %s" .comm _INADDR_NONE,8,3 ; @INADDR_NONE l_.str.15: ; @.str.15 .asciz "none" l_.str.16: ; @.str.16 .asciz ", %s" l_.str.17: ; @.str.17 .asciz ", %s\n" l_.str.18: ; @.str.18 .asciz " Resolver DNS: %s" l_.str.19: ; @.str.19 .asciz "\n NetBIOS NS: %s, " l_.str.20: ; @.str.20 .asciz "%s\n\n" .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/ppp/extr_ipcp.c_ipcp_Show.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parse_YMWD _parse_YMWD: ## @parse_YMWD .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, -24(%rbp) movq %rdi, %r14 movl $89, %esi callq _strchr testq %rax, %rax je LBB0_1 ## %bb.2: movq _SEC_PER_YEAR@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq -24(%rbp), %rsi xorl %edi, %edi movq %rax, %rdx callq _parse_scaled_value movq %rax, %rbx movq -24(%rbp), %rdi addq $8, %rdi movq %rdi, -24(%rbp) jmp LBB0_3 LBB0_1: xorl %ebx, %ebx movq %r14, %rdi LBB0_3: movl $77, %esi callq _strchr testq %rax, %rax je LBB0_4 ## %bb.5: movq _SEC_PER_MONTH@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq -24(%rbp), %rsi movq %rbx, %rdi movq %rax, %rdx callq _parse_scaled_value movq %rax, %rbx movq -24(%rbp), %rdi addq $8, %rdi movq %rdi, -24(%rbp) jmp LBB0_6 LBB0_4: movq -24(%rbp), %rdi LBB0_6: movl $87, %esi callq _strchr testq %rax, %rax je LBB0_7 ## %bb.8: movq _SEC_PER_WEEK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq -24(%rbp), %rsi movq %rbx, %rdi movq %rax, %rdx callq _parse_scaled_value movq %rax, %rbx movq -24(%rbp), %rdi addq $8, %rdi movq %rdi, -24(%rbp) jmp LBB0_9 LBB0_7: movq -24(%rbp), %rdi LBB0_9: movl $68, %esi callq _strchr testq %rax, %rax je LBB0_10 ## %bb.11: movq _SEC_PER_DAY@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq -24(%rbp), %rsi movq %rbx, %rdi movq %rax, %rdx callq _parse_scaled_value movq %rax, %rbx movq -24(%rbp), %rax addq $8, %rax movq %rax, -24(%rbp) movzbl (%rax), %edi jmp LBB0_14 LBB0_10: movq -24(%rbp), %rax movzbl (%rax), %edi jmp LBB0_14 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_14 Depth=1 movq -24(%rbp), %rax leaq 8(%rax), %rcx movq %rcx, -24(%rbp) movzbl 8(%rax), %edi LBB0_14: ## =>This Inner Loop Header: Depth=1 callq _isspace testq %rax, %rax jne LBB0_13 ## %bb.15: movq -24(%rbp), %rax movq (%rax), %rax movq _NUL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.16: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _BAD_TIME@GOTPCREL(%rip), %rax movq (%rax), %rbx LBB0_17: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _SEC_PER_YEAR,4,2 ## @SEC_PER_YEAR .comm _SEC_PER_MONTH,4,2 ## @SEC_PER_MONTH .comm _SEC_PER_WEEK,4,2 ## @SEC_PER_WEEK .comm _SEC_PER_DAY,4,2 ## @SEC_PER_DAY .comm _NUL,8,3 ## @NUL .comm _EINVAL,4,2 ## @EINVAL .comm _errno,4,2 ## @errno .comm _BAD_TIME,8,3 ## @BAD_TIME .no_dead_strip _parse_YMWD .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse_YMWD _parse_YMWD: ; @parse_YMWD .cfi_startproc ; %bb.0: sub sp, sp, #48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 str x0, [sp, #8] mov x20, x0 mov w1, #89 ; =0x59 bl _strchr cbz x0, LBB0_2 ; %bb.1: mov x2, x0 Lloh0: adrp x8, _SEC_PER_YEAR@GOTPAGE Lloh1: ldr x8, [x8, _SEC_PER_YEAR@GOTPAGEOFF] Lloh2: ldr w3, [x8] add x1, sp, #8 mov x0, #0 ; =0x0 bl _parse_scaled_value mov x19, x0 ldr x8, [sp, #8] add x0, x8, #8 str x0, [sp, #8] b LBB0_3 LBB0_2: mov x19, #0 ; =0x0 mov x0, x20 LBB0_3: mov w1, #77 ; =0x4d bl _strchr cbz x0, LBB0_5 ; %bb.4: mov x2, x0 Lloh3: adrp x8, _SEC_PER_MONTH@GOTPAGE Lloh4: ldr x8, [x8, _SEC_PER_MONTH@GOTPAGEOFF] Lloh5: ldr w3, [x8] add x1, sp, #8 mov x0, x19 bl _parse_scaled_value mov x19, x0 ldr x8, [sp, #8] add x0, x8, #8 str x0, [sp, #8] b LBB0_6 LBB0_5: ldr x0, [sp, #8] LBB0_6: mov w1, #87 ; =0x57 bl _strchr cbz x0, LBB0_8 ; %bb.7: mov x2, x0 Lloh6: adrp x8, _SEC_PER_WEEK@GOTPAGE Lloh7: ldr x8, [x8, _SEC_PER_WEEK@GOTPAGEOFF] Lloh8: ldr w3, [x8] add x1, sp, #8 mov x0, x19 bl _parse_scaled_value mov x19, x0 ldr x8, [sp, #8] add x0, x8, #8 str x0, [sp, #8] b LBB0_9 LBB0_8: ldr x0, [sp, #8] LBB0_9: mov w1, #68 ; =0x44 bl _strchr cbz x0, LBB0_11 ; %bb.10: mov x2, x0 Lloh9: adrp x8, _SEC_PER_DAY@GOTPAGE Lloh10: ldr x8, [x8, _SEC_PER_DAY@GOTPAGEOFF] Lloh11: ldr w3, [x8] add x1, sp, #8 mov x0, x19 bl _parse_scaled_value mov x19, x0 ldr x8, [sp, #8] add x8, x8, #8 str x8, [sp, #8] ldrb w0, [x8] b LBB0_13 LBB0_11: ldr x8, [sp, #8] ldrb w0, [x8] b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=1 ldr x8, [sp, #8] ldrb w0, [x8, #8]! str x8, [sp, #8] LBB0_13: ; =>This Inner Loop Header: Depth=1 bl _isspace cbnz x0, LBB0_12 ; %bb.14: ldr x8, [sp, #8] ldr x8, [x8] Lloh12: adrp x9, _NUL@GOTPAGE Lloh13: ldr x9, [x9, _NUL@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.15: Lloh15: adrp x8, _EINVAL@GOTPAGE Lloh16: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh17: ldr w8, [x8] Lloh18: adrp x9, _errno@GOTPAGE Lloh19: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh20: str w8, [x9] Lloh21: adrp x8, _BAD_TIME@GOTPAGE Lloh22: ldr x8, [x8, _BAD_TIME@GOTPAGEOFF] Lloh23: ldr x19, [x8] LBB0_16: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _SEC_PER_YEAR,4,2 ; @SEC_PER_YEAR .comm _SEC_PER_MONTH,4,2 ; @SEC_PER_MONTH .comm _SEC_PER_WEEK,4,2 ; @SEC_PER_WEEK .comm _SEC_PER_DAY,4,2 ; @SEC_PER_DAY .comm _NUL,8,3 ; @NUL .comm _EINVAL,4,2 ; @EINVAL .comm _errno,4,2 ; @errno .comm _BAD_TIME,8,3 ; @BAD_TIME .no_dead_strip _parse_YMWD .subsections_via_symbols
assembly_file_89559.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpa_config_write_bssid_hint _wpa_config_write_bssid_hint: ## @wpa_config_write_bssid_hint .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 cmpl $0, 4(%rsi) je LBB0_4 ## %bb.1: movq %rsi, %rbx movl $20, %edi callq _os_malloc testq %rax, %rax je LBB0_4 ## %bb.2: movq %rax, %r14 movq _MACSTR@GOTPCREL(%rip), %rax movl (%rax), %r15d movl (%rbx), %edi callq _MAC2STR movq %r14, %rdi movl $20, %esi movl %r15d, %edx movl %eax, %ecx callq _os_snprintf movl $20, %edi movl %eax, %esi callq _os_snprintf_error testq %rax, %rax je LBB0_5 ## %bb.3: movq %r14, %rdi callq _os_free LBB0_4: xorl %r14d, %r14d LBB0_5: movq %r14, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MACSTR,4,2 ## @MACSTR .no_dead_strip _wpa_config_write_bssid_hint .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wpa_config_write_bssid_hint _wpa_config_write_bssid_hint: ; @wpa_config_write_bssid_hint .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x1, #4] cbz w8, LBB0_4 ; %bb.1: mov x20, x1 mov w0, #20 bl _os_malloc mov x19, x0 cbz x0, LBB0_5 ; %bb.2: Lloh0: adrp x8, _MACSTR@GOTPAGE Lloh1: ldr x8, [x8, _MACSTR@GOTPAGEOFF] Lloh2: ldr w21, [x8] ldr w0, [x20] bl _MAC2STR mov x3, x0 mov x0, x19 mov w1, #20 mov x2, x21 bl _os_snprintf mov x1, x0 mov w0, #20 bl _os_snprintf_error cbz x0, LBB0_5 ; %bb.3: mov x0, x19 bl _os_free LBB0_4: mov x19, #0 LBB0_5: 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MACSTR,4,2 ; @MACSTR .no_dead_strip _wpa_config_write_bssid_hint .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_config.c_wpa_config_write_bssid_hint.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mt8183_dai_adda_register ## -- Begin function mt8183_dai_adda_register .p2align 4, 0x90 _mt8183_dai_adda_register: ## @mt8183_dai_adda_register .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movl 4(%rdi), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %edx movl $72, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %rax, %rdi addq $64, %rdi movq %r14, %rsi callq _list_add movq _mtk_dai_adda_driver@GOTPCREL(%rip), %rax movq (%rax), %rdi movq %rdi, 56(%rbx) callq _ARRAY_SIZE movq %rax, 48(%rbx) movq _mtk_adda_controls@GOTPCREL(%rip), %rax movq (%rax), %rdi movq %rdi, 40(%rbx) callq _ARRAY_SIZE movq %rax, 32(%rbx) movq _mtk_dai_adda_widgets@GOTPCREL(%rip), %rax movq (%rax), %rdi movq %rdi, 24(%rbx) callq _ARRAY_SIZE movq %rax, 16(%rbx) movq _mtk_dai_adda_routes@GOTPCREL(%rip), %rax movq (%rax), %rdi movq %rdi, 8(%rbx) callq _ARRAY_SIZE movq %rax, (%rbx) xorl %eax, %eax jmp LBB0_3 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _mtk_dai_adda_driver,8,3 ## @mtk_dai_adda_driver .comm _mtk_adda_controls,8,3 ## @mtk_adda_controls .comm _mtk_dai_adda_widgets,8,3 ## @mtk_dai_adda_widgets .comm _mtk_dai_adda_routes,8,3 ## @mtk_dai_adda_routes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mt8183_dai_adda_register ; -- Begin function mt8183_dai_adda_register .p2align 2 _mt8183_dai_adda_register: ; @mt8183_dai_adda_register .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 ldr w0, [x0, #4] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov w1, #72 bl _devm_kzalloc cbz x0, LBB0_2 ; %bb.1: mov x19, x0 add x0, x0, #64 mov x1, x20 bl _list_add Lloh3: adrp x8, _mtk_dai_adda_driver@GOTPAGE Lloh4: ldr x8, [x8, _mtk_dai_adda_driver@GOTPAGEOFF] Lloh5: ldr x0, [x8] str x0, [x19, #56] bl _ARRAY_SIZE Lloh6: adrp x8, _mtk_adda_controls@GOTPAGE Lloh7: ldr x8, [x8, _mtk_adda_controls@GOTPAGEOFF] Lloh8: ldr x8, [x8] stp x8, x0, [x19, #40] mov x0, x8 bl _ARRAY_SIZE Lloh9: adrp x8, _mtk_dai_adda_widgets@GOTPAGE Lloh10: ldr x8, [x8, _mtk_dai_adda_widgets@GOTPAGEOFF] Lloh11: ldr x8, [x8] stp x8, x0, [x19, #24] mov x0, x8 bl _ARRAY_SIZE Lloh12: adrp x8, _mtk_dai_adda_routes@GOTPAGE Lloh13: ldr x8, [x8, _mtk_dai_adda_routes@GOTPAGEOFF] Lloh14: ldr x8, [x8] stp x8, x0, [x19, #8] mov x0, x8 bl _ARRAY_SIZE mov x8, x0 mov w0, #0 str x8, [x19] b LBB0_3 LBB0_2: Lloh15: adrp x8, _ENOMEM@GOTPAGE Lloh16: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh17: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _mtk_dai_adda_driver,8,3 ; @mtk_dai_adda_driver .comm _mtk_adda_controls,8,3 ; @mtk_adda_controls .comm _mtk_dai_adda_widgets,8,3 ; @mtk_dai_adda_widgets .comm _mtk_dai_adda_routes,8,3 ; @mtk_dai_adda_routes .subsections_via_symbols
AnghaBench/linux/sound/soc/mediatek/mt8183/extr_mt8183-dai-adda.c_mt8183_dai_adda_register.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fdefParam ## -- Begin function fdefParam .p2align 4, 0x90 _fdefParam: ## @fdefParam .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 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 _fdefParam ; -- Begin function fdefParam .p2align 2 _fdefParam: ; @fdefParam .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/958002.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _rtl92ce_llt_write __rtl92ce_llt_write: ## @_rtl92ce_llt_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r15d movl %esi, %ebx callq _rtl_priv movq %rax, %r12 movl %ebx, -44(%rbp) ## 4-byte Spill movl %ebx, %edi callq __LLT_INIT_ADDR movl %eax, %ebx movl %r15d, %edi callq __LLT_INIT_DATA orl %eax, %ebx movq __LLT_WRITE_ACCESS@GOTPCREL(%rip), %rax movl (%rax), %edi callq __LLT_OP orl %eax, %ebx movq _REG_LLT_INIT@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %r12, %rdi movl %ebx, %edx callq _rtl_write_dword movl (%r14), %esi movq %r12, %rdi callq _rtl_read_dword movq __LLT_NO_ACTIVE@GOTPCREL(%rip), %rbx movq (%rbx), %r14 movl %eax, %edi callq __LLT_OP_VALUE movl $1, %ecx cmpq %rax, %r14 je LBB0_6 ## %bb.1: movq $-1, %r14 movq _POLLING_LLT_THRESHOLD@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 incq %r14 cmpq (%r15), %r14 jg LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq _REG_LLT_INIT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _rtl_read_dword movq (%rbx), %r13 movl %eax, %edi callq __LLT_OP_VALUE cmpq %rax, %r13 jne LBB0_2 ## %bb.4: movl $1, %ecx jmp LBB0_6 LBB0_5: leaq L_.str(%rip), %rdi movl -44(%rbp), %esi ## 4-byte Reload callq _pr_err xorl %ecx, %ecx LBB0_6: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm __LLT_WRITE_ACCESS,4,2 ## @_LLT_WRITE_ACCESS .comm _REG_LLT_INIT,4,2 ## @REG_LLT_INIT .comm __LLT_NO_ACTIVE,8,3 ## @_LLT_NO_ACTIVE .comm _POLLING_LLT_THRESHOLD,8,3 ## @POLLING_LLT_THRESHOLD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to polling write LLT done at address %d!\n" .no_dead_strip __rtl92ce_llt_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _rtl92ce_llt_write __rtl92ce_llt_write: ; @_rtl92ce_llt_write .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x2 mov x19, x1 bl _rtl_priv mov x20, x0 mov x0, x19 bl __LLT_INIT_ADDR mov x22, x0 mov x0, x21 bl __LLT_INIT_DATA orr w21, w0, w22 Lloh0: adrp x8, __LLT_WRITE_ACCESS@GOTPAGE Lloh1: ldr x8, [x8, __LLT_WRITE_ACCESS@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl __LLT_OP orr w2, w21, w0 Lloh3: adrp x21, _REG_LLT_INIT@GOTPAGE Lloh4: ldr x21, [x21, _REG_LLT_INIT@GOTPAGEOFF] ldr w1, [x21] mov x0, x20 bl _rtl_write_dword ldr w1, [x21] mov x0, x20 bl _rtl_read_dword Lloh5: adrp x22, __LLT_NO_ACTIVE@GOTPAGE Lloh6: ldr x22, [x22, __LLT_NO_ACTIVE@GOTPAGEOFF] ldr x23, [x22] bl __LLT_OP_VALUE cmp x23, x0 b.eq LBB0_4 ; %bb.1: mov x23, #-1 Lloh7: adrp x24, _POLLING_LLT_THRESHOLD@GOTPAGE Lloh8: ldr x24, [x24, _POLLING_LLT_THRESHOLD@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24] add x23, x23, #1 cmp x23, x8 b.gt LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w1, [x21] mov x0, x20 bl _rtl_read_dword ldr x25, [x22] bl __LLT_OP_VALUE cmp x25, x0 b.ne LBB0_2 LBB0_4: mov w0, #1 b LBB0_6 LBB0_5: Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _pr_err mov w0, #0 LBB0_6: 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 Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm __LLT_WRITE_ACCESS,4,2 ; @_LLT_WRITE_ACCESS .comm _REG_LLT_INIT,4,2 ; @REG_LLT_INIT .comm __LLT_NO_ACTIVE,8,3 ; @_LLT_NO_ACTIVE .comm _POLLING_LLT_THRESHOLD,8,3 ; @POLLING_LLT_THRESHOLD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to polling write LLT done at address %d!\n" .no_dead_strip __rtl92ce_llt_write .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/extr_hw.c__rtl92ce_llt_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sdhci_iproc_readl _sdhci_iproc_readl: ## @sdhci_iproc_readl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movslq %esi, %r14 movq 8(%rdi), %rdi addq %r14, %rdi callq _readl movl %eax, %r15d movl (%rbx), %edi callq _mmc_hostname leaq L_.str(%rip), %rdi movl %eax, %esi movl %r14d, %edx movl %r15d, %ecx callq _pr_debug movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: readl [0x%02x] 0x%08x\n" .no_dead_strip _sdhci_iproc_readl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sdhci_iproc_readl _sdhci_iproc_readl: ; @sdhci_iproc_readl .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr x8, [x0, #8] add x0, x8, w1, sxtw bl _readl mov x21, x0 ldr w0, [x20] bl _mmc_hostname mov x1, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x2, x19 mov x3, x21 bl _pr_debug mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: readl [0x%02x] 0x%08x\n" .no_dead_strip _sdhci_iproc_readl .subsections_via_symbols
AnghaBench/linux/drivers/mmc/host/extr_sdhci-iproc.c_sdhci_iproc_readl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function agp_controller_make_current _agp_controller_make_current: ## @agp_controller_make_current .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq (%rdi), %rbx testq %rbx, %rbx je LBB0_5 ## %bb.1: movq _AGP_FF_IS_VALID@GOTPCREL(%rip), %r12 movq _AGP_FF_IS_CLIENT@GOTPCREL(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq (%rbx), %rbx testq %rbx, %rbx je LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl 8(%rbx), %edi callq _agp_find_private testq %rax, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r15 movl (%r12), %edi movq %rax, %rsi callq _set_bit movl (%r13), %edi movq %r15, %rsi callq _set_bit jmp LBB0_4 LBB0_5: movq _agp_fe@GOTPCREL(%rip), %rax movq %r14, (%rax) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AGP_FF_IS_VALID,4,2 ## @AGP_FF_IS_VALID .comm _AGP_FF_IS_CLIENT,4,2 ## @AGP_FF_IS_CLIENT .comm _agp_fe,8,3 ## @agp_fe .no_dead_strip _agp_controller_make_current .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function agp_controller_make_current _agp_controller_make_current: ; @agp_controller_make_current .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x21, [x0] cbz x21, LBB0_5 ; %bb.1: Lloh0: adrp x22, _AGP_FF_IS_VALID@GOTPAGE Lloh1: ldr x22, [x22, _AGP_FF_IS_VALID@GOTPAGEOFF] Lloh2: adrp x23, _AGP_FF_IS_CLIENT@GOTPAGE Lloh3: ldr x23, [x23, _AGP_FF_IS_CLIENT@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x21, [x21] cbz x21, LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21, #8] bl _agp_find_private cbz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x20, x0 ldr w0, [x22] mov x1, x20 bl _set_bit ldr w0, [x23] mov x1, x20 bl _set_bit b LBB0_2 LBB0_5: Lloh4: adrp x8, _agp_fe@GOTPAGE Lloh5: ldr x8, [x8, _agp_fe@GOTPAGEOFF] Lloh6: str x19, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _AGP_FF_IS_VALID,4,2 ; @AGP_FF_IS_VALID .comm _AGP_FF_IS_CLIENT,4,2 ; @AGP_FF_IS_CLIENT .comm _agp_fe,8,3 ; @agp_fe .no_dead_strip _agp_controller_make_current .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/char/agp/extr_frontend.c_agp_controller_make_current.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function select_loop _select_loop: ## @select_loop .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 movl %edi, %r14d movl (%rsi), %r15d incl %r14d movq _errno@GOTPCREL(%rip), %r12 movq _EINTR@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %r15d, (%rbx) movl %r14d, %edi movq %rbx, %rsi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d callq _select testl %eax, %eax jns LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq (%r12), %rcx cmpq (%r13), %rcx je LBB0_1 LBB0_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _errno,8,3 ## @errno .comm _EINTR,8,3 ## @EINTR .comm _SOCKET_ERROR,4,2 ## @SOCKET_ERROR .comm _WSAEINTR,8,3 ## @WSAEINTR .no_dead_strip _select_loop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function select_loop _select_loop: ; @select_loop .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 ldr w21, [x1] add w20, w0, #1 Lloh0: adrp x22, _errno@GOTPAGE Lloh1: ldr x22, [x22, _errno@GOTPAGEOFF] Lloh2: adrp x23, _EINTR@GOTPAGE Lloh3: ldr x23, [x23, _EINTR@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 str w21, [x19] mov x0, x20 mov x1, x19 mov x2, #0 mov x3, #0 mov x4, #0 bl _select tbz w0, #31, LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x22] ldr x9, [x23] cmp x8, x9 b.eq LBB0_1 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _errno,8,3 ; @errno .comm _EINTR,8,3 ; @EINTR .comm _SOCKET_ERROR,4,2 ; @SOCKET_ERROR .comm _WSAEINTR,8,3 ; @WSAEINTR .no_dead_strip _select_loop .subsections_via_symbols
AnghaBench/postgres/src/bin/pg_dump/extr_parallel.c_select_loop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _node_map_add ## -- Begin function node_map_add .p2align 4, 0x90 _node_map_add: ## @node_map_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, -44(%rbp) ## 4-byte Spill movq %rsi, %r12 movq %rdi, %r15 movq %rsi, %rdi callq _assert movq (%r15), %rax movq 8(%r15), %rbx movq _MPV_FORMAT_NODE_MAP@GOTPCREL(%rip), %rcx xorl %edx, %edx testq %rbx, %rbx setne %dl xorl %edi, %edi cmpq (%rcx), %rax cmoveq %rdx, %rdi callq _assert movq (%rbx), %rdx movq 8(%rbx), %rsi movq %rbx, %rdi callq _MP_TARRAY_GROW movq (%rbx), %rdx movq 16(%rbx), %rsi movq %rbx, %rdi callq _MP_TARRAY_GROW movq (%rbx), %r13 movq 16(%rbx), %r14 movq %rbx, %rdi movq %r12, %rsi callq _talloc_strdup shlq $4, %r13 movq %rax, (%r14,%r13) movq %rdx, 8(%r14,%r13) movq (%rbx), %rdi shlq $4, %rdi addq 8(%rbx), %rdi movl -44(%rbp), %esi ## 4-byte Reload movq %r15, %rdx callq _node_init movq (%rbx), %rax leaq 1(%rax), %rcx movq %rcx, (%rbx) shlq $4, %rax addq 8(%rbx), %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MPV_FORMAT_NODE_MAP,8,3 ## @MPV_FORMAT_NODE_MAP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _node_map_add ; -- Begin function node_map_add .p2align 2 _node_map_add: ; @node_map_add .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 mov x0, x1 bl _assert Lloh0: adrp x8, _MPV_FORMAT_NODE_MAP@GOTPAGE Lloh1: ldr x8, [x8, _MPV_FORMAT_NODE_MAP@GOTPAGEOFF] ldp x9, x22, [x21] Lloh2: ldr x8, [x8] cmp x22, #0 cset w10, ne cmp x9, x8 csel x0, x10, xzr, eq bl _assert ldp x2, x1, [x22] mov x0, x22 bl _MP_TARRAY_GROW ldr x1, [x22, #16] ldr x2, [x22] mov x0, x22 bl _MP_TARRAY_GROW ldr x23, [x22, #16] ldr x24, [x22] mov x0, x22 mov x1, x20 bl _talloc_strdup add x8, x23, x24, lsl #4 stp x0, x1, [x8] ldp x9, x8, [x22] add x0, x8, x9, lsl #4 mov x1, x19 mov x2, x21 bl _node_init ldp x9, x8, [x22] add x10, x9, #1 str x10, [x22] add x0, x8, x9, lsl #4 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MPV_FORMAT_NODE_MAP,8,3 ; @MPV_FORMAT_NODE_MAP .subsections_via_symbols
AnghaBench/mpv/misc/extr_node.c_node_map_add.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ldns_pkt_set_question ## -- Begin function ldns_pkt_set_question .p2align 4, 0x90 _ldns_pkt_set_question: ## @ldns_pkt_set_question .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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ldns_pkt_set_question ; -- Begin function ldns_pkt_set_question .p2align 2 _ldns_pkt_set_question: ; @ldns_pkt_set_question .cfi_startproc ; %bb.0: str x1, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/ldns/extr_packet.c_ldns_pkt_set_question.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _IS31FL3733_init ## -- Begin function IS31FL3733_init .p2align 4, 0x90 _IS31FL3733_init: ## @IS31FL3733_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movl %edi, %r15d movq _ISSI_COMMANDREGISTER_WRITELOCK@GOTPCREL(%rip), %r12 movl (%r12), %esi movl $197, %edx callq _IS31FL3733_write_register movq _ISSI_COMMANDREGISTER@GOTPCREL(%rip), %r13 movl (%r13), %esi movq _ISSI_PAGE_LEDCONTROL@GOTPCREL(%rip), %rax movl (%rax), %edx movl %r15d, %edi callq _IS31FL3733_write_register xorl %ebx, %ebx movl %r15d, %edi xorl %esi, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $1, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $2, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $3, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $4, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $5, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $6, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $7, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $8, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $9, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $10, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $11, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $12, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $13, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $14, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $15, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $16, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $17, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $18, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $19, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $20, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $21, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $22, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl %r15d, %edi movl $23, %esi xorl %edx, %edx callq _IS31FL3733_write_register movl (%r12), %esi movl %r15d, %edi movl $197, %edx callq _IS31FL3733_write_register movl (%r13), %esi movq _ISSI_PAGE_PWM@GOTPCREL(%rip), %rax movl (%rax), %edx movl %r15d, %edi callq _IS31FL3733_write_register .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %r15d, %edi movl %ebx, %esi xorl %edx, %edx callq _IS31FL3733_write_register incl %ebx cmpl $192, %ebx jne LBB0_1 ## %bb.2: movl (%r12), %esi movl %r15d, %edi movl $197, %edx callq _IS31FL3733_write_register movl (%r13), %esi movq _ISSI_PAGE_FUNCTION@GOTPCREL(%rip), %rax movl (%rax), %edx movl %r15d, %edi callq _IS31FL3733_write_register movq _ISSI_REG_GLOBALCURRENT@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r15d, %edi movl $255, %edx callq _IS31FL3733_write_register movq _ISSI_REG_CONFIGURATION@GOTPCREL(%rip), %rax movl (%rax), %esi shll $6, %r14d orl $1, %r14d movl %r15d, %edi movl %r14d, %edx callq _IS31FL3733_write_register movl $10, %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _wait_ms ## TAILCALL .cfi_endproc ## -- End function .comm _ISSI_COMMANDREGISTER_WRITELOCK,4,2 ## @ISSI_COMMANDREGISTER_WRITELOCK .comm _ISSI_COMMANDREGISTER,4,2 ## @ISSI_COMMANDREGISTER .comm _ISSI_PAGE_LEDCONTROL,4,2 ## @ISSI_PAGE_LEDCONTROL .comm _ISSI_PAGE_PWM,4,2 ## @ISSI_PAGE_PWM .comm _ISSI_PAGE_FUNCTION,4,2 ## @ISSI_PAGE_FUNCTION .comm _ISSI_REG_GLOBALCURRENT,4,2 ## @ISSI_REG_GLOBALCURRENT .comm _ISSI_REG_CONFIGURATION,4,2 ## @ISSI_REG_CONFIGURATION .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _IS31FL3733_init ; -- Begin function IS31FL3733_init .p2align 2 _IS31FL3733_init: ; @IS31FL3733_init .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 Lloh0: adrp x22, _ISSI_COMMANDREGISTER_WRITELOCK@GOTPAGE Lloh1: ldr x22, [x22, _ISSI_COMMANDREGISTER_WRITELOCK@GOTPAGEOFF] ldr w1, [x22] mov w2, #197 bl _IS31FL3733_write_register Lloh2: adrp x23, _ISSI_COMMANDREGISTER@GOTPAGE Lloh3: ldr x23, [x23, _ISSI_COMMANDREGISTER@GOTPAGEOFF] ldr w1, [x23] Lloh4: adrp x8, _ISSI_PAGE_LEDCONTROL@GOTPAGE Lloh5: ldr x8, [x8, _ISSI_PAGE_LEDCONTROL@GOTPAGEOFF] Lloh6: ldr w2, [x8] mov x0, x19 bl _IS31FL3733_write_register mov x0, x19 mov w1, #0 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #1 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #2 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #3 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #4 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #5 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #6 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #7 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #8 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #9 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #10 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #11 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #12 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #13 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #14 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #15 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #16 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #17 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #18 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #19 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #20 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #21 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #22 mov w2, #0 bl _IS31FL3733_write_register mov x0, x19 mov w1, #23 mov w2, #0 bl _IS31FL3733_write_register ldr w1, [x22] mov x0, x19 mov w2, #197 bl _IS31FL3733_write_register ldr w1, [x23] Lloh7: adrp x8, _ISSI_PAGE_PWM@GOTPAGE Lloh8: ldr x8, [x8, _ISSI_PAGE_PWM@GOTPAGEOFF] Lloh9: ldr w2, [x8] mov x0, x19 bl _IS31FL3733_write_register mov w21, #0 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 mov w2, #0 bl _IS31FL3733_write_register add w21, w21, #1 cmp w21, #192 b.ne LBB0_1 ; %bb.2: ldr w1, [x22] mov x0, x19 mov w2, #197 bl _IS31FL3733_write_register ldr w1, [x23] Lloh10: adrp x8, _ISSI_PAGE_FUNCTION@GOTPAGE Lloh11: ldr x8, [x8, _ISSI_PAGE_FUNCTION@GOTPAGEOFF] Lloh12: ldr w2, [x8] mov x0, x19 bl _IS31FL3733_write_register Lloh13: adrp x8, _ISSI_REG_GLOBALCURRENT@GOTPAGE Lloh14: ldr x8, [x8, _ISSI_REG_GLOBALCURRENT@GOTPAGEOFF] Lloh15: ldr w1, [x8] mov x0, x19 mov w2, #255 bl _IS31FL3733_write_register Lloh16: adrp x8, _ISSI_REG_CONFIGURATION@GOTPAGE Lloh17: ldr x8, [x8, _ISSI_REG_CONFIGURATION@GOTPAGEOFF] Lloh18: ldr w1, [x8] mov w2, #1 bfi w2, w20, #6, #26 mov x0, x19 bl _IS31FL3733_write_register mov w0, #10 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _wait_ms .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _ISSI_COMMANDREGISTER_WRITELOCK,4,2 ; @ISSI_COMMANDREGISTER_WRITELOCK .comm _ISSI_COMMANDREGISTER,4,2 ; @ISSI_COMMANDREGISTER .comm _ISSI_PAGE_LEDCONTROL,4,2 ; @ISSI_PAGE_LEDCONTROL .comm _ISSI_PAGE_PWM,4,2 ; @ISSI_PAGE_PWM .comm _ISSI_PAGE_FUNCTION,4,2 ; @ISSI_PAGE_FUNCTION .comm _ISSI_REG_GLOBALCURRENT,4,2 ; @ISSI_REG_GLOBALCURRENT .comm _ISSI_REG_CONFIGURATION,4,2 ; @ISSI_REG_CONFIGURATION .subsections_via_symbols
AnghaBench/qmk_firmware/drivers/issi/extr_is31fl3733.c_IS31FL3733_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function radio_g_tuner _radio_g_tuner: ## @radio_g_tuner .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 cmpq $0, (%rdx) je LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_7 LBB0_2: movq %rdx, %r14 movq (%rdi), %rax movq (%rax), %r15 xorl %ebx, %ebx movq %rdx, %rdi xorl %esi, %esi movl $24, %edx callq _memset movl 20(%r14), %edi leaq L_.str(%rip), %rsi callq _strcpy movq _V4L2_TUNER_RADIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r14) movq _tuner@GOTPCREL(%rip), %rax movl (%rax), %esi movq _g_tuner@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r15, %rdi movq %r14, %rcx callq _saa_call_all movq (%r15), %rax movq (%rax), %rax movq _TV@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 ## %bb.3: movl $1409, %edi ## imm = 0x581 callq _saa_readb orl $31, %eax shll $11, %eax movl $63488, %ecx ## imm = 0xF800 subl %eax, %ecx movl %ecx, 8(%r14) movl $1321, %edi ## imm = 0x529 callq _saa_readb testb $8, %al jne LBB0_4 ## %bb.5: movq _V4L2_TUNER_SUB_MONO@GOTPCREL(%rip), %rax jmp LBB0_6 LBB0_4: movq _V4L2_TUNER_SUB_STEREO@GOTPCREL(%rip), %rax LBB0_6: movl (%rax), %eax movl %eax, 12(%r14) LBB0_7: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Radio" .comm _V4L2_TUNER_RADIO,4,2 ## @V4L2_TUNER_RADIO .comm _tuner,4,2 ## @tuner .comm _g_tuner,4,2 ## @g_tuner .comm _TV,8,3 ## @TV .comm _V4L2_TUNER_SUB_STEREO,4,2 ## @V4L2_TUNER_SUB_STEREO .comm _V4L2_TUNER_SUB_MONO,4,2 ## @V4L2_TUNER_SUB_MONO .no_dead_strip _radio_g_tuner .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function radio_g_tuner _radio_g_tuner: ; @radio_g_tuner .cfi_startproc ; %bb.0: ldr x8, [x2] cbz x8, LBB0_2 ; %bb.1: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret LBB0_2: 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, x2 ldr x8, [x0] ldr x20, [x8] mov x0, x2 mov w1, #0 ; =0x0 mov w2, #24 ; =0x18 bl _memset ldr w0, [x19, #20] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _strcpy Lloh5: adrp x8, _V4L2_TUNER_RADIO@GOTPAGE Lloh6: ldr x8, [x8, _V4L2_TUNER_RADIO@GOTPAGEOFF] Lloh7: ldr w8, [x8] str w8, [x19, #16] Lloh8: adrp x8, _tuner@GOTPAGE Lloh9: ldr x8, [x8, _tuner@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x8, _g_tuner@GOTPAGE Lloh12: ldr x8, [x8, _g_tuner@GOTPAGEOFF] Lloh13: ldr w2, [x8] mov x0, x20 mov x3, x19 bl _saa_call_all mov w0, #0 ; =0x0 ldr x8, [x20] ldr x8, [x8] Lloh14: adrp x9, _TV@GOTPAGE Lloh15: ldr x9, [x9, _TV@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.3: mov w0, #1409 ; =0x581 bl _saa_readb lsl w8, w0, #11 orr w8, w8, #0xf800 mov w9, #63488 ; =0xf800 sub w8, w9, w8 str w8, [x19, #8] mov w0, #1321 ; =0x529 bl _saa_readb mov x8, x0 mov w0, #0 ; =0x0 Lloh17: adrp x9, _V4L2_TUNER_SUB_STEREO@GOTPAGE Lloh18: ldr x9, [x9, _V4L2_TUNER_SUB_STEREO@GOTPAGEOFF] Lloh19: adrp x10, _V4L2_TUNER_SUB_MONO@GOTPAGE Lloh20: ldr x10, [x10, _V4L2_TUNER_SUB_MONO@GOTPAGEOFF] tst w8, #0x8 csel x8, x10, x9, eq ldr w8, [x8] str w8, [x19, #12] 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 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Radio" .comm _V4L2_TUNER_RADIO,4,2 ; @V4L2_TUNER_RADIO .comm _tuner,4,2 ; @tuner .comm _g_tuner,4,2 ; @g_tuner .comm _TV,8,3 ; @TV .comm _V4L2_TUNER_SUB_STEREO,4,2 ; @V4L2_TUNER_SUB_STEREO .comm _V4L2_TUNER_SUB_MONO,4,2 ; @V4L2_TUNER_SUB_MONO .no_dead_strip _radio_g_tuner .subsections_via_symbols
assembly_file_6242.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _sync xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _sync mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/37637987.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _file_regfree ## -- Begin function file_regfree .p2align 4, 0x90 _file_regfree: ## @file_regfree .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 cmpq $0, (%rdi) jne LBB0_2 ## %bb.1: leaq 16(%rbx), %rdi callq _regfree LBB0_2: movq _LC_CTYPE@GOTPCREL(%rip), %rax movl (%rax), %edi movl 8(%rbx), %esi addq $8, %rsp popq %rbx popq %rbp jmp _setlocale ## TAILCALL .cfi_endproc ## -- End function .comm _LC_CTYPE,4,2 ## @LC_CTYPE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _file_regfree ; -- Begin function file_regfree .p2align 2 _file_regfree: ; @file_regfree .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0] cbnz x8, LBB0_2 ; %bb.1: add x0, x19, #16 bl _regfree LBB0_2: Lloh0: adrp x8, _LC_CTYPE@GOTPAGE Lloh1: ldr x8, [x8, _LC_CTYPE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w1, [x19, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _setlocale .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LC_CTYPE,4,2 ; @LC_CTYPE .subsections_via_symbols
AnghaBench/freebsd/contrib/file/src/extr_funcs.c_file_regfree.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vega20_set_ppfeature_status _vega20_set_ppfeature_status: ## @vega20_set_ppfeature_status .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 _GNLD_FEATURES_MAX@GOTPCREL(%rip), %rax movb (%rax), %cl movq %rsi, %rax shrq %cl, %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_8 LBB0_2: movq %rsi, %rbx movq %rdi, %r14 leaq -40(%rbp), %rsi callq _vega20_get_enabled_smc_features testl %eax, %eax je LBB0_3 LBB0_8: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq -40(%rbp), %r12 movq %r12, %r15 notq %r15 andq %rbx, %r15 notq %rbx leaq L_.str(%rip), %rdi movq %r12, %rsi andq %rbx, %rsi callq _pr_debug leaq L_.str.1(%rip), %rdi movq %r15, %rsi callq _pr_debug andq %r12, %rbx je LBB0_5 ## %bb.4: movq %r14, %rdi xorl %esi, %esi movq %rbx, %rdx callq _vega20_enable_smc_features testl %eax, %eax jne LBB0_8 LBB0_5: testq %r15, %r15 je LBB0_7 ## %bb.6: movq %r14, %rdi movl $1, %esi movq %r15, %rdx callq _vega20_enable_smc_features testl %eax, %eax jne LBB0_8 LBB0_7: xorl %eax, %eax jmp LBB0_8 .cfi_endproc ## -- End function .comm _GNLD_FEATURES_MAX,8,3 ## @GNLD_FEATURES_MAX .comm _EINVAL,4,2 ## @EINVAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "features_to_disable 0x%llx\n" L_.str.1: ## @.str.1 .asciz "features_to_enable 0x%llx\n" .no_dead_strip _vega20_set_ppfeature_status .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vega20_set_ppfeature_status _vega20_set_ppfeature_status: ; @vega20_set_ppfeature_status .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 Lloh0: adrp x8, _GNLD_FEATURES_MAX@GOTPAGE Lloh1: ldr x8, [x8, _GNLD_FEATURES_MAX@GOTPAGEOFF] Lloh2: ldr x8, [x8] lsr x8, x1, x8 cbz x8, LBB0_2 ; %bb.1: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 b LBB0_3 LBB0_2: mov x20, x1 mov x19, x0 add x1, sp, #8 bl _vega20_get_enabled_smc_features cbz w0, LBB0_4 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 LBB0_4: ldr x8, [sp, #8] bic x21, x8, x20 bic x20, x20, x8 Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x1, x21 bl _pr_debug Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF mov x1, x20 bl _pr_debug cbz x21, LBB0_6 ; %bb.5: mov x0, x19 mov w1, #0 mov x2, x21 bl _vega20_enable_smc_features cbnz w0, LBB0_3 LBB0_6: cbz x20, LBB0_8 ; %bb.7: mov x0, x19 mov w1, #1 mov x2, x20 bl _vega20_enable_smc_features cbnz w0, LBB0_3 LBB0_8: mov w0, #0 b LBB0_3 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GNLD_FEATURES_MAX,8,3 ; @GNLD_FEATURES_MAX .comm _EINVAL,4,2 ; @EINVAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "features_to_disable 0x%llx\n" l_.str.1: ; @.str.1 .asciz "features_to_enable 0x%llx\n" .no_dead_strip _vega20_set_ppfeature_status .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega20_hwmgr.c_vega20_set_ppfeature_status.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function chunk_index_need_attnos_adjustment _chunk_index_need_attnos_adjustment: ## @chunk_index_need_attnos_adjustment .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, %rdx movl (%rdi), %esi movl 4(%rdi), %edi popq %rbp jmp _chunk_index_columns_changed ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _chunk_index_need_attnos_adjustment .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function chunk_index_need_attnos_adjustment _chunk_index_need_attnos_adjustment: ; @chunk_index_need_attnos_adjustment .cfi_startproc ; %bb.0: mov x2, x1 ldp w1, w8, [x0] mov x0, x8 b _chunk_index_columns_changed .cfi_endproc ; -- End function .no_dead_strip _chunk_index_need_attnos_adjustment .subsections_via_symbols
AnghaBench/timescaledb/src/extr_chunk_index.h_chunk_index_need_attnos_adjustment.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function reserved_size_store _reserved_size_store: ## @reserved_size_store .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 %rcx, %rbx movq %rdx, %rdi leaq L_.str(%rip), %rsi leaq -16(%rbp), %rdx callq _sscanf cmpl $1, %eax jne LBB0_2 ## %bb.1: movq -16(%rbp), %rax movq _reserved_size@GOTPCREL(%rip), %rcx movq %rax, (%rcx) jmp LBB0_3 LBB0_2: movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subq (%rax), %rbx LBB0_3: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lu" .comm _reserved_size,8,3 ## @reserved_size .comm _EINVAL,8,3 ## @EINVAL .no_dead_strip _reserved_size_store .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function reserved_size_store _reserved_size_store: ; @reserved_size_store .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, x3 mov x0, x2 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x2, sp, #8 bl _sscanf cmp w0, #1 b.ne LBB0_2 ; %bb.1: ldr x8, [sp, #8] Lloh2: adrp x9, _reserved_size@GOTPAGE Lloh3: ldr x9, [x9, _reserved_size@GOTPAGEOFF] Lloh4: str x8, [x9] b LBB0_3 LBB0_2: Lloh5: adrp x8, _EINVAL@GOTPAGE Lloh6: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh7: ldr x8, [x8] neg x19, x8 LBB0_3: mov x0, x19 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 AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%lu" .comm _reserved_size,8,3 ; @reserved_size .comm _EINVAL,8,3 ; @EINVAL .no_dead_strip _reserved_size_store .subsections_via_symbols
AnghaBench/linux/kernel/power/extr_hibernate.c_reserved_size_store.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_iocfc_process_faa_addr _bfa_iocfc_process_faa_addr: ## @bfa_iocfc_process_faa_addr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq 8(%rdi), %rax movq 8(%rdi), %rcx movl 4(%rsi), %edx movl %edx, 4(%rcx) movl (%rsi), %esi movl %esi, (%rcx) movq (%rdi), %rcx movl %edx, 4(%rcx) movl %esi, (%rcx) movq _IOCFC_E_CFG_DONE@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi popq %rbp jmp _bfa_fsm_send_event ## TAILCALL .cfi_endproc ## -- End function .comm _IOCFC_E_CFG_DONE,4,2 ## @IOCFC_E_CFG_DONE .no_dead_strip _bfa_iocfc_process_faa_addr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_iocfc_process_faa_addr _bfa_iocfc_process_faa_addr: ; @bfa_iocfc_process_faa_addr .cfi_startproc ; %bb.0: mov x8, x0 ldr x9, [x8, #8]! ldr x10, [x0] ldp w12, w11, [x1] stp w12, w11, [x9] stp w12, w11, [x10] Lloh0: adrp x9, _IOCFC_E_CFG_DONE@GOTPAGE Lloh1: ldr x9, [x9, _IOCFC_E_CFG_DONE@GOTPAGEOFF] Lloh2: ldr w1, [x9] mov x0, x8 b _bfa_fsm_send_event .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IOCFC_E_CFG_DONE,4,2 ; @IOCFC_E_CFG_DONE .no_dead_strip _bfa_iocfc_process_faa_addr .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_core.c_bfa_iocfc_process_faa_addr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/115766040.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crypto_is_test_larval _crypto_is_test_larval: ## @crypto_is_test_larval .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _crypto_is_test_larval .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crypto_is_test_larval _crypto_is_test_larval: ; @crypto_is_test_larval .cfi_startproc ; %bb.0: ldr x8, [x0] ldr w0, [x8] ret .cfi_endproc ; -- End function .no_dead_strip _crypto_is_test_larval .subsections_via_symbols
AnghaBench/fastsocket/kernel/crypto/extr_api.c_crypto_is_test_larval.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SurfaceForShader ## -- Begin function SurfaceForShader .p2align 4, 0x90 _SurfaceForShader: ## @SurfaceForShader .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movl %esi, %r14d movq %rdi, %r15 movq _lastSurface@GOTPCREL(%rip), %r10 movq (%r10), %rax testq %rax, %rax je LBB0_4 ## %bb.1: cmpq %r15, 8(%rax) jne LBB0_4 ## %bb.2: cmpl %r14d, (%rax) jne LBB0_4 ## %bb.3: cmpl %ebx, 4(%rax) je LBB0_14 LBB0_4: movq _surfaces@GOTPCREL(%rip), %r12 movq (%r12), %rdi movq _numsurfaces@GOTPCREL(%rip), %r8 movl (%r8), %ecx movq %rdi, %rax testl %ecx, %ecx js LBB0_10 ## %bb.5: xorl %edx, %edx movq %rdi, %rax jmp LBB0_6 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=1 decl %edx addq $16, %rax cmpl %ecx, %edx jg LBB0_10 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpq %r15, 8(%rax) jne LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 cmpl %r14d, (%rax) jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 cmpl %ebx, 4(%rax) jne LBB0_9 ## %bb.13: movq %rax, (%r10) jmp LBB0_14 LBB0_10: movq %rax, (%r10) movq _maxsurfaces@GOTPCREL(%rip), %r13 movl (%r13), %esi cmpl %esi, %ecx jl LBB0_12 ## %bb.11: movq _GROW_SURFACES@GOTPCREL(%rip), %rax addl (%rax), %esi movl %esi, (%r13) shll $4, %esi callq _realloc movq %rax, (%r12) movq _numsurfaces@GOTPCREL(%rip), %rcx movslq (%rcx), %rdx movq %rdx, %rcx shlq $4, %rcx leaq (%rax,%rcx), %rdi addq $16, %rdi notl %edx addl (%r13), %edx shll $4, %edx xorl %esi, %esi ## kill: def $edx killed $edx killed $rdx callq _memset movq _lastSurface@GOTPCREL(%rip), %r10 movq _numsurfaces@GOTPCREL(%rip), %r8 movq (%r12), %rdi movl (%r8), %ecx LBB0_12: leal 1(%rcx), %eax movl %eax, (%r8) movslq %ecx, %rax shlq $4, %rax leaq (%rdi,%rax), %rcx movq %rcx, (%r10) movq %r15, 8(%rdi,%rax) movq (%r10), %rax movl %r14d, (%rax) movl %ebx, 4(%rax) LBB0_14: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _lastSurface,8,3 ## @lastSurface .comm _surfaces,8,3 ## @surfaces .comm _numsurfaces,4,2 ## @numsurfaces .comm _maxsurfaces,4,2 ## @maxsurfaces .comm _GROW_SURFACES,8,3 ## @GROW_SURFACES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SurfaceForShader ; -- Begin function SurfaceForShader .p2align 2 _SurfaceForShader: ; @SurfaceForShader .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x22, _lastSurface@GOTPAGE Lloh1: ldr x22, [x22, _lastSurface@GOTPAGEOFF] ldr x8, [x22] cbz x8, LBB0_4 ; %bb.1: ldr x9, [x8, #8] cmp x9, x21 b.ne LBB0_4 ; %bb.2: ldr w9, [x8] cmp w9, w20 b.ne LBB0_4 ; %bb.3: ldr w9, [x8, #4] cmp w9, w19 b.eq LBB0_14 LBB0_4: Lloh2: adrp x24, _surfaces@GOTPAGE Lloh3: ldr x24, [x24, _surfaces@GOTPAGEOFF] ldr x0, [x24] Lloh4: adrp x23, _numsurfaces@GOTPAGE Lloh5: ldr x23, [x23, _numsurfaces@GOTPAGEOFF] ldr w9, [x23] mov x8, x0 tbnz w9, #31, LBB0_11 ; %bb.5: mov w10, #0 ; =0x0 mov x8, x0 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 sub w10, w10, #1 add x8, x8, #16 cmp w10, w9 b.gt LBB0_11 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x11, [x8, #8] cmp x11, x21 b.ne LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr w11, [x8] cmp w11, w20 b.ne LBB0_6 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 ldr w11, [x8, #4] cmp w11, w19 b.ne LBB0_6 ; %bb.10: str x8, [x22] b LBB0_14 LBB0_11: str x8, [x22] Lloh6: adrp x25, _maxsurfaces@GOTPAGE Lloh7: ldr x25, [x25, _maxsurfaces@GOTPAGEOFF] ldr w8, [x25] cmp w9, w8 b.lt LBB0_13 ; %bb.12: Lloh8: adrp x9, _GROW_SURFACES@GOTPAGE Lloh9: ldr x9, [x9, _GROW_SURFACES@GOTPAGEOFF] Lloh10: ldr w9, [x9] add w8, w8, w9 str w8, [x25] lsl w1, w8, #4 bl _realloc str x0, [x24] ldrsw x8, [x23] add x9, x0, x8, lsl #4 ldr w10, [x25] mvn w8, w8 add w8, w10, w8 lsl w2, w8, #4 add x0, x9, #16 mov w1, #0 ; =0x0 bl _memset ldr x0, [x24] ldr w9, [x23] LBB0_13: add w8, w9, #1 str w8, [x23] add x8, x0, w9, sxtw #4 str x8, [x22] str x21, [x8, #8] ldr x8, [x22] stp w20, w19, [x8] LBB0_14: mov x0, x8 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _lastSurface,8,3 ; @lastSurface .comm _surfaces,8,3 ; @surfaces .comm _numsurfaces,4,2 ; @numsurfaces .comm _maxsurfaces,4,2 ; @maxsurfaces .comm _GROW_SURFACES,8,3 ; @GROW_SURFACES .subsections_via_symbols
assembly_file_73054.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wpas_add_beacon_rep_elem _wpas_add_beacon_rep_elem: ## @wpas_add_beacon_rep_elem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r12 movq %r8, -64(%rbp) ## 8-byte Spill movq %rcx, %rbx movq %rdx, -48(%rbp) ## 8-byte Spill movq %rsi, -56(%rbp) ## 8-byte Spill movq %rdi, %r15 movq _REPORTED_FRAME_BODY_SUBELEM_LEN@GOTPCREL(%rip), %rdx movq 16(%rdi), %rax testq %rax, %rax movq _BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN@GOTPCREL(%rip), %rcx movslq (%rcx), %r13 cmoveq %rax, %r13 addq (%rdx), %r13 movq (%r9), %rax leaq (%rax,%r13), %rdi addq $18, %rdi callq _os_malloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r14 movq %rax, %rdi movq %rbx, %rsi movl $4, %edx callq _os_memcpy movl 24(%r15), %edi movq (%r15), %rsi leaq 16(%r14), %rcx movl (%r12), %r8d addl $14, %r8d xorl %eax, %eax cmpl $0, 16(%rbp) sete %al movq -56(%rbp), %rdx ## 8-byte Reload movq -64(%rbp), %r9 ## 8-byte Reload pushq %rax pushq %r12 callq _wpas_beacon_rep_add_frame_body addq $16, %rsp movl %eax, %ebx testl %eax, %eax js LBB0_10 ## %bb.3: movl %ebx, %eax leaq (%r14,%rax,4), %rcx addq $16, %rcx movq _WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, 16(%r14,%rax,4) movabsq $4294967298, %rdx ## imm = 0x100000002 movq %rdx, 20(%r14,%rax,4) movl 16(%rbp), %edi movl %edi, 28(%r14,%rax,4) movq (%r15), %rdx movq _BEACON_REPORT_DETAIL_NONE@GOTPCREL(%rip), %rsi cmpq (%rsi), %rdx movl %edi, %esi je LBB0_6 ## %bb.4: cmpq $0, (%r12) je LBB0_6 ## %bb.5: movq _REPORTED_FRAME_BODY_MORE_FRAGMENTS@GOTPCREL(%rip), %rdx orl (%rdx), %esi movl %esi, %edx jmp LBB0_7 LBB0_1: movl $-1, %ebx jmp LBB0_11 LBB0_6: movq _REPORTED_FRAME_BODY_MORE_FRAGMENTS@GOTPCREL(%rip), %rdx movl (%rdx), %edx notl %edx andl %esi, %edx LBB0_7: movq -48(%rbp), %rdi ## 8-byte Reload movl %edx, 12(%rcx) cmpq $0, 16(%r15) je LBB0_9 ## %bb.8: movq _REPORTED_FRAME_BODY_SUBELEM_LEN@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq _WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION@GOTPCREL(%rip), %rsi movl (%rsi), %esi movl %esi, (%rcx,%rdx,4) movq $1, 4(%rcx,%rdx,4) LBB0_9: movl 8(%r15), %esi movq _MEASUREMENT_REPORT_MODE_ACCEPT@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _MEASURE_TYPE_BEACON@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq (%rax,%r13), %r9 addq $4, %r9 movq %r14, %r8 callq _wpas_rrm_report_elem movl %eax, %ebx LBB0_10: movq %r14, %rdi callq _os_free LBB0_11: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _REPORTED_FRAME_BODY_SUBELEM_LEN,8,3 ## @REPORTED_FRAME_BODY_SUBELEM_LEN .comm _BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN,4,2 ## @BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN .comm _WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID,4,2 ## @WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID .comm _BEACON_REPORT_DETAIL_NONE,8,3 ## @BEACON_REPORT_DETAIL_NONE .comm _REPORTED_FRAME_BODY_MORE_FRAGMENTS,4,2 ## @REPORTED_FRAME_BODY_MORE_FRAGMENTS .comm _WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION,4,2 ## @WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION .comm _MEASUREMENT_REPORT_MODE_ACCEPT,4,2 ## @MEASUREMENT_REPORT_MODE_ACCEPT .comm _MEASURE_TYPE_BEACON,4,2 ## @MEASURE_TYPE_BEACON .no_dead_strip _wpas_add_beacon_rep_elem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function wpas_add_beacon_rep_elem lCPI0_0: .long 2 ; 0x2 .long 1 ; 0x1 lCPI0_1: .long 1 ; 0x1 .long 0 ; 0x0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _wpas_add_beacon_rep_elem: ; @wpas_add_beacon_rep_elem .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, x6 mov x23, x5 mov x24, x4 mov x26, x3 mov x19, x2 mov x25, x1 mov x21, x0 Lloh0: adrp x28, _REPORTED_FRAME_BODY_SUBELEM_LEN@GOTPAGE Lloh1: ldr x28, [x28, _REPORTED_FRAME_BODY_SUBELEM_LEN@GOTPAGEOFF] ldr x8, [x28] ldr x9, [x0, #16] Lloh2: adrp x10, _BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN@GOTPAGE Lloh3: ldr x10, [x10, _BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN@GOTPAGEOFF] Lloh4: ldrsw x10, [x10] cmp x9, #0 csel x9, xzr, x10, eq ldr x10, [x5] add x27, x9, x8 add x8, x10, x27 add x0, x8, #18 bl _os_malloc cbz x0, LBB0_5 ; %bb.1: mov x20, x0 mov x1, x26 mov w2, #4 bl _os_memcpy ldr w0, [x21, #24] ldr x1, [x21] add x3, x20, #16 ldr w8, [x23] add w4, w8, #14 cmp w22, #0 cset w7, eq mov x2, x25 mov x5, x24 mov x6, x23 bl _wpas_beacon_rep_add_frame_body mov x24, x0 tbnz w0, #31, LBB0_10 ; %bb.2: mov w8, w24 add x9, x20, w24, uxtw #2 Lloh5: adrp x10, _WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID@GOTPAGE Lloh6: ldr x10, [x10, _WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID@GOTPAGEOFF] Lloh7: ldr w10, [x10] str w10, [x9, #16]! Lloh8: adrp x10, lCPI0_0@PAGE Lloh9: ldr d0, [x10, lCPI0_0@PAGEOFF] stur d0, [x9, #4] str w22, [x9, #12] ldr x10, [x21] Lloh10: adrp x11, _BEACON_REPORT_DETAIL_NONE@GOTPAGE Lloh11: ldr x11, [x11, _BEACON_REPORT_DETAIL_NONE@GOTPAGEOFF] Lloh12: ldr x11, [x11] cmp x10, x11 b.eq LBB0_6 ; %bb.3: ldr x10, [x23] cbz x10, LBB0_6 ; %bb.4: Lloh13: adrp x10, _REPORTED_FRAME_BODY_MORE_FRAGMENTS@GOTPAGE Lloh14: ldr x10, [x10, _REPORTED_FRAME_BODY_MORE_FRAGMENTS@GOTPAGEOFF] Lloh15: ldr w10, [x10] orr w10, w10, w22 b LBB0_7 LBB0_5: mov w24, #-1 b LBB0_11 LBB0_6: Lloh16: adrp x10, _REPORTED_FRAME_BODY_MORE_FRAGMENTS@GOTPAGE Lloh17: ldr x10, [x10, _REPORTED_FRAME_BODY_MORE_FRAGMENTS@GOTPAGEOFF] Lloh18: ldr w10, [x10] bic w10, w22, w10 LBB0_7: str w10, [x9, #12] ldr x10, [x21, #16] cbz x10, LBB0_9 ; %bb.8: ldr x10, [x28] Lloh19: adrp x11, _WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION@GOTPAGE Lloh20: ldr x11, [x11, _WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION@GOTPAGEOFF] add x9, x9, x10, lsl #2 Lloh21: ldr w10, [x11] str w10, [x9] Lloh22: adrp x10, lCPI0_1@PAGE Lloh23: ldr d0, [x10, lCPI0_1@PAGEOFF] stur d0, [x9, #4] LBB0_9: ldr w1, [x21, #8] Lloh24: adrp x9, _MEASUREMENT_REPORT_MODE_ACCEPT@GOTPAGE Lloh25: ldr x9, [x9, _MEASUREMENT_REPORT_MODE_ACCEPT@GOTPAGEOFF] Lloh26: ldr w2, [x9] Lloh27: adrp x9, _MEASURE_TYPE_BEACON@GOTPAGE Lloh28: ldr x9, [x9, _MEASURE_TYPE_BEACON@GOTPAGEOFF] Lloh29: ldr w3, [x9] add x8, x27, x8 add x5, x8, #4 mov x0, x19 mov x4, x20 bl _wpas_rrm_report_elem mov x24, x0 LBB0_10: mov x0, x20 bl _os_free 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 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdr Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdr Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .cfi_endproc ; -- End function .comm _REPORTED_FRAME_BODY_SUBELEM_LEN,8,3 ; @REPORTED_FRAME_BODY_SUBELEM_LEN .comm _BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN,4,2 ; @BEACON_REPORT_LAST_INDICATION_SUBELEM_LEN .comm _WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID,4,2 ; @WLAN_BEACON_REPORT_SUBELEM_FRAME_BODY_FRAGMENT_ID .comm _BEACON_REPORT_DETAIL_NONE,8,3 ; @BEACON_REPORT_DETAIL_NONE .comm _REPORTED_FRAME_BODY_MORE_FRAGMENTS,4,2 ; @REPORTED_FRAME_BODY_MORE_FRAGMENTS .comm _WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION,4,2 ; @WLAN_BEACON_REPORT_SUBELEM_LAST_INDICATION .comm _MEASUREMENT_REPORT_MODE_ACCEPT,4,2 ; @MEASUREMENT_REPORT_MODE_ACCEPT .comm _MEASURE_TYPE_BEACON,4,2 ; @MEASURE_TYPE_BEACON .no_dead_strip _wpas_add_beacon_rep_elem .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/wpa_supplicant/extr_rrm.c_wpas_add_beacon_rep_elem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _new_expr_paren ## -- Begin function new_expr_paren .p2align 4, 0x90 _new_expr_paren: ## @new_expr_paren .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movl %edi, %esi movq _EXPR_PAREN@GOTPCREL(%rip), %rax movl (%rax), %edi callq _new_expr movq %rbx, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _EXPR_PAREN,4,2 ## @EXPR_PAREN .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _new_expr_paren ; -- Begin function new_expr_paren .p2align 2 _new_expr_paren: ; @new_expr_paren .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x1, x0 Lloh0: adrp x8, _EXPR_PAREN@GOTPAGE Lloh1: ldr x8, [x8, _EXPR_PAREN@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _new_expr str x19, [x0] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EXPR_PAREN,4,2 ; @EXPR_PAREN .subsections_via_symbols
AnghaBench/bitwise/ion/extr_ast.c_new_expr_paren.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_format_by_sig _get_format_by_sig: ## @get_format_by_sig .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 _gpg_format@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _ARRAY_SIZE xorl %r14d, %r14d testl %eax, %eax jle LBB0_8 ## %bb.1: xorl %r13d, %r13d jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 incq %r13 callq _ARRAY_SIZE cltq cmpq %rax, %r13 jge LBB0_8 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq (%r15), %rdi movq (%rdi,%r13,8), %rax movq (%rax), %rsi testq %rsi, %rsi je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl $8, %ebx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r12, %rdi callq _starts_with testq %rax, %rax jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_5 Depth=2 movq (%r15), %rdi movq (%rdi,%r13,8), %rax movq (%rax,%rbx), %rsi addq $8, %rbx testq %rsi, %rsi jne LBB0_5 jmp LBB0_7 LBB0_6: movl %r13d, %r14d shlq $3, %r14 addq (%r15), %r14 LBB0_8: movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _gpg_format,8,3 ## @gpg_format .no_dead_strip _get_format_by_sig .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_format_by_sig _get_format_by_sig: ; @get_format_by_sig .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, _gpg_format@GOTPAGE Lloh1: ldr x20, [x20, _gpg_format@GOTPAGEOFF] ldr x0, [x20] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_8 ; %bb.1: mov x21, #0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 bl _ARRAY_SIZE cmp x21, w0, sxtw b.ge LBB0_8 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ldr x0, [x20] ldr x8, [x0, x21, lsl #3] ldr x1, [x8] cbz x1, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w22, #8 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x19 bl _starts_with cbnz x0, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 ldr x0, [x20] ldr x8, [x0, x21, lsl #3] ldr x1, [x8, x22] add x22, x22, #8 cbnz x1, LBB0_5 b LBB0_2 LBB0_7: ldr x8, [x20] add x0, x8, w21, uxtw #3 b LBB0_9 LBB0_8: mov x0, #0 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 AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _gpg_format,8,3 ; @gpg_format .no_dead_strip _get_format_by_sig .subsections_via_symbols
AnghaBench/git/extr_gpg-interface.c_get_format_by_sig.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 movl %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 movl $30, %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 _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #30 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/190769470.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _outSubqueryScan __outSubqueryScan: ## @_outSubqueryScan .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movl %edi, %ebx leaq L_.str(%rip), %rdi callq _WRITE_NODE_TYPE movl %ebx, %edi movq %r14, %rsi callq __outScanInfo movq _subplan@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbx popq %r14 popq %rbp jmp _WRITE_NODE_FIELD ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "SUBQUERYSCAN" .comm _subplan,4,2 ## @subplan .no_dead_strip __outSubqueryScan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _outSubqueryScan __outSubqueryScan: ; @_outSubqueryScan .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _WRITE_NODE_TYPE mov x0, x20 mov x1, x19 bl __outScanInfo Lloh2: adrp x8, _subplan@GOTPAGE Lloh3: ldr x8, [x8, _subplan@GOTPAGEOFF] Lloh4: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _WRITE_NODE_FIELD .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "SUBQUERYSCAN" .comm _subplan,4,2 ; @subplan .no_dead_strip __outSubqueryScan .subsections_via_symbols
AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outSubqueryScan.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $104, %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) xorps %xmm0, %xmm0 movaps %xmm0, -112(%rbp) movaps %xmm0, -128(%rbp) movq $0, -96(%rbp) movl $0, -132(%rbp) leaq L_.str(%rip), %rdi xorl %r13d, %r13d leaq -80(%rbp), %rsi xorl %eax, %eax callq _scanf cmpb $0, -80(%rbp) je LBB0_7 ## %bb.1: xorl %r13d, %r13d leaq -136(%rbp), %r14 xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %eax movb $0, -136(%rbp,%rax) movq %r14, %rdi callq _atoi movl %eax, -128(%rbp,%r13,4) incq %r13 incl %r15d addq %rbx, %r15 movslq %r15d, %rax cmpb $0, -80(%rbp,%rax) je LBB0_7 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movslq %r15d, %rax addq %rbp, %rax addq $-80, %rax xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rax,%rbx), %ecx testb %cl, %cl je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 cmpb $44, %cl je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 movb %cl, -136(%rbp,%rbx) incq %rbx jmp LBB0_3 LBB0_7: leaq L_.str.1(%rip), %rdi leaq -132(%rbp), %rsi xorl %eax, %eax callq _scanf movl -132(%rbp), %eax cmpl $-1, %eax je LBB0_18 ## %bb.8: movl %r13d, %r14d leaq -132(%rbp), %r12 leaq L_.str.2(%rip), %rbx jmp LBB0_9 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_9 Depth=1 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi movq %r12, %rsi xorl %eax, %eax callq _scanf movl -132(%rbp), %eax cmpl $-1, %eax je LBB0_18 LBB0_9: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 ## Child Loop BB0_13 Depth 3 testl %r13d, %r13d je LBB0_17 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_9 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_13 Depth 3 movl -128(%rbp,%r15,4), %esi cmpl %esi, %eax jl LBB0_15 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 xorl %edx, %edx .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_9 Depth=1 ## Parent Loop BB0_11 Depth=2 ## => This Inner Loop Header: Depth=3 incl %edx subl %esi, %eax cmpl %esi, %eax jge LBB0_13 ## %bb.14: ## in Loop: Header=BB0_11 Depth=2 movl %eax, -132(%rbp) movq %rbx, %rdi xorl %eax, %eax callq _printf LBB0_15: ## in Loop: Header=BB0_11 Depth=2 incq %r15 cmpq %r14, %r15 je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_11 Depth=2 movl -132(%rbp), %eax jmp LBB0_11 LBB0_18: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_20 ## %bb.19: xorl %eax, %eax addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "%d:%d," L_str: ## @str .asciz "\b " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x26, x25, [sp, #112] ; 16-byte Folded Spill stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] str xzr, [sp, #64] movi.2d v0, #0000000000000000 stp q0, q0, [sp, #32] str wzr, [sp, #24] add x19, sp, #74 str x19, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _scanf ldrb w8, [sp, #74] cbz w8, LBB0_6 ; %bb.1: mov x22, #0 mov w20, #0 add x21, sp, #28 add x23, sp, #32 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 strb wzr, [x21, w24, uxtw] add x0, sp, #28 bl _atoi add x22, x25, #1 str w0, [x23, x25, lsl #2] add w8, w20, #1 add x20, x8, x24 ldrb w8, [x19, w20, sxtw] cbz w8, LBB0_7 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 mov x24, #0 mov x25, x22 add x8, x19, w20, sxtw ldrb w9, [x8, x24] cbz w9, LBB0_2 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w9, #44 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 strb w9, [x21, x24] add x24, x24, #1 ldrb w9, [x8, x24] cbnz w9, LBB0_4 b LBB0_2 LBB0_6: mov w22, #0 LBB0_7: add x23, sp, #24 str x23, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w8, [sp, #24] cmn w8, #1 b.eq LBB0_18 ; %bb.8: Lloh7: adrp x19, l_str@PAGE Lloh8: add x19, x19, l_str@PAGEOFF mov w24, w22 Lloh9: adrp x20, l_.str.1@PAGE Lloh10: add x20, x20, l_.str.1@PAGEOFF add x25, sp, #32 Lloh11: adrp x21, l_.str.2@PAGE Lloh12: add x21, x21, l_.str.2@PAGEOFF b LBB0_10 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 mov x0, x19 bl _puts str x23, [sp] mov x0, x20 bl _scanf ldr w8, [sp, #24] cmn w8, #1 b.eq LBB0_18 LBB0_10: ; =>This Loop Header: Depth=1 ; Child Loop BB0_12 Depth 2 ; Child Loop BB0_14 Depth 3 cbz w22, LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 mov x26, #0 LBB0_12: ; Parent Loop BB0_10 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_14 Depth 3 ldr w9, [x25, x26, lsl #2] cmp w8, w9 b.lt LBB0_16 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 mov w10, #0 LBB0_14: ; Parent Loop BB0_10 Depth=1 ; Parent Loop BB0_12 Depth=2 ; => This Inner Loop Header: Depth=3 add w10, w10, #1 sub w8, w8, w9 cmp w8, w9 b.ge LBB0_14 ; %bb.15: ; in Loop: Header=BB0_12 Depth=2 str w8, [sp, #24] stp x9, x10, [sp] mov x0, x21 bl _printf LBB0_16: ; in Loop: Header=BB0_12 Depth=2 add x26, x26, #1 cmp x26, x24 b.eq LBB0_9 ; %bb.17: ; in Loop: Header=BB0_12 Depth=2 ldr w8, [sp, #24] b LBB0_12 LBB0_18: ldur x8, [x29, #-72] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.19: mov w0, #0 ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload ldp x26, x25, [sp, #112] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_20: bl ___stack_chk_fail .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "%d:%d," l_str: ; @str .asciz "\b " .subsections_via_symbols
the_stack_data/1156128.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function flashrestart _flashrestart: ## @flashrestart .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, %r12 movq %rdi, %r13 movl $1, %edi callq _ssleep movq _FLAG_FLASHING@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 8(%r13), %r15 movq %r15, %rsi callq _clear_bit movq _FLAG_MPI@GOTPCREL(%rip), %rbx movl (%rbx), %edi movq %r15, %rsi callq _test_bit testq %rax, %rax je LBB0_2 ## %bb.1: movq %r13, %rdi callq _mpi_init_descriptors movl %eax, %r14d movq _SUCCESS@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jne LBB0_7 LBB0_2: movl (%r12), %esi movq %r13, %rdi movl $1, %edx callq _setup_card movl %eax, %r14d movl (%rbx), %edi movq %r15, %rsi callq _test_bit testq %rax, %rax jne LBB0_6 ## %bb.3: movq _MAX_FIDS@GOTPCREL(%rip), %r15 movl (%r15), %eax testl %eax, %eax jle LBB0_6 ## %bb.4: xorl %ebx, %ebx movq _AIRO_DEF_MTU@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%r12), %esi movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx movslq %ecx, %rax xorl %edx, %edx cmpq %rax, %rbx setge %dl movq %r13, %rdi callq _transmit_allocate movq (%r13), %rcx movl %eax, (%rcx,%rbx,4) incq %rbx movslq (%r15), %rax cmpq %rax, %rbx jl LBB0_5 LBB0_6: movl $1, %edi callq _ssleep LBB0_7: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FLAG_FLASHING,4,2 ## @FLAG_FLASHING .comm _FLAG_MPI,4,2 ## @FLAG_MPI .comm _SUCCESS,4,2 ## @SUCCESS .comm _MAX_FIDS,4,2 ## @MAX_FIDS .comm _AIRO_DEF_MTU,4,2 ## @AIRO_DEF_MTU .no_dead_strip _flashrestart .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function flashrestart _flashrestart: ; @flashrestart .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 x22, x1 mov x19, x0 mov w0, #1 bl _ssleep Lloh0: adrp x8, _FLAG_FLASHING@GOTPAGE Lloh1: ldr x8, [x8, _FLAG_FLASHING@GOTPAGEOFF] Lloh2: ldr w0, [x8] add x21, x19, #8 mov x1, x21 bl _clear_bit Lloh3: adrp x23, _FLAG_MPI@GOTPAGE Lloh4: ldr x23, [x23, _FLAG_MPI@GOTPAGEOFF] ldr w0, [x23] mov x1, x21 bl _test_bit cbz x0, LBB0_2 ; %bb.1: mov x0, x19 bl _mpi_init_descriptors mov x20, x0 Lloh5: adrp x8, _SUCCESS@GOTPAGE Lloh6: ldr x8, [x8, _SUCCESS@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w0, w8 b.ne LBB0_7 LBB0_2: ldr w1, [x22] mov x0, x19 mov w2, #1 bl _setup_card mov x20, x0 ldr w0, [x23] mov x1, x21 bl _test_bit cbnz x0, LBB0_6 ; %bb.3: Lloh8: adrp x21, _MAX_FIDS@GOTPAGE Lloh9: ldr x21, [x21, _MAX_FIDS@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_6 ; %bb.4: mov x22, #0 Lloh10: adrp x23, _AIRO_DEF_MTU@GOTPAGE Lloh11: ldr x23, [x23, _AIRO_DEF_MTU@GOTPAGEOFF] LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w1, [x23] cmp w8, #0 cinc w8, w8, lt asr w8, w8, #1 cmp x22, w8, sxtw cset w2, ge mov x0, x19 bl _transmit_allocate ldr x8, [x19] str w0, [x8, x22, lsl #2] add x22, x22, #1 ldrsw x8, [x21] cmp x22, x8 b.lt LBB0_5 LBB0_6: mov w0, #1 bl _ssleep LBB0_7: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _FLAG_FLASHING,4,2 ; @FLAG_FLASHING .comm _FLAG_MPI,4,2 ; @FLAG_MPI .comm _SUCCESS,4,2 ; @SUCCESS .comm _MAX_FIDS,4,2 ; @MAX_FIDS .comm _AIRO_DEF_MTU,4,2 ; @AIRO_DEF_MTU .no_dead_strip _flashrestart .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/cisco/extr_airo.c_flashrestart.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function wb_init _wb_init: ## @wb_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %r12d movq %rsi, %rbx movq %rdi, %r14 xorl %esi, %esi movl $120, %edx callq _memset cmpq %rbx, %r14 je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _bdi_get LBB0_2: movq %rbx, 112(%r14) movq _jiffies@GOTPCREL(%rip), %r13 movq (%r13), %rax movq %rax, 104(%r14) leaq 96(%r14), %rdi callq _INIT_LIST_HEAD leaq 92(%r14), %rdi callq _INIT_LIST_HEAD leaq 88(%r14), %rdi callq _INIT_LIST_HEAD leaq 84(%r14), %rdi callq _INIT_LIST_HEAD leaq 80(%r14), %rdi callq _spin_lock_init movq (%r13), %rax movq %rax, 72(%r14) movq _INIT_BW@GOTPCREL(%rip), %rax movq (%rax), %xmm0 ## xmm0 = mem[0],zero pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1] movdqu %xmm0, 56(%r14) movdqu %xmm0, 40(%r14) leaq 32(%r14), %rdi callq _spin_lock_init leaq 28(%r14), %rdi callq _INIT_LIST_HEAD leaq 24(%r14), %rdi movq _wb_workfn@GOTPCREL(%rip), %rax movl (%rax), %esi callq _INIT_DELAYED_WORK movq (%r13), %rax movq %rax, 16(%r14) movq %rbx, %rdi movl %r12d, %esi movl %r15d, %edx callq _wb_congested_get_create movl %eax, (%r14) testl %eax, %eax je LBB0_3 ## %bb.4: leaq 4(%r14), %r12 movq %r12, %rdi movl %r15d, %esi callq _fprop_local_init_percpu testl %eax, %eax je LBB0_5 LBB0_12: movl (%r14), %edi movl %eax, %r15d callq _wb_congested_put movl %r15d, %eax cmpq %rbx, %r14 jne LBB0_14 jmp LBB0_17 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax cmpq %rbx, %r14 je LBB0_17 LBB0_14: movq %rbx, %rdi movl %eax, %ebx callq _bdi_put movl %ebx, %eax jmp LBB0_17 LBB0_5: movq _NR_WB_STAT_ITEMS@GOTPCREL(%rip), %rax cmpl $0, (%rax) js LBB0_16 ## %bb.6: movq %r12, -48(%rbp) ## 8-byte Spill movq $-4, %r13 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rax leaq (%rax,%r13), %rdi addq $4, %rdi xorl %esi, %esi movl %r15d, %edx callq _percpu_counter_init testl %eax, %eax jne LBB0_8 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 decq %r12 movq _NR_WB_STAT_ITEMS@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $-4, %r13 cmpq %rax, %r12 jle LBB0_7 LBB0_16: xorl %eax, %eax LBB0_17: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movl %eax, %r15d testq %r12, %r12 je LBB0_11 ## %bb.9: negq %r12 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rdi addq %r13, %rdi callq _percpu_counter_destroy addq $-4, %r13 incq %r12 jne LBB0_10 LBB0_11: movq -48(%rbp), %rdi ## 8-byte Reload callq _fprop_local_destroy_percpu movl %r15d, %eax jmp LBB0_12 .cfi_endproc ## -- End function .comm _jiffies,8,3 ## @jiffies .comm _INIT_BW,8,3 ## @INIT_BW .comm _wb_workfn,4,2 ## @wb_workfn .comm _ENOMEM,4,2 ## @ENOMEM .comm _NR_WB_STAT_ITEMS,4,2 ## @NR_WB_STAT_ITEMS .no_dead_strip _wb_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function wb_init _wb_init: ; @wb_init .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x3 mov x22, x2 mov x19, x1 mov x20, x0 mov w1, #0 ; =0x0 mov w2, #120 ; =0x78 bl _memset cmp x20, x19 b.eq LBB0_2 ; %bb.1: mov x0, x19 bl _bdi_get LBB0_2: Lloh0: adrp x23, _jiffies@GOTPAGE Lloh1: ldr x23, [x23, _jiffies@GOTPAGEOFF] ldr x8, [x23] stp x8, x19, [x20, #104] add x0, x20, #96 bl _INIT_LIST_HEAD add x0, x20, #92 bl _INIT_LIST_HEAD add x0, x20, #88 bl _INIT_LIST_HEAD add x0, x20, #84 bl _INIT_LIST_HEAD add x0, x20, #80 bl _spin_lock_init ldr x10, [x23] Lloh2: adrp x9, _INIT_BW@GOTPAGE Lloh3: ldr x9, [x9, _INIT_BW@GOTPAGEOFF] Lloh4: ldr x8, [x9] stp x8, x10, [x20, #64] stp x8, x8, [x20, #48] str x8, [x20, #40] add x0, x20, #32 bl _spin_lock_init add x0, x20, #28 bl _INIT_LIST_HEAD Lloh5: adrp x8, _wb_workfn@GOTPAGE Lloh6: ldr x8, [x8, _wb_workfn@GOTPAGEOFF] Lloh7: ldr w1, [x8] add x0, x20, #24 bl _INIT_DELAYED_WORK ldr x8, [x23] str x8, [x20, #16] mov x0, x19 mov x1, x22 mov x2, x21 bl _wb_congested_get_create str w0, [x20] cbz w0, LBB0_5 ; %bb.3: add x0, x20, #4 mov x1, x21 bl _fprop_local_init_percpu cbz w0, LBB0_7 LBB0_4: ldr w8, [x20] mov x21, x0 mov x0, x8 bl _wb_congested_put mov x0, x21 cmp x20, x19 b.ne LBB0_6 b LBB0_12 LBB0_5: Lloh8: adrp x8, _ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w0, w8 cmp x20, x19 b.eq LBB0_12 LBB0_6: mov x20, x0 mov x0, x19 bl _bdi_put mov x0, x20 b LBB0_12 LBB0_7: Lloh11: adrp x24, _NR_WB_STAT_ITEMS@GOTPAGE Lloh12: ldr x24, [x24, _NR_WB_STAT_ITEMS@GOTPAGEOFF] ldr w8, [x24] tbnz w8, #31, LBB0_11 ; %bb.8: mov x23, #0 ; =0x0 mov x22, #-4 ; =0xfffffffffffffffc LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] add x8, x8, x22 add x0, x8, #4 mov w1, #0 ; =0x0 mov x2, x21 bl _percpu_counter_init cbnz w0, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 sub x23, x23, #1 ldrsw x8, [x24] sub x22, x22, #4 cmp x23, x8 b.le LBB0_9 LBB0_11: mov w0, #0 ; =0x0 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 ret LBB0_13: mov x21, x0 cbz x23, LBB0_16 ; %bb.14: neg x23, x23 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] add x0, x8, x22 bl _percpu_counter_destroy sub x22, x22, #4 adds x23, x23, #1 b.lo LBB0_15 LBB0_16: add x0, x20, #4 bl _fprop_local_destroy_percpu mov x0, x21 b LBB0_4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _jiffies,8,3 ; @jiffies .comm _INIT_BW,8,3 ; @INIT_BW .comm _wb_workfn,4,2 ; @wb_workfn .comm _ENOMEM,4,2 ; @ENOMEM .comm _NR_WB_STAT_ITEMS,4,2 ; @NR_WB_STAT_ITEMS .no_dead_strip _wb_init .subsections_via_symbols
assembly_file_142786.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_sta_get_rates ## -- Begin function ieee80211_sta_get_rates .p2align 4, 0x90 _ieee80211_sta_get_rates: ## @ieee80211_sta_get_rates .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -56(%rbp) ## 8-byte Spill movq %rsi, %r14 movq (%rdi), %rax movq (%rax), %rax movl %edx, %ecx movq (%rax,%rcx,8), %rbx xorl %edi, %edi testq %rbx, %rbx sete %dil callq _WARN_ON movl $1, -44(%rbp) ## 4-byte Folded Spill testq %rax, %rax je LBB0_1 LBB0_19: movl -44(%rbp), %eax ## 4-byte Reload addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: movl (%r14), %r9d movl 4(%r14), %r8d movl %r8d, %edx addl %r9d, %edx jle LBB0_2 ## %bb.3: movq (%rbx), %r13 movq 8(%rbx), %r12 xorl %eax, %eax movq _BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPCREL(%rip), %r10 movl $0, -44(%rbp) ## 4-byte Folded Spill movq %r14, -64(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_4 Depth=1 movq -64(%rbp), %r14 ## 8-byte Reload movl (%r14), %r9d movl 4(%r14), %r8d movq -72(%rbp), %rax ## 8-byte Reload movq _BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPCREL(%rip), %r10 LBB0_18: ## in Loop: Header=BB0_4 Depth=1 incq %rax leal (%r8,%r9), %ecx movslq %ecx, %rcx cmpq %rcx, %rax jge LBB0_19 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_13 Depth 2 movslq %r9d, %rdx cmpq %rdx, %rax jge LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 leaq (,%rax,4), %rdx addq 8(%r14), %rdx jmp LBB0_9 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movq 16(%r14), %rdx testq %rdx, %rdx je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movl %eax, %esi subl %r9d, %esi movslq %esi, %rsi leaq (%rdx,%rsi,4), %rdx LBB0_9: ## in Loop: Header=BB0_4 Depth=1 movl (%rdx), %edx LBB0_10: ## in Loop: Header=BB0_4 Depth=1 movl %edx, %esi andl $127, %esi movl %edx, %ebx shrb $7, %bl cmpl (%r10), %esi sete %cl testb %cl, %bl jne LBB0_18 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 testq %r13, %r13 je LBB0_18 ## %bb.12: ## in Loop: Header=BB0_4 Depth=1 movq %rax, -72(%rbp) ## 8-byte Spill leal (%rsi,%rsi,4), %r15d movzbl %dl, %eax shrl $7, %eax cmpq $0, -56(%rbp) ## 8-byte Folded Reload setne %r14b andb %al, %r14b xorl %ebx, %ebx jmp LBB0_13 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_13 Depth=2 incq %rbx cmpq %rbx, %r13 je LBB0_17 LBB0_13: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl %r15d, (%r12,%rbx,4) jne LBB0_16 ## %bb.14: ## in Loop: Header=BB0_13 Depth=2 movl %ebx, %edi callq _BIT movl -44(%rbp), %ecx ## 4-byte Reload orl %eax, %ecx movl %ecx, %eax testb %r14b, %r14b movl %ecx, -44(%rbp) ## 4-byte Spill je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_13 Depth=2 movl %ebx, %edi callq _BIT movq -56(%rbp), %rcx ## 8-byte Reload orl %eax, (%rcx) jmp LBB0_16 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 xorl %edx, %edx jmp LBB0_10 LBB0_2: movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_19 .cfi_endproc ## -- End function .comm _BSS_MEMBERSHIP_SELECTOR_HT_PHY,4,2 ## @BSS_MEMBERSHIP_SELECTOR_HT_PHY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ieee80211_sta_get_rates ; -- Begin function ieee80211_sta_get_rates .p2align 2 _ieee80211_sta_get_rates: ; @ieee80211_sta_get_rates .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x20, x1 ldr x8, [x0] ldr x8, [x8] ldr x22, [x8, w2, uxtw #3] cmp x22, #0 cset w0, eq bl _WARN_ON cbz x0, LBB0_3 ; %bb.1: mov w21, #1 LBB0_2: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_3: ldp w8, w9, [x20] add w10, w9, w8 cmp w10, #1 b.lt LBB0_19 ; %bb.4: mov x23, #0 mov w21, #0 ldp x25, x24, [x22] Lloh0: adrp x26, _BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPAGE Lloh1: ldr x26, [x26, _BSS_MEMBERSHIP_SELECTOR_HT_PHY@GOTPAGEOFF] b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=1 ldp w8, w9, [x20] LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x23, x23, #1 add w10, w9, w8 cmp x23, w10, sxtw b.ge LBB0_2 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_16 Depth 2 cmp x23, w8, sxtw b.ge LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr x10, [x20, #8] add x10, x10, x23, lsl #2 b LBB0_11 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldr x10, [x20, #16] cbz x10, LBB0_12 ; %bb.10: ; in Loop: Header=BB0_7 Depth=1 sub w11, w23, w8 add x10, x10, w11, sxtw #2 LBB0_11: ; in Loop: Header=BB0_7 Depth=1 ldr w10, [x10] LBB0_12: ; in Loop: Header=BB0_7 Depth=1 and w11, w10, #0x7f ldr w12, [x26] cmp w11, w12 cset w12, eq and w12, w12, w10, lsr #7 tbnz w12, #0, LBB0_6 ; %bb.13: ; in Loop: Header=BB0_7 Depth=1 cbz x25, LBB0_6 ; %bb.14: ; in Loop: Header=BB0_7 Depth=1 mov x22, #0 add w27, w11, w11, lsl #2 and w8, w10, #0x80 cmp x19, #0 cset w9, ne and w28, w9, w8, lsr #7 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=2 add x22, x22, #1 cmp x25, x22 b.eq LBB0_5 LBB0_16: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x24, x22, lsl #2] cmp w8, w27 b.ne LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=2 mov x0, x22 bl _BIT orr w21, w0, w21 cbz w28, LBB0_15 ; %bb.18: ; in Loop: Header=BB0_16 Depth=2 mov x0, x22 bl _BIT ldr w8, [x19] orr w8, w8, w0 str w8, [x19] b LBB0_15 LBB0_19: mov w21, #0 b LBB0_2 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _BSS_MEMBERSHIP_SELECTOR_HT_PHY,4,2 ; @BSS_MEMBERSHIP_SELECTOR_HT_PHY .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/mac80211/extr_util.c_ieee80211_sta_get_rates.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function qlnx_add_hw_stats_sysctls _qlnx_add_hw_stats_sysctls: ## @qlnx_add_hw_stats_sysctls .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl 280(%rdi), %edi callq _device_get_sysctl_ctx movq %rax, %r14 movl 280(%rbx), %edi callq _device_get_sysctl_tree movq %rax, %rdi callq _SYSCTL_CHILDREN movq _OID_AUTO@GOTPCREL(%rip), %r13 movl (%r13), %edx movq _CTLFLAG_RD@GOTPCREL(%rip), %r12 movl (%r12), %r8d leaq L_.str(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %rax, %rsi xorl %r9d, %r9d callq _SYSCTL_ADD_NODE movq %rax, %rdi callq _SYSCTL_CHILDREN movq %rax, %r15 movl (%r13), %edx movl (%r12), %r8d leaq 232(%rbx), %r9 leaq L_.str.2(%rip), %rax movq %rax, (%rsp) leaq L_.str.1(%rip), %rcx movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 228(%rbx), %r9 leaq L_.str.4(%rip), %rax movq %rax, (%rsp) leaq L_.str.3(%rip), %rcx movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 224(%rbx), %r9 leaq L_.str.5(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 220(%rbx), %r9 leaq L_.str.6(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 216(%rbx), %r9 leaq L_.str.7(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 212(%rbx), %r9 leaq L_.str.8(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 208(%rbx), %r9 leaq L_.str.9(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 204(%rbx), %r9 leaq L_.str.10(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 200(%rbx), %r9 leaq L_.str.11(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 196(%rbx), %r9 leaq L_.str.12(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 192(%rbx), %r9 leaq L_.str.13(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 188(%rbx), %r9 leaq L_.str.14(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 184(%rbx), %r9 leaq L_.str.15(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 180(%rbx), %r9 leaq L_.str.16(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 176(%rbx), %r9 leaq L_.str.17(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 172(%rbx), %r9 leaq L_.str.18(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 168(%rbx), %r9 leaq L_.str.19(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 164(%rbx), %r9 leaq L_.str.20(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 160(%rbx), %r9 leaq L_.str.21(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 156(%rbx), %r9 leaq L_.str.22(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 152(%rbx), %r9 leaq L_.str.23(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 148(%rbx), %r9 leaq L_.str.24(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 144(%rbx), %r9 leaq L_.str.25(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 140(%rbx), %r9 leaq L_.str.26(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 136(%rbx), %r9 leaq L_.str.27(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 132(%rbx), %r9 leaq L_.str.28(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 128(%rbx), %r9 leaq L_.str.29(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 124(%rbx), %r9 leaq L_.str.30(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 120(%rbx), %r9 leaq L_.str.31(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 236(%rbx), %rax movq %rax, -48(%rbp) ## 8-byte Spill leaq 276(%rbx), %r9 leaq L_.str.32(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 272(%rbx), %r9 leaq L_.str.33(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 268(%rbx), %r9 leaq L_.str.34(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 264(%rbx), %r9 leaq L_.str.35(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 260(%rbx), %r9 leaq L_.str.36(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 116(%rbx), %r9 leaq L_.str.37(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 112(%rbx), %r9 leaq L_.str.38(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 108(%rbx), %r9 leaq L_.str.39(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 104(%rbx), %r9 leaq L_.str.40(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 100(%rbx), %r9 leaq L_.str.41(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 96(%rbx), %r9 leaq L_.str.42(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 92(%rbx), %r9 leaq L_.str.43(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 88(%rbx), %r9 leaq L_.str.44(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 84(%rbx), %r9 leaq L_.str.45(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 80(%rbx), %r9 leaq L_.str.46(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 76(%rbx), %r9 leaq L_.str.47(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 72(%rbx), %r9 leaq L_.str.48(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 68(%rbx), %r9 leaq L_.str.49(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 64(%rbx), %r9 leaq L_.str.50(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 60(%rbx), %r9 leaq L_.str.51(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 56(%rbx), %r9 leaq L_.str.52(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 256(%rbx), %r9 leaq L_.str.53(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 252(%rbx), %r9 leaq L_.str.54(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 248(%rbx), %r9 leaq L_.str.55(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 244(%rbx), %r9 leaq L_.str.56(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 52(%rbx), %r9 leaq L_.str.57(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 48(%rbx), %r9 leaq L_.str.58(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 240(%rbx), %r9 leaq L_.str.59(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq L_.str.60(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi movq -48(%rbp), %r9 ## 8-byte Reload callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 44(%rbx), %r9 leaq L_.str.61(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 40(%rbx), %r9 leaq L_.str.62(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 36(%rbx), %r9 leaq L_.str.63(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 32(%rbx), %r9 leaq L_.str.64(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 28(%rbx), %r9 leaq L_.str.65(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 24(%rbx), %r9 leaq L_.str.66(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 20(%rbx), %r9 leaq L_.str.67(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 16(%rbx), %r9 leaq L_.str.68(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 12(%rbx), %r9 leaq L_.str.69(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 8(%rbx), %r9 leaq L_.str.70(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq 4(%rbx), %r9 leaq L_.str.71(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi callq _SYSCTL_ADD_QUAD movl (%r13), %edx movl (%r12), %r8d leaq L_.str.72(%rip), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %r15, %rsi movq %rbx, %r9 callq _SYSCTL_ADD_QUAD addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OID_AUTO,4,2 ## @OID_AUTO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hwstat" .comm _CTLFLAG_RD,4,2 ## @CTLFLAG_RD L_.str.1: ## @.str.1 .asciz "no_buff_discards" L_.str.2: ## @.str.2 .asciz "No. of packets discarded due to lack of buffer" L_.str.3: ## @.str.3 .asciz "packet_too_big_discard" L_.str.4: ## @.str.4 .asciz "No. of packets discarded because packet was too big" L_.str.5: ## @.str.5 .asciz "ttl0_discard" L_.str.6: ## @.str.6 .asciz "rx_ucast_bytes" L_.str.7: ## @.str.7 .asciz "rx_mcast_bytes" L_.str.8: ## @.str.8 .asciz "rx_bcast_bytes" L_.str.9: ## @.str.9 .asciz "rx_ucast_pkts" L_.str.10: ## @.str.10 .asciz "rx_mcast_pkts" L_.str.11: ## @.str.11 .asciz "rx_bcast_pkts" L_.str.12: ## @.str.12 .asciz "mftag_filter_discards" L_.str.13: ## @.str.13 .asciz "mac_filter_discards" L_.str.14: ## @.str.14 .asciz "tx_ucast_bytes" L_.str.15: ## @.str.15 .asciz "tx_mcast_bytes" L_.str.16: ## @.str.16 .asciz "tx_bcast_bytes" L_.str.17: ## @.str.17 .asciz "tx_ucast_pkts" L_.str.18: ## @.str.18 .asciz "tx_mcast_pkts" L_.str.19: ## @.str.19 .asciz "tx_bcast_pkts" L_.str.20: ## @.str.20 .asciz "tx_err_drop_pkts" L_.str.21: ## @.str.21 .asciz "tpa_coalesced_pkts" L_.str.22: ## @.str.22 .asciz "tpa_coalesced_events" L_.str.23: ## @.str.23 .asciz "tpa_aborts_num" L_.str.24: ## @.str.24 .asciz "tpa_not_coalesced_pkts" L_.str.25: ## @.str.25 .asciz "tpa_coalesced_bytes" L_.str.26: ## @.str.26 .asciz "rx_64_byte_packets" L_.str.27: ## @.str.27 .asciz "rx_65_to_127_byte_packets" L_.str.28: ## @.str.28 .asciz "rx_128_to_255_byte_packets" L_.str.29: ## @.str.29 .asciz "rx_256_to_511_byte_packets" L_.str.30: ## @.str.30 .asciz "rx_512_to_1023_byte_packets" L_.str.31: ## @.str.31 .asciz "rx_1024_to_1518_byte_packets" L_.str.32: ## @.str.32 .asciz "rx_1519_to_1522_byte_packets" L_.str.33: ## @.str.33 .asciz "rx_1523_to_2047_byte_packets" L_.str.34: ## @.str.34 .asciz "rx_2048_to_4095_byte_packets" L_.str.35: ## @.str.35 .asciz "rx_4096_to_9216_byte_packets" L_.str.36: ## @.str.36 .asciz "rx_9217_to_16383_byte_packets" L_.str.37: ## @.str.37 .asciz "rx_crc_errors" L_.str.38: ## @.str.38 .asciz "rx_mac_crtl_frames" L_.str.39: ## @.str.39 .asciz "rx_pause_frames" L_.str.40: ## @.str.40 .asciz "rx_pfc_frames" L_.str.41: ## @.str.41 .asciz "rx_align_errors" L_.str.42: ## @.str.42 .asciz "rx_carrier_errors" L_.str.43: ## @.str.43 .asciz "rx_oversize_packets" L_.str.44: ## @.str.44 .asciz "rx_jabbers" L_.str.45: ## @.str.45 .asciz "rx_undersize_packets" L_.str.46: ## @.str.46 .asciz "rx_fragments" L_.str.47: ## @.str.47 .asciz "tx_64_byte_packets" L_.str.48: ## @.str.48 .asciz "tx_65_to_127_byte_packets" L_.str.49: ## @.str.49 .asciz "tx_128_to_255_byte_packets" L_.str.50: ## @.str.50 .asciz "tx_256_to_511_byte_packets" L_.str.51: ## @.str.51 .asciz "tx_512_to_1023_byte_packets" L_.str.52: ## @.str.52 .asciz "tx_1024_to_1518_byte_packets" L_.str.53: ## @.str.53 .asciz "tx_1519_to_2047_byte_packets" L_.str.54: ## @.str.54 .asciz "tx_2048_to_4095_byte_packets" L_.str.55: ## @.str.55 .asciz "tx_4096_to_9216_byte_packets" L_.str.56: ## @.str.56 .asciz "tx_9217_to_16383_byte_packets" L_.str.57: ## @.str.57 .asciz "tx_pause_frames" L_.str.58: ## @.str.58 .asciz "tx_pfc_frames" L_.str.59: ## @.str.59 .asciz "tx_lpi_entry_count" L_.str.60: ## @.str.60 .asciz "tx_total_collisions" L_.str.61: ## @.str.61 .asciz "brb_truncates" L_.str.62: ## @.str.62 .asciz "brb_discards" L_.str.63: ## @.str.63 .asciz "rx_mac_bytes" L_.str.64: ## @.str.64 .asciz "rx_mac_uc_packets" L_.str.65: ## @.str.65 .asciz "rx_mac_mc_packets" L_.str.66: ## @.str.66 .asciz "rx_mac_bc_packets" L_.str.67: ## @.str.67 .asciz "rx_mac_frames_ok" L_.str.68: ## @.str.68 .asciz "tx_mac_bytes" L_.str.69: ## @.str.69 .asciz "tx_mac_uc_packets" L_.str.70: ## @.str.70 .asciz "tx_mac_mc_packets" L_.str.71: ## @.str.71 .asciz "tx_mac_bc_packets" L_.str.72: ## @.str.72 .asciz "tx_mac_ctrl_frames" .no_dead_strip _qlnx_add_hw_stats_sysctls .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function qlnx_add_hw_stats_sysctls _qlnx_add_hw_stats_sysctls: ; @qlnx_add_hw_stats_sysctls .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w0, [x0, #280] bl _device_get_sysctl_ctx mov x20, x0 ldr w0, [x19, #280] bl _device_get_sysctl_tree bl _SYSCTL_CHILDREN mov x1, x0 Lloh0: adrp x22, _OID_AUTO@GOTPAGE Lloh1: ldr x22, [x22, _OID_AUTO@GOTPAGEOFF] ldr w2, [x22] Lloh2: adrp x23, _CTLFLAG_RD@GOTPAGE Lloh3: ldr x23, [x23, _CTLFLAG_RD@GOTPAGEOFF] ldr w4, [x23] Lloh4: adrp x3, l_.str@PAGE Lloh5: add x3, x3, l_.str@PAGEOFF mov x0, x20 mov x5, #0 ; =0x0 mov x6, x3 bl _SYSCTL_ADD_NODE bl _SYSCTL_CHILDREN mov x21, x0 ldr w2, [x22] ldr w4, [x23] Lloh6: adrp x3, l_.str.1@PAGE Lloh7: add x3, x3, l_.str.1@PAGEOFF Lloh8: adrp x6, l_.str.2@PAGE Lloh9: add x6, x6, l_.str.2@PAGEOFF add x5, x19, #232 mov x0, x20 mov x1, x21 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh10: adrp x3, l_.str.3@PAGE Lloh11: add x3, x3, l_.str.3@PAGEOFF Lloh12: adrp x6, l_.str.4@PAGE Lloh13: add x6, x6, l_.str.4@PAGEOFF add x5, x19, #228 mov x0, x20 mov x1, x21 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh14: adrp x3, l_.str.5@PAGE Lloh15: add x3, x3, l_.str.5@PAGEOFF add x5, x19, #224 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh16: adrp x3, l_.str.6@PAGE Lloh17: add x3, x3, l_.str.6@PAGEOFF add x5, x19, #220 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh18: adrp x3, l_.str.7@PAGE Lloh19: add x3, x3, l_.str.7@PAGEOFF add x5, x19, #216 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh20: adrp x3, l_.str.8@PAGE Lloh21: add x3, x3, l_.str.8@PAGEOFF add x5, x19, #212 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh22: adrp x3, l_.str.9@PAGE Lloh23: add x3, x3, l_.str.9@PAGEOFF add x5, x19, #208 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh24: adrp x3, l_.str.10@PAGE Lloh25: add x3, x3, l_.str.10@PAGEOFF add x5, x19, #204 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh26: adrp x3, l_.str.11@PAGE Lloh27: add x3, x3, l_.str.11@PAGEOFF add x5, x19, #200 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh28: adrp x3, l_.str.12@PAGE Lloh29: add x3, x3, l_.str.12@PAGEOFF add x5, x19, #196 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh30: adrp x3, l_.str.13@PAGE Lloh31: add x3, x3, l_.str.13@PAGEOFF add x5, x19, #192 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh32: adrp x3, l_.str.14@PAGE Lloh33: add x3, x3, l_.str.14@PAGEOFF add x5, x19, #188 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh34: adrp x3, l_.str.15@PAGE Lloh35: add x3, x3, l_.str.15@PAGEOFF add x5, x19, #184 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh36: adrp x3, l_.str.16@PAGE Lloh37: add x3, x3, l_.str.16@PAGEOFF add x5, x19, #180 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh38: adrp x3, l_.str.17@PAGE Lloh39: add x3, x3, l_.str.17@PAGEOFF add x5, x19, #176 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh40: adrp x3, l_.str.18@PAGE Lloh41: add x3, x3, l_.str.18@PAGEOFF add x5, x19, #172 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh42: adrp x3, l_.str.19@PAGE Lloh43: add x3, x3, l_.str.19@PAGEOFF add x5, x19, #168 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh44: adrp x3, l_.str.20@PAGE Lloh45: add x3, x3, l_.str.20@PAGEOFF add x5, x19, #164 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh46: adrp x3, l_.str.21@PAGE Lloh47: add x3, x3, l_.str.21@PAGEOFF add x5, x19, #160 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh48: adrp x3, l_.str.22@PAGE Lloh49: add x3, x3, l_.str.22@PAGEOFF add x5, x19, #156 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh50: adrp x3, l_.str.23@PAGE Lloh51: add x3, x3, l_.str.23@PAGEOFF add x5, x19, #152 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh52: adrp x3, l_.str.24@PAGE Lloh53: add x3, x3, l_.str.24@PAGEOFF add x5, x19, #148 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh54: adrp x3, l_.str.25@PAGE Lloh55: add x3, x3, l_.str.25@PAGEOFF add x5, x19, #144 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh56: adrp x3, l_.str.26@PAGE Lloh57: add x3, x3, l_.str.26@PAGEOFF add x5, x19, #140 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh58: adrp x3, l_.str.27@PAGE Lloh59: add x3, x3, l_.str.27@PAGEOFF add x5, x19, #136 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh60: adrp x3, l_.str.28@PAGE Lloh61: add x3, x3, l_.str.28@PAGEOFF add x5, x19, #132 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh62: adrp x3, l_.str.29@PAGE Lloh63: add x3, x3, l_.str.29@PAGEOFF add x5, x19, #128 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh64: adrp x3, l_.str.30@PAGE Lloh65: add x3, x3, l_.str.30@PAGEOFF add x5, x19, #124 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh66: adrp x3, l_.str.31@PAGE Lloh67: add x3, x3, l_.str.31@PAGEOFF add x5, x19, #120 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh68: adrp x3, l_.str.32@PAGE Lloh69: add x3, x3, l_.str.32@PAGEOFF add x5, x19, #276 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh70: adrp x3, l_.str.33@PAGE Lloh71: add x3, x3, l_.str.33@PAGEOFF add x5, x19, #272 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh72: adrp x3, l_.str.34@PAGE Lloh73: add x3, x3, l_.str.34@PAGEOFF add x5, x19, #268 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh74: adrp x3, l_.str.35@PAGE Lloh75: add x3, x3, l_.str.35@PAGEOFF add x5, x19, #264 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh76: adrp x3, l_.str.36@PAGE Lloh77: add x3, x3, l_.str.36@PAGEOFF add x5, x19, #260 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh78: adrp x3, l_.str.37@PAGE Lloh79: add x3, x3, l_.str.37@PAGEOFF add x5, x19, #116 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh80: adrp x3, l_.str.38@PAGE Lloh81: add x3, x3, l_.str.38@PAGEOFF add x5, x19, #112 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh82: adrp x3, l_.str.39@PAGE Lloh83: add x3, x3, l_.str.39@PAGEOFF add x5, x19, #108 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh84: adrp x3, l_.str.40@PAGE Lloh85: add x3, x3, l_.str.40@PAGEOFF add x5, x19, #104 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh86: adrp x3, l_.str.41@PAGE Lloh87: add x3, x3, l_.str.41@PAGEOFF add x5, x19, #100 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh88: adrp x3, l_.str.42@PAGE Lloh89: add x3, x3, l_.str.42@PAGEOFF add x5, x19, #96 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh90: adrp x3, l_.str.43@PAGE Lloh91: add x3, x3, l_.str.43@PAGEOFF add x5, x19, #92 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh92: adrp x3, l_.str.44@PAGE Lloh93: add x3, x3, l_.str.44@PAGEOFF add x5, x19, #88 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh94: adrp x3, l_.str.45@PAGE Lloh95: add x3, x3, l_.str.45@PAGEOFF add x5, x19, #84 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh96: adrp x3, l_.str.46@PAGE Lloh97: add x3, x3, l_.str.46@PAGEOFF add x5, x19, #80 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh98: adrp x3, l_.str.47@PAGE Lloh99: add x3, x3, l_.str.47@PAGEOFF add x5, x19, #76 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh100: adrp x3, l_.str.48@PAGE Lloh101: add x3, x3, l_.str.48@PAGEOFF add x5, x19, #72 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh102: adrp x3, l_.str.49@PAGE Lloh103: add x3, x3, l_.str.49@PAGEOFF add x5, x19, #68 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh104: adrp x3, l_.str.50@PAGE Lloh105: add x3, x3, l_.str.50@PAGEOFF add x5, x19, #64 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh106: adrp x3, l_.str.51@PAGE Lloh107: add x3, x3, l_.str.51@PAGEOFF add x5, x19, #60 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh108: adrp x3, l_.str.52@PAGE Lloh109: add x3, x3, l_.str.52@PAGEOFF add x5, x19, #56 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh110: adrp x3, l_.str.53@PAGE Lloh111: add x3, x3, l_.str.53@PAGEOFF add x5, x19, #256 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh112: adrp x3, l_.str.54@PAGE Lloh113: add x3, x3, l_.str.54@PAGEOFF add x5, x19, #252 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh114: adrp x3, l_.str.55@PAGE Lloh115: add x3, x3, l_.str.55@PAGEOFF add x5, x19, #248 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh116: adrp x3, l_.str.56@PAGE Lloh117: add x3, x3, l_.str.56@PAGEOFF add x5, x19, #244 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh118: adrp x3, l_.str.57@PAGE Lloh119: add x3, x3, l_.str.57@PAGEOFF add x5, x19, #52 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh120: adrp x3, l_.str.58@PAGE Lloh121: add x3, x3, l_.str.58@PAGEOFF add x5, x19, #48 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh122: adrp x3, l_.str.59@PAGE Lloh123: add x3, x3, l_.str.59@PAGEOFF add x5, x19, #240 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh124: adrp x3, l_.str.60@PAGE Lloh125: add x3, x3, l_.str.60@PAGEOFF add x5, x19, #236 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh126: adrp x3, l_.str.61@PAGE Lloh127: add x3, x3, l_.str.61@PAGEOFF add x5, x19, #44 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh128: adrp x3, l_.str.62@PAGE Lloh129: add x3, x3, l_.str.62@PAGEOFF add x5, x19, #40 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh130: adrp x3, l_.str.63@PAGE Lloh131: add x3, x3, l_.str.63@PAGEOFF add x5, x19, #36 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh132: adrp x3, l_.str.64@PAGE Lloh133: add x3, x3, l_.str.64@PAGEOFF add x5, x19, #32 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh134: adrp x3, l_.str.65@PAGE Lloh135: add x3, x3, l_.str.65@PAGEOFF add x5, x19, #28 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh136: adrp x3, l_.str.66@PAGE Lloh137: add x3, x3, l_.str.66@PAGEOFF add x5, x19, #24 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh138: adrp x3, l_.str.67@PAGE Lloh139: add x3, x3, l_.str.67@PAGEOFF add x5, x19, #20 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh140: adrp x3, l_.str.68@PAGE Lloh141: add x3, x3, l_.str.68@PAGEOFF add x5, x19, #16 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh142: adrp x3, l_.str.69@PAGE Lloh143: add x3, x3, l_.str.69@PAGEOFF add x5, x19, #12 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh144: adrp x3, l_.str.70@PAGE Lloh145: add x3, x3, l_.str.70@PAGEOFF add x5, x19, #8 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh146: adrp x3, l_.str.71@PAGE Lloh147: add x3, x3, l_.str.71@PAGEOFF add x5, x19, #4 mov x0, x20 mov x1, x21 mov x6, x3 bl _SYSCTL_ADD_QUAD ldr w2, [x22] ldr w4, [x23] Lloh148: adrp x3, l_.str.72@PAGE Lloh149: add x3, x3, l_.str.72@PAGEOFF mov x0, x20 mov x1, x21 mov x5, x19 mov x6, x3 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 _SYSCTL_ADD_QUAD .loh AdrpAdd Lloh148, Lloh149 .loh AdrpAdd Lloh146, Lloh147 .loh AdrpAdd Lloh144, Lloh145 .loh AdrpAdd Lloh142, Lloh143 .loh AdrpAdd Lloh140, Lloh141 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpAdd Lloh134, Lloh135 .loh AdrpAdd Lloh132, Lloh133 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpAdd Lloh126, Lloh127 .loh AdrpAdd Lloh124, Lloh125 .loh AdrpAdd Lloh122, Lloh123 .loh AdrpAdd Lloh120, Lloh121 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpAdd Lloh114, Lloh115 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _OID_AUTO,4,2 ; @OID_AUTO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hwstat" .comm _CTLFLAG_RD,4,2 ; @CTLFLAG_RD l_.str.1: ; @.str.1 .asciz "no_buff_discards" l_.str.2: ; @.str.2 .asciz "No. of packets discarded due to lack of buffer" l_.str.3: ; @.str.3 .asciz "packet_too_big_discard" l_.str.4: ; @.str.4 .asciz "No. of packets discarded because packet was too big" l_.str.5: ; @.str.5 .asciz "ttl0_discard" l_.str.6: ; @.str.6 .asciz "rx_ucast_bytes" l_.str.7: ; @.str.7 .asciz "rx_mcast_bytes" l_.str.8: ; @.str.8 .asciz "rx_bcast_bytes" l_.str.9: ; @.str.9 .asciz "rx_ucast_pkts" l_.str.10: ; @.str.10 .asciz "rx_mcast_pkts" l_.str.11: ; @.str.11 .asciz "rx_bcast_pkts" l_.str.12: ; @.str.12 .asciz "mftag_filter_discards" l_.str.13: ; @.str.13 .asciz "mac_filter_discards" l_.str.14: ; @.str.14 .asciz "tx_ucast_bytes" l_.str.15: ; @.str.15 .asciz "tx_mcast_bytes" l_.str.16: ; @.str.16 .asciz "tx_bcast_bytes" l_.str.17: ; @.str.17 .asciz "tx_ucast_pkts" l_.str.18: ; @.str.18 .asciz "tx_mcast_pkts" l_.str.19: ; @.str.19 .asciz "tx_bcast_pkts" l_.str.20: ; @.str.20 .asciz "tx_err_drop_pkts" l_.str.21: ; @.str.21 .asciz "tpa_coalesced_pkts" l_.str.22: ; @.str.22 .asciz "tpa_coalesced_events" l_.str.23: ; @.str.23 .asciz "tpa_aborts_num" l_.str.24: ; @.str.24 .asciz "tpa_not_coalesced_pkts" l_.str.25: ; @.str.25 .asciz "tpa_coalesced_bytes" l_.str.26: ; @.str.26 .asciz "rx_64_byte_packets" l_.str.27: ; @.str.27 .asciz "rx_65_to_127_byte_packets" l_.str.28: ; @.str.28 .asciz "rx_128_to_255_byte_packets" l_.str.29: ; @.str.29 .asciz "rx_256_to_511_byte_packets" l_.str.30: ; @.str.30 .asciz "rx_512_to_1023_byte_packets" l_.str.31: ; @.str.31 .asciz "rx_1024_to_1518_byte_packets" l_.str.32: ; @.str.32 .asciz "rx_1519_to_1522_byte_packets" l_.str.33: ; @.str.33 .asciz "rx_1523_to_2047_byte_packets" l_.str.34: ; @.str.34 .asciz "rx_2048_to_4095_byte_packets" l_.str.35: ; @.str.35 .asciz "rx_4096_to_9216_byte_packets" l_.str.36: ; @.str.36 .asciz "rx_9217_to_16383_byte_packets" l_.str.37: ; @.str.37 .asciz "rx_crc_errors" l_.str.38: ; @.str.38 .asciz "rx_mac_crtl_frames" l_.str.39: ; @.str.39 .asciz "rx_pause_frames" l_.str.40: ; @.str.40 .asciz "rx_pfc_frames" l_.str.41: ; @.str.41 .asciz "rx_align_errors" l_.str.42: ; @.str.42 .asciz "rx_carrier_errors" l_.str.43: ; @.str.43 .asciz "rx_oversize_packets" l_.str.44: ; @.str.44 .asciz "rx_jabbers" l_.str.45: ; @.str.45 .asciz "rx_undersize_packets" l_.str.46: ; @.str.46 .asciz "rx_fragments" l_.str.47: ; @.str.47 .asciz "tx_64_byte_packets" l_.str.48: ; @.str.48 .asciz "tx_65_to_127_byte_packets" l_.str.49: ; @.str.49 .asciz "tx_128_to_255_byte_packets" l_.str.50: ; @.str.50 .asciz "tx_256_to_511_byte_packets" l_.str.51: ; @.str.51 .asciz "tx_512_to_1023_byte_packets" l_.str.52: ; @.str.52 .asciz "tx_1024_to_1518_byte_packets" l_.str.53: ; @.str.53 .asciz "tx_1519_to_2047_byte_packets" l_.str.54: ; @.str.54 .asciz "tx_2048_to_4095_byte_packets" l_.str.55: ; @.str.55 .asciz "tx_4096_to_9216_byte_packets" l_.str.56: ; @.str.56 .asciz "tx_9217_to_16383_byte_packets" l_.str.57: ; @.str.57 .asciz "tx_pause_frames" l_.str.58: ; @.str.58 .asciz "tx_pfc_frames" l_.str.59: ; @.str.59 .asciz "tx_lpi_entry_count" l_.str.60: ; @.str.60 .asciz "tx_total_collisions" l_.str.61: ; @.str.61 .asciz "brb_truncates" l_.str.62: ; @.str.62 .asciz "brb_discards" l_.str.63: ; @.str.63 .asciz "rx_mac_bytes" l_.str.64: ; @.str.64 .asciz "rx_mac_uc_packets" l_.str.65: ; @.str.65 .asciz "rx_mac_mc_packets" l_.str.66: ; @.str.66 .asciz "rx_mac_bc_packets" l_.str.67: ; @.str.67 .asciz "rx_mac_frames_ok" l_.str.68: ; @.str.68 .asciz "tx_mac_bytes" l_.str.69: ; @.str.69 .asciz "tx_mac_uc_packets" l_.str.70: ; @.str.70 .asciz "tx_mac_mc_packets" l_.str.71: ; @.str.71 .asciz "tx_mac_bc_packets" l_.str.72: ; @.str.72 .asciz "tx_mac_ctrl_frames" .no_dead_strip _qlnx_add_hw_stats_sysctls .subsections_via_symbols
assembly_file_75350.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _call_new ## -- Begin function call_new .p2align 4, 0x90 _call_new: ## @call_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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r14d movq %rdi, %r15 movq _TOXAV_ERR_CALL_OK@GOTPCREL(%rip), %rax movl (%rax), %r13d movl 16(%rdi), %edi callq _m_friend_exists testq %rax, %rax je LBB0_1 ## %bb.3: movl 16(%r15), %edi movl %r14d, %esi callq _m_get_friend_connectionstatus testl %eax, %eax jle LBB0_4 ## %bb.5: movq %r15, %rdi movl %r14d, %esi callq _call_get testq %rax, %rax je LBB0_7 ## %bb.6: movq _TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_1: movq _TOXAV_ERR_CALL_FRIEND_NOT_FOUND@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_4: movq _TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %r13d xorl %eax, %eax testq %rbx, %rbx je LBB0_24 LBB0_23: movl %r13d, (%rbx) LBB0_24: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movl $32, %edi movl $1, %esi callq _calloc testq %rax, %rax je LBB0_8 ## %bb.9: movq %r15, 24(%rax) movl %r14d, (%rax) movq 8(%r15), %rdi testq %rdi, %rdi je LBB0_10 ## %bb.13: cmpl %r14d, (%r15) jge LBB0_19 ## %bb.14: movq %rax, %r12 leal 8(,%r14,8), %esi callq _realloc testq %rax, %rax je LBB0_11 ## %bb.15: movq %rax, %rdi movq %rax, 8(%r15) movslq (%r15), %rcx leal 1(%rcx), %eax cmpl %r14d, %eax jge LBB0_18 ## %bb.16: leaq 8(,%rcx,8), %rax .p2align 4, 0x90 LBB0_17: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rcx movq $0, (%rcx,%rax) addq $-8, %rax jmp LBB0_17 LBB0_8: movq _TOXAV_ERR_CALL_MALLOC@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_10: movq %rax, %r12 leal 1(%r14), %esi movl $8, %edi callq _calloc movq %rax, 8(%r15) testq %rax, %rax je LBB0_11 ## %bb.12: movq %rax, %rdi movl %r14d, 4(%r15) movl %r14d, (%r15) movq %r12, %rax jmp LBB0_21 LBB0_19: movslq 4(%r15), %rcx cmpl %r14d, %ecx jle LBB0_21 ## %bb.20: movq (%rdi,%rcx,8), %rcx movq %rcx, 16(%rax) movq %rax, 8(%rcx) movl %r14d, 4(%r15) jmp LBB0_21 LBB0_11: movq %r12, %rdi callq _free movq _TOXAV_ERR_CALL_MALLOC@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_18: movq %r12, %rax movq (%rdi,%rcx,8), %rcx movq %rcx, 8(%r12) movq %r12, 16(%rcx) movl %r14d, (%r15) LBB0_21: movslq %r14d, %rcx movq %rax, (%rdi,%rcx,8) testq %rbx, %rbx jne LBB0_23 jmp LBB0_24 .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_9172 ## @g_aug_volatile_9172 .p2align 2, 0x0 _g_aug_volatile_9172: .long 9 ## 0x9 .comm _TOXAV_ERR_CALL_OK,4,2 ## @TOXAV_ERR_CALL_OK .comm _TOXAV_ERR_CALL_FRIEND_NOT_FOUND,4,2 ## @TOXAV_ERR_CALL_FRIEND_NOT_FOUND .comm _TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED,4,2 ## @TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED .comm _TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL,4,2 ## @TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL .comm _TOXAV_ERR_CALL_MALLOC,4,2 ## @TOXAV_ERR_CALL_MALLOC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _call_new ; -- Begin function call_new .p2align 2 _call_new: ; @call_new .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, _TOXAV_ERR_CALL_OK@GOTPAGE Lloh1: ldr x8, [x8, _TOXAV_ERR_CALL_OK@GOTPAGEOFF] Lloh2: ldr w23, [x8] ldr w0, [x0, #16] bl _m_friend_exists cbz x0, LBB0_4 ; %bb.1: ldr w0, [x21, #16] mov x1, x20 bl _m_get_friend_connectionstatus cmp w0, #0 b.le LBB0_5 ; %bb.2: mov x0, x21 mov x1, x20 bl _call_get cbz x0, LBB0_6 ; %bb.3: mov x0, #0 ; =0x0 Lloh3: adrp x8, _TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL@GOTPAGE Lloh4: ldr x8, [x8, _TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL@GOTPAGEOFF] Lloh5: ldr w23, [x8] cbnz x19, LBB0_19 b LBB0_20 LBB0_4: Lloh6: adrp x8, _TOXAV_ERR_CALL_FRIEND_NOT_FOUND@GOTPAGE Lloh7: ldr x8, [x8, _TOXAV_ERR_CALL_FRIEND_NOT_FOUND@GOTPAGEOFF] Lloh8: ldr w23, [x8] cbnz x19, LBB0_19 b LBB0_20 LBB0_5: mov x0, #0 ; =0x0 Lloh9: adrp x8, _TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED@GOTPAGE Lloh10: ldr x8, [x8, _TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED@GOTPAGEOFF] Lloh11: ldr w23, [x8] cbnz x19, LBB0_19 b LBB0_20 LBB0_6: mov w0, #32 ; =0x20 mov w1, #1 ; =0x1 bl _calloc cbz x0, LBB0_18 ; %bb.7: str x21, [x0, #24] str w20, [x0] ldr x8, [x21, #8] cbz x8, LBB0_13 ; %bb.8: ldr w9, [x21] cmp w9, w20 b.ge LBB0_15 ; %bb.9: mov x22, x0 lsl w9, w20, #3 add w1, w9, #8 mov x0, x8 bl _realloc cbz x0, LBB0_17 ; %bb.10: mov x8, x0 str x0, [x21, #8] ldrsw x9, [x21] add w10, w9, #1 cmp w10, w20 b.ge LBB0_21 ; %bb.11: lsl x8, x9, #3 add x8, x8, #8 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x9, [x21, #8] str xzr, [x9, x8] sub x8, x8, #8 b LBB0_12 LBB0_13: mov x22, x0 add w1, w20, #1 mov w0, #8 ; =0x8 bl _calloc str x0, [x21, #8] cbz x0, LBB0_17 ; %bb.14: mov x8, x0 stp w20, w20, [x21] mov x0, x22 b LBB0_22 LBB0_15: ldrsw x9, [x21, #4] cmp w9, w20 b.le LBB0_22 ; %bb.16: ldr x9, [x8, x9, lsl #3] str x9, [x0, #16] str x0, [x9, #8] str w20, [x21, #4] b LBB0_22 LBB0_17: mov x0, x22 bl _free mov x0, #0 ; =0x0 LBB0_18: Lloh12: adrp x8, _TOXAV_ERR_CALL_MALLOC@GOTPAGE Lloh13: ldr x8, [x8, _TOXAV_ERR_CALL_MALLOC@GOTPAGEOFF] Lloh14: ldr w23, [x8] cbz x19, LBB0_20 LBB0_19: str w23, [x19] LBB0_20: 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_21: mov x0, x22 ldr x9, [x8, x9, lsl #3] str x9, [x22, #8] str x22, [x9, #16] str w20, [x21] LBB0_22: str x0, [x8, w20, sxtw #3] cbnz x19, LBB0_19 b LBB0_20 .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 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_9172 ; @g_aug_volatile_9172 .p2align 2, 0x0 _g_aug_volatile_9172: .long 9 ; 0x9 .comm _TOXAV_ERR_CALL_OK,4,2 ; @TOXAV_ERR_CALL_OK .comm _TOXAV_ERR_CALL_FRIEND_NOT_FOUND,4,2 ; @TOXAV_ERR_CALL_FRIEND_NOT_FOUND .comm _TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED,4,2 ; @TOXAV_ERR_CALL_FRIEND_NOT_CONNECTED .comm _TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL,4,2 ; @TOXAV_ERR_CALL_FRIEND_ALREADY_IN_CALL .comm _TOXAV_ERR_CALL_MALLOC,4,2 ; @TOXAV_ERR_CALL_MALLOC .subsections_via_symbols
assembly_file_113431.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __ip_vs_update_dest ___ip_vs_update_dest: ## @__ip_vs_update_dest .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, %r12 movq %rsi, %r13 movq %rdi, %r14 movq 32(%rdi), %rbx movl %ecx, -44(%rbp) ## 4-byte Spill testl %ecx, %ecx movq %rbx, -56(%rbp) ## 8-byte Spill je LBB0_4 ## %bb.1: xorl %edi, %edi callq _BUG_ON movq (%r12), %rax cmpq (%r14), %rax je LBB0_3 ## %bb.2: incl (%rbx) jmp LBB0_3 LBB0_4: movq (%r12), %rax xorl %edi, %edi cmpq (%r13), %rax setne %dil callq _BUG_ON cmpl $0, 8(%r12) je LBB0_5 LBB0_3: leaq 68(%r13), %rdi movl 8(%r12), %esi callq _atomic_set movl 8(%r12), %esi LBB0_6: leaq 64(%r13), %rdi callq _atomic_set movl 12(%r12), %ebx movq _IP_VS_CONN_F_DEST_MASK@GOTPCREL(%rip), %rax movl (%rax), %r15d andl %ebx, %r15d movq _IP_VS_CONN_F_INACTIVE@GOTPCREL(%rip), %rax orl (%rax), %r15d movq _IP_VS_CONN_F_FWD_MASK@GOTPCREL(%rip), %rax andl (%rax), %ebx movq %r13, %rdi callq _IP_VS_DFWD_METHOD cmpl %eax, %ebx jne LBB0_9 ## %bb.7: movq 16(%r12), %rax cmpq 8(%r13), %rax jne LBB0_9 ## %bb.8: movq 24(%r12), %rcx cmpq 16(%r13), %rcx je LBB0_10 LBB0_9: movq %r13, %rdi callq _ip_vs_rs_unhash movq 16(%r12), %rax movq 24(%r12), %rcx LBB0_10: movq %rax, 8(%r13) movq %rcx, 16(%r13) movl 44(%r12), %eax movl %eax, 60(%r13) movq _IP_VS_CONN_F_FWD_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax andl %r15d, %eax movq _IP_VS_CONN_F_MASQ@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax movq -56(%rbp), %rbx ## 8-byte Reload jne LBB0_11 ## %bb.12: movq 8(%r14), %rax movq _FTPPORT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_14 ## %bb.13: movq %r14, %rdi callq _ip_vs_register_conntrack jmp LBB0_14 LBB0_11: movq _IP_VS_CONN_F_NOOUTPUT@GOTPCREL(%rip), %rax orl (%rax), %r15d LBB0_14: leaq 56(%r13), %rdi movl %r15d, %esi callq _atomic_set movq %rbx, %rdi movq %r13, %rsi callq _ip_vs_rs_hash movl 52(%r13), %edi movl $1, %esi callq _rcu_dereference_protected testq %rax, %rax je LBB0_15 ## %bb.16: movq %rax, %r15 cmpq %r14, %rax je LBB0_18 ## %bb.17: leaq 36(%r13), %rdi callq _ip_vs_zero_stats movq %r13, %rdi movq %r14, %rsi callq ___ip_vs_bind_svc movq %r15, %rdi movl $1, %esi callq ___ip_vs_svc_put jmp LBB0_18 LBB0_15: movq %r13, %rdi movq %r14, %rsi callq ___ip_vs_bind_svc LBB0_18: movq _IP_VS_DEST_F_AVAILABLE@GOTPCREL(%rip), %rcx movl 48(%r13), %eax orl (%rcx), %eax movl %eax, 48(%r13) movq 32(%r12), %rcx testq %rcx, %rcx je LBB0_20 ## %bb.19: cmpq 24(%r13), %rcx jle LBB0_21 LBB0_20: movq _IP_VS_DEST_F_OVERLOAD@GOTPCREL(%rip), %rdx movl (%rdx), %edx notl %edx andl %edx, %eax movl %eax, 48(%r13) LBB0_21: movq %rcx, 24(%r13) movl 40(%r12), %eax movl %eax, 44(%r13) movq (%r12), %rax movq %rax, (%r13) leaq 40(%r13), %rbx movq %rbx, %rdi callq _spin_lock_bh movq %r13, %rdi callq ___ip_vs_dst_cache_reset movq %rbx, %rdi callq _spin_unlock_bh cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_26 ## %bb.22: movq 32(%r14), %rdi leaq 36(%r13), %rsi callq _ip_vs_start_estimator leaq 32(%r13), %rdi leaq 24(%r14), %rsi callq _list_add_rcu incl 20(%r14) movl 16(%r14), %edi movl $1, %esi callq _rcu_dereference_protected testq %rax, %rax je LBB0_28 ## %bb.23: movq 8(%rax), %rax testq %rax, %rax jne LBB0_25 jmp LBB0_28 LBB0_26: movl 16(%r14), %edi movl $1, %esi callq _rcu_dereference_protected testq %rax, %rax je LBB0_28 ## %bb.27: movq (%rax), %rax testq %rax, %rax je LBB0_28 LBB0_25: movq %r14, %rdi movq %r13, %rsi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL LBB0_28: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: xorl %esi, %esi jmp LBB0_6 .cfi_endproc ## -- End function .comm _IP_VS_CONN_F_DEST_MASK,4,2 ## @IP_VS_CONN_F_DEST_MASK .comm _IP_VS_CONN_F_INACTIVE,4,2 ## @IP_VS_CONN_F_INACTIVE .comm _IP_VS_CONN_F_FWD_MASK,4,2 ## @IP_VS_CONN_F_FWD_MASK .comm _IP_VS_CONN_F_MASQ,4,2 ## @IP_VS_CONN_F_MASQ .comm _IP_VS_CONN_F_NOOUTPUT,4,2 ## @IP_VS_CONN_F_NOOUTPUT .comm _FTPPORT,8,3 ## @FTPPORT .comm _IP_VS_DEST_F_AVAILABLE,4,2 ## @IP_VS_DEST_F_AVAILABLE .comm _IP_VS_DEST_F_OVERLOAD,4,2 ## @IP_VS_DEST_F_OVERLOAD .no_dead_strip ___ip_vs_update_dest .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __ip_vs_update_dest ___ip_vs_update_dest: ; @__ip_vs_update_dest .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x3 mov x22, x2 mov x19, x1 mov x20, x0 ldr x23, [x0, #32] cbz w3, LBB0_3 ; %bb.1: mov w0, #0 bl _BUG_ON ldr x8, [x22] ldr x9, [x20] cmp x8, x9 b.eq LBB0_4 ; %bb.2: ldr w8, [x23] add w8, w8, #1 str w8, [x23] b LBB0_4 LBB0_3: ldr x8, [x22] ldr x9, [x19] cmp x8, x9 cset w0, ne bl _BUG_ON ldr w8, [x22, #8] cbz w8, LBB0_27 LBB0_4: add x0, x19, #68 ldr w1, [x22, #8] bl _atomic_set ldr w1, [x22, #8] LBB0_5: add x0, x19, #64 bl _atomic_set ldr w8, [x22, #12] Lloh0: adrp x9, _IP_VS_CONN_F_DEST_MASK@GOTPAGE Lloh1: ldr x9, [x9, _IP_VS_CONN_F_DEST_MASK@GOTPAGEOFF] Lloh2: ldr w9, [x9] and w9, w9, w8 Lloh3: adrp x10, _IP_VS_CONN_F_INACTIVE@GOTPAGE Lloh4: ldr x10, [x10, _IP_VS_CONN_F_INACTIVE@GOTPAGEOFF] Lloh5: ldr w10, [x10] orr w24, w9, w10 Lloh6: adrp x25, _IP_VS_CONN_F_FWD_MASK@GOTPAGE Lloh7: ldr x25, [x25, _IP_VS_CONN_F_FWD_MASK@GOTPAGEOFF] ldr w9, [x25] and w26, w9, w8 mov x0, x19 bl _IP_VS_DFWD_METHOD cmp w26, w0 b.ne LBB0_8 ; %bb.6: ldr x8, [x22, #16] ldr x9, [x19, #8] cmp x8, x9 b.ne LBB0_8 ; %bb.7: ldr x9, [x22, #24] ldr x10, [x19, #16] cmp x9, x10 b.eq LBB0_9 LBB0_8: mov x0, x19 bl _ip_vs_rs_unhash ldp x8, x9, [x22, #16] LBB0_9: stp x8, x9, [x19, #8] ldr w8, [x22, #44] str w8, [x19, #60] ldr w8, [x25] and w8, w8, w24 Lloh8: adrp x9, _IP_VS_CONN_F_MASQ@GOTPAGE Lloh9: ldr x9, [x9, _IP_VS_CONN_F_MASQ@GOTPAGEOFF] Lloh10: ldr w9, [x9] cmp w8, w9 b.ne LBB0_12 ; %bb.10: ldr x8, [x20, #8] Lloh11: adrp x9, _FTPPORT@GOTPAGE Lloh12: ldr x9, [x9, _FTPPORT@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x8, x9 b.ne LBB0_13 ; %bb.11: mov x0, x20 bl _ip_vs_register_conntrack b LBB0_13 LBB0_12: Lloh14: adrp x8, _IP_VS_CONN_F_NOOUTPUT@GOTPAGE Lloh15: ldr x8, [x8, _IP_VS_CONN_F_NOOUTPUT@GOTPAGEOFF] Lloh16: ldr w8, [x8] orr w24, w8, w24 LBB0_13: add x0, x19, #56 mov x1, x24 bl _atomic_set mov x0, x23 mov x1, x19 bl _ip_vs_rs_hash ldr w0, [x19, #52] mov w1, #1 bl _rcu_dereference_protected cbz x0, LBB0_16 ; %bb.14: mov x23, x0 cmp x0, x20 b.eq LBB0_17 ; %bb.15: add x0, x19, #36 bl _ip_vs_zero_stats mov x0, x19 mov x1, x20 bl ___ip_vs_bind_svc mov x0, x23 mov w1, #1 bl ___ip_vs_svc_put b LBB0_17 LBB0_16: mov x0, x19 mov x1, x20 bl ___ip_vs_bind_svc LBB0_17: Lloh17: adrp x8, _IP_VS_DEST_F_AVAILABLE@GOTPAGE Lloh18: ldr x8, [x8, _IP_VS_DEST_F_AVAILABLE@GOTPAGEOFF] Lloh19: ldr w8, [x8] ldr w9, [x19, #48] orr w9, w9, w8 str w9, [x19, #48] ldr x8, [x22, #32] cbz x8, LBB0_19 ; %bb.18: ldr x10, [x19, #24] cmp x8, x10 b.le LBB0_20 LBB0_19: Lloh20: adrp x10, _IP_VS_DEST_F_OVERLOAD@GOTPAGE Lloh21: ldr x10, [x10, _IP_VS_DEST_F_OVERLOAD@GOTPAGEOFF] Lloh22: ldr w10, [x10] bic w9, w9, w10 str w9, [x19, #48] LBB0_20: str x8, [x19, #24] ldr w8, [x22, #40] str w8, [x19, #44] ldr x8, [x22] str x8, [x19] add x22, x19, #40 mov x0, x22 bl _spin_lock_bh mov x0, x19 bl ___ip_vs_dst_cache_reset mov x0, x22 bl _spin_unlock_bh cbz w21, LBB0_23 ; %bb.21: ldr x0, [x20, #32] add x1, x19, #36 bl _ip_vs_start_estimator add x0, x19, #32 add x1, x20, #24 bl _list_add_rcu ldp w0, w8, [x20, #16] add w8, w8, #1 str w8, [x20, #20] mov w1, #1 bl _rcu_dereference_protected cbz x0, LBB0_26 ; %bb.22: ldr x2, [x0, #8] cbnz x2, LBB0_25 b LBB0_26 LBB0_23: ldr w0, [x20, #16] mov w1, #1 bl _rcu_dereference_protected cbz x0, LBB0_26 ; %bb.24: ldr x2, [x0] cbz x2, LBB0_26 LBB0_25: mov x0, x20 mov x1, 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 br x2 LBB0_26: 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_27: mov w1, #0 b LBB0_5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _IP_VS_CONN_F_DEST_MASK,4,2 ; @IP_VS_CONN_F_DEST_MASK .comm _IP_VS_CONN_F_INACTIVE,4,2 ; @IP_VS_CONN_F_INACTIVE .comm _IP_VS_CONN_F_FWD_MASK,4,2 ; @IP_VS_CONN_F_FWD_MASK .comm _IP_VS_CONN_F_MASQ,4,2 ; @IP_VS_CONN_F_MASQ .comm _IP_VS_CONN_F_NOOUTPUT,4,2 ; @IP_VS_CONN_F_NOOUTPUT .comm _FTPPORT,8,3 ; @FTPPORT .comm _IP_VS_DEST_F_AVAILABLE,4,2 ; @IP_VS_DEST_F_AVAILABLE .comm _IP_VS_DEST_F_OVERLOAD,4,2 ; @IP_VS_DEST_F_OVERLOAD .no_dead_strip ___ip_vs_update_dest .subsections_via_symbols
AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c___ip_vs_update_dest.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfin_plat_nand_init _bfin_plat_nand_init: ## @bfin_plat_nand_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _bfin_plat_nand_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfin_plat_nand_init _bfin_plat_nand_init: ; @bfin_plat_nand_init .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _bfin_plat_nand_init .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/blackfin/mach-bf537/boards/extr_stamp.c_bfin_plat_nand_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ahd_search_scb_list _ahd_search_scb_list: ## @ahd_search_scb_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -56(%rbp) ## 4-byte Spill movl %ecx, -52(%rbp) ## 4-byte Spill movl %edx, -48(%rbp) ## 4-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill movq %rdi, %rbx movq 40(%rbp), %r14 movq 32(%rbp), %r12 movq _AHD_MODE_SCSI_MSK@GOTPCREL(%rip), %rax movl (%rax), %edx movl %edx, %esi callq _AHD_ASSERT_MODES movq _SCB_LIST_NULL@GOTPCREL(%rip), %rax movq (%rax), %r15 movq (%r12), %rax movq %r15, (%r14) movq %rax, %r14 movq %rax, %rdi callq _SCBID_IS_NULL xorl %r13d, %r13d testq %rax, %rax je LBB0_1 LBB0_20: movl 24(%rbp), %eax cmpl $131, %eax je LBB0_22 ## %bb.21: cmpl $128, %eax jne LBB0_23 LBB0_22: movq _CMDS_PENDING@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %rbx, %rdi movl %r14d, %esi callq _ahd_inw movslq %r13d, %rcx subq %rcx, %rax movq %rbx, %rdi movl %r14d, %esi movq %rax, %rdx callq _ahd_outw LBB0_23: movl %r13d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %r13d LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movq -72(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi callq _SCBID_IS_NULL movl %r13d, %r12d testq %rax, %rax jne LBB0_20 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, -64(%rbp) ## 8-byte Spill movq %r14, %r15 cmpq (%rbx), %r14 jl LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _ahd_name movq (%rbx), %rcx leaq L_.str(%rip), %rdi movq %rax, %rsi movq %r15, %rdx xorl %eax, %eax callq _printf movq %rbx, %rdi callq _ahd_dump_card_state leaq L_.str.1(%rip), %rdi callq _panic LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq %r15, %rsi callq _ahd_lookup_scb movq %rax, %r13 testq %rax, %rax jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _ahd_name leaq L_.str.2(%rip), %rdi movq %rax, %rsi movq %r15, %rdx xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi callq _panic LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq %r15, %rsi callq _ahd_set_scbptr movq 40(%rbp), %rax movq %r15, (%rax) movq _SCB_NEXT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _ahd_inw_scbram movq %rax, -72(%rbp) ## 8-byte Spill movq _SCB_LIST_NULL@GOTPCREL(%rip), %rax movq (%rax), %r9 movl -56(%rbp), %eax ## 4-byte Reload movl %eax, (%rsp) movsbl -48(%rbp), %ecx ## 1-byte Folded Reload movq %rbx, %rdi movq %r13, %rsi movl -44(%rbp), %edx ## 4-byte Reload movl -52(%rbp), %r8d ## 4-byte Reload callq _ahd_match_scb testq %rax, %rax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movl 24(%rbp), %eax addl $-128, %eax cmpl $3, %eax ja LBB0_9 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_16: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.5(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _printf jmp LBB0_17 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movq _SCB_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r13) jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 leaq L_str(%rip), %rdi callq _puts LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq %r13, %rsi movl 16(%rbp), %edx callq _ahd_done_with_status LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi movq %r15, %rsi movq -64(%rbp), %r15 ## 8-byte Reload movq %r15, %rdx movq -72(%rbp), %r14 ## 8-byte Reload movq %r14, %rcx movq 48(%rbp), %r8 callq _ahd_rem_wscb movq 40(%rbp), %rax movq %r15, (%rax) movq %r15, %rdi callq _SCBID_IS_NULL testq %rax, %rax je LBB0_17 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 movq 32(%rbp), %rax movq %r14, (%rax) jmp LBB0_17 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq -64(%rbp), %r15 ## 8-byte Reload .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 leal 1(%r12), %r13d movq _AHD_SCB_MAX@GOTPCREL(%rip), %rax cmpl (%rax), %r12d jl LBB0_19 ## %bb.18: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.6(%rip), %rdi callq _panic jmp LBB0_19 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 LJTI0_0: .long L0_0_set_14 .long L0_0_set_16 .long L0_0_set_17 .long L0_0_set_11 .end_data_region ## -- End function .comm _AHD_MODE_SCSI_MSK,4,2 ## @AHD_MODE_SCSI_MSK .comm _SCB_LIST_NULL,8,3 ## @SCB_LIST_NULL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s:SCB List inconsistency. SCB == 0x%x, yet numscbs == 0x%x." L_.str.1: ## @.str.1 .asciz "for safety" L_.str.2: ## @.str.2 .asciz "%s: SCB = %d Not Active!\n" L_.str.3: ## @.str.3 .asciz "Waiting List traversal\n" .comm _SCB_NEXT,4,2 ## @SCB_NEXT .comm _SCB_ACTIVE,4,2 ## @SCB_ACTIVE L_.str.5: ## @.str.5 .asciz "0x%x " .comm _AHD_SCB_MAX,4,2 ## @AHD_SCB_MAX L_.str.6: ## @.str.6 .asciz "SCB LIST LOOP" .comm _CMDS_PENDING,4,2 ## @CMDS_PENDING L_str: ## @str .asciz "Inactive SCB in Waiting List" .no_dead_strip _ahd_search_scb_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ahd_search_scb_list _ahd_search_scb_list: ; @ahd_search_scb_list .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 mov x22, x7 str w6, [sp, #44] ; 4-byte Folded Spill mov x24, x5 mov x26, x3 mov x25, x2 mov x27, x1 mov x19, x0 ldp x23, x28, [x29, #16] Lloh0: adrp x8, _AHD_MODE_SCSI_MSK@GOTPAGE Lloh1: ldr x8, [x8, _AHD_MODE_SCSI_MSK@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x2, x1 bl _AHD_ASSERT_MODES Lloh3: adrp x8, _SCB_LIST_NULL@GOTPAGE Lloh4: ldr x8, [x8, _SCB_LIST_NULL@GOTPAGEOFF] Lloh5: ldr x20, [x8] ldr x21, [x23] str x20, [x28] mov x0, x21 bl _SCBID_IS_NULL str w22, [sp, #28] ; 4-byte Folded Spill cbz x0, LBB0_6 ; %bb.1: mov w26, #0 LBB0_2: ldr w8, [sp, #28] ; 4-byte Folded Reload cmp w8, #131 b.eq LBB0_4 ; %bb.3: cmp w8, #128 b.ne LBB0_5 LBB0_4: Lloh6: adrp x8, _CMDS_PENDING@GOTPAGE Lloh7: ldr x8, [x8, _CMDS_PENDING@GOTPAGEOFF] Lloh8: ldr w20, [x8] mov x0, x19 mov x1, x20 bl _ahd_inw sub x2, x0, w26, sxtw mov x0, x19 mov x1, x20 bl _ahd_outw LBB0_5: mov x0, x26 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_6: str x23, [sp, #32] ; 8-byte Folded Spill stp w27, w26, [sp, #56] ; 8-byte Folded Spill mov w23, #0 ldr x8, [x29, #32] str x8, [sp, #48] ; 8-byte Folded Spill sub w22, w22, #128 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 mov x26, x23 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 mov x0, x21 bl _SCBID_IS_NULL mov x23, x26 mov x20, x27 cbnz x0, LBB0_2 LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x27, x21 ldr x8, [x19] cmp x21, x8 b.lt LBB0_11 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 bl _ahd_name ldr x8, [x19] stp x27, x8, [sp, #8] str x0, [sp] Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF bl _printf mov x0, x19 bl _ahd_dump_card_state Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF bl _panic LBB0_11: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 mov x1, x27 bl _ahd_lookup_scb mov x26, x0 cbnz x0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 bl _ahd_name stp x0, x27, [sp] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF bl _printf Lloh15: adrp x0, l_.str.3@PAGE Lloh16: add x0, x0, l_.str.3@PAGEOFF bl _panic LBB0_13: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 mov x1, x27 bl _ahd_set_scbptr str x27, [x28] Lloh17: adrp x8, _SCB_NEXT@GOTPAGE Lloh18: ldr x8, [x8, _SCB_NEXT@GOTPAGEOFF] Lloh19: ldr w1, [x8] mov x0, x19 bl _ahd_inw_scbram mov x21, x0 Lloh20: adrp x8, _SCB_LIST_NULL@GOTPAGE Lloh21: ldr x8, [x8, _SCB_LIST_NULL@GOTPAGEOFF] Lloh22: ldr x5, [x8] mov x0, x19 mov x1, x26 ldp w2, w4, [sp, #56] ; 8-byte Folded Reload mov x3, x25 mov x6, x24 bl _ahd_match_scb cbz x0, LBB0_7 ; %bb.14: ; in Loop: Header=BB0_9 Depth=1 cmp w22, #3 b.hi LBB0_22 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 Lloh23: adrp x10, lJTI0_0@PAGE Lloh24: add x10, x10, lJTI0_0@PAGEOFF adr x8, LBB0_16 ldrb w9, [x10, x22] add x8, x8, x9, lsl #2 br x8 LBB0_16: ; in Loop: Header=BB0_9 Depth=1 str x27, [sp] Lloh25: adrp x0, l_.str.5@PAGE Lloh26: add x0, x0, l_.str.5@PAGEOFF bl _printf b LBB0_23 LBB0_17: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [x26] Lloh27: adrp x9, _SCB_ACTIVE@GOTPAGE Lloh28: ldr x9, [x9, _SCB_ACTIVE@GOTPAGEOFF] Lloh29: ldr w9, [x9] tst w9, w8 b.ne LBB0_19 ; %bb.18: ; in Loop: Header=BB0_9 Depth=1 Lloh30: adrp x0, l_str@PAGE Lloh31: add x0, x0, l_str@PAGEOFF bl _puts LBB0_19: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 mov x1, x26 ldr w2, [sp, #44] ; 4-byte Folded Reload bl _ahd_done_with_status LBB0_20: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 mov x1, x27 mov x2, x20 mov x3, x21 ldr x4, [sp, #48] ; 8-byte Folded Reload bl _ahd_rem_wscb str x20, [x28] mov x0, x20 bl _SCBID_IS_NULL cbz x0, LBB0_22 ; %bb.21: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [sp, #32] ; 8-byte Folded Reload str x21, [x8] LBB0_22: ; in Loop: Header=BB0_9 Depth=1 mov x27, x20 LBB0_23: ; in Loop: Header=BB0_9 Depth=1 add w26, w23, #1 Lloh32: adrp x8, _AHD_SCB_MAX@GOTPAGE Lloh33: ldr x8, [x8, _AHD_SCB_MAX@GOTPAGEOFF] Lloh34: ldr w8, [x8] cmp w23, w8 b.lt LBB0_8 ; %bb.24: ; in Loop: Header=BB0_9 Depth=1 Lloh35: adrp x0, l_.str.6@PAGE Lloh36: add x0, x0, l_.str.6@PAGEOFF bl _panic b LBB0_8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_20-LBB0_16)>>2 .byte (LBB0_16-LBB0_16)>>2 .byte (LBB0_23-LBB0_16)>>2 .byte (LBB0_17-LBB0_16)>>2 ; -- End function .comm _AHD_MODE_SCSI_MSK,4,2 ; @AHD_MODE_SCSI_MSK .comm _SCB_LIST_NULL,8,3 ; @SCB_LIST_NULL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s:SCB List inconsistency. SCB == 0x%x, yet numscbs == 0x%x." l_.str.1: ; @.str.1 .asciz "for safety" l_.str.2: ; @.str.2 .asciz "%s: SCB = %d Not Active!\n" l_.str.3: ; @.str.3 .asciz "Waiting List traversal\n" .comm _SCB_NEXT,4,2 ; @SCB_NEXT .comm _SCB_ACTIVE,4,2 ; @SCB_ACTIVE l_.str.5: ; @.str.5 .asciz "0x%x " .comm _AHD_SCB_MAX,4,2 ; @AHD_SCB_MAX l_.str.6: ; @.str.6 .asciz "SCB LIST LOOP" .comm _CMDS_PENDING,4,2 ; @CMDS_PENDING l_str: ; @str .asciz "Inactive SCB in Waiting List" .no_dead_strip _ahd_search_scb_list .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_search_scb_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ratelimiter_tick _ratelimiter_tick: ## @ratelimiter_tick .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -56(%rbp) movq 8(%rsi), %rbx callq _UNUSED leaq -56(%rbp), %rdi callq _isc_event_free movq (%rbx), %r13 testq %r13, %r13 je LBB0_9 ## %bb.1: leaq 8(%rbx), %r15 leaq -48(%rbp), %r14 movq _ev_link@GOTPCREL(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq (%rax), %rdi movq %r14, %rsi callq _isc_task_send movq -48(%rbp), %rax LBB0_8: ## in Loop: Header=BB0_2 Depth=1 xorl %edi, %edi testq %rax, %rax sete %dil callq _INSIST testq %r13, %r13 je LBB0_9 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _LOCK movl 20(%rbx), %edi callq _ISC_LIST_HEAD movq %rax, -48(%rbp) testq %rax, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 decq %r13 movl 20(%rbx), %edi movl (%r12), %edx movq %rax, %rsi callq _ISC_LIST_UNLINK jmp LBB0_5 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl 16(%rbx), %edi movq _isc_timertype_inactive@GOTPCREL(%rip), %rax movl (%rax), %esi movq _ISC_FALSE@GOTPCREL(%rip), %rax movl (%rax), %r8d xorl %edx, %edx xorl %ecx, %ecx callq _isc_timer_reset xorl %edi, %edi movq _ISC_R_SUCCESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %dil callq _RUNTIME_CHECK movq _isc_ratelimiter_idle@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rbx) xorl %r13d, %r13d LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _UNLOCK movq -48(%rbp), %rax testq %rax, %rax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax jmp LBB0_8 LBB0_9: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ISC_R_SUCCESS,8,3 ## @ISC_R_SUCCESS .comm _ev_link,4,2 ## @ev_link .comm _isc_timertype_inactive,4,2 ## @isc_timertype_inactive .comm _ISC_FALSE,4,2 ## @ISC_FALSE .comm _isc_ratelimiter_idle,4,2 ## @isc_ratelimiter_idle .no_dead_strip _ratelimiter_tick .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ratelimiter_tick _ratelimiter_tick: ; @ratelimiter_tick .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 str x1, [sp, #8] ldr x20, [x1, #8] bl _UNUSED add x0, sp, #8 bl _isc_event_free ldr x26, [x20] cbz x26, LBB0_8 ; %bb.1: add x19, x20, #8 Lloh0: adrp x21, _isc_timertype_inactive@GOTPAGE Lloh1: ldr x21, [x21, _isc_timertype_inactive@GOTPAGEOFF] Lloh2: adrp x22, _ISC_FALSE@GOTPAGE Lloh3: ldr x22, [x22, _ISC_FALSE@GOTPAGEOFF] Lloh4: adrp x23, _ISC_R_SUCCESS@GOTPAGE Lloh5: ldr x23, [x23, _ISC_R_SUCCESS@GOTPAGEOFF] Lloh6: adrp x24, _isc_ratelimiter_idle@GOTPAGE Lloh7: ldr x24, [x24, _isc_ratelimiter_idle@GOTPAGEOFF] Lloh8: adrp x25, _ev_link@GOTPAGE Lloh9: ldr x25, [x25, _ev_link@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 cmp x8, #0 cset w0, eq bl _INSIST cbz x26, LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _LOCK ldr w0, [x20, #20] bl _ISC_LIST_HEAD str x0, [sp] cbz x0, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x1, x0 sub x26, x26, #1 ldr w0, [x20, #20] ldr w2, [x25] bl _ISC_LIST_UNLINK b LBB0_6 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x20, #16] ldr w1, [x21] ldr w4, [x22] mov x2, #0 mov x3, #0 bl _isc_timer_reset ldr x8, [x23] cmp x0, x8 cset w0, eq bl _RUNTIME_CHECK mov x26, #0 ldr w8, [x24] str w8, [x20, #12] LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 bl _UNLOCK ldr x8, [sp] cbz x8, LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x8] mov x1, sp bl _isc_task_send ldr x8, [sp] b LBB0_2 LBB0_8: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ISC_R_SUCCESS,8,3 ; @ISC_R_SUCCESS .comm _ev_link,4,2 ; @ev_link .comm _isc_timertype_inactive,4,2 ; @isc_timertype_inactive .comm _ISC_FALSE,4,2 ; @ISC_FALSE .comm _isc_ratelimiter_idle,4,2 ; @isc_ratelimiter_idle .no_dead_strip _ratelimiter_tick .subsections_via_symbols
AnghaBench/freebsd/contrib/ntp/lib/isc/extr_ratelimiter.c_ratelimiter_tick.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function free_cols _free_cols: ## @free_cols .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq (%rsi), %rdi testq %rdi, %rdi je LBB0_7 ## %bb.1: movq %rsi, %r15 movl (%r14), %eax testl %eax, %eax jle LBB0_6 ## %bb.2: xorl %ebx, %ebx jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 incq %rbx movslq %eax, %rcx movq (%r15), %rdi cmpq %rcx, %rbx jge LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%rdi,%rbx,8), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 callq _efree movl (%r14), %eax jmp LBB0_5 LBB0_6: callq _efree movq $0, (%r15) LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _free_cols .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function free_cols _free_cols: ; @free_cols .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 ldr x0, [x1] cbz x0, LBB0_7 ; %bb.1: mov x19, x1 ldr w8, [x20] cmp w8, #1 b.lt LBB0_6 ; %bb.2: mov x21, #0 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x21, x21, #1 ldr x0, [x19] cmp x21, w8, sxtw b.ge LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x0, [x0, x21, lsl #3] cbz x0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 bl _efree ldr w8, [x20] b LBB0_3 LBB0_6: bl _efree str xzr, [x19] LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _free_cols .subsections_via_symbols
AnghaBench/php-src/ext/pdo_odbc/extr_odbc_stmt.c_free_cols.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function walk_constant_heap _walk_constant_heap: ## @walk_constant_heap .cfi_startproc ## %bb.0: movq 8(%rcx), %rax cmpq %r9, 16(%rax) jle LBB0_18 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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 24(%rax), %eax movl (%rdx,%rax,4), %r10d xorl %edi, %edi cmpl $-1, %r10d cmovnel %eax, %r10d ## kill: def $eax killed $eax killed $rax cmovel %edi, %eax movb $-127, (%r8) movl $1, %r14d jmp LBB0_2 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 shrl %r14d decl %edi LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %r11d LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movl %r11d, %r14d testl %edi, %edi js LBB0_15 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %edi, %ebx movzbl (%r8,%rbx), %r11d cmpl $130, %r11d je LBB0_12 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $129, %r11d je LBB0_9 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpl $128, %r11d jne LBB0_13 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl (%rcx), %r15d leal (%r14,%r14), %r11d LBB0_6: ## in Loop: Header=BB0_2 Depth=1 decl %r11d cmpl %r15d, %r11d jae LBB0_12 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rcx), %r15 movl %r11d, %r12d shlq $4, %r12 cmpq %r9, (%r15,%r12) jle LBB0_12 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 addq %r12, %r15 movl 8(%r15), %edi cmpl %edi, %r10d movl %edi, %r14d cmovbl %r10d, %r14d cmpl %edi, %eax movl %edi, %r15d cmoval %eax, %r15d cmpl $-1, (%rdx,%rdi,4) cmovnel %r15d, %eax cmovnel %r14d, %r10d movb $-126, (%r8,%rbx) movb $-127, 1(%r8,%rbx) incq %rbx movl %ebx, %edi jmp LBB0_14 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 leal (%r14,%r14), %r11d movl (%rcx), %r15d movq 8(%rcx), %r12 cmpl %r15d, %r11d jbe LBB0_11 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 movq %r11, %r13 shlq $4, %r13 cmpq %r9, (%r12,%r13) jle LBB0_6 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movq %r11, %r14 shlq $4, %r14 movl 8(%r12,%r14), %r14d cmpl %r14d, %r10d movl %r14d, %r15d cmovbl %r10d, %r15d cmpl %r14d, %eax movl %r14d, %r12d cmoval %eax, %r12d cmpl $-1, (%rdx,%r14,4) cmovnel %r12d, %eax cmovnel %r15d, %r10d movslq %edi, %rdi movb $-128, (%r8,%rbx) movb $-127, -1(%r8,%rdi) decq %rdi jmp LBB0_14 LBB0_18: retq LBB0_15: cmpl %eax, %r10d ja LBB0_17 ## %bb.16: movl %r10d, %ecx movl (%rdx,%rcx,4), %edi subl %r10d, %eax incl %eax leaq (%rsi,%rcx,4), %rdx movl %eax, %esi callq _glUniform4fv movl %eax, %edi callq _GL_EXTCALL LBB0_17: leaq L_.str(%rip), %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _checkGLcall ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "walk_constant_heap()" .no_dead_strip _walk_constant_heap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function walk_constant_heap _walk_constant_heap: ; @walk_constant_heap .cfi_startproc ; %bb.0: ldr x8, [x3, #8] ldr x9, [x8, #16] cmp x9, x5 b.le LBB0_16 ; %bb.1: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w13, #0 ; =0x0 ldr w9, [x8, #24] ldr w8, [x2, x9, lsl #2] cmn w8, #1 csel w8, wzr, w9, eq csinv w9, w9, wzr, ne mov w10, #129 ; =0x81 strb w10, [x4] mov w16, #1 ; =0x1 mov w11, #128 ; =0x80 mov w12, #130 ; =0x82 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 lsr w14, w16, #1 sub w13, w13, #1 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x16, x14 tbnz w13, #31, LBB0_17 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov w15, w13 ldrb w14, [x4, x15] cmp w14, #130 b.eq LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp w14, #129 b.eq LBB0_11 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cmp w14, #128 b.ne LBB0_15 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr w17, [x3] lsl w14, w16, #1 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 sub w14, w14, #1 cmp w14, w17 b.hs LBB0_2 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 ldr x17, [x3, #8] add x17, x17, w14, uxtw #4 ldr x0, [x17] cmp x0, x5 b.le LBB0_2 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 ldr w13, [x17, #8] ldr w16, [x2, x13, lsl #2] cmp w9, w13 csel w17, w9, w13, lo cmp w8, w13 csel w13, w8, w13, hi cmn w16, #1 csel w8, w8, w13, eq csel w9, w9, w17, eq add x13, x15, #1 strb w12, [x4, x15] b LBB0_14 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 lsl w14, w16, #1 ldr w17, [x3] ldr x0, [x3, #8] cmp w14, w17 b.ls LBB0_13 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 lsl x6, x14, #4 ldr x6, [x0, x6] cmp x6, x5 b.le LBB0_8 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 add x16, x0, x14, lsl #4 ldr w16, [x16, #8] ldr w17, [x2, x16, lsl #2] cmp w9, w16 csel w0, w9, w16, lo cmp w8, w16 csel w16, w8, w16, hi cmn w17, #1 csel w8, w8, w16, eq csel w9, w9, w0, eq sxtw x13, w13 sub x13, x13, #1 strb w11, [x4, x15] LBB0_14: ; in Loop: Header=BB0_4 Depth=1 strb w10, [x4, x13] ; kill: def $w13 killed $w13 killed $x13 def $x13 b LBB0_3 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 mov x14, x16 b LBB0_3 LBB0_16: ret LBB0_17: cmp w9, w8 b.hi LBB0_19 ; %bb.18: ubfiz x10, x9, #2, #32 ldr w0, [x2, x10] sub w8, w8, w9 mov x9, x1 add w1, w8, #1 add x2, x9, x10 bl _glUniform4fv bl _GL_EXTCALL LBB0_19: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _checkGLcall .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "walk_constant_heap()" .no_dead_strip _walk_constant_heap .subsections_via_symbols
assembly_file_52105.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function efx_ptp_probe_channel _efx_ptp_probe_channel: ## @efx_ptp_probe_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 %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 16(%rdi), %r14 xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $168, %edi callq _kzalloc movq %rax, (%r14) testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r13 leaq 4(%rax), %r15 movq %r14, %rdi movq %r15, %rsi movl $4, %edx callq _efx_nic_alloc_buffer movl %eax, %r12d testl %eax, %eax jne LBB0_14 ## %bb.3: movq %rbx, 160(%r13) leaq 152(%r13), %rdi callq _skb_queue_head_init leaq 148(%r13), %rdi callq _skb_queue_head_init leaq L_.str(%rip), %rdi callq _create_singlethread_workqueue movq %rax, 8(%r13) testq %rax, %rax je LBB0_4 ## %bb.5: movq %r15, -48(%rbp) ## 8-byte Spill movq %r14, -56(%rbp) ## 8-byte Spill leaq 144(%r13), %rdi movq _efx_ptp_worker@GOTPCREL(%rip), %rax movl (%rax), %esi callq _INIT_WORK movq $0, 136(%r13) movq _HWTSTAMP_TX_OFF@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 132(%r13) movq _HWTSTAMP_FILTER_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 128(%r13) leaq 124(%r13), %rdi callq _INIT_LIST_HEAD leaq 104(%r13), %r12 movq %r12, %rdi callq _INIT_LIST_HEAD leaq 120(%r13), %rdi callq _spin_lock_init movq _MAX_RECEIVE_EVENTS@GOTPCREL(%rip), %rbx cmpl $0, (%rbx) je LBB0_8 ## %bb.6: xorl %r14d, %r14d xorl %r15d, %r15d .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq 112(%r13), %rdi addq %r14, %rdi movq %r12, %rsi callq _list_add incq %r15 movl (%rbx), %eax addq $4, %r14 cmpq %rax, %r15 jb LBB0_7 LBB0_8: movq _THIS_MODULE@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 40(%r13), %r12 movl %eax, 96(%r13) movl 92(%r13), %edi movq -56(%rbp), %r14 ## 8-byte Reload movq 16(%r14), %rax movl (%rax), %ecx leaq L_.str.1(%rip), %rdx movl $4, %esi callq _snprintf movq _MAX_PPB@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 88(%r13) xorps %xmm0, %xmm0 movups %xmm0, 64(%r13) movq $0, 80(%r13) movl $1, 40(%r13) movq _efx_phc_adjfreq@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 60(%r13) movq _efx_phc_adjtime@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 56(%r13) movq _efx_phc_gettime@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 52(%r13) movq _efx_phc_settime@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 48(%r13) movq _efx_phc_enable@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 44(%r13) movq 8(%r14), %rsi movq %r12, %rdi callq _ptp_clock_register movl %eax, 16(%r13) movl %eax, %edi callq _IS_ERR testq %rax, %rax je LBB0_10 ## %bb.9: movl 16(%r13), %edi callq _PTR_ERR movl %eax, %r12d movq -48(%rbp), %r15 ## 8-byte Reload LBB0_12: movq (%r14), %rax movq 8(%rax), %rdi callq _destroy_workqueue jmp LBB0_13 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d jmp LBB0_15 LBB0_4: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d LBB0_13: movq %r14, %rdi movq %r15, %rsi callq _efx_nic_free_buffer LBB0_14: movq (%r14), %rdi callq _kfree movq $0, (%r14) LBB0_15: movl %r12d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: movq %r13, %rdi addq $32, %rdi movq _efx_ptp_pps_worker@GOTPCREL(%rip), %rax movl (%rax), %esi callq _INIT_WORK leaq L_.str.2(%rip), %rdi callq _create_singlethread_workqueue movq %rax, 24(%r13) testq %rax, %rax movq -48(%rbp), %r15 ## 8-byte Reload je LBB0_11 ## %bb.16: movl $0, (%r13) xorl %r12d, %r12d jmp LBB0_15 LBB0_11: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d movq (%r14), %rax movl 16(%rax), %edi callq _ptp_clock_unregister jmp LBB0_12 .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sfc_ptp" .comm _efx_ptp_worker,4,2 ## @efx_ptp_worker .comm _HWTSTAMP_TX_OFF,4,2 ## @HWTSTAMP_TX_OFF .comm _HWTSTAMP_FILTER_NONE,4,2 ## @HWTSTAMP_FILTER_NONE .comm _MAX_RECEIVE_EVENTS,4,2 ## @MAX_RECEIVE_EVENTS .comm _THIS_MODULE,4,2 ## @THIS_MODULE L_.str.1: ## @.str.1 .asciz "%pm" .comm _MAX_PPB,4,2 ## @MAX_PPB .comm _efx_phc_adjfreq,4,2 ## @efx_phc_adjfreq .comm _efx_phc_adjtime,4,2 ## @efx_phc_adjtime .comm _efx_phc_gettime,4,2 ## @efx_phc_gettime .comm _efx_phc_settime,4,2 ## @efx_phc_settime .comm _efx_phc_enable,4,2 ## @efx_phc_enable .comm _efx_ptp_pps_worker,4,2 ## @efx_ptp_pps_worker L_.str.2: ## @.str.2 .asciz "sfc_pps" .no_dead_strip _efx_ptp_probe_channel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function efx_ptp_probe_channel _efx_ptp_probe_channel: ; @efx_ptp_probe_channel .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 x23, x0 ldr x19, [x0, #16] stp xzr, xzr, [x0] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #168 bl _kzalloc str x0, [x19] cbz x0, LBB0_9 ; %bb.1: mov x21, x0 add x20, x0, #4 mov x0, x19 mov x1, x20 mov w2, #4 bl _efx_nic_alloc_buffer mov x22, x0 cbnz w0, LBB0_12 ; %bb.2: str x23, [x21, #160] add x0, x21, #152 bl _skb_queue_head_init add x0, x21, #148 bl _skb_queue_head_init Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _create_singlethread_workqueue str x0, [x21, #8] cbz x0, LBB0_10 ; %bb.3: add x0, x21, #144 Lloh5: adrp x8, _efx_ptp_worker@GOTPAGE Lloh6: ldr x8, [x8, _efx_ptp_worker@GOTPAGEOFF] Lloh7: ldr w1, [x8] bl _INIT_WORK str xzr, [x21, #136] Lloh8: adrp x8, _HWTSTAMP_TX_OFF@GOTPAGE Lloh9: ldr x8, [x8, _HWTSTAMP_TX_OFF@GOTPAGEOFF] Lloh10: ldr w8, [x8] Lloh11: adrp x9, _HWTSTAMP_FILTER_NONE@GOTPAGE Lloh12: ldr x9, [x9, _HWTSTAMP_FILTER_NONE@GOTPAGEOFF] Lloh13: ldr w9, [x9] stp w9, w8, [x21, #128] add x0, x21, #124 bl _INIT_LIST_HEAD add x22, x21, #104 mov x0, x22 bl _INIT_LIST_HEAD add x0, x21, #120 bl _spin_lock_init Lloh14: adrp x23, _MAX_RECEIVE_EVENTS@GOTPAGE Lloh15: ldr x23, [x23, _MAX_RECEIVE_EVENTS@GOTPAGEOFF] ldr w8, [x23] cbz w8, LBB0_6 ; %bb.4: mov x24, #0 mov x25, #0 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #112] add x0, x8, x24 mov x1, x22 bl _list_add add x25, x25, #1 ldr w8, [x23] add x24, x24, #4 cmp x25, x8 b.lo LBB0_5 LBB0_6: Lloh16: adrp x8, _THIS_MODULE@GOTPAGE Lloh17: ldr x8, [x8, _THIS_MODULE@GOTPAGEOFF] Lloh18: ldr w8, [x8] str w8, [x21, #96] ldr w0, [x21, #92] ldr x8, [x19, #16] ldr w3, [x8] Lloh19: adrp x2, l_.str.1@PAGE Lloh20: add x2, x2, l_.str.1@PAGEOFF mov w1, #4 bl _snprintf Lloh21: adrp x8, _MAX_PPB@GOTPAGE Lloh22: ldr x8, [x8, _MAX_PPB@GOTPAGEOFF] Lloh23: ldr w8, [x8] mov w9, #1 mov x22, x21 str w9, [x22, #40]! str w8, [x22, #48] stp xzr, xzr, [x22, #32] str xzr, [x22, #24] Lloh24: adrp x8, _efx_phc_adjfreq@GOTPAGE Lloh25: ldr x8, [x8, _efx_phc_adjfreq@GOTPAGEOFF] Lloh26: ldr w8, [x8] str w8, [x22, #20] Lloh27: adrp x8, _efx_phc_adjtime@GOTPAGE Lloh28: ldr x8, [x8, _efx_phc_adjtime@GOTPAGEOFF] Lloh29: ldr w8, [x8] Lloh30: adrp x9, _efx_phc_gettime@GOTPAGE Lloh31: ldr x9, [x9, _efx_phc_gettime@GOTPAGEOFF] Lloh32: ldr w9, [x9] stp w9, w8, [x22, #12] Lloh33: adrp x8, _efx_phc_settime@GOTPAGE Lloh34: ldr x8, [x8, _efx_phc_settime@GOTPAGEOFF] Lloh35: ldr w8, [x8] Lloh36: adrp x9, _efx_phc_enable@GOTPAGE Lloh37: ldr x9, [x9, _efx_phc_enable@GOTPAGEOFF] Lloh38: ldr w9, [x9] stp w9, w8, [x22, #4] ldr x1, [x19, #8] mov x0, x22 bl _ptp_clock_register stur w0, [x22, #-24] bl _IS_ERR cbz x0, LBB0_14 ; %bb.7: ldr w0, [x21, #16] bl _PTR_ERR mov x22, x0 LBB0_8: ldr x8, [x19] ldr x0, [x8, #8] bl _destroy_workqueue b LBB0_11 LBB0_9: Lloh39: adrp x8, _ENOMEM@GOTPAGE Lloh40: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh41: ldr w8, [x8] neg w22, w8 b LBB0_13 LBB0_10: Lloh42: adrp x8, _ENOMEM@GOTPAGE Lloh43: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh44: ldr w8, [x8] neg w22, w8 LBB0_11: mov x0, x19 mov x1, x20 bl _efx_nic_free_buffer LBB0_12: ldr x0, [x19] bl _kfree str xzr, [x19] LBB0_13: 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_14: add x0, x21, #32 Lloh45: adrp x8, _efx_ptp_pps_worker@GOTPAGE Lloh46: ldr x8, [x8, _efx_ptp_pps_worker@GOTPAGEOFF] Lloh47: ldr w1, [x8] bl _INIT_WORK Lloh48: adrp x0, l_.str.2@PAGE Lloh49: add x0, x0, l_.str.2@PAGEOFF bl _create_singlethread_workqueue str x0, [x21, #24] cbz x0, LBB0_16 ; %bb.15: mov w22, #0 str wzr, [x21] b LBB0_13 LBB0_16: Lloh50: adrp x8, _ENOMEM@GOTPAGE Lloh51: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh52: ldr w8, [x8] neg w22, w8 ldr x8, [x19] ldr w0, [x8, #16] bl _ptp_clock_unregister b LBB0_8 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sfc_ptp" .comm _efx_ptp_worker,4,2 ; @efx_ptp_worker .comm _HWTSTAMP_TX_OFF,4,2 ; @HWTSTAMP_TX_OFF .comm _HWTSTAMP_FILTER_NONE,4,2 ; @HWTSTAMP_FILTER_NONE .comm _MAX_RECEIVE_EVENTS,4,2 ; @MAX_RECEIVE_EVENTS .comm _THIS_MODULE,4,2 ; @THIS_MODULE l_.str.1: ; @.str.1 .asciz "%pm" .comm _MAX_PPB,4,2 ; @MAX_PPB .comm _efx_phc_adjfreq,4,2 ; @efx_phc_adjfreq .comm _efx_phc_adjtime,4,2 ; @efx_phc_adjtime .comm _efx_phc_gettime,4,2 ; @efx_phc_gettime .comm _efx_phc_settime,4,2 ; @efx_phc_settime .comm _efx_phc_enable,4,2 ; @efx_phc_enable .comm _efx_ptp_pps_worker,4,2 ; @efx_ptp_pps_worker l_.str.2: ; @.str.2 .asciz "sfc_pps" .no_dead_strip _efx_ptp_probe_channel .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/sfc/extr_ptp.c_efx_ptp_probe_channel.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _demux_packet_set_padding ## -- Begin function demux_packet_set_padding .p2align 4, 0x90 _demux_packet_set_padding: ## @demux_packet_set_padding .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 .comm _AV_PKT_DATA_SKIP_SAMPLES,4,2 ## @AV_PKT_DATA_SKIP_SAMPLES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _demux_packet_set_padding ; -- Begin function demux_packet_set_padding .p2align 2 _demux_packet_set_padding: ; @demux_packet_set_padding .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .comm _AV_PKT_DATA_SKIP_SAMPLES,4,2 ; @AV_PKT_DATA_SKIP_SAMPLES .subsections_via_symbols
AnghaBench/mpv/demux/extr_packet.c_demux_packet_set_padding.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mkfullname _mkfullname: ## @mkfullname .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 callq _strlen movl %eax, %r12d movq %r14, %rdi callq _strlen movl %eax, %r13d addl %r12d, %r13d movq %rbx, %rdi callq _strlen ## kill: def $eax killed $eax def $rax movl %r13d, %ecx addl %eax, %ecx leal (%rax,%r13), %r12d incl %r12d movq _mkfullname.buf(%rip), %rdi cmpl _mkfullname.bufl(%rip), %ecx jl LBB0_5 ## %bb.1: testq %rdi, %rdi je LBB0_3 ## %bb.2: movl %r12d, %esi callq _realloc jmp LBB0_4 LBB0_3: movl %r12d, %edi callq _malloc LBB0_4: movq %rax, %rdi movq %rax, _mkfullname.buf(%rip) LBB0_5: testq %rdi, %rdi je LBB0_6 ## %bb.7: movl %r12d, _mkfullname.bufl(%rip) movq %r15, %rsi callq _strcpy movq _mkfullname.buf(%rip), %rdi movq %r14, %rsi callq _strcat movq _mkfullname.buf(%rip), %rdi movq %rbx, %rsi callq _strcat movq _mkfullname.buf(%rip), %rax jmp LBB0_8 LBB0_6: movl $0, _mkfullname.bufl(%rip) xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_mkfullname.buf,8,3 ## @mkfullname.buf .zerofill __DATA,__bss,_mkfullname.bufl,4,2 ## @mkfullname.bufl .no_dead_strip _mkfullname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mkfullname _mkfullname: ; @mkfullname .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 bl _strlen mov x22, x0 mov x0, x20 bl _strlen add w22, w0, w22 mov x0, x19 bl _strlen adrp x24, _mkfullname.bufl@PAGE ldr w8, [x24, _mkfullname.bufl@PAGEOFF] add w9, w22, w0 cmp w9, w8 add w22, w9, #1 adrp x23, _mkfullname.buf@PAGE ldr x0, [x23, _mkfullname.buf@PAGEOFF] b.lt LBB0_5 ; %bb.1: cbz x0, LBB0_3 ; %bb.2: mov x1, x22 bl _realloc b LBB0_4 LBB0_3: mov x0, x22 bl _malloc LBB0_4: str x0, [x23, _mkfullname.buf@PAGEOFF] LBB0_5: cbz x0, LBB0_7 ; %bb.6: str w22, [x24, _mkfullname.bufl@PAGEOFF] mov x1, x21 bl _strcpy ldr x0, [x23, _mkfullname.buf@PAGEOFF] mov x1, x20 bl _strcat ldr x0, [x23, _mkfullname.buf@PAGEOFF] mov x1, x19 bl _strcat ldr x0, [x23, _mkfullname.buf@PAGEOFF] b LBB0_8 LBB0_7: str wzr, [x24, _mkfullname.bufl@PAGEOFF] LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_mkfullname.buf,8,3 ; @mkfullname.buf .zerofill __DATA,__bss,_mkfullname.bufl,4,2 ; @mkfullname.bufl .no_dead_strip _mkfullname .subsections_via_symbols
assembly_file_26960.c
assembly_dataset
.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 AAS_HorizontalVelocityForJump LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__literal4,4byte_literals .p2align 2, 0x0 LCPI0_1: .long 0x7fc00000 ## float NaN LCPI0_2: .long 0x00000000 ## float 0 .section __TEXT,__text,regular,pure_instructions .globl _AAS_HorizontalVelocityForJump .p2align 4, 0x90 _AAS_HorizontalVelocityForJump: ## @AAS_HorizontalVelocityForJump .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq _aassettings@GOTPCREL(%rip), %rax movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero cvtss2sd %xmm2, %xmm1 mulsd LCPI0_0(%rip), %xmm1 movaps %xmm0, %xmm3 divss %xmm2, %xmm3 xorps %xmm0, %xmm0 cvtss2sd %xmm3, %xmm0 movapd %xmm1, %xmm2 mulsd %xmm0, %xmm2 mulsd %xmm0, %xmm2 xorps %xmm0, %xmm0 cvtsd2ss %xmm2, %xmm0 addss 8(%rdi), %xmm0 subss 8(%rsi), %xmm0 movss 4(%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero xorps %xmm4, %xmm4 ucomiss %xmm0, %xmm4 jae LBB0_3 ## %bb.1: movq %rsi, %r15 movq %rdi, %r14 cvtss2sd %xmm0, %xmm0 divsd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 movss %xmm3, -28(%rbp) ## 4-byte Spill movss %xmm2, -32(%rbp) ## 4-byte Spill callq _sqrt movss %xmm0, -36(%rbp) ## 4-byte Spill movq %r15, %rdi movq %r14, %rsi callq _VectorSubtract movss -32(%rbp), %xmm2 ## 4-byte Reload ## xmm2 = mem[0],zero,zero,zero movss -28(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero addss -36(%rbp), %xmm1 ## 4-byte Folded Reload ucomiss LCPI0_2(%rip), %xmm1 jne LBB0_2 jnp LBB0_3 LBB0_2: movss LCPI0_1(%rip), %xmm0 ## xmm0 = [NaN,0.0E+0,0.0E+0,0.0E+0] movss %xmm1, -28(%rbp) ## 4-byte Spill callq _sqrt movss -32(%rbp), %xmm2 ## 4-byte Reload ## xmm2 = mem[0],zero,zero,zero divss -28(%rbp), %xmm0 ## 4-byte Folded Reload movl $1, %eax ucomiss %xmm2, %xmm0 jbe LBB0_4 LBB0_3: xorl %eax, %eax movaps %xmm2, %xmm0 LBB0_4: movss %xmm0, (%rbx) addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_3973 ## @g_aug_volatile_3973 .p2align 2, 0x0 _g_aug_volatile_3973: .long 1 ## 0x1 .comm _aassettings,8,2 ## @aassettings .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _AAS_HorizontalVelocityForJump ; -- Begin function AAS_HorizontalVelocityForJump .p2align 2 _AAS_HorizontalVelocityForJump: ; @AAS_HorizontalVelocityForJump .cfi_startproc ; %bb.0: stp d11, d10, [sp, #-80]! ; 16-byte Folded Spill stp d9, d8, [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 b8, -56 .cfi_offset b9, -64 .cfi_offset b10, -72 .cfi_offset b11, -80 mov x19, x2 Lloh0: adrp x8, _aassettings@GOTPAGE Lloh1: ldr x8, [x8, _aassettings@GOTPAGEOFF] ldp s2, s9, [x8] fcvt d1, s2 fmov d3, #0.50000000 fmul d1, d1, d3 fdiv s10, s0, s2 fcvt d0, s10 fmul d2, d1, d0 fmul d0, d2, d0 fcvt s0, d0 ldr s2, [x0, #8] fadd s0, s2, s0 ldr s2, [x1, #8] fsub s0, s0, s2 fcmp s0, #0.0 b.ls LBB0_3 ; %bb.1: mov x21, x1 mov x20, x0 fcvt d0, s0 fdiv d0, d0, d1 fcvt s0, d0 bl _sqrt fmov s8, s0 mov x0, x21 mov x1, x20 bl _VectorSubtract fadd s8, s10, s8 fcmp s8, #0.0 b.eq LBB0_3 ; %bb.2: mov w8, #2143289344 ; =0x7fc00000 fmov s0, w8 bl _sqrt fdiv s0, s0, s8 fcmp s0, s9 b.le LBB0_5 LBB0_3: mov w0, #0 ; =0x0 LBB0_4: str s9, [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 d9, d8, [sp, #16] ; 16-byte Folded Reload ldp d11, d10, [sp], #80 ; 16-byte Folded Reload ret LBB0_5: mov w0, #1 ; =0x1 fmov s9, s0 b LBB0_4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_3973 ; @g_aug_volatile_3973 .p2align 2, 0x0 _g_aug_volatile_3973: .long 1 ; 0x1 .comm _aassettings,8,2 ; @aassettings .subsections_via_symbols
assembly_file_147329.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function icatalloc _icatalloc: ## @icatalloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 testq %rsi, %rsi je LBB0_4 ## %bb.1: movq %rbx, %rdi callq _strlen movq %rax, %r15 testq %r14, %r14 je LBB0_6 ## %bb.2: testq %r15, %r15 je LBB0_9 ## %bb.3: movq %r14, %rdi callq _strlen movq %rax, %r12 leaq (%r15,%rax), %rsi incq %rsi movq %r14, %rdi callq _realloc movq %rax, %r14 jmp LBB0_8 LBB0_4: testq %r14, %r14 jne LBB0_9 ## %bb.5: xorl %r15d, %r15d LBB0_6: decq %r15 movq %r15, %rdi callq _malloc movq %rax, %r14 orq %rbx, %rax je LBB0_9 ## %bb.7: xorl %r12d, %r12d LBB0_8: addq %r14, %r12 movq %r12, %rdi movq %rbx, %rsi callq _strcpy LBB0_9: movq %r14, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _icatalloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function icatalloc _icatalloc: ; @icatalloc .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 cbz x1, LBB0_4 ; %bb.1: mov x0, x19 bl _strlen mov x22, x0 cbz x20, LBB0_6 ; %bb.2: cbz x22, LBB0_9 ; %bb.3: mov x0, x20 bl _strlen mov x21, x0 add x8, x22, x0 add x1, x8, #1 mov x0, x20 bl _realloc mov x20, x0 b LBB0_8 LBB0_4: cbnz x20, LBB0_9 ; %bb.5: mov x22, #0 ; =0x0 LBB0_6: sub x0, x22, #1 bl _malloc mov x20, x0 mov x21, #0 ; =0x0 cbnz x19, LBB0_8 ; %bb.7: cbz x20, LBB0_9 LBB0_8: add x0, x20, x21 mov x1, x19 bl _strcpy LBB0_9: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _icatalloc .subsections_via_symbols
assembly_file_77932.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/184519481.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function database_info_list_iterate_end_no_match _database_info_list_iterate_end_no_match: ## @database_info_list_iterate_end_no_match .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 %rdx, %r15 movq %rsi, %rbx movq %rdi, -80(%rbp) ## 8-byte Spill movq %rdx, %rdi callq _path_is_compressed_file testq %rax, %rax je LBB0_9 ## %bb.1: movq %r15, %rdi callq _path_contains_compressed_file testl %eax, %eax je LBB0_2 LBB0_9: xorps %xmm0, %xmm0 movups %xmm0, 16(%rbx) cmpq $0, (%rbx) je LBB0_11 ## %bb.10: movq $0, (%rbx) LBB0_11: cmpq $0, 8(%rbx) je LBB0_13 ## %bb.12: movq $0, 8(%rbx) LBB0_13: xorl %eax, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq %r15, %rdi xorl %esi, %esi callq _file_archive_get_file_list testq %rax, %rax je LBB0_9 ## %bb.3: movq %rax, %r13 cmpq $0, (%rax) jle LBB0_9 ## %bb.4: movq %rbx, -64(%rbp) ## 8-byte Spill movl $-1, %eax xorl %r12d, %r12d movq %r15, -72(%rbp) ## 8-byte Spill movq %r13, -56(%rbp) ## 8-byte Spill jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload movl (%rax), %edi movl 8(%r15,%r12), %edx movq %rbx, %rsi callq _string_list_append movq %rbx, %rdi callq _free movl -44(%rbp), %eax ## 4-byte Reload movl %eax, %r12d decl %eax movq -56(%rbp), %r13 ## 8-byte Reload cmpq %r12, (%r13) movq -72(%rbp), %r15 ## 8-byte Reload jle LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl %eax, -44(%rbp) ## 4-byte Spill movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %edi callq _malloc movq %rax, %rbx movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rax movslq (%rax), %r14 movq %r15, %rdi callq _strlen movq %rax, -96(%rbp) ## 8-byte Spill movb $0, (%rbx) movq %rbx, %rdi movq %r15, %rsi movq %r14, -88(%rbp) ## 8-byte Spill movq %r14, %rdx callq _strlcpy movq 8(%r13), %r15 shlq $4, %r12 movq (%r15,%r12), %rdi callq _strlen movq -96(%rbp), %r8 ## 8-byte Reload addq %r8, %rax incq %rax movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx cmpq %rcx, %rax jae LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movb $35, (%rbx,%r8) leaq (%rbx,%r8), %rdi incq %rdi movq -56(%rbp), %r15 ## 8-byte Reload movq 8(%r15), %rax movq (%rax,%r12), %rsi movq -88(%rbp), %rdx ## 8-byte Reload subq %r8, %rdx callq _strlcpy movq 8(%r15), %r15 jmp LBB0_7 LBB0_8: movq %r13, %rdi callq _string_list_free movq -64(%rbp), %rbx ## 8-byte Reload jmp LBB0_9 .cfi_endproc ## -- End function .comm _PATH_MAX_LENGTH,4,2 ## @PATH_MAX_LENGTH .no_dead_strip _database_info_list_iterate_end_no_match .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function database_info_list_iterate_end_no_match _database_info_list_iterate_end_no_match: ; @database_info_list_iterate_end_no_match .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x2 mov x19, x1 str x0, [sp, #8] ; 8-byte Folded Spill mov x0, x2 bl _path_is_compressed_file cbz x0, LBB0_2 ; %bb.1: mov x0, x20 bl _path_contains_compressed_file cbz w0, LBB0_7 LBB0_2: stp xzr, xzr, [x19, #16] ldr x8, [x19] cbz x8, LBB0_4 ; %bb.3: str xzr, [x19] LBB0_4: ldr x8, [x19, #8] cbz x8, LBB0_6 ; %bb.5: str xzr, [x19, #8] LBB0_6: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_7: mov x0, x20 mov x1, #0 ; =0x0 bl _file_archive_get_file_list cbz x0, LBB0_2 ; %bb.8: mov x22, x0 ldr x8, [x0] cmp x8, #1 b.lt LBB0_2 ; %bb.9: str x19, [sp] ; 8-byte Folded Spill mov x28, #0 ; =0x0 mov w26, #-1 ; =0xffffffff Lloh0: adrp x27, _PATH_MAX_LENGTH@GOTPAGE Lloh1: ldr x27, [x27, _PATH_MAX_LENGTH@GOTPAGEOFF] b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] add x8, x21, x28, lsl #4 ldr w2, [x8, #8] mov x1, x23 bl _string_list_append mov x0, x23 bl _free mov w28, w26 ldr x8, [x22] sub w26, w26, #1 cmp x8, x28 b.le LBB0_13 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr w0, [x27] bl _malloc mov x23, x0 ldrsw x24, [x27] mov x0, x20 bl _strlen mov x25, x0 strb wzr, [x23] mov x0, x23 mov x1, x20 mov x2, x24 bl _strlcpy ldr x21, [x22, #8] lsl x19, x28, #4 ldr x0, [x21, x19] bl _strlen add x8, x25, x0 add x8, x8, #1 ldrsw x9, [x27] cmp x8, x9 b.hs LBB0_10 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 add x0, x23, x25 mov w8, #35 ; =0x23 strb w8, [x0], #1 ldr x8, [x22, #8] ldr x1, [x8, x19] sub x2, x24, x25 bl _strlcpy ldr x21, [x22, #8] b LBB0_10 LBB0_13: mov x0, x22 bl _string_list_free ldr x19, [sp] ; 8-byte Folded Reload b LBB0_2 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PATH_MAX_LENGTH,4,2 ; @PATH_MAX_LENGTH .no_dead_strip _database_info_list_iterate_end_no_match .subsections_via_symbols
assembly_file_170223.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function z3fold_zpool_evict _z3fold_zpool_evict: ## @z3fold_zpool_evict .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rax movq (%rdi), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.1: movq 8(%rax), %rax testq %rax, %rax je LBB0_3 ## %bb.2: movq (%rax), %rax testq %rax, %rax je LBB0_3 ## %bb.4: popq %rbp jmpq *%rax ## TAILCALL LBB0_3: movq _ENOENT@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENOENT,4,2 ## @ENOENT .no_dead_strip _z3fold_zpool_evict .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function z3fold_zpool_evict _z3fold_zpool_evict: ; @z3fold_zpool_evict .cfi_startproc ; %bb.0: mov x8, x0 ldr x0, [x0] cbz x0, LBB0_4 ; %bb.1: ldr x8, [x8, #8] cbz x8, LBB0_4 ; %bb.2: ldr x2, [x8] cbz x2, LBB0_4 ; %bb.3: br x2 LBB0_4: Lloh0: adrp x8, _ENOENT@GOTPAGE Lloh1: ldr x8, [x8, _ENOENT@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOENT,4,2 ; @ENOENT .no_dead_strip _z3fold_zpool_evict .subsections_via_symbols
AnghaBench/linux/mm/extr_z3fold.c_z3fold_zpool_evict.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _send_init_request ## -- Begin function send_init_request .p2align 4, 0x90 _send_init_request: ## @send_init_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $88, %rsp .cfi_offset %rbx, -24 movl %edi, %ebx movq _PPTP_MAGIC_COOKIE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _htonl movl %eax, -56(%rbp) movq _PPTP_CTRL_MESSAGE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _htons movq %rax, -64(%rbp) movq _START_CTRL_CONN_RQST@GOTPCREL(%rip), %rax movl (%rax), %edi callq _htons movq %rax, -72(%rbp) movq _PPTP_VERSION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -16(%rbp) xorps %xmm0, %xmm0 movups %xmm0, -32(%rbp) movl $1, -88(%rbp) movq $0, -40(%rbp) leaq L_.str(%rip), %rsi callq _strcpy leaq L_.str.1(%rip), %rsi callq _strcpy movl $80, %edi callq _ntohs movl %eax, -80(%rbp) leaq -88(%rbp), %rsi movl %ebx, %edi movl $80, %edx xorl %ecx, %ecx callq _send addq $88, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _PPTP_MAGIC_COOKIE,4,2 ## @PPTP_MAGIC_COOKIE .comm _PPTP_CTRL_MESSAGE,4,2 ## @PPTP_CTRL_MESSAGE .comm _START_CTRL_CONN_RQST,4,2 ## @START_CTRL_CONN_RQST .comm _PPTP_VERSION,4,2 ## @PPTP_VERSION .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hell" L_.str.1: ## @.str.1 .asciz "domain HELL" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _send_init_request ; -- Begin function send_init_request .p2align 2 _send_init_request: ; @send_init_request .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 mov x19, x0 Lloh0: adrp x8, _PPTP_MAGIC_COOKIE@GOTPAGE Lloh1: ldr x8, [x8, _PPTP_MAGIC_COOKIE@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _htonl str w0, [sp, #32] Lloh3: adrp x8, _PPTP_CTRL_MESSAGE@GOTPAGE Lloh4: ldr x8, [x8, _PPTP_CTRL_MESSAGE@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _htons str x0, [sp, #24] Lloh6: adrp x8, _START_CTRL_CONN_RQST@GOTPAGE Lloh7: ldr x8, [x8, _START_CTRL_CONN_RQST@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _htons Lloh9: adrp x8, _PPTP_VERSION@GOTPAGE Lloh10: ldr x8, [x8, _PPTP_VERSION@GOTPAGEOFF] Lloh11: ldr w8, [x8] str w8, [sp, #72] mov w8, #1 str w8, [sp] stp xzr, xzr, [sp, #56] str x0, [sp, #16] str xzr, [sp, #48] Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF bl _strcpy Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF bl _strcpy mov w0, #80 bl _ntohs str w0, [sp, #8] mov x1, sp mov x0, x19 mov w2, #80 mov w3, #0 bl _send ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PPTP_MAGIC_COOKIE,4,2 ; @PPTP_MAGIC_COOKIE .comm _PPTP_CTRL_MESSAGE,4,2 ; @PPTP_CTRL_MESSAGE .comm _START_CTRL_CONN_RQST,4,2 ; @START_CTRL_CONN_RQST .comm _PPTP_VERSION,4,2 ; @PPTP_VERSION .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hell" l_.str.1: ; @.str.1 .asciz "domain HELL" .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/remote/extr_22479.c_send_init_request.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dss_mgr_check_lcd_config _dss_mgr_check_lcd_config: ## @dss_mgr_check_lcd_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 $-256, %eax movl 12(%rsi), %ecx addl %eax, %ecx cmpl $-256, %ecx jbe LBB0_6 ## %bb.1: addl 16(%rsi), %eax cmpl $-256, %eax jbe LBB0_6 ## %bb.2: movl (%rsi), %eax addl $-12, %eax rorl %eax cmpl $6, %eax ja LBB0_6 ## %bb.3: movl $77, %ecx btl %eax, %ecx jae LBB0_6 ## %bb.4: xorl %eax, %eax cmpl $0, 4(%rsi) jne LBB0_7 ## %bb.5: cmpl $0, 8(%rsi) je LBB0_7 LBB0_6: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_7: popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _dss_mgr_check_lcd_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dss_mgr_check_lcd_config _dss_mgr_check_lcd_config: ; @dss_mgr_check_lcd_config .cfi_startproc ; %bb.0: ldr w8, [x1, #12] sub w8, w8, #256 cmn w8, #256 b.ls LBB0_5 ; %bb.1: ldr w8, [x1, #16] sub w8, w8, #256 cmn w8, #256 b.ls LBB0_5 ; %bb.2: ldr w8, [x1] sub w8, w8, #12 ror w8, w8, #1 cmp w8, #6 mov w9, #1 lsl w8, w9, w8 mov w9, #77 and w8, w8, w9 ccmp w8, #0, #4, ls b.eq LBB0_5 ; %bb.3: mov w0, #0 ldr w8, [x1, #4] cbnz w8, LBB0_6 ; %bb.4: ldr w8, [x1, #8] cbz w8, LBB0_6 LBB0_5: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_6: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _dss_mgr_check_lcd_config .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/omap2/omapfb/dss/extr_manager.c_dss_mgr_check_lcd_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iscsi_sw_tcp_conn_restore_callbacks _iscsi_sw_tcp_conn_restore_callbacks: ## @iscsi_sw_tcp_conn_restore_callbacks .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq 16(%rdi), %rax movq (%rax), %rbx movq %rbx, %rdi callq _write_lock_bh movq $0, 32(%rbx) movl 8(%r14), %eax movl %eax, 24(%rbx) movl 4(%r14), %eax movl %eax, 20(%rbx) movl (%r14), %eax movl %eax, 16(%rbx) movq $0, 8(%rbx) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _write_unlock_bh ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _iscsi_sw_tcp_conn_restore_callbacks .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iscsi_sw_tcp_conn_restore_callbacks _iscsi_sw_tcp_conn_restore_callbacks: ; @iscsi_sw_tcp_conn_restore_callbacks .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #16] ldr x20, [x8] mov x0, x20 bl _write_lock_bh str xzr, [x20, #32] ldr w8, [x19, #8] str w8, [x20, #24] ldr d0, [x19] str d0, [x20, #16] str xzr, [x20, #8] mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _write_unlock_bh .cfi_endproc ; -- End function .no_dead_strip _iscsi_sw_tcp_conn_restore_callbacks .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_iscsi_tcp.c_iscsi_sw_tcp_conn_restore_callbacks.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ahd_ccscbacnt_print ## -- Begin function ahd_ccscbacnt_print .p2align 4, 0x90 _ahd_ccscbacnt_print: ## @ahd_ccscbacnt_print .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 %rsi, %r9 movl %edi, %r8d movl %edx, (%rsp) leaq L_.str(%rip), %rdx xorl %edi, %edi xorl %esi, %esi movl $171, %ecx callq _ahd_print_register addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CCSCBACNT" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ahd_ccscbacnt_print ; -- Begin function ahd_ccscbacnt_print .p2align 2 _ahd_ccscbacnt_print: ; @ahd_ccscbacnt_print .cfi_startproc ; %bb.0: mov x6, x2 mov x5, x1 mov x4, x0 Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov x0, #0 mov w1, #0 mov w3, #171 b _ahd_print_register .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CCSCBACNT" .subsections_via_symbols
AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx_reg_print.c_ahd_ccscbacnt_print.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hvc_remove ## -- Begin function hvc_remove .p2align 4, 0x90 _hvc_remove: ## @hvc_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq 12(%rdi), %r15 movq %r15, %rdi callq _spin_lock_irqsave movl 16(%rbx), %edi callq _tty_kref_get movq %rax, %r14 movq (%rbx), %rax movq _MAX_NR_HVC_CONSOLES@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jae LBB0_2 ## %bb.1: movq _vtermnos@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl $-1, (%rcx,%rax,4) LBB0_2: movq %r15, %rdi callq _spin_unlock_irqrestore addq $8, %rbx movq _destroy_hvc_struct@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _kref_put testq %r14, %r14 je LBB0_4 ## %bb.3: movq %r14, %rdi callq _tty_vhangup movq %r14, %rdi callq _tty_kref_put LBB0_4: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_NR_HVC_CONSOLES,8,3 ## @MAX_NR_HVC_CONSOLES .comm _vtermnos,8,3 ## @vtermnos .comm _destroy_hvc_struct,4,2 ## @destroy_hvc_struct .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hvc_remove ; -- Begin function hvc_remove .p2align 2 _hvc_remove: ; @hvc_remove .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 add x21, x0, #12 mov x0, x21 bl _spin_lock_irqsave ldr w0, [x20, #16] bl _tty_kref_get mov x19, x0 ldr x8, [x20] Lloh0: adrp x9, _MAX_NR_HVC_CONSOLES@GOTPAGE Lloh1: ldr x9, [x9, _MAX_NR_HVC_CONSOLES@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.hs LBB0_2 ; %bb.1: Lloh3: adrp x9, _vtermnos@GOTPAGE Lloh4: ldr x9, [x9, _vtermnos@GOTPAGEOFF] Lloh5: ldr x9, [x9] mov w10, #-1 str w10, [x9, x8, lsl #2] LBB0_2: mov x0, x21 bl _spin_unlock_irqrestore add x0, x20, #8 Lloh6: adrp x8, _destroy_hvc_struct@GOTPAGE Lloh7: ldr x8, [x8, _destroy_hvc_struct@GOTPAGEOFF] Lloh8: ldr w1, [x8] bl _kref_put cbz x19, LBB0_4 ; %bb.3: mov x0, x19 bl _tty_vhangup mov x0, x19 bl _tty_kref_put LBB0_4: mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _MAX_NR_HVC_CONSOLES,8,3 ; @MAX_NR_HVC_CONSOLES .comm _vtermnos,8,3 ; @vtermnos .comm _destroy_hvc_struct,4,2 ; @destroy_hvc_struct .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/char/extr_hvc_console.c_hvc_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_tmpreg _find_tmpreg: ## @find_tmpreg .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 %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq _MAX_TEXTURES@GOTPCREL(%rip), %r15 movl (%r15), %r12d movq %r12, %rax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 leal (,%r12,4), %edx movq %r14, %rdi xorl %esi, %esi callq _memset movl (%r15), %eax testl %eax, %eax jle LBB0_22 ## %bb.1: movq _WINED3D_TOP_DISABLE@GOTPCREL(%rip), %rcx movq (%rcx), %r10 movq _WINED3DTA_TEMP@GOTPCREL(%rip), %rcx movq (%rcx), %r9 movq _tempreg@GOTPCREL(%rip), %rcx movq (%rcx), %r8 movq _WINED3DTA_TEXTURE@GOTPCREL(%rip), %rcx movq (%rcx), %rdi movq _TRUE@GOTPCREL(%rip), %rcx movl (%rcx), %esi addq $56, %rbx movl $-1, %ecx xorl %edx, %edx movl $-1, %r15d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq %r10, -56(%rbx) je LBB0_21 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $-1, %ecx jne LBB0_11 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpq %r9, -48(%rbx) je LBB0_10 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 cmpq %r9, -40(%rbx) je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 cmpq %r9, -32(%rbx) je LBB0_10 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 cmpq %r9, -24(%rbx) je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 cmpq %r9, -16(%rbx) je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movl $-1, %ecx cmpq %r9, -8(%rbx) jne LBB0_11 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movl %edx, %ecx LBB0_11: ## in Loop: Header=BB0_2 Depth=1 cmpl $-1, %r15d je LBB0_12 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, -48(%rbx) jne LBB0_14 jmp LBB0_19 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 cmpq %r8, (%rbx) movl $-1, %r15d cmovel %edx, %r15d cmpq %rdi, -48(%rbx) je LBB0_19 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, -40(%rbx) je LBB0_19 ## %bb.15: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, -32(%rbx) je LBB0_19 ## %bb.16: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, -24(%rbx) je LBB0_19 ## %bb.17: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, -16(%rbx) je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, -8(%rbx) jne LBB0_20 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movl %esi, (%r14,%rdx,4) LBB0_20: ## in Loop: Header=BB0_2 Depth=1 incq %rdx addq $64, %rbx cmpq %rdx, %rax jne LBB0_2 LBB0_21: cmpl $-1, %ecx je LBB0_22 ## %bb.23: cmpl %ecx, %r15d jl LBB0_25 ## %bb.24: leaq L_.str(%rip), %rdi callq _FIXME LBB0_25: cmpl $-1, %r15d je LBB0_26 ## %bb.28: testl %r15d, %r15d jg LBB0_27 ## %bb.29: cmpl $0, 4(%r14) je LBB0_30 ## %bb.32: cmpl $0, 8(%r14) je LBB0_33 ## %bb.34: cmpl $0, 12(%r14) je LBB0_35 ## %bb.36: cmpl $0, 16(%r14) je LBB0_37 ## %bb.38: cmpl $0, 20(%r14) je LBB0_39 ## %bb.40: leaq L_.str.2(%rip), %rdi callq _FIXME xorl %eax, %eax jmp LBB0_41 LBB0_22: movq _GL_NONE@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_41 LBB0_26: leaq L_.str.1(%rip), %rdi callq _FIXME LBB0_27: movq _GL_REG_1_ATI@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_41 LBB0_30: movl $1, %eax jmp LBB0_31 LBB0_33: movl $2, %eax jmp LBB0_31 LBB0_35: movl $3, %eax jmp LBB0_31 LBB0_37: movl $4, %eax jmp LBB0_31 LBB0_39: movl $5, %eax LBB0_31: movq _GL_REG_0_ATI@GOTPCREL(%rip), %rcx addq (%rcx), %rax LBB0_41: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -40(%rbp), %rcx jne LBB0_43 ## %bb.42: leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_43: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_TEXTURES,4,2 ## @MAX_TEXTURES .comm _WINED3D_TOP_DISABLE,8,3 ## @WINED3D_TOP_DISABLE .comm _WINED3DTA_TEMP,8,3 ## @WINED3DTA_TEMP .comm _tempreg,8,3 ## @tempreg .comm _WINED3DTA_TEXTURE,8,3 ## @WINED3DTA_TEXTURE .comm _TRUE,4,2 ## @TRUE .comm _GL_NONE,8,3 ## @GL_NONE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Temp register read before being written\n" L_.str.1: ## @.str.1 .asciz "Temp register read without being written\n" .comm _GL_REG_1_ATI,8,3 ## @GL_REG_1_ATI .comm _GL_REG_0_ATI,8,3 ## @GL_REG_0_ATI L_.str.2: ## @.str.2 .asciz "Could not find a register for the temporary register\n" .no_dead_strip _find_tmpreg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_tmpreg _find_tmpreg: ; @find_tmpreg .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 sub sp, sp, #16 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x21, _MAX_TEXTURES@GOTPAGE Lloh4: ldr x21, [x21, _MAX_TEXTURES@GOTPAGEOFF] ldr w12, [x21] lsl x8, x12, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x19, x9, x8 mov sp, x19 lsl w2, w12, #2 mov x0, x19 mov w1, #0 bl _memset ldr w8, [x21] cmp w8, #1 b.lt LBB0_33 ; %bb.1: mov x9, #0 Lloh7: adrp x10, _WINED3D_TOP_DISABLE@GOTPAGE Lloh8: ldr x10, [x10, _WINED3D_TOP_DISABLE@GOTPAGEOFF] Lloh9: ldr x10, [x10] Lloh10: adrp x11, _WINED3DTA_TEMP@GOTPAGE Lloh11: ldr x11, [x11, _WINED3DTA_TEMP@GOTPAGEOFF] Lloh12: ldr x11, [x11] Lloh13: adrp x12, _tempreg@GOTPAGE Lloh14: ldr x12, [x12, _tempreg@GOTPAGEOFF] Lloh15: ldr x12, [x12] Lloh16: adrp x13, _WINED3DTA_TEXTURE@GOTPAGE Lloh17: ldr x13, [x13, _WINED3DTA_TEXTURE@GOTPAGEOFF] Lloh18: ldr x13, [x13] Lloh19: adrp x14, _TRUE@GOTPAGE Lloh20: ldr x14, [x14, _TRUE@GOTPAGEOFF] Lloh21: ldr w14, [x14] add x15, x20, #32 mov w16, #-1 mov w20, #-1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur x17, [x15, #-32] cmp x17, x10 b.eq LBB0_22 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cmn w16, #1 b.ne LBB0_11 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldur x16, [x15, #-24] cmp x16, x11 b.eq LBB0_10 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 ldur x16, [x15, #-16] cmp x16, x11 b.eq LBB0_10 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 ldur x16, [x15, #-8] cmp x16, x11 b.eq LBB0_10 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 ldr x16, [x15] cmp x16, x11 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 ldr x16, [x15, #8] cmp x16, x11 b.eq LBB0_10 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 ldr x16, [x15, #16] cmp x16, x11 b.ne LBB0_21 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 mov x16, x9 LBB0_11: ; in Loop: Header=BB0_2 Depth=1 cmn w20, #1 b.ne LBB0_13 LBB0_12: ; in Loop: Header=BB0_2 Depth=1 ldr x17, [x15, #24] cmp x17, x12 csinv w20, w9, wzr, eq LBB0_13: ; in Loop: Header=BB0_2 Depth=1 ldur x17, [x15, #-24] cmp x17, x13 b.eq LBB0_19 ; %bb.14: ; in Loop: Header=BB0_2 Depth=1 ldur x17, [x15, #-16] cmp x17, x13 b.eq LBB0_19 ; %bb.15: ; in Loop: Header=BB0_2 Depth=1 ldur x17, [x15, #-8] cmp x17, x13 b.eq LBB0_19 ; %bb.16: ; in Loop: Header=BB0_2 Depth=1 ldr x17, [x15] cmp x17, x13 b.eq LBB0_19 ; %bb.17: ; in Loop: Header=BB0_2 Depth=1 ldr x17, [x15, #8] cmp x17, x13 b.eq LBB0_19 ; %bb.18: ; in Loop: Header=BB0_2 Depth=1 ldr x17, [x15, #16] cmp x17, x13 b.ne LBB0_20 LBB0_19: ; in Loop: Header=BB0_2 Depth=1 str w14, [x19, x9, lsl #2] LBB0_20: ; in Loop: Header=BB0_2 Depth=1 add x9, x9, #1 add x15, x15, #64 cmp x8, x9 b.ne LBB0_2 b LBB0_22 LBB0_21: ; in Loop: Header=BB0_2 Depth=1 mov w16, #-1 cmn w20, #1 b.ne LBB0_13 b LBB0_12 LBB0_22: cmn w16, #1 b.eq LBB0_33 ; %bb.23: cmp w20, w16 b.lt LBB0_25 ; %bb.24: Lloh22: adrp x0, l_.str@PAGE Lloh23: add x0, x0, l_.str@PAGEOFF bl _FIXME LBB0_25: cmn w20, #1 b.eq LBB0_34 ; %bb.26: cmp w20, #0 b.gt LBB0_35 ; %bb.27: ldr w8, [x19, #4] cbz w8, LBB0_36 ; %bb.28: ldr w8, [x19, #8] cbz w8, LBB0_37 ; %bb.29: ldr w8, [x19, #12] cbz w8, LBB0_38 ; %bb.30: ldr w8, [x19, #16] cbz w8, LBB0_39 ; %bb.31: ldr w8, [x19, #20] cbz w8, LBB0_40 ; %bb.32: Lloh24: adrp x0, l_.str.2@PAGE Lloh25: add x0, x0, l_.str.2@PAGEOFF bl _FIXME mov x0, #0 b LBB0_42 LBB0_33: Lloh26: adrp x8, _GL_NONE@GOTPAGE Lloh27: ldr x8, [x8, _GL_NONE@GOTPAGEOFF] Lloh28: ldr x0, [x8] b LBB0_42 LBB0_34: Lloh29: adrp x0, l_.str.1@PAGE Lloh30: add x0, x0, l_.str.1@PAGEOFF bl _FIXME LBB0_35: Lloh31: adrp x8, _GL_REG_1_ATI@GOTPAGE Lloh32: ldr x8, [x8, _GL_REG_1_ATI@GOTPAGEOFF] Lloh33: ldr x0, [x8] b LBB0_42 LBB0_36: mov w8, #1 b LBB0_41 LBB0_37: mov w8, #2 b LBB0_41 LBB0_38: mov w8, #3 b LBB0_41 LBB0_39: mov w8, #4 b LBB0_41 LBB0_40: mov w8, #5 LBB0_41: Lloh34: adrp x9, _GL_REG_0_ATI@GOTPAGE Lloh35: ldr x9, [x9, _GL_REG_0_ATI@GOTPAGEOFF] Lloh36: ldr x9, [x9] add x0, x9, x8 LBB0_42: ldur x8, [x29, #-40] Lloh37: adrp x9, ___stack_chk_guard@GOTPAGE Lloh38: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh39: ldr x9, [x9] cmp x9, x8 b.ne LBB0_44 ; %bb.43: sub sp, x29, #32 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_44: bl ___stack_chk_fail .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .comm _MAX_TEXTURES,4,2 ; @MAX_TEXTURES .comm _WINED3D_TOP_DISABLE,8,3 ; @WINED3D_TOP_DISABLE .comm _WINED3DTA_TEMP,8,3 ; @WINED3DTA_TEMP .comm _tempreg,8,3 ; @tempreg .comm _WINED3DTA_TEXTURE,8,3 ; @WINED3DTA_TEXTURE .comm _TRUE,4,2 ; @TRUE .comm _GL_NONE,8,3 ; @GL_NONE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Temp register read before being written\n" l_.str.1: ; @.str.1 .asciz "Temp register read without being written\n" .comm _GL_REG_1_ATI,8,3 ; @GL_REG_1_ATI .comm _GL_REG_0_ATI,8,3 ; @GL_REG_0_ATI l_.str.2: ; @.str.2 .asciz "Could not find a register for the temporary register\n" .no_dead_strip _find_tmpreg .subsections_via_symbols
AnghaBench/reactos/dll/directx/wine/wined3d/extr_ati_fragment_shader.c_find_tmpreg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mp_event_get_mime_type_score ## -- Begin function mp_event_get_mime_type_score .p2align 4, 0x90 _mp_event_get_mime_type_score: ## @mp_event_get_mime_type_score .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _strcmp testq %rax, %rax je LBB0_1 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _strcmp testq %rax, %rax je LBB0_3 ## %bb.4: leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _strcmp testq %rax, %rax je LBB0_5 ## %bb.6: leaq L_.str.3(%rip), %rsi movq %rbx, %rdi callq _strcmp movq %rax, %rcx xorl %eax, %eax negq %rcx sbbl %eax, %eax jmp LBB0_7 LBB0_1: movl $10, %eax jmp LBB0_7 LBB0_3: movl $5, %eax jmp LBB0_7 LBB0_5: movl $4, %eax LBB0_7: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "text/uri-list" L_.str.1: ## @.str.1 .asciz "text/plain;charset=utf-8" L_.str.2: ## @.str.2 .asciz "text/plain" L_.str.3: ## @.str.3 .asciz "text" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mp_event_get_mime_type_score ; -- Begin function mp_event_get_mime_type_score .p2align 2 _mp_event_get_mime_type_score: ; @mp_event_get_mime_type_score .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _strcmp cbz x0, LBB0_4 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _strcmp cbz x0, LBB0_5 ; %bb.2: Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _strcmp cbz x0, LBB0_6 ; %bb.3: Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF mov x0, x19 bl _strcmp cmp x0, #0 csetm w0, ne b LBB0_7 LBB0_4: mov w0, #10 ; =0xa b LBB0_7 LBB0_5: mov w0, #5 ; =0x5 b LBB0_7 LBB0_6: mov w0, #4 ; =0x4 LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "text/uri-list" l_.str.1: ; @.str.1 .asciz "text/plain;charset=utf-8" l_.str.2: ; @.str.2 .asciz "text/plain" l_.str.3: ; @.str.3 .asciz "text" .subsections_via_symbols
assembly_file_111225.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fsl_otg_loc_sof ## -- Begin function fsl_otg_loc_sof .p2align 4, 0x90 _fsl_otg_loc_sof: ## @fsl_otg_loc_sof .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq _fsl_otg_dev@GOTPCREL(%rip), %r14 movq (%r14), %rax movq (%rax), %rdi callq _fsl_readl movq _PORTSC_W1C_BITS@GOTPCREL(%rip), %rcx movl (%rcx), %edi notl %edi andl %eax, %edi testl %ebx, %ebx jne LBB0_1 ## %bb.2: movq _PORTSC_PORT_SUSPEND@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _PORTSC_PORT_FORCE_RESUME@GOTPCREL(%rip), %rax LBB0_3: orl (%rax), %edi movq (%r14), %rax movq (%rax), %rsi popq %rbx popq %r14 popq %rbp jmp _fsl_writel ## TAILCALL .cfi_endproc ## -- End function .comm _fsl_otg_dev,8,3 ## @fsl_otg_dev .comm _PORTSC_W1C_BITS,4,2 ## @PORTSC_W1C_BITS .comm _PORTSC_PORT_FORCE_RESUME,4,2 ## @PORTSC_PORT_FORCE_RESUME .comm _PORTSC_PORT_SUSPEND,4,2 ## @PORTSC_PORT_SUSPEND .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fsl_otg_loc_sof ; -- Begin function fsl_otg_loc_sof .p2align 2 _fsl_otg_loc_sof: ; @fsl_otg_loc_sof .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 Lloh0: adrp x20, _fsl_otg_dev@GOTPAGE Lloh1: ldr x20, [x20, _fsl_otg_dev@GOTPAGEOFF] ldr x8, [x20] ldr x0, [x8] bl _fsl_readl Lloh2: adrp x8, _PORTSC_W1C_BITS@GOTPAGE Lloh3: ldr x8, [x8, _PORTSC_W1C_BITS@GOTPAGEOFF] Lloh4: ldr w8, [x8] bic w8, w0, w8 Lloh5: adrp x9, _PORTSC_PORT_SUSPEND@GOTPAGE Lloh6: ldr x9, [x9, _PORTSC_PORT_SUSPEND@GOTPAGEOFF] Lloh7: adrp x10, _PORTSC_PORT_FORCE_RESUME@GOTPAGE Lloh8: ldr x10, [x10, _PORTSC_PORT_FORCE_RESUME@GOTPAGEOFF] cmp w19, #0 csel x9, x9, x10, eq ldr w9, [x9] orr w0, w9, w8 ldr x8, [x20] ldr x1, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _fsl_writel .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _fsl_otg_dev,8,3 ; @fsl_otg_dev .comm _PORTSC_W1C_BITS,4,2 ; @PORTSC_W1C_BITS .comm _PORTSC_PORT_FORCE_RESUME,4,2 ; @PORTSC_PORT_FORCE_RESUME .comm _PORTSC_PORT_SUSPEND,4,2 ; @PORTSC_PORT_SUSPEND .subsections_via_symbols
AnghaBench/linux/drivers/usb/phy/extr_phy-fsl-usb.c_fsl_otg_loc_sof.c
anghabench