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 cb_pcidas_load_counters
_cb_pcidas_load_counters: ## @cb_pcidas_load_counters
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edx, %r8d
movq %rsi, %rcx
movq _TIMER_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _devpriv@GOTPCREL(%rip), %rbx
movq (%rbx), %rdx
leaq 16(%rdx), %rsi
movq _TRIG_ROUND_MASK@GOTPCREL(%rip), %rax
andl (%rax), %r8d
callq _i8253_cascade_ns_to_timer_2div
movq (%rbx), %rax
movq _ADC8254@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq 8(%rax), %rdi
movl 16(%rax), %ecx
xorl %esi, %esi
movl $1, %edx
movl $2, %r8d
callq _i8254_load
movq (%rbx), %rax
movq (%r14), %rdi
addq 8(%rax), %rdi
movl (%rax), %ecx
xorl %esi, %esi
movl $2, %edx
movl $2, %r8d
popq %rbx
popq %r14
popq %rbp
jmp _i8254_load ## TAILCALL
.cfi_endproc
## -- End function
.comm _TIMER_BASE,4,2 ## @TIMER_BASE
.comm _devpriv,8,3 ## @devpriv
.comm _TRIG_ROUND_MASK,4,2 ## @TRIG_ROUND_MASK
.comm _ADC8254,8,3 ## @ADC8254
.no_dead_strip _cb_pcidas_load_counters
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cb_pcidas_load_counters
_cb_pcidas_load_counters: ; @cb_pcidas_load_counters
.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 x3, x1
Lloh0:
adrp x8, _TIMER_BASE@GOTPAGE
Lloh1:
ldr x8, [x8, _TIMER_BASE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x19, _devpriv@GOTPAGE
Lloh4:
ldr x19, [x19, _devpriv@GOTPAGEOFF]
ldr x8, [x19]
add x1, x8, #16
Lloh5:
adrp x9, _TRIG_ROUND_MASK@GOTPAGE
Lloh6:
ldr x9, [x9, _TRIG_ROUND_MASK@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
and w4, w9, w2
mov x2, x8
bl _i8253_cascade_ns_to_timer_2div
ldr x8, [x19]
ldr x9, [x8, #8]
Lloh8:
adrp x20, _ADC8254@GOTPAGE
Lloh9:
ldr x20, [x20, _ADC8254@GOTPAGEOFF]
ldr x10, [x20]
add x0, x10, x9
ldr w3, [x8, #16]
mov w1, #0
mov w2, #1
mov w4, #2
bl _i8254_load
ldr x8, [x19]
ldr x9, [x8, #8]
ldr x10, [x20]
add x0, x10, x9
ldr w3, [x8]
mov w1, #0
mov w2, #2
mov w4, #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _i8254_load
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TIMER_BASE,4,2 ; @TIMER_BASE
.comm _devpriv,8,3 ; @devpriv
.comm _TRIG_ROUND_MASK,4,2 ; @TRIG_ROUND_MASK
.comm _ADC8254,8,3 ; @ADC8254
.no_dead_strip _cb_pcidas_load_counters
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_cb_pcidas.c_cb_pcidas_load_counters.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pages_commit ## -- Begin function pages_commit
.p2align 4, 0x90
_pages_commit: ## @pages_commit
.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, %edx
popq %rbp
jmp _pages_commit_impl ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pages_commit ; -- Begin function pages_commit
.p2align 2
_pages_commit: ; @pages_commit
.cfi_startproc
; %bb.0:
mov w2, #1
b _pages_commit_impl
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/disque/deps/jemalloc/src/extr_pages.c_pages_commit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function databuffer_push
_databuffer_push: ## @databuffer_push
.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, %r14d
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq (%rsi), %rbx
testq %rbx, %rbx
je LBB0_2
## %bb.1:
movq 8(%rbx), %rax
jmp LBB0_6
LBB0_2:
movl $16, %edi
callq _skynet_malloc
movq 8(%rax), %rbx
movq _MESSAGEPOOL@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
cmpl $2, %edx
jl LBB0_5
## %bb.3:
leaq 48(%rbx), %rsi
movl $1, %edi
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq $0, -8(%rsi)
movl $0, -24(%rsi)
incq %rdi
movq %rsi, -16(%rsi)
movslq (%rcx), %rdx
addq $24, %rsi
cmpq %rdx, %rdi
jl LBB0_4
LBB0_5:
decl %edx
movslq %edx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq $0, 8(%rbx,%rcx,8)
movq 8(%r12), %rcx
movq %rcx, (%rax)
movq %rax, 8(%r12)
leaq 24(%rbx), %rax
LBB0_6:
movq %rax, (%r12)
movq %r15, 16(%rbx)
movl %r14d, (%rbx)
movq $0, 8(%rbx)
addl %r14d, (%r13)
leaq 8(%r13), %r14
cmpq $0, 16(%r13)
movq 8(%r13), %rax
je LBB0_7
## %bb.8:
addq $8, %rax
jmp LBB0_9
LBB0_7:
addq $16, %r13
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
movq %r14, %rax
movq %r13, %r14
LBB0_9:
movq %rbx, (%rax)
movq %rbx, (%r14)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MESSAGEPOOL,4,2 ## @MESSAGEPOOL
.no_dead_strip _databuffer_push
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function databuffer_push
_databuffer_push: ; @databuffer_push
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x3
mov x21, x2
mov x22, x1
mov x19, x0
ldr x23, [x1]
cbz x23, LBB0_2
; %bb.1:
ldr x8, [x23, #8]
b LBB0_6
LBB0_2:
mov w0, #16
bl _skynet_malloc
ldr x23, [x0, #8]
Lloh0:
adrp x8, _MESSAGEPOOL@GOTPAGE
Lloh1:
ldr x8, [x8, _MESSAGEPOOL@GOTPAGEOFF]
ldr w11, [x8]
cmp w11, #2
b.lt LBB0_5
; %bb.3:
add x9, x23, #48
mov w10, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
stur wzr, [x9, #-24]
add x10, x10, #1
stp x9, xzr, [x9, #-16]
ldrsw x11, [x8]
add x9, x9, #24
cmp x10, x11
b.lt LBB0_4
LBB0_5:
mov w8, #24
smaddl x8, w11, w8, x23
stur xzr, [x8, #-16]
ldr x8, [x22, #8]
str x8, [x0]
str x0, [x22, #8]
add x8, x23, #24
LBB0_6:
str x8, [x22]
str w20, [x23]
stp xzr, x21, [x23, #8]
ldr w8, [x19]
add w8, w8, w20
str w8, [x19]
mov x20, x19
ldr x9, [x20, #16]!
ldr x8, [x19, #8]!
cbz x9, LBB0_8
; %bb.7:
add x8, x8, #8
b LBB0_9
LBB0_8:
cmp x8, #0
cset w0, eq
bl _assert
mov x8, x19
mov x19, x20
LBB0_9:
str x23, [x8]
str x23, [x19]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MESSAGEPOOL,4,2 ; @MESSAGEPOOL
.no_dead_strip _databuffer_push
.subsections_via_symbols
| AnghaBench/skynet/service-src/extr_databuffer.h_databuffer_push.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function print_insn
_print_insn: ## @print_insn
.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, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _output_opcode@GOTPCREL(%rip), %rax
movq (%rax), %rax
movw $-1, -48(%rbp)
movzwl (%rax), %ecx
movw %cx, -46(%rbp)
movw $-1, -44(%rbp)
movzwl 4(%rax), %ecx
movw %cx, -42(%rbp)
movw $-1, -40(%rbp)
movzwl 8(%rax), %eax
movw %ax, -38(%rbp)
movq _instruction@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %r12d
leal (%r12,%r12), %edi
callq _frag_more
movq %rax, %rbx
movq _relocatable@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq (%r14), %rsi
jne LBB0_2
## %bb.1:
movq _BFD_RELOC_NONE@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_5
LBB0_2:
movq _stdoutput@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_reloc_type_lookup
testq %rax, %rax
je LBB0_13
## %bb.3:
movq %rax, %r15
movq %rax, %rdi
callq _bfd_get_reloc_size
## kill: def $eax killed $eax def $rax
leal -5(%rax), %ecx
cmpl $-5, %ecx
jbe LBB0_13
## %bb.4:
movq _frag_now@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
movslq (%rdi), %rsi
addq %rbx, %rsi
movl (%r15), %r8d
movq (%r14), %r9
addq $8, %r14
movl %eax, %edx
movq %r14, %rcx
callq _fix_new_exp
LBB0_5:
xorl %eax, %eax
callq _frag_now_fix
andl $1, %eax
movq _frag_now@GOTPCREL(%rip), %r14
movq (%r14), %rcx
cmpl $0, 4(%rcx)
je LBB0_8
## %bb.6:
cmpl %eax, 8(%rcx)
je LBB0_8
## %bb.7:
leaq L_.str(%rip), %rdi
movl %eax, %r15d
callq __
movl %eax, %edi
callq _as_bad
movl %r15d, %eax
movq (%r14), %rcx
LBB0_8:
movl %eax, 8(%rcx)
movl $1, 4(%rcx)
testq %r12, %r12
je LBB0_11
## %bb.9:
addq %r12, %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
leaq (%rbx,%r14), %rdi
movzwl -48(%rbp,%r14), %esi
movl $2, %edx
callq _md_number_to_chars
addq $2, %r14
cmpq %r14, %r12
jne LBB0_10
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_14
## %bb.12:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
xorl %eax, %eax
callq _abort
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _output_opcode,8,3 ## @output_opcode
.comm _instruction,8,3 ## @instruction
.comm _relocatable,8,3 ## @relocatable
.comm _BFD_RELOC_NONE,8,3 ## @BFD_RELOC_NONE
.comm _stdoutput,4,2 ## @stdoutput
.comm _frag_now,8,3 ## @frag_now
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "instruction address is not a multiple of 2"
.no_dead_strip _print_insn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function print_insn
_print_insn: ; @print_insn
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #8]
Lloh3:
adrp x8, _output_opcode@GOTPAGE
Lloh4:
ldr x8, [x8, _output_opcode@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ldp w9, w10, [x8]
strh w9, [sp, #2]
mov w9, #65535 ; =0xffff
strh w9, [sp]
strh w9, [sp, #4]
strh w10, [sp, #6]
strh w9, [sp, #8]
ldr w8, [x8, #8]
strh w8, [sp, #10]
Lloh6:
adrp x8, _instruction@GOTPAGE
Lloh7:
ldr x8, [x8, _instruction@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr w22, [x8]
lsl w0, w22, #1
bl _frag_more
mov x19, x0
Lloh9:
adrp x8, _relocatable@GOTPAGE
Lloh10:
ldr x8, [x8, _relocatable@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
ldr x1, [x20]
Lloh12:
adrp x23, _frag_now@GOTPAGE
Lloh13:
ldr x23, [x23, _frag_now@GOTPAGEOFF]
cbnz x8, LBB0_2
; %bb.1:
Lloh14:
adrp x8, _BFD_RELOC_NONE@GOTPAGE
Lloh15:
ldr x8, [x8, _BFD_RELOC_NONE@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
cmp x1, x8
b.eq LBB0_5
LBB0_2:
Lloh17:
adrp x8, _stdoutput@GOTPAGE
Lloh18:
ldr x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
bl _bfd_reloc_type_lookup
cbz x0, LBB0_13
; %bb.3:
mov x21, x0
bl _bfd_get_reloc_size
sub w8, w0, #5
cmn w8, #5
b.ls LBB0_13
; %bb.4:
mov x2, x0
ldr x0, [x23]
ldrsw x8, [x0]
ldr w4, [x21]
ldr x5, [x20], #8
add x1, x19, x8
mov x3, x20
bl _fix_new_exp
LBB0_5:
bl _frag_now_fix
and w20, w0, #0x1
ldr x8, [x23]
ldr w9, [x8, #4]
cbz w9, LBB0_8
; %bb.6:
ldr w9, [x8, #8]
cmp w9, w20
b.eq LBB0_8
; %bb.7:
Lloh20:
adrp x0, l_.str@PAGE
Lloh21:
add x0, x0, l_.str@PAGEOFF
bl __
bl _as_bad
ldr x8, [x23]
LBB0_8:
mov w9, #1 ; =0x1
stp w9, w20, [x8, #4]
cbz w22, LBB0_11
; %bb.9:
mov x20, sp
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldrh w1, [x20], #2
mov x0, x19
mov w2, #2 ; =0x2
bl _md_number_to_chars
add x19, x19, #2
subs x22, x22, #1
b.ne LBB0_10
LBB0_11:
ldr x8, [sp, #8]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.12:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_13:
bl _abort
LBB0_14:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _output_opcode,8,3 ; @output_opcode
.comm _instruction,8,3 ; @instruction
.comm _relocatable,8,3 ; @relocatable
.comm _BFD_RELOC_NONE,8,3 ; @BFD_RELOC_NONE
.comm _stdoutput,4,2 ; @stdoutput
.comm _frag_now,8,3 ; @frag_now
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "instruction address is not a multiple of 2"
.no_dead_strip _print_insn
.subsections_via_symbols
| assembly_file_151481.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _UniNormalizeCrlf ## -- Begin function UniNormalizeCrlf
.p2align 4, 0x90
_UniNormalizeCrlf: ## @UniNormalizeCrlf
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_14
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _UniStrLen
movl %eax, %r14d
leal -256(,%r14,8), %edi
callq _Malloc
xorl %ecx, %ecx
testl %r14d, %r14d
js LBB0_13
## %bb.2:
movabsq $42949672973, %rdx ## imm = 0xA0000000D
xorl %esi, %esi
jmp LBB0_6
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_6 Depth=1
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,4)
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
addl $2, %ecx
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
leal 1(%rsi), %edi
cmpl %r14d, %esi
movl %edi, %esi
jge LBB0_12
LBB0_6: ## =>This Inner Loop Header: Depth=1
movslq %esi, %r8
movl (%rbx,%r8,4), %edi
cmpl $10, %edi
je LBB0_3
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
cmpl $13, %edi
jne LBB0_11
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
cmpl $10, 4(%rbx,%r8,4)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
incl %esi
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movslq %ecx, %rdi
movq %rdx, (%rax,%rdi,4)
jmp LBB0_4
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_6 Depth=1
movslq %ecx, %r8
incl %ecx
movl %edi, (%rax,%r8,4)
jmp LBB0_5
LBB0_12:
movslq %ecx, %rcx
LBB0_13:
movl $0, (%rax,%rcx,4)
popq %rbx
popq %r14
popq %rbp
retq
LBB0_14:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _UniNormalizeCrlf ; -- Begin function UniNormalizeCrlf
.p2align 2
_UniNormalizeCrlf: ; @UniNormalizeCrlf
.cfi_startproc
; %bb.0:
cbz x0, LBB0_13
; %bb.1:
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
bl _UniStrLen
mov x20, x0
lsl w8, w0, #3
sub w0, w8, #256
bl _Malloc
tbnz w20, #31, LBB0_11
; %bb.2:
mov w8, #0 ; =0x0
mov w9, #0 ; =0x0
mov x10, #13 ; =0xd
movk x10, #10, lsl #32
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
mov x11, x8
sbfiz x11, x11, #2, #32
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
str x10, [x0, x11]
add w8, w8, #2
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add w11, w9, #1
cmp w9, w20
mov x9, x11
b.ge LBB0_10
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w11, [x19, w9, sxtw #2]
cmp w11, #10
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
cmp w11, #13
b.ne LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
sxtw x11, w9
add x11, x11, #1
ldr w12, [x19, x11, lsl #2]
cmp w12, #10
csel w9, w11, w9, eq
sbfiz x11, x8, #2, #32
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
str w11, [x0, w8, sxtw #2]
add w8, w8, #1
; kill: def $w8 killed $w8 def $x8
b LBB0_5
LBB0_10:
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
b LBB0_12
LBB0_11:
mov x8, #0 ; =0x0
LBB0_12:
str wzr, [x0, x8, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB0_13:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_97925.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bwn_phy_lp_task_60s ## -- Begin function bwn_phy_lp_task_60s
.p2align 4, 0x90
_bwn_phy_lp_task_60s: ## @bwn_phy_lp_task_60s
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _bwn_phy_lp_calib ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bwn_phy_lp_task_60s ; -- Begin function bwn_phy_lp_task_60s
.p2align 2
_bwn_phy_lp_task_60s: ; @bwn_phy_lp_task_60s
.cfi_startproc
; %bb.0:
b _bwn_phy_lp_calib
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bwn/extr_if_bwn_phy_lp.c_bwn_phy_lp_task_60s.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hash ## -- Begin function hash
.p2align 4, 0x90
_hash: ## @hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rdi), %cl
testb %cl, %cl
je LBB0_1
## %bb.2:
incq %rdi
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %eax, %edx
shll $5, %edx
subl %eax, %edx
movsbl %cl, %eax
addl %edx, %eax
movzbl (%rdi), %ecx
incq %rdi
testb %cl, %cl
jne LBB0_3
## %bb.4:
movl %eax, %ecx
imulq $2139135809, %rcx, %rcx ## imm = 0x7F809F41
shrq $49, %rcx
imull $263167, %ecx, %ecx ## imm = 0x403FF
subl %ecx, %eax
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _incword ## -- Begin function incword
.p2align 4, 0x90
_incword: ## @incword
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r12
movb (%rdi), %al
xorl %ebx, %ebx
testb %al, %al
je LBB1_4
## %bb.1:
leaq 1(%r12), %rcx
.p2align 4, 0x90
LBB1_2: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edx
shll $5, %edx
subl %ebx, %edx
movsbl %al, %ebx
addl %edx, %ebx
movzbl (%rcx), %eax
incq %rcx
testb %al, %al
jne LBB1_2
## %bb.3:
movl %ebx, %eax
imulq $2139135809, %rax, %rax ## imm = 0x7F809F41
shrq $49, %rax
imull $263167, %eax, %eax ## imm = 0x403FF
subl %eax, %ebx
LBB1_4:
movq _bin@GOTPCREL(%rip), %r13
movq (%r13,%rbx,8), %r15
testq %r15, %r15
je LBB1_10
.p2align 4, 0x90
LBB1_6: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rsi
movq %r12, %rdi
callq _strcmp
testl %eax, %eax
je LBB1_7
## %bb.9: ## in Loop: Header=BB1_6 Depth=1
movq 24(%r15), %r15
testq %r15, %r15
jne LBB1_6
LBB1_10:
movl $32, %edi
callq _malloc
testq %rax, %rax
je LBB1_12
## %bb.11:
movq %rax, %r15
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, 8(%r15)
movl %r14d, 16(%r15)
movq %r12, %rdi
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
movq %rax, (%r15)
incq _total_number_words(%rip)
movq %rax, %rdi
movq %r12, %rsi
callq _strcpy
movq (%r13,%rbx,8), %rax
movq %rax, 24(%r15)
movq %r15, (%r13,%rbx,8)
jmp LBB1_12
LBB1_7:
incl 8(%r15)
cmpl %r14d, 16(%r15)
je LBB1_12
## %bb.8:
incl 12(%r15)
movl %r14d, 16(%r15)
LBB1_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _compare ## -- Begin function compare
.p2align 4, 0x90
_compare: ## @compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
cmpl $5, %edx
ja LBB2_1
## %bb.2:
movq %rsi, %rbx
movl %edx, %eax
leaq LJTI2_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB2_3:
movq (%rdi), %rax
movl 8(%rax), %eax
movq (%rbx), %rcx
xorl %edx, %edx
cmpl 8(%rcx), %eax
setge %dl
leal (%rdx,%rdx), %eax
decl %eax
jmp LBB2_10
LBB2_1:
xorl %eax, %eax
jmp LBB2_10
LBB2_4:
movq (%rdi), %rcx
movq (%rbx), %rax
movl 12(%rax), %edx
movl $-1, %eax
cmpl %edx, 12(%rcx)
jge LBB2_9
jmp LBB2_10
LBB2_5:
movq (%rdi), %rcx
movq (%rbx), %rax
movl 8(%rax), %edx
movl $-1, %eax
cmpl %edx, 8(%rcx)
jle LBB2_9
jmp LBB2_10
LBB2_6:
movq (%rdi), %rcx
movq (%rbx), %rax
movl 12(%rax), %edx
movl $-1, %eax
cmpl %edx, 12(%rcx)
jle LBB2_9
jmp LBB2_10
LBB2_7:
movq (%rdi), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %r14
movq (%rbx), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movl $-1, %eax
cmpq %rcx, %r14
jae LBB2_9
jmp LBB2_10
LBB2_8:
movq (%rdi), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %r14
movq (%rbx), %rax
movq (%rax), %rdi
callq _strlen
movq %rax, %rcx
movl $-1, %eax
cmpq %rcx, %r14
ja LBB2_10
LBB2_9:
setne %al
movzbl %al, %eax
LBB2_10:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_3, LBB2_3-LJTI2_0
.set L2_0_set_4, LBB2_4-LJTI2_0
.set L2_0_set_5, LBB2_5-LJTI2_0
.set L2_0_set_6, LBB2_6-LJTI2_0
.set L2_0_set_7, LBB2_7-LJTI2_0
.set L2_0_set_8, LBB2_8-LJTI2_0
LJTI2_0:
.long L2_0_set_3
.long L2_0_set_4
.long L2_0_set_5
.long L2_0_set_6
.long L2_0_set_7
.long L2_0_set_8
.end_data_region
## -- End function
.globl _sort_hash ## -- Begin function sort_hash
.p2align 4, 0x90
_sort_hash: ## @sort_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
movq _total_number_words(%rip), %r15
leaq (,%r15,8), %rdi
callq _malloc
movq _bin_array@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
movq _bin@GOTPCREL(%rip), %rdx
xorl %esi, %esi
jmp LBB3_1
.p2align 4, 0x90
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
incq %rax
cmpq $263167, %rax ## imm = 0x403FF
je LBB3_5
LBB3_1: ## =>This Loop Header: Depth=1
## Child Loop BB3_2 Depth 2
movq (%rdx,%rax,8), %rdi
testq %rdi, %rdi
je LBB3_4
.p2align 4, 0x90
LBB3_2: ## Parent Loop BB3_1 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rcx), %rbx
movq %rdi, (%rbx,%rsi,8)
incq %rsi
movq 24(%rdi), %rdi
testq %rdi, %rdi
jne LBB3_2
jmp LBB3_4
LBB3_5:
movq (%rcx), %rdi
movl %r14d, %r8d
leaq _compare(%rip), %rcx
movl $8, %edx
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _qsort_r ## TAILCALL
.cfi_endproc
## -- End function
.globl _print_cmdline_error ## -- Begin function print_cmdline_error
.p2align 4, 0x90
_print_cmdline_error: ## @print_cmdline_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 ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str(%rip), %rdi
movl $39, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.1(%rip), %rdi
movl $118, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.2(%rip), %rdi
movl $25, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.3(%rip), %rdi
movl $25, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.4(%rip), %rdi
movl $79, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.5(%rip), %rdi
movl $78, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.6(%rip), %rdi
movl $76, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.7(%rip), %rdi
movl $75, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.8(%rip), %rdi
movl $78, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.9(%rip), %rdi
movl $77, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.10(%rip), %rdi
movl $72, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _open_copy ## -- Begin function open_copy
.p2align 4, 0x90
_open_copy: ## @open_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 %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %r14
leaq L_.str.11(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB5_4
## %bb.1:
movq %rax, %rbx
.p2align 4, 0x90
LBB5_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl $500000, %esi ## imm = 0x7A120
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
je LBB5_2
## %bb.3:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _strlen ## TAILCALL
LBB5_4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.12(%rip), %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _calcfr ## -- Begin function calcfr
.p2align 4, 0x90
_calcfr: ## @calcfr
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $0, -56(%rbp)
movq $0, -64(%rbp)
movb %sil, -66(%rbp)
movb $0, -65(%rbp)
cmpb $0, (%rdi)
je LBB6_1
## %bb.4:
movq %rdi, %r14
movslq %edx, %r15
xorl %r13d, %r13d
leaq -64(%rbp), %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB6_5: ## =>This Inner Loop Header: Depth=1
leaq (%r14,%r13), %rsi
movl $12, %ecx
movq %r12, %rdi
movq %r15, %rdx
callq ___strncpy_chk
leaq -66(%rbp), %rdi
movq %r12, %rsi
callq _strcmp
cmpl $1, %eax
adcl $0, %ebx
incq %r13
movq %r14, %rdi
callq _strlen
cmpq %r13, %rax
ja LBB6_5
jmp LBB6_2
LBB6_1:
xorl %ebx, %ebx
LBB6_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB6_6
## %bb.3:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB6_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _calcfr2 ## -- Begin function calcfr2
.p2align 4, 0x90
_calcfr2: ## @calcfr2
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $0, -56(%rbp)
movq $0, -64(%rbp)
cmpb $0, (%rdi)
je LBB7_1
## %bb.4:
movq %rdi, %r15
movslq %edx, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
leaq -64(%rbp), %r13
xorl %ebx, %ebx
movq %rsi, %r12
.p2align 4, 0x90
LBB7_5: ## =>This Inner Loop Header: Depth=1
leaq (%r15,%r14), %rsi
movl $12, %ecx
movq %r13, %rdi
movq -72(%rbp), %rdx ## 8-byte Reload
callq ___strncpy_chk
movq %r12, %rdi
movq %r13, %rsi
callq _strcmp
cmpl $1, %eax
adcl $0, %ebx
incq %r14
movq %r15, %rdi
callq _strlen
cmpq %r14, %rax
ja LBB7_5
jmp LBB7_2
LBB7_1:
xorl %ebx, %ebx
LBB7_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB7_6
## %bb.3:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB7_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _calcLetterProb ## -- Begin function calcLetterProb
.p2align 4, 0x90
_calcLetterProb: ## @calcLetterProb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -104(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl %edi, -76(%rbp) ## 4-byte Spill
movl %edi, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl $65, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq -60(%rbp), %r13
jmp LBB8_1
.p2align 4, 0x90
LBB8_2: ## in Loop: Header=BB8_1 Depth=1
movl $-1, %eax
xorl %edx, %edx
LBB8_3: ## in Loop: Header=BB8_1 Depth=1
xorps %xmm0, %xmm0
cvtsi2sd %edx, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd %xmm1, %xmm0
movq -72(%rbp), %rax ## 8-byte Reload
movq _prob_letter@GOTPCREL(%rip), %rdx
movsd %xmm0, -520(%rdx,%rax,8)
incq %rax
movq %rax, -72(%rbp) ## 8-byte Spill
cmpq $91, %rax
je LBB8_4
LBB8_1: ## =>This Loop Header: Depth=1
## Child Loop BB8_7 Depth 2
## Child Loop BB8_9 Depth 3
cmpl $0, -76(%rbp) ## 4-byte Folded Reload
jle LBB8_2
## %bb.6: ## in Loop: Header=BB8_1 Depth=1
movl $-1, %eax
xorl %esi, %esi
movq _input_sequences@GOTPCREL(%rip), %r15
xorl %edx, %edx
jmp LBB8_7
.p2align 4, 0x90
LBB8_10: ## in Loop: Header=BB8_7 Depth=2
movq -104(%rbp), %rax ## 8-byte Reload
movl -84(%rbp), %edx ## 4-byte Reload
movq -112(%rbp), %rsi ## 8-byte Reload
addl (%rax,%rsi,8), %edx
movl %edx, %eax
movl -80(%rbp), %edx ## 4-byte Reload
addl %r12d, %edx
incq %rsi
addq $500000, %r15 ## imm = 0x7A120
cmpq -96(%rbp), %rsi ## 8-byte Folded Reload
je LBB8_3
LBB8_7: ## Parent Loop BB8_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB8_9 Depth 3
movl %edx, -80(%rbp) ## 4-byte Spill
movl %eax, -84(%rbp) ## 4-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
imulq $500000, %rsi, %rbx ## imm = 0x7A120
leaq -59(%rbp), %rax
movl $0, 7(%rax)
movq $0, (%rax)
movq -72(%rbp), %rax ## 8-byte Reload
movb %al, -62(%rbp)
movb $0, -61(%rbp)
movq _input_sequences@GOTPCREL(%rip), %rax
cmpb $0, (%rax,%rbx)
movl $0, %r12d
je LBB8_10
## %bb.8: ## in Loop: Header=BB8_7 Depth=2
addq _input_sequences@GOTPCREL(%rip), %rbx
xorl %r14d, %r14d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB8_9: ## Parent Loop BB8_1 Depth=1
## Parent Loop BB8_7 Depth=2
## => This Inner Loop Header: Depth=3
leaq (%r15,%r14), %rsi
movl $1, %edx
movq %r13, %rdi
callq _strncpy
leaq -62(%rbp), %rdi
movq %r13, %rsi
callq _strcmp
cmpl $1, %eax
adcl $0, %r12d
incq %r14
movq %rbx, %rdi
callq _strlen
cmpq %r14, %rax
ja LBB8_9
jmp LBB8_10
LBB8_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB8_5
## %bb.11:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB8_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function calcWordProb
LCPI9_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _calcWordProb
.p2align 4, 0x90
_calcWordProb: ## @calcWordProb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rdi), %al
testb %al, %al
je LBB9_1
## %bb.3:
incq %rdi
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movq _prob_letter@GOTPCREL(%rip), %rcx
.p2align 4, 0x90
LBB9_4: ## =>This Inner Loop Header: Depth=1
movsbq %al, %rax
mulsd -520(%rcx,%rax,8), %xmm0
movzbl (%rdi), %eax
incq %rdi
testb %al, %al
jne LBB9_4
## %bb.2:
popq %rbp
retq
LBB9_1:
movsd LCPI9_0(%rip), %xmm0 ## xmm0 = mem[0],zero
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI10_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI10_1:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI10_2:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.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 $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)
cmpl $1, %edi
je LBB10_61
## %bb.1:
jle LBB10_27
## %bb.2:
movq %rsi, %r12
movl %edi, %r13d
movl $2, -72(%rbp) ## 4-byte Folded Spill
movl $1, %r14d
xorl %eax, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
movl $0, -112(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB10_3
.p2align 4, 0x90
LBB10_4: ## in Loop: Header=BB10_3 Depth=1
leal 1(%rbx), %r14d
movq 8(%r12,%rbx,8), %rdi
callq _atoi
movl %eax, -112(%rbp) ## 4-byte Spill
LBB10_23: ## in Loop: Header=BB10_3 Depth=1
incl %r14d
cmpl %r13d, %r14d
jge LBB10_24
LBB10_3: ## =>This Loop Header: Depth=1
## Child Loop BB10_21 Depth 2
movslq %r14d, %rbx
movq (%r12,%rbx,8), %r15
movq %r15, %rdi
leaq L_.str.13(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_4
## %bb.5: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.14(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_6
## %bb.7: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.15(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_8
## %bb.9: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.16(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_10
## %bb.11: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.17(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_12
## %bb.13: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.18(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_14
## %bb.15: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.19(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_16
## %bb.17: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.20(%rip), %rsi
callq _strcmp
testl %eax, %eax
je LBB10_18
## %bb.19: ## in Loop: Header=BB10_3 Depth=1
movq %r15, %rdi
leaq L_.str.11(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB10_62
## %bb.20: ## in Loop: Header=BB10_3 Depth=1
movq %rax, %rcx
movq -80(%rbp), %rax ## 8-byte Reload
cltq
movq %rax, -80(%rbp) ## 8-byte Spill
imulq $500000, %rax, %rbx ## imm = 0x7A120
addq _input_sequences@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB10_21: ## Parent Loop BB10_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
movl $500000, %esi ## imm = 0x7A120
movq %rcx, %r15
movq %rcx, %rdx
callq _fgets
movq %r15, %rcx
testq %rax, %rax
je LBB10_21
## %bb.22: ## in Loop: Header=BB10_3 Depth=1
movq %rbx, %rdi
callq _strlen
movq _sequence_lengths@GOTPCREL(%rip), %rcx
movq -80(%rbp), %r15 ## 8-byte Reload
movq %rax, (%rcx,%r15,8)
incl %r15d
movq %r15, -80(%rbp) ## 8-byte Spill
jmp LBB10_23
.p2align 4, 0x90
LBB10_6: ## in Loop: Header=BB10_3 Depth=1
movl $0, -72(%rbp) ## 4-byte Folded Spill
jmp LBB10_23
LBB10_8: ## in Loop: Header=BB10_3 Depth=1
movl $1, -72(%rbp) ## 4-byte Folded Spill
jmp LBB10_23
LBB10_10: ## in Loop: Header=BB10_3 Depth=1
movl $2, -72(%rbp) ## 4-byte Folded Spill
jmp LBB10_23
LBB10_12: ## in Loop: Header=BB10_3 Depth=1
movl $3, -72(%rbp) ## 4-byte Folded Spill
jmp LBB10_23
LBB10_14: ## in Loop: Header=BB10_3 Depth=1
movl $4, -72(%rbp) ## 4-byte Folded Spill
jmp LBB10_23
LBB10_16: ## in Loop: Header=BB10_3 Depth=1
movl $5, -72(%rbp) ## 4-byte Folded Spill
jmp LBB10_23
LBB10_18: ## in Loop: Header=BB10_3 Depth=1
leal 1(%rbx), %r14d
movq 8(%r12,%rbx,8), %rdi
callq _atoi
## kill: def $eax killed $eax def $rax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB10_23
LBB10_24:
movl -112(%rbp), %edx ## 4-byte Reload
testl %edx, %edx
je LBB10_27
## %bb.25:
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
je LBB10_27
## %bb.26:
cmpl -88(%rbp), %edx ## 4-byte Folded Reload
jg LBB10_27
## %bb.28:
movq ___stderrp@GOTPCREL(%rip), %r14
movq (%r14), %rcx
movq -80(%rbp), %r12 ## 8-byte Reload
testl %r12d, %r12d
movq _sequence_lengths@GOTPCREL(%rip), %rbx
je LBB10_29
## %bb.31:
leaq L_.str.23(%rip), %rsi
movq %rcx, %rdi
movl %edx, %r15d
xorl %eax, %eax
callq _fprintf
movq (%r14), %rdi
leaq L_.str.24(%rip), %rsi
movq -88(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _fprintf
movq (%r14), %rdi
leaq L_.str.25(%rip), %rsi
movl %r12d, %edx
xorl %eax, %eax
callq _fprintf
movl %r12d, %eax
movq %rax, -136(%rbp) ## 8-byte Spill
testl %r12d, %r12d
movq _input_sequences@GOTPCREL(%rip), %r14
jle LBB10_39
## %bb.32:
movslq %r15d, %rax
movq %rax, -144(%rbp) ## 8-byte Spill
movq -88(%rbp), %rax ## 8-byte Reload
incl %eax
movl %eax, -120(%rbp) ## 4-byte Spill
leaq -64(%rbp), %rdi
xorl %eax, %eax
jmp LBB10_33
.p2align 4, 0x90
LBB10_38: ## in Loop: Header=BB10_33 Depth=1
movq -128(%rbp), %rax ## 8-byte Reload
incq %rax
addq $500000, %r14 ## imm = 0x7A120
cmpq -136(%rbp), %rax ## 8-byte Folded Reload
je LBB10_39
LBB10_33: ## =>This Loop Header: Depth=1
## Child Loop BB10_34 Depth 2
## Child Loop BB10_36 Depth 3
movq %rax, -128(%rbp) ## 8-byte Spill
movq (%rbx,%rax,8), %rax
movq -144(%rbp), %r13 ## 8-byte Reload
jmp LBB10_34
.p2align 4, 0x90
LBB10_37: ## in Loop: Header=BB10_34 Depth=2
incq %r13
cmpl %r13d, -120(%rbp) ## 4-byte Folded Reload
je LBB10_38
LBB10_34: ## Parent Loop BB10_33 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB10_36 Depth 3
movl $1, %esi
subl %r13d, %esi
leal (%rax,%rsi), %ecx
testl %ecx, %ecx
movq -128(%rbp), %r15 ## 8-byte Reload
jle LBB10_37
## %bb.35: ## in Loop: Header=BB10_34 Depth=2
xorl %r12d, %r12d
movq %rsi, -112(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB10_36: ## Parent Loop BB10_33 Depth=1
## Parent Loop BB10_34 Depth=2
## => This Inner Loop Header: Depth=3
leaq (%r14,%r12), %rsi
movl $16, %ecx
movq %rdi, %rbx
movq %r13, %rdx
callq ___strncpy_chk
movb $0, -64(%rbp,%r13)
movq %rbx, %rdi
movl %r15d, %esi
callq _incword
xorl %r8d, %r8d
movq -112(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdi
movq _sequence_lengths@GOTPCREL(%rip), %rbx
incq %r12
movq (%rbx,%r15,8), %rax
leal (%rsi,%rax), %ecx
testl %ecx, %ecx
cmovlel %r8d, %ecx
cmpq %rcx, %r12
jb LBB10_36
jmp LBB10_37
LBB10_39:
movq _total_number_words(%rip), %r14
leaq (,%r14,8), %rdi
callq _malloc
movq _bin_array@GOTPCREL(%rip), %r12
movq %rax, (%r12)
xorl %eax, %eax
movq _bin@GOTPCREL(%rip), %rcx
xorl %edx, %edx
movl -72(%rbp), %r8d ## 4-byte Reload
jmp LBB10_40
.p2align 4, 0x90
LBB10_43: ## in Loop: Header=BB10_40 Depth=1
incq %rax
cmpq $263167, %rax ## imm = 0x403FF
je LBB10_44
LBB10_40: ## =>This Loop Header: Depth=1
## Child Loop BB10_41 Depth 2
movq (%rcx,%rax,8), %rsi
testq %rsi, %rsi
je LBB10_43
.p2align 4, 0x90
LBB10_41: ## Parent Loop BB10_40 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12), %rdi
movq %rsi, (%rdi,%rdx,8)
incq %rdx
movq 24(%rsi), %rsi
testq %rsi, %rsi
jne LBB10_41
jmp LBB10_43
LBB10_44:
movq (%r12), %rdi
movl %r8d, %r8d
leaq _compare(%rip), %rcx
movl $8, %edx
movq %r14, %rsi
callq _qsort_r
movq _sequence_lengths@GOTPCREL(%rip), %rsi
movq -80(%rbp), %rdi ## 8-byte Reload
## kill: def $edi killed $edi killed $rdi
callq _calcLetterProb
movq _total_number_words(%rip), %rsi
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
cmpq $0, _total_number_words(%rip)
je LBB10_56
## %bb.45:
movq -136(%rbp), %r13 ## 8-byte Reload
## kill: def $r13d killed $r13d killed $r13 def $r13
andl $-2, %r13d
xorpd %xmm0, %xmm0
movapd %xmm0, -112(%rbp) ## 16-byte Spill
xorl %ebx, %ebx
movq _prob_letter@GOTPCREL(%rip), %r15
movq -80(%rbp), %r14 ## 8-byte Reload
jmp LBB10_46
.p2align 4, 0x90
LBB10_55: ## in Loop: Header=BB10_46 Depth=1
movl 8(%r8), %ecx
movl 12(%r8), %r8d
xorps %xmm2, %xmm2
cvtsi2sd %ecx, %xmm2
divsd %xmm1, %xmm2
leaq L_.str.28(%rip), %rdi
movq -88(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
movapd %xmm1, -112(%rbp) ## 16-byte Spill
movb $3, %al
callq _printf
incq %rbx
cmpq %rbx, _total_number_words(%rip)
jbe LBB10_56
LBB10_46: ## =>This Loop Header: Depth=1
## Child Loop BB10_49 Depth 2
## Child Loop BB10_59 Depth 2
movq (%r12), %rax
movq (%rax,%rbx,8), %r8
testq %r8, %r8
je LBB10_63
## %bb.47: ## in Loop: Header=BB10_46 Depth=1
movq (%r8), %rdx
movb (%rdx), %al
movsd LCPI10_0(%rip), %xmm0 ## xmm0 = mem[0],zero
testb %al, %al
movapd -112(%rbp), %xmm1 ## 16-byte Reload
je LBB10_50
## %bb.48: ## in Loop: Header=BB10_46 Depth=1
leaq 1(%rdx), %rcx
movsd LCPI10_0(%rip), %xmm0 ## xmm0 = mem[0],zero
.p2align 4, 0x90
LBB10_49: ## Parent Loop BB10_46 Depth=1
## => This Inner Loop Header: Depth=2
movsbq %al, %rax
mulsd -520(%r15,%rax,8), %xmm0
movzbl (%rcx), %eax
incq %rcx
testb %al, %al
jne LBB10_49
LBB10_50: ## in Loop: Header=BB10_46 Depth=1
testl %r14d, %r14d
jle LBB10_55
## %bb.51: ## in Loop: Header=BB10_46 Depth=1
movsd %xmm0, -72(%rbp) ## 8-byte Spill
movq %r8, -120(%rbp) ## 8-byte Spill
movq %rdx, -128(%rbp) ## 8-byte Spill
movq %rdx, %rdi
callq _strlen
xorl %ecx, %ecx
movq _sequence_lengths@GOTPCREL(%rip), %rdi
movdqa LCPI10_1(%rip), %xmm2 ## xmm2 = [1127219200,1160773632,0,0]
cmpl $1, %r14d
jne LBB10_58
## %bb.52: ## in Loop: Header=BB10_46 Depth=1
movapd -112(%rbp), %xmm1 ## 16-byte Reload
movq -120(%rbp), %r8 ## 8-byte Reload
movsd -72(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
jmp LBB10_53
.p2align 4, 0x90
LBB10_58: ## in Loop: Header=BB10_46 Depth=1
movapd LCPI10_2(%rip), %xmm3 ## xmm3 = [4.503599627370496E+15,1.9342813113834067E+25]
movapd -112(%rbp), %xmm1 ## 16-byte Reload
movq -120(%rbp), %r8 ## 8-byte Reload
movsd -72(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
.p2align 4, 0x90
LBB10_59: ## Parent Loop BB10_46 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rdi,%rcx,8), %rdx
movq 8(%rdi,%rcx,8), %rsi
subq %rax, %rdx
incq %rdx
movq %rdx, %xmm5
punpckldq %xmm2, %xmm5 ## xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
subpd %xmm3, %xmm5
movapd %xmm5, %xmm4
unpckhpd %xmm5, %xmm4 ## xmm4 = xmm4[1],xmm5[1]
addsd %xmm5, %xmm4
mulsd %xmm0, %xmm4
addsd %xmm1, %xmm4
subq %rax, %rsi
incq %rsi
movq %rsi, %xmm5
punpckldq %xmm2, %xmm5 ## xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
subpd %xmm3, %xmm5
movapd %xmm5, %xmm1
unpckhpd %xmm5, %xmm1 ## xmm1 = xmm1[1],xmm5[1]
addsd %xmm5, %xmm1
mulsd %xmm0, %xmm1
addsd %xmm4, %xmm1
addq $2, %rcx
cmpq %rcx, %r13
jne LBB10_59
LBB10_53: ## in Loop: Header=BB10_46 Depth=1
testb $1, -136(%rbp) ## 1-byte Folded Reload
movq -128(%rbp), %rdx ## 8-byte Reload
je LBB10_55
## %bb.54: ## in Loop: Header=BB10_46 Depth=1
movq (%rdi,%rcx,8), %rcx
subq %rax, %rcx
incq %rcx
movq %rcx, %xmm3
punpckldq %xmm2, %xmm3 ## xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
subpd LCPI10_2(%rip), %xmm3
movapd %xmm3, %xmm2
unpckhpd %xmm3, %xmm2 ## xmm2 = xmm2[1],xmm3[1]
addsd %xmm3, %xmm2
mulsd %xmm0, %xmm2
addsd %xmm2, %xmm1
jmp LBB10_55
LBB10_56:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB10_57
## %bb.60:
xorl %eax, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB10_27:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.21(%rip), %rdi
movl $59, %esi
jmp LBB10_30
LBB10_61:
callq _print_cmdline_error
LBB10_29:
leaq L_.str.22(%rip), %rdi
movl $37, %esi
LBB10_30:
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
LBB10_57:
callq ___stack_chk_fail
LBB10_62:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.12(%rip), %rsi
movq %r15, %rdx
xorl %eax, %eax
callq _fprintf
LBB10_63:
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _total_number_words ## @total_number_words
.zerofill __DATA,__common,_total_number_words,8,3
.comm _bin,2105336,4 ## @bin
.comm _bin_array,8,3 ## @bin_array
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error: improper command line arguments\n"
L_.str.1: ## @.str.1
.asciz "Usage: word_count -min X -max Y [-descseq|-ascseq|-desctot|-asctot|-desclength|-asclength] filename [other filenames]\n"
L_.str.2: ## @.str.2
.asciz "-min minimum word length\n"
L_.str.3: ## @.str.3
.asciz "-max maximum word length\n"
L_.str.4: ## @.str.4
.asciz "-descseq causes the output to be sorted in descending order of sequence counts\n"
L_.str.5: ## @.str.5
.asciz "-ascseq causes the output to be sorted in ascending order of sequence counts\n"
L_.str.6: ## @.str.6
.asciz "-desctot causes the output to be sorted in descending order of total counts\n"
L_.str.7: ## @.str.7
.asciz "-asctot causes the output to be sorted in ascending order of total counts\n"
L_.str.8: ## @.str.8
.asciz "-desclength causes the output to be sorted in descending order of word length\n"
L_.str.9: ## @.str.9
.asciz "-asclength causes the output to be sorted in ascending order of word length\n"
L_.str.10: ## @.str.10
.asciz "Example: word_count -min 3 -max 10 -asctot filename1 filename2 filname3\n"
L_.str.11: ## @.str.11
.asciz "r"
L_.str.12: ## @.str.12
.asciz "Error: unable to open file %s\n"
.comm _input_sequences,5000000,4 ## @input_sequences
.comm _prob_letter,400,4 ## @prob_letter
L_.str.13: ## @.str.13
.asciz "-min"
L_.str.14: ## @.str.14
.asciz "-asctot"
L_.str.15: ## @.str.15
.asciz "-ascseq"
L_.str.16: ## @.str.16
.asciz "-desctot"
L_.str.17: ## @.str.17
.asciz "-descseq"
L_.str.18: ## @.str.18
.asciz "-asclength"
L_.str.19: ## @.str.19
.asciz "-desclength"
L_.str.20: ## @.str.20
.asciz "-max"
.comm _sequence_lengths,80,4 ## @sequence_lengths
L_.str.21: ## @.str.21
.asciz "Error: incorrect or missing minimum or maximum word length\n"
L_.str.22: ## @.str.22
.asciz "Error: no input file names specified\n"
L_.str.23: ## @.str.23
.asciz "min wordlength = %d\n"
L_.str.24: ## @.str.24
.asciz "max wordlength = %d\n"
L_.str.25: ## @.str.25
.asciz "number of input files = %d\n"
L_.str.26: ## @.str.26
.asciz "total number of words = %ld\n"
L_.str.28: ## @.str.28
.asciz "%-*s \t%d \t%d\t %.15lf\t %.15lf\t %.15lf\n"
.comm _node,32,3 ## @node
L_str: ## @str
.asciz "Word\tWordCount\t SeqCount\t Word Probbility\tExpected value\tO/E score "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hash ; -- Begin function hash
.p2align 2
_hash: ; @hash
.cfi_startproc
; %bb.0:
ldrb w9, [x0]
cbz w9, LBB0_4
; %bb.1:
mov w8, #0
add x10, x0, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
lsl w11, w8, #5
sub w8, w11, w8
add w8, w8, w9, sxtb
ldrb w9, [x10], #1
cbnz w9, LBB0_2
; %bb.3:
mov w9, #40769
movk w9, #32640, lsl #16
umull x9, w8, w9
lsr x9, x9, #49
mov w10, #1023
movk w10, #4, lsl #16
msub w0, w9, w10, w8
ret
LBB0_4:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _incword ; -- Begin function incword
.p2align 2
_incword: ; @incword
.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
ldrb w9, [x0]
cbz w9, LBB1_4
; %bb.1:
mov w8, #0
add x10, x19, #1
LBB1_2: ; =>This Inner Loop Header: Depth=1
lsl w11, w8, #5
sub w8, w11, w8
add w8, w8, w9, sxtb
ldrb w9, [x10], #1
cbnz w9, LBB1_2
; %bb.3:
mov w9, #40769
movk w9, #32640, lsl #16
umull x9, w8, w9
lsr x9, x9, #49
mov w10, #1023
movk w10, #4, lsl #16
msub w22, w9, w10, w8
b LBB1_5
LBB1_4:
mov x22, #0
LBB1_5:
Lloh0:
adrp x23, _bin@GOTPAGE
Lloh1:
ldr x23, [x23, _bin@GOTPAGEOFF]
ldr x21, [x23, x22, lsl #3]
cbz x21, LBB1_8
LBB1_6: ; =>This Inner Loop Header: Depth=1
ldr x1, [x21]
mov x0, x19
bl _strcmp
cbz w0, LBB1_10
; %bb.7: ; in Loop: Header=BB1_6 Depth=1
ldr x21, [x21, #24]
cbnz x21, LBB1_6
LBB1_8:
mov w0, #32
bl _malloc
cbz x0, LBB1_12
; %bb.9:
mov x21, x0
movi.2s v0, #1
str d0, [x0, #8]
str w20, [x0, #16]
mov x0, x19
bl _strlen
add x0, x0, #1
bl _malloc
str x0, [x21]
adrp x8, _total_number_words@PAGE
ldr x9, [x8, _total_number_words@PAGEOFF]
add x9, x9, #1
str x9, [x8, _total_number_words@PAGEOFF]
mov x1, x19
bl _strcpy
lsl x8, x22, #3
ldr x9, [x23, x8]
str x9, [x21, #24]
str x21, [x23, x8]
b LBB1_12
LBB1_10:
ldr w8, [x21, #8]
add w8, w8, #1
str w8, [x21, #8]
ldr w8, [x21, #16]
cmp w8, w20
b.eq LBB1_12
; %bb.11:
ldr w8, [x21, #12]
add w8, w8, #1
stp w8, w20, [x21, #12]
LBB1_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
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _compare ; -- Begin function compare
.p2align 2
_compare: ; @compare
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w2, #5
b.hi LBB2_10
; %bb.1:
mov x19, x1
and x8, x2, #0xffffffff
Lloh2:
adrp x9, lJTI2_0@PAGE
Lloh3:
add x9, x9, lJTI2_0@PAGEOFF
adr x10, LBB2_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB2_2:
ldr x8, [x0]
ldr w8, [x8, #8]
ldr x9, [x19]
ldr w9, [x9, #8]
cmp w8, w9
mov w8, #-1
cneg w0, w8, ge
b LBB2_11
LBB2_3:
ldr x8, [x0]
ldr w8, [x8, #12]
ldr x9, [x19]
ldr w9, [x9, #12]
cmp w8, w9
b.ge LBB2_9
LBB2_4:
mov w0, #-1
b LBB2_11
LBB2_5:
ldr x8, [x0]
ldr w8, [x8, #8]
ldr x9, [x19]
ldr w9, [x9, #8]
cmp w8, w9
b.gt LBB2_4
b LBB2_9
LBB2_6:
ldr x8, [x0]
ldr w8, [x8, #12]
ldr x9, [x19]
ldr w9, [x9, #12]
cmp w8, w9
b.gt LBB2_4
b LBB2_9
LBB2_7:
ldr x8, [x0]
ldr x0, [x8]
bl _strlen
mov x20, x0
ldr x8, [x19]
ldr x0, [x8]
bl _strlen
cmp x20, x0
b.lo LBB2_4
b LBB2_9
LBB2_8:
ldr x8, [x0]
ldr x0, [x8]
bl _strlen
mov x20, x0
ldr x8, [x19]
ldr x0, [x8]
bl _strlen
cmp x20, x0
b.hi LBB2_4
LBB2_9:
cset w0, ne
b LBB2_11
LBB2_10:
mov w0, #0
LBB2_11:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_2-LBB2_2)>>2
.byte (LBB2_3-LBB2_2)>>2
.byte (LBB2_5-LBB2_2)>>2
.byte (LBB2_6-LBB2_2)>>2
.byte (LBB2_7-LBB2_2)>>2
.byte (LBB2_8-LBB2_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _sort_hash ; -- Begin function sort_hash
.p2align 2
_sort_hash: ; @sort_hash
.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
Lloh4:
adrp x8, _total_number_words@PAGE
Lloh5:
ldr x19, [x8, _total_number_words@PAGEOFF]
lsl x0, x19, #3
bl _malloc
mov x9, #0
mov x12, #0
Lloh6:
adrp x8, _bin_array@GOTPAGE
Lloh7:
ldr x8, [x8, _bin_array@GOTPAGEOFF]
str x0, [x8]
Lloh8:
adrp x10, _bin@GOTPAGE
Lloh9:
ldr x10, [x10, _bin@GOTPAGEOFF]
mov w11, #1023
movk w11, #4, lsl #16
b LBB3_3
LBB3_1: ; in Loop: Header=BB3_3 Depth=1
mov x14, x12
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
add x9, x9, #1
mov x12, x14
cmp x9, x11
b.eq LBB3_5
LBB3_3: ; =>This Loop Header: Depth=1
; Child Loop BB3_4 Depth 2
ldr x13, [x10, x9, lsl #3]
cbz x13, LBB3_1
LBB3_4: ; Parent Loop BB3_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x15, [x8]
add x14, x12, #1
str x13, [x15, x12, lsl #3]
ldr x13, [x13, #24]
mov x12, x14
cbnz x13, LBB3_4
b LBB3_2
LBB3_5:
ldr x0, [x8]
Lloh10:
adrp x3, _compare@PAGE
Lloh11:
add x3, x3, _compare@PAGEOFF
mov w4, w20
mov x1, x19
mov w2, #8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _qsort_r
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _print_cmdline_error ; -- Begin function print_cmdline_error
.p2align 2
_print_cmdline_error: ; @print_cmdline_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
Lloh12:
adrp x19, ___stderrp@GOTPAGE
Lloh13:
ldr x19, [x19, ___stderrp@GOTPAGEOFF]
ldr x3, [x19]
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
mov w1, #39
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
mov w1, #118
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh18:
adrp x0, l_.str.2@PAGE
Lloh19:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #25
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh20:
adrp x0, l_.str.3@PAGE
Lloh21:
add x0, x0, l_.str.3@PAGEOFF
mov w1, #25
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh22:
adrp x0, l_.str.4@PAGE
Lloh23:
add x0, x0, l_.str.4@PAGEOFF
mov w1, #79
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh24:
adrp x0, l_.str.5@PAGE
Lloh25:
add x0, x0, l_.str.5@PAGEOFF
mov w1, #78
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh26:
adrp x0, l_.str.6@PAGE
Lloh27:
add x0, x0, l_.str.6@PAGEOFF
mov w1, #76
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh28:
adrp x0, l_.str.7@PAGE
Lloh29:
add x0, x0, l_.str.7@PAGEOFF
mov w1, #75
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh30:
adrp x0, l_.str.8@PAGE
Lloh31:
add x0, x0, l_.str.8@PAGEOFF
mov w1, #78
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh32:
adrp x0, l_.str.9@PAGE
Lloh33:
add x0, x0, l_.str.9@PAGEOFF
mov w1, #77
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh34:
adrp x0, l_.str.10@PAGE
Lloh35:
add x0, x0, l_.str.10@PAGEOFF
mov w1, #72
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
.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 AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _open_copy ; -- Begin function open_copy
.p2align 2
_open_copy: ; @open_copy
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
Lloh36:
adrp x1, l_.str.11@PAGE
Lloh37:
add x1, x1, l_.str.11@PAGEOFF
bl _fopen
cbz x0, LBB5_4
; %bb.1:
mov x20, x0
LBB5_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #41248
movk w1, #7, lsl #16
mov x2, x20
bl _fgets
cbz x0, LBB5_2
; %bb.3:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _strlen
LBB5_4:
Lloh38:
adrp x8, ___stderrp@GOTPAGE
Lloh39:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh40:
ldr x0, [x8]
str x21, [sp]
Lloh41:
adrp x1, l_.str.12@PAGE
Lloh42:
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.cfi_endproc
; -- End function
.globl _calcfr ; -- Begin function calcfr
.p2align 2
_calcfr: ; @calcfr
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
; kill: def $w2 killed $w2 def $x2
Lloh43:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh44:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
ldr x8, [x8]
str x8, [sp, #24]
str wzr, [sp, #16]
str xzr, [sp, #8]
strb w1, [sp, #6]
strb wzr, [sp, #7]
ldrb w8, [x0]
cbz w8, LBB6_3
; %bb.1:
mov x19, x0
mov x22, #0
mov w20, #0
sxtw x21, w2
LBB6_2: ; =>This Inner Loop Header: Depth=1
add x1, x19, x22
add x0, sp, #8
mov x2, x21
mov w3, #12
bl ___strncpy_chk
add x0, sp, #6
add x1, sp, #8
bl _strcmp
cmp w0, #0
cinc w20, w20, eq
add x22, x22, #1
mov x0, x19
bl _strlen
cmp x0, x22
b.hi LBB6_2
b LBB6_4
LBB6_3:
mov w20, #0
LBB6_4:
ldr x8, [sp, #24]
Lloh46:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh47:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_6
; %bb.5:
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
add sp, sp, #80
ret
LBB6_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.cfi_endproc
; -- End function
.globl _calcfr2 ; -- Begin function calcfr2
.p2align 2
_calcfr2: ; @calcfr2
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
; kill: def $w2 killed $w2 def $x2
Lloh49:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh50:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
ldr x8, [x8]
str x8, [sp, #24]
str wzr, [sp, #16]
str xzr, [sp, #8]
ldrb w8, [x0]
cbz w8, LBB7_3
; %bb.1:
mov x19, x1
mov x21, x0
mov x23, #0
mov w20, #0
sxtw x22, w2
LBB7_2: ; =>This Inner Loop Header: Depth=1
add x1, x21, x23
add x0, sp, #8
mov x2, x22
mov w3, #12
bl ___strncpy_chk
add x1, sp, #8
mov x0, x19
bl _strcmp
cmp w0, #0
cinc w20, w20, eq
add x23, x23, #1
mov x0, x21
bl _strlen
cmp x0, x23
b.hi LBB7_2
b LBB7_4
LBB7_3:
mov w20, #0
LBB7_4:
ldr x8, [sp, #24]
Lloh52:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh53:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh54:
ldr x9, [x9]
cmp x9, x8
b.ne LBB7_6
; %bb.5:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB7_6:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.cfi_endproc
; -- End function
.globl _calcLetterProb ; -- Begin function calcLetterProb
.p2align 2
_calcLetterProb: ; @calcLetterProb
.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
str x1, [sp, #32] ; 8-byte Folded Spill
Lloh55:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh56:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
ldr x8, [x8]
str x8, [sp, #56]
str w0, [sp, #12] ; 4-byte Folded Spill
mov w8, w0
str x8, [sp, #24] ; 8-byte Folded Spill
add x8, sp, #44
add x23, x8, #1
mov w24, #65
mov w26, #41248
movk w26, #7, lsl #16
b LBB8_3
LBB8_1: ; in Loop: Header=BB8_3 Depth=1
mov w27, #0
mov w20, #-1
LBB8_2: ; in Loop: Header=BB8_3 Depth=1
scvtf d0, w27
scvtf d1, w20
fdiv d0, d0, d1
Lloh58:
adrp x8, _prob_letter@GOTPAGE
Lloh59:
ldr x8, [x8, _prob_letter@GOTPAGEOFF]
ldr x9, [sp, #16] ; 8-byte Folded Reload
str d0, [x8, x9, lsl #3]
add x24, x24, #1
cmp x24, #91
b.eq LBB8_10
LBB8_3: ; =>This Loop Header: Depth=1
; Child Loop BB8_7 Depth 2
; Child Loop BB8_9 Depth 3
sub x8, x24, #65
str x8, [sp, #16] ; 8-byte Folded Spill
ldr w8, [sp, #12] ; 4-byte Folded Reload
cmp w8, #1
b.lt LBB8_1
; %bb.4: ; in Loop: Header=BB8_3 Depth=1
mov x28, #0
mov w27, #0
mov w20, #-1
Lloh60:
adrp x25, _input_sequences@GOTPAGE
Lloh61:
ldr x25, [x25, _input_sequences@GOTPAGEOFF]
b LBB8_7
LBB8_5: ; in Loop: Header=BB8_7 Depth=2
mov w19, #0
LBB8_6: ; in Loop: Header=BB8_7 Depth=2
add w27, w19, w27
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x8, [x8, x28, lsl #3]
add w20, w20, w8
add x28, x28, #1
add x25, x25, x26
ldr x8, [sp, #24] ; 8-byte Folded Reload
cmp x28, x8
b.eq LBB8_2
LBB8_7: ; Parent Loop BB8_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB8_9 Depth 3
Lloh62:
adrp x8, _input_sequences@GOTPAGE
Lloh63:
ldr x8, [x8, _input_sequences@GOTPAGEOFF]
madd x21, x28, x26, x8
stur wzr, [x23, #7]
str xzr, [x23]
strb w24, [sp, #42]
strb wzr, [sp, #43]
ldrb w8, [x21]
cbz w8, LBB8_5
; %bb.8: ; in Loop: Header=BB8_7 Depth=2
mov x22, #0
mov w19, #0
LBB8_9: ; Parent Loop BB8_3 Depth=1
; Parent Loop BB8_7 Depth=2
; => This Inner Loop Header: Depth=3
add x1, x25, x22
add x0, sp, #44
mov w2, #1
bl _strncpy
add x0, sp, #42
add x1, sp, #44
bl _strcmp
cmp w0, #0
cinc w19, w19, eq
add x22, x22, #1
mov x0, x21
bl _strlen
cmp x0, x22
b.hi LBB8_9
b LBB8_6
LBB8_10:
ldr x8, [sp, #56]
Lloh64:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh65:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
ldr x9, [x9]
cmp x9, x8
b.ne LBB8_12
; %bb.11:
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
LBB8_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpLdrGot Lloh60, Lloh61
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.cfi_endproc
; -- End function
.globl _calcWordProb ; -- Begin function calcWordProb
.p2align 2
_calcWordProb: ; @calcWordProb
.cfi_startproc
; %bb.0:
ldrb w9, [x0]
cbz w9, LBB9_4
; %bb.1:
add x8, x0, #1
fmov d0, #1.00000000
Lloh67:
adrp x10, _prob_letter@GOTPAGE
Lloh68:
ldr x10, [x10, _prob_letter@GOTPAGEOFF]
LBB9_2: ; =>This Inner Loop Header: Depth=1
add x9, x10, w9, sxtb #3
sub x9, x9, #520
ldr d1, [x9]
fmul d0, d0, d1
ldrb w9, [x8], #1
cbnz w9, LBB9_2
; %bb.3:
ret
LBB9_4:
fmov d0, #1.00000000
ret
.loh AdrpLdrGot Lloh67, Lloh68
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp d9, d8, [sp, #112] ; 16-byte Folded Spill
stp x28, x27, [sp, #128] ; 16-byte Folded Spill
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh69:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh70:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh71:
ldr x8, [x8]
str x8, [sp, #104]
cmp w0, #1
b.eq LBB10_56
; %bb.1:
mov x23, x0
cmp w0, #2
b.lt LBB10_55
; %bb.2:
mov x22, x1
mov w26, #0
mov w21, #0
str xzr, [sp, #80] ; 8-byte Folded Spill
mov w27, #2
Lloh72:
adrp x24, l_.str.13@PAGE
Lloh73:
add x24, x24, l_.str.13@PAGEOFF
mov w20, #1
Lloh74:
adrp x25, _sequence_lengths@GOTPAGE
Lloh75:
ldr x25, [x25, _sequence_lengths@GOTPAGEOFF]
b LBB10_5
LBB10_3: ; in Loop: Header=BB10_5 Depth=1
mov w27, #0
LBB10_4: ; in Loop: Header=BB10_5 Depth=1
add w20, w20, #1
cmp w20, w23
b.ge LBB10_25
LBB10_5: ; =>This Loop Header: Depth=1
; Child Loop BB10_15 Depth 2
sxtw x19, w20
ldr x28, [x22, w20, sxtw #3]
mov x0, x28
mov x1, x24
bl _strcmp
cbz w0, LBB10_17
; %bb.6: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh76:
adrp x1, l_.str.14@PAGE
Lloh77:
add x1, x1, l_.str.14@PAGEOFF
bl _strcmp
cbz w0, LBB10_3
; %bb.7: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh78:
adrp x1, l_.str.15@PAGE
Lloh79:
add x1, x1, l_.str.15@PAGEOFF
bl _strcmp
cbz w0, LBB10_19
; %bb.8: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh80:
adrp x1, l_.str.16@PAGE
Lloh81:
add x1, x1, l_.str.16@PAGEOFF
bl _strcmp
cbz w0, LBB10_20
; %bb.9: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh82:
adrp x1, l_.str.17@PAGE
Lloh83:
add x1, x1, l_.str.17@PAGEOFF
bl _strcmp
cbz w0, LBB10_21
; %bb.10: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh84:
adrp x1, l_.str.18@PAGE
Lloh85:
add x1, x1, l_.str.18@PAGEOFF
bl _strcmp
cbz w0, LBB10_22
; %bb.11: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh86:
adrp x1, l_.str.19@PAGE
Lloh87:
add x1, x1, l_.str.19@PAGEOFF
bl _strcmp
cbz w0, LBB10_23
; %bb.12: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
Lloh88:
adrp x1, l_.str.20@PAGE
Lloh89:
add x1, x1, l_.str.20@PAGEOFF
bl _strcmp
cbz w0, LBB10_24
; %bb.13: ; in Loop: Header=BB10_5 Depth=1
mov x19, x27
mov x0, x28
Lloh90:
adrp x1, l_.str.11@PAGE
Lloh91:
add x1, x1, l_.str.11@PAGEOFF
bl _fopen
cbz x0, LBB10_60
; %bb.14: ; in Loop: Header=BB10_5 Depth=1
mov x27, x0
mov x8, x26
sxtw x9, w26
str x9, [sp, #72] ; 8-byte Folded Spill
Lloh92:
adrp x9, _input_sequences@GOTPAGE
Lloh93:
ldr x9, [x9, _input_sequences@GOTPAGEOFF]
mov w10, #41248
movk w10, #7, lsl #16
smaddl x28, w8, w10, x9
LBB10_15: ; Parent Loop BB10_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x28
mov w1, #41248
movk w1, #7, lsl #16
mov x2, x27
bl _fgets
cbz x0, LBB10_15
; %bb.16: ; in Loop: Header=BB10_5 Depth=1
mov x0, x28
bl _strlen
ldr x8, [sp, #72] ; 8-byte Folded Reload
str x0, [x25, x8, lsl #3]
add w26, w26, #1
mov x27, x19
b LBB10_4
LBB10_17: ; in Loop: Header=BB10_5 Depth=1
add x20, x19, #1
ldr x0, [x22, x20, lsl #3]
bl _atoi
mov x21, x0
LBB10_18: ; in Loop: Header=BB10_5 Depth=1
; kill: def $w20 killed $w20 killed $x20 def $x20
b LBB10_4
LBB10_19: ; in Loop: Header=BB10_5 Depth=1
mov w27, #1
b LBB10_4
LBB10_20: ; in Loop: Header=BB10_5 Depth=1
mov w27, #2
b LBB10_4
LBB10_21: ; in Loop: Header=BB10_5 Depth=1
mov w27, #3
b LBB10_4
LBB10_22: ; in Loop: Header=BB10_5 Depth=1
mov w27, #4
b LBB10_4
LBB10_23: ; in Loop: Header=BB10_5 Depth=1
mov w27, #5
b LBB10_4
LBB10_24: ; in Loop: Header=BB10_5 Depth=1
add x20, x19, #1
ldr x0, [x22, x20, lsl #3]
bl _atoi
str x0, [sp, #80] ; 8-byte Folded Spill
b LBB10_18
LBB10_25:
cbz w21, LBB10_55
; %bb.26:
ldr x8, [sp, #80] ; 8-byte Folded Reload
cbz w8, LBB10_55
; %bb.27:
ldr x8, [sp, #80] ; 8-byte Folded Reload
cmp w21, w8
b.gt LBB10_55
; %bb.28:
str w27, [sp, #60] ; 4-byte Folded Spill
Lloh94:
adrp x19, ___stderrp@GOTPAGE
Lloh95:
ldr x19, [x19, ___stderrp@GOTPAGEOFF]
ldr x3, [x19]
cbz w26, LBB10_57
; %bb.29:
str x21, [sp]
Lloh96:
adrp x1, l_.str.23@PAGE
Lloh97:
add x1, x1, l_.str.23@PAGEOFF
mov x0, x3
bl _fprintf
ldr x0, [x19]
ldr x8, [sp, #80] ; 8-byte Folded Reload
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
Lloh98:
adrp x1, l_.str.24@PAGE
Lloh99:
add x1, x1, l_.str.24@PAGEOFF
bl _fprintf
ldr x0, [x19]
mov x8, x26
str x8, [sp]
Lloh100:
adrp x1, l_.str.25@PAGE
Lloh101:
add x1, x1, l_.str.25@PAGEOFF
bl _fprintf
str x26, [sp, #72] ; 8-byte Folded Spill
cmp w26, #1
b.lt LBB10_37
; %bb.30:
mov x22, #0
; kill: def $w21 killed $w21 killed $x21 def $x21
sxtw x8, w21
str x8, [sp, #64] ; 8-byte Folded Spill
ldr x8, [sp, #80] ; 8-byte Folded Reload
add w23, w8, #1
Lloh102:
adrp x24, _input_sequences@GOTPAGE
Lloh103:
ldr x24, [x24, _input_sequences@GOTPAGEOFF]
mov w27, #1
add x26, sp, #88
ldr x8, [sp, #72] ; 8-byte Folded Reload
mov w19, w8
b LBB10_32
LBB10_31: ; in Loop: Header=BB10_32 Depth=1
add x22, x22, #1
mov w8, #41248
movk w8, #7, lsl #16
add x24, x24, x8
cmp x22, x19
b.eq LBB10_37
LBB10_32: ; =>This Loop Header: Depth=1
; Child Loop BB10_34 Depth 2
; Child Loop BB10_36 Depth 3
ldr x8, [x25, x22, lsl #3]
ldr x21, [sp, #64] ; 8-byte Folded Reload
b LBB10_34
LBB10_33: ; in Loop: Header=BB10_34 Depth=2
add x21, x21, #1
cmp w23, w21
b.eq LBB10_31
LBB10_34: ; Parent Loop BB10_32 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB10_36 Depth 3
sub w28, w27, w21
add w9, w28, w8
cmp w9, #1
b.lt LBB10_33
; %bb.35: ; in Loop: Header=BB10_34 Depth=2
mov x20, #0
LBB10_36: ; Parent Loop BB10_32 Depth=1
; Parent Loop BB10_34 Depth=2
; => This Inner Loop Header: Depth=3
add x1, x24, x20
add x0, sp, #88
mov x2, x21
mov w3, #16
bl ___strncpy_chk
strb wzr, [x26, x21]
add x0, sp, #88
mov x1, x22
bl _incword
add x20, x20, #1
ldr x8, [x25, x22, lsl #3]
add w9, w28, w8
cmp w9, #0
csel w9, w9, wzr, gt
cmp x20, x9
b.lo LBB10_36
b LBB10_33
LBB10_37:
adrp x23, _total_number_words@PAGE
ldr x21, [x23, _total_number_words@PAGEOFF]
lsl x0, x21, #3
bl _malloc
mov x8, #0
mov x11, #0
Lloh104:
adrp x24, _bin_array@GOTPAGE
Lloh105:
ldr x24, [x24, _bin_array@GOTPAGEOFF]
str x0, [x24]
Lloh106:
adrp x9, _bin@GOTPAGE
Lloh107:
ldr x9, [x9, _bin@GOTPAGEOFF]
mov w10, #1023
movk w10, #4, lsl #16
ldr x19, [sp, #72] ; 8-byte Folded Reload
ldr w15, [sp, #60] ; 4-byte Folded Reload
b LBB10_40
LBB10_38: ; in Loop: Header=BB10_40 Depth=1
mov x13, x11
LBB10_39: ; in Loop: Header=BB10_40 Depth=1
add x8, x8, #1
mov x11, x13
cmp x8, x10
b.eq LBB10_42
LBB10_40: ; =>This Loop Header: Depth=1
; Child Loop BB10_41 Depth 2
ldr x12, [x9, x8, lsl #3]
cbz x12, LBB10_38
LBB10_41: ; Parent Loop BB10_40 Depth=1
; => This Inner Loop Header: Depth=2
ldr x14, [x24]
add x13, x11, #1
str x12, [x14, x11, lsl #3]
ldr x12, [x12, #24]
mov x11, x13
cbnz x12, LBB10_41
b LBB10_39
LBB10_42:
ldr x0, [x24]
mov w4, w15
Lloh108:
adrp x3, _compare@PAGE
Lloh109:
add x3, x3, _compare@PAGEOFF
mov x1, x21
mov w2, #8
bl _qsort_r
Lloh110:
adrp x1, _sequence_lengths@GOTPAGE
Lloh111:
ldr x1, [x1, _sequence_lengths@GOTPAGEOFF]
mov x0, x19
bl _calcLetterProb
ldr x8, [x23, _total_number_words@PAGEOFF]
str x8, [sp]
Lloh112:
adrp x0, l_.str.26@PAGE
Lloh113:
add x0, x0, l_.str.26@PAGEOFF
bl _printf
Lloh114:
adrp x0, l_str@PAGE
Lloh115:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x8, [x23, _total_number_words@PAGEOFF]
cbz x8, LBB10_53
; %bb.43:
mov x20, #0
ldr x8, [sp, #72] ; 8-byte Folded Reload
mov w25, w8
movi d8, #0000000000000000
Lloh116:
adrp x26, _sequence_lengths@GOTPAGE
Lloh117:
ldr x26, [x26, _sequence_lengths@GOTPAGEOFF]
Lloh118:
adrp x27, _prob_letter@GOTPAGE
Lloh119:
ldr x27, [x27, _prob_letter@GOTPAGEOFF]
Lloh120:
adrp x21, l_.str.28@PAGE
Lloh121:
add x21, x21, l_.str.28@PAGEOFF
b LBB10_45
LBB10_44: ; in Loop: Header=BB10_45 Depth=1
ldp w8, w9, [x28, #8]
scvtf d0, w8
fdiv d0, d0, d8
stp d9, d8, [sp, #32]
stp x8, x9, [sp, #16]
ldr x8, [sp, #80] ; 8-byte Folded Reload
stp x8, x22, [sp]
str d0, [sp, #48]
mov x0, x21
bl _printf
add x20, x20, #1
ldr x8, [x23, _total_number_words@PAGEOFF]
cmp x8, x20
b.ls LBB10_53
LBB10_45: ; =>This Loop Header: Depth=1
; Child Loop BB10_48 Depth 2
; Child Loop BB10_52 Depth 2
ldr x8, [x24]
ldr x28, [x8, x20, lsl #3]
cbz x28, LBB10_61
; %bb.46: ; in Loop: Header=BB10_45 Depth=1
ldr x22, [x28]
ldrb w9, [x22]
cbz w9, LBB10_49
; %bb.47: ; in Loop: Header=BB10_45 Depth=1
add x8, x22, #1
fmov d9, #1.00000000
LBB10_48: ; Parent Loop BB10_45 Depth=1
; => This Inner Loop Header: Depth=2
add x9, x27, w9, sxtb #3
sub x9, x9, #520
ldr d0, [x9]
fmul d9, d9, d0
ldrb w9, [x8], #1
cbnz w9, LBB10_48
b LBB10_50
LBB10_49: ; in Loop: Header=BB10_45 Depth=1
fmov d9, #1.00000000
LBB10_50: ; in Loop: Header=BB10_45 Depth=1
ldr x8, [sp, #72] ; 8-byte Folded Reload
cmp w8, #1
b.lt LBB10_44
; %bb.51: ; in Loop: Header=BB10_45 Depth=1
mov x0, x22
bl _strlen
mov x8, x25
mov x9, x26
LBB10_52: ; Parent Loop BB10_45 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [x9], #8
sub x10, x10, x0
add x10, x10, #1
ucvtf d0, x10
fmadd d8, d9, d0, d8
subs x8, x8, #1
b.ne LBB10_52
b LBB10_44
LBB10_53:
ldr x8, [sp, #104]
Lloh122:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh123:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh124:
ldr x9, [x9]
cmp x9, x8
b.ne LBB10_59
; %bb.54:
mov w0, #0
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
ldp x28, x27, [sp, #128] ; 16-byte Folded Reload
ldp d9, d8, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB10_55:
Lloh125:
adrp x8, ___stderrp@GOTPAGE
Lloh126:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh127:
ldr x3, [x8]
Lloh128:
adrp x0, l_.str.21@PAGE
Lloh129:
add x0, x0, l_.str.21@PAGEOFF
mov w1, #59
b LBB10_58
LBB10_56:
bl _print_cmdline_error
LBB10_57:
Lloh130:
adrp x0, l_.str.22@PAGE
Lloh131:
add x0, x0, l_.str.22@PAGEOFF
mov w1, #37
LBB10_58:
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
LBB10_59:
bl ___stack_chk_fail
LBB10_60:
Lloh132:
adrp x8, ___stderrp@GOTPAGE
Lloh133:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh134:
ldr x0, [x8]
str x28, [sp]
Lloh135:
adrp x1, l_.str.12@PAGE
Lloh136:
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
LBB10_61:
mov w0, #1
bl _exit
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpLdrGot Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpLdrGot Lloh92, Lloh93
.loh AdrpLdrGot Lloh94, Lloh95
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpLdrGot Lloh102, Lloh103
.loh AdrpLdrGot Lloh106, Lloh107
.loh AdrpLdrGot Lloh104, Lloh105
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpLdrGot Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpLdrGot Lloh118, Lloh119
.loh AdrpLdrGot Lloh116, Lloh117
.loh AdrpLdrGotLdr Lloh122, Lloh123, Lloh124
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpLdrGotLdr Lloh125, Lloh126, Lloh127
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh135, Lloh136
.loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134
.cfi_endproc
; -- End function
.globl _total_number_words ; @total_number_words
.zerofill __DATA,__common,_total_number_words,8,3
.comm _bin,2105336,3 ; @bin
.comm _bin_array,8,3 ; @bin_array
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error: improper command line arguments\n"
l_.str.1: ; @.str.1
.asciz "Usage: word_count -min X -max Y [-descseq|-ascseq|-desctot|-asctot|-desclength|-asclength] filename [other filenames]\n"
l_.str.2: ; @.str.2
.asciz "-min minimum word length\n"
l_.str.3: ; @.str.3
.asciz "-max maximum word length\n"
l_.str.4: ; @.str.4
.asciz "-descseq causes the output to be sorted in descending order of sequence counts\n"
l_.str.5: ; @.str.5
.asciz "-ascseq causes the output to be sorted in ascending order of sequence counts\n"
l_.str.6: ; @.str.6
.asciz "-desctot causes the output to be sorted in descending order of total counts\n"
l_.str.7: ; @.str.7
.asciz "-asctot causes the output to be sorted in ascending order of total counts\n"
l_.str.8: ; @.str.8
.asciz "-desclength causes the output to be sorted in descending order of word length\n"
l_.str.9: ; @.str.9
.asciz "-asclength causes the output to be sorted in ascending order of word length\n"
l_.str.10: ; @.str.10
.asciz "Example: word_count -min 3 -max 10 -asctot filename1 filename2 filname3\n"
l_.str.11: ; @.str.11
.asciz "r"
l_.str.12: ; @.str.12
.asciz "Error: unable to open file %s\n"
.comm _input_sequences,5000000,0 ; @input_sequences
.comm _prob_letter,400,3 ; @prob_letter
l_.str.13: ; @.str.13
.asciz "-min"
l_.str.14: ; @.str.14
.asciz "-asctot"
l_.str.15: ; @.str.15
.asciz "-ascseq"
l_.str.16: ; @.str.16
.asciz "-desctot"
l_.str.17: ; @.str.17
.asciz "-descseq"
l_.str.18: ; @.str.18
.asciz "-asclength"
l_.str.19: ; @.str.19
.asciz "-desclength"
l_.str.20: ; @.str.20
.asciz "-max"
.comm _sequence_lengths,80,3 ; @sequence_lengths
l_.str.21: ; @.str.21
.asciz "Error: incorrect or missing minimum or maximum word length\n"
l_.str.22: ; @.str.22
.asciz "Error: no input file names specified\n"
l_.str.23: ; @.str.23
.asciz "min wordlength = %d\n"
l_.str.24: ; @.str.24
.asciz "max wordlength = %d\n"
l_.str.25: ; @.str.25
.asciz "number of input files = %d\n"
l_.str.26: ; @.str.26
.asciz "total number of words = %ld\n"
l_.str.28: ; @.str.28
.asciz "%-*s \t%d \t%d\t %.15lf\t %.15lf\t %.15lf\n"
.comm _node,32,3 ; @node
l_str: ; @str
.asciz "Word\tWordCount\t SeqCount\t Word Probbility\tExpected value\tO/E score "
.subsections_via_symbols
| the_stack_data/140765703.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function check_cpu_flag
_check_cpu_flag: ## @check_cpu_flag
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movq _state@GOTPCREL(%rip), %r15
movl (%r15), %r12d
orl %r12d, %ebx
movl $-1, %edi
callq _av_force_cpu_flags
xorl %eax, %eax
callq _av_get_cpu_flags
andl %ebx, %eax
movl %eax, (%r15)
movl %eax, %edi
callq _av_force_cpu_flags
testl %ebx, %ebx
je LBB0_2
## %bb.1:
cmpl %r12d, (%r15)
je LBB0_9
LBB0_2:
movq %r14, 8(%r15)
movq _tests@GOTPCREL(%rip), %r14
movq (%r14), %rcx
cmpq $0, (%rcx)
je LBB0_9
## %bb.3:
xorl %ebx, %ebx
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl 8(%rcx,%rbx), %eax
movl %eax, 16(%r15)
xorl %eax, %eax
callq *(%rcx,%rbx)
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movq (%r14), %rcx
cmpq $0, 16(%rcx,%rbx)
leaq 16(%rbx), %rbx
je LBB0_9
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 24(%r15), %rsi
testq %rsi, %rsi
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl 8(%rcx,%rbx), %edi
callq _strcmp
testq %rax, %rax
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq (%r14), %rcx
jmp LBB0_7
LBB0_9:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _state,32,3 ## @state
.comm _tests,8,3 ## @tests
.no_dead_strip _check_cpu_flag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function check_cpu_flag
_check_cpu_flag: ; @check_cpu_flag
.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, _state@GOTPAGE
Lloh1:
ldr x20, [x20, _state@GOTPAGEOFF]
ldr w21, [x20]
orr w22, w21, w1
mov w0, #-1
bl _av_force_cpu_flags
bl _av_get_cpu_flags
and w0, w0, w22
str w0, [x20]
bl _av_force_cpu_flags
ldr w8, [x20]
cmp w22, #0
ccmp w8, w21, #0, ne
b.eq LBB0_8
; %bb.1:
str x19, [x20, #8]
Lloh2:
adrp x19, _tests@GOTPAGE
Lloh3:
ldr x19, [x19, _tests@GOTPAGEOFF]
ldr x8, [x19]
ldr x9, [x8]
cbz x9, LBB0_8
; %bb.2:
mov x21, #0
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
add x8, x8, x21
ldr w9, [x8, #8]
str w9, [x20, #16]
ldr x8, [x8]
blr x8
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19]
add x9, x8, x21
ldr x9, [x9, #16]
add x21, x21, #16
cbz x9, LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x1, [x20, #24]
cbz x1, LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x8, x8, x21
ldr w0, [x8, #8]
bl _strcmp
cbnz x0, LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x19]
b LBB0_3
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _state,32,3 ; @state
.comm _tests,8,3 ; @tests
.no_dead_strip _check_cpu_flag
.subsections_via_symbols
| AnghaBench/FFmpeg/tests/checkasm/extr_checkasm.c_check_cpu_flag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tiny_spi_wait_txr
_tiny_spi_wait_txr: ## @tiny_spi_wait_txr
.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
movq _TINY_SPI_STATUS@GOTPCREL(%rip), %r14
movq (%r14), %rdi
addq (%rbx), %rdi
callq _readb
movq _TINY_SPI_STATUS_TXR@GOTPCREL(%rip), %r15
testl %eax, (%r15)
jne LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _cpu_relax
movq (%r14), %rdi
addq (%rbx), %rdi
callq _readb
testl %eax, (%r15)
je LBB0_1
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TINY_SPI_STATUS,8,3 ## @TINY_SPI_STATUS
.comm _TINY_SPI_STATUS_TXR,4,2 ## @TINY_SPI_STATUS_TXR
.no_dead_strip _tiny_spi_wait_txr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tiny_spi_wait_txr
_tiny_spi_wait_txr: ; @tiny_spi_wait_txr
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x8, [x0]
Lloh0:
adrp x20, _TINY_SPI_STATUS@GOTPAGE
Lloh1:
ldr x20, [x20, _TINY_SPI_STATUS@GOTPAGEOFF]
ldr x9, [x20]
add x0, x9, x8
bl _readb
Lloh2:
adrp x21, _TINY_SPI_STATUS_TXR@GOTPAGE
Lloh3:
ldr x21, [x21, _TINY_SPI_STATUS_TXR@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21]
tst w8, w0
b.ne LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl _cpu_relax
ldr x8, [x19]
ldr x9, [x20]
add x0, x9, x8
bl _readb
b LBB0_1
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TINY_SPI_STATUS,8,3 ; @TINY_SPI_STATUS
.comm _TINY_SPI_STATUS_TXR,4,2 ; @TINY_SPI_STATUS_TXR
.no_dead_strip _tiny_spi_wait_txr
.subsections_via_symbols
| AnghaBench/linux/drivers/spi/extr_spi-oc-tiny.c_tiny_spi_wait_txr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mem_stx_stack
_mem_stx_stack: ## @mem_stx_stack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rsi), %r8d
movl 4(%rsi), %r9d
addl %r8d, %r8d
addl %r9d, %r9d
movq _wrp_lmem_store@GOTPCREL(%rip), %rax
movl (%rax), %eax
pushq %rax
pushq $0
callq _mem_op_stack
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _wrp_lmem_store,4,2 ## @wrp_lmem_store
.no_dead_strip _mem_stx_stack
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mem_stx_stack
_mem_stx_stack: ; @mem_stx_stack
.cfi_startproc
; %bb.0:
ldp w8, w9, [x1]
lsl w4, w8, #1
lsl w5, w9, #1
Lloh0:
adrp x8, _wrp_lmem_store@GOTPAGE
Lloh1:
ldr x8, [x8, _wrp_lmem_store@GOTPAGEOFF]
Lloh2:
ldr w7, [x8]
mov w6, #0
b _mem_op_stack
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _wrp_lmem_store,4,2 ; @wrp_lmem_store
.no_dead_strip _mem_stx_stack
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_jit.c_mem_stx_stack.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_is_same_ibss ## -- Begin function rtw_is_same_ibss
.p2align 4, 0x90
_rtw_is_same_ibss: ## @rtw_is_same_ibss
.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 __NO_PRIVACY_@GOTPCREL(%rip), %rdx
movl (%rsi), %ecx
cmpq (%rdx), %rax
jne LBB0_1
## %bb.3:
xorl %eax, %eax
cmpl $1, %ecx
jne LBB0_4
## %bb.5:
popq %rbp
retq
LBB0_1:
testl %ecx, %ecx
je LBB0_2
LBB0_4:
movl $1, %eax
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __NO_PRIVACY_,8,3 ## @_NO_PRIVACY_
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_is_same_ibss ; -- Begin function rtw_is_same_ibss
.p2align 2
_rtw_is_same_ibss: ; @rtw_is_same_ibss
.cfi_startproc
; %bb.0:
ldr x9, [x0]
Lloh0:
adrp x8, __NO_PRIVACY_@GOTPAGE
Lloh1:
ldr x8, [x8, __NO_PRIVACY_@GOTPAGEOFF]
Lloh2:
ldr x10, [x8]
ldr w8, [x1]
cmp x9, x10
b.ne LBB0_3
; %bb.1:
cmp w8, #1
b.ne LBB0_4
LBB0_2:
mov w0, #0
ret
LBB0_3:
cbz w8, LBB0_2
LBB0_4:
mov w0, #1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm __NO_PRIVACY_,8,3 ; @_NO_PRIVACY_
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_mlme.c_rtw_is_same_ibss.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 $24, %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)
movq _payload@GOTPCREL(%rip), %r13
movq (%r13), %rdi
callq _strlen
movl %eax, %r14d
leaq L_.str(%rip), %rdi
callq _strlen
movl %eax, %r15d
movq _CONFIG_PATH@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _O_WRONLY@GOTPCREL(%rip), %rax
movq _O_APPEND@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
orl (%rax), %esi
callq _open
movq _EXIT_FAILURE@GOTPCREL(%rip), %rbx
cmpl $-1, %eax
je LBB0_5
## %bb.1:
movl %eax, %r12d
movq _ENV_NAME@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r13), %rsi
movl $1, %edx
callq _setenv
testq %rax, %rax
jne LBB0_5
## %bb.2:
addl %r15d, %r14d
movl $-1073741830, %ecx ## imm = 0xBFFFFFFA
subl %r14d, %ecx
leaq L_.str.1(%rip), %rdx
leaq -57(%rbp), %rdi
movl $9, %esi
callq _snprintf
movb -51(%rbp), %al
movl %eax, %ecx
shlb $4, %cl
leal -112(%rcx), %edx
cmpb $97, %al
movzbl %cl, %eax
movzbl %dl, %ecx
cmovll %eax, %ecx
movb -50(%rbp), %al
movl %eax, %edx
andb $-33, %dl
addb $-55, %dl
leal -48(%rax), %esi
cmpb $97, %al
movzbl %sil, %eax
movzbl %dl, %edx
cmovll %eax, %edx
addb %cl, %dl
movb %dl, -61(%rbp)
movb -53(%rbp), %al
movl %eax, %ecx
shlb $4, %cl
leal -112(%rcx), %edx
cmpb $97, %al
movzbl %cl, %eax
movzbl %dl, %ecx
cmovll %eax, %ecx
movb -52(%rbp), %al
movl %eax, %edx
andb $-33, %dl
addb $-55, %dl
leal -48(%rax), %esi
cmpb $97, %al
movzbl %sil, %eax
movzbl %dl, %edx
cmovll %eax, %edx
addb %cl, %dl
movb %dl, -60(%rbp)
movb -55(%rbp), %al
movl %eax, %ecx
shlb $4, %cl
leal -112(%rcx), %edx
cmpb $97, %al
movzbl %cl, %eax
movzbl %dl, %ecx
cmovll %eax, %ecx
movb -54(%rbp), %al
movl %eax, %edx
andb $-33, %dl
addb $-55, %dl
leal -48(%rax), %esi
cmpb $97, %al
movzbl %sil, %eax
movzbl %dl, %edx
cmovll %eax, %edx
addb %cl, %dl
movb %dl, -59(%rbp)
movb -57(%rbp), %al
movb -56(%rbp), %cl
movl %eax, %edx
shlb $4, %dl
leal -112(%rdx), %esi
cmpb $97, %al
movzbl %dl, %eax
movzbl %sil, %edx
cmovll %eax, %edx
movl %ecx, %eax
andb $-33, %al
addb $-55, %al
leal -48(%rcx), %esi
cmpb $97, %cl
movzbl %sil, %ecx
movzbl %al, %eax
cmovll %ecx, %eax
addb %dl, %al
movb %al, -58(%rbp)
leaq L_.str.2(%rip), %rsi
movl %r12d, %edi
movl $23, %edx
callq _write
movl $200, %ebx
leaq -61(%rbp), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %r12d, %edi
movq %r14, %rsi
movl $4, %edx
callq _write
decl %ebx
jne LBB0_3
## %bb.4:
movl %r12d, %edi
callq _close
leaq L_.str.3(%rip), %rdi
callq _system
movq _EXIT_SUCCESS@GOTPCREL(%rip), %rbx
LBB0_5:
movl (%rbx), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_7
## %bb.6:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _payload,8,3 ## @payload
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "./gkrellweather2sh"
.comm _CONFIG_PATH,4,2 ## @CONFIG_PATH
.comm _O_WRONLY,4,2 ## @O_WRONLY
.comm _O_APPEND,4,2 ## @O_APPEND
.comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE
.comm _ENV_NAME,4,2 ## @ENV_NAME
L_.str.1: ## @.str.1
.asciz "%lx"
L_.str.2: ## @.str.2
.asciz "gkrellweather filename "
L_.str.3: ## @.str.3
.asciz "gkrellm"
.comm _EXIT_SUCCESS,4,2 ## @EXIT_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp 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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x22, _payload@GOTPAGE
Lloh4:
ldr x22, [x22, _payload@GOTPAGEOFF]
ldr x0, [x22]
bl _strlen
mov x20, x0
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _strlen
mov x21, x0
Lloh7:
adrp x8, _CONFIG_PATH@GOTPAGE
Lloh8:
ldr x8, [x8, _CONFIG_PATH@GOTPAGEOFF]
Lloh9:
adrp x9, _O_WRONLY@GOTPAGE
Lloh10:
ldr x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
Lloh12:
ldr w8, [x9]
Lloh13:
adrp x9, _O_APPEND@GOTPAGE
Lloh14:
ldr x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
orr w1, w9, w8
bl _open
cmn w0, #1
b.eq LBB0_2
; %bb.1:
mov x19, x0
Lloh16:
adrp x8, _ENV_NAME@GOTPAGE
Lloh17:
ldr x8, [x8, _ENV_NAME@GOTPAGEOFF]
Lloh18:
ldr w0, [x8]
ldr x1, [x22]
mov w2, #1
bl _setenv
cbz x0, LBB0_3
LBB0_2:
Lloh19:
adrp x8, _EXIT_FAILURE@GOTPAGE
Lloh20:
ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
b LBB0_6
LBB0_3:
mov w8, #65530
movk w8, #49151, lsl #16
add w9, w20, w21
sub w3, w8, w9
Lloh21:
adrp x2, l_.str.1@PAGE
Lloh22:
add x2, x2, l_.str.1@PAGEOFF
add x0, sp, #15
mov w1, #9
bl _snprintf
ldrsb w8, [sp, #21]
lsl w9, w8, #4
sub w10, w9, #112
cmp w8, #96
csel w8, w10, w9, gt
ldrb w9, [sp, #22]
sxtb w10, w9
and w11, w9, #0xffffffdf
sub w11, w11, #55
sub w9, w9, #48
cmp w10, #96
csel w9, w11, w9, gt
add w8, w9, w8
strb w8, [sp, #11]
ldrsb w8, [sp, #19]
lsl w9, w8, #4
sub w10, w9, #112
cmp w8, #96
csel w8, w10, w9, gt
ldrb w9, [sp, #20]
sxtb w10, w9
and w11, w9, #0xffffffdf
sub w11, w11, #55
sub w9, w9, #48
cmp w10, #96
csel w9, w11, w9, gt
add w8, w9, w8
strb w8, [sp, #12]
ldrsb w8, [sp, #17]
lsl w9, w8, #4
sub w10, w9, #112
cmp w8, #96
csel w8, w10, w9, gt
ldrb w9, [sp, #18]
sxtb w10, w9
and w11, w9, #0xffffffdf
sub w11, w11, #55
sub w9, w9, #48
cmp w10, #96
csel w9, w11, w9, gt
add w8, w9, w8
strb w8, [sp, #13]
ldrsb w8, [sp, #15]
lsl w9, w8, #4
sub w10, w9, #112
cmp w8, #96
csel w8, w10, w9, gt
ldrb w9, [sp, #16]
sxtb w10, w9
and w11, w9, #0xffffffdf
sub w11, w11, #55
sub w9, w9, #48
cmp w10, #96
csel w9, w11, w9, gt
add w8, w9, w8
strb w8, [sp, #14]
Lloh23:
adrp x1, l_.str.2@PAGE
Lloh24:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
mov w2, #23
bl _write
mov w20, #200
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x1, sp, #11
mov x0, x19
mov w2, #4
bl _write
subs w20, w20, #1
b.ne LBB0_4
; %bb.5:
mov x0, x19
bl _close
Lloh25:
adrp x0, l_.str.3@PAGE
Lloh26:
add x0, x0, l_.str.3@PAGEOFF
bl _system
Lloh27:
adrp x8, _EXIT_SUCCESS@GOTPAGE
Lloh28:
ldr x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
ldr x8, [sp, #24]
Lloh29:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh30:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.7:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh11
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _payload,8,3 ; @payload
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "./gkrellweather2sh"
.comm _CONFIG_PATH,4,2 ; @CONFIG_PATH
.comm _O_WRONLY,4,2 ; @O_WRONLY
.comm _O_APPEND,4,2 ; @O_APPEND
.comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE
.comm _ENV_NAME,4,2 ; @ENV_NAME
l_.str.1: ; @.str.1
.asciz "%lx"
l_.str.2: ; @.str.2
.asciz "gkrellweather filename "
l_.str.3: ; @.str.3
.asciz "gkrellm"
.comm _EXIT_SUCCESS,4,2 ; @EXIT_SUCCESS
.subsections_via_symbols
| AnghaBench/exploitdb/exploits/linux/local/extr_31151.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function r_pkcs7_free_issuerandserialnumber
_r_pkcs7_free_issuerandserialnumber: ## @r_pkcs7_free_issuerandserialnumber
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
addq $4, %rdi
callq _r_x509_free_name
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _r_asn1_free_binary ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.no_dead_strip _r_pkcs7_free_issuerandserialnumber
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function r_pkcs7_free_issuerandserialnumber
_r_pkcs7_free_issuerandserialnumber: ; @r_pkcs7_free_issuerandserialnumber
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, x0, #4
bl _r_x509_free_name
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _r_asn1_free_binary
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.no_dead_strip _r_pkcs7_free_issuerandserialnumber
.subsections_via_symbols
| AnghaBench/radare2/libr/util/extr_pkcs7.c_r_pkcs7_free_issuerandserialnumber.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rio_get_device ## -- Begin function rio_get_device
.p2align 4, 0x90
_rio_get_device: ## @rio_get_device
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %r8
movq _RIO_ANY_ID@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %ecx, %edx
popq %rbp
jmp _rio_get_asm ## TAILCALL
.cfi_endproc
## -- End function
.comm _RIO_ANY_ID,4,2 ## @RIO_ANY_ID
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rio_get_device ; -- Begin function rio_get_device
.p2align 2
_rio_get_device: ; @rio_get_device
.cfi_startproc
; %bb.0:
mov x4, x2
Lloh0:
adrp x8, _RIO_ANY_ID@GOTPAGE
Lloh1:
ldr x8, [x8, _RIO_ANY_ID@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x3, x2
b _rio_get_asm
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RIO_ANY_ID,4,2 ; @RIO_ANY_ID
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/rapidio/extr_rio.c_rio_get_device.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq _buf@GOTPCREL(%rip), %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %r15, %rdi
movl $10000, %esi ## imm = 0x2710
callq _fgets
testq %rax, %rax
je LBB0_14
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
callq _strlen
movl $0, %ebx
testl %eax, %eax
jle LBB0_13
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl %eax, %r14d
xorl %r13d, %r13d
xorl %eax, %eax
xorl %ebx, %ebx
jmp LBB0_4
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_4 Depth=2
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $256, %ecx ## imm = 0x100
andl %ecx, %eax
LBB0_12: ## in Loop: Header=BB0_4 Depth=2
testl %eax, %eax
cmovel %eax, %r12d
incq %r13
movl %r12d, %eax
cmpq %r13, %r14
je LBB0_13
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl $1, %r12d
testl %eax, %eax
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movsbl (%r15,%r13), %edi
testl %edi, %edi
js LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movl %edi, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $256, %ecx ## imm = 0x100
andl %ecx, %eax
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_4 Depth=2
movl $256, %esi ## imm = 0x100
callq ___maskrune
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
xorl %r12d, %r12d
testl %eax, %eax
setne %r12b
addl %r12d, %ebx
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
movsbl (%r15,%r13), %edi
testl %edi, %edi
jns LBB0_10
## %bb.11: ## in Loop: Header=BB0_4 Depth=2
movl $256, %esi ## imm = 0x100
callq ___maskrune
jmp LBB0_12
LBB0_14:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _buf,10000,4 ## @buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x21, ___stdinp@GOTPAGE
Lloh1:
ldr x21, [x21, ___stdinp@GOTPAGEOFF]
ldr x2, [x21]
Lloh2:
adrp x0, _buf@GOTPAGE
Lloh3:
ldr x0, [x0, _buf@GOTPAGEOFF]
mov w1, #10000
bl _fgets
cbz x0, LBB0_15
; %bb.1:
Lloh4:
adrp x19, _buf@GOTPAGE
Lloh5:
ldr x19, [x19, _buf@GOTPAGEOFF]
Lloh6:
adrp x22, __DefaultRuneLocale@GOTPAGE
Lloh7:
ldr x22, [x22, __DefaultRuneLocale@GOTPAGEOFF]
Lloh8:
adrp x20, l_.str@PAGE
Lloh9:
add x20, x20, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov w23, #0
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str x23, [sp]
mov x0, x20
bl _printf
ldr x2, [x21]
mov x0, x19
mov w1, #10000
bl _fgets
cbz x0, LBB0_15
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x0, x19
bl _strlen
cmp w0, #1
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w8, #0
mov w23, #0
and x24, x0, #0xffffffff
mov x25, x19
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
mov w1, #256
bl ___maskrune
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
cmp w0, #0
csel w8, wzr, w26, eq
add x25, x25, #1
subs x24, x24, #1
b.eq LBB0_3
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cbz w8, LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
mov w26, #1
ldrsb w0, [x25]
tbz w0, #31, LBB0_14
b LBB0_6
LBB0_10: ; in Loop: Header=BB0_8 Depth=2
ldrsb w0, [x25]
tbnz w0, #31, LBB0_12
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
add x8, x22, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x100
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_8 Depth=2
mov w1, #256
bl ___maskrune
LBB0_13: ; in Loop: Header=BB0_8 Depth=2
cmp w0, #0
cset w26, ne
cinc w23, w23, ne
ldrsb w0, [x25]
tbnz w0, #31, LBB0_6
LBB0_14: ; in Loop: Header=BB0_8 Depth=2
add x8, x22, w0, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x100
b LBB0_7
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _buf,10000,0 ; @buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/3180.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_acpi_int_ret
_write_acpi_int_ret: ## @write_acpi_int_ret
.cfi_startproc
## %bb.0:
testl %edi, %edi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $1, -24(%rbp)
leaq -8(%rbp), %rax
movq %rax, -16(%rbp)
movl %edx, -8(%rbp)
leaq -24(%rbp), %rdx
callq _acpi_evaluate_object
movq %rax, %rcx
movq _AE_OK@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
setne %al
negl %eax
addq $32, %rsp
popq %rbp
retq
LBB0_1:
movl $-1, %eax
retq
.cfi_endproc
## -- End function
.comm _ACPI_TYPE_INTEGER,4,2 ## @ACPI_TYPE_INTEGER
.comm _AE_OK,8,3 ## @AE_OK
.no_dead_strip _write_acpi_int_ret
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_acpi_int_ret
_write_acpi_int_ret: ; @write_acpi_int_ret
.cfi_startproc
; %bb.0:
cbz w0, LBB0_2
; %bb.1:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #1
str w8, [sp, #16]
add x8, sp, #8
str x8, [sp, #24]
str w2, [sp, #8]
add x2, sp, #16
bl _acpi_evaluate_object
Lloh0:
adrp x8, _AE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
csetm w0, ne
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
mov w0, #-1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ACPI_TYPE_INTEGER,4,2 ; @ACPI_TYPE_INTEGER
.comm _AE_OK,8,3 ; @AE_OK
.no_dead_strip _write_acpi_int_ret
.subsections_via_symbols
| AnghaBench/linux/drivers/platform/x86/extr_asus-laptop.c_write_acpi_int_ret.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zip_alloc_comp_ctx_deflate ## -- Begin function zip_alloc_comp_ctx_deflate
.p2align 4, 0x90
_zip_alloc_comp_ctx_deflate: ## @zip_alloc_comp_ctx_deflate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _crypto_tfm_ctx
movq %rax, %rdi
xorl %esi, %esi
popq %rbp
jmp _zip_ctx_init ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zip_alloc_comp_ctx_deflate ; -- Begin function zip_alloc_comp_ctx_deflate
.p2align 2
_zip_alloc_comp_ctx_deflate: ; @zip_alloc_comp_ctx_deflate
.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 _crypto_tfm_ctx
mov w1, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _zip_ctx_init
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/cavium/zip/extr_zip_crypto.c_zip_alloc_comp_ctx_deflate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dtaudit_unload
_dtaudit_unload: ## @dtaudit_unload
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _dtaudit_hook_preselect@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _dtaudit_hook_commit@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _dtaudit_hook_bsm@GOTPCREL(%rip), %rax
movq $0, (%rax)
movq _dtaudit_id@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _dtrace_unregister ## TAILCALL
.cfi_endproc
## -- End function
.comm _dtaudit_hook_preselect,8,3 ## @dtaudit_hook_preselect
.comm _dtaudit_hook_commit,8,3 ## @dtaudit_hook_commit
.comm _dtaudit_hook_bsm,8,3 ## @dtaudit_hook_bsm
.comm _dtaudit_id,4,2 ## @dtaudit_id
.no_dead_strip _dtaudit_unload
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dtaudit_unload
_dtaudit_unload: ; @dtaudit_unload
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _dtaudit_hook_preselect@GOTPAGE
Lloh1:
ldr x8, [x8, _dtaudit_hook_preselect@GOTPAGEOFF]
Lloh2:
str xzr, [x8]
Lloh3:
adrp x8, _dtaudit_hook_commit@GOTPAGE
Lloh4:
ldr x8, [x8, _dtaudit_hook_commit@GOTPAGEOFF]
Lloh5:
adrp x9, _dtaudit_hook_bsm@GOTPAGE
Lloh6:
ldr x9, [x9, _dtaudit_hook_bsm@GOTPAGEOFF]
Lloh7:
str xzr, [x8]
Lloh8:
str xzr, [x9]
Lloh9:
adrp x8, _dtaudit_id@GOTPAGE
Lloh10:
ldr x8, [x8, _dtaudit_id@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
b _dtrace_unregister
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _dtaudit_hook_preselect,8,3 ; @dtaudit_hook_preselect
.comm _dtaudit_hook_commit,8,3 ; @dtaudit_hook_commit
.comm _dtaudit_hook_bsm,8,3 ; @dtaudit_hook_bsm
.comm _dtaudit_id,4,2 ; @dtaudit_id
.no_dead_strip _dtaudit_unload
.subsections_via_symbols
| AnghaBench/freebsd/sys/security/audit/extr_audit_dtrace.c_dtaudit_unload.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _mdns_clear_pcb_tx_queue_head
__mdns_clear_pcb_tx_queue_head: ## @_mdns_clear_pcb_tx_queue_head
.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 __mdns_server@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_13
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq %r15, (%rbx)
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpq %r14, 8(%rbx)
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rbx), %rcx
movq %rcx, (%rax)
movq %rbx, %rdi
callq __mdns_free_tx_packet
movq (%r12), %rax
movq (%rax), %rbx
testq %rbx, %rbx
jne LBB0_2
jmp LBB0_13
LBB0_5:
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_13
## %bb.6:
leaq 16(%rbx), %rax
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_9 Depth=1
movq %rdi, %rbx
LBB0_8: ## in Loop: Header=BB0_9 Depth=1
leaq 16(%rbx), %rax
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_13
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpq %r15, (%rdi)
jne LBB0_7
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
cmpq %r14, 8(%rdi)
jne LBB0_7
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movq 16(%rdi), %rcx
movq %rcx, (%rax)
callq __mdns_free_tx_packet
jmp LBB0_8
LBB0_13:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm __mdns_server,8,3 ## @_mdns_server
.no_dead_strip __mdns_clear_pcb_tx_queue_head
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _mdns_clear_pcb_tx_queue_head
__mdns_clear_pcb_tx_queue_head: ; @_mdns_clear_pcb_tx_queue_head
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x22, __mdns_server@GOTPAGE
Lloh1:
ldr x22, [x22, __mdns_server@GOTPAGEOFF]
ldr x8, [x22]
ldr x21, [x8]
cbz x21, LBB0_5
; %bb.1:
mov x19, x1
mov x20, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
cmp x9, x20
b.ne LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x21, #8]
cmp x9, x19
b.ne LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x21, #16]
str x9, [x8]
mov x0, x21
bl __mdns_free_tx_packet
ldr x8, [x22]
ldr x21, [x8]
cbnz x21, LBB0_2
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
mov x21, x0
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x8, x21
ldr x0, [x8, #16]!
cbz x0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x9, [x0]
cmp x9, x20
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr x9, [x0, #8]
cmp x9, x19
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr x9, [x0, #16]
str x9, [x8]
bl __mdns_free_tx_packet
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
mov x21, x0
b LBB0_7
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm __mdns_server,8,3 ; @_mdns_server
.no_dead_strip __mdns_clear_pcb_tx_queue_head
.subsections_via_symbols
| AnghaBench/esp-idf/components/mdns/extr_mdns.c__mdns_clear_pcb_tx_queue_head.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mipid02_configure_from_rx_speed
_mipid02_configure_from_rx_speed: ## @mipid02_configure_from_rx_speed
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq 8(%rdi), %r12
movq 16(%rdi), %r14
movq %r12, %rsi
callq _mipid02_get_link_freq_from_cid_link_freq
movl %eax, %ebx
testl %eax, %eax
jne LBB0_3
## %bb.1:
movq %r15, %rdi
movq %r12, %rsi
callq _mipid02_get_link_freq_from_cid_pixel_rate
movl %eax, %ebx
testl %eax, %eax
je LBB0_2
LBB0_3:
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
movl %ebx, %edx
callq _dev_dbg
xorl %ecx, %ecx
movl $2000000000, %eax ## imm = 0x77359400
xorl %edx, %edx
idivl %ebx
shll $2, %eax
orl %eax, (%r15)
LBB0_4:
movl %ecx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to get link frequency"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz "detect link_freq = %d Hz"
.no_dead_strip _mipid02_configure_from_rx_speed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mipid02_configure_from_rx_speed
_mipid02_configure_from_rx_speed: ; @mipid02_configure_from_rx_speed
.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
ldp x22, x20, [x0, #8]
mov x1, x22
bl _mipid02_get_link_freq_from_cid_link_freq
mov x21, x0
cbnz w0, LBB0_2
; %bb.1:
mov x0, x19
mov x1, x22
bl _mipid02_get_link_freq_from_cid_pixel_rate
mov x21, x0
cbz w0, LBB0_4
LBB0_2:
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
mov x2, x21
bl _dev_dbg
mov w0, #0
mov w8, #37888
movk w8, #30517, lsl #16
sdiv w8, w8, w21
ldr w9, [x19]
orr w8, w9, w8, lsl #2
str w8, [x19]
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:
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _dev_err
Lloh4:
adrp x8, _EINVAL@GOTPAGE
Lloh5:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w0, w8
b LBB0_3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to get link frequency"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz "detect link_freq = %d Hz"
.no_dead_strip _mipid02_configure_from_rx_speed
.subsections_via_symbols
| AnghaBench/linux/drivers/media/i2c/extr_st-mipid02.c_mipid02_configure_from_rx_speed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cpio_mkdir_line
_cpio_mkdir_line: ## @cpio_mkdir_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _GT_DIR@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _cpio_mkgeneric_line ## TAILCALL
.cfi_endproc
## -- End function
.comm _GT_DIR,4,2 ## @GT_DIR
.no_dead_strip _cpio_mkdir_line
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cpio_mkdir_line
_cpio_mkdir_line: ; @cpio_mkdir_line
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _GT_DIR@GOTPAGE
Lloh1:
ldr x8, [x8, _GT_DIR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _cpio_mkgeneric_line
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _GT_DIR,4,2 ; @GT_DIR
.no_dead_strip _cpio_mkdir_line
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/usr/extr_gen_init_cpio.c_cpio_mkdir_line.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _quicksort ## -- Begin function quicksort
.p2align 4, 0x90
_quicksort: ## @quicksort
.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, -44(%rbp) ## 4-byte Spill
## kill: def $esi killed $esi def $rsi
cmpl %edx, %esi
jge LBB0_7
## %bb.1:
movl %edx, %r15d
movq %rdi, %rbx
movslq %edx, %r13
movslq -44(%rbp), %rax ## 4-byte Folded Reload
leaq (%rdi,%rax,8), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movslq %r9d, %r12
movq 8(%rbx,%r12,8), %rax
movq (%rbx,%r13,8), %rcx
movq %rcx, 8(%rbx,%r12,8)
movq %rax, (%rbx,%r13,8)
movq 8(%r14,%r12,8), %rax
movq (%r14,%r13,8), %rcx
movq %rcx, 8(%r14,%r12,8)
movq %rax, (%r14,%r13,8)
movq %rbx, %rdi
## kill: def $esi killed $esi killed $rsi
movl %r12d, %edx
movl -44(%rbp), %ecx ## 4-byte Reload
callq _quicksort
addl $2, %r12d
movl %r12d, %esi
cmpl %r15d, %r12d
jge LBB0_7
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
leal -1(%rsi), %r9d
movslq (%rbx,%r13,8), %r8
movslq %esi, %rdx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
incq %rdx
cmpq %rdx, %r13
je LBB0_6
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq (%rbx,%rdx,8), %rdi
cmpq %r8, %rdi
jl LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movslq %r9d, %rcx
incl %r9d
movq 8(%rbx,%rcx,8), %rax
movq %rdi, 8(%rbx,%rcx,8)
movq %rax, (%rbx,%rdx,8)
movq 8(%r14,%rcx,8), %rax
movq (%r14,%rdx,8), %rdi
movq %rdi, 8(%r14,%rcx,8)
movq %rax, (%r14,%rdx,8)
jmp LBB0_5
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _partition ## -- Begin function partition
.p2align 4, 0x90
_partition: ## @partition
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
## kill: def $esi killed $esi def $rsi
movslq %edx, %r8
leal -1(%rsi), %r14d
cmpl %r8d, %esi
jge LBB1_1
## %bb.2:
movslq (%rdi,%r8,8), %r10
movslq %ecx, %r9
leaq (%rdi,%r9,8), %r11
movslq %esi, %rcx
leaq (%rdi,%rcx,8), %rsi
movq %r8, %rdx
subq %rcx, %rdx
jmp LBB1_3
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_3 Depth=1
addq $8, %rsi
decq %rdx
je LBB1_6
LBB1_3: ## =>This Inner Loop Header: Depth=1
movq (%rsi), %rcx
cmpq %r10, %rcx
jl LBB1_5
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
movslq %r14d, %rbx
incl %r14d
movq 8(%rdi,%rbx,8), %rax
movq %rcx, 8(%rdi,%rbx,8)
movq %rax, (%rsi)
movq 8(%r11,%rbx,8), %rax
movq (%rsi,%r9,8), %rcx
movq %rcx, 8(%r11,%rbx,8)
movq %rax, (%rsi,%r9,8)
jmp LBB1_5
LBB1_1:
movslq %ecx, %r9
LBB1_6:
movslq %r14d, %rax
movq 8(%rdi,%rax,8), %rcx
movq (%rdi,%r8,8), %rdx
movq %rdx, 8(%rdi,%rax,8)
movq %rcx, (%rdi,%r8,8)
leaq (%rdi,%r9,8), %rcx
movq 8(%rcx,%rax,8), %rdx
movq (%rcx,%r8,8), %rsi
movq %rsi, 8(%rcx,%rax,8)
movq %rdx, (%rcx,%r8,8)
incl %eax
## kill: def $eax killed $eax killed $rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.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 (%rsi), %rcx
movq %rcx, (%rdi)
movq %rax, (%rsi)
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 $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
leaq -76(%rbp), %rsi
xorl %eax, %eax
callq _scanf
subl $1, -76(%rbp)
jae LBB3_1
LBB3_26:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_27
## %bb.38:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_1:
leaq L_.str.2(%rip), %r15
jmp LBB3_2
.p2align 4, 0x90
LBB3_25: ## in Loop: Header=BB3_2 Depth=1
leaq L_.str.4(%rip), %rdi
movl -64(%rbp), %esi ## 4-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
movl %r15d, %ecx
xorl %eax, %eax
callq _printf
movq -112(%rbp), %rsp ## 8-byte Reload
subl $1, -76(%rbp)
leaq L_.str.2(%rip), %r15
jb LBB3_26
LBB3_2: ## =>This Loop Header: Depth=1
## Child Loop BB3_4 Depth 2
## Child Loop BB3_8 Depth 2
## Child Loop BB3_29 Depth 2
## Child Loop BB3_31 Depth 3
## Child Loop BB3_18 Depth 2
## Child Loop BB3_24 Depth 2
leaq L_.str.1(%rip), %rdi
leaq -52(%rbp), %rsi
leaq -56(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movq %rsp, -112(%rbp) ## 8-byte Spill
movl -52(%rbp), %eax
incl %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -104(%rbp) ## 8-byte Spill
movl -56(%rbp), %r14d
leal 1(%r14), %r13d
movq %r13, %rax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
leaq (,%r13,8), %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -96(%rbp) ## 8-byte Spill
movl -52(%rbp), %r12d
leal 1(%r12), %eax
leal 2(%r14), %ecx
movq %rcx, -128(%rbp) ## 8-byte Spill
imulq %rcx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -120(%rbp) ## 8-byte Spill
leaq (,%r13,4), %rax
callq ____chkstk_darwin
movq %r14, %rdx
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -88(%rbp) ## 8-byte Spill
testl %r12d, %r12d
movq %rbx, -64(%rbp) ## 8-byte Spill
jle LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
movq -104(%rbp), %rax ## 8-byte Reload
leaq 8(%rax), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB3_4: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
movslq -52(%rbp), %r12
incq %rbx
addq $8, %r14
cmpq %r12, %rbx
jl LBB3_4
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
movl -56(%rbp), %edx
movq -64(%rbp), %rbx ## 8-byte Reload
LBB3_6: ## in Loop: Header=BB3_2 Depth=1
testl %edx, %edx
jle LBB3_10
## %bb.7: ## in Loop: Header=BB3_2 Depth=1
leaq (%rbx,%r13,8), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -96(%rbp), %rax ## 8-byte Reload
leaq 8(%rax), %r15
addq $8, %rbx
movl $1, %r12d
leaq L_.str.2(%rip), %r14
.p2align 4, 0x90
LBB3_8: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movq -88(%rbp), %rax ## 8-byte Reload
movl $0, (%rax,%r12,4)
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movq -72(%rbp), %rax ## 8-byte Reload
movq %r12, (%rax,%r12,8)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
leaq 1(%r12), %rax
movslq -56(%rbp), %rdx
addq $8, %r15
addq $8, %rbx
cmpq %rdx, %r12
movq %rax, %r12
jl LBB3_8
## %bb.9: ## in Loop: Header=BB3_2 Depth=1
movl -52(%rbp), %r12d
movq -64(%rbp), %rbx ## 8-byte Reload
LBB3_10: ## in Loop: Header=BB3_2 Depth=1
leal 1(%rdx), %ecx
movq %rbx, %rdi
movl $1, %esi
movq %rdx, %r14
callq _quicksort
xorl %r15d, %r15d
testl %r12d, %r12d
jle LBB3_11
## %bb.28: ## in Loop: Header=BB3_2 Depth=1
addq $8, %rbx
xorl %eax, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movl $1, %r14d
movl $0, -64(%rbp) ## 4-byte Folded Spill
jmp LBB3_29
.p2align 4, 0x90
LBB3_36: ## in Loop: Header=BB3_29 Depth=2
movq %r8, %rbx
LBB3_37: ## in Loop: Header=BB3_29 Depth=2
leaq 1(%r14), %rax
movslq -52(%rbp), %rcx
cmpq %rcx, %r14
movq %rax, %r14
jge LBB3_12
LBB3_29: ## Parent Loop BB3_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB3_31 Depth 3
movq %r14, %r12
imulq -128(%rbp), %r12 ## 8-byte Folded Reload
addq -120(%rbp), %r12 ## 8-byte Folded Reload
leaq L_.str.3(%rip), %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movl -56(%rbp), %r10d
testl %r10d, %r10d
jle LBB3_37
## %bb.30: ## in Loop: Header=BB3_29 Depth=2
movq %r10, %rax
movq %rbx, %r8
movq %rbx, %rcx
movq -104(%rbp), %r9 ## 8-byte Reload
movq -96(%rbp), %rbx ## 8-byte Reload
jmp LBB3_31
.p2align 4, 0x90
LBB3_35: ## in Loop: Header=BB3_31 Depth=3
addq $8, %rcx
decq %rax
je LBB3_36
LBB3_31: ## Parent Loop BB3_2 Depth=1
## Parent Loop BB3_29 Depth=2
## => This Inner Loop Header: Depth=3
movq (%rcx,%r13,8), %rdx
cmpb $49, -1(%rdx,%r12)
jne LBB3_35
## %bb.32: ## in Loop: Header=BB3_31 Depth=3
movq (%rbx,%rdx,8), %rsi
testq %rsi, %rsi
jle LBB3_35
## %bb.33: ## in Loop: Header=BB3_31 Depth=3
movq (%rcx), %rdi
cmpq (%r9,%r14,8), %rdi
jl LBB3_35
## %bb.34: ## in Loop: Header=BB3_29 Depth=2
incl -64(%rbp) ## 4-byte Folded Spill
addq %rdi, -72(%rbp) ## 8-byte Folded Spill
movq -88(%rbp), %rax ## 8-byte Reload
movl $1, (%rax,%rdx,4)
decq %rsi
movq %rsi, (%rbx,%rdx,8)
jmp LBB3_36
.p2align 4, 0x90
LBB3_11: ## in Loop: Header=BB3_2 Depth=1
movl $0, -64(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r14, %r10
LBB3_12: ## in Loop: Header=BB3_2 Depth=1
testl %r10d, %r10d
movq -88(%rbp), %rbx ## 8-byte Reload
jle LBB3_25
## %bb.13: ## in Loop: Header=BB3_2 Depth=1
movl %r10d, %eax
cmpl $8, %r10d
jae LBB3_15
## %bb.14: ## in Loop: Header=BB3_2 Depth=1
xorl %r15d, %r15d
movl $1, %ecx
jmp LBB3_23
.p2align 4, 0x90
LBB3_15: ## in Loop: Header=BB3_2 Depth=1
movl %eax, %ecx
andl $-8, %ecx
leaq -8(%rcx), %rsi
movq %rsi, %rdx
shrq $3, %rdx
incq %rdx
testq %rsi, %rsi
je LBB3_16
## %bb.17: ## in Loop: Header=BB3_2 Depth=1
movq %rdx, %rdi
andq $-2, %rdi
pxor %xmm0, %xmm0
xorl %esi, %esi
pxor %xmm1, %xmm1
pxor %xmm6, %xmm6
.p2align 4, 0x90
LBB3_18: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
movdqu 4(%rbx,%rsi,4), %xmm2
movdqu 20(%rbx,%rsi,4), %xmm3
movdqu 36(%rbx,%rsi,4), %xmm4
movdqu 52(%rbx,%rsi,4), %xmm5
pcmpeqd %xmm6, %xmm2
psubd %xmm2, %xmm0
pcmpeqd %xmm6, %xmm3
psubd %xmm3, %xmm1
pcmpeqd %xmm6, %xmm4
psubd %xmm4, %xmm0
pcmpeqd %xmm6, %xmm5
psubd %xmm5, %xmm1
addq $16, %rsi
addq $-2, %rdi
jne LBB3_18
## %bb.19: ## in Loop: Header=BB3_2 Depth=1
testb $1, %dl
je LBB3_21
LBB3_20: ## in Loop: Header=BB3_2 Depth=1
shlq $2, %rsi
orq $4, %rsi
movdqu (%rbx,%rsi), %xmm2
movdqu 16(%rbx,%rsi), %xmm3
pcmpeqd %xmm6, %xmm2
psubd %xmm2, %xmm0
pcmpeqd %xmm6, %xmm3
psubd %xmm3, %xmm1
LBB3_21: ## in Loop: Header=BB3_2 Depth=1
paddd %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %r15d
cmpq %rcx, %rax
je LBB3_25
## %bb.22: ## in Loop: Header=BB3_2 Depth=1
orq $1, %rcx
LBB3_23: ## in Loop: Header=BB3_2 Depth=1
incq %rax
.p2align 4, 0x90
LBB3_24: ## Parent Loop BB3_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, (%rbx,%rcx,4)
adcl $0, %r15d
incq %rcx
cmpq %rcx, %rax
jne LBB3_24
jmp LBB3_25
LBB3_16: ## in Loop: Header=BB3_2 Depth=1
pxor %xmm0, %xmm0
xorl %esi, %esi
pxor %xmm1, %xmm1
pxor %xmm6, %xmm6
testb $1, %dl
jne LBB3_20
jmp LBB3_21
LBB3_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "%ld"
L_.str.3: ## @.str.3
.asciz "%s"
L_.str.4: ## @.str.4
.asciz "%d %lld %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _quicksort ; -- Begin function quicksort
.p2align 2
_quicksort: ; @quicksort
.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
; kill: def $w1 killed $w1 def $x1
cmp w1, w2
b.ge LBB0_7
; %bb.1:
mov x19, x3
mov x20, x2
mov x21, x0
sxtw x23, w20
add x24, x0, w3, sxtw #3
add x25, x0, #8
add x26, x24, #8
lsl x27, x23, #3
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x8, x22
sbfiz x8, x8, #3, #32
ldr x9, [x25, x8]
ldr x10, [x21, x27]
str x10, [x25, x8]
str x9, [x21, x27]
ldr x9, [x26, x8]
ldr x10, [x24, x27]
str x10, [x26, x8]
str x9, [x24, x27]
mov x0, x21
; kill: def $w1 killed $w1 killed $x1
mov x2, x22
mov x3, x19
bl _quicksort
add w1, w22, #2
cmp w1, w20
b.ge LBB0_7
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
sub w22, w1, #1
ldrsw x8, [x21, x27]
sxtw x1, w1
mov x9, x1
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
add x9, x9, #1
cmp x23, x9
b.eq LBB0_2
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x10, [x21, x9, lsl #3]
cmp x10, x8
b.lt LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
add w22, w22, #1
sbfiz x11, x22, #3, #32
ldr x12, [x21, x11]
str x10, [x21, x11]
lsl x10, x9, #3
str x12, [x21, x10]
ldr x12, [x24, x11]
ldr x13, [x24, x10]
str x13, [x24, x11]
str x12, [x24, x10]
b LBB0_4
LBB0_7:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _partition ; -- Begin function partition
.p2align 2
_partition: ; @partition
.cfi_startproc
; %bb.0:
; kill: def $w3 killed $w3 def $x3
; kill: def $w2 killed $w2 def $x2
sxtw x15, w2
sub w8, w1, #1
lsl x9, x15, #3
cmp w1, w2
b.ge LBB1_5
; %bb.1:
ldrsw x11, [x0, x9]
mov x10, x3
sxtw x10, w10
add x12, x0, w3, sxtw #3
add x13, x0, w1, sxtw #3
lsl x14, x10, #3
sub x15, x15, w1, sxtw
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add x13, x13, #8
subs x15, x15, #1
b.eq LBB1_6
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldr x16, [x13]
cmp x16, x11
b.lt LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
add w8, w8, #1
sbfiz x17, x8, #3, #32
ldr x1, [x0, x17]
str x16, [x0, x17]
str x1, [x13]
ldr x16, [x12, x17]
ldr x1, [x13, x14]
str x1, [x12, x17]
str x16, [x13, x14]
b LBB1_2
LBB1_5:
sxtw x10, w3
LBB1_6:
mov x11, x8
sbfiz x11, x11, #3, #32
add x12, x0, x11
ldr x13, [x12, #8]
ldr x14, [x0, x9]
str x14, [x12, #8]
str x13, [x0, x9]
add x10, x0, x10, lsl #3
add x11, x10, x11
ldr x12, [x10, x9]
ldr x13, [x11, #8]
str x12, [x11, #8]
str x13, [x10, x9]
add w0, w8, #1
ret
.cfi_endproc
; -- End function
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x1]
str x9, [x0]
str x8, [x1]
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
sub x8, x29, #92
str x8, [sp, #-16]!
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-92]
sub w9, w8, #1
stur w9, [x29, #-92]
cbz w8, LBB3_31
; %bb.1:
Lloh5:
adrp x22, l_.str.3@PAGE
Lloh6:
add x22, x22, l_.str.3@PAGEOFF
Lloh7:
adrp x28, l_.str.2@PAGE
Lloh8:
add x28, x28, l_.str.2@PAGEOFF
b LBB3_4
LBB3_2: ; in Loop: Header=BB3_4 Depth=1
mov w12, #0
ldur x19, [x29, #-128] ; 8-byte Folded Reload
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
sub sp, sp, #32
stp x25, x12, [sp, #8]
str x26, [sp]
Lloh9:
adrp x0, l_.str.4@PAGE
Lloh10:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add sp, sp, #32
mov sp, x19
ldur w8, [x29, #-92]
sub w9, w8, #1
stur w9, [x29, #-92]
cbz w8, LBB3_31
LBB3_4: ; =>This Loop Header: Depth=1
; Child Loop BB3_6 Depth 2
; Child Loop BB3_10 Depth 2
; Child Loop BB3_15 Depth 2
; Child Loop BB3_18 Depth 3
; Child Loop BB3_27 Depth 2
; Child Loop BB3_30 Depth 2
sub sp, sp, #16
sub x8, x29, #100
str x8, [sp, #8]
sub x8, x29, #96
str x8, [sp]
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
mov x8, sp
stur x8, [x29, #-128] ; 8-byte Folded Spill
ldur w8, [x29, #-96]
add w8, w8, #1
lsl x8, x8, #3
mov x9, x8
Lloh13:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh14:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x19, x9, x8
mov sp, x19
ldur w24, [x29, #-100]
add w20, w24, #1
lsl x8, x20, #4
mov x9, x8
Lloh15:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh16:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x26, x9, x8
mov sp, x26
lsl x8, x20, #3
mov x9, x8
Lloh17:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh18:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x27, x9, x8
mov sp, x27
ldur w23, [x29, #-96]
add w8, w23, #1
add w21, w24, #2
umull x9, w8, w21
add x8, x9, #15
and x8, x8, #0xfffffffffffffff0
Lloh19:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh20:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x8, x9, x8
stur x8, [x29, #-112] ; 8-byte Folded Spill
mov sp, x8
lsl x8, x20, #2
mov x9, x8
Lloh21:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh22:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x8, x9, x8
stur x8, [x29, #-120] ; 8-byte Folded Spill
mov sp, x8
cmp w23, #1
b.lt LBB3_8
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
mov x22, #0
add x24, x19, #8
LBB3_6: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
str x24, [sp, #-16]!
mov x0, x28
bl _scanf
add sp, sp, #16
ldursw x23, [x29, #-96]
add x22, x22, #1
add x24, x24, #8
cmp x22, x23
b.lt LBB3_6
; %bb.7: ; in Loop: Header=BB3_4 Depth=1
ldur w24, [x29, #-100]
Lloh23:
adrp x22, l_.str.3@PAGE
Lloh24:
add x22, x22, l_.str.3@PAGEOFF
LBB3_8: ; in Loop: Header=BB3_4 Depth=1
cmp w24, #1
b.lt LBB3_12
; %bb.9: ; in Loop: Header=BB3_4 Depth=1
add x23, x27, #8
mov x25, x28
add x28, x26, #8
mov x8, x26
mov w26, #1
stp x8, x21, [x29, #-144] ; 16-byte Folded Spill
add x22, x8, x20, lsl #3
ldur x21, [x29, #-120] ; 8-byte Folded Reload
LBB3_10: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
str wzr, [x21, x26, lsl #2]
str x28, [sp, #-16]!
mov x0, x25
bl _scanf
add sp, sp, #16
str x26, [x22, x26, lsl #3]
str x23, [sp, #-16]!
mov x0, x25
bl _scanf
add sp, sp, #16
add x8, x26, #1
ldursw x24, [x29, #-100]
add x23, x23, #8
add x28, x28, #8
cmp x26, x24
mov x26, x8
b.lt LBB3_10
; %bb.11: ; in Loop: Header=BB3_4 Depth=1
ldur w23, [x29, #-96]
Lloh25:
adrp x22, l_.str.3@PAGE
Lloh26:
add x22, x22, l_.str.3@PAGEOFF
mov x28, x25
ldp x26, x21, [x29, #-144] ; 16-byte Folded Reload
LBB3_12: ; in Loop: Header=BB3_4 Depth=1
add w3, w24, #1
mov x0, x26
mov w1, #1
mov x2, x24
bl _quicksort
cmp w23, #1
b.lt LBB3_23
; %bb.13: ; in Loop: Header=BB3_4 Depth=1
mov x25, #0
mov x8, x26
mov w26, #0
add x24, x8, #8
mov w28, #1
b LBB3_15
LBB3_14: ; in Loop: Header=BB3_15 Depth=2
add x9, x28, #1
ldursw x10, [x29, #-96]
cmp x28, x10
mov x28, x9
b.ge LBB3_22
LBB3_15: ; Parent Loop BB3_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB3_18 Depth 3
ldur x8, [x29, #-112] ; 8-byte Folded Reload
madd x23, x28, x21, x8
str x23, [sp, #-16]!
mov x0, x22
bl _scanf
add sp, sp, #16
Lloh27:
adrp x8, ___stdinp@GOTPAGE
Lloh28:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh29:
ldr x0, [x8]
bl _fflush
ldur w8, [x29, #-100]
cmp w8, #1
b.lt LBB3_14
; %bb.16: ; in Loop: Header=BB3_15 Depth=2
mov x9, x8
mov x10, x24
b LBB3_18
LBB3_17: ; in Loop: Header=BB3_18 Depth=3
add x10, x10, #8
subs x9, x9, #1
b.eq LBB3_14
LBB3_18: ; Parent Loop BB3_4 Depth=1
; Parent Loop BB3_15 Depth=2
; => This Inner Loop Header: Depth=3
ldr x11, [x10, x20, lsl #3]
add x12, x11, x23
ldurb w12, [x12, #-1]
cmp w12, #49
b.ne LBB3_17
; %bb.19: ; in Loop: Header=BB3_18 Depth=3
ldr x12, [x27, x11, lsl #3]
subs x12, x12, #1
b.lt LBB3_17
; %bb.20: ; in Loop: Header=BB3_18 Depth=3
ldr x13, [x10]
ldr x14, [x19, x28, lsl #3]
cmp x13, x14
b.lt LBB3_17
; %bb.21: ; in Loop: Header=BB3_15 Depth=2
add w26, w26, #1
add x25, x13, x25
ldur x9, [x29, #-120] ; 8-byte Folded Reload
mov w10, #1
str w10, [x9, x11, lsl #2]
str x12, [x27, x11, lsl #3]
b LBB3_14
LBB3_22: ; in Loop: Header=BB3_4 Depth=1
mov x24, x8
Lloh30:
adrp x28, l_.str.2@PAGE
Lloh31:
add x28, x28, l_.str.2@PAGEOFF
cmp w24, #1
b.ge LBB3_24
b LBB3_2
LBB3_23: ; in Loop: Header=BB3_4 Depth=1
mov w26, #0
mov x25, #0
cmp w24, #1
b.lt LBB3_2
LBB3_24: ; in Loop: Header=BB3_4 Depth=1
add w8, w24, #1
sub x10, x8, #1
cmp x10, #16
b.hs LBB3_26
; %bb.25: ; in Loop: Header=BB3_4 Depth=1
mov w12, #0
mov w9, #1
ldp x19, x14, [x29, #-128] ; 16-byte Folded Reload
b LBB3_29
LBB3_26: ; in Loop: Header=BB3_4 Depth=1
and x11, x10, #0xfffffffffffffff0
orr x9, x11, #0x1
ldp x19, x14, [x29, #-128] ; 16-byte Folded Reload
add x12, x14, #36
movi.2d v0, #0000000000000000
mov x13, x11
movi.2d v1, #0000000000000000
movi.2d v2, #0000000000000000
movi.2d v3, #0000000000000000
LBB3_27: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
ldp q4, q5, [x12, #-32]
ldp q6, q7, [x12], #64
cmeq.4s v4, v4, #0
cmeq.4s v5, v5, #0
cmeq.4s v6, v6, #0
cmeq.4s v7, v7, #0
sub.4s v0, v0, v4
sub.4s v1, v1, v5
sub.4s v2, v2, v6
sub.4s v3, v3, v7
subs x13, x13, #16
b.ne LBB3_27
; %bb.28: ; in Loop: Header=BB3_4 Depth=1
add.4s v0, v1, v0
add.4s v0, v2, v0
add.4s v0, v3, v0
addv.4s s0, v0
fmov w12, s0
cmp x10, x11
b.eq LBB3_3
LBB3_29: ; in Loop: Header=BB3_4 Depth=1
add x10, x14, x9, lsl #2
sub x8, x8, x9
LBB3_30: ; Parent Loop BB3_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w9, [x10], #4
cmp w9, #0
cinc w12, w12, eq
subs x8, x8, #1
b.ne LBB3_30
b LBB3_3
LBB3_31:
ldur x8, [x29, #-88]
Lloh32:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh33:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_33
; %bb.32:
mov w0, #0
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB3_33:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "%ld"
l_.str.3: ; @.str.3
.asciz "%s"
l_.str.4: ; @.str.4
.asciz "%d %lld %d\n"
.subsections_via_symbols
| the_stack_data/162643602.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mtk_pinctrl_process_entry
_mtk_pinctrl_process_entry: ## @mtk_pinctrl_process_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $0, 24(%rsi)
jne LBB0_9
## %bb.1:
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
addq $16, %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
movq %r15, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -24(%rbx)
leaq -32(%rbx), %rbx
je LBB0_3
jmp LBB0_9
LBB0_4:
cmpl $0, -16(%rbx)
jle LBB0_9
## %bb.5:
xorl %r15d, %r15d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
movq 8(%rax,%r15), %rdi
movq %r14, %rsi
callq _strcmp
testq %rax, %rax
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_7 Depth=1
incq %r12
movslq -16(%rbx), %rax
addq $16, %r15
cmpq %rax, %r12
jl LBB0_7
LBB0_9:
movq _ENOENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_10:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movl -4(%rbx), %edi
callq _mtk_sysctl_get
movl -12(%rbx), %edx
movq (%rbx), %rcx
movl (%rcx,%r15), %esi
movzbl -8(%rbx), %ecx
shll %cl, %edx
shll %cl, %esi
notl %edx
andl %eax, %edx
orl %edx, %esi
movl -4(%rbx), %edi
callq _mtk_sysctl_set
xorl %eax, %eax
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _ENOENT,4,2 ## @ENOENT
.no_dead_strip _mtk_pinctrl_process_entry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mtk_pinctrl_process_entry
_mtk_pinctrl_process_entry: ; @mtk_pinctrl_process_entry
.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
ldr x8, [x1, #24]
cbnz x8, LBB0_8
; %bb.1:
mov x19, x3
mov x20, x2
add x21, x1, #16
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, #0 ; =0x0
mov x1, x20
bl _strcmp
cbz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldur x8, [x21, #-24]
sub x21, x21, #32
cbz x8, LBB0_2
b LBB0_8
LBB0_4:
ldur w8, [x21, #-16]
cmp w8, #1
b.lt LBB0_8
; %bb.5:
mov x20, #0 ; =0x0
mov x22, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21]
add x8, x8, x20
ldr x0, [x8, #8]
mov x1, x19
bl _strcmp
cbz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
add x22, x22, #1
ldursw x8, [x21, #-16]
add x20, x20, #16
cmp x22, x8
b.lt LBB0_6
LBB0_8:
Lloh0:
adrp x8, _ENOENT@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
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
LBB0_10:
ldur w0, [x21, #-4]
bl _mtk_sysctl_get
ldp w8, w9, [x21, #-12]
lsl w8, w8, w9
bic w8, w0, w8
ldr x10, [x21]
ldr w10, [x10, x20]
lsl w9, w10, w9
ldur w0, [x21, #-4]
orr w1, w9, w8
bl _mtk_sysctl_set
mov w0, #0 ; =0x0
b LBB0_9
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENOENT,4,2 ; @ENOENT
.no_dead_strip _mtk_pinctrl_process_entry
.subsections_via_symbols
| assembly_file_63818.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _os_ref_release_explicit ## -- Begin function os_ref_release_explicit
.p2align 4, 0x90
_os_ref_release_explicit: ## @os_ref_release_explicit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %edx
movq %rdi, %r15
movl $1, %esi
callq _atomic_fetch_sub_explicit
movq %rax, %rbx
movq %r15, %rdi
movq %rax, %rsi
callq _os_ref_check_underflow
xorl %edi, %edi
decq %rbx
sete %dil
callq ___improbable
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r15, %rdi
movl %r14d, %esi
callq _atomic_load_explicit
LBB0_2:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REFLOG_RELEASE,4,2 ## @REFLOG_RELEASE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _os_ref_release_explicit ; -- Begin function os_ref_release_explicit
.p2align 2
_os_ref_release_explicit: ; @os_ref_release_explicit
.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 x2, x1
mov x20, x0
mov w1, #1
bl _atomic_fetch_sub_explicit
mov x21, x0
mov x0, x20
mov x1, x21
bl _os_ref_check_underflow
subs x21, x21, #1
cset w0, eq
bl ___improbable
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
bl _atomic_load_explicit
LBB0_2:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.comm _REFLOG_RELEASE,4,2 ; @REFLOG_RELEASE
.subsections_via_symbols
| AnghaBench/darwin-xnu/libkern/os/extr_refcnt.c_os_ref_release_explicit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $2, %ebx
jl LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq ___VERIFIER_nondet_int
movl %eax, %ecx
addl %eax, %ecx
addl %ebx, %ecx
movl %eax, %ebx
je LBB0_1
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl ___VERIFIER_nondet_int
mov x19, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp w19, #2
b.lt LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl ___VERIFIER_nondet_int
cmn w19, w0, lsl #1
mov x19, x0
b.eq LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/179830661.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/1255461.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xfs_set_inode_alloc ## -- Begin function xfs_set_inode_alloc
.p2align 4, 0x90
_xfs_set_inode_alloc: ## @xfs_set_inode_alloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r13
callq _M_IGEO
cmpq $0, (%rax)
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
je LBB0_2
## %bb.1:
movl 8(%r13), %ebx
imull 4(%r13), %ebx
movl %ebx, %edi
movl $100, %esi
callq _do_div
movl 12(%r13), %esi
addl %esi, %ebx
decl %ebx
movl %ebx, %edi
## kill: def $esi killed $esi killed $rsi
callq _do_div
movslq %ebx, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB0_2:
movl 12(%r13), %esi
decl %esi
movq %r13, %rdi
callq _XFS_AGB_TO_AGINO
movl %eax, %r15d
movq -48(%rbp), %rbx ## 8-byte Reload
leaq -1(%rbx), %rsi
movq %r13, %rdi
movl %eax, %edx
callq _XFS_AGINO_TO_INO
movl (%r13), %edx
movq _XFS_MOUNT_SMALL_INUMS@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
andl %edx, %esi
movq _XFS_MAXINUMBER_32@GOTPCREL(%rip), %r8
movq _XFS_MOUNT_32BITINODES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, %edi
notl %edi
andl %edx, %edi
orl %edx, %ecx
cmpq (%r8), %rax
cmovlel %edi, %ecx
testl %esi, %esi
cmovel %edi, %ecx
movl %ecx, (%r13)
testq %rbx, %rbx
jle LBB0_3
## %bb.4:
xorl %ebx, %ebx
xorl %r12d, %r12d
jmp LBB0_5
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movq $1, (%rax)
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movq %rax, %rdi
callq _xfs_perag_put
incq %rbx
cmpq %rbx, -48(%rbp) ## 8-byte Folded Reload
je LBB0_13
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq _XFS_AGINO_TO_INO
movq %rax, %r14
movq %r13, %rdi
movq %rbx, %rsi
callq _xfs_perag_get
movq _XFS_MOUNT_32BITINODES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%r13)
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq _XFS_MAXINUMBER_32@GOTPCREL(%rip), %rcx
cmpq (%rcx), %r14
jle LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq $0, (%rax)
jmp LBB0_12
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl $1, (%rax)
incq %r12
cmpq -56(%rbp), %rbx ## 8-byte Folded Reload
jge LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movl $1, 4(%rax)
jmp LBB0_12
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
movl $0, 4(%rax)
jmp LBB0_12
LBB0_13:
movl (%r13), %ecx
jmp LBB0_14
LBB0_3:
xorl %r12d, %r12d
LBB0_14:
movq _XFS_MOUNT_32BITINODES@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
cmoveq -48(%rbp), %r12 ## 8-byte Folded Reload
movq %r12, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XFS_MOUNT_SMALL_INUMS,4,2 ## @XFS_MOUNT_SMALL_INUMS
.comm _XFS_MAXINUMBER_32,8,3 ## @XFS_MAXINUMBER_32
.comm _XFS_MOUNT_32BITINODES,4,2 ## @XFS_MOUNT_32BITINODES
.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 xfs_set_inode_alloc
lCPI0_0:
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__text,regular,pure_instructions
.globl _xfs_set_inode_alloc
.p2align 2
_xfs_set_inode_alloc: ; @xfs_set_inode_alloc
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x1
mov x20, x0
bl _M_IGEO
ldr x8, [x0]
mov x24, x19
cbz x8, LBB0_2
; %bb.1:
ldp w8, w9, [x20, #4]
mul w21, w9, w8
mov x0, x21
mov w1, #100
bl _do_div
ldr w1, [x20, #12]
add w8, w21, w1
sub w21, w8, #1
mov x0, x21
bl _do_div
sxtw x24, w21
LBB0_2:
ldr w8, [x20, #12]
sub w1, w8, #1
mov x0, x20
bl _XFS_AGB_TO_AGINO
mov x21, x0
subs x1, x19, #1
mov x0, x20
mov x2, x21
bl _XFS_AGINO_TO_INO
ldr w8, [x20]
Lloh0:
adrp x9, _XFS_MOUNT_SMALL_INUMS@GOTPAGE
Lloh1:
ldr x9, [x9, _XFS_MOUNT_SMALL_INUMS@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x26, _XFS_MAXINUMBER_32@GOTPAGE
Lloh4:
ldr x26, [x26, _XFS_MAXINUMBER_32@GOTPAGEOFF]
and w9, w9, w8
ldr x10, [x26]
cmp x0, x10
ccmp w9, #0, #4, gt
Lloh5:
adrp x25, _XFS_MOUNT_32BITINODES@GOTPAGE
Lloh6:
ldr x25, [x25, _XFS_MOUNT_32BITINODES@GOTPAGEOFF]
ldr w9, [x25]
bic w10, w8, w9
orr w8, w9, w8
csel w8, w8, w10, ne
str w8, [x20]
cmp x19, #1
b.lt LBB0_13
; %bb.3:
mov x22, #0
mov x27, #0
Lloh7:
adrp x8, lCPI0_0@PAGE
Lloh8:
ldr d8, [x8, lCPI0_0@PAGEOFF]
mov w28, #1
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
str d8, [x0]
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
bl _xfs_perag_put
add x22, x22, #1
cmp x19, x22
b.eq LBB0_12
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x22
mov x2, x21
bl _XFS_AGINO_TO_INO
mov x23, x0
mov x0, x20
mov x1, x22
bl _xfs_perag_get
ldr w8, [x20]
ldr w9, [x25]
tst w9, w8
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x26]
cmp x23, x8
b.le LBB0_9
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
str xzr, [x0]
b LBB0_5
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
str w28, [x0]
add x27, x27, #1
cmp x22, x24
b.ge LBB0_11
; %bb.10: ; in Loop: Header=BB0_6 Depth=1
str w28, [x0, #4]
b LBB0_5
LBB0_11: ; in Loop: Header=BB0_6 Depth=1
str wzr, [x0, #4]
b LBB0_5
LBB0_12:
ldr w8, [x20]
b LBB0_14
LBB0_13:
mov x27, #0
LBB0_14:
ldr w9, [x25]
tst w9, w8
csel x0, x19, x27, eq
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #112 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _XFS_MOUNT_SMALL_INUMS,4,2 ; @XFS_MOUNT_SMALL_INUMS
.comm _XFS_MAXINUMBER_32,8,3 ; @XFS_MAXINUMBER_32
.comm _XFS_MOUNT_32BITINODES,4,2 ; @XFS_MOUNT_32BITINODES
.subsections_via_symbols
| AnghaBench/linux/fs/xfs/extr_xfs_super.c_xfs_set_inode_alloc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocfs2_init_dinode_xa_loc
_ocfs2_init_dinode_xa_loc: ## @ocfs2_init_dinode_xa_loc
.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, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 8(%rdx), %r13
movq %rsi, %rdi
callq _OCFS2_I
movq _OCFS2_INLINE_XATTR_FL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
xorl %edi, %edi
andl (%rax), %ecx
sete %dil
callq _BUG_ON
movq %r12, 40(%rbx)
movq _ocfs2_xa_block_loc_ops@GOTPCREL(%rip), %rax
movq %rax, 32(%rbx)
movq %r14, 24(%rbx)
movq %r15, 16(%rbx)
movl (%r13), %edi
callq _le16_to_cpu
movq %rax, (%rbx)
movq 8(%r14), %rcx
subq %rax, %rcx
addq (%r14), %rcx
movq %rcx, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OCFS2_INLINE_XATTR_FL,4,2 ## @OCFS2_INLINE_XATTR_FL
.comm _ocfs2_xa_block_loc_ops,4,2 ## @ocfs2_xa_block_loc_ops
.no_dead_strip _ocfs2_init_dinode_xa_loc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocfs2_init_dinode_xa_loc
_ocfs2_init_dinode_xa_loc: ; @ocfs2_init_dinode_xa_loc
.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 x23, [x2, #8]
mov x0, x1
bl _OCFS2_I
ldr w8, [x0]
Lloh0:
adrp x9, _OCFS2_INLINE_XATTR_FL@GOTPAGE
Lloh1:
ldr x9, [x9, _OCFS2_INLINE_XATTR_FL@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
cset w0, eq
bl _BUG_ON
Lloh3:
adrp x8, _ocfs2_xa_block_loc_ops@GOTPAGE
Lloh4:
ldr x8, [x8, _ocfs2_xa_block_loc_ops@GOTPAGEOFF]
stp x8, x21, [x22, #32]
stp x19, x20, [x22, #16]
ldr w0, [x23]
bl _le16_to_cpu
ldp x9, x8, [x20]
sub x8, x8, x0
add x8, x8, x9
stp x0, x8, [x22]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OCFS2_INLINE_XATTR_FL,4,2 ; @OCFS2_INLINE_XATTR_FL
.comm _ocfs2_xa_block_loc_ops,4,2 ; @ocfs2_xa_block_loc_ops
.no_dead_strip _ocfs2_init_dinode_xa_loc
.subsections_via_symbols
| AnghaBench/linux/fs/ocfs2/extr_xattr.c_ocfs2_init_dinode_xa_loc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function superio_select
_superio_select: ## @superio_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movl %edi, %ebx
movq _SIO_LDSEL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %ebx, %esi
callq _outb
incl %ebx
movl %r14d, %edi
movl %ebx, %esi
popq %rbx
popq %r14
popq %rbp
jmp _outb ## TAILCALL
.cfi_endproc
## -- End function
.comm _SIO_LDSEL,4,2 ## @SIO_LDSEL
.no_dead_strip _superio_select
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function superio_select
_superio_select: ; @superio_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, x1
mov x20, x0
Lloh0:
adrp x8, _SIO_LDSEL@GOTPAGE
Lloh1:
ldr x8, [x8, _SIO_LDSEL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x20
bl _outb
add w1, w20, #1
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _outb
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIO_LDSEL,4,2 ; @SIO_LDSEL
.no_dead_strip _superio_select
.subsections_via_symbols
| AnghaBench/openwrt/package/kernel/gpio-nct5104d/src/extr_gpio-nct5104d.c_superio_select.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function write_ptl
_write_ptl: ## @write_ptl
.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
movq %rsi, %rbx
movq %rdi, %r14
addq $24, %rsi
callq _write_ptl_layer
movq 24(%rbx), %rdx
movq %r14, %rdi
movl $8, %esi
callq _put_bits
testl %r15d, %r15d
js LBB0_13
## %bb.1:
leal 1(%r15), %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq (%rax,%r13,8), %rdx
movq %r14, %rdi
movl $1, %esi
callq _put_bits
movq 8(%rbx), %rax
movq (%rax,%r13,8), %rdx
movq %r14, %rdi
movl $1, %esi
callq _put_bits
incq %r13
cmpq %r13, %r12
jne LBB0_2
## %bb.3:
leal -2(%r15), %eax
cmpl $6, %eax
ja LBB0_6
## %bb.4:
leal -9(%r15), %r12d
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl $2, %esi
xorl %edx, %edx
callq _put_bits
incl %r12d
jne LBB0_5
LBB0_6:
cmpl $2, %r15d
jl LBB0_13
## %bb.7:
decl %r15d
movl %r15d, %r15d
shlq $3, %r15
xorl %r12d, %r12d
jmp LBB0_8
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
addq $8, %r12
cmpq %r12, %r15
je LBB0_13
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
cmpq $0, (%rax,%r12)
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq (%rbx), %rsi
addq %r12, %rsi
movq %r14, %rdi
callq _write_ptl_layer
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
movq 8(%rbx), %rax
cmpq $0, (%rax,%r12)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movq (%rbx), %rax
movq (%rax,%r12), %rdx
movq %r14, %rdi
movl $8, %esi
callq _put_bits
jmp LBB0_12
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _write_ptl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function write_ptl
_write_ptl: ; @write_ptl
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x2
mov x19, x1
mov x20, x0
add x1, x1, #24
bl _write_ptl_layer
ldr x2, [x19, #24]
mov x0, x20
mov w1, #8 ; =0x8
bl _put_bits
tbnz w21, #31, LBB0_18
; %bb.1:
mov x22, #0 ; =0x0
add w8, w21, #1
ubfiz x23, x8, #3, #32
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr x2, [x8, x22]
mov x0, x20
mov w1, #1 ; =0x1
bl _put_bits
ldr x8, [x19, #8]
ldr x2, [x8, x22]
mov x0, x20
mov w1, #1 ; =0x1
bl _put_bits
add x22, x22, #8
cmp x23, x22
b.ne LBB0_2
; %bb.3:
sub w8, w21, #2
cmp w8, #6
b.hi LBB0_11
; %bb.4:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
cmp w21, #8
b.eq LBB0_11
; %bb.5:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
cmp w21, #7
b.eq LBB0_11
; %bb.6:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
cmp w21, #6
b.eq LBB0_11
; %bb.7:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
cmp w21, #5
b.eq LBB0_11
; %bb.8:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
cmp w21, #4
b.eq LBB0_11
; %bb.9:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
cmp w21, #3
b.eq LBB0_11
; %bb.10:
mov x0, x20
mov w1, #2 ; =0x2
mov x2, #0 ; =0x0
bl _put_bits
LBB0_11:
cmp w21, #2
b.lt LBB0_18
; %bb.12:
mov x22, #0 ; =0x0
sub w8, w21, #1
ubfiz x21, x8, #3, #32
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
add x22, x22, #8
cmp x21, x22
b.eq LBB0_18
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr x8, [x8, x22]
cbz x8, LBB0_16
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [x19]
add x1, x8, x22
mov x0, x20
bl _write_ptl_layer
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [x19, #8]
ldr x8, [x8, x22]
cbz x8, LBB0_13
; %bb.17: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [x19]
ldr x2, [x8, x22]
mov x0, x20
mov w1, #8 ; =0x8
bl _put_bits
b LBB0_13
LBB0_18:
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
.no_dead_strip _write_ptl
.subsections_via_symbols
| assembly_file_39451.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function process_16bit_group_1
_process_16bit_group_1: ## @process_16bit_group_1
.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 %ecx, %r14d
movq %rdx, %r15
movq %rsi, %rbx
movq %rdx, %rdi
callq _is_valid_registers
movq (%r15), %rdx
movl 16(%rdx), %ecx
imull 12(%rdx), %ecx
movl $102, (%rbx)
cmpl $127, 12(%rdx)
jg LBB0_2
## %bb.1:
movl $131, -4(%rbx)
movl 8(%rdx), %eax
leal (%r14,%rax), %esi
addl $192, %esi
orl %eax, %esi
movl %esi, (%rbx)
jmp LBB0_5
LBB0_2:
movl 8(%rdx), %eax
movq _X86R_AX@GOTPCREL(%rip), %rsi
cmpl (%rsi), %eax
jne LBB0_4
## %bb.3:
addl $5, %r14d
movl %r14d, -4(%rbx)
xorl %esi, %esi
jmp LBB0_6
LBB0_4:
movl $129, -4(%rbx)
addl $192, %r14d
orl 8(%rdx), %r14d
movl %r14d, (%rbx)
LBB0_5:
movl $1, %esi
LBB0_6:
leal 1(%rsi), %eax
movl %esi, %edi
movl %ecx, (%rbx,%rdi,4)
cmpl $128, 12(%rdx)
jl LBB0_8
## %bb.7:
sarl $8, %ecx
orl $2, %esi
movl %eax, %eax
movl %ecx, (%rbx,%rax,4)
movl %esi, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _X86R_AX,4,2 ## @X86R_AX
.no_dead_strip _process_16bit_group_1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function process_16bit_group_1
_process_16bit_group_1: ; @process_16bit_group_1
.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 x20, x3
mov x21, x2
mov x19, x1
mov x0, x2
bl _is_valid_registers
ldr x8, [x21]
ldp w9, w10, [x8, #12]
mul w9, w10, w9
mov w10, #102 ; =0x66
str w10, [x19]
ldr w10, [x8, #12]
cmp w10, #127
b.gt LBB0_2
; %bb.1:
mov w10, #131 ; =0x83
stur w10, [x19, #-4]
ldr w10, [x8, #8]
add w11, w20, w10
add w11, w11, #192
b LBB0_5
LBB0_2:
ldr w10, [x8, #8]
Lloh0:
adrp x11, _X86R_AX@GOTPAGE
Lloh1:
ldr x11, [x11, _X86R_AX@GOTPAGEOFF]
Lloh2:
ldr w11, [x11]
cmp w10, w11
b.ne LBB0_4
; %bb.3:
mov w10, #0 ; =0x0
add w11, w20, #5
stur w11, [x19, #-4]
b LBB0_6
LBB0_4:
mov w10, #129 ; =0x81
stur w10, [x19, #-4]
add w10, w20, #192
ldr w11, [x8, #8]
LBB0_5:
orr w10, w11, w10
str w10, [x19]
mov w10, #1 ; =0x1
LBB0_6:
add w0, w10, #1
str w9, [x19, w10, uxtw #2]
ldr w8, [x8, #12]
cmp w8, #128
b.lt LBB0_8
; %bb.7:
asr w8, w9, #8
str w8, [x19, w0, uxtw #2]
orr w0, w10, #0x2
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _X86R_AX,4,2 ; @X86R_AX
.no_dead_strip _process_16bit_group_1
.subsections_via_symbols
| assembly_file_117824.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_i32 ## -- Begin function test_i32
.p2align 4, 0x90
_test_i32: ## @test_i32
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB0_7
## %bb.6:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
movl $8, %ecx
cmpq $40, %rcx
ja LBB0_2
## %bb.1:
movl $8, %eax
addq -16(%rbp), %rax
addl $8, %ecx
movl %ecx, -32(%rbp)
jmp LBB0_3
LBB0_2:
movq -24(%rbp), %rax
leaq 8(%rax), %rcx
movq %rcx, -24(%rbp)
LBB0_3:
movl (%rax), %eax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB0_5
## %bb.4:
addq $208, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _test_i64 ## -- Begin function test_i64
.p2align 4, 0x90
_test_i64: ## @test_i64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB1_7
## %bb.6:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB1_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
movl $8, %ecx
cmpq $40, %rcx
ja LBB1_2
## %bb.1:
movl $8, %eax
addq -16(%rbp), %rax
addl $8, %ecx
movl %ecx, -32(%rbp)
jmp LBB1_3
LBB1_2:
movq -24(%rbp), %rax
leaq 8(%rax), %rcx
movq %rcx, -24(%rbp)
LBB1_3:
movq (%rax), %rax
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB1_5
## %bb.4:
addq $208, %rsp
popq %rbp
retq
LBB1_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _test_struct ## -- Begin function test_struct
.p2align 4, 0x90
_test_struct: ## @test_struct
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq %rsi, -200(%rbp)
movq %rdx, -192(%rbp)
movq %rcx, -184(%rbp)
movq %r8, -176(%rbp)
movq %r9, -168(%rbp)
testb %al, %al
je LBB2_7
## %bb.6:
movaps %xmm0, -160(%rbp)
movaps %xmm1, -144(%rbp)
movaps %xmm2, -128(%rbp)
movaps %xmm3, -112(%rbp)
movaps %xmm4, -96(%rbp)
movaps %xmm5, -80(%rbp)
movaps %xmm6, -64(%rbp)
movaps %xmm7, -48(%rbp)
LBB2_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq -208(%rbp), %rax
movq %rax, -16(%rbp)
leaq 16(%rbp), %rax
movq %rax, -24(%rbp)
movabsq $206158430216, %rax ## imm = 0x3000000008
movq %rax, -32(%rbp)
movl $8, %eax
cmpq $32, %rax
ja LBB2_2
## %bb.1:
movl $8, %ecx
addq -16(%rbp), %rcx
addl $16, %eax
movl %eax, -32(%rbp)
jmp LBB2_3
LBB2_2:
movq -24(%rbp), %rcx
leaq 16(%rcx), %rax
movq %rax, -24(%rbp)
LBB2_3:
movq (%rcx), %rax
movl 8(%rcx), %edx
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB2_5
## %bb.4:
addq $208, %rsp
popq %rbp
retq
LBB2_5:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_i32 ; -- Begin function test_i32
.p2align 2
_test_i32: ; @test_i32
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr w0, [sp, #16]!
ret
.cfi_endproc
; -- End function
.globl _test_i64 ; -- Begin function test_i64
.p2align 2
_test_i64: ; @test_i64
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr x0, [sp, #16]!
ret
.cfi_endproc
; -- End function
.globl _test_struct ; -- Begin function test_struct
.p2align 2
_test_struct: ; @test_struct
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
ldr x0, [sp, #16]
ldr w1, [sp, #24]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/86075331.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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
xorl %ebx, %ebx
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -44(%rbp)
jle LBB0_5
## %bb.1:
movl $-2147483648, %eax ## imm = 0x80000000
leaq L_.str(%rip), %r14
leaq -48(%rbp), %r15
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %eax, %r13d
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -48(%rbp), %eax
cmpl %eax, %r13d
jg LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incl %ebx
cmpl -44(%rbp), %ebx
jl LBB0_2
LBB0_5:
movl $1, %r12d
LBB0_6:
leaq L_.str(%rip), %rdi
movl %r12d, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp 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
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov w20, #0
mov w22, #-2147483648
add x21, sp, #8
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #8]
cmp w22, w8
b.gt LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w9, [sp, #12]
add w20, w20, #1
mov x22, x8
cmp w20, w9
b.lt LBB0_2
LBB0_4:
mov w8, #1
b LBB0_6
LBB0_5:
mov w8, #0
LBB0_6:
str x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/117326887.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sysv_add_link ## -- Begin function sysv_add_link
.p2align 4, 0x90
_sysv_add_link: ## @sysv_add_link
.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 %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, %r14
movl 16(%rdi), %edi
callq _d_inode
movq %rax, %r15
movq (%r14), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movl 8(%r14), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movq %r15, %rdi
callq _dir_pages
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq _SYSV_DIRSIZE@GOTPCREL(%rip), %r12
movq %r15, -64(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq _dir_put_page
movq -96(%rbp), %r13 ## 8-byte Reload
incq %r13
cmpq -88(%rbp), %r13 ## 8-byte Folded Reload
movq -64(%rbp), %r15 ## 8-byte Reload
movq _SYSV_DIRSIZE@GOTPCREL(%rip), %r12
ja LBB0_8
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq %r15, %rdi
movq %r13, %rsi
callq _dir_get_page
movq %rax, %rbx
movq %rax, %rdi
callq _PTR_ERR
movl %eax, %r14d
movq %rbx, %rdi
callq _IS_ERR
testq %rax, %rax
jne LBB0_13
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r13, -96(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _page_address
movq %r12, %rcx
movq %rax, %r12
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %r13
movslq (%rcx), %rax
subq %rax, %r13
js LBB0_7
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
addq %r12, %r13
movq %r12, %rbx
addq $8, %rbx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -8(%rbx)
je LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
leaq -8(%rbx), %r15
movq _EEXIST@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq _SYSV_NAMELEN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 8(%r15), %ecx
movl -44(%rbp), %edi ## 4-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
callq _namecompare
testq %rax, %rax
jne LBB0_11
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
addq $16, %rbx
addl $16, %r12d
addq $16, %r15
cmpq %r15, %r13
jae LBB0_4
jmp LBB0_7
LBB0_9:
movq -56(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _page_offset
movl %eax, %r15d
movq %r13, %rdi
callq _page_address
subl %eax, %r15d
addl %r12d, %r15d
movq %r13, %rdi
callq _lock_page
movq _SYSV_DIRSIZE@GOTPCREL(%rip), %r12
movl (%r12), %edx
movq %r13, %rdi
movl %r15d, %esi
callq _sysv_prepare_chunk
testl %eax, %eax
je LBB0_10
## %bb.14:
movl %eax, %r14d
movq %r13, %rdi
callq _unlock_page
jmp LBB0_12
LBB0_11:
negl %r14d
movq -56(%rbp), %r13 ## 8-byte Reload
jmp LBB0_12
LBB0_10:
movl (%rbx), %edi
movq -72(%rbp), %rsi ## 8-byte Reload
movl -44(%rbp), %r14d ## 4-byte Reload
movl %r14d, %edx
callq _memcpy
movl (%rbx), %edi
addl %r14d, %edi
movl (%r12), %edx
subl %r14d, %edx
addl $-2, %edx
xorl %esi, %esi
callq _memset
movq -80(%rbp), %r14 ## 8-byte Reload
movl 12(%r14), %edi
callq _SYSV_SB
movl 8(%r14), %esi
movl %eax, %edi
callq _cpu_to_fs16
movq %rax, -8(%rbx)
movl (%r12), %edx
movq %r13, %rdi
movl %r15d, %esi
callq _dir_commit_chunk
movl %eax, %r14d
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _current_time
movl %eax, (%rbx)
movl %eax, 4(%rbx)
movq %rbx, %rdi
callq _mark_inode_dirty
LBB0_12:
movq %r13, %rdi
callq _dir_put_page
LBB0_13:
movl %r14d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
xorl %r14d, %r14d
xorl %eax, %eax
callq _BUG
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r14d
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _SYSV_DIRSIZE,4,2 ## @SYSV_DIRSIZE
.comm _EEXIST,4,2 ## @EEXIST
.comm _SYSV_NAMELEN,4,2 ## @SYSV_NAMELEN
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sysv_add_link ; -- Begin function sysv_add_link
.p2align 2
_sysv_add_link: ; @sysv_add_link
.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
str x1, [sp, #8] ; 8-byte Folded Spill
mov x20, x0
ldr w0, [x0, #16]
bl _d_inode
mov x19, x0
ldr x23, [x20]
ldr w22, [x20, #8]
bl _dir_pages
str x0, [sp, #16] ; 8-byte Folded Spill
mov x25, #0
Lloh0:
adrp x24, _SYSV_DIRSIZE@GOTPAGE
Lloh1:
ldr x24, [x24, _SYSV_DIRSIZE@GOTPAGEOFF]
Lloh2:
adrp x21, _SYSV_NAMELEN@GOTPAGE
Lloh3:
ldr x21, [x21, _SYSV_NAMELEN@GOTPAGEOFF]
str x19, [sp, #24] ; 8-byte Folded Spill
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _dir_put_page
add x25, x25, #1
ldp x8, x19, [sp, #16] ; 16-byte Folded Reload
cmp x25, x8
Lloh4:
adrp x24, _SYSV_DIRSIZE@GOTPAGE
Lloh5:
ldr x24, [x24, _SYSV_DIRSIZE@GOTPAGEOFF]
b.hi LBB0_14
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
mov x0, x19
mov x1, x25
bl _dir_get_page
mov x20, x0
bl _PTR_ERR
mov x26, x0
mov x0, x20
bl _IS_ERR
cbnz x0, LBB0_13
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x20
bl _page_address
Lloh6:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh7:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldrsw x9, [x24]
subs x8, x8, x9
b.mi LBB0_1
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
mov x26, x0
add x24, x0, x8
add x19, x0, #8
LBB0_5: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x28, x19
ldr x8, [x28, #-8]!
cbz x8, LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
Lloh9:
adrp x8, _EEXIST@GOTPAGE
Lloh10:
ldr x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh11:
ldr w27, [x8]
ldr w1, [x21]
ldr w3, [x28, #8]
mov x0, x22
mov x2, x23
bl _namecompare
cbnz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_5 Depth=2
add x19, x19, #16
add w26, w26, #16
add x8, x28, #16
cmp x24, x8
b.hs LBB0_5
b LBB0_1
LBB0_8:
mov x0, x20
bl _page_offset
mov x24, x0
mov x0, x20
bl _page_address
sub w8, w24, w0
add w24, w8, w26
mov x0, x20
bl _lock_page
Lloh12:
adrp x25, _SYSV_DIRSIZE@GOTPAGE
Lloh13:
ldr x25, [x25, _SYSV_DIRSIZE@GOTPAGEOFF]
ldr w2, [x25]
mov x0, x20
mov x1, x24
bl _sysv_prepare_chunk
cbz w0, LBB0_11
; %bb.9:
mov x26, x0
mov x0, x20
bl _unlock_page
b LBB0_12
LBB0_10:
neg w26, w27
b LBB0_12
LBB0_11:
ldr w0, [x19]
mov x1, x23
mov x2, x22
bl _memcpy
ldr w8, [x19]
add w0, w8, w22
ldr w8, [x25]
sub w8, w8, w22
sub w2, w8, #2
mov w1, #0
bl _memset
ldr x21, [sp, #8] ; 8-byte Folded Reload
ldr w0, [x21, #12]
bl _SYSV_SB
ldr w1, [x21, #8]
bl _cpu_to_fs16
stur x0, [x19, #-8]
ldr w2, [x25]
mov x0, x20
mov x1, x24
bl _dir_commit_chunk
mov x26, x0
ldr x19, [sp, #24] ; 8-byte Folded Reload
mov x0, x19
bl _current_time
stp w0, w0, [x19]
mov x0, x19
bl _mark_inode_dirty
LBB0_12:
mov x0, x20
bl _dir_put_page
LBB0_13:
mov x0, x26
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_14:
bl _BUG
Lloh14:
adrp x8, _EINVAL@GOTPAGE
Lloh15:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
neg w26, w8
b LBB0_13
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _SYSV_DIRSIZE,4,2 ; @SYSV_DIRSIZE
.comm _EEXIST,4,2 ; @EEXIST
.comm _SYSV_NAMELEN,4,2 ; @SYSV_NAMELEN
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/linux/fs/sysv/extr_dir.c_sysv_add_link.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lmakeindex
_lmakeindex: ## @lmakeindex
.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, %r15
leaq L_.str(%rip), %rdx
movl $1, %esi
callq _luaL_checkudata
movq %rax, %rdi
addq $16, %rax
movq %rax, -104(%rbp)
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _get_length
addl $-5, %eax
cltq
movq %rax, -96(%rbp)
movl $0, -88(%rbp)
movq $0, -80(%rbp)
movq %r15, %rdi
callq _lua_newtable
leaq -104(%rbp), %rbx
leaq -48(%rbp), %r12
jmp LBB0_1
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edx
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
movq -96(%rbp), %r12
subq -56(%rbp), %r12 ## 8-byte Folded Reload
shrq $2, %r12
movq _BSON_TYPE_SHIFT@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
shll %cl, %r12d
orl %r13d, %r12d
movq %r15, %rdi
movq %rbx, %rsi
callq _read_bytes
movq -48(%rbp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq _lua_pushlstring
movq %r15, %rdi
movl %r12d, %esi
leaq -48(%rbp), %r12
callq _lua_pushinteger
movq %r15, %rdi
movl $-3, %esi
callq _lua_rawset
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -104(%rbp)
je LBB0_15
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _read_byte
movl %eax, %r13d
movq $0, -48(%rbp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq _read_cstring
movq %rax, %r14
leal -128(%r13), %eax
cmpl $18, %eax
ja LBB0_11
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $8, %edx
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _read_int32
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _read_bytes
jmp LBB0_14
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _read_int32
## kill: def $eax killed $eax def $rax
leal -4(%rax), %edx
jmp LBB0_5
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
leaq L_.str.1(%rip), %rsi
movl %r13d, %edx
callq _luaL_error
movq %r15, %rdi
movl $1, %esi
callq _lua_pop
jmp LBB0_14
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movq $0, -72(%rbp)
movq $0, -64(%rbp)
movq %r15, %rdi
movq %rbx, %rsi
leaq -72(%rbp), %rdx
callq _read_cstring
movq %r15, %rdi
movq %rbx, %rsi
leaq -64(%rbp), %rdx
callq _read_cstring
jmp LBB0_14
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl $12, %edx
jmp LBB0_13
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl $4, %edx
jmp LBB0_13
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _read_int32
## kill: def $eax killed $eax def $rax
leal 12(%rax), %edx
jmp LBB0_5
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _read_int32
## kill: def $eax killed $eax def $rax
leal 1(%rax), %edx
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _read_bytes
jmp LBB0_14
LBB0_15:
movq %r15, %rdi
movl $1, %esi
callq _lua_setuservalue
movq %r15, %rdi
movl $1, %esi
callq _lua_settop
movl $1, %eax
addq $72, %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_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_13
.long L0_0_set_3
.long L0_0_set_3
.long L0_0_set_8
.long L0_0_set_13
.long L0_0_set_7
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_14
.long L0_0_set_3
.long L0_0_set_13
.long L0_0_set_9
.long L0_0_set_4
.long L0_0_set_10
.long L0_0_set_13
.long L0_0_set_4
.long L0_0_set_12
.long L0_0_set_6
.long L0_0_set_4
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "bson"
L_.str.1: ## @.str.1
.asciz "Invalid bson type : %d"
.comm _BSON_TYPE_SHIFT,4,2 ## @BSON_TYPE_SHIFT
.no_dead_strip _lmakeindex
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lmakeindex
_lmakeindex: ; @lmakeindex
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov w1, #1
bl _luaL_checkudata
mov x20, x0
add x8, x0, #16
str x8, [sp, #32]
bl _get_length
sub w8, w0, #5
sxtw x8, w8
str x8, [sp, #40]
str wzr, [sp, #48]
str xzr, [sp, #56]
mov x0, x19
bl _lua_newtable
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
Lloh4:
adrp x24, _BSON_TYPE_SHIFT@GOTPAGE
Lloh5:
ldr x24, [x24, _BSON_TYPE_SHIFT@GOTPAGEOFF]
Lloh6:
adrp x25, lJTI0_0@PAGE
Lloh7:
add x25, x25, lJTI0_0@PAGEOFF
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
mov w2, #1
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #40]
sub x8, x8, x20
lsr x8, x8, #2
ldr w9, [x24]
lsl w8, w8, w9
orr w22, w8, w22
add x1, sp, #32
mov x0, x19
bl _read_bytes
ldr x2, [sp, #24]
mov x0, x19
mov x1, x23
bl _lua_pushlstring
mov x0, x19
mov x1, x22
bl _lua_pushinteger
mov x0, x19
mov w1, #-3
bl _lua_rawset
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #32]
cbz x8, LBB0_15
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x1, sp, #32
mov x0, x19
bl _read_byte
mov x22, x0
str xzr, [sp, #24]
add x1, sp, #32
add x2, sp, #24
mov x0, x19
bl _read_cstring
sub w8, w22, #128
cmp w8, #18
b.hi LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x23, x0
mov w2, #8
adr x9, LBB0_1
ldrb w10, [x25, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #32
mov x0, x19
bl _read_int32
mov x2, x0
b LBB0_14
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #32
mov x0, x19
bl _read_int32
sub w2, w0, #4
b LBB0_14
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov x1, x21
mov x2, x22
bl _luaL_error
mov x0, x19
mov w1, #1
bl _lua_pop
b LBB0_3
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
stp xzr, xzr, [sp, #8]
add x1, sp, #32
add x2, sp, #16
mov x0, x19
bl _read_cstring
add x1, sp, #32
add x2, sp, #8
mov x0, x19
bl _read_cstring
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov w2, #12
b LBB0_2
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
mov w2, #4
b LBB0_2
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #32
mov x0, x19
bl _read_int32
add w2, w0, #12
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #32
mov x0, x19
bl _read_int32
add w2, w0, #1
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
add x1, sp, #32
mov x0, x19
bl _read_bytes
b LBB0_3
LBB0_15:
mov x0, x19
mov w1, #1
bl _lua_setuservalue
mov x0, x19
mov w1, #1
bl _lua_settop
mov w0, #1
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_6-LBB0_1)>>2
.byte (LBB0_6-LBB0_1)>>2
.byte (LBB0_9-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_10-LBB0_1)>>2
.byte (LBB0_3-LBB0_1)>>2
.byte (LBB0_3-LBB0_1)>>2
.byte (LBB0_3-LBB0_1)>>2
.byte (LBB0_6-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_11-LBB0_1)>>2
.byte (LBB0_7-LBB0_1)>>2
.byte (LBB0_12-LBB0_1)>>2
.byte (LBB0_2-LBB0_1)>>2
.byte (LBB0_7-LBB0_1)>>2
.byte (LBB0_1-LBB0_1)>>2
.byte (LBB0_13-LBB0_1)>>2
.byte (LBB0_7-LBB0_1)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "bson"
l_.str.1: ; @.str.1
.asciz "Invalid bson type : %d"
.comm _BSON_TYPE_SHIFT,4,2 ; @BSON_TYPE_SHIFT
.no_dead_strip _lmakeindex
.subsections_via_symbols
| AnghaBench/skynet/lualib-src/extr_lua-bson.c_lmakeindex.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _httpJsonTestBuf ## -- Begin function httpJsonTestBuf
.p2align 4, 0x90
_httpJsonTestBuf: ## @httpJsonTestBuf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rax
addq (%rdi), %rax
subq 8(%rdi), %rax
cmpq 16(%rdi), %rax
jge LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
xorl %esi, %esi
popq %rbp
jmp _httpWriteJsonBufBody ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _httpJsonTestBuf ; -- Begin function httpJsonTestBuf
.p2align 2
_httpJsonTestBuf: ; @httpJsonTestBuf
.cfi_startproc
; %bb.0:
ldp x8, x9, [x0]
add x8, x8, w1, sxtw
ldr x10, [x0, #16]
sub x8, x8, x9
cmp x8, x10
b.ge LBB0_2
; %bb.1:
ret
LBB0_2:
mov w1, #0
b _httpWriteJsonBufBody
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/TDengine/src/modules/http/src/extr_httpJson.c_httpJsonTestBuf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function amd_get_group_pins
_amd_get_group_pins: ## @amd_get_group_pins
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movl %esi, %ebx
callq _pinctrl_dev_get_drvdata
movq (%rax), %rcx
movl %ebx, %edx
shlq $4, %rdx
movq (%rcx,%rdx), %rcx
movq %rcx, (%r15)
movq (%rax), %rax
movl 8(%rax,%rdx), %eax
movl %eax, (%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _amd_get_group_pins
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function amd_get_group_pins
_amd_get_group_pins: ; @amd_get_group_pins
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
bl _pinctrl_dev_get_drvdata
ldr x8, [x0]
mov w9, w21
lsl x9, x9, #4
ldr x8, [x8, x9]
str x8, [x20]
ldr x8, [x0]
add x8, x8, x9
ldr w8, [x8, #8]
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _amd_get_group_pins
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/extr_pinctrl-amd.c_amd_get_group_pins.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _move ## -- Begin function move
.p2align 4, 0x90
_move: ## @move
.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, (%rdi)
movl $1, %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 _move ; -- Begin function move
.p2align 2
_move: ; @move
.cfi_startproc
; %bb.0:
mov w8, #1
str w8, [x0]
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/lab/engine/code/tools/lcc/src/extr_gen.c_move.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _s5p_mfc_init_hw_ops ## -- Begin function s5p_mfc_init_hw_ops
.p2align 4, 0x90
_s5p_mfc_init_hw_ops: ## @s5p_mfc_init_hw_ops
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _IS_MFCV6_PLUS
testq %rax, %rax
je LBB0_2
## %bb.1:
xorl %eax, %eax
callq _s5p_mfc_init_hw_ops_v6
movq _S5P_FIMV_ERR_WARNINGS_START_V6@GOTPCREL(%rip), %rcx
jmp LBB0_3
LBB0_2:
xorl %eax, %eax
callq _s5p_mfc_init_hw_ops_v5
movq _S5P_FIMV_ERR_WARNINGS_START@GOTPCREL(%rip), %rcx
LBB0_3:
movq _s5p_mfc_ops@GOTPCREL(%rip), %rdx
movl %eax, (%rdx)
movl (%rcx), %ecx
movl %ecx, 4(%rbx)
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _s5p_mfc_ops,4,2 ## @s5p_mfc_ops
.comm _S5P_FIMV_ERR_WARNINGS_START_V6,4,2 ## @S5P_FIMV_ERR_WARNINGS_START_V6
.comm _S5P_FIMV_ERR_WARNINGS_START,4,2 ## @S5P_FIMV_ERR_WARNINGS_START
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _s5p_mfc_init_hw_ops ; -- Begin function s5p_mfc_init_hw_ops
.p2align 2
_s5p_mfc_init_hw_ops: ; @s5p_mfc_init_hw_ops
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _IS_MFCV6_PLUS
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x20, _S5P_FIMV_ERR_WARNINGS_START_V6@GOTPAGE
Lloh1:
ldr x20, [x20, _S5P_FIMV_ERR_WARNINGS_START_V6@GOTPAGEOFF]
bl _s5p_mfc_init_hw_ops_v6
b LBB0_3
LBB0_2:
Lloh2:
adrp x20, _S5P_FIMV_ERR_WARNINGS_START@GOTPAGE
Lloh3:
ldr x20, [x20, _S5P_FIMV_ERR_WARNINGS_START@GOTPAGEOFF]
bl _s5p_mfc_init_hw_ops_v5
LBB0_3:
Lloh4:
adrp x8, _s5p_mfc_ops@GOTPAGE
Lloh5:
ldr x8, [x8, _s5p_mfc_ops@GOTPAGEOFF]
Lloh6:
str w0, [x8]
ldr w8, [x20]
stp w0, w8, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _s5p_mfc_ops,4,2 ; @s5p_mfc_ops
.comm _S5P_FIMV_ERR_WARNINGS_START_V6,4,2 ; @S5P_FIMV_ERR_WARNINGS_START_V6
.comm _S5P_FIMV_ERR_WARNINGS_START,4,2 ; @S5P_FIMV_ERR_WARNINGS_START
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/s5p-mfc/extr_s5p_mfc_opr.c_s5p_mfc_init_hw_ops.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ssm4567_mute
_ssm4567_mute: ## @ssm4567_mute
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
movl (%rdi), %edi
callq _snd_soc_component_get_drvdata
testl %ebx, %ebx
movq _SSM4567_DAC_MUTE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
cmovnel %edx, %ebx
movl (%rax), %edi
movq _SSM4567_REG_DAC_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %ebx, %ecx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _regmap_update_bits ## TAILCALL
.cfi_endproc
## -- End function
.comm _SSM4567_DAC_MUTE,4,2 ## @SSM4567_DAC_MUTE
.comm _SSM4567_REG_DAC_CTRL,4,2 ## @SSM4567_REG_DAC_CTRL
.no_dead_strip _ssm4567_mute
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ssm4567_mute
_ssm4567_mute: ; @ssm4567_mute
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr w0, [x0]
bl _snd_soc_component_get_drvdata
Lloh0:
adrp x8, _SSM4567_DAC_MUTE@GOTPAGE
Lloh1:
ldr x8, [x8, _SSM4567_DAC_MUTE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
cmp w19, #0
csel w3, wzr, w2, eq
Lloh3:
adrp x8, _SSM4567_REG_DAC_CTRL@GOTPAGE
Lloh4:
ldr x8, [x8, _SSM4567_REG_DAC_CTRL@GOTPAGEOFF]
ldr w0, [x0]
Lloh5:
ldr w1, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _regmap_update_bits
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SSM4567_DAC_MUTE,4,2 ; @SSM4567_DAC_MUTE
.comm _SSM4567_REG_DAC_CTRL,4,2 ; @SSM4567_REG_DAC_CTRL
.no_dead_strip _ssm4567_mute
.subsections_via_symbols
| AnghaBench/linux/sound/soc/codecs/extr_ssm4567.c_ssm4567_mute.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mt76x02_mac_wcid_setup ## -- Begin function mt76x02_mac_wcid_setup
.p2align 4, 0x90
_mt76x02_mac_wcid_setup: ## @mt76x02_mac_wcid_setup
.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, %r15
movl %edx, %ebx
movl %esi, %r12d
movq %rdi, %r14
movl $0, -48(%rbp)
movq _MT_WCID_ATTR_BSS_IDX@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edx, %esi
andl $7, %esi
callq _FIELD_PREP
movl %eax, %r13d
movq _MT_WCID_ATTR_BSS_IDX_EXT@GOTPCREL(%rip), %rax
movl (%rax), %edi
shrl $3, %ebx
andl $1, %ebx
movl %ebx, %esi
callq _FIELD_PREP
orl %eax, %r13d
movl %r12d, %edi
callq _MT_WCID_ATTR
movq %r14, %rdi
movl %eax, %esi
movl %r13d, %edx
callq _mt76_wr
cmpl $127, %r12d
jg LBB0_4
## %bb.1:
testq %r15, %r15
je LBB0_3
## %bb.2:
movq _ETH_ALEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %edi, %edi
movq %r15, %rsi
callq _memcpy
LBB0_3:
movl %r12d, %edi
callq _MT_WCID_ADDR
leaq -48(%rbp), %rdx
movq %r14, %rdi
movl %eax, %esi
movl $4, %ecx
callq _mt76_wr_copy
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MT_WCID_ATTR_BSS_IDX,4,2 ## @MT_WCID_ATTR_BSS_IDX
.comm _MT_WCID_ATTR_BSS_IDX_EXT,4,2 ## @MT_WCID_ATTR_BSS_IDX_EXT
.comm _ETH_ALEN,4,2 ## @ETH_ALEN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mt76x02_mac_wcid_setup ; -- Begin function mt76x02_mac_wcid_setup
.p2align 2
_mt76x02_mac_wcid_setup: ; @mt76x02_mac_wcid_setup
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x20, x1
mov x19, x0
str wzr, [sp, #8]
Lloh0:
adrp x8, _MT_WCID_ATTR_BSS_IDX@GOTPAGE
Lloh1:
ldr x8, [x8, _MT_WCID_ATTR_BSS_IDX@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
and w1, w2, #0x7
bl _FIELD_PREP
mov x23, x0
Lloh3:
adrp x8, _MT_WCID_ATTR_BSS_IDX_EXT@GOTPAGE
Lloh4:
ldr x8, [x8, _MT_WCID_ATTR_BSS_IDX_EXT@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ubfx w1, w22, #3, #1
bl _FIELD_PREP
orr w22, w0, w23
mov x0, x20
bl _MT_WCID_ATTR
mov x1, x0
mov x0, x19
mov x2, x22
bl _mt76_wr
cmp w20, #127
b.gt LBB0_4
; %bb.1:
cbz x21, LBB0_3
; %bb.2:
Lloh6:
adrp x8, _ETH_ALEN@GOTPAGE
Lloh7:
ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov w0, #0
mov x1, x21
bl _memcpy
LBB0_3:
mov x0, x20
bl _MT_WCID_ADDR
mov x1, x0
add x2, sp, #8
mov x0, x19
mov w3, #4
bl _mt76_wr_copy
LBB0_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _MT_WCID_ATTR_BSS_IDX,4,2 ; @MT_WCID_ATTR_BSS_IDX
.comm _MT_WCID_ATTR_BSS_IDX_EXT,4,2 ; @MT_WCID_ATTR_BSS_IDX_EXT
.comm _ETH_ALEN,4,2 ; @ETH_ALEN
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/mediatek/mt76/extr_mt76x02_mac.c_mt76x02_mac_wcid_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_status_worktree_init__first_commit_in_progress ## -- Begin function test_status_worktree_init__first_commit_in_progress
.p2align 4, 0x90
_test_status_worktree_init__first_commit_in_progress: ## @test_status_worktree_init__first_commit_in_progress
.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 $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq _cleanup_new_repo@GOTPCREL(%rip), %rdi
leaq L_.str(%rip), %rbx
movq %rbx, %rsi
callq _cl_set_cleanup
leaq -24(%rbp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq _git_repository_init
movl %eax, %edi
callq _cl_git_pass
leaq L_.str.1(%rip), %rdi
leaq L_.str.2(%rip), %rsi
callq _cl_git_mkfile
leaq -48(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq -24(%rbp), %rdi
movq _cb_status__single@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdx
callq _git_status_foreach
movl %eax, %edi
callq _cl_git_pass
movl -40(%rbp), %esi
movl $1, %edi
callq _cl_assert_equal_i
movq -48(%rbp), %rax
movq _GIT_STATUS_WT_NEW@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _cl_assert
movq -24(%rbp), %rsi
leaq -32(%rbp), %rdi
callq _git_repository_index
movl %eax, %edi
callq _cl_git_pass
movq -32(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _git_index_add_bypath
movl %eax, %edi
callq _cl_git_pass
movq -32(%rbp), %rdi
callq _git_index_write
movl %eax, %edi
callq _cl_git_pass
movq %rbx, %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq -24(%rbp), %rdi
movl (%r14), %esi
movq %rbx, %rdx
callq _git_status_foreach
movl %eax, %edi
callq _cl_git_pass
movl -40(%rbp), %esi
movl $1, %edi
callq _cl_assert_equal_i
movq -48(%rbp), %rax
movq _GIT_STATUS_INDEX_NEW@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _cl_assert
movq -32(%rbp), %rdi
callq _git_index_free
movq -24(%rbp), %rdi
callq _git_repository_free
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cleanup_new_repo,4,2 ## @cleanup_new_repo
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "getting_started"
L_.str.1: ## @.str.1
.asciz "getting_started/testfile.txt"
L_.str.2: ## @.str.2
.asciz "content\n"
.comm _cb_status__single,4,2 ## @cb_status__single
.comm _GIT_STATUS_WT_NEW,8,3 ## @GIT_STATUS_WT_NEW
L_.str.3: ## @.str.3
.asciz "testfile.txt"
.comm _GIT_STATUS_INDEX_NEW,8,3 ## @GIT_STATUS_INDEX_NEW
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test_status_worktree_init__first_commit_in_progress ; -- Begin function test_status_worktree_init__first_commit_in_progress
.p2align 2
_test_status_worktree_init__first_commit_in_progress: ; @test_status_worktree_init__first_commit_in_progress
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, _cleanup_new_repo@GOTPAGE
Lloh1:
ldr x0, [x0, _cleanup_new_repo@GOTPAGEOFF]
Lloh2:
adrp x19, l_.str@PAGE
Lloh3:
add x19, x19, l_.str@PAGEOFF
mov x1, x19
bl _cl_set_cleanup
add x0, sp, #24
mov x1, x19
mov w2, #0
bl _git_repository_init
bl _cl_git_pass
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
bl _cl_git_mkfile
mov x0, sp
mov w1, #0
mov w2, #16
bl _memset
ldr x0, [sp, #24]
Lloh8:
adrp x19, _cb_status__single@GOTPAGE
Lloh9:
ldr x19, [x19, _cb_status__single@GOTPAGEOFF]
ldr w1, [x19]
mov x2, sp
bl _git_status_foreach
bl _cl_git_pass
ldr w1, [sp, #8]
mov w0, #1
bl _cl_assert_equal_i
ldr x8, [sp]
Lloh10:
adrp x9, _GIT_STATUS_WT_NEW@GOTPAGE
Lloh11:
ldr x9, [x9, _GIT_STATUS_WT_NEW@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _cl_assert
ldr x1, [sp, #24]
add x0, sp, #16
bl _git_repository_index
bl _cl_git_pass
ldr x0, [sp, #16]
Lloh13:
adrp x1, l_.str.3@PAGE
Lloh14:
add x1, x1, l_.str.3@PAGEOFF
bl _git_index_add_bypath
bl _cl_git_pass
ldr x0, [sp, #16]
bl _git_index_write
bl _cl_git_pass
mov x0, sp
mov w1, #0
mov w2, #16
bl _memset
ldr x0, [sp, #24]
ldr w1, [x19]
mov x2, sp
bl _git_status_foreach
bl _cl_git_pass
ldr w1, [sp, #8]
mov w0, #1
bl _cl_assert_equal_i
ldr x8, [sp]
Lloh15:
adrp x9, _GIT_STATUS_INDEX_NEW@GOTPAGE
Lloh16:
ldr x9, [x9, _GIT_STATUS_INDEX_NEW@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _cl_assert
ldr x0, [sp, #16]
bl _git_index_free
ldr x0, [sp, #24]
bl _git_repository_free
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _cleanup_new_repo,4,2 ; @cleanup_new_repo
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "getting_started"
l_.str.1: ; @.str.1
.asciz "getting_started/testfile.txt"
l_.str.2: ; @.str.2
.asciz "content\n"
.comm _cb_status__single,4,2 ; @cb_status__single
.comm _GIT_STATUS_WT_NEW,8,3 ; @GIT_STATUS_WT_NEW
l_.str.3: ; @.str.3
.asciz "testfile.txt"
.comm _GIT_STATUS_INDEX_NEW,8,3 ; @GIT_STATUS_INDEX_NEW
.subsections_via_symbols
| AnghaBench/libgit2/tests/status/extr_worktree_init.c_test_status_worktree_init__first_commit_in_progress.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 CheckGammaEstimation
LCPI0_0:
.quad 0x3f50624dd2f1a9fc ## double 0.001
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_CheckGammaEstimation: ## @CheckGammaEstimation
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
callq _DbgThread
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movl %eax, %edi
movq %rbx, %rsi
callq _cmsEstimateGamma
movq %rax, %rbx
leaq L_.str(%rip), %rdi
callq _SubTest
subq %r14, %rbx
movq %rbx, %rdi
callq _fabs
xorl %eax, %eax
ucomisd LCPI0_0(%rip), %xmm0
setbe %al
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Gamma estimation"
.no_dead_strip _CheckGammaEstimation
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function CheckGammaEstimation
_CheckGammaEstimation: ; @CheckGammaEstimation
.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 _DbgThread
mov x8, #43516
movk x8, #54001, lsl #16
movk x8, #25165, lsl #32
movk x8, #16208, lsl #48
fmov d8, x8
mov x1, x20
fmov d0, d8
bl _cmsEstimateGamma
mov x20, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _SubTest
sub x0, x20, x19
bl _fabs
fcmp d0, d8
cset w0, le
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 AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Gamma estimation"
.no_dead_strip _CheckGammaEstimation
.subsections_via_symbols
| AnghaBench/sumatrapdf/ext/lcms2/testbed/extr_testcms2.c_CheckGammaEstimation.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvmppc_free_pgtable_radix ## -- Begin function kvmppc_free_pgtable_radix
.p2align 4, 0x90
_kvmppc_free_pgtable_radix: ## @kvmppc_free_pgtable_radix
.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 _PTRS_PER_PGD@GOTPCREL(%rip), %r12
cmpq $0, (%r12)
je LBB0_5
## %bb.1:
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %r13
addq $4, %rbx
cmpq (%r12), %r13
jae LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
callq _pgd_present
testl %eax, %eax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
xorl %esi, %esi
callq _pud_offset
movq %r15, %rdi
movq %rax, %rsi
movl %r14d, %edx
callq _kvmppc_unmap_free_pud
movq %rbx, %rdi
callq _pgd_clear
jmp LBB0_4
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PTRS_PER_PGD,8,3 ## @PTRS_PER_PGD
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvmppc_free_pgtable_radix ; -- Begin function kvmppc_free_pgtable_radix
.p2align 2
_kvmppc_free_pgtable_radix: ; @kvmppc_free_pgtable_radix
.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
Lloh0:
adrp x22, _PTRS_PER_PGD@GOTPAGE
Lloh1:
ldr x22, [x22, _PTRS_PER_PGD@GOTPAGEOFF]
ldr x8, [x22]
cbz x8, LBB0_5
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
mov x23, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x23, x23, #1
add x20, x20, #4
ldr x8, [x22]
cmp x23, x8
b.hs LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
bl _pgd_present
cbz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov w1, #0
bl _pud_offset
mov x1, x0
mov x0, x21
mov x2, x19
bl _kvmppc_unmap_free_pud
mov x0, x20
bl _pgd_clear
b LBB0_2
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PTRS_PER_PGD,8,3 ; @PTRS_PER_PGD
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_radix.c_kvmppc_free_pgtable_radix.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sh_veu_mmap
_sh_veu_mmap: ## @sh_veu_mmap
.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
movq (%rdi), %rax
movq (%rax), %rax
movl (%rax), %esi
popq %rbp
jmp _v4l2_m2m_mmap ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sh_veu_mmap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sh_veu_mmap
_sh_veu_mmap: ; @sh_veu_mmap
.cfi_startproc
; %bb.0:
mov x2, x1
ldr x8, [x0]
ldr x8, [x8]
ldr w1, [x8]
b _v4l2_m2m_mmap
.cfi_endproc
; -- End function
.no_dead_strip _sh_veu_mmap
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/extr_sh_veu.c_sh_veu_mmap.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 A2XX_PA_SU_POINT_MINMAX_MAX
LCPI0_0:
.quad 0x4030000000000000 ## double 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_A2XX_PA_SU_POINT_MINMAX_MAX: ## @A2XX_PA_SU_POINT_MINMAX_MAX
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_0(%rip), %xmm0
cvttsd2si %xmm0, %eax
movq _A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
shll %cl, %eax
movq _A2XX_PA_SU_POINT_MINMAX_MAX__MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT,4,2 ## @A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT
.comm _A2XX_PA_SU_POINT_MINMAX_MAX__MASK,4,2 ## @A2XX_PA_SU_POINT_MINMAX_MAX__MASK
.no_dead_strip _A2XX_PA_SU_POINT_MINMAX_MAX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function A2XX_PA_SU_POINT_MINMAX_MAX
_A2XX_PA_SU_POINT_MINMAX_MAX: ; @A2XX_PA_SU_POINT_MINMAX_MAX
.cfi_startproc
; %bb.0:
fcvt d0, s0
fcvtzs w8, d0, #4
Lloh0:
adrp x9, _A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT@GOTPAGE
Lloh1:
ldr x9, [x9, _A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
lsl w8, w8, w9
Lloh3:
adrp x9, _A2XX_PA_SU_POINT_MINMAX_MAX__MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _A2XX_PA_SU_POINT_MINMAX_MAX__MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT,4,2 ; @A2XX_PA_SU_POINT_MINMAX_MAX__SHIFT
.comm _A2XX_PA_SU_POINT_MINMAX_MAX__MASK,4,2 ; @A2XX_PA_SU_POINT_MINMAX_MAX__MASK
.no_dead_strip _A2XX_PA_SU_POINT_MINMAX_MAX
.subsections_via_symbols
| assembly_file_77525.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ks_wlan_get_firmware_version
_ks_wlan_get_firmware_version: ## @ks_wlan_get_firmware_version
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movq %rdx, %r14
callq _netdev_priv
movq %rax, %r15
movl 8(%rax), %esi
movq %rbx, %rdi
callq _strcpy
movq (%r15), %rax
incq %rax
movq %rax, (%r14)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ks_wlan_get_firmware_version
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ks_wlan_get_firmware_version
_ks_wlan_get_firmware_version: ; @ks_wlan_get_firmware_version
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
bl _netdev_priv
mov x21, x0
ldr w1, [x0, #8]
mov x0, x19
bl _strcpy
ldr x8, [x21]
add x8, x8, #1
str x8, [x20]
mov w0, #0 ; =0x0
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 _ks_wlan_get_firmware_version
.subsections_via_symbols
| assembly_file_94658.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rpcauth_lookupcred ## -- Begin function rpcauth_lookupcred
.p2align 4, 0x90
_rpcauth_lookupcred: ## @rpcauth_lookupcred
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
xorl %eax, %eax
callq _current_cred
movq %rax, %r15
leaq -40(%rbp), %r12
movq %r12, %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movq %r15, -40(%rbp)
movq (%rbx), %rax
movq %rbx, %rdi
movq %r12, %rsi
movl %r14d, %edx
callq *(%rax)
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rpcauth_lookupcred ; -- Begin function rpcauth_lookupcred
.p2align 2
_rpcauth_lookupcred: ; @rpcauth_lookupcred
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _current_cred
mov x21, x0
add x0, sp, #8
mov w1, #0
mov w2, #8
bl _memset
str x21, [sp, #8]
ldr x8, [x20]
ldr x8, [x8]
add x1, sp, #8
mov x0, x20
mov x2, x19
blr 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
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/net/sunrpc/extr_auth.c_rpcauth_lookupcred.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tumbler_probe
_tumbler_probe: ## @tumbler_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _ofw_bus_get_name
testq %rax, %rax
je LBB0_4
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _strcmp
testq %rax, %rax
jne LBB0_4
## %bb.2:
movl %ebx, %edi
callq _iicbus_get_addr
movq _TUMBLER_IICADDR@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rsi
movl %ebx, %edi
callq _device_set_desc
xorl %eax, %eax
jmp LBB0_5
LBB0_4:
movq _ENXIO@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "deq"
.comm _TUMBLER_IICADDR,8,3 ## @TUMBLER_IICADDR
L_.str.1: ## @.str.1
.asciz "Texas Instruments TAS3001 Audio Codec"
.no_dead_strip _tumbler_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tumbler_probe
_tumbler_probe: ; @tumbler_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _ofw_bus_get_name
cbz x0, LBB0_4
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cbnz x0, LBB0_4
; %bb.2:
mov x0, x19
bl _iicbus_get_addr
Lloh2:
adrp x8, _TUMBLER_IICADDR@GOTPAGE
Lloh3:
ldr x8, [x8, _TUMBLER_IICADDR@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_4
; %bb.3:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _device_set_desc
mov w0, #0
b LBB0_5
LBB0_4:
Lloh7:
adrp x8, _ENXIO@GOTPAGE
Lloh8:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _ENXIO,4,2 ; @ENXIO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "deq"
.comm _TUMBLER_IICADDR,8,3 ; @TUMBLER_IICADDR
l_.str.1: ; @.str.1
.asciz "Texas Instruments TAS3001 Audio Codec"
.no_dead_strip _tumbler_probe
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/macio/extr_tumbler.c_tumbler_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av_audio_fifo_read ## -- Begin function av_audio_fifo_read
.p2align 4, 0x90
_av_audio_fifo_read: ## @av_audio_fifo_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testl %edx, %edx
js LBB0_10
## %bb.1:
movq %rsi, %r14
movq %rdi, %r13
movl (%rdi), %esi
movl %edx, %edi
callq _FFMIN
testl %eax, %eax
je LBB0_2
## %bb.3:
movl %eax, %r15d
cmpl $0, 8(%r13)
jle LBB0_8
## %bb.4:
movl 4(%r13), %r12d
imull %r15d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 16(%r13), %rax
movl (%rax,%rbx,4), %edi
movq (%r14,%rbx,8), %rsi
movl %r12d, %edx
xorl %ecx, %ecx
callq _av_fifo_generic_read
testq %rax, %rax
js LBB0_7
## %bb.5: ## in Loop: Header=BB0_6 Depth=1
incq %rbx
movslq 8(%r13), %rax
cmpq %rax, %rbx
jl LBB0_6
LBB0_8:
subl %r15d, (%r13)
jmp LBB0_9
LBB0_10:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
LBB0_2:
xorl %r15d, %r15d
jmp LBB0_9
LBB0_7:
movq _AVERROR_BUG@GOTPCREL(%rip), %rax
movl (%rax), %r15d
LBB0_9:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _AVERROR_BUG,4,2 ## @AVERROR_BUG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _av_audio_fifo_read ; -- Begin function av_audio_fifo_read
.p2align 2
_av_audio_fifo_read: ; @av_audio_fifo_read
.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
tbnz w2, #31, LBB0_7
; %bb.1:
mov x21, x1
mov x19, x0
ldr w1, [x0]
mov x0, x2
bl _FFMIN
mov x20, x0
cbz w0, LBB0_9
; %bb.2:
ldr w8, [x19, #8]
cmp w8, #1
b.lt LBB0_6
; %bb.3:
mov x23, #0
ldr w8, [x19, #4]
mul w22, w8, w20
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr w0, [x8, x23, lsl #2]
ldr x1, [x21, x23, lsl #3]
mov x2, x22
mov x3, #0
bl _av_fifo_generic_read
tbnz x0, #63, LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x23, x23, #1
ldrsw x8, [x19, #8]
cmp x23, x8
b.lt LBB0_4
LBB0_6:
ldr w8, [x19]
sub w8, w8, w20
str w8, [x19]
b LBB0_9
LBB0_7:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w0, [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
b _AVERROR
LBB0_8:
Lloh3:
adrp x8, _AVERROR_BUG@GOTPAGE
Lloh4:
ldr x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh5:
ldr w20, [x8]
LBB0_9:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _AVERROR_BUG,4,2 ; @AVERROR_BUG
.subsections_via_symbols
| AnghaBench/FFmpeg/libavutil/extr_audio_fifo.c_av_audio_fifo_read.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/1184569.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function update_callee_keys
_update_callee_keys: ## @update_callee_keys
.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 _INT_MIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rsi)
movq (%rsi), %rbx
testq %rbx, %rbx
je LBB0_6
## %bb.1:
movl %edx, %r14d
movl %edi, %r15d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _update_callee_keys
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq 16(%rbx), %rbx
testq %rbx, %rbx
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%rbx)
movq (%rbx), %rsi
movl %r15d, %edi
movl %r14d, %edx
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
callq _update_caller_keys
jmp LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INT_MIN,4,2 ## @INT_MIN
.no_dead_strip _update_callee_keys
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function update_callee_keys
_update_callee_keys: ; @update_callee_keys
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, _INT_MIN@GOTPAGE
Lloh1:
ldr x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1, #8]
ldr x21, [x1]
cbz x21, LBB0_5
; %bb.1:
mov x19, x2
mov x20, x0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
bl _update_callee_keys
ldr x21, [x21, #16]
cbz x21, LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldp x1, x8, [x21]
mov x0, x20
mov x2, x19
cbz x8, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _update_caller_keys
ldr x21, [x21, #16]
cbnz x21, LBB0_3
LBB0_5:
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 _INT_MIN,4,2 ; @INT_MIN
.no_dead_strip _update_callee_keys
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_ipa-inline.c_update_callee_keys.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function be_dev_remove_quirk
_be_dev_remove_quirk: ## @be_dev_remove_quirk
.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 %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, -48(%rbp) ## 8-byte Spill
leaq -88(%rbp), %rdi
xorl %esi, %esi
movl $40, %edx
callq _memset
movq %rbx, -56(%rbp)
movq %r13, -64(%rbp)
movq %r12, -72(%rbp)
movq %r15, -80(%rbp)
movl -88(%rbp), %edi
movq %r14, %rsi
movl $4, %edx
callq _strlcpy
movq -48(%rbp), %rdi ## 8-byte Reload
leaq -88(%rbp), %rsi
callq _libusb20_be_remove_dev_quirk
testl %eax, %eax
je LBB0_2
## %bb.1:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movq %r14, %rdx
callq _fprintf
LBB0_2:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Removing quirk '%s' failed, continuing.\n"
.no_dead_strip _be_dev_remove_quirk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function be_dev_remove_quirk
_be_dev_remove_quirk: ; @be_dev_remove_quirk
.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 x19, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x24, x0
add x0, sp, #8
mov w1, #0
mov w2, #40
bl _memset
stp x22, x23, [sp, #32]
stp x20, x21, [sp, #16]
ldr w0, [sp, #8]
mov x1, x19
mov w2, #4
bl _strlcpy
add x1, sp, #8
mov x0, x24
bl _libusb20_be_remove_dev_quirk
cbz w0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _fprintf
LBB0_2:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Removing quirk '%s' failed, continuing.\n"
.no_dead_strip _be_dev_remove_quirk
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/usbconfig/extr_usbconfig.c_be_dev_remove_quirk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nm_free_lut
_nm_free_lut: ## @nm_free_lut
.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
shll $2, %esi
callq _bzero
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _nm_os_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nm_free_lut
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nm_free_lut
_nm_free_lut: ; @nm_free_lut
.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
lsl w1, w1, #2
bl _bzero
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _nm_os_free
.cfi_endproc
; -- End function
.no_dead_strip _nm_free_lut
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/netmap/extr_netmap_mem2.c_nm_free_lut.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ab3100_irq_handler
_ab3100_irq_handler: ## @ab3100_irq_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
callq _disable_irq_nosync
movq %rbx, %rdi
callq _schedule_work
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _ab3100_irq_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ab3100_irq_handler
_ab3100_irq_handler: ; @ab3100_irq_handler
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
bl _disable_irq_nosync
mov x0, x19
bl _schedule_work
Lloh0:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _ab3100_irq_handler
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/mfd/extr_ab3100-core.c_ab3100_irq_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ocfs2_pages_per_cluster
_ocfs2_pages_per_cluster: ## @ocfs2_pages_per_cluster
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _OCFS2_SB
movl (%rax), %edx
movq _PAGE_CACHE_SHIFT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %edx, %ecx
subl %esi, %ecx
movl $1, %edi
movl $1, %eax
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
cmpl %esi, %edx
cmovbel %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_CACHE_SHIFT,4,2 ## @PAGE_CACHE_SHIFT
.no_dead_strip _ocfs2_pages_per_cluster
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ocfs2_pages_per_cluster
_ocfs2_pages_per_cluster: ; @ocfs2_pages_per_cluster
.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 _OCFS2_SB
ldr w8, [x0]
Lloh0:
adrp x9, _PAGE_CACHE_SHIFT@GOTPAGE
Lloh1:
ldr x9, [x9, _PAGE_CACHE_SHIFT@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
subs w8, w8, w9
mov w9, #1
lsl w8, w9, w8
csinc w0, w8, wzr, hi
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_CACHE_SHIFT,4,2 ; @PAGE_CACHE_SHIFT
.no_dead_strip _ocfs2_pages_per_cluster
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/ocfs2/extr_ocfs2.h_ocfs2_pages_per_cluster.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vid_dbg_ctl
_vid_dbg_ctl: ## @vid_dbg_ctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl $9, %esi
callq _seq_putc
testl $1073741824, %r14d ## imm = 0x40000000
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
LBB0_2:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
testl %r14d, %r14d
js LBB0_4
## %bb.3:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _seq_puts
LBB0_4:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _seq_puts ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NOT "
L_.str.1: ## @.str.1
.asciz "ignored on main mixer - "
L_.str.2: ## @.str.2
.asciz "ignored on aux mixer"
.no_dead_strip _vid_dbg_ctl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vid_dbg_ctl
_vid_dbg_ctl: ; @vid_dbg_ctl
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
mov w1, #9
bl _seq_putc
tbnz w20, #30, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _seq_puts
LBB0_2:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _seq_puts
tbnz w20, #31, LBB0_4
; %bb.3:
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _seq_puts
LBB0_4:
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _seq_puts
.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 "NOT "
l_.str.1: ; @.str.1
.asciz "ignored on main mixer - "
l_.str.2: ; @.str.2
.asciz "ignored on aux mixer"
.no_dead_strip _vid_dbg_ctl
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/sti/extr_sti_vid.c_vid_dbg_ctl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movl %edi, %r15d
leaq L_.str.1(%rip), %rdx
callq _getopt
shll $24, %eax
cmpl $-16777216, %eax ## imm = 0xFF000000
jne LBB0_1
## %bb.15:
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leaq (%rbx,%rax,8), %r12
leaq L_.str(%rip), %r14
jmp LBB0_8
LBB0_1:
leaq L_.str(%rip), %r14
xorl %ecx, %ecx
leaq L_.str.1(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl %r15d, %edi
movq %rbx, %rsi
movq %r12, %rdx
callq _getopt
shll $24, %eax
movl %r13d, %ecx
cmpl $-16777216, %eax ## imm = 0xFF000000
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
sarl $24, %eax
movl $1, %r13d
cmpl $116, %eax
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $100, %eax
jne LBB0_16
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %r14
movl %ecx, %r13d
jmp LBB0_5
LBB0_6:
movq _optind@GOTPCREL(%rip), %rax
movslq (%rax), %rax
leaq (%rbx,%rax,8), %r12
testl %r13d, %r13d
je LBB0_8
## %bb.7:
leaq L_.str.3(%rip), %rdi
movq %rax, %rbx
callq _puts
movq %rbx, %rax
LBB0_8:
subl %eax, %r15d
cmpb $0, (%r14)
je LBB0_10
## %bb.9:
leaq L_.str.4(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
LBB0_10:
leaq L_.str.5(%rip), %rdi
callq _puts
testl %r15d, %r15d
jle LBB0_11
## %bb.12:
movl %r15d, %r15d
xorl %r14d, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq (%r12,%rbx,8), %rdi
callq _puts
incq %rbx
cmpq %rbx, %r15
jne LBB0_13
jmp LBB0_14
LBB0_11:
xorl %r14d, %r14d
jmp LBB0_14
LBB0_16:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $1, %r14d
LBB0_14:
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
.space 1
L_.str.1: ## @.str.1
.asciz "d:t"
L_.str.2: ## @.str.2
.asciz "Unknown option: '%s'\n"
L_.str.3: ## @.str.3
.asciz "Thick crust."
L_.str.4: ## @.str.4
.asciz "To be delivered %s.\n"
L_.str.5: ## @.str.5
.asciz "Ingredients:"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x19, x0
Lloh0:
adrp x2, l_.str.1@PAGE
Lloh1:
add x2, x2, l_.str.1@PAGEOFF
bl _getopt
lsl w8, w0, #24
mov w24, #-16777216
cmp w8, w24
b.ne LBB0_2
; %bb.1:
Lloh2:
adrp x8, _optind@GOTPAGE
Lloh3:
ldr x8, [x8, _optind@GOTPAGEOFF]
Lloh4:
ldrsw x21, [x8]
add x20, x20, x21, lsl #3
Lloh5:
adrp x22, l_.str@PAGE
Lloh6:
add x22, x22, l_.str@PAGEOFF
; kill: def $w21 killed $w21 killed $x21 def $x21
b LBB0_10
LBB0_2:
mov w23, #0
Lloh7:
adrp x22, l_.str@PAGE
Lloh8:
add x22, x22, l_.str@PAGEOFF
Lloh9:
adrp x25, _optarg@GOTPAGE
Lloh10:
ldr x25, [x25, _optarg@GOTPAGEOFF]
Lloh11:
adrp x21, l_.str.1@PAGE
Lloh12:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w23, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
mov x1, x20
mov x2, x21
bl _getopt
lsl w8, w0, #24
cmp w8, w24
b.eq LBB0_8
LBB0_5: ; =>This Inner Loop Header: Depth=1
asr w8, w8, #24
cmp w8, #116
b.eq LBB0_3
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #100
b.ne LBB0_16
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x22, [x25]
b LBB0_4
LBB0_8:
Lloh13:
adrp x8, _optind@GOTPAGE
Lloh14:
ldr x8, [x8, _optind@GOTPAGEOFF]
Lloh15:
ldrsw x21, [x8]
add x20, x20, x21, lsl #3
cbz w23, LBB0_10
; %bb.9:
Lloh16:
adrp x0, l_.str.3@PAGE
Lloh17:
add x0, x0, l_.str.3@PAGEOFF
bl _puts
LBB0_10:
sub w19, w19, w21
ldrb w8, [x22]
cbz w8, LBB0_12
; %bb.11:
str x22, [sp]
Lloh18:
adrp x0, l_.str.4@PAGE
Lloh19:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
LBB0_12:
Lloh20:
adrp x0, l_.str.5@PAGE
Lloh21:
add x0, x0, l_.str.5@PAGEOFF
bl _puts
cmp w19, #1
b.lt LBB0_14
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr x0, [x20], #8
bl _puts
subs x19, x19, #1
b.ne LBB0_13
LBB0_14:
mov w0, #0
LBB0_15:
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_16:
Lloh22:
adrp x8, ___stderrp@GOTPAGE
Lloh23:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh24:
ldr x0, [x8]
ldr x8, [x25]
str x8, [sp]
Lloh25:
adrp x1, l_.str.2@PAGE
Lloh26:
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w0, #1
b LBB0_15
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "d:t"
l_.str.2: ; @.str.2
.asciz "Unknown option: '%s'\n"
l_.str.3: ; @.str.3
.asciz "Thick crust."
l_.str.4: ; @.str.4
.asciz "To be delivered %s.\n"
l_.str.5: ; @.str.5
.asciz "Ingredients:"
.subsections_via_symbols
| the_stack_data/743728.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function unit_test_storage
LCPI0_0:
.quad 0x3e7ad7f29abcaf48 ## double 9.9999999999999995E-8
LCPI0_2:
.quad 0x4024000000000000 ## double 10
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_1:
.quad 0x8000000000000000 ## double -0
.quad 0x8000000000000000 ## double -0
.section __TEXT,__text,regular,pure_instructions
.globl _unit_test_storage
.p2align 4, 0x90
_unit_test_storage: ## @unit_test_storage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %ebx, %ebx
xorl %eax, %eax
callq _check_storage_number_exists
testq %rax, %rax
je LBB0_1
LBB0_11:
movl %ebx, %eax
addq $56, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq _STORAGE_NUMBER_POSITIVE_MIN_RAW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _unpack_storage_number
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movq _STORAGE_NUMBER_NEGATIVE_MAX_RAW@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _unpack_storage_number
movsd %xmm0, -40(%rbp) ## 8-byte Spill
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
xorpd %xmm1, %xmm1
xorl %r14d, %r14d
movsd LCPI0_2(%rip), %xmm2 ## xmm2 = [1.0E+1,0.0E+0]
xorpd %xmm3, %xmm3
movapd %xmm3, -64(%rbp) ## 16-byte Spill
movl $1, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
incl %r14d
cmpl $9, %r14d
je LBB0_10
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movapd -64(%rbp), %xmm3 ## 16-byte Reload
addsd LCPI0_0(%rip), %xmm3
movapd %xmm3, -64(%rbp) ## 16-byte Spill
xorpd LCPI0_1(%rip), %xmm3
movl $21, %r15d
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=2
movapd %xmm3, %xmm0
movl $1, %edi
movapd %xmm3, -80(%rbp) ## 16-byte Spill
callq _check_storage_number
movapd -80(%rbp), %xmm3 ## 16-byte Reload
movsd LCPI0_2(%rip), %xmm2 ## xmm2 = [1.0E+1,0.0E+0]
xorpd %xmm1, %xmm1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
testq %rax, %rax
jne LBB0_11
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
mulsd %xmm2, %xmm3
decl %r15d
je LBB0_9
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
ucomisd %xmm1, %xmm3
jbe LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
ucomisd %xmm3, %xmm0
ja LBB0_8
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
ucomisd %xmm3, %xmm1
jbe LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=2
ucomisd -40(%rbp), %xmm3 ## 8-byte Folded Reload
ja LBB0_8
jmp LBB0_7
LBB0_10:
movl $1000000, %edi ## imm = 0xF4240
movl $2, %esi
callq _benchmark_storage_number
xorl %ebx, %ebx
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _STORAGE_NUMBER_POSITIVE_MIN_RAW,4,2 ## @STORAGE_NUMBER_POSITIVE_MIN_RAW
.comm _STORAGE_NUMBER_NEGATIVE_MAX_RAW,4,2 ## @STORAGE_NUMBER_NEGATIVE_MAX_RAW
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _unit_test_storage ; -- Begin function unit_test_storage
.p2align 2
_unit_test_storage: ; @unit_test_storage
.cfi_startproc
; %bb.0:
stp d13, d12, [sp, #-96]! ; 16-byte Folded Spill
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
.cfi_offset b12, -88
.cfi_offset b13, -96
bl _check_storage_number_exists
cbz x0, LBB0_2
LBB0_1:
mov w19, #0 ; =0x0
b LBB0_9
LBB0_2:
Lloh0:
adrp x8, _STORAGE_NUMBER_POSITIVE_MIN_RAW@GOTPAGE
Lloh1:
ldr x8, [x8, _STORAGE_NUMBER_POSITIVE_MIN_RAW@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _unpack_storage_number
fmov d8, d0
Lloh3:
adrp x8, _STORAGE_NUMBER_NEGATIVE_MAX_RAW@GOTPAGE
Lloh4:
ldr x8, [x8, _STORAGE_NUMBER_NEGATIVE_MAX_RAW@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _unpack_storage_number
fmov d9, d0
mov w20, #0 ; =0x0
movi d11, #0000000000000000
mov x8, #44872 ; =0xaf48
movk x8, #39612, lsl #16
movk x8, #55282, lsl #32
movk x8, #15994, lsl #48
fmov d12, x8
fmov d13, #10.00000000
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w20, w20, #1
cmp w20, #9
b.eq LBB0_10
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
fadd d11, d11, d12
fneg d10, d11
mov w21, #21 ; =0x15
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
fmul d10, d10, d13
subs w21, w21, #1
b.eq LBB0_3
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
fcmp d10, #0.0
fccmp d10, d8, #0, gt
b.mi LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
fcmp d10, #0.0
fccmp d10, d9, #4, mi
b.gt LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
mov w19, #1 ; =0x1
fmov d0, d10
mov w0, #1 ; =0x1
bl _check_storage_number
cbz x0, LBB0_5
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
ldp d13, d12, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_10:
mov w0, #16960 ; =0x4240
movk w0, #15, lsl #16
mov w1, #2 ; =0x2
bl _benchmark_storage_number
b LBB0_1
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _STORAGE_NUMBER_POSITIVE_MIN_RAW,4,2 ; @STORAGE_NUMBER_POSITIVE_MIN_RAW
.comm _STORAGE_NUMBER_NEGATIVE_MAX_RAW,4,2 ; @STORAGE_NUMBER_NEGATIVE_MAX_RAW
.subsections_via_symbols
| assembly_file_108554.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _new_thread ## -- Begin function new_thread
.p2align 4, 0x90
_new_thread: ## @new_thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq _thread_function(%rip), %rdx
leaq -8(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jne LBB0_1
LBB0_2:
addq $16, %rsp
popq %rbp
retq
LBB0_1:
callq _new_thread.cold.1
jmp LBB0_2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function thread_function
_thread_function: ## @thread_function
.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
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl $1, %edi
callq _usleep
jmp LBB1_1
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function new_thread.cold.1
_new_thread.cold.1: ## @new_thread.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L___func__.new_thread(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
pushq $43
popq %rdx
callq ___assert_rtn
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.new_thread: ## @__func__.new_thread
.asciz "new_thread"
L_.str: ## @.str
.asciz "211080939.c"
L_.str.1: ## @.str.1
.asciz "res == 0"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _new_thread ; -- Begin function new_thread
.p2align 2
_new_thread: ; @new_thread
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x2, _thread_function@PAGE
Lloh1:
add x2, x2, _thread_function@PAGEOFF
add x0, sp, #8
mov x1, #0
mov x3, #0
bl _pthread_create
cbnz w0, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_2:
bl _new_thread.cold.1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function thread_function
_thread_function: ; @thread_function
.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
LBB1_1: ; =>This Inner Loop Header: Depth=1
mov w0, #1
bl _usleep
b LBB1_1
.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
.p2align 2 ; -- Begin function new_thread.cold.1
_new_thread.cold.1: ; @new_thread.cold.1
.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
Lloh2:
adrp x0, l___func__.new_thread@PAGE
Lloh3:
add x0, x0, l___func__.new_thread@PAGEOFF
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
Lloh6:
adrp x3, l_.str.1@PAGE
Lloh7:
add x3, x3, l_.str.1@PAGEOFF
mov w2, #43
bl ___assert_rtn
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.new_thread: ; @__func__.new_thread
.asciz "new_thread"
l_.str: ; @.str
.asciz "211080939.c"
l_.str.1: ; @.str.1
.asciz "res == 0"
.subsections_via_symbols
| the_stack_data/211080939.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dt3155_enum_input
_dt3155_enum_input: ## @dt3155_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movl (%rdx), %ecx
cmpl $4, %ecx
jl LBB0_2
## %bb.1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_6
LBB0_2:
movq %rdx, %rbx
movl 24(%rdx), %edi
testl %ecx, %ecx
je LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdx
movl $4, %esi
callq _snprintf
jmp LBB0_5
LBB0_4:
leaq L_.str.1(%rip), %rsi
movl $4, %edx
callq _strscpy
LBB0_5:
movq _V4L2_INPUT_TYPE_CAMERA@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%rbx)
movq _V4L2_STD_ALL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq $0, 8(%rbx)
xorl %eax, %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VID%d"
L_.str.1: ## @.str.1
.asciz "J2/VID0"
.comm _V4L2_INPUT_TYPE_CAMERA,4,2 ## @V4L2_INPUT_TYPE_CAMERA
.comm _V4L2_STD_ALL,4,2 ## @V4L2_STD_ALL
.no_dead_strip _dt3155_enum_input
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dt3155_enum_input
_dt3155_enum_input: ; @dt3155_enum_input
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr w3, [x2]
cmp w3, #4
b.lt LBB0_2
; %bb.1:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_6
LBB0_2:
mov x19, x2
ldr w0, [x2, #24]
cbz w3, LBB0_4
; %bb.3:
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov w1, #4
bl _snprintf
b LBB0_5
LBB0_4:
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #4
bl _strscpy
LBB0_5:
mov w0, #0
Lloh7:
adrp x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGE
Lloh8:
ldr x8, [x8, _V4L2_INPUT_TYPE_CAMERA@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
Lloh10:
adrp x9, _V4L2_STD_ALL@GOTPAGE
Lloh11:
ldr x9, [x9, _V4L2_STD_ALL@GOTPAGEOFF]
Lloh12:
ldr w9, [x9]
stp w9, w8, [x19, #16]
str xzr, [x19, #8]
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VID%d"
l_.str.1: ; @.str.1
.asciz "J2/VID0"
.comm _V4L2_INPUT_TYPE_CAMERA,4,2 ; @V4L2_INPUT_TYPE_CAMERA
.comm _V4L2_STD_ALL,4,2 ; @V4L2_STD_ALL
.no_dead_strip _dt3155_enum_input
.subsections_via_symbols
| AnghaBench/linux/drivers/media/pci/dt3155/extr_dt3155.c_dt3155_enum_input.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %r15d
leaq L_.str(%rip), %rdi
callq _puts
movl $1, %ebx
cmpl $2, %r15d
jl LBB0_6
## %bb.1:
movl $1, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
callq _fork
testl %eax, %eax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incl %ebx
cmpl %ebx, %r15d
jne LBB0_2
jmp LBB0_4
LBB0_6:
cmpl %r15d, %ebx
jne LBB0_7
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
callq _wait
cmpl $-1, %eax
jne LBB0_4
## %bb.5:
leaq L_.str.3(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movl %ebx, %r12d
movq (%r14,%r12,8), %rsi
leaq L_.str.1(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
leaq -36(%rbp), %r15
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
callq _fork
testl %eax, %eax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
incl %ebx
movq %r15, %rdi
callq _wait
cmpb $0, -35(%rbp)
jne LBB0_8
## %bb.10:
movq (%r14,%r12,8), %rsi
leaq L_.str.2(%rip), %rdi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq __exit
LBB0_11:
movq (%r14,%r12,8), %rdi
movq %rdi, %rsi
xorl %edx, %edx
xorl %eax, %eax
callq _execl
xorl %edi, %edi
callq __exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NAME\tSTATUS\tCOUNT"
L_.str.1: ## @.str.1
.asciz "%s\tINIT\t ---\n"
L_.str.2: ## @.str.2
.asciz "%s\tENDED\t%d\n"
L_.str.3: ## @.str.3
.asciz "All jobs ended!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _puts
mov w21, #1
cmp w20, #2
b.lt LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
bl _fork
cbz w0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
add w21, w21, #1
cmp w20, w21
b.ne LBB0_1
b LBB0_4
LBB0_3:
cmp w21, w20
b.ne LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, #0
bl _wait
cmn w0, #1
b.ne LBB0_4
; %bb.5:
Lloh2:
adrp x0, l_.str.3@PAGE
Lloh3:
add x0, x0, l_.str.3@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_6:
ldr x8, [x19, w21, uxtw #3]
mov w20, w21
str x8, [sp]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w21, #0
LBB0_7: ; =>This Inner Loop Header: Depth=1
bl _fork
cbz w0, LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
add w21, w21, #1
add x0, sp, #28
bl _wait
ldrb w8, [sp, #29]
cbnz w8, LBB0_7
; %bb.9:
ldr x8, [x19, x20, lsl #3]
stp x8, x21, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
bl __exit
LBB0_10:
ldr x0, [x19, x20, lsl #3]
str xzr, [sp]
mov x1, x0
bl _execl
mov w0, #0
bl __exit
.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 "NAME\tSTATUS\tCOUNT"
l_.str.1: ; @.str.1
.asciz "%s\tINIT\t ---\n"
l_.str.2: ; @.str.2
.asciz "%s\tENDED\t%d\n"
l_.str.3: ; @.str.3
.asciz "All jobs ended!"
.subsections_via_symbols
| the_stack_data/11076669.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function map__reloc_map_ip
_map__reloc_map_ip: ## @map__reloc_map_ip
.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
addq (%rdi), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _map__reloc_map_ip
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function map__reloc_map_ip
_map__reloc_map_ip: ; @map__reloc_map_ip
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x0, x8, x1
ret
.cfi_endproc
; -- End function
.no_dead_strip _map__reloc_map_ip
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/tools/perf/util/extr_map.c_map__reloc_map_ip.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dwc3_debugfs_init ## -- Begin function dwc3_debugfs_init
.p2align 4, 0x90
_dwc3_debugfs_init: ## @dwc3_debugfs_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
movq %rdi, %rbx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $16, %edi
callq _kzalloc
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_5
## %bb.1:
movq _DWC3_LSP_MUX_UNSELECTED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 32(%rbx)
movq _dwc3_regs@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %edi, 12(%rax)
callq _ARRAY_SIZE
movq (%rbx), %rcx
movl %eax, 8(%rcx)
movq 24(%rbx), %rax
movq _DWC3_GLOBALS_REGS_START@GOTPCREL(%rip), %rdx
subq (%rdx), %rax
movq %rax, (%rcx)
movl 16(%rbx), %edi
callq _dev_name
movl %eax, %edi
xorl %esi, %esi
callq _debugfs_create_dir
movq %rax, %r14
movq %rax, 8(%rbx)
movq _S_IRUGO@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq (%rbx), %rcx
leaq L_.str(%rip), %rdi
movq %rax, %rdx
callq _debugfs_create_regset32
movq _S_IWUSR@GOTPCREL(%rip), %r12
movl (%r12), %esi
orl (%r15), %esi
leaq L_.str.1(%rip), %rdi
movq _dwc3_lsp_fops@GOTPCREL(%rip), %r8
movq %r14, %rdx
movq %rbx, %rcx
callq _debugfs_create_file
movq _CONFIG_USB_DWC3_DUAL_ROLE@GOTPCREL(%rip), %r13
movl (%r13), %edi
callq _IS_ENABLED
testq %rax, %rax
je LBB0_3
## %bb.2:
movl (%r12), %esi
orl (%r15), %esi
leaq L_.str.2(%rip), %rdi
movq _dwc3_mode_fops@GOTPCREL(%rip), %r8
movq %r14, %rdx
movq %rbx, %rcx
callq _debugfs_create_file
LBB0_3:
movl (%r13), %edi
callq _IS_ENABLED
testq %rax, %rax
jne LBB0_6
## %bb.4:
movq _CONFIG_USB_DWC3_GADGET@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _IS_ENABLED
testq %rax, %rax
je LBB0_5
LBB0_6:
movl (%r12), %esi
orl (%r15), %esi
leaq L_.str.3(%rip), %rdi
movq _dwc3_testmode_fops@GOTPCREL(%rip), %r8
movq %r14, %rdx
movq %rbx, %rcx
callq _debugfs_create_file
movl (%r12), %esi
orl (%r15), %esi
leaq L_.str.4(%rip), %rdi
movq _dwc3_link_state_fops@GOTPCREL(%rip), %r8
movq %r14, %rdx
movq %rbx, %rcx
callq _debugfs_create_file
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _dwc3_debugfs_create_endpoint_dirs ## TAILCALL
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _DWC3_LSP_MUX_UNSELECTED,4,2 ## @DWC3_LSP_MUX_UNSELECTED
.comm _dwc3_regs,4,2 ## @dwc3_regs
.comm _DWC3_GLOBALS_REGS_START,8,3 ## @DWC3_GLOBALS_REGS_START
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "regdump"
.comm _S_IRUGO,4,2 ## @S_IRUGO
L_.str.1: ## @.str.1
.asciz "lsp_dump"
.comm _S_IWUSR,4,2 ## @S_IWUSR
.comm _dwc3_lsp_fops,4,2 ## @dwc3_lsp_fops
.comm _CONFIG_USB_DWC3_DUAL_ROLE,4,2 ## @CONFIG_USB_DWC3_DUAL_ROLE
L_.str.2: ## @.str.2
.asciz "mode"
.comm _dwc3_mode_fops,4,2 ## @dwc3_mode_fops
.comm _CONFIG_USB_DWC3_GADGET,4,2 ## @CONFIG_USB_DWC3_GADGET
L_.str.3: ## @.str.3
.asciz "testmode"
.comm _dwc3_testmode_fops,4,2 ## @dwc3_testmode_fops
L_.str.4: ## @.str.4
.asciz "link_state"
.comm _dwc3_link_state_fops,4,2 ## @dwc3_link_state_fops
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dwc3_debugfs_init ; -- Begin function dwc3_debugfs_init
.p2align 2
_dwc3_debugfs_init: ; @dwc3_debugfs_init
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #16
bl _kzalloc
str x0, [x19]
cbz x0, LBB0_6
; %bb.1:
Lloh3:
adrp x8, _DWC3_LSP_MUX_UNSELECTED@GOTPAGE
Lloh4:
ldr x8, [x8, _DWC3_LSP_MUX_UNSELECTED@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19, #32]
Lloh6:
adrp x8, _dwc3_regs@GOTPAGE
Lloh7:
ldr x8, [x8, _dwc3_regs@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
str w8, [x0, #12]
mov x0, x8
bl _ARRAY_SIZE
ldr x8, [x19]
str w0, [x8, #8]
ldr x9, [x19, #24]
Lloh9:
adrp x10, _DWC3_GLOBALS_REGS_START@GOTPAGE
Lloh10:
ldr x10, [x10, _DWC3_GLOBALS_REGS_START@GOTPAGEOFF]
Lloh11:
ldr x10, [x10]
sub x9, x9, x10
str x9, [x8]
ldr w0, [x19, #16]
bl _dev_name
mov x1, #0
bl _debugfs_create_dir
mov x20, x0
str x0, [x19, #8]
Lloh12:
adrp x21, _S_IRUGO@GOTPAGE
Lloh13:
ldr x21, [x21, _S_IRUGO@GOTPAGEOFF]
ldr w1, [x21]
ldr x3, [x19]
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
mov x2, x20
bl _debugfs_create_regset32
ldr w8, [x21]
Lloh16:
adrp x22, _S_IWUSR@GOTPAGE
Lloh17:
ldr x22, [x22, _S_IWUSR@GOTPAGEOFF]
ldr w9, [x22]
orr w1, w9, w8
Lloh18:
adrp x0, l_.str.1@PAGE
Lloh19:
add x0, x0, l_.str.1@PAGEOFF
Lloh20:
adrp x4, _dwc3_lsp_fops@GOTPAGE
Lloh21:
ldr x4, [x4, _dwc3_lsp_fops@GOTPAGEOFF]
mov x2, x20
mov x3, x19
bl _debugfs_create_file
Lloh22:
adrp x23, _CONFIG_USB_DWC3_DUAL_ROLE@GOTPAGE
Lloh23:
ldr x23, [x23, _CONFIG_USB_DWC3_DUAL_ROLE@GOTPAGEOFF]
ldr w0, [x23]
bl _IS_ENABLED
cbz x0, LBB0_3
; %bb.2:
ldr w8, [x21]
ldr w9, [x22]
orr w1, w9, w8
Lloh24:
adrp x0, l_.str.2@PAGE
Lloh25:
add x0, x0, l_.str.2@PAGEOFF
Lloh26:
adrp x4, _dwc3_mode_fops@GOTPAGE
Lloh27:
ldr x4, [x4, _dwc3_mode_fops@GOTPAGEOFF]
mov x2, x20
mov x3, x19
bl _debugfs_create_file
LBB0_3:
ldr w0, [x23]
bl _IS_ENABLED
cbnz x0, LBB0_5
; %bb.4:
Lloh28:
adrp x8, _CONFIG_USB_DWC3_GADGET@GOTPAGE
Lloh29:
ldr x8, [x8, _CONFIG_USB_DWC3_GADGET@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
bl _IS_ENABLED
cbz x0, LBB0_6
LBB0_5:
ldr w8, [x21]
ldr w9, [x22]
orr w1, w9, w8
Lloh31:
adrp x0, l_.str.3@PAGE
Lloh32:
add x0, x0, l_.str.3@PAGEOFF
Lloh33:
adrp x4, _dwc3_testmode_fops@GOTPAGE
Lloh34:
ldr x4, [x4, _dwc3_testmode_fops@GOTPAGEOFF]
mov x2, x20
mov x3, x19
bl _debugfs_create_file
ldr w8, [x21]
ldr w9, [x22]
orr w1, w9, w8
Lloh35:
adrp x0, l_.str.4@PAGE
Lloh36:
add x0, x0, l_.str.4@PAGEOFF
Lloh37:
adrp x4, _dwc3_link_state_fops@GOTPAGE
Lloh38:
ldr x4, [x4, _dwc3_link_state_fops@GOTPAGEOFF]
mov x2, x20
mov x3, x19
bl _debugfs_create_file
mov x0, x19
mov x1, 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
b _dwc3_debugfs_create_endpoint_dirs
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _DWC3_LSP_MUX_UNSELECTED,4,2 ; @DWC3_LSP_MUX_UNSELECTED
.comm _dwc3_regs,4,2 ; @dwc3_regs
.comm _DWC3_GLOBALS_REGS_START,8,3 ; @DWC3_GLOBALS_REGS_START
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "regdump"
.comm _S_IRUGO,4,2 ; @S_IRUGO
l_.str.1: ; @.str.1
.asciz "lsp_dump"
.comm _S_IWUSR,4,2 ; @S_IWUSR
.comm _dwc3_lsp_fops,4,2 ; @dwc3_lsp_fops
.comm _CONFIG_USB_DWC3_DUAL_ROLE,4,2 ; @CONFIG_USB_DWC3_DUAL_ROLE
l_.str.2: ; @.str.2
.asciz "mode"
.comm _dwc3_mode_fops,4,2 ; @dwc3_mode_fops
.comm _CONFIG_USB_DWC3_GADGET,4,2 ; @CONFIG_USB_DWC3_GADGET
l_.str.3: ; @.str.3
.asciz "testmode"
.comm _dwc3_testmode_fops,4,2 ; @dwc3_testmode_fops
l_.str.4: ; @.str.4
.asciz "link_state"
.comm _dwc3_link_state_fops,4,2 ; @dwc3_link_state_fops
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/dwc3/extr_debugfs.c_dwc3_debugfs_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $40040, %eax ## imm = 0x9C68
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rdi
leaq -40036(%rbp), %rsi
leaq -40052(%rbp), %rdx
leaq -40048(%rbp), %rcx
leaq -40044(%rbp), %r8
leaq -40040(%rbp), %r9
xorl %eax, %eax
callq _scanf
movl -40036(%rbp), %edi
testl %edi, %edi
jle LBB0_3
## %bb.1:
leaq -40032(%rbp), %r15
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -40036(%rbp), %rdi
addq $4, %r15
cmpq %rdi, %rbx
jl LBB0_2
LBB0_3:
movl -40052(%rbp), %esi
imull %edi, %esi
movl -40044(%rbp), %eax
subl -40048(%rbp), %eax
jle LBB0_15
## %bb.4:
testl %edi, %edi
jle LBB0_15
## %bb.5:
movl -40040(%rbp), %r9d
movl %edi, %edx
cmpl $8, %edi
jae LBB0_7
## %bb.6:
xorl %edi, %edi
jmp LBB0_14
LBB0_7:
movl %edx, %edi
andl $-8, %edi
movd %esi, %xmm0
movd %r9d, %xmm1
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
movd %eax, %xmm2
pshufd $0, %xmm2, %xmm2 ## xmm2 = xmm2[0,0,0,0]
leaq -8(%rdi), %rsi
movq %rsi, %r8
shrq $3, %r8
incq %r8
testq %rsi, %rsi
je LBB0_8
## %bb.9:
movq %r8, %rsi
andq $-2, %rsi
pxor %xmm3, %xmm3
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movdqa %xmm1, %xmm4
psubd -40032(%rbp,%rbx,4), %xmm4
movdqa %xmm1, %xmm5
psubd -40016(%rbp,%rbx,4), %xmm5
pmulld %xmm2, %xmm4
paddd %xmm0, %xmm4
pmulld %xmm2, %xmm5
paddd %xmm3, %xmm5
movdqa %xmm1, %xmm0
psubd -40000(%rbp,%rbx,4), %xmm0
movdqa %xmm1, %xmm3
psubd -39984(%rbp,%rbx,4), %xmm3
pmulld %xmm2, %xmm0
paddd %xmm4, %xmm0
pmulld %xmm2, %xmm3
paddd %xmm5, %xmm3
addq $16, %rbx
addq $-2, %rsi
jne LBB0_10
## %bb.11:
testb $1, %r8b
je LBB0_13
LBB0_12:
movdqa %xmm1, %xmm4
psubd -40032(%rbp,%rbx,4), %xmm4
movdqa -40016(%rbp,%rbx,4), %xmm5
psubd %xmm5, %xmm1
pmulld %xmm2, %xmm4
paddd %xmm4, %xmm0
pmulld %xmm2, %xmm1
paddd %xmm1, %xmm3
LBB0_13:
paddd %xmm3, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %esi
cmpq %rdx, %rdi
je LBB0_15
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl %r9d, %ecx
subl -40032(%rbp,%rdi,4), %ecx
imull %eax, %ecx
addl %ecx, %esi
incq %rdi
cmpq %rdi, %rdx
jne LBB0_14
LBB0_15:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_17
## %bb.16:
xorl %eax, %eax
addq $40040, %rsp ## imm = 0x9C68
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
pxor %xmm3, %xmm3
xorl %ebx, %ebx
testb $1, %r8b
jne LBB0_12
jmp LBB0_13
LBB0_17:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d %d %d"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
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 w9, #40080
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #9, lsl #12 ; =36864
sub sp, sp, #3216
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #52
str x8, [sp, #32]
add x8, sp, #56
add x9, sp, #60
stp x9, x8, [sp, #16]
add x8, sp, #64
add x9, sp, #68
stp x9, x8, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w11, [sp, #68]
cmp w11, #1
b.lt LBB0_3
; %bb.1:
mov x20, #0
add x21, sp, #72
Lloh7:
adrp x19, l_.str.1@PAGE
Lloh8:
add x19, x19, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _scanf
add x20, x20, #1
ldrsw x11, [sp, #68]
add x21, x21, #4
cmp x20, x11
b.lt LBB0_2
LBB0_3:
ldr w8, [sp, #64]
mul w12, w8, w11
ldp w9, w8, [sp, #56]
subs w8, w9, w8
ccmp w11, #1, #8, gt
b.lt LBB0_11
; %bb.4:
ldr w9, [sp, #52]
mov w10, w11
cmp w11, #16
b.hs LBB0_6
; %bb.5:
mov x11, #0
b LBB0_9
LBB0_6:
and x11, x10, #0xfffffff0
movi.2d v0, #0000000000000000
mov.s v0[0], w12
dup.4s v1, w9
dup.4s v3, w8
movi.2d v2, #0000000000000000
add x12, sp, #72
add x12, x12, #32
mov x13, x11
movi.2d v4, #0000000000000000
movi.2d v5, #0000000000000000
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldp q6, q7, [x12, #-32]
ldp q16, q17, [x12], #64
sub.4s v6, v1, v6
sub.4s v7, v1, v7
sub.4s v16, v1, v16
sub.4s v17, v1, v17
mla.4s v0, v6, v3
mla.4s v2, v7, v3
mla.4s v4, v16, v3
mla.4s v5, v17, v3
subs x13, x13, #16
b.ne LBB0_7
; %bb.8:
add.4s v0, v2, v0
add.4s v0, v4, v0
add.4s v0, v5, v0
addv.4s s0, v0
fmov w12, s0
cmp x11, x10
b.eq LBB0_11
LBB0_9:
add x13, sp, #72
add x13, x13, x11, lsl #2
sub x10, x10, x11
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w11, [x13], #4
sub w11, w9, w11
madd w12, w11, w8, w12
subs x10, x10, #1
b.ne LBB0_10
LBB0_11:
str x12, [sp]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x8, [x29, #-40]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
mov w0, #0
add sp, sp, #9, lsl #12 ; =36864
add sp, sp, #3216
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_13:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d %d %d"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/17127.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bmov
_bmov: ## @bmov
.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 %rsi, %rdi
movq %rax, %rsi
popq %rbp
jmp _memmove ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _bmov
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bmov
_bmov: ; @bmov
.cfi_startproc
; %bb.0:
mov x8, x0
mov x0, x1
mov x1, x8
b _memmove
.cfi_endproc
; -- End function
.no_dead_strip _bmov
.subsections_via_symbols
| AnghaBench/zfs/module/zfs/extr_btree.c_bmov.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function raise_exception
_raise_exception: ## @raise_exception
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
leaq 4(%rdi), %r14
movq %r14, %rdi
callq _spin_lock_irqsave
cmpl %r15d, (%rbx)
ja LBB0_3
## %bb.1:
movl 16(%rbx), %eax
movl %eax, 20(%rbx)
movl %r15d, (%rbx)
movq 8(%rbx), %rdx
testq %rdx, %rdx
je LBB0_3
## %bb.2:
movq _SIGUSR1@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SEND_SIG_FORCED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _send_sig_info
LBB0_3:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.comm _SIGUSR1,4,2 ## @SIGUSR1
.comm _SEND_SIG_FORCED,4,2 ## @SEND_SIG_FORCED
.no_dead_strip _raise_exception
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function raise_exception
_raise_exception: ; @raise_exception
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x20, x0
add x19, x0, #4
mov x0, x19
bl _spin_lock_irqsave
ldr w8, [x20]
cmp w8, w21
b.hi LBB0_3
; %bb.1:
ldr w8, [x20, #16]
str w8, [x20, #20]
str w21, [x20]
ldr x2, [x20, #8]
cbz x2, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _SIGUSR1@GOTPAGE
Lloh1:
ldr x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _SEND_SIG_FORCED@GOTPAGE
Lloh4:
ldr x8, [x8, _SEND_SIG_FORCED@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _send_sig_info
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SIGUSR1,4,2 ; @SIGUSR1
.comm _SEND_SIG_FORCED,4,2 ; @SEND_SIG_FORCED
.no_dead_strip _raise_exception
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/gadget/extr_file_storage.c_raise_exception.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function update_local_add_mark_node_edited
_update_local_add_mark_node_edited: ## @update_local_add_mark_node_edited
.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
cmpq $0, (%rdi)
jne LBB0_5
## %bb.1:
movq %rdi, %rbx
movq 16(%rdi), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.2:
callq _update_local_add_mark_node_edited
movq %rax, %rdi
callq _SVN_ERR
movq 16(%rbx), %rax
cmpq $0, 8(%rax)
je LBB0_4
## %bb.3:
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 8(%rbx)
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rbx)
LBB0_5:
movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR
.comm _TRUE,8,3 ## @TRUE
.no_dead_strip _update_local_add_mark_node_edited
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function update_local_add_mark_node_edited
_update_local_add_mark_node_edited: ; @update_local_add_mark_node_edited
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
cbnz x8, LBB0_5
; %bb.1:
mov x19, x0
ldr x0, [x0, #16]
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
cbz x0, LBB0_4
; %bb.2:
bl _update_local_add_mark_node_edited
bl _SVN_ERR
ldr x8, [x19, #16]
ldr x8, [x8, #8]
cbz x8, LBB0_4
; %bb.3:
ldr x8, [x20]
str x8, [x19, #8]
LBB0_4:
ldr x8, [x20]
str x8, [x19]
LBB0_5:
Lloh2:
adrp x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
ldr x0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR
.comm _TRUE,8,3 ; @TRUE
.no_dead_strip _update_local_add_mark_node_edited
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_wc_db_update_move.c_update_local_add_mark_node_edited.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function contains_replace_regs
_contains_replace_regs: ## @contains_replace_regs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r13d
callq _GET_CODE
movl %eax, %ebx
xorl %r14d, %r14d
leal -130(%rbx), %eax
cmpl $8, %eax
jae LBB0_2
LBB0_1:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
cmpl $128, %ebx
je LBB0_1
## %bb.3:
cmpl $129, %ebx
jne LBB0_5
## %bb.4:
movq _reg_equiv@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movl %r13d, %edi
callq _REGNO
movl (%rbx,%rax,4), %r14d
jmp LBB0_1
LBB0_5:
movl %ebx, %edi
callq _GET_RTX_FORMAT
movq %rax, -48(%rbp) ## 8-byte Spill
movl %ebx, %edi
callq _GET_RTX_LENGTH
testl %eax, %eax
jle LBB0_1
## %bb.6:
movl %eax, %r12d
jmp LBB0_8
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
cmpq $1, %r15
jle LBB0_1
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movq %r12, %r15
decq %r12
movl %r12d, %eax
movq -48(%rbp), %rcx ## 8-byte Reload
movsbl (%rcx,%rax), %eax
cmpl $69, %eax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
cmpl $101, %eax
jne LBB0_7
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movl %r13d, %edi
movl %r12d, %esi
callq _XEXP
movl %eax, %edi
callq _contains_replace_regs
testl %eax, %eax
je LBB0_7
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movl %r13d, %edi
movl %r12d, %esi
callq _XVECLEN
movl %eax, %ebx
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
testl %ebx, %ebx
jle LBB0_7
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
decl %ebx
movl %r13d, %edi
movl %r12d, %esi
movl %ebx, %edx
callq _XVECEXP
movl %eax, %edi
callq _contains_replace_regs
testl %eax, %eax
je LBB0_12
LBB0_15:
movl $1, %r14d
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _reg_equiv,8,3 ## @reg_equiv
.no_dead_strip _contains_replace_regs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function contains_replace_regs
_contains_replace_regs: ; @contains_replace_regs
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
bl _GET_CODE
mov x21, x0
mov w0, #0
sub w8, w21, #130
cmp w8, #8
b.hs LBB0_2
LBB0_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:
cmp w21, #128
b.eq LBB0_1
; %bb.3:
cmp w21, #129
b.ne LBB0_5
; %bb.4:
Lloh0:
adrp x8, _reg_equiv@GOTPAGE
Lloh1:
ldr x8, [x8, _reg_equiv@GOTPAGEOFF]
Lloh2:
ldr x20, [x8]
mov x0, x19
bl _REGNO
ldr w0, [x20, x0, lsl #2]
b LBB0_1
LBB0_5:
mov x0, x21
bl _GET_RTX_FORMAT
mov x20, x0
mov x0, x21
bl _GET_RTX_LENGTH
cmp w0, #1
b.lt LBB0_15
; %bb.6:
mov w23, w0
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
mov w0, #0
cmp x23, #1
mov x23, x21
b.le LBB0_1
LBB0_8: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
sub x21, x23, #1
ldrsb w8, [x20, w21, uxtw]
cmp w8, #69
b.eq LBB0_11
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
cmp w8, #101
b.ne LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov x0, x19
mov x1, x21
bl _XEXP
bl _contains_replace_regs
cbz w0, LBB0_7
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
mov x0, x19
mov x1, x21
bl _XVECLEN
mov x22, x0
LBB0_12: ; Parent Loop BB0_8 Depth=1
; => This Inner Loop Header: Depth=2
subs w22, w22, #1
b.lt LBB0_7
; %bb.13: ; in Loop: Header=BB0_12 Depth=2
mov x0, x19
mov x1, x21
mov x2, x22
bl _XVECEXP
bl _contains_replace_regs
cbz w0, LBB0_12
LBB0_14:
mov w0, #1
b LBB0_1
LBB0_15:
mov w0, #0
b LBB0_1
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _reg_equiv,8,3 ; @reg_equiv
.no_dead_strip _contains_replace_regs
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_local-alloc.c_contains_replace_regs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RCC_PCLKConfig ## -- Begin function RCC_PCLKConfig
.p2align 4, 0x90
_RCC_PCLKConfig: ## @RCC_PCLKConfig
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
callq _IS_RCC_PCLK
movl %eax, %edi
callq _assert_param
movq _RCC@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _RCC_CFGR_PPRE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
notl %ecx
andl (%rax), %ecx
orl %ebx, %ecx
movl %ecx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RCC,8,3 ## @RCC
.comm _RCC_CFGR_PPRE,4,2 ## @RCC_CFGR_PPRE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RCC_PCLKConfig ; -- Begin function RCC_PCLKConfig
.p2align 2
_RCC_PCLKConfig: ; @RCC_PCLKConfig
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _IS_RCC_PCLK
bl _assert_param
Lloh0:
adrp x8, _RCC@GOTPAGE
Lloh1:
ldr x8, [x8, _RCC@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w9, [x8]
Lloh3:
adrp x10, _RCC_CFGR_PPRE@GOTPAGE
Lloh4:
ldr x10, [x10, _RCC_CFGR_PPRE@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
bic w9, w9, w10
orr w9, w9, w19
str w9, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RCC,8,3 ; @RCC
.comm _RCC_CFGR_PPRE,4,2 ; @RCC_CFGR_PPRE
.subsections_via_symbols
| AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_rcc.c_RCC_PCLKConfig.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8u_L42 ## -- Begin function mul8u_L42
.p2align 4, 0x90
_mul8u_L42: ## @mul8u_L42
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movq %rdi, %r10
shrq $6, %r10
movl %esi, %ecx
shrl $6, %ecx
andl $1, %ecx
movl %ecx, %r9d
andl %r10d, %r9d
movq %rdi, %r8
shrq $7, %r8
movq %rsi, %r11
shrq $5, %r11
movl %r8d, %edx
andl %r11d, %edx
andl $1, %edx
andl %r8d, %ecx
movq %rcx, %rax
orq %rdx, %rax
andl %r11d, %ecx
shrq $7, %rsi
movl %ecx, %r11d
andl %esi, %r11d
andl $1, %esi
xorq %rcx, %rax
shrq $5, %rdi
andl %esi, %edi
andl %esi, %r10d
andl %r8d, %esi
movq %r10, %rbx
xorq %rax, %rbx
andl %r10d, %eax
movl %edi, %edx
andl %ebx, %edx
orl %edx, %eax
xorq %rsi, %rcx
xorq %rax, %rcx
andl %r8d, %eax
orl %r11d, %eax
movq %r9, %rdx
shlq $9, %rdx
shlq $10, %rsi
orq %rsi, %rdx
movq %r9, %rsi
shlq $11, %rsi
orq %rdx, %rsi
shlq $12, %r9
orq %rsi, %r9
xorq %rdi, %rbx
shlq $13, %rbx
orq %r9, %rbx
shlq $14, %rcx
orq %rbx, %rcx
shlq $15, %rax
orq %rcx, %rax
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mul8u_L42 ; -- Begin function mul8u_L42
.p2align 2
_mul8u_L42: ; @mul8u_L42
.cfi_startproc
; %bb.0:
lsr x8, x0, #6
ubfx x9, x1, #6, #1
and x10, x9, x8
lsr x11, x0, #7
lsr x12, x1, #5
and w13, w11, w12
and x13, x13, #0x1
and x9, x9, x11
and x12, x9, x12
orr x9, x13, x9
lsr x13, x1, #7
ubfx x14, x1, #7, #1
and x13, x12, x13
eor x9, x9, x12
and x15, x14, x0, lsr #5
and x8, x14, x8
and x14, x14, x11
eor x16, x9, x8
and x8, x9, x8
and x9, x16, x15
orr x8, x9, x8
eor x9, x12, x14
and x11, x8, x11
eor x8, x9, x8
orr x9, x11, x13
lsl x11, x14, #10
bfi x11, x10, #9, #1
bfi x11, x10, #11, #1
bfi x11, x10, #12, #1
eor x10, x16, x15
bfi x11, x10, #13, #51
orr x8, x11, x8, lsl #14
orr x0, x8, x9, lsl #15
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/3262437.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfs ## -- Begin function bfs
.p2align 4, 0x90
_bfs: ## @bfs
.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 $816, %rsp ## imm = 0x330
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movl %edx, %r12d
testl %edx, %edx
jle LBB0_2
## %bb.1:
leaq (,%r12,4), %rsi
leaq -448(%rbp), %rdi
callq ___bzero
LBB0_2:
movl %r15d, -848(%rbp)
movslq %r15d, %rax
movl $1, -448(%rbp,%rax,4)
xorl %eax, %eax
movq $-1, %rcx
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_12 Depth 2
movl %eax, %edx
incq %rcx
negq %rdx
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
testl %ebx, %ebx
jg LBB0_11
## %bb.9: ## in Loop: Header=BB0_10 Depth=2
leaq (%rdx,%rcx), %rsi
incq %rsi
incq %rcx
cmpq $1, %rsi
jne LBB0_10
jmp LBB0_7
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movslq -848(%rbp,%rcx,4), %rdx
imulq $400, %rdx, %rdx ## imm = 0x190
addq %r14, %rdx
xorl %esi, %esi
jmp LBB0_12
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_12 Depth=2
incq %rsi
cmpq %rsi, %r12
je LBB0_4
LBB0_12: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, (%rdx,%rsi,4)
jne LBB0_15
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
cmpl $0, -448(%rbp,%rsi,4)
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_12 Depth=2
movslq %eax, %rdi
incl %eax
movl %esi, -844(%rbp,%rdi,4)
movl $1, -448(%rbp,%rsi,4)
jmp LBB0_15
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %edx
cmpq %rcx, %rdx
jne LBB0_3
## %bb.5:
leaq L_.str(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl -848(%rbp,%rbx,4), %esi
addl $65, %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
cmpq %rbx, %r12
jne LBB0_6
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_8
## %bb.16:
movl $10, %edi
addq $816, %rsp ## imm = 0x330
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $40824, %eax ## imm = 0x9F78
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.7(%rip), %rdi
callq _puts
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.5(%rip), %rdi
leaq -40852(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl $10, %edi
callq _putchar
leaq L_str.8(%rip), %rdi
callq _puts
movl -40852(%rbp), %eax
testl %eax, %eax
jle LBB1_6
## %bb.1:
leaq -40848(%rbp), %r15
leaq L_.str.5(%rip), %r14
xorl %r12d, %r12d
jmp LBB1_2
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_2 Depth=1
movslq %eax, %rcx
incq %r12
addq $400, %r15 ## imm = 0x190
cmpq %rcx, %r12
jge LBB1_6
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
testl %eax, %eax
jle LBB1_5
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movq %r15, %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB1_4: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -40852(%rbp), %rax
addq $4, %r13
cmpq %rax, %rbx
jl LBB1_4
jmp LBB1_5
LBB1_6:
movl $10, %edi
callq _putchar
movl -40852(%rbp), %ebx
testl %ebx, %ebx
jle LBB1_8
## %bb.7:
leaq (,%rbx,4), %rsi
leaq -448(%rbp), %rdi
callq ___bzero
LBB1_8:
movl $0, -848(%rbp)
movl $1, -448(%rbp)
xorl %eax, %eax
movq $-1, %rcx
LBB1_9: ## =>This Loop Header: Depth=1
## Child Loop BB1_16 Depth 2
## Child Loop BB1_18 Depth 2
movl %eax, %edx
incq %rcx
negq %rdx
.p2align 4, 0x90
LBB1_16: ## Parent Loop BB1_9 Depth=1
## => This Inner Loop Header: Depth=2
testl %ebx, %ebx
jg LBB1_17
## %bb.15: ## in Loop: Header=BB1_16 Depth=2
leaq (%rdx,%rcx), %rsi
incq %rsi
incq %rcx
cmpq $1, %rsi
jne LBB1_16
jmp LBB1_13
.p2align 4, 0x90
LBB1_17: ## in Loop: Header=BB1_9 Depth=1
movslq -848(%rbp,%rcx,4), %rdx
imulq $400, %rdx, %rdx ## imm = 0x190
addq %rbp, %rdx
addq $-40848, %rdx ## imm = 0xFFFF6070
xorl %esi, %esi
jmp LBB1_18
.p2align 4, 0x90
LBB1_21: ## in Loop: Header=BB1_18 Depth=2
incq %rsi
cmpq %rsi, %rbx
je LBB1_10
LBB1_18: ## Parent Loop BB1_9 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, (%rdx,%rsi,4)
jne LBB1_21
## %bb.19: ## in Loop: Header=BB1_18 Depth=2
cmpl $0, -448(%rbp,%rsi,4)
jne LBB1_21
## %bb.20: ## in Loop: Header=BB1_18 Depth=2
movslq %eax, %rdi
incl %eax
movl %esi, -844(%rbp,%rdi,4)
movl $1, -448(%rbp,%rsi,4)
jmp LBB1_21
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_9 Depth=1
movl %eax, %edx
cmpq %rcx, %rdx
jne LBB1_9
## %bb.11:
leaq L_.str(%rip), %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB1_12: ## =>This Inner Loop Header: Depth=1
movl -848(%rbp,%r15,4), %esi
addl $65, %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %r15
cmpq %r15, %rbx
jne LBB1_12
LBB1_13:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB1_14
## %bb.22:
xorl %eax, %eax
addq $40824, %rsp ## imm = 0x9F78
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c "
L_.str.4: ## @.str.4
.asciz "Enter Number of Vertex : "
L_.str.5: ## @.str.5
.asciz "%d"
L_str: ## @str
.asciz "Breadth First Seach"
L_str.7: ## @str.7
.asciz "*******************\n"
L_str.8: ## @str.8
.asciz "Enter Adjacency Matrix : \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bfs ; -- Begin function bfs
.p2align 2
_bfs: ; @bfs
.cfi_startproc
; %bb.0:
stp x28, x27, [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 w27, -56
.cfi_offset w28, -64
sub sp, sp, #816
mov x19, x2
mov x21, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w22, w2
cmp w2, #1
b.lt LBB0_2
; %bb.1:
lsl x1, x22, #2
add x0, sp, #408
bl _bzero
LBB0_2:
mov w10, #0
str w21, [sp, #8]
add x8, sp, #408
mov w9, #1
str w9, [x8, w21, sxtw #2]
mov x11, #-1
add x12, sp, #8
mov w13, #400
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
; Child Loop BB0_8 Depth 2
mov x14, #0
add x11, x11, #1
sub x14, x14, w10, uxtw
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w19, #1
b.ge LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
add x11, x11, #1
add x15, x14, x11
cmp x15, #1
b.ne LBB0_4
b LBB0_14
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov x14, #0
ldrsw x15, [x12, x11, lsl #2]
madd x15, x15, x13, x20
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x14, x14, #1
cmp x22, x14
b.eq LBB0_11
LBB0_8: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w16, [x15, x14, lsl #2]
cmp w16, #1
b.ne LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr w16, [x8, x14, lsl #2]
cbnz w16, LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
sxtw x10, w10
add x10, x10, #1
str w14, [x12, x10, lsl #2]
str w9, [x8, x14, lsl #2]
; kill: def $w10 killed $w10 killed $x10 def $x10
b LBB0_7
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov w14, w10
cmp x14, x11
b.ne LBB0_3
; %bb.12:
add x20, sp, #8
Lloh3:
adrp x19, l_.str@PAGE
Lloh4:
add x19, x19, l_.str@PAGEOFF
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20], #4
add w8, w8, #65
str x8, [sp]
mov x0, x19
bl _printf
subs x22, x22, #1
b.ne LBB0_13
LBB0_14:
ldur x8, [x29, #-56]
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_16
; %bb.15:
mov w0, #10
add sp, sp, #816
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 x28, x27, [sp], #64 ; 16-byte Folded Reload
b _putchar
LBB0_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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 w9, #40832
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #9, lsl #12 ; =36864
sub sp, sp, #3968
Lloh10:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh13:
adrp x0, l_str@PAGE
Lloh14:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh15:
adrp x0, l_str.7@PAGE
Lloh16:
add x0, x0, l_str.7@PAGEOFF
bl _puts
Lloh17:
adrp x0, l_.str.4@PAGE
Lloh18:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add x8, sp, #20
str x8, [sp]
Lloh19:
adrp x0, l_.str.5@PAGE
Lloh20:
add x0, x0, l_.str.5@PAGEOFF
bl _scanf
mov w0, #10
bl _putchar
Lloh21:
adrp x0, l_str.8@PAGE
Lloh22:
add x0, x0, l_str.8@PAGEOFF
bl _puts
ldr w8, [sp, #20]
cmp w8, #1
b.lt LBB1_6
; %bb.1:
mov x20, #0
add x21, sp, #24
Lloh23:
adrp x19, l_.str.5@PAGE
Lloh24:
add x19, x19, l_.str.5@PAGEOFF
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add x20, x20, #1
add x21, x21, #400
cmp x20, w8, sxtw
b.ge LBB1_6
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_5 Depth 2
cmp w8, #1
b.lt LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
mov x22, #0
mov x23, x21
LBB1_5: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
str x23, [sp]
mov x0, x19
bl _scanf
add x22, x22, #1
ldrsw x8, [sp, #20]
add x23, x23, #4
cmp x22, x8
b.lt LBB1_5
b LBB1_2
LBB1_6:
add x19, sp, #9, lsl #12 ; =36864
add x19, x19, #3160
mov w0, #10
bl _putchar
ldr w20, [sp, #20]
cmp w20, #1
b.lt LBB1_8
; %bb.7:
lsl x1, x20, #2
add x0, sp, #9, lsl #12 ; =36864
add x0, x0, #3560
bl _bzero
LBB1_8:
mov w10, #0
str wzr, [x19]
mov w8, #1
mov x9, #-1
str w8, [x19, #400]
add x11, sp, #9, lsl #12 ; =36864
add x11, x11, #3160
mov w12, #400
add x13, sp, #24
add x14, sp, #9, lsl #12 ; =36864
add x14, x14, #3560
LBB1_9: ; =>This Loop Header: Depth=1
; Child Loop BB1_10 Depth 2
; Child Loop BB1_14 Depth 2
mov x15, #0
add x9, x9, #1
sub x15, x15, w10, uxtw
LBB1_10: ; Parent Loop BB1_9 Depth=1
; => This Inner Loop Header: Depth=2
cmp w20, #1
b.ge LBB1_12
; %bb.11: ; in Loop: Header=BB1_10 Depth=2
add x9, x9, #1
add x16, x15, x9
cmp x16, #1
b.ne LBB1_10
b LBB1_20
LBB1_12: ; in Loop: Header=BB1_9 Depth=1
mov x15, #0
ldrsw x16, [x11, x9, lsl #2]
madd x16, x16, x12, x13
b LBB1_14
LBB1_13: ; in Loop: Header=BB1_14 Depth=2
add x15, x15, #1
cmp x20, x15
b.eq LBB1_17
LBB1_14: ; Parent Loop BB1_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w17, [x16, x15, lsl #2]
cmp w17, #1
b.ne LBB1_13
; %bb.15: ; in Loop: Header=BB1_14 Depth=2
ldr w17, [x14, x15, lsl #2]
cbnz w17, LBB1_13
; %bb.16: ; in Loop: Header=BB1_14 Depth=2
sxtw x10, w10
add x10, x10, #1
str w15, [x11, x10, lsl #2]
str w8, [x14, x15, lsl #2]
; kill: def $w10 killed $w10 killed $x10 def $x10
b LBB1_13
LBB1_17: ; in Loop: Header=BB1_9 Depth=1
mov w15, w10
cmp x15, x9
b.ne LBB1_9
; %bb.18:
add x21, sp, #9, lsl #12 ; =36864
add x21, x21, #3160
Lloh25:
adrp x19, l_.str@PAGE
Lloh26:
add x19, x19, l_.str@PAGEOFF
LBB1_19: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21], #4
add w8, w8, #65
str x8, [sp]
mov x0, x19
bl _printf
subs x20, x20, #1
b.ne LBB1_19
LBB1_20:
mov w0, #10
bl _putchar
ldur x8, [x29, #-56]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_22
; %bb.21:
mov w0, #0
add sp, sp, #9, lsl #12 ; =36864
add sp, sp, #3968
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
LBB1_22:
bl ___stack_chk_fail
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c "
l_.str.4: ; @.str.4
.asciz "Enter Number of Vertex : "
l_.str.5: ; @.str.5
.asciz "%d"
l_str: ; @str
.asciz "Breadth First Seach"
l_str.7: ; @str.7
.asciz "*******************\n"
l_str.8: ; @str.8
.asciz "Enter Adjacency Matrix : \n"
.subsections_via_symbols
| the_stack_data/463597.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vsunlock ## -- Begin function vsunlock
.p2align 4, 0x90
_vsunlock: ## @vsunlock
.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, %rbx
movq _curthread@GOTPCREL(%rip), %r15
movq (%r15), %rax
xorl %edi, %edi
cmpq %rsi, (%rax)
setae %dil
callq _MPASS
movq (%r15), %rax
subq %r14, (%rax)
movq _curproc@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %r15
movq %rbx, %rdi
callq _trunc_page
movl %eax, %r12d
addq %r14, %rbx
movq %rbx, %rdi
callq _round_page
movq _VM_MAP_WIRE_SYSTEM@GOTPCREL(%rip), %rdx
movq _VM_MAP_WIRE_NOHOLES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdx), %ecx
movq %r15, %rdi
movl %r12d, %esi
movl %eax, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _vm_map_unwire ## TAILCALL
.cfi_endproc
## -- End function
.comm _curthread,8,3 ## @curthread
.comm _curproc,8,3 ## @curproc
.comm _VM_MAP_WIRE_SYSTEM,4,2 ## @VM_MAP_WIRE_SYSTEM
.comm _VM_MAP_WIRE_NOHOLES,4,2 ## @VM_MAP_WIRE_NOHOLES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vsunlock ; -- Begin function vsunlock
.p2align 2
_vsunlock: ; @vsunlock
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x21, _curthread@GOTPAGE
Lloh1:
ldr x21, [x21, _curthread@GOTPAGEOFF]
ldr x8, [x21]
ldr x8, [x8]
cmp x8, x1
cset w0, hs
bl _MPASS
ldr x8, [x21]
ldr x9, [x8]
sub x9, x9, x19
str x9, [x8]
Lloh2:
adrp x8, _curproc@GOTPAGE
Lloh3:
ldr x8, [x8, _curproc@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldr x21, [x8]
mov x0, x20
bl _trunc_page
mov x22, x0
add x0, x20, x19
bl _round_page
mov x2, x0
Lloh5:
adrp x8, _VM_MAP_WIRE_SYSTEM@GOTPAGE
Lloh6:
ldr x8, [x8, _VM_MAP_WIRE_SYSTEM@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
adrp x9, _VM_MAP_WIRE_NOHOLES@GOTPAGE
Lloh9:
ldr x9, [x9, _VM_MAP_WIRE_NOHOLES@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
orr w3, w9, w8
mov x0, x21
mov x1, 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
b _vm_map_unwire
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _curthread,8,3 ; @curthread
.comm _curproc,8,3 ; @curproc
.comm _VM_MAP_WIRE_SYSTEM,4,2 ; @VM_MAP_WIRE_SYSTEM
.comm _VM_MAP_WIRE_NOHOLES,4,2 ; @VM_MAP_WIRE_NOHOLES
.subsections_via_symbols
| AnghaBench/freebsd/sys/vm/extr_vm_glue.c_vsunlock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sm_sector_valid
_sm_sector_valid: ## @sm_sector_valid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
callq _hweight16
xorl %ecx, %ecx
cmpl $5, %eax
setge %cl
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sm_sector_valid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sm_sector_valid
_sm_sector_valid: ; @sm_sector_valid
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr w0, [x0]
bl _hweight16
cmp w0, #4
cset w0, gt
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _sm_sector_valid
.subsections_via_symbols
| AnghaBench/linux/drivers/mtd/nand/raw/extr_sm_common.h_sm_sector_valid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function has_file_name
_has_file_name: ## @has_file_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -44(%rbp) ## 4-byte Spill
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rdi
callq _strlen
movq %rax, %r12
movq %r14, %rdi
callq _GIT_INDEX_ENTRY_STAGE
movl %eax, -48(%rbp) ## 4-byte Spill
cmpq %r13, (%r15)
jae LBB0_1
LBB0_10:
xorl %eax, %eax
LBB0_11:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
movq (%r14), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %r13
cmpq (%r15), %r14
ja LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
leaq -1(%r13), %r14
movq (%rax,%r13,8), %rbx
cmpq (%rbx), %r12
jae LBB0_9
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rsi
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r12, %rdx
callq _memcmp
testq %rax, %rax
jne LBB0_10
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
leaq 16(%rbx), %rdi
callq _GIT_INDEX_ENTRY_STAGE
cmpl -48(%rbp), %eax ## 4-byte Folded Reload
jne LBB0_9
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%rbx), %rax
cmpb $47, (%rax,%r12)
jne LBB0_9
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
addq $-2, %r13
movq %r15, %rdi
movq %r13, %rsi
callq _index_remove_entry
movq %r13, %r14
testq %rax, %rax
jns LBB0_9
jmp LBB0_10
LBB0_7:
movl $-1, %eax
jmp LBB0_11
.cfi_endproc
## -- End function
.no_dead_strip _has_file_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function has_file_name
_has_file_name: ; @has_file_name
.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, x3
mov x24, x2
mov x23, x1
mov x20, x0
ldr x0, [x1]
bl _strlen
mov x21, x0
mov x0, x23
bl _GIT_INDEX_ENTRY_STAGE
ldr x8, [x20]
cmp x8, x24
b.hs LBB0_3
LBB0_1:
mov w0, #0 ; =0x0
LBB0_2:
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_3:
mov x22, x0
ldr x23, [x23]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20]
mov x24, x25
cmp x25, x8
b.hi LBB0_1
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
sub x25, x24, #1
ldr x26, [x8, x24, lsl #3]
ldr x8, [x26]
cmp x21, x8
b.hs LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x1, [x26, #8]
mov x0, x23
mov x2, x21
bl _memcmp
cbnz x0, LBB0_1
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
add x0, x26, #16
bl _GIT_INDEX_ENTRY_STAGE
cmp w0, w22
b.ne LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x26, #8]
ldrb w8, [x8, x21]
cmp w8, #47
b.ne LBB0_4
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
cbz w19, LBB0_11
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
sub x25, x24, #2
mov x0, x20
mov x1, x25
bl _index_remove_entry
tbz x0, #63, LBB0_4
b LBB0_1
LBB0_11:
mov w0, #-1 ; =0xffffffff
b LBB0_2
.cfi_endproc
; -- End function
.no_dead_strip _has_file_name
.subsections_via_symbols
| assembly_file_159091.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function language_search_unquoted_string
_language_search_unquoted_string: ## @language_search_unquoted_string
.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
cmpq %rdi, %rsi
jbe LBB0_22
## %bb.1:
movq %rdi, %r14
movq _current_language@GOTPCREL(%rip), %r15
movq _language_objc@GOTPCREL(%rip), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
movq %rbx, %rax
cmpq %r14, %rbx
jbe LBB0_23
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl -1(%rbx), %edi
callq _isalnum
testq %rax, %rax
setne %cl
movzbl -1(%rbx), %eax
cmpb $95, %al
sete %dl
andb %cl, %dl
testb %al, %al
sete %cl
orb %dl, %cl
jne LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq (%r15), %rcx
movq (%rcx), %rcx
cmpq (%r12), %rcx
jne LBB0_22
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movzbl %al, %eax
cmpl $58, %eax
je LBB0_2
## %bb.6:
leal -40(%rax), %ecx
cmpl $2, %ecx
jb LBB0_11
## %bb.7:
cmpl $32, %eax
je LBB0_11
## %bb.8:
cmpl $91, %eax
jne LBB0_22
## %bb.9:
leaq -2(%rbx), %rax
movzbl -2(%rbx), %ecx
cmpl $43, %ecx
je LBB0_23
## %bb.10:
cmpl $45, %ecx
je LBB0_23
jmp LBB0_22
LBB0_11:
cmpq %r14, %rbx
jbe LBB0_22
## %bb.12:
movabsq $-9223372036787666175, %r12 ## imm = 0x8000000004000301
movq %rbx, %r13
jmp LBB0_14
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_14 Depth=1
cmpq %r14, %r13
jbe LBB0_18
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
movq %r13, %r15
decq %r13
movzbl -1(%r15), %eax
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
callq _isalnum
testq %rax, %rax
jne LBB0_13
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movzbl (%r13), %eax
movl %eax, %ecx
addl $-32, %ecx
cmpl $63, %ecx
ja LBB0_15
## %bb.17: ## in Loop: Header=BB0_15 Depth=2
btq %rcx, %r12
jae LBB0_15
jmp LBB0_13
LBB0_18:
cmpb $91, -2(%r15)
jne LBB0_22
## %bb.19:
movzbl -3(%r15), %ecx
addq $-3, %r15
cmpl $45, %ecx
je LBB0_24
## %bb.20:
movq %rbx, %rax
cmpl $43, %ecx
jne LBB0_23
LBB0_24:
movq %r15, %rax
jmp LBB0_23
LBB0_22:
movq %rbx, %rax
LBB0_23:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _current_language,8,3 ## @current_language
.comm _language_objc,8,3 ## @language_objc
.no_dead_strip _language_search_unquoted_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function language_search_unquoted_string
_language_search_unquoted_string: ; @language_search_unquoted_string
.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, x1
cmp x1, x0
b.ls LBB0_19
; %bb.1:
mov x20, x0
Lloh0:
adrp x21, _current_language@GOTPAGE
Lloh1:
ldr x21, [x21, _current_language@GOTPAGEOFF]
Lloh2:
adrp x22, _language_objc@GOTPAGE
Lloh3:
ldr x22, [x22, _language_objc@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x19, x19, #1
mov x0, x19
cmp x19, x20
b.ls LBB0_20
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldursb w0, [x19, #-1]
bl _isalnum
ldurb w8, [x19, #-1]
and w8, w8, #0xff
cmp w8, #95
ccmp x0, #0, #4, eq
ccmp w8, #0, #4, eq
b.eq LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x21]
ldr x9, [x9]
ldr x10, [x22]
cmp x9, x10
b.ne LBB0_19
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #58
b.eq LBB0_2
; %bb.6:
sub w9, w8, #40
cmp w9, #2
b.lo LBB0_11
; %bb.7:
cmp w8, #32
b.eq LBB0_11
; %bb.8:
cmp w8, #91
b.ne LBB0_19
; %bb.9:
mov x0, x19
ldrb w8, [x0, #-2]!
cmp w8, #43
b.eq LBB0_20
; %bb.10:
cmp w8, #45
b.eq LBB0_20
b LBB0_19
LBB0_11:
cmp x19, x20
b.ls LBB0_19
; %bb.12:
mov w22, #1 ; =0x1
mov x23, #769 ; =0x301
movk x23, #1024, lsl #16
movk x23, #32768, lsl #48
mov x24, x19
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
cmp x24, x20
b.ls LBB0_17
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
mov x21, x24
ldrb w8, [x24, #-1]!
LBB0_15: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
bl _isalnum
cbnz x0, LBB0_13
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
ldrb w8, [x24]
sub w9, w8, #32
cmp w9, #63
lsl x9, x22, x9
and x9, x9, x23
ccmp x9, #0, #4, ls
b.eq LBB0_15
b LBB0_13
LBB0_17:
ldurb w8, [x21, #-2]
cmp w8, #91
b.ne LBB0_19
; %bb.18:
ldrb w8, [x21, #-3]!
cmp w8, #43
csel x9, x19, x21, ne
cmp w8, #45
csel x0, x21, x9, eq
b LBB0_20
LBB0_19:
mov x0, 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
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _current_language,8,3 ; @current_language
.comm _language_objc,8,3 ; @language_objc
.no_dead_strip _language_search_unquoted_string
.subsections_via_symbols
| assembly_file_100412.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ptrace_get_task_struct
_ptrace_get_task_struct: ## @ptrace_get_task_struct
.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
xorl %r14d, %r14d
xorl %eax, %eax
callq _rcu_read_lock
movl %ebx, %edi
callq _find_task_by_vpid
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %rbx
movq %rax, %rdi
callq _get_task_struct
xorl %eax, %eax
callq _rcu_read_unlock
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
callq _rcu_read_unlock
movq _ESRCH@GOTPCREL(%rip), %rax
subl (%rax), %r14d
movl %r14d, %edi
popq %rbx
popq %r14
popq %rbp
jmp _ERR_PTR ## TAILCALL
.cfi_endproc
## -- End function
.comm _ESRCH,4,2 ## @ESRCH
.no_dead_strip _ptrace_get_task_struct
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ptrace_get_task_struct
_ptrace_get_task_struct: ; @ptrace_get_task_struct
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _rcu_read_lock
mov x0, x19
bl _find_task_by_vpid
cbz x0, LBB0_2
; %bb.1:
mov x19, x0
bl _get_task_struct
bl _rcu_read_unlock
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2:
bl _rcu_read_unlock
Lloh0:
adrp x8, _ESRCH@GOTPAGE
Lloh1:
ldr x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ERR_PTR
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ESRCH,4,2 ; @ESRCH
.no_dead_strip _ptrace_get_task_struct
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/extr_ptrace.c_ptrace_get_task_struct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function jffs2_fh_to_parent
_jffs2_fh_to_parent: ## @jffs2_fh_to_parent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _jffs2_nfs_get_inode@GOTPCREL(%rip), %rax
movl (%rax), %r8d
popq %rbp
jmp _generic_fh_to_parent ## TAILCALL
.cfi_endproc
## -- End function
.comm _jffs2_nfs_get_inode,4,2 ## @jffs2_nfs_get_inode
.no_dead_strip _jffs2_fh_to_parent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function jffs2_fh_to_parent
_jffs2_fh_to_parent: ; @jffs2_fh_to_parent
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _jffs2_nfs_get_inode@GOTPAGE
Lloh1:
ldr x8, [x8, _jffs2_nfs_get_inode@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
b _generic_fh_to_parent
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _jffs2_nfs_get_inode,4,2 ; @jffs2_nfs_get_inode
.no_dead_strip _jffs2_fh_to_parent
.subsections_via_symbols
| AnghaBench/linux/fs/jffs2/extr_super.c_jffs2_fh_to_parent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_usX2Y_usbpcm_close
_snd_usX2Y_usbpcm_close: ## @snd_usX2Y_usbpcm_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq (%rax), %rax
movq $0, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _snd_usX2Y_usbpcm_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_usX2Y_usbpcm_close
_snd_usX2Y_usbpcm_close: ; @snd_usX2Y_usbpcm_close
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x8, [x8]
str xzr, [x8]
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _snd_usX2Y_usbpcm_close
.subsections_via_symbols
| AnghaBench/linux/sound/usb/usx2y/extr_usx2yhwdeppcm.c_snd_usX2Y_usbpcm_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _md5_mac ## -- Begin function md5_mac
.p2align 4, 0x90
_md5_mac: ## @md5_mac
.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 %r8, -48(%rbp) ## 8-byte Spill
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
leaq -52(%rbp), %r14
movq %r14, %rdi
callq _MD5Init
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _MD5Update
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq _MD5Update
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _MD5Update
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
callq _MD5Final
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _md5_mac ; -- Begin function md5_mac
.p2align 2
_md5_mac: ; @md5_mac
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x4
mov x20, x3
mov x21, x2
mov x22, x1
mov x23, x0
add x0, sp, #12
bl _MD5Init
add x0, sp, #12
mov x1, x23
mov x2, x22
bl _MD5Update
add x0, sp, #12
mov x1, x21
mov x2, x20
bl _MD5Update
add x0, sp, #12
mov x1, x23
mov x2, x22
bl _MD5Update
add x1, sp, #12
mov x0, x19
bl _MD5Final
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_md5.c_md5_mac.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function deliverable_irqs
_deliverable_irqs: ## @deliverable_irqs
.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, %r14
callq _pending_irqs
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movq %r14, %rdi
callq _psw_extint_disabled
movq _IRQ_PEND_EXT_MASK@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
notq %rcx
xorl %edx, %edx
cmpq $1, %rax
sbbq %rdx, %rdx
orq %rcx, %rdx
andq %rdx, %rbx
movq %r14, %rdi
callq _psw_ioint_disabled
testq %rax, %rax
je LBB0_4
## %bb.3:
movq _IRQ_PEND_IO_MASK@GOTPCREL(%rip), %rax
movq (%rax), %rax
notq %rax
andq %rax, %rbx
jmp LBB0_5
LBB0_1:
xorl %eax, %eax
jmp LBB0_20
LBB0_4:
movq %r14, %rdi
movq %rbx, %rsi
callq _disable_iscs
movq %rax, %rbx
LBB0_5:
movq %rbx, -24(%rbp)
movq 8(%r14), %rax
movq (%rax), %rax
movl (%rax), %eax
movq _CR0_EXTERNAL_CALL_SUBMASK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_7
## %bb.6:
movq _IRQ_PEND_EXT_EXTERNAL@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
movq 8(%r14), %rax
movq (%rax), %rax
movl (%rax), %eax
LBB0_7:
movq _CR0_EMERGENCY_SIGNAL_SUBMASK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_9
## %bb.8:
movq _IRQ_PEND_EXT_EMERGENCY@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
movq 8(%r14), %rax
movq (%rax), %rax
movl (%rax), %eax
LBB0_9:
movq _CR0_CLOCK_COMPARATOR_SUBMASK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_11
## %bb.10:
movq _IRQ_PEND_EXT_CLOCK_COMP@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
movq 8(%r14), %rax
movq (%rax), %rax
movl (%rax), %eax
LBB0_11:
movq _CR0_CPU_TIMER_SUBMASK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_13
## %bb.12:
movq _IRQ_PEND_EXT_CPU_TIMER@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
movq 8(%r14), %rax
movq (%rax), %rax
movl (%rax), %eax
LBB0_13:
movq _CR0_SERVICE_SIGNAL_SUBMASK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
jne LBB0_15
## %bb.14:
movq _IRQ_PEND_EXT_SERVICE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
LBB0_15:
movq %r14, %rdi
callq _psw_mchk_disabled
testq %rax, %rax
je LBB0_17
## %bb.16:
movq _IRQ_PEND_MCHK_MASK@GOTPCREL(%rip), %rax
movq (%rax), %rax
notq %rax
andq %rax, -24(%rbp)
LBB0_17:
movq 8(%r14), %rax
movq (%rax), %rax
movq 16(%r14), %rcx
movl (%r14), %edx
orl (%rcx), %edx
testl %edx, 56(%rax)
jne LBB0_19
## %bb.18:
movq _IRQ_PEND_MCHK_REP@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
LBB0_19:
movq _IRQ_PEND_SIGP_STOP@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -24(%rbp), %rsi
callq ___clear_bit
movq -24(%rbp), %rax
LBB0_20:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IRQ_PEND_EXT_MASK,8,3 ## @IRQ_PEND_EXT_MASK
.comm _IRQ_PEND_IO_MASK,8,3 ## @IRQ_PEND_IO_MASK
.comm _CR0_EXTERNAL_CALL_SUBMASK,4,2 ## @CR0_EXTERNAL_CALL_SUBMASK
.comm _IRQ_PEND_EXT_EXTERNAL,4,2 ## @IRQ_PEND_EXT_EXTERNAL
.comm _CR0_EMERGENCY_SIGNAL_SUBMASK,4,2 ## @CR0_EMERGENCY_SIGNAL_SUBMASK
.comm _IRQ_PEND_EXT_EMERGENCY,4,2 ## @IRQ_PEND_EXT_EMERGENCY
.comm _CR0_CLOCK_COMPARATOR_SUBMASK,4,2 ## @CR0_CLOCK_COMPARATOR_SUBMASK
.comm _IRQ_PEND_EXT_CLOCK_COMP,4,2 ## @IRQ_PEND_EXT_CLOCK_COMP
.comm _CR0_CPU_TIMER_SUBMASK,4,2 ## @CR0_CPU_TIMER_SUBMASK
.comm _IRQ_PEND_EXT_CPU_TIMER,4,2 ## @IRQ_PEND_EXT_CPU_TIMER
.comm _CR0_SERVICE_SIGNAL_SUBMASK,4,2 ## @CR0_SERVICE_SIGNAL_SUBMASK
.comm _IRQ_PEND_EXT_SERVICE,4,2 ## @IRQ_PEND_EXT_SERVICE
.comm _IRQ_PEND_MCHK_MASK,8,3 ## @IRQ_PEND_MCHK_MASK
.comm _IRQ_PEND_MCHK_REP,4,2 ## @IRQ_PEND_MCHK_REP
.comm _IRQ_PEND_SIGP_STOP,4,2 ## @IRQ_PEND_SIGP_STOP
.no_dead_strip _deliverable_irqs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function deliverable_irqs
_deliverable_irqs: ; @deliverable_irqs
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _pending_irqs
cbz x0, LBB0_19
; %bb.1:
mov x20, x0
mov x0, x19
bl _psw_extint_disabled
Lloh0:
adrp x8, _IRQ_PEND_EXT_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _IRQ_PEND_EXT_MASK@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, #0
mov x9, #-1
csinv x8, x9, x8, eq
and x20, x20, x8
mov x0, x19
bl _psw_ioint_disabled
cbz x0, LBB0_3
; %bb.2:
Lloh3:
adrp x8, _IRQ_PEND_IO_MASK@GOTPAGE
Lloh4:
ldr x8, [x8, _IRQ_PEND_IO_MASK@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
bic x0, x20, x8
b LBB0_4
LBB0_3:
mov x0, x19
mov x1, x20
bl _disable_iscs
LBB0_4:
str x0, [sp, #8]
ldr x8, [x19, #8]
ldr x8, [x8]
ldr w8, [x8]
Lloh6:
adrp x9, _CR0_EXTERNAL_CALL_SUBMASK@GOTPAGE
Lloh7:
ldr x9, [x9, _CR0_EXTERNAL_CALL_SUBMASK@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_6
; %bb.5:
Lloh9:
adrp x8, _IRQ_PEND_EXT_EXTERNAL@GOTPAGE
Lloh10:
ldr x8, [x8, _IRQ_PEND_EXT_EXTERNAL@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
ldr x8, [x19, #8]
ldr x8, [x8]
ldr w8, [x8]
LBB0_6:
Lloh12:
adrp x9, _CR0_EMERGENCY_SIGNAL_SUBMASK@GOTPAGE
Lloh13:
ldr x9, [x9, _CR0_EMERGENCY_SIGNAL_SUBMASK@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_8
; %bb.7:
Lloh15:
adrp x8, _IRQ_PEND_EXT_EMERGENCY@GOTPAGE
Lloh16:
ldr x8, [x8, _IRQ_PEND_EXT_EMERGENCY@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
ldr x8, [x19, #8]
ldr x8, [x8]
ldr w8, [x8]
LBB0_8:
Lloh18:
adrp x9, _CR0_CLOCK_COMPARATOR_SUBMASK@GOTPAGE
Lloh19:
ldr x9, [x9, _CR0_CLOCK_COMPARATOR_SUBMASK@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_10
; %bb.9:
Lloh21:
adrp x8, _IRQ_PEND_EXT_CLOCK_COMP@GOTPAGE
Lloh22:
ldr x8, [x8, _IRQ_PEND_EXT_CLOCK_COMP@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
ldr x8, [x19, #8]
ldr x8, [x8]
ldr w8, [x8]
LBB0_10:
Lloh24:
adrp x9, _CR0_CPU_TIMER_SUBMASK@GOTPAGE
Lloh25:
ldr x9, [x9, _CR0_CPU_TIMER_SUBMASK@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_12
; %bb.11:
Lloh27:
adrp x8, _IRQ_PEND_EXT_CPU_TIMER@GOTPAGE
Lloh28:
ldr x8, [x8, _IRQ_PEND_EXT_CPU_TIMER@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
ldr x8, [x19, #8]
ldr x8, [x8]
ldr w8, [x8]
LBB0_12:
Lloh30:
adrp x9, _CR0_SERVICE_SIGNAL_SUBMASK@GOTPAGE
Lloh31:
ldr x9, [x9, _CR0_SERVICE_SIGNAL_SUBMASK@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_14
; %bb.13:
Lloh33:
adrp x8, _IRQ_PEND_EXT_SERVICE@GOTPAGE
Lloh34:
ldr x8, [x8, _IRQ_PEND_EXT_SERVICE@GOTPAGEOFF]
Lloh35:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
LBB0_14:
mov x0, x19
bl _psw_mchk_disabled
cbz x0, LBB0_16
; %bb.15:
Lloh36:
adrp x8, _IRQ_PEND_MCHK_MASK@GOTPAGE
Lloh37:
ldr x8, [x8, _IRQ_PEND_MCHK_MASK@GOTPAGEOFF]
Lloh38:
ldr x8, [x8]
ldr x9, [sp, #8]
bic x8, x9, x8
str x8, [sp, #8]
LBB0_16:
ldp x8, x9, [x19, #8]
ldr x8, [x8]
ldr w8, [x8, #56]
ldr w9, [x9]
ldr w10, [x19]
orr w9, w10, w9
tst w9, w8
b.ne LBB0_18
; %bb.17:
Lloh39:
adrp x8, _IRQ_PEND_MCHK_REP@GOTPAGE
Lloh40:
ldr x8, [x8, _IRQ_PEND_MCHK_REP@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
LBB0_18:
Lloh42:
adrp x8, _IRQ_PEND_SIGP_STOP@GOTPAGE
Lloh43:
ldr x8, [x8, _IRQ_PEND_SIGP_STOP@GOTPAGEOFF]
Lloh44:
ldr w0, [x8]
add x1, sp, #8
bl ___clear_bit
ldr x0, [sp, #8]
LBB0_19:
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 Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.cfi_endproc
; -- End function
.comm _IRQ_PEND_EXT_MASK,8,3 ; @IRQ_PEND_EXT_MASK
.comm _IRQ_PEND_IO_MASK,8,3 ; @IRQ_PEND_IO_MASK
.comm _CR0_EXTERNAL_CALL_SUBMASK,4,2 ; @CR0_EXTERNAL_CALL_SUBMASK
.comm _IRQ_PEND_EXT_EXTERNAL,4,2 ; @IRQ_PEND_EXT_EXTERNAL
.comm _CR0_EMERGENCY_SIGNAL_SUBMASK,4,2 ; @CR0_EMERGENCY_SIGNAL_SUBMASK
.comm _IRQ_PEND_EXT_EMERGENCY,4,2 ; @IRQ_PEND_EXT_EMERGENCY
.comm _CR0_CLOCK_COMPARATOR_SUBMASK,4,2 ; @CR0_CLOCK_COMPARATOR_SUBMASK
.comm _IRQ_PEND_EXT_CLOCK_COMP,4,2 ; @IRQ_PEND_EXT_CLOCK_COMP
.comm _CR0_CPU_TIMER_SUBMASK,4,2 ; @CR0_CPU_TIMER_SUBMASK
.comm _IRQ_PEND_EXT_CPU_TIMER,4,2 ; @IRQ_PEND_EXT_CPU_TIMER
.comm _CR0_SERVICE_SIGNAL_SUBMASK,4,2 ; @CR0_SERVICE_SIGNAL_SUBMASK
.comm _IRQ_PEND_EXT_SERVICE,4,2 ; @IRQ_PEND_EXT_SERVICE
.comm _IRQ_PEND_MCHK_MASK,8,3 ; @IRQ_PEND_MCHK_MASK
.comm _IRQ_PEND_MCHK_REP,4,2 ; @IRQ_PEND_MCHK_REP
.comm _IRQ_PEND_SIGP_STOP,4,2 ; @IRQ_PEND_SIGP_STOP
.no_dead_strip _deliverable_irqs
.subsections_via_symbols
| AnghaBench/linux/arch/s390/kvm/extr_interrupt.c_deliverable_irqs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_pkcs5_pbkdf2_hmac ## -- Begin function mbedtls_pkcs5_pbkdf2_hmac
.p2align 4, 0x90
_mbedtls_pkcs5_pbkdf2_hmac: ## @mbedtls_pkcs5_pbkdf2_hmac
.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
movl %r9d, -60(%rbp) ## 4-byte Spill
movq %r8, -136(%rbp) ## 8-byte Spill
movq %rcx, -128(%rbp) ## 8-byte Spill
movq %rdx, -112(%rbp) ## 8-byte Spill
movq %rsi, -104(%rbp) ## 8-byte Spill
movq %rdi, %r14
movb 16(%rbp), %r13b
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MBEDTLS_MD_MAX_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq %rbx, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movq %r14, -72(%rbp) ## 8-byte Spill
movl (%r14), %edi
movl %r13d, %r14d
callq _mbedtls_md_get_size
movl %eax, %ebx
leaq -53(%rbp), %rdi
xorl %r13d, %r13d
xorl %esi, %esi
movl $4, %edx
callq _memset
movb $1, -50(%rbp)
testb %r14b, %r14b
je LBB0_43
## %bb.1:
movq 24(%rbp), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movb %bl, -49(%rbp) ## 1-byte Spill
movzbl %bl, %ebx
movl %ebx, %eax
andl $-32, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
movl %ebx, %eax
andl $-8, %eax
movq %rax, -120(%rbp) ## 8-byte Spill
movq -72(%rbp), %rdi ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
addq %r13, -96(%rbp) ## 8-byte Folded Spill
testb %r14b, %r14b
movq -72(%rbp), %rdi ## 8-byte Reload
je LBB0_42
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_28 Depth 3
## Child Loop BB0_30 Depth 3
movl %r14d, -76(%rbp) ## 4-byte Spill
movq -104(%rbp), %rsi ## 8-byte Reload
movq -112(%rbp), %rdx ## 8-byte Reload
movq %rdi, %r14
callq _mbedtls_md_hmac_starts
testl %eax, %eax
jne LBB0_38
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movzbl -136(%rbp), %edx ## 1-byte Folded Reload
movq %r14, %rdi
movq -128(%rbp), %rsi ## 8-byte Reload
callq _mbedtls_md_hmac_update
testl %eax, %eax
jne LBB0_38
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
leaq -53(%rbp), %rsi
movl $4, %edx
callq _mbedtls_md_hmac_update
testl %eax, %eax
jne LBB0_38
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movq %r12, %rsi
callq _mbedtls_md_hmac_finish
testl %eax, %eax
jne LBB0_38
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq _memcpy
cmpl $2, -60(%rbp) ## 4-byte Folded Reload
jb LBB0_31
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movl $1, %eax
jmp LBB0_10
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_10 Depth=2
movl -80(%rbp), %eax ## 4-byte Reload
incl %eax
cmpl -60(%rbp), %eax ## 4-byte Folded Reload
je LBB0_31
LBB0_10: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_28 Depth 3
## Child Loop BB0_30 Depth 3
movl %eax, -80(%rbp) ## 4-byte Spill
movq -72(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
movq -112(%rbp), %rdx ## 8-byte Reload
callq _mbedtls_md_hmac_starts
testl %eax, %eax
jne LBB0_38
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq _mbedtls_md_hmac_update
testl %eax, %eax
jne LBB0_38
## %bb.12: ## in Loop: Header=BB0_10 Depth=2
movq %r14, %rdi
movq %r15, %rsi
callq _mbedtls_md_hmac_finish
testl %eax, %eax
jne LBB0_38
## %bb.13: ## in Loop: Header=BB0_10 Depth=2
movb -49(%rbp), %al ## 1-byte Reload
testb %al, %al
je LBB0_9
## %bb.14: ## in Loop: Header=BB0_10 Depth=2
cmpb $8, %al
jae LBB0_16
## %bb.15: ## in Loop: Header=BB0_10 Depth=2
xorl %eax, %eax
jmp LBB0_30
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_10 Depth=2
cmpb $32, %al
jae LBB0_18
## %bb.17: ## in Loop: Header=BB0_10 Depth=2
xorl %ecx, %ecx
jmp LBB0_27
LBB0_18: ## in Loop: Header=BB0_10 Depth=2
movaps (%r12), %xmm0
movaps 16(%r12), %xmm1
xorps (%r15), %xmm0
xorps 16(%r15), %xmm1
movaps %xmm0, (%r12)
movaps %xmm1, 16(%r12)
movq -88(%rbp), %rax ## 8-byte Reload
cmpl $32, %eax
je LBB0_25
## %bb.19: ## in Loop: Header=BB0_10 Depth=2
movaps 32(%r12), %xmm0
movaps 48(%r12), %xmm1
xorps 32(%r15), %xmm0
xorps 48(%r15), %xmm1
movaps %xmm0, 32(%r12)
movaps %xmm1, 48(%r12)
cmpl $64, %eax
je LBB0_25
## %bb.20: ## in Loop: Header=BB0_10 Depth=2
movaps 64(%r12), %xmm0
movaps 80(%r12), %xmm1
xorps 64(%r15), %xmm0
xorps 80(%r15), %xmm1
movaps %xmm0, 64(%r12)
movaps %xmm1, 80(%r12)
cmpl $96, %eax
je LBB0_25
## %bb.21: ## in Loop: Header=BB0_10 Depth=2
movaps 96(%r12), %xmm0
movaps 112(%r12), %xmm1
xorps 96(%r15), %xmm0
xorps 112(%r15), %xmm1
movaps %xmm0, 96(%r12)
movaps %xmm1, 112(%r12)
cmpl $128, %eax
je LBB0_25
## %bb.22: ## in Loop: Header=BB0_10 Depth=2
movaps 128(%r12), %xmm0
movaps 144(%r12), %xmm1
xorps 128(%r15), %xmm0
xorps 144(%r15), %xmm1
movaps %xmm0, 128(%r12)
movaps %xmm1, 144(%r12)
cmpl $160, %eax
je LBB0_25
## %bb.23: ## in Loop: Header=BB0_10 Depth=2
movaps 160(%r12), %xmm0
movaps 176(%r12), %xmm1
xorps 160(%r15), %xmm0
xorps 176(%r15), %xmm1
movaps %xmm0, 160(%r12)
movaps %xmm1, 176(%r12)
cmpl $192, %eax
je LBB0_25
## %bb.24: ## in Loop: Header=BB0_10 Depth=2
movaps 192(%r12), %xmm0
movaps 208(%r12), %xmm1
xorps 192(%r15), %xmm0
xorps 208(%r15), %xmm1
movaps %xmm0, 192(%r12)
movaps %xmm1, 208(%r12)
LBB0_25: ## in Loop: Header=BB0_10 Depth=2
cmpq %rbx, %rax
je LBB0_9
## %bb.26: ## in Loop: Header=BB0_10 Depth=2
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, %rcx
testb $24, %bl
je LBB0_30
LBB0_27: ## in Loop: Header=BB0_10 Depth=2
movq -120(%rbp), %rdx ## 8-byte Reload
.p2align 4, 0x90
LBB0_28: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r15,%rcx), %rax
xorq %rax, (%r12,%rcx)
addq $8, %rcx
cmpq %rcx, %rdx
jne LBB0_28
## %bb.29: ## in Loop: Header=BB0_10 Depth=2
movq %rdx, %rax
cmpq %rbx, %rdx
je LBB0_9
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_10 Depth=2
## => This Inner Loop Header: Depth=3
movzbl (%r15,%rax), %ecx
xorb %cl, (%r12,%rax)
incq %rax
cmpq %rax, %rbx
jne LBB0_30
jmp LBB0_9
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
movl -76(%rbp), %r14d ## 4-byte Reload
movsbl %r14b, %r14d
cmpl %ebx, %r14d
movl %ebx, %eax
cmovll %r14d, %eax
movslq %eax, %r13
movq -96(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
movq %r13, %rdx
callq _memcpy
subb %r13b, %r14b
incb -50(%rbp)
jne LBB0_2
## %bb.32: ## in Loop: Header=BB0_3 Depth=1
incb -51(%rbp)
jne LBB0_2
## %bb.33: ## in Loop: Header=BB0_3 Depth=1
incb -52(%rbp)
jne LBB0_2
## %bb.34: ## in Loop: Header=BB0_3 Depth=1
incb -53(%rbp)
jmp LBB0_2
LBB0_38:
movl %eax, %r13d
LBB0_43:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_45
## %bb.44:
movl %r13d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_42:
xorl %r13d, %r13d
jmp LBB0_43
LBB0_45:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MBEDTLS_MD_MAX_SIZE,4,2 ## @MBEDTLS_MD_MAX_SIZE
.comm _MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbedtls_pkcs5_pbkdf2_hmac ; -- Begin function mbedtls_pkcs5_pbkdf2_hmac
.p2align 2
_mbedtls_pkcs5_pbkdf2_hmac: ; @mbedtls_pkcs5_pbkdf2_hmac
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #80
mov x19, x7
mov x21, x6
mov x23, x5
mov x20, x4
mov x24, x3
stp x1, x2, [x29, #-112] ; 16-byte Folded Spill
mov x25, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, _MBEDTLS_MD_MAX_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _MBEDTLS_MD_MAX_SIZE@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x10, x8, #15
and x12, x10, #0x1fffffff0
sub x26, x9, x12
mov sp, x26
mov x9, x8
Lloh8:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh9:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
sub x27, x8, x12
mov sp, x27
ldr w0, [x0]
bl _mbedtls_md_get_size
mov x28, x0
sub x0, x29, #92
mov w1, #0
mov w2, #4
bl _memset
mov w8, #1
sturb w8, [x29, #-89]
cbz w21, LBB0_32
; %bb.1:
mov w22, w28
and x9, x22, #0xc0
and x8, x22, #0x38
stur x8, [x29, #-160] ; 8-byte Folded Spill
and x8, x22, #0xf8
stp x8, x9, [x29, #-128] ; 16-byte Folded Spill
neg x8, x8
stp x24, x8, [x29, #-144] ; 16-byte Folded Spill
and w20, w20, #0xff
stur w20, [x29, #-148] ; 4-byte Folded Spill
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x19, x23
add x19, x23, x20
tst w21, #0xff
mov x23, x24
ldur x24, [x29, #-144] ; 8-byte Folded Reload
ldur w20, [x29, #-148] ; 4-byte Folded Reload
b.eq LBB0_32
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_24 Depth 3
; Child Loop BB0_27 Depth 3
mov x0, x25
ldp x1, x2, [x29, #-112] ; 16-byte Folded Reload
bl _mbedtls_md_hmac_starts
cbnz w0, LBB0_33
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x25
mov x1, x24
mov x2, x20
bl _mbedtls_md_hmac_update
cbnz w0, LBB0_33
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
sub x1, x29, #92
mov x0, x25
mov w2, #4
bl _mbedtls_md_hmac_update
cbnz w0, LBB0_33
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x25
mov x1, x27
bl _mbedtls_md_hmac_finish
cbnz w0, LBB0_33
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x0, x26
mov x1, x27
mov x2, x22
bl _memcpy
cmp w23, #2
b.lo LBB0_28
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
mov w20, #1
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add w20, w20, #1
cmp w20, w23
b.eq LBB0_28
LBB0_10: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_24 Depth 3
; Child Loop BB0_27 Depth 3
mov x0, x25
ldp x1, x2, [x29, #-112] ; 16-byte Folded Reload
bl _mbedtls_md_hmac_starts
cbnz w0, LBB0_33
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
mov x0, x25
mov x1, x26
mov x2, x28
bl _mbedtls_md_hmac_update
cbnz w0, LBB0_33
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
mov x0, x25
mov x1, x26
bl _mbedtls_md_hmac_finish
cbnz w0, LBB0_33
; %bb.13: ; in Loop: Header=BB0_10 Depth=2
cbz w28, LBB0_9
; %bb.14: ; in Loop: Header=BB0_10 Depth=2
cmp w28, #8
b.hs LBB0_16
; %bb.15: ; in Loop: Header=BB0_10 Depth=2
mov x10, #0
b LBB0_26
LBB0_16: ; in Loop: Header=BB0_10 Depth=2
cmp w28, #64
b.hs LBB0_18
; %bb.17: ; in Loop: Header=BB0_10 Depth=2
mov x11, #0
b LBB0_23
LBB0_18: ; in Loop: Header=BB0_10 Depth=2
ldp q0, q1, [x26]
ldp q2, q3, [x26, #32]
ldp q4, q5, [x27]
ldp q6, q7, [x27, #32]
eor.16b v0, v4, v0
eor.16b v1, v5, v1
eor.16b v2, v6, v2
eor.16b v3, v7, v3
stp q0, q1, [x27]
stp q2, q3, [x27, #32]
ldur x8, [x29, #-120] ; 8-byte Folded Reload
cmp x8, #64
b.eq LBB0_21
; %bb.19: ; in Loop: Header=BB0_10 Depth=2
ldp q0, q1, [x26, #64]
ldp q2, q3, [x26, #96]
ldp q4, q5, [x27, #64]
ldp q6, q7, [x27, #96]
eor.16b v0, v4, v0
eor.16b v1, v5, v1
eor.16b v2, v6, v2
eor.16b v3, v7, v3
stp q0, q1, [x27, #64]
stp q2, q3, [x27, #96]
cmp x8, #128
b.eq LBB0_21
; %bb.20: ; in Loop: Header=BB0_10 Depth=2
ldp q0, q1, [x26, #128]
ldp q2, q3, [x26, #160]
ldp q4, q5, [x27, #128]
ldp q6, q7, [x27, #160]
eor.16b v0, v4, v0
eor.16b v1, v5, v1
eor.16b v2, v6, v2
eor.16b v3, v7, v3
stp q0, q1, [x27, #128]
stp q2, q3, [x27, #160]
LBB0_21: ; in Loop: Header=BB0_10 Depth=2
cmp x8, x22
b.eq LBB0_9
; %bb.22: ; in Loop: Header=BB0_10 Depth=2
ldur x10, [x29, #-120] ; 8-byte Folded Reload
mov x11, x10
ldur x8, [x29, #-160] ; 8-byte Folded Reload
cbz x8, LBB0_26
LBB0_23: ; in Loop: Header=BB0_10 Depth=2
add x8, x26, x11
add x9, x27, x11
ldur x10, [x29, #-136] ; 8-byte Folded Reload
add x10, x10, x11
LBB0_24: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldr d0, [x8], #8
ldr d1, [x9]
eor.8b v0, v1, v0
str d0, [x9], #8
adds x10, x10, #8
b.ne LBB0_24
; %bb.25: ; in Loop: Header=BB0_10 Depth=2
ldur x8, [x29, #-128] ; 8-byte Folded Reload
mov x10, x8
cmp x8, x22
b.eq LBB0_9
LBB0_26: ; in Loop: Header=BB0_10 Depth=2
add x8, x27, x10
add x9, x26, x10
sub x10, x22, x10
LBB0_27: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w11, [x9], #1
ldrb w12, [x8]
eor w11, w12, w11
strb w11, [x8], #1
subs x10, x10, #1
b.ne LBB0_27
b LBB0_9
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
mov x24, x23
sxtb w8, w21
cmp w8, w28
mov x0, x19
csel w19, w8, w28, lt
sxtw x20, w19
mov x23, x0
mov x1, x27
mov x2, x20
bl _memcpy
sub w21, w21, w19
ldurb w8, [x29, #-89]
add w8, w8, #1
sturb w8, [x29, #-89]
tbz w8, #8, LBB0_2
; %bb.29: ; in Loop: Header=BB0_3 Depth=1
ldurb w8, [x29, #-90]
add w8, w8, #1
sturb w8, [x29, #-90]
tbz w8, #8, LBB0_2
; %bb.30: ; in Loop: Header=BB0_3 Depth=1
ldurb w8, [x29, #-91]
add w8, w8, #1
sturb w8, [x29, #-91]
tbz w8, #8, LBB0_2
; %bb.31: ; in Loop: Header=BB0_3 Depth=1
ldurb w8, [x29, #-92]
add w8, w8, #1
sturb w8, [x29, #-92]
b LBB0_2
LBB0_32:
mov w0, #0
LBB0_33:
ldur x8, [x29, #-88]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_35
; %bb.34:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_35:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _MBEDTLS_MD_MAX_SIZE,4,2 ; @MBEDTLS_MD_MAX_SIZE
.comm _MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA
.subsections_via_symbols
| AnghaBench/RetroArch/deps/mbedtls/extr_pkcs5.c_mbedtls_pkcs5_pbkdf2_hmac.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tps65912_i2c_probe
_tps65912_i2c_probe: ## @tps65912_i2c_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq 4(%rdi), %r15
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
movl $24, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _i2c_set_clientdata
movq %r15, 8(%rbx)
movl (%r14), %eax
movl %eax, 16(%rbx)
movq _tps65912_regmap_config@GOTPCREL(%rip), %rsi
movq %r14, %rdi
callq _devm_regmap_init_i2c
movl %eax, (%rbx)
movl %eax, %edi
callq _IS_ERR
testq %rax, %rax
je LBB0_2
## %bb.4:
movq 8(%rbx), %rdi
leaq L_.str(%rip), %rsi
callq _dev_err
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _tps65912_device_init ## TAILCALL
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _tps65912_regmap_config,4,2 ## @tps65912_regmap_config
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Failed to initialize register map\n"
.no_dead_strip _tps65912_i2c_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tps65912_i2c_probe
_tps65912_i2c_probe: ; @tps65912_i2c_probe
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
add x21, x0, #4
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x21
mov w1, #24
bl _devm_kzalloc
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
mov x0, x20
mov x1, x19
bl _i2c_set_clientdata
str x21, [x19, #8]
ldr w8, [x20]
str w8, [x19, #16]
Lloh3:
adrp x1, _tps65912_regmap_config@GOTPAGE
Lloh4:
ldr x1, [x1, _tps65912_regmap_config@GOTPAGEOFF]
mov x0, x20
bl _devm_regmap_init_i2c
str w0, [x19]
bl _IS_ERR
cbz x0, LBB0_4
; %bb.2:
ldr x0, [x19, #8]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
ldr w0, [x19]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _PTR_ERR
LBB0_3:
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w0, w8
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:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _tps65912_device_init
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _tps65912_regmap_config,4,2 ; @tps65912_regmap_config
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Failed to initialize register map\n"
.no_dead_strip _tps65912_i2c_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/mfd/extr_tps65912-i2c.c_tps65912_i2c_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function direntry_print_vi
_direntry_print_vi: ## @direntry_print_vi
.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 16(%rdi), %r15
movl 8(%rdi), %ecx
movl (%rdi), %r9d
movl 4(%rdi), %r8d
movl 16(%r15), %eax
movl %eax, (%rsp)
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rdx
xorl %edi, %edi
callq _reiserfs_warning
movl (%r15), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printk
cmpl $0, (%r15)
jle LBB0_3
## %bb.1:
leaq L_.str.3(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printk
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _printk ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "reiserfs-16104"
L_.str.1: ## @.str.1
.asciz "DIRENTRY, index %d, type 0x%x, %h, flags 0x%x"
L_.str.2: ## @.str.2
.asciz "%d entries: "
L_.str.3: ## @.str.3
.asciz "%d "
L_.str.4: ## @.str.4
.asciz "\n"
.no_dead_strip _direntry_print_vi
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function direntry_print_vi
_direntry_print_vi: ; @direntry_print_vi
.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 x20, [x0, #16]
ldp w4, w3, [x0, #4]
ldr w5, [x0]
ldr w6, [x20, #16]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
mov x0, #0
bl _reiserfs_warning
ldr w8, [x20]
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printk
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x21, #0
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr w8, [x8, x21, lsl #2]
str x8, [sp]
mov x0, x19
bl _printk
add x21, x21, #1
ldrsw x8, [x20]
cmp x21, x8
b.lt LBB0_2
LBB0_3:
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _printk
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "reiserfs-16104"
l_.str.1: ; @.str.1
.asciz "DIRENTRY, index %d, type 0x%x, %h, flags 0x%x"
l_.str.2: ; @.str.2
.asciz "%d entries: "
l_.str.3: ; @.str.3
.asciz "%d "
l_.str.4: ; @.str.4
.asciz "\n"
.no_dead_strip _direntry_print_vi
.subsections_via_symbols
| AnghaBench/linux/fs/reiserfs/extr_item_ops.c_direntry_print_vi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function extract_rca
_extract_rca: ## @extract_rca
.cfi_startproc
## %bb.0:
testq %rsi, %rsi
je LBB0_3
## %bb.1:
movl %edi, %eax
shrl $21, %eax
xorl %edi, %eax
testb $31, %al
je LBB0_3
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, (%rsi)
popq %rbp
LBB0_3:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.no_dead_strip _extract_rca
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function extract_rca
_extract_rca: ; @extract_rca
.cfi_startproc
; %bb.0:
cbz x1, LBB0_3
; %bb.1:
eor w8, w0, w0, lsr #21
tst w8, #0x1f
b.eq LBB0_3
; %bb.2:
mov w8, #1
str w8, [x1]
LBB0_3:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _extract_rca
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/opcodes/extr_alpha-opc.c_extract_rca.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dchan_to_axi_dma_chan
_dchan_to_axi_dma_chan: ## @dchan_to_axi_dma_chan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _to_virt_chan
movl %eax, %edi
popq %rbp
jmp _vc_to_axi_dma_chan ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _dchan_to_axi_dma_chan
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dchan_to_axi_dma_chan
_dchan_to_axi_dma_chan: ; @dchan_to_axi_dma_chan
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _to_virt_chan
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _vc_to_axi_dma_chan
.cfi_endproc
; -- End function
.no_dead_strip _dchan_to_axi_dma_chan
.subsections_via_symbols
| AnghaBench/linux/drivers/dma/dw-axi-dmac/extr_dw-axi-dmac.h_dchan_to_axi_dma_chan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sys_set_thread_area ## -- Begin function sys_set_thread_area
.p2align 4, 0x90
_sys_set_thread_area: ## @sys_set_thread_area
.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 L_.str(%rip), %rdi
movl %ebx, %esi
callq _STRACE
movq _current@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _task_set_thread_area ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "set_thread_area(0x%x)"
.comm _current,4,2 ## @current
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sys_set_thread_area ; -- Begin function sys_set_thread_area
.p2align 2
_sys_set_thread_area: ; @sys_set_thread_area
.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
mov x1, x19
bl _STRACE
Lloh2:
adrp x8, _current@GOTPAGE
Lloh3:
ldr x8, [x8, _current@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _task_set_thread_area
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "set_thread_area(0x%x)"
.comm _current,4,2 ; @current
.subsections_via_symbols
| AnghaBench/ish/kernel/extr_tls.c_sys_set_thread_area.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _os_sleep ## -- Begin function os_sleep
.p2align 4, 0x90
_os_sleep: ## @os_sleep
.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 _os_sleep ; -- Begin function os_sleep
.p2align 2
_os_sleep: ; @os_sleep
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/utils/extr_os_none.c_os_sleep.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function run_one_test
_run_one_test: ## @run_one_test
.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 _SOCK_STREAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _rcv_fds@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl %edi, -60(%rbp) ## 4-byte Spill
callq _build_rcv_fd
movl $1, %edi
callq _epoll_create
movl %eax, %r14d
testl %eax, %eax
jns LBB0_2
## %bb.1:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movl $1, %edi
callq _error
LBB0_2:
movq _EPOLLIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movq _N_LISTEN@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_7
## %bb.3:
movl $1, %r12d
movq _EPOLL_CTL_ADD@GOTPCREL(%rip), %r13
leaq -48(%rbp), %rbx
leaq L_.str.1(%rip), %r15
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq _N_LISTEN@GOTPCREL(%rip), %rax
movslq (%rax), %rax
decq %r12
cmpq %rax, %r12
jg LBB0_7
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _rcv_fds@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl -4(%rax,%r12,4), %edx
movl %edx, -48(%rbp)
movl (%r13), %esi
movl %r14d, %edi
movq %rbx, %rcx
callq _epoll_ctl
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $1, %edi
movq %r15, %rdx
callq _error
jmp LBB0_6
LBB0_7:
movl $9999, -56(%rbp) ## 4-byte Folded Spill
## imm = 0x270F
leaq -48(%rbp), %r15
movq _errno@GOTPCREL(%rip), %r12
movq _EPOLL_CTL_ADD@GOTPCREL(%rip), %rbx
movq $0, -72(%rbp) ## 8-byte Folded Spill
jmp LBB0_8
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_8 Depth=1
movl -48(%rbp), %edi
callq _close
movl -64(%rbp), %edi ## 4-byte Reload
callq _close
subl $1, -56(%rbp) ## 4-byte Folded Spill
jb LBB0_18
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movq _SOCK_STREAM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -60(%rbp), %edi ## 4-byte Reload
callq _connect_and_send
movl %eax, -64(%rbp) ## 4-byte Spill
movq _do_rotate@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl -56(%rbp), %ecx ## 4-byte Reload
movl %ecx, %eax
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
shrq $36, %rax
imull $50, %eax, %eax
subl %eax, %ecx
jne LBB0_11
LBB0_10: ## in Loop: Header=BB0_8 Depth=1
movq _rcv_fds@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -72(%rbp), %r13 ## 8-byte Reload
movslq %r13d, %r13
movl (%rax,%r13,4), %edi
callq _rotate_key
incl %r13d
movq _N_LISTEN@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
movl $0, %eax
cmovgel %eax, %r13d
movq %r13, -72(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=2
xorl %esi, %esi
xorl %edx, %edx
callq _accept
movl %eax, %r13d
testl %eax, %eax
jns LBB0_16
## %bb.15: ## in Loop: Header=BB0_11 Depth=2
movl (%r12), %esi
movl $1, %edi
leaq L_.str.3(%rip), %rdx
callq _error
LBB0_16: ## in Loop: Header=BB0_11 Depth=2
movl %r13d, -48(%rbp)
movl (%rbx), %esi
movl %r14d, %edi
movl %r13d, %edx
movq %r15, %rcx
callq _epoll_ctl
testq %rax, %rax
je LBB0_11
## %bb.17: ## in Loop: Header=BB0_11 Depth=2
movl (%r12), %esi
movl $1, %edi
leaq L_.str.4(%rip), %rdx
callq _error
LBB0_11: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movl %r14d, %edi
movq %r15, %rsi
movl $1, %edx
movl $-1, %ecx
callq _epoll_wait
testl %eax, %eax
jns LBB0_13
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movl (%r12), %esi
movl $1, %edi
leaq L_.str.2(%rip), %rdx
callq _error
LBB0_13: ## in Loop: Header=BB0_11 Depth=2
movl -48(%rbp), %edi
callq _is_listen_fd
movl -48(%rbp), %edi
testq %rax, %rax
jne LBB0_14
## %bb.22: ## in Loop: Header=BB0_8 Depth=1
leaq -49(%rbp), %rsi
movl $1, %edx
xorl %ecx, %ecx
callq _recv
cmpl $1, %eax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_8 Depth=1
movl (%r12), %esi
movl $1, %edi
leaq L_.str.5(%rip), %rdx
callq _error
LBB0_24: ## in Loop: Header=BB0_8 Depth=1
movq _EPOLL_CTL_DEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -48(%rbp), %edx
movl %r14d, %edi
xorl %ecx, %ecx
callq _epoll_ctl
testq %rax, %rax
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_8 Depth=1
movl (%r12), %esi
movl $1, %edi
leaq L_.str.6(%rip), %rdx
callq _error
jmp LBB0_26
LBB0_18:
movq _N_LISTEN@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
movq _rcv_fds@GOTPCREL(%rip), %r14
jle LBB0_21
## %bb.19:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_20: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
movl (%rax,%rbx,4), %edi
callq _close
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_20
LBB0_21:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SOCK_STREAM,4,2 ## @SOCK_STREAM
.comm _rcv_fds,8,3 ## @rcv_fds
.comm _errno,4,2 ## @errno
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "failed to create epoll"
.comm _EPOLLIN,4,2 ## @EPOLLIN
.comm _N_LISTEN,4,2 ## @N_LISTEN
.comm _EPOLL_CTL_ADD,4,2 ## @EPOLL_CTL_ADD
L_.str.1: ## @.str.1
.asciz "failed to register sock epoll"
.comm _do_rotate,8,3 ## @do_rotate
L_.str.2: ## @.str.2
.asciz "epoll_wait failed"
L_.str.3: ## @.str.3
.asciz "failed to accept"
L_.str.4: ## @.str.4
.asciz "failed epoll add"
L_.str.5: ## @.str.5
.asciz "failed recv data"
.comm _EPOLL_CTL_DEL,4,2 ## @EPOLL_CTL_DEL
L_.str.6: ## @.str.6
.asciz "failed epoll del"
.no_dead_strip _run_one_test
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function run_one_test
_run_one_test: ; @run_one_test
.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
Lloh0:
adrp x8, _SOCK_STREAM@GOTPAGE
Lloh1:
ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x22, _rcv_fds@GOTPAGE
Lloh4:
ldr x22, [x22, _rcv_fds@GOTPAGEOFF]
ldr x2, [x22]
str w0, [sp] ; 4-byte Folded Spill
bl _build_rcv_fd
mov w0, #1 ; =0x1
bl _epoll_create
mov x20, x0
Lloh5:
adrp x23, _errno@GOTPAGE
Lloh6:
ldr x23, [x23, _errno@GOTPAGEOFF]
tbz w0, #31, LBB0_2
; %bb.1:
ldr w1, [x23]
Lloh7:
adrp x2, l_.str@PAGE
Lloh8:
add x2, x2, l_.str@PAGEOFF
mov w0, #1 ; =0x1
bl _error
LBB0_2:
Lloh9:
adrp x8, _EPOLLIN@GOTPAGE
Lloh10:
ldr x8, [x8, _EPOLLIN@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
str w8, [sp, #12]
Lloh12:
adrp x24, _N_LISTEN@GOTPAGE
Lloh13:
ldr x24, [x24, _N_LISTEN@GOTPAGEOFF]
ldr w8, [x24]
Lloh14:
adrp x28, _EPOLL_CTL_ADD@GOTPAGE
Lloh15:
ldr x28, [x28, _EPOLL_CTL_ADD@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_7
; %bb.3:
mov x19, #0 ; =0x0
Lloh16:
adrp x21, l_.str.1@PAGE
Lloh17:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x8, x19, #1
ldrsw x9, [x24]
cmp x19, x9
mov x19, x8
b.gt LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr w2, [x8, x19, lsl #2]
str w2, [sp, #8]
ldr w1, [x28]
add x3, sp, #8
mov x0, x20
bl _epoll_ctl
cbz x0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w1, [x23]
mov w0, #1 ; =0x1
mov x2, x21
bl _error
b LBB0_4
LBB0_7:
mov w22, #0 ; =0x0
mov w8, #9999 ; =0x270f
Lloh18:
adrp x21, l_.str.2@PAGE
Lloh19:
add x21, x21, l_.str.2@PAGEOFF
Lloh20:
adrp x24, l_.str.3@PAGE
Lloh21:
add x24, x24, l_.str.3@PAGEOFF
Lloh22:
adrp x25, l_.str.4@PAGE
Lloh23:
add x25, x25, l_.str.4@PAGEOFF
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
ldr w0, [sp, #8]
bl _close
mov x0, x26
bl _close
sub w8, w19, #1
cbz w19, LBB0_22
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
mov x19, x8
Lloh24:
adrp x8, _SOCK_STREAM@GOTPAGE
Lloh25:
ldr x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
ldr w0, [sp] ; 4-byte Folded Reload
bl _connect_and_send
mov x26, x0
Lloh27:
adrp x8, _do_rotate@GOTPAGE
Lloh28:
ldr x8, [x8, _do_rotate@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
mov w9, #34079 ; =0x851f
movk w9, #20971, lsl #16
umull x9, w19, w9
lsr x9, x9, #36
mov w10, #50 ; =0x32
msub w9, w9, w10, w19
cmp x8, #0
ccmp w9, #0, #4, eq
b.ne LBB0_15
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
Lloh30:
adrp x8, _rcv_fds@GOTPAGE
Lloh31:
ldr x8, [x8, _rcv_fds@GOTPAGEOFF]
Lloh32:
ldr x8, [x8]
ldr w0, [x8, w22, sxtw #2]
bl _rotate_key
add w8, w22, #1
Lloh33:
adrp x9, _N_LISTEN@GOTPAGE
Lloh34:
ldr x9, [x9, _N_LISTEN@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
cmp w8, w9
csinc w22, wzr, w22, ge
b LBB0_15
LBB0_11: ; in Loop: Header=BB0_15 Depth=2
mov x1, #0 ; =0x0
mov x2, #0 ; =0x0
bl _accept
mov x27, x0
tbz w0, #31, LBB0_13
; %bb.12: ; in Loop: Header=BB0_15 Depth=2
ldr w1, [x23]
mov w0, #1 ; =0x1
mov x2, x24
bl _error
LBB0_13: ; in Loop: Header=BB0_15 Depth=2
str w27, [sp, #8]
ldr w1, [x28]
add x3, sp, #8
mov x0, x20
mov x2, x27
bl _epoll_ctl
cbz x0, LBB0_15
; %bb.14: ; in Loop: Header=BB0_15 Depth=2
ldr w1, [x23]
mov w0, #1 ; =0x1
mov x2, x25
bl _error
LBB0_15: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
add x1, sp, #8
mov x0, x20
mov w2, #1 ; =0x1
mov w3, #-1 ; =0xffffffff
bl _epoll_wait
tbz w0, #31, LBB0_17
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
ldr w1, [x23]
mov w0, #1 ; =0x1
mov x2, x21
bl _error
LBB0_17: ; in Loop: Header=BB0_15 Depth=2
ldr w0, [sp, #8]
bl _is_listen_fd
mov x8, x0
ldr w0, [sp, #8]
cbnz x8, LBB0_11
; %bb.18: ; in Loop: Header=BB0_9 Depth=1
add x1, sp, #7
mov w2, #1 ; =0x1
mov w3, #0 ; =0x0
bl _recv
cmp w0, #1
b.eq LBB0_20
; %bb.19: ; in Loop: Header=BB0_9 Depth=1
ldr w1, [x23]
mov w0, #1 ; =0x1
Lloh36:
adrp x2, l_.str.5@PAGE
Lloh37:
add x2, x2, l_.str.5@PAGEOFF
bl _error
LBB0_20: ; in Loop: Header=BB0_9 Depth=1
Lloh38:
adrp x8, _EPOLL_CTL_DEL@GOTPAGE
Lloh39:
ldr x8, [x8, _EPOLL_CTL_DEL@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
ldr w2, [sp, #8]
mov x0, x20
mov x3, #0 ; =0x0
bl _epoll_ctl
cbz x0, LBB0_8
; %bb.21: ; in Loop: Header=BB0_9 Depth=1
ldr w1, [x23]
mov w0, #1 ; =0x1
Lloh41:
adrp x2, l_.str.6@PAGE
Lloh42:
add x2, x2, l_.str.6@PAGEOFF
bl _error
b LBB0_8
LBB0_22:
Lloh43:
adrp x21, _N_LISTEN@GOTPAGE
Lloh44:
ldr x21, [x21, _N_LISTEN@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
Lloh45:
adrp x20, _rcv_fds@GOTPAGE
Lloh46:
ldr x20, [x20, _rcv_fds@GOTPAGEOFF]
b.lt LBB0_25
; %bb.23:
mov x19, #0 ; =0x0
LBB0_24: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr w0, [x8, x19, lsl #2]
bl _close
add x19, x19, #1
ldrsw x8, [x21]
cmp x19, x8
b.lt LBB0_24
LBB0_25:
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 Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdrGot Lloh43, Lloh44
.cfi_endproc
; -- End function
.comm _SOCK_STREAM,4,2 ; @SOCK_STREAM
.comm _rcv_fds,8,3 ; @rcv_fds
.comm _errno,4,2 ; @errno
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to create epoll"
.comm _EPOLLIN,4,2 ; @EPOLLIN
.comm _N_LISTEN,4,2 ; @N_LISTEN
.comm _EPOLL_CTL_ADD,4,2 ; @EPOLL_CTL_ADD
l_.str.1: ; @.str.1
.asciz "failed to register sock epoll"
.comm _do_rotate,8,3 ; @do_rotate
l_.str.2: ; @.str.2
.asciz "epoll_wait failed"
l_.str.3: ; @.str.3
.asciz "failed to accept"
l_.str.4: ; @.str.4
.asciz "failed epoll add"
l_.str.5: ; @.str.5
.asciz "failed recv data"
.comm _EPOLL_CTL_DEL,4,2 ; @EPOLL_CTL_DEL
l_.str.6: ; @.str.6
.asciz "failed epoll del"
.no_dead_strip _run_one_test
.subsections_via_symbols
| assembly_file_6089.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _json_stringify ## -- Begin function json_stringify
.p2align 4, 0x90
_json_stringify: ## @json_stringify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
leaq -20(%rbp), %rdi
callq _sb_init
leaq -20(%rbp), %rdi
movq %r14, %rsi
testq %rbx, %rbx
je LBB0_2
## %bb.1:
movq %rbx, %rdx
xorl %ecx, %ecx
callq _emit_value_indented
jmp LBB0_3
LBB0_2:
callq _emit_value
LBB0_3:
leaq -20(%rbp), %rdi
callq _sb_finish
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, 13, 0 sdk_version 13, 3
.globl _json_stringify ; -- Begin function json_stringify
.p2align 2
_json_stringify: ; @json_stringify
.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 x20, x1
mov x19, x0
add x0, sp, #12
bl _sb_init
add x0, sp, #12
mov x1, x19
cbz x20, LBB0_2
; %bb.1:
mov x2, x20
mov w3, #0
bl _emit_value_indented
b LBB0_3
LBB0_2:
bl _emit_value
LBB0_3:
add x0, sp, #12
bl _sb_finish
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/lwan/src/samples/techempower/extr_json.c_json_stringify.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hme_setladrf
_hme_setladrf: ## @hme_setladrf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 8(%rdi), %r14
movq _MA_OWNED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _HME_LOCK_ASSERT
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movq _HME_MACI_RXCFG@GOTPCREL(%rip), %r13
movl (%r13), %esi
movq %r12, %rdi
callq _HME_MAC_READ_4
movq _HME_MAC_RXCFG_PGRP@GOTPCREL(%rip), %rcx
movq _HME_MAC_RXCFG_PMISC@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
orl (%rcx), %ebx
notl %ebx
andl %eax, %ebx
movl (%r13), %esi
movq _HME_MAC_RXCFG_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
movl %ebx, %edx
xorl %r8d, %r8d
callq _hme_mac_bitflip
testl %eax, %eax
jne LBB0_2
## %bb.1:
movl (%r12), %edi
leaq L_.str(%rip), %rsi
callq _device_printf
LBB0_2:
movl (%r13), %esi
movq _HME_MAC_RXCFG_HENABLE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdi
movl %ebx, %edx
xorl %r8d, %r8d
callq _hme_mac_bitflip
testl %eax, %eax
jne LBB0_4
## %bb.3:
movl (%r12), %edi
leaq L_.str.1(%rip), %rsi
callq _device_printf
LBB0_4:
movq _HME_MAC_RXCFG_ME@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq _HME_MAC_RXCFG_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movl %r13d, %eax
orl %ebx, %eax
notl %r13d
andl %ebx, %r13d
testl %r15d, %r15d
cmovnel %eax, %r13d
movl (%r14), %eax
movq _IFF_PROMISC@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_6
## %bb.5:
movq _HME_MAC_RXCFG_PMISC@GOTPCREL(%rip), %rax
movl (%rax), %r15d
xorl %edx, %edx
movq _HME_MAC_RXCFG_HENABLE@GOTPCREL(%rip), %rbx
jmp LBB0_9
LBB0_6:
movq _IFF_ALLMULTI@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
movq _HME_MAC_RXCFG_HENABLE@GOTPCREL(%rip), %rbx
je LBB0_8
## %bb.7:
movq _HME_MAC_RXCFG_PGRP@GOTPCREL(%rip), %rax
movl (%rax), %r15d
xorl %edx, %edx
jmp LBB0_9
LBB0_8:
movl (%rbx), %r15d
movq _hme_hash_maddr@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -64(%rbp), %rdx
movq %r14, %rdi
callq _if_foreach_llmaddr
movl -64(%rbp), %edx
LBB0_9:
orl %r13d, %r15d
movq _HME_MACI_HASHTAB0@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _HME_MAC_WRITE_4
movq _HME_MACI_HASHTAB1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -60(%rbp), %edx
movq %r12, %rdi
callq _HME_MAC_WRITE_4
movq _HME_MACI_HASHTAB2@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -56(%rbp), %edx
movq %r12, %rdi
callq _HME_MAC_WRITE_4
movq _HME_MACI_HASHTAB3@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl -52(%rbp), %edx
movq %r12, %rdi
callq _HME_MAC_WRITE_4
movl (%rbx), %r8d
movq _HME_MAC_RXCFG_ENABLE@GOTPCREL(%rip), %rax
orl (%rax), %r8d
movq _HME_MACI_RXCFG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _HME_MAC_RXCFG_ME@GOTPCREL(%rip), %rax
orl (%rax), %r8d
andl %r15d, %r8d
movq %r12, %rdi
movl %r15d, %edx
xorl %ecx, %ecx
callq _hme_mac_bitflip
testl %eax, %eax
jne LBB0_11
## %bb.10:
movl (%r12), %edi
leaq L_.str.2(%rip), %rsi
callq _device_printf
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_13
## %bb.12:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MA_OWNED,4,2 ## @MA_OWNED
.comm _HME_MACI_RXCFG,4,2 ## @HME_MACI_RXCFG
.comm _HME_MAC_RXCFG_PGRP,4,2 ## @HME_MAC_RXCFG_PGRP
.comm _HME_MAC_RXCFG_PMISC,4,2 ## @HME_MAC_RXCFG_PMISC
.comm _HME_MAC_RXCFG_ENABLE,4,2 ## @HME_MAC_RXCFG_ENABLE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cannot disable RX MAC\n"
.comm _HME_MAC_RXCFG_HENABLE,4,2 ## @HME_MAC_RXCFG_HENABLE
L_.str.1: ## @.str.1
.asciz "cannot disable hash filter\n"
.comm _HME_MAC_RXCFG_ME,4,2 ## @HME_MAC_RXCFG_ME
.comm _IFF_PROMISC,4,2 ## @IFF_PROMISC
.comm _IFF_ALLMULTI,4,2 ## @IFF_ALLMULTI
.comm _hme_hash_maddr,4,2 ## @hme_hash_maddr
.comm _HME_MACI_HASHTAB0,4,2 ## @HME_MACI_HASHTAB0
.comm _HME_MACI_HASHTAB1,4,2 ## @HME_MACI_HASHTAB1
.comm _HME_MACI_HASHTAB2,4,2 ## @HME_MACI_HASHTAB2
.comm _HME_MACI_HASHTAB3,4,2 ## @HME_MACI_HASHTAB3
L_.str.2: ## @.str.2
.asciz "cannot configure RX MAC\n"
.no_dead_strip _hme_setladrf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hme_setladrf
_hme_setladrf: ; @hme_setladrf
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
ldr x20, [x0, #8]
Lloh3:
adrp x8, _MA_OWNED@GOTPAGE
Lloh4:
ldr x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _HME_LOCK_ASSERT
stp xzr, xzr, [sp, #8]
Lloh6:
adrp x23, _HME_MACI_RXCFG@GOTPAGE
Lloh7:
ldr x23, [x23, _HME_MACI_RXCFG@GOTPAGEOFF]
ldr w1, [x23]
mov x0, x19
bl _HME_MAC_READ_4
Lloh8:
adrp x27, _HME_MAC_RXCFG_PGRP@GOTPAGE
Lloh9:
ldr x27, [x27, _HME_MAC_RXCFG_PGRP@GOTPAGEOFF]
ldr w8, [x27]
Lloh10:
adrp x28, _HME_MAC_RXCFG_PMISC@GOTPAGE
Lloh11:
ldr x28, [x28, _HME_MAC_RXCFG_PMISC@GOTPAGEOFF]
ldr w9, [x28]
orr w8, w9, w8
bic w22, w0, w8
ldr w1, [x23]
Lloh12:
adrp x24, _HME_MAC_RXCFG_ENABLE@GOTPAGE
Lloh13:
ldr x24, [x24, _HME_MAC_RXCFG_ENABLE@GOTPAGEOFF]
ldr w3, [x24]
mov x0, x19
mov x2, x22
mov w4, #0
bl _hme_mac_bitflip
cbnz w0, LBB0_2
; %bb.1:
ldr w0, [x19]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
bl _device_printf
LBB0_2:
ldr w1, [x23]
Lloh16:
adrp x25, _HME_MAC_RXCFG_HENABLE@GOTPAGE
Lloh17:
ldr x25, [x25, _HME_MAC_RXCFG_HENABLE@GOTPAGEOFF]
ldr w3, [x25]
mov x0, x19
mov x2, x22
mov w4, #0
bl _hme_mac_bitflip
cbnz w0, LBB0_4
; %bb.3:
ldr w0, [x19]
Lloh18:
adrp x1, l_.str.1@PAGE
Lloh19:
add x1, x1, l_.str.1@PAGEOFF
bl _device_printf
LBB0_4:
Lloh20:
adrp x26, _HME_MAC_RXCFG_ME@GOTPAGE
Lloh21:
ldr x26, [x26, _HME_MAC_RXCFG_ME@GOTPAGEOFF]
ldr w8, [x26]
orr w8, w8, w22
ldr w9, [x24]
orr w10, w9, w8
bic w8, w8, w9
cmp w21, #0
csel w21, w8, w10, eq
ldr w8, [x20]
Lloh22:
adrp x9, _IFF_PROMISC@GOTPAGE
Lloh23:
ldr x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh24:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_6
; %bb.5:
mov w2, #0
ldr w22, [x28]
b LBB0_9
LBB0_6:
Lloh25:
adrp x9, _IFF_ALLMULTI@GOTPAGE
Lloh26:
ldr x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh27:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_8
; %bb.7:
mov w2, #0
ldr w22, [x27]
b LBB0_9
LBB0_8:
ldr w22, [x25]
Lloh28:
adrp x8, _hme_hash_maddr@GOTPAGE
Lloh29:
ldr x8, [x8, _hme_hash_maddr@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
add x2, sp, #8
mov x0, x20
bl _if_foreach_llmaddr
ldr w2, [sp, #8]
LBB0_9:
orr w20, w22, w21
Lloh31:
adrp x8, _HME_MACI_HASHTAB0@GOTPAGE
Lloh32:
ldr x8, [x8, _HME_MACI_HASHTAB0@GOTPAGEOFF]
Lloh33:
ldr w1, [x8]
mov x0, x19
bl _HME_MAC_WRITE_4
Lloh34:
adrp x8, _HME_MACI_HASHTAB1@GOTPAGE
Lloh35:
ldr x8, [x8, _HME_MACI_HASHTAB1@GOTPAGEOFF]
Lloh36:
ldr w1, [x8]
ldr w2, [sp, #12]
mov x0, x19
bl _HME_MAC_WRITE_4
Lloh37:
adrp x8, _HME_MACI_HASHTAB2@GOTPAGE
Lloh38:
ldr x8, [x8, _HME_MACI_HASHTAB2@GOTPAGEOFF]
Lloh39:
ldr w1, [x8]
ldr w2, [sp, #16]
mov x0, x19
bl _HME_MAC_WRITE_4
Lloh40:
adrp x8, _HME_MACI_HASHTAB3@GOTPAGE
Lloh41:
ldr x8, [x8, _HME_MACI_HASHTAB3@GOTPAGEOFF]
Lloh42:
ldr w1, [x8]
ldr w2, [sp, #20]
mov x0, x19
bl _HME_MAC_WRITE_4
ldr w1, [x23]
ldr w8, [x24]
ldr w9, [x25]
orr w8, w9, w8
ldr w9, [x26]
orr w8, w8, w9
and w4, w8, w20
mov x0, x19
mov x2, x20
mov w3, #0
bl _hme_mac_bitflip
cbnz w0, LBB0_11
; %bb.10:
ldr w0, [x19]
Lloh43:
adrp x1, l_.str.2@PAGE
Lloh44:
add x1, x1, l_.str.2@PAGEOFF
bl _device_printf
LBB0_11:
ldr x8, [sp, #24]
Lloh45:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh46:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.cfi_endproc
; -- End function
.comm _MA_OWNED,4,2 ; @MA_OWNED
.comm _HME_MACI_RXCFG,4,2 ; @HME_MACI_RXCFG
.comm _HME_MAC_RXCFG_PGRP,4,2 ; @HME_MAC_RXCFG_PGRP
.comm _HME_MAC_RXCFG_PMISC,4,2 ; @HME_MAC_RXCFG_PMISC
.comm _HME_MAC_RXCFG_ENABLE,4,2 ; @HME_MAC_RXCFG_ENABLE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cannot disable RX MAC\n"
.comm _HME_MAC_RXCFG_HENABLE,4,2 ; @HME_MAC_RXCFG_HENABLE
l_.str.1: ; @.str.1
.asciz "cannot disable hash filter\n"
.comm _HME_MAC_RXCFG_ME,4,2 ; @HME_MAC_RXCFG_ME
.comm _IFF_PROMISC,4,2 ; @IFF_PROMISC
.comm _IFF_ALLMULTI,4,2 ; @IFF_ALLMULTI
.comm _hme_hash_maddr,4,2 ; @hme_hash_maddr
.comm _HME_MACI_HASHTAB0,4,2 ; @HME_MACI_HASHTAB0
.comm _HME_MACI_HASHTAB1,4,2 ; @HME_MACI_HASHTAB1
.comm _HME_MACI_HASHTAB2,4,2 ; @HME_MACI_HASHTAB2
.comm _HME_MACI_HASHTAB3,4,2 ; @HME_MACI_HASHTAB3
l_.str.2: ; @.str.2
.asciz "cannot configure RX MAC\n"
.no_dead_strip _hme_setladrf
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hme/extr_if_hme.c_hme_setladrf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "SAFE"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "SAFE"
.subsections_via_symbols
| the_stack_data/1227722.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lonesome_cowboy ## -- Begin function lonesome_cowboy
.p2align 4, 0x90
_lonesome_cowboy: ## @lonesome_cowboy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lonesome_cowboy ; -- Begin function lonesome_cowboy
.p2align 2
_lonesome_cowboy: ; @lonesome_cowboy
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str xzr, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str xzr, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/130038.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _channel_init ## -- Begin function channel_init
.p2align 4, 0x90
_channel_init: ## @channel_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _channel_list@GOTPCREL(%rip), %rdi
popq %rbp
jmp _LIST_INIT ## TAILCALL
.cfi_endproc
## -- End function
.comm _channel_list,4,2 ## @channel_list
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _channel_init ; -- Begin function channel_init
.p2align 2
_channel_init: ; @channel_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, _channel_list@GOTPAGE
Lloh1:
ldr x0, [x0, _channel_list@GOTPAGEOFF]
b _LIST_INIT
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _channel_list,4,2 ; @channel_list
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bluetooth/btpand/extr_channel.c_channel_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_unknown_elem
_parse_unknown_elem: ## @parse_unknown_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 $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp)
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
leaq -112(%rbp), %r15
leaq -96(%rbp), %r12
leaq -52(%rbp), %r13
leaq -44(%rbp), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r13, %rcx
movq %r14, %r8
callq _next_xml_attr
testq %rax, %rax
jne LBB0_1
## %bb.2:
cmpl $0, -52(%rbp)
setne %cl
movl -44(%rbp), %eax
testl %eax, %eax
setne %dl
testb %dl, %cl
jne LBB0_13
## %bb.3:
xorl %eax, %eax
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_13
## %bb.4:
leaq -80(%rbp), %r15
movq -64(%rbp), %r14 ## 8-byte Reload
jmp LBB0_6
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _parse_unknown_elem
testl %eax, %eax
je LBB0_12
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _next_xml_elem
testl %eax, %eax
je LBB0_12
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -80(%rbp), %rdi
cmpb $47, (%rdi)
jne LBB0_5
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movl -72(%rbp), %edx
incl %edx
cmpl 8(%r14), %edx
jne LBB0_5
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
incq %rdi
movq (%r14), %rsi
callq _strncmpW
testl %eax, %eax
jne LBB0_5
## %bb.10:
movq %rbx, %rdi
callq _parse_end_element
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
setne %al
jmp LBB0_13
LBB0_12:
xorl %eax, %eax
LBB0_13:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _parse_unknown_elem
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_unknown_elem
_parse_unknown_elem: ; @parse_unknown_elem
.cfi_startproc
; %bb.0:
sub sp, sp, #112
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
mov x20, x1
mov x19, x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #12]
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
ldr w21, [x8]
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x1, sp, #48
add x2, sp, #32
add x3, sp, #8
add x4, sp, #12
mov x0, x19
bl _next_xml_attr
cbnz x0, LBB0_1
; %bb.2:
ldp w8, w0, [sp, #8]
cmp w8, #0
ccmp w0, #0, #4, ne
b.ne LBB0_5
; %bb.3:
cbnz w21, LBB0_7
; %bb.4:
mov w0, #0 ; =0x0
LBB0_5:
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
add sp, sp, #112
ret
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x1, sp, #16
mov x0, x19
bl _parse_unknown_elem
cbz w0, LBB0_5
LBB0_7: ; =>This Inner Loop Header: Depth=1
add x1, sp, #16
mov x0, x19
bl _next_xml_elem
cbz w0, LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [sp, #16]
ldrb w9, [x8]
cmp w9, #47
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [sp, #24]
add w2, w9, #1
ldr w9, [x20, #8]
cmp w2, w9
b.ne LBB0_6
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr x1, [x20]
add x0, x8, #1
bl _strncmpW
cbnz w0, LBB0_6
; %bb.11:
mov x0, x19
bl _parse_end_element
cmp x0, #0
cset w0, ne
b LBB0_5
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _parse_unknown_elem
.subsections_via_symbols
| assembly_file_27068.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sum16 ## -- Begin function sum16
.p2align 4, 0x90
_sum16: ## @sum16
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq (%rdi,%rsi), %rax
addq %rdx, %rax
addq %rcx, %rax
addq %r8, %rax
addq %r9, %rax
addq 16(%rbp), %rax
addq 24(%rbp), %rax
addq 32(%rbp), %rax
addq 40(%rbp), %rax
addq 48(%rbp), %rax
addq 56(%rbp), %rax
addq 64(%rbp), %rax
addq 72(%rbp), %rax
addq 80(%rbp), %rax
addq 88(%rbp), %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 _sum16 ; -- Begin function sum16
.p2align 2
_sum16: ; @sum16
.cfi_startproc
; %bb.0:
ldp x9, x8, [sp, #48]
ldp x11, x10, [sp, #32]
ldp x13, x12, [sp, #16]
ldp x15, x14, [sp]
add x16, x1, x0
add x16, x16, x2
add x16, x16, x3
add x16, x16, x4
add x16, x16, x5
add x16, x16, x6
add x16, x16, x7
add x15, x16, x15
add x14, x15, x14
add x13, x14, x13
add x12, x13, x12
add x11, x12, x11
add x10, x11, x10
add x9, x10, x9
add x0, x9, x8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/231392252.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _puzzle_find_piece ## -- Begin function puzzle_find_piece
.p2align 4, 0x90
_puzzle_find_piece: ## @puzzle_find_piece
.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), %rdi
movq 8(%rdi), %r8
movl $-1, %eax
testq %r8, %r8
je LBB0_9
## %bb.1:
movq (%rdi), %rdi
addq $24, %rdi
xorl %r9d, %r9d
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
incq %r9
addq $32, %rdi
cmpq %r9, %r8
je LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq %rsi, -24(%rdi)
jg LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpq %rsi, -16(%rdi)
jl LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpq %rdx, -8(%rdi)
jg LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
cmpq %rdx, (%rdi)
jl LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
cmpq %r9, %rcx
je LBB0_7
## %bb.8:
movl %r9d, %eax
LBB0_9:
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 _puzzle_find_piece ; -- Begin function puzzle_find_piece
.p2align 2
_puzzle_find_piece: ; @puzzle_find_piece
.cfi_startproc
; %bb.0:
ldr x9, [x0]
ldr x8, [x9, #8]
cbz x8, LBB0_7
; %bb.1:
mov x0, #0
ldr x9, [x9]
add x9, x9, #16
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x0, x0, #1
add x9, x9, #32
cmp x8, x0
b.eq LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur x10, [x9, #-16]
cmp x10, x1
b.gt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldur x10, [x9, #-8]
cmp x10, x1
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x9]
cmp x10, x2
b.gt LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x9, #8]
cmp x10, x2
ccmp x3, x0, #4, ge
b.eq LBB0_2
b LBB0_8
LBB0_7:
mov w0, #-1
LBB0_8:
; kill: def $w0 killed $w0 killed $x0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/vlc/modules/video_filter/extr_puzzle_pce.c_puzzle_find_piece.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _OSSL_PARAM_construct_utf8_ptr ## -- Begin function OSSL_PARAM_construct_utf8_ptr
.p2align 4, 0x90
_OSSL_PARAM_construct_utf8_ptr: ## @OSSL_PARAM_construct_utf8_ptr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdx, %rcx
movq %rsi, %rdx
movq _OSSL_PARAM_UTF8_PTR@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _ossl_param_construct ## TAILCALL
.cfi_endproc
## -- End function
.comm _OSSL_PARAM_UTF8_PTR,4,2 ## @OSSL_PARAM_UTF8_PTR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _OSSL_PARAM_construct_utf8_ptr ; -- Begin function OSSL_PARAM_construct_utf8_ptr
.p2align 2
_OSSL_PARAM_construct_utf8_ptr: ; @OSSL_PARAM_construct_utf8_ptr
.cfi_startproc
; %bb.0:
mov x3, x2
mov x2, x1
Lloh0:
adrp x8, _OSSL_PARAM_UTF8_PTR@GOTPAGE
Lloh1:
ldr x8, [x8, _OSSL_PARAM_UTF8_PTR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _ossl_param_construct
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OSSL_PARAM_UTF8_PTR,4,2 ; @OSSL_PARAM_UTF8_PTR
.subsections_via_symbols
| AnghaBench/openssl/crypto/extr_params.c_OSSL_PARAM_construct_utf8_ptr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function compat2_validator
_compat2_validator: ## @compat2_validator
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %r9
movl (%rdi), %edi
xorl %eax, %eax
testq %rcx, %rcx
setne %al
cmovneq %rcx, %rdx
movl %eax, %ecx
popq %rbp
jmpq *%r9 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _compat2_validator
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function compat2_validator
_compat2_validator: ; @compat2_validator
.cfi_startproc
; %bb.0:
ldr x5, [x0, #8]
ldr w0, [x0]
cmp x3, #0
csel x2, x3, x2, ne
cset w3, ne
br x5
.cfi_endproc
; -- End function
.no_dead_strip _compat2_validator
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_wc/extr_deprecated.c_compat2_validator.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Swap_Using_Temp_Variable ## -- Begin function Swap_Using_Temp_Variable
.p2align 4, 0x90
_Swap_Using_Temp_Variable: ## @Swap_Using_Temp_Variable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
movl (%rsi), %ecx
movl %ecx, (%rdi)
movl %eax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Swap_Without_Temp_Variable ## -- Begin function Swap_Without_Temp_Variable
.p2align 4, 0x90
_Swap_Without_Temp_Variable: ## @Swap_Without_Temp_Variable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
addl (%rsi), %eax
movl %eax, (%rdi)
subl (%rsi), %eax
movl %eax, (%rsi)
subl %eax, (%rdi)
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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -28(%rbp)
movl $0, -32(%rbp)
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %r15
leaq -32(%rbp), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
movl %eax, %ebx
leaq -28(%rbp), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _scanf
addl %ebx, %eax
cmpl $2, %eax
jne LBB2_1
## %bb.2:
movl -32(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -32(%rbp), %edx
movl -28(%rbp), %esi
movl %esi, -32(%rbp)
movl %edx, -28(%rbp)
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
movl -32(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB2_3
LBB2_1:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, %r14d
LBB2_3:
movl %r14d, %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 "Enter two integers separated by a space:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "I could not understand what you have typed."
L_.str.3: ## @.str.3
.asciz "\nBefore swap,number 1=%d,number 2=%d"
L_.str.4: ## @.str.4
.asciz "\nAfter swap using a temporary variable,number 1=%d,number 2=%d"
L_.str.5: ## @.str.5
.asciz "\nAfter swap without a temporary variable,number 1=%d,number 2=%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Swap_Using_Temp_Variable ; -- Begin function Swap_Using_Temp_Variable
.p2align 2
_Swap_Using_Temp_Variable: ; @Swap_Using_Temp_Variable
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
str w9, [x0]
str w8, [x1]
ret
.cfi_endproc
; -- End function
.globl _Swap_Without_Temp_Variable ; -- Begin function Swap_Without_Temp_Variable
.p2align 2
_Swap_Without_Temp_Variable: ; @Swap_Without_Temp_Variable
.cfi_startproc
; %bb.0:
ldr w8, [x1]
ldr w9, [x0]
add w8, w9, w8
str w8, [x0]
ldr w9, [x1]
sub w8, w8, w9
str w8, [x1]
ldr w9, [x0]
sub w8, w9, w8
str w8, [x0]
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
str wzr, [sp, #24]
stur wzr, [x29, #-20]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #20
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
mov x20, x0
add x8, sp, #24
str x8, [sp]
mov x0, x19
bl _scanf
add w8, w0, w20
cmp w8, #2
b.ne LBB2_2
; %bb.1:
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
stp x8, x9, [sp]
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w8, [sp, #24]
ldur w9, [x29, #-20]
stur w8, [x29, #-20]
str w9, [sp, #24]
stp x8, x9, [sp]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur w8, [x29, #-20]
ldr w9, [sp, #24]
stp x8, x9, [sp]
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #0
b LBB2_3
LBB2_2:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #-1
LBB2_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter two integers separated by a space:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "I could not understand what you have typed."
l_.str.3: ; @.str.3
.asciz "\nBefore swap,number 1=%d,number 2=%d"
l_.str.4: ; @.str.4
.asciz "\nAfter swap using a temporary variable,number 1=%d,number 2=%d"
l_.str.5: ; @.str.5
.asciz "\nAfter swap without a temporary variable,number 1=%d,number 2=%d"
.subsections_via_symbols
| the_stack_data/997023.c | stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.