x86 stringlengths 122 9.39M | arm stringlengths 122 9.33M | file stringlengths 19 200 | source stringclasses 2
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NumberLine ## -- Begin function NumberLine
.p2align 4, 0x90
_NumberLine: ## @NumberLine
.cfi_startproc
## %bb.0:
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, %r15d
negl %r15d
cmovsl %edi, %r15d
movl $10, %edi
callq _putchar
movl %r15d, %ebx
negl %ebx
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leal 1(%rbx), %eax
cmpl %r15d, %ebx
movl %eax, %ebx
jl LBB0_1
## %bb.2:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -28(%rbp)
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -28(%rbp), %eax
movl %eax, %r15d
negl %r15d
cmovsl %eax, %r15d
movl $10, %edi
callq _putchar
movl %r15d, %ebx
negl %ebx
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
leal 1(%rbx), %eax
cmpl %r15d, %ebx
movl %eax, %ebx
jl LBB1_1
## %bb.2:
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d\t"
L_.str.2: ## @.str.2
.asciz "Enter number : "
L_.str.3: ## @.str.3
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _NumberLine ; -- Begin function NumberLine
.p2align 2
_NumberLine: ; @NumberLine
.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
cmp w0, #0
cneg w20, w0, mi
mov w0, #10
bl _putchar
neg w21, w20
Lloh0:
adrp x19, l_.str.1@PAGE
Lloh1:
add x19, x19, l_.str.1@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _printf
add w8, w21, #1
cmp w21, w20
mov x21, x8
b.lt LBB0_1
; %bb.2:
mov w0, #10
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _putchar
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _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
str wzr, [sp, #12]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #0
cneg w20, w8, mi
mov w0, #10
bl _putchar
neg w21, w20
Lloh6:
adrp x19, l_.str.1@PAGE
Lloh7:
add x19, x19, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
str x21, [sp]
mov x0, x19
bl _printf
add w8, w21, #1
cmp w21, w20
mov x21, x8
b.lt LBB1_1
; %bb.2:
mov w0, #10
bl _putchar
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 Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d\t"
l_.str.2: ; @.str.2
.asciz "Enter number : "
l_.str.3: ; @.str.3
.asciz "%d"
.subsections_via_symbols
| the_stack_data/68886794.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cancellable_register
_cancellable_register: ## @cancellable_register
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
xorl %eax, %eax
callq _g_cancellable_new
movq %rax, %rbx
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _cancellable_interrupted@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %rbx, %rsi
callq _vlc_interrupt_register
LBB0_2:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cancellable_interrupted,4,2 ## @cancellable_interrupted
.no_dead_strip _cancellable_register
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cancellable_register
_cancellable_register: ; @cancellable_register
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _g_cancellable_new
mov x19, x0
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _cancellable_interrupted@GOTPAGE
Lloh1:
ldr x8, [x8, _cancellable_interrupted@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x19
bl _vlc_interrupt_register
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cancellable_interrupted,4,2 ; @cancellable_interrupted
.no_dead_strip _cancellable_register
.subsections_via_symbols
| AnghaBench/vlc/modules/keystore/extr_secret.c_cancellable_register.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function thread_alive
_thread_alive: ## @thread_alive
.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 _s@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
js LBB0_1
## %bb.2:
movl %edi, %edx
movq _GDB_THREADALIVE@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq L_.str(%rip), %rdi
callq _puthandle
movl (%rbx), %esi
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rdx
xorl %ecx, %ecx
callq _getresult
jmp LBB0_3
LBB0_1:
movl $1, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _s,8,3 ## @s
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ThreadAlive handle"
.comm _GDB_THREADALIVE,4,2 ## @GDB_THREADALIVE
L_.str.1: ## @.str.1
.asciz "ThreadAlive result"
.no_dead_strip _thread_alive
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function thread_alive
_thread_alive: ; @thread_alive
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _s@GOTPAGE
Lloh1:
ldr x8, [x8, _s@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
tbnz x8, #63, LBB0_2
; %bb.1:
mov x2, x0
Lloh3:
adrp x19, _GDB_THREADALIVE@GOTPAGE
Lloh4:
ldr x19, [x19, _GDB_THREADALIVE@GOTPAGEOFF]
ldr w1, [x19]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _puthandle
ldr w1, [x19]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
add x2, sp, #12
mov x3, #0
bl _getresult
b LBB0_3
LBB0_2:
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _s,8,3 ; @s
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ThreadAlive handle"
.comm _GDB_THREADALIVE,4,2 ; @GDB_THREADALIVE
l_.str.1: ; @.str.1
.asciz "ThreadAlive result"
.no_dead_strip _thread_alive
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_wince.c_thread_alive.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bfa_iocpf_sm_disabled_entry
_bfa_iocpf_sm_disabled_entry: ## @bfa_iocpf_sm_disabled_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _bfa_ioc_mbox_flush
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _bfa_ioc_pf_disabled ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _bfa_iocpf_sm_disabled_entry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bfa_iocpf_sm_disabled_entry
_bfa_iocpf_sm_disabled_entry: ; @bfa_iocpf_sm_disabled_entry
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _bfa_ioc_mbox_flush
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _bfa_ioc_pf_disabled
.cfi_endproc
; -- End function
.no_dead_strip _bfa_iocpf_sm_disabled_entry
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bfa_ioc.c_bfa_iocpf_sm_disabled_entry.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
leaq L_.str(%rip), %rdi
leaq -36(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movslq -36(%rbp), %rbx
leaq (,%rbx,4), %rdi
callq _malloc
testq %rbx, %rbx
jle LBB0_11
## %bb.1:
movq %rax, %r15
leaq L_.str(%rip), %r14
movq %rax, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
incq %rbx
movslq -36(%rbp), %rax
addq $4, %r12
cmpq %rax, %rbx
jl LBB0_2
## %bb.3:
movl %eax, %eax
cmpl $2, %eax
jl LBB0_8
## %bb.4:
movl %eax, %r8d
shrl %r8d
cmpl $1, %r8d
jne LBB0_12
## %bb.5:
xorl %edx, %edx
jmp LBB0_6
LBB0_12:
movl %r8d, %esi
andl $-2, %esi
leaq (%r15,%rax,4), %rdi
addq $-4, %rdi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rdx,4), %ebx
movl (%rdi), %ecx
movl %ecx, (%r15,%rdx,4)
movl %ebx, (%rdi)
movl 4(%r15,%rdx,4), %ecx
movl -4(%rdi), %ebx
movl %ebx, 4(%r15,%rdx,4)
addq $2, %rdx
movl %ecx, -4(%rdi)
addq $-8, %rdi
cmpq %rdx, %rsi
jne LBB0_13
LBB0_6:
testb $1, %r8b
je LBB0_8
## %bb.7:
movl (%r15,%rdx,4), %ecx
movq %rdx, %rsi
notq %rsi
addq %rax, %rsi
movl (%r15,%rsi,4), %edi
movl %edi, (%r15,%rdx,4)
movl %ecx, (%r15,%rsi,4)
LBB0_8:
testl %eax, %eax
jle LBB0_11
## %bb.9:
leaq L_.str.1(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
movslq -36(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_10
LBB0_11:
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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
ldrsw x20, [sp, #12]
lsl x0, x20, #2
bl _malloc
cmp w20, #1
b.lt LBB0_9
; %bb.1:
mov x19, x0
mov x21, #0
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
mov x22, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
str x22, [sp]
mov x0, x20
bl _scanf
add x21, x21, #1
ldrsw x8, [sp, #12]
add x22, x22, #4
cmp x21, x8
b.lt LBB0_2
; %bb.3:
and x8, x8, #0xffffffff
cmp w8, #1
b.le LBB0_6
; %bb.4:
ubfx x9, x8, #1, #31
add x10, x19, x8, lsl #2
sub x10, x10, #4
mov x11, x19
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w12, [x11]
ldr w13, [x10]
str w13, [x11], #4
str w12, [x10], #-4
subs x9, x9, #1
b.ne LBB0_5
LBB0_6:
cmp w8, #1
b.lt LBB0_9
; %bb.7:
mov x21, #0
Lloh4:
adrp x20, l_.str.1@PAGE
Lloh5:
add x20, x20, l_.str.1@PAGEOFF
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, x21, lsl #2]
str x8, [sp]
mov x0, x20
bl _printf
add x21, x21, #1
ldrsw x8, [sp, #12]
cmp x21, x8
b.lt LBB0_8
LBB0_9:
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"
l_.str.1: ; @.str.1
.asciz "%d "
.subsections_via_symbols
| the_stack_data/89353.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _e1000_check_for_rst ## -- Begin function e1000_check_for_rst
.p2align 4, 0x90
_e1000_check_for_rst: ## @e1000_check_for_rst
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movq _E1000_ERR_MBX@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
leaq L_.str(%rip), %rdi
callq _DEBUGFUNC
movq (%r15), %rax
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %r15, %rdi
movl %r14d, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax ## TAILCALL
LBB0_1:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _E1000_ERR_MBX,4,2 ## @E1000_ERR_MBX
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "e1000_check_for_rst"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _e1000_check_for_rst ; -- Begin function e1000_check_for_rst
.p2align 2
_e1000_check_for_rst: ; @e1000_check_for_rst
.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 x8, _E1000_ERR_MBX@GOTPAGE
Lloh1:
ldr x8, [x8, _E1000_ERR_MBX@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _DEBUGFUNC
ldr x2, [x20]
cbz x2, LBB0_2
; %bb.1:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
br x2
LBB0_2:
neg w0, w21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _E1000_ERR_MBX,4,2 ; @E1000_ERR_MBX
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "e1000_check_for_rst"
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/e1000/extr_e1000_mbx.c_e1000_check_for_rst.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dwc_otg_enable_sof_irq
_dwc_otg_enable_sof_irq: ## @dwc_otg_enable_sof_irq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, 8(%rdi)
jne LBB0_2
## %bb.1:
movl $1, (%rdi)
movl 4(%rdi), %eax
movq _GINTMSK_SOFMSK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
testl %eax, %edx
je LBB0_3
LBB0_2:
popq %rbp
retq
LBB0_3:
orl %eax, %edx
movl %edx, 4(%rdi)
movq _DOTG_GINTMSK@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _DWC_OTG_WRITE_4 ## TAILCALL
.cfi_endproc
## -- End function
.comm _GINTMSK_SOFMSK,4,2 ## @GINTMSK_SOFMSK
.comm _DOTG_GINTMSK,4,2 ## @DOTG_GINTMSK
.no_dead_strip _dwc_otg_enable_sof_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dwc_otg_enable_sof_irq
_dwc_otg_enable_sof_irq: ; @dwc_otg_enable_sof_irq
.cfi_startproc
; %bb.0:
ldr x8, [x0, #8]
cbnz x8, LBB0_2
; %bb.1:
mov w8, #1
str w8, [x0]
ldr w8, [x0, #4]
Lloh0:
adrp x9, _GINTMSK_SOFMSK@GOTPAGE
Lloh1:
ldr x9, [x9, _GINTMSK_SOFMSK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_3
LBB0_2:
ret
LBB0_3:
orr w2, w9, w8
str w2, [x0, #4]
Lloh3:
adrp x8, _DOTG_GINTMSK@GOTPAGE
Lloh4:
ldr x8, [x8, _DOTG_GINTMSK@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
b _DWC_OTG_WRITE_4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _GINTMSK_SOFMSK,4,2 ; @GINTMSK_SOFMSK
.comm _DOTG_GINTMSK,4,2 ; @DOTG_GINTMSK
.no_dead_strip _dwc_otg_enable_sof_irq
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/controller/extr_dwc_otg.c_dwc_otg_enable_sof_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mwifiex_recv_packet ## -- Begin function mwifiex_recv_packet
.p2align 4, 0x90
_mwifiex_recv_packet: ## @mwifiex_recv_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
testq %rsi, %rsi
je LBB0_1
## %bb.2:
movq %rsi, %rbx
movq %rdi, %r14
movl (%rsi), %eax
addl %eax, 16(%rdi)
incl 12(%rdi)
callq _GET_BSS_ROLE
movq _MWIFIEX_BSS_ROLE_UAP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.3:
movq 32(%rbx), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _mwifiex_get_sta_entry
testq %rax, %rax
je LBB0_5
## %bb.4:
movq _jiffies@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rax)
movl (%rbx), %ecx
addl %ecx, 4(%rax)
incl (%rax)
LBB0_5:
movl 8(%r14), %esi
movl %esi, 24(%rbx)
movq %rbx, %rdi
callq _eth_type_trans
movl %eax, 20(%rbx)
movq _CHECKSUM_NONE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rbx)
movq (%r14), %rax
movq (%rax), %rax
movq _MWIFIEX_USB@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_7
## %bb.6:
movq _MWIFIEX_PCIE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_9
LBB0_7:
movq 8(%rbx), %rax
movq _MWIFIEX_RX_DATA_BUF_SIZE@GOTPCREL(%rip), %rcx
subq (%rcx), %rax
jle LBB0_9
## %bb.8:
addq (%rbx), %rax
movq %rax, 8(%rbx)
LBB0_9:
xorl %r14d, %r14d
xorl %eax, %eax
callq _in_interrupt
movq %rbx, %rdi
testq %rax, %rax
je LBB0_11
## %bb.10:
callq _netif_rx
jmp LBB0_12
LBB0_1:
movl $-1, %r14d
jmp LBB0_12
LBB0_11:
callq _netif_rx_ni
LBB0_12:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MWIFIEX_BSS_ROLE_UAP,8,3 ## @MWIFIEX_BSS_ROLE_UAP
.comm _jiffies,4,2 ## @jiffies
.comm _CHECKSUM_NONE,4,2 ## @CHECKSUM_NONE
.comm _MWIFIEX_USB,8,3 ## @MWIFIEX_USB
.comm _MWIFIEX_PCIE,8,3 ## @MWIFIEX_PCIE
.comm _MWIFIEX_RX_DATA_BUF_SIZE,8,3 ## @MWIFIEX_RX_DATA_BUF_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mwifiex_recv_packet ; -- Begin function mwifiex_recv_packet
.p2align 2
_mwifiex_recv_packet: ; @mwifiex_recv_packet
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x1, LBB0_9
; %bb.1:
mov x19, x1
mov x20, x0
ldr w8, [x1]
ldp w10, w9, [x0, #12]
add w8, w9, w8
add w9, w10, #1
stp w9, w8, [x0, #12]
bl _GET_BSS_ROLE
Lloh0:
adrp x8, _MWIFIEX_BSS_ROLE_UAP@GOTPAGE
Lloh1:
ldr x8, [x8, _MWIFIEX_BSS_ROLE_UAP@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_4
; %bb.2:
ldr x8, [x19, #32]
ldr w1, [x8]
mov x0, x20
bl _mwifiex_get_sta_entry
cbz x0, LBB0_4
; %bb.3:
Lloh3:
adrp x8, _jiffies@GOTPAGE
Lloh4:
ldr x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x0, #8]
ldr w8, [x19]
ldp w10, w9, [x0]
add w8, w9, w8
add w9, w10, #1
stp w9, w8, [x0]
LBB0_4:
ldr w1, [x20, #8]
str w1, [x19, #24]
mov x0, x19
bl _eth_type_trans
Lloh6:
adrp x8, _CHECKSUM_NONE@GOTPAGE
Lloh7:
ldr x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
stp w8, w0, [x19, #16]
ldr x8, [x20]
ldr x8, [x8]
Lloh9:
adrp x9, _MWIFIEX_USB@GOTPAGE
Lloh10:
ldr x9, [x9, _MWIFIEX_USB@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
Lloh12:
adrp x10, _MWIFIEX_PCIE@GOTPAGE
Lloh13:
ldr x10, [x10, _MWIFIEX_PCIE@GOTPAGEOFF]
Lloh14:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.ne LBB0_7
; %bb.5:
ldr x8, [x19, #8]
Lloh15:
adrp x9, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGE
Lloh16:
ldr x9, [x9, _MWIFIEX_RX_DATA_BUF_SIZE@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
subs x8, x8, x9
b.le LBB0_7
; %bb.6:
ldr x9, [x19]
add x8, x8, x9
str x8, [x19, #8]
LBB0_7:
bl _in_interrupt
cbz x0, LBB0_10
; %bb.8:
mov x0, x19
bl _netif_rx
b LBB0_11
LBB0_9:
mov w0, #-1
b LBB0_12
LBB0_10:
mov x0, x19
bl _netif_rx_ni
LBB0_11:
mov w0, #0
LBB0_12:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _MWIFIEX_BSS_ROLE_UAP,8,3 ; @MWIFIEX_BSS_ROLE_UAP
.comm _jiffies,4,2 ; @jiffies
.comm _CHECKSUM_NONE,4,2 ; @CHECKSUM_NONE
.comm _MWIFIEX_USB,8,3 ; @MWIFIEX_USB
.comm _MWIFIEX_PCIE,8,3 ; @MWIFIEX_PCIE
.comm _MWIFIEX_RX_DATA_BUF_SIZE,8,3 ; @MWIFIEX_RX_DATA_BUF_SIZE
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_util.c_mwifiex_recv_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _payloads_udp_lookup ## -- Begin function payloads_udp_lookup
.p2align 4, 0x90
_payloads_udp_lookup: ## @payloads_udp_lookup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %eax, %eax
testq %rdi, %rdi
je LBB0_7
## %bb.1:
movl (%rdi), %r10d
testq %r10, %r10
je LBB0_7
## %bb.2:
movq 16(%rbp), %r11
movzwl %si, %r14d
movq 8(%rdi), %rbx
xorl %esi, %esi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rbx,%rsi,8), %rax
cmpl %r14d, (%rax)
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
incq %rsi
cmpq %rsi, %r10
jne LBB0_3
## %bb.6:
xorl %eax, %eax
jmp LBB0_7
LBB0_4:
movq 8(%rax), %rax
movq %rax, (%rdx)
movq 8(%rdi), %rax
movq (%rax,%rsi,8), %rax
movl 16(%rax), %edx
movl %edx, (%rcx)
movl 20(%rax), %ecx
movl %ecx, (%r8)
movl 28(%rax), %ecx
movl %ecx, (%r9)
movl 24(%rax), %eax
movl %eax, (%r11)
movl $1, %eax
LBB0_7:
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 _payloads_udp_lookup ; -- Begin function payloads_udp_lookup
.p2align 2
_payloads_udp_lookup: ; @payloads_udp_lookup
.cfi_startproc
; %bb.0:
cbz x0, LBB0_6
; %bb.1:
ldr w11, [x0]
cbz w11, LBB0_5
; %bb.2:
mov x8, #0
and w9, w1, #0xffff
ldr x10, [x0, #8]
lsl x11, x11, #3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10, x8]
ldr w13, [x12]
cmp w13, w9
b.eq LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
add x8, x8, #8
cmp x11, x8
b.ne LBB0_3
LBB0_5:
mov w0, #0
LBB0_6:
ret
LBB0_7:
ldr x9, [x12, #8]
str x9, [x2]
ldr x9, [x0, #8]
ldr x8, [x9, x8]
ldr w9, [x8, #16]
str w9, [x3]
ldr w9, [x8, #20]
str w9, [x4]
ldr w9, [x8, #28]
str w9, [x5]
ldr w8, [x8, #24]
str w8, [x6]
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/masscan/src/extr_templ-payloads.c_payloads_udp_lookup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bhnd_nvram_src_name ## -- Begin function bhnd_nvram_src_name
.p2align 4, 0x90
_bhnd_nvram_src_name: ## @bhnd_nvram_src_name
.cfi_startproc
## %bb.0:
addl $-128, %edi
cmpl $3, %edi
ja LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %edi, %rax
leaq l_reltable.bhnd_nvram_src_name(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq L_.str.4(%rip), %rax
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "flash"
L_.str.1: ## @.str.1
.asciz "OTP"
L_.str.2: ## @.str.2
.asciz "SPROM"
L_.str.3: ## @.str.3
.asciz "none"
L_.str.4: ## @.str.4
.asciz "unknown"
.section __TEXT,__const
.p2align 2 ## @reltable.bhnd_nvram_src_name
l_reltable.bhnd_nvram_src_name:
.long L_.str.3-l_reltable.bhnd_nvram_src_name
.long L_.str.2-l_reltable.bhnd_nvram_src_name
.long L_.str.1-l_reltable.bhnd_nvram_src_name
.long L_.str-l_reltable.bhnd_nvram_src_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _bhnd_nvram_src_name ; -- Begin function bhnd_nvram_src_name
.p2align 2
_bhnd_nvram_src_name: ; @bhnd_nvram_src_name
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #3
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.bhnd_nvram_src_name@PAGE
Lloh1:
add x9, x9, l_switch.table.bhnd_nvram_src_name@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
ret
LBB0_2:
Lloh2:
adrp x0, l_.str.4@PAGE
Lloh3:
add x0, x0, l_.str.4@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "flash"
l_.str.1: ; @.str.1
.asciz "OTP"
l_.str.2: ; @.str.2
.asciz "SPROM"
l_.str.3: ; @.str.3
.asciz "none"
l_.str.4: ; @.str.4
.asciz "unknown"
.section __DATA,__const
.p2align 3 ; @switch.table.bhnd_nvram_src_name
l_switch.table.bhnd_nvram_src_name:
.quad l_.str.3
.quad l_.str.2
.quad l_.str.1
.quad l_.str
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/bhnd/extr_bhnd_subr.c_bhnd_nvram_src_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function g_mouse_update_mode_radius
_g_mouse_update_mode_radius: ## @g_mouse_update_mode_radius
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _g_mouse_mode@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rdi)
movq _g_mouse_cursor_radius@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl %ecx, (%rdi)
testl %ecx, %ecx
js LBB0_1
## %bb.2:
movl $1023, %eax ## imm = 0x3FF
cmpl $1024, %ecx ## imm = 0x400
jae LBB0_3
## %bb.4:
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
LBB0_3:
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _g_mouse_mode,4,2 ## @g_mouse_mode
.comm _g_mouse_cursor_radius,4,2 ## @g_mouse_cursor_radius
.no_dead_strip _g_mouse_update_mode_radius
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function g_mouse_update_mode_radius
_g_mouse_update_mode_radius: ; @g_mouse_update_mode_radius
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _g_mouse_mode@GOTPAGE
Lloh1:
ldr x8, [x8, _g_mouse_mode@GOTPAGEOFF]
Lloh2:
ldr w9, [x8]
Lloh3:
adrp x8, _g_mouse_cursor_radius@GOTPAGE
Lloh4:
ldr x8, [x8, _g_mouse_cursor_radius@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
stp w8, w9, [x0]
tbnz w8, #31, LBB0_3
; %bb.1:
cmp w8, #1024
b.lo LBB0_5
; %bb.2:
mov w8, #1023
b LBB0_4
LBB0_3:
mov w8, #0
LBB0_4:
str w8, [x0]
LBB0_5:
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _g_mouse_mode,4,2 ; @g_mouse_mode
.comm _g_mouse_cursor_radius,4,2 ; @g_mouse_cursor_radius
.no_dead_strip _g_mouse_update_mode_radius
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/gadget/extr_g_mouse.c_g_mouse_update_mode_radius.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function w8001_command
_w8001_command: ## @w8001_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
movq $0, (%rdi)
leaq 8(%rdi), %r14
movq %r14, %rdi
callq _init_completion
movl 12(%rbx), %edi
movl %r12d, %esi
callq _serio_write
testl %r15d, %r15d
je LBB0_4
## %bb.1:
testl %eax, %eax
jne LBB0_4
## %bb.2:
movq _HZ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _wait_for_completion_timeout
movq (%rbx), %rcx
movq _W8001_QUERY_PACKET@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
je LBB0_4
## %bb.3:
movq _EIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_4:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HZ,4,2 ## @HZ
.comm _W8001_QUERY_PACKET,8,3 ## @W8001_QUERY_PACKET
.comm _EIO,4,2 ## @EIO
.no_dead_strip _w8001_command
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function w8001_command
_w8001_command: ; @w8001_command
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x22, x1
mov x19, x0
str xzr, [x0]
add x20, x0, #8
mov x0, x20
bl _init_completion
ldr w0, [x19, #12]
mov x1, x22
bl _serio_write
cbz w21, LBB0_5
; %bb.1:
cbnz w0, LBB0_5
; %bb.2:
Lloh0:
adrp x8, _HZ@GOTPAGE
Lloh1:
ldr x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _wait_for_completion_timeout
ldr x8, [x19]
Lloh3:
adrp x9, _W8001_QUERY_PACKET@GOTPAGE
Lloh4:
ldr x9, [x9, _W8001_QUERY_PACKET@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
mov w0, #0
b LBB0_5
LBB0_4:
Lloh6:
adrp x8, _EIO@GOTPAGE
Lloh7:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _HZ,4,2 ; @HZ
.comm _W8001_QUERY_PACKET,8,3 ; @W8001_QUERY_PACKET
.comm _EIO,4,2 ; @EIO
.no_dead_strip _w8001_command
.subsections_via_symbols
| AnghaBench/linux/drivers/input/touchscreen/extr_wacom_w8001.c_w8001_command.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function CG_DrawTeamInfo
_CG_DrawTeamInfo: ## @CG_DrawTeamInfo
.cfi_startproc
## %bb.0:
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 _cg_teamChatHeight@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _TEAMCHAT_HEIGHT@GOTPCREL(%rip), %rcx
movl (%rcx), %r14d
cmpl %r14d, %eax
cmovll %eax, %r14d
testl %r14d, %r14d
jle LBB0_5
## %bb.1:
movq _cgs@GOTPCREL(%rip), %r15
movl (%r15), %ebx
cmpl 4(%r15), %ebx
jne LBB0_2
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _cg@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq 8(%r15), %rsi
movl %ebx, %eax
cltd
idivl %r14d
movslq %edx, %rax
subq (%rsi,%rax,8), %rcx
movq _cg_teamChatTime@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jle LBB0_4
## %bb.3:
incl %ebx
movl %ebx, (%r15)
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rcx
movl %ebx, %eax
cltd
idivl %r14d
movslq %edx, %rax
movl (%rcx,%rax,4), %edi
callq _CG_DrawStrlen
incl %ebx
jmp LBB0_4
.cfi_endproc
## -- End function
.comm _cg_teamChatHeight,4,2 ## @cg_teamChatHeight
.comm _TEAMCHAT_HEIGHT,4,2 ## @TEAMCHAT_HEIGHT
.comm _cgs,32,3 ## @cgs
.comm _cg,16,3 ## @cg
.comm _cg_teamChatTime,8,3 ## @cg_teamChatTime
.comm _TINYCHAR_HEIGHT,4,2 ## @TINYCHAR_HEIGHT
.comm _TINYCHAR_WIDTH,4,2 ## @TINYCHAR_WIDTH
.comm _PERS_TEAM,8,3 ## @PERS_TEAM
.comm _TEAM_RED,8,3 ## @TEAM_RED
.comm _TEAM_BLUE,8,3 ## @TEAM_BLUE
.comm _qfalse,4,2 ## @qfalse
.comm _CHATLOC_X,8,3 ## @CHATLOC_X
.comm _CHATLOC_Y,8,3 ## @CHATLOC_Y
.no_dead_strip _CG_DrawTeamInfo
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function CG_DrawTeamInfo
_CG_DrawTeamInfo: ; @CG_DrawTeamInfo
.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, _cg_teamChatHeight@GOTPAGE
Lloh1:
ldr x8, [x8, _cg_teamChatHeight@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _TEAMCHAT_HEIGHT@GOTPAGE
Lloh4:
ldr x9, [x9, _TEAMCHAT_HEIGHT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w9
csel w19, w8, w9, lt
cmp w19, #1
b.lt LBB0_2
; %bb.1:
Lloh6:
adrp x20, _cgs@GOTPAGE
Lloh7:
ldr x20, [x20, _cgs@GOTPAGEOFF]
ldr d0, [x20]
mov.s w8, v0[1]
fmov w21, s0
cmp w21, w8
b.ne LBB0_3
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh8:
adrp x8, _cg@GOTPAGE
Lloh9:
ldr x8, [x8, _cg@GOTPAGEOFF]
ldr x9, [x20, #8]
sdiv w10, w21, w19
msub w10, w10, w19, w21
ldr x9, [x9, w10, sxtw #3]
Lloh10:
ldr x8, [x8]
Lloh11:
adrp x10, _cg_teamChatTime@GOTPAGE
Lloh12:
ldr x10, [x10, _cg_teamChatTime@GOTPAGEOFF]
Lloh13:
ldr x10, [x10]
sub x8, x8, x9
cmp x8, x10
b.le LBB0_5
; %bb.4:
add w21, w21, #1
str w21, [x20]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #16]
sdiv w9, w21, w19
msub w9, w9, w19, w21
ldr w0, [x8, w9, sxtw #2]
bl _CG_DrawStrlen
add w21, w21, #1
b LBB0_5
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _cg_teamChatHeight,4,2 ; @cg_teamChatHeight
.comm _TEAMCHAT_HEIGHT,4,2 ; @TEAMCHAT_HEIGHT
.comm _cgs,32,3 ; @cgs
.comm _cg,16,3 ; @cg
.comm _cg_teamChatTime,8,3 ; @cg_teamChatTime
.comm _TINYCHAR_HEIGHT,4,2 ; @TINYCHAR_HEIGHT
.comm _TINYCHAR_WIDTH,4,2 ; @TINYCHAR_WIDTH
.comm _PERS_TEAM,8,3 ; @PERS_TEAM
.comm _TEAM_RED,8,3 ; @TEAM_RED
.comm _TEAM_BLUE,8,3 ; @TEAM_BLUE
.comm _qfalse,4,2 ; @qfalse
.comm _CHATLOC_X,8,3 ; @CHATLOC_X
.comm _CHATLOC_Y,8,3 ; @CHATLOC_Y
.no_dead_strip _CG_DrawTeamInfo
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/cgame/extr_cg_draw.c_CG_DrawTeamInfo.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/27811.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function aggpch_setblocksize
_aggpch_setblocksize: ## @aggpch_setblocksize
.cfi_startproc
## %bb.0:
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
movl 8(%rsi), %ecx
addl 4(%rsi), %ecx
movl (%rsi), %eax
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
movl %edx, %r15d
imull $50, %edx, %ecx
cltd
idivl %ecx
movl %eax, %r12d
movq 24(%rsi), %rax
movl (%rax), %eax
cltd
idivl %r15d
movl %r12d, %edi
movl $2, %esi
movl %eax, %edx
callq _RANGE
movl 20(%r14), %edi
callq _sndbuf_getsize
movl %r12d, %ebx
imull %r15d, %ebx
movl 20(%r14), %edi
movl %r12d, %esi
cmpl %ebx, %eax
jne LBB0_1
## %bb.2:
callq _sndbuf_setblkcnt
movl 20(%r14), %edi
movl %r15d, %esi
callq _sndbuf_setblksz
jmp LBB0_3
LBB0_1:
movl %r15d, %edx
callq _sndbuf_resize
movl 20(%r14), %edi
callq _sndbuf_getblkcnt
movl %eax, %ebx
movl 20(%r14), %edi
callq _sndbuf_getblksz
movl %eax, %r15d
imull %eax, %ebx
LBB0_3:
movl %r15d, %eax
shrl $31, %eax
addl %r15d, %eax
sarl %eax
movl %eax, 12(%r14)
movl %ebx, %eax
shrl $31, %eax
addl %ebx, %eax
sarl %eax
movl %eax, 16(%r14)
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _aggpch_setblocksize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function aggpch_setblocksize
_aggpch_setblocksize: ; @aggpch_setblocksize
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x19, x1
ldp w8, w9, [x1]
ldr w10, [x1, #8]
add w9, w10, w9
lsl w8, w8, w9
mov w9, #50
mul w9, w2, w9
sdiv w21, w8, w9
ldr x8, [x1, #24]
ldr w8, [x8]
sdiv w2, w8, w2
mov x0, x21
mov w1, #2
bl _RANGE
ldr w0, [x19, #20]
bl _sndbuf_getsize
mov x8, x0
mul w22, w21, w20
ldr w0, [x19, #20]
mov x1, x21
cmp w8, w22
b.ne LBB0_2
; %bb.1:
bl _sndbuf_setblkcnt
ldr w0, [x19, #20]
mov x1, x20
bl _sndbuf_setblksz
b LBB0_3
LBB0_2:
mov x2, x20
bl _sndbuf_resize
ldr w0, [x19, #20]
bl _sndbuf_getblkcnt
mov x21, x0
ldr w0, [x19, #20]
bl _sndbuf_getblksz
mov x20, x0
mul w22, w21, w0
LBB0_3:
cmp w20, #0
cinc w8, w20, lt
asr w8, w8, #1
cmp w22, #0
cinc w9, w22, lt
asr w9, w9, #1
stp w8, w9, [x19, #12]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _aggpch_setblocksize
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/pci/extr_maestro.c_aggpch_setblocksize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function php_bz2_decompress_filter
_php_bz2_decompress_filter: ## @php_bz2_decompress_filter
.cfi_startproc
## %bb.0:
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
movl %r9d, %r15d
movq %r8, -88(%rbp) ## 8-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, -72(%rbp) ## 8-byte Spill
movq _PSFS_FEED_ME@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movl (%rsi), %edi
callq _Z_PTR
testq %rax, %rax
je LBB0_34
## %bb.1:
movl %r15d, -60(%rbp) ## 4-byte Spill
movl %r14d, -44(%rbp) ## 4-byte Spill
movl (%rbx), %edi
callq _Z_PTR
movq %rax, %r14
movq %rax, %r13
addq $32, %r13
movq %r12, -96(%rbp) ## 8-byte Spill
movq (%r12), %rdi
xorl %ebx, %ebx
testq %rdi, %rdi
je LBB0_21
## %bb.2:
movq %r13, -104(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
addq %r12, %rbx
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
movq %rdx, %rdi
callq _php_stream_bucket_delref
movq -96(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_21
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
callq _php_stream_bucket_make_writeable
movq %rax, %rdx
cmpq $0, (%rax)
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
xorl %r15d, %r15d
movq %rdx, -56(%rbp) ## 8-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_9 Depth=2
movl 24(%r14), %edi
movq %r13, %rsi
callq _estrndup
movq -72(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movq %r13, %rdx
movl $1, %ecx
xorl %r8d, %r8d
callq _php_stream_bucket_new
movq -80(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _php_stream_bucket_append
movq -56(%rbp), %rdx ## 8-byte Reload
movq 16(%r14), %rax
movq %rax, 40(%r14)
movl 24(%r14), %eax
movl %eax, 48(%r14)
movq _PSFS_PASS_ON@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
LBB0_8: ## in Loop: Header=BB0_9 Depth=2
addq %r12, %rbx
addq %r12, %r15
cmpq (%rdx), %r15
movq -104(%rbp), %r13 ## 8-byte Reload
jae LBB0_4
LBB0_9: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rax
movq _PHP_BZ2_UNITIALIZED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
movl 72(%r14), %edx
movq %r13, %rdi
xorl %esi, %esi
callq _BZ2_bzDecompressInit
movq _BZ_OK@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_31
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
movq _PHP_BZ2_RUNNING@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r14)
movq -56(%rbp), %rdx ## 8-byte Reload
LBB0_12: ## in Loop: Header=BB0_9 Depth=2
movq (%rdx), %r12
movq _PHP_BZ2_RUNNING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.13: ## in Loop: Header=BB0_9 Depth=2
subq %r15, %r12
movq 8(%r14), %rax
cmpq %rax, %r12
cmovaeq %rax, %r12
movl 52(%r14), %edi
movq 8(%rdx), %rsi
addq %r15, %rsi
movq %r12, %rdx
callq _memcpy
movq %r12, 32(%r14)
movq %r13, %rdi
callq _BZ2_bzDecompress
movl %eax, %ecx
movq _BZ_STREAM_END@GOTPCREL(%rip), %rax
cmpl (%rax), %ecx
jne LBB0_17
## %bb.14: ## in Loop: Header=BB0_9 Depth=2
movl %ecx, -64(%rbp) ## 4-byte Spill
movq %r13, %rdi
callq _BZ2_bzDecompressEnd
cmpq $0, 64(%r14)
movq _PHP_BZ2_UNITIALIZED@GOTPCREL(%rip), %rax
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_9 Depth=2
movq _PHP_BZ2_FINISHED@GOTPCREL(%rip), %rax
LBB0_16: ## in Loop: Header=BB0_9 Depth=2
movq (%rax), %rax
movq %rax, (%r14)
movq -56(%rbp), %rdx ## 8-byte Reload
movl -64(%rbp), %ecx ## 4-byte Reload
jmp LBB0_18
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_9 Depth=2
movq _BZ_OK@GOTPCREL(%rip), %rax
cmpl (%rax), %ecx
movq -56(%rbp), %rdx ## 8-byte Reload
jne LBB0_32
LBB0_18: ## in Loop: Header=BB0_9 Depth=2
subq 32(%r14), %r12
movl 56(%r14), %eax
movl %eax, 52(%r14)
movq $0, 32(%r14)
movq 16(%r14), %r13
subq 40(%r14), %r13
jg LBB0_7
## %bb.19: ## in Loop: Header=BB0_9 Depth=2
movq _BZ_STREAM_END@GOTPCREL(%rip), %rax
cmpl (%rax), %ecx
jne LBB0_8
## %bb.20:
movq %rdx, %rdi
callq _php_stream_bucket_delref
movq _PSFS_PASS_ON@GOTPCREL(%rip), %rax
jmp LBB0_35
LBB0_21:
movq (%r14), %rax
movq _PHP_BZ2_RUNNING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movq %rbx, -56(%rbp) ## 8-byte Spill
jne LBB0_28
## %bb.22:
movq _PSFS_FLAG_FLUSH_CLOSE@GOTPCREL(%rip), %rax
movl -60(%rbp), %ecx ## 4-byte Reload
testl %ecx, (%rax)
je LBB0_28
## %bb.23:
movq _BZ_OK@GOTPCREL(%rip), %r15
jmp LBB0_26
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_26 Depth=1
movl 24(%r14), %edi
movq %rbx, %rsi
callq _estrndup
movq -72(%rbp), %rdi ## 8-byte Reload
movl %eax, %esi
movq %rbx, %rdx
movl $1, %ecx
xorl %r8d, %r8d
callq _php_stream_bucket_new
movq -80(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _php_stream_bucket_append
movq 16(%r14), %rax
movq %rax, 40(%r14)
movl 24(%r14), %eax
movl %eax, 48(%r14)
movq _PSFS_PASS_ON@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl (%r15), %eax
LBB0_25: ## in Loop: Header=BB0_26 Depth=1
cmpl %eax, %r12d
jne LBB0_28
LBB0_26: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
callq _BZ2_bzDecompress
movl %eax, %r12d
movq 16(%r14), %rbx
subq 40(%r14), %rbx
jg LBB0_24
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
movl (%r15), %eax
cmpl %eax, %r12d
jne LBB0_25
LBB0_28:
movq -88(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_30
## %bb.29:
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
LBB0_30:
movl -44(%rbp), %eax ## 4-byte Reload
jmp LBB0_36
LBB0_31:
movq -56(%rbp), %rdi ## 8-byte Reload
jmp LBB0_33
LBB0_32:
movq %rdx, %rdi
LBB0_33:
callq _php_stream_bucket_delref
LBB0_34:
movq _PSFS_ERR_FATAL@GOTPCREL(%rip), %rax
LBB0_35:
movl (%rax), %eax
LBB0_36:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PSFS_FEED_ME,4,2 ## @PSFS_FEED_ME
.comm _PSFS_ERR_FATAL,4,2 ## @PSFS_ERR_FATAL
.comm _PHP_BZ2_UNITIALIZED,8,3 ## @PHP_BZ2_UNITIALIZED
.comm _BZ_OK,4,2 ## @BZ_OK
.comm _PHP_BZ2_RUNNING,8,3 ## @PHP_BZ2_RUNNING
.comm _BZ_STREAM_END,4,2 ## @BZ_STREAM_END
.comm _PHP_BZ2_FINISHED,8,3 ## @PHP_BZ2_FINISHED
.comm _PSFS_PASS_ON,4,2 ## @PSFS_PASS_ON
.comm _PSFS_FLAG_FLUSH_CLOSE,4,2 ## @PSFS_FLAG_FLUSH_CLOSE
.no_dead_strip _php_bz2_decompress_filter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function php_bz2_decompress_filter
_php_bz2_decompress_filter: ; @php_bz2_decompress_filter
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x24, x5
mov x20, x4
stp x0, x3, [sp, #32] ; 16-byte Folded Spill
mov x25, x2
mov x19, x1
Lloh0:
adrp x8, _PSFS_FEED_ME@GOTPAGE
Lloh1:
ldr x8, [x8, _PSFS_FEED_ME@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
ldr w0, [x1]
bl _Z_PTR
cbz x0, LBB0_27
; %bb.1:
ldr w0, [x19]
bl _Z_PTR
mov x22, x0
add x23, x0, #32
ldr x0, [x25]
str x20, [sp, #8] ; 8-byte Folded Spill
str w21, [sp, #28] ; 4-byte Folded Spill
str w24, [sp, #4] ; 4-byte Folded Spill
mov x26, #0
cbz x0, LBB0_19
; %bb.2:
Lloh3:
adrp x21, _PHP_BZ2_UNITIALIZED@GOTPAGE
Lloh4:
ldr x21, [x21, _PHP_BZ2_UNITIALIZED@GOTPAGEOFF]
str x25, [sp, #16] ; 8-byte Folded Spill
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
add x26, x9, x26
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov x0, x27
bl _php_stream_bucket_delref
ldr x25, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x25]
cbz x0, LBB0_19
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
bl _php_stream_bucket_make_writeable
mov x27, x0
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x20, #0
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
ldr w0, [x22, #24]
mov x1, x25
bl _estrndup
mov x1, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x2, x25
mov w3, #1
mov w4, #0
bl _php_stream_bucket_new
mov x1, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _php_stream_bucket_append
ldr x8, [x22, #16]
str x8, [x22, #40]
ldr w8, [x22, #24]
str w8, [x22, #48]
Lloh5:
adrp x8, _PSFS_PASS_ON@GOTPAGE
Lloh6:
ldr x8, [x8, _PSFS_PASS_ON@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [sp, #28] ; 4-byte Folded Spill
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
sub x8, x28, x24
add x26, x8, x26
ldr x9, [x27]
add x20, x8, x20
cmp x20, x9
b.hs LBB0_4
LBB0_9: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_12
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
ldr w2, [x22, #72]
mov x0, x23
mov w1, #0
bl _BZ2_bzDecompressInit
Lloh8:
adrp x8, _BZ_OK@GOTPAGE
Lloh9:
ldr x8, [x8, _BZ_OK@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, w0
b.ne LBB0_26
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
Lloh11:
adrp x8, _PHP_BZ2_RUNNING@GOTPAGE
Lloh12:
ldr x8, [x8, _PHP_BZ2_RUNNING@GOTPAGEOFF]
Lloh13:
ldr x8, [x8]
str x8, [x22]
LBB0_12: ; in Loop: Header=BB0_9 Depth=2
Lloh14:
adrp x9, _PHP_BZ2_RUNNING@GOTPAGE
Lloh15:
ldr x9, [x9, _PHP_BZ2_RUNNING@GOTPAGEOFF]
Lloh16:
ldr x10, [x9]
ldr x9, [x27]
cmp x8, x10
b.ne LBB0_3
; %bb.13: ; in Loop: Header=BB0_9 Depth=2
ldr x8, [x22, #8]
sub x9, x9, x20
cmp x9, x8
csel x28, x9, x8, lo
ldr w0, [x22, #52]
ldr x8, [x27, #8]
add x1, x8, x20
mov x2, x28
bl _memcpy
str x28, [x22, #32]
mov x0, x23
bl _BZ2_bzDecompress
mov x19, x0
Lloh17:
adrp x8, _BZ_STREAM_END@GOTPAGE
Lloh18:
ldr x8, [x8, _BZ_STREAM_END@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_15
; %bb.14: ; in Loop: Header=BB0_9 Depth=2
mov x0, x23
bl _BZ2_bzDecompressEnd
ldr x8, [x22, #64]
cmp x8, #0
Lloh20:
adrp x8, _PHP_BZ2_FINISHED@GOTPAGE
Lloh21:
ldr x8, [x8, _PHP_BZ2_FINISHED@GOTPAGEOFF]
csel x8, x8, x21, eq
ldr x8, [x8]
str x8, [x22]
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_9 Depth=2
Lloh22:
adrp x8, _BZ_OK@GOTPAGE
Lloh23:
ldr x8, [x8, _BZ_OK@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
cmp w19, w8
b.ne LBB0_26
LBB0_16: ; in Loop: Header=BB0_9 Depth=2
ldr w8, [x22, #56]
str w8, [x22, #52]
ldp x24, x8, [x22, #32]
str xzr, [x22, #32]
ldr x9, [x22, #16]
subs x25, x9, x8
b.gt LBB0_7
; %bb.17: ; in Loop: Header=BB0_9 Depth=2
Lloh25:
adrp x8, _BZ_STREAM_END@GOTPAGE
Lloh26:
ldr x8, [x8, _BZ_STREAM_END@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
cmp w19, w8
b.ne LBB0_8
; %bb.18:
mov x0, x27
bl _php_stream_bucket_delref
Lloh28:
adrp x8, _PSFS_PASS_ON@GOTPAGE
Lloh29:
ldr x8, [x8, _PSFS_PASS_ON@GOTPAGEOFF]
Lloh30:
ldr w24, [x8]
b LBB0_31
LBB0_19:
ldr x8, [x22]
Lloh31:
adrp x9, _PHP_BZ2_RUNNING@GOTPAGE
Lloh32:
ldr x9, [x9, _PHP_BZ2_RUNNING@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_28
; %bb.20:
Lloh34:
adrp x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGE
Lloh35:
ldr x8, [x8, _PSFS_FLAG_FLUSH_CLOSE@GOTPAGEOFF]
Lloh36:
ldr w8, [x8]
ldr w9, [sp, #4] ; 4-byte Folded Reload
tst w8, w9
ldr w24, [sp, #28] ; 4-byte Folded Reload
b.eq LBB0_29
; %bb.21:
Lloh37:
adrp x20, _PSFS_PASS_ON@GOTPAGE
Lloh38:
ldr x20, [x20, _PSFS_PASS_ON@GOTPAGEOFF]
Lloh39:
adrp x21, _BZ_OK@GOTPAGE
Lloh40:
ldr x21, [x21, _BZ_OK@GOTPAGEOFF]
b LBB0_24
LBB0_22: ; in Loop: Header=BB0_24 Depth=1
ldr w0, [x22, #24]
mov x1, x19
bl _estrndup
mov x1, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x2, x19
mov w3, #1
mov w4, #0
bl _php_stream_bucket_new
mov x1, x0
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _php_stream_bucket_append
ldr x8, [x22, #16]
str x8, [x22, #40]
ldr w8, [x22, #24]
str w8, [x22, #48]
ldr w24, [x20]
ldr w8, [x21]
LBB0_23: ; in Loop: Header=BB0_24 Depth=1
cmp w25, w8
b.ne LBB0_29
LBB0_24: ; =>This Inner Loop Header: Depth=1
mov x0, x23
bl _BZ2_bzDecompress
mov x25, x0
ldr x8, [x22, #40]
ldr x9, [x22, #16]
subs x19, x9, x8
b.gt LBB0_22
; %bb.25: ; in Loop: Header=BB0_24 Depth=1
ldr w8, [x21]
cmp w25, w8
b.ne LBB0_23
b LBB0_29
LBB0_26:
mov x0, x27
bl _php_stream_bucket_delref
LBB0_27:
Lloh41:
adrp x8, _PSFS_ERR_FATAL@GOTPAGE
Lloh42:
ldr x8, [x8, _PSFS_ERR_FATAL@GOTPAGEOFF]
Lloh43:
ldr w24, [x8]
b LBB0_31
LBB0_28:
ldr w24, [sp, #28] ; 4-byte Folded Reload
LBB0_29:
ldr x8, [sp, #8] ; 8-byte Folded Reload
cbz x8, LBB0_31
; %bb.30:
str x26, [x8]
LBB0_31:
mov x0, x24
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.cfi_endproc
; -- End function
.comm _PSFS_FEED_ME,4,2 ; @PSFS_FEED_ME
.comm _PSFS_ERR_FATAL,4,2 ; @PSFS_ERR_FATAL
.comm _PHP_BZ2_UNITIALIZED,8,3 ; @PHP_BZ2_UNITIALIZED
.comm _BZ_OK,4,2 ; @BZ_OK
.comm _PHP_BZ2_RUNNING,8,3 ; @PHP_BZ2_RUNNING
.comm _BZ_STREAM_END,4,2 ; @BZ_STREAM_END
.comm _PHP_BZ2_FINISHED,8,3 ; @PHP_BZ2_FINISHED
.comm _PSFS_PASS_ON,4,2 ; @PSFS_PASS_ON
.comm _PSFS_FLAG_FLUSH_CLOSE,4,2 ; @PSFS_FLAG_FLUSH_CLOSE
.no_dead_strip _php_bz2_decompress_filter
.subsections_via_symbols
| AnghaBench/php-src/ext/bz2/extr_bz2_filter.c_php_bz2_decompress_filter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rgb_matrix_indicators_user ## -- Begin function rgb_matrix_indicators_user
.weak_definition _rgb_matrix_indicators_user
.p2align 4, 0x90
_rgb_matrix_indicators_user: ## @rgb_matrix_indicators_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _IS_HOST_LED_ON
testq %rax, %rax
je LBB0_1
## %bb.2:
movl $30, %edi
movl $255, %esi
movl $255, %edx
movl $255, %ecx
popq %rbp
jmp _rgb_matrix_set_color ## TAILCALL
LBB0_1:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _USB_LED_CAPS_LOCK,4,2 ## @USB_LED_CAPS_LOCK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rgb_matrix_indicators_user ; -- Begin function rgb_matrix_indicators_user
.weak_definition _rgb_matrix_indicators_user
.p2align 2
_rgb_matrix_indicators_user: ; @rgb_matrix_indicators_user
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh1:
ldr x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _IS_HOST_LED_ON
cbz x0, LBB0_2
; %bb.1:
mov w0, #30
mov w1, #255
mov w2, #255
mov w3, #255
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _rgb_matrix_set_color
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _USB_LED_CAPS_LOCK,4,2 ; @USB_LED_CAPS_LOCK
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/kbdfans/kbd67/mkiirgb/extr_mkiirgb.c_rgb_matrix_indicators_user.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
movl $110, %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 "Sum is %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #110
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Sum is %d"
.subsections_via_symbols
| the_stack_data/19696.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -8(%rbp), %rdx
leaq -4(%rbp), %rcx
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %ecx
movl -8(%rbp), %edx
cmpl %edx, %ecx
jle LBB0_3
## %bb.1:
movl -4(%rbp), %eax
cmpl %eax, %ecx
jle LBB0_3
## %bb.2:
leaq L_.str.2(%rip), %rdi
movl %ecx, %esi
movl %eax, %ecx
xorl %eax, %eax
callq _printf
movl -8(%rbp), %edx
movl -12(%rbp), %ecx
LBB0_3:
cmpl %ecx, %edx
jle LBB0_8
## %bb.4:
movl -4(%rbp), %eax
leaq L_.str.2(%rip), %rdi
cmpl %eax, %edx
jle LBB0_6
## %bb.5:
movl %edx, %esi
movl %eax, %edx
jmp LBB0_7
LBB0_6:
movl %eax, %esi
LBB0_7:
xorl %eax, %eax
callq _printf
LBB0_8:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter three integer numbers separated by enter: "
L_.str.1: ## @.str.1
.asciz "%d%d%d"
L_.str.2: ## @.str.2
.asciz "%d is greater than %d and %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #12
str x8, [sp, #16]
sub x8, x29, #8
sub x9, x29, #4
stp x9, x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldp w8, w9, [x29, #-8]
cmp w9, w8
b.le LBB0_3
; %bb.1:
ldur w10, [x29, #-12]
cmp w9, w10
b.le LBB0_3
; %bb.2:
stp x8, x10, [sp, #8]
str x9, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp w8, w9, [x29, #-8]
LBB0_3:
cmp w8, w9
b.le LBB0_8
; %bb.4:
ldur w10, [x29, #-12]
; kill: def $w9 killed $w9 killed $x9 def $x9
cmp w8, w10
b.le LBB0_6
; %bb.5:
stp x10, x9, [sp, #8]
; kill: def $w8 killed $w8 killed $x8 def $x8
str x8, [sp]
b LBB0_7
LBB0_6:
; kill: def $w8 killed $w8 killed $x8 def $x8
; kill: def $w10 killed $w10 killed $x10 def $x10
stp x8, x9, [sp, #8]
str x10, [sp]
LBB0_7:
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter three integer numbers separated by enter: "
l_.str.1: ; @.str.1
.asciz "%d%d%d"
l_.str.2: ; @.str.2
.asciz "%d is greater than %d and %d"
.subsections_via_symbols
| the_stack_data/212642903.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mythread ## -- Begin function mythread
.p2align 4, 0x90
_mythread: ## @mythread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl $10000000, %eax ## imm = 0x989680
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
incl _counter(%rip)
incl _counter(%rip)
incl _counter(%rip)
incl _counter(%rip)
incl _counter(%rip)
addl $-5, %eax
jne LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movl _counter(%rip), %esi
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq _mythread(%rip), %rbx
leaq L_.str.3(%rip), %rcx
leaq -24(%rbp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
leaq L_.str.4(%rip), %rcx
leaq -16(%rbp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
movq -24(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movl _counter(%rip), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: begin\n"
.zerofill __DATA,__bss,_counter,4,2 ## @counter
L_.str.1: ## @.str.1
.asciz "%s: done\n"
L_.str.2: ## @.str.2
.asciz "main: begin (counter = %d)\n"
L_.str.3: ## @.str.3
.asciz "A"
L_.str.4: ## @.str.4
.asciz "B"
L_.str.5: ## @.str.5
.asciz "main: done with both (counter = %d)\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mythread ; -- Begin function mythread
.p2align 2
_mythread: ; @mythread
.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
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #38528
movk w8, #152, lsl #16
adrp x9, _counter@PAGE
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w10, [x9, _counter@PAGEOFF]
add w10, w10, #1
str w10, [x9, _counter@PAGEOFF]
subs w8, w8, #1
b.ne LBB0_1
; %bb.2:
str x19, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.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
adrp x20, _counter@PAGE
ldr w8, [x20, _counter@PAGEOFF]
str x8, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh6:
adrp x19, _mythread@PAGE
Lloh7:
add x19, x19, _mythread@PAGEOFF
Lloh8:
adrp x3, l_.str.3@PAGE
Lloh9:
add x3, x3, l_.str.3@PAGEOFF
add x0, sp, #24
mov x1, #0
mov x2, x19
bl _pthread_create
Lloh10:
adrp x3, l_.str.4@PAGE
Lloh11:
add x3, x3, l_.str.4@PAGEOFF
add x0, sp, #16
mov x1, #0
mov x2, x19
bl _pthread_create
ldr x0, [sp, #24]
mov x1, #0
bl _pthread_join
ldr x0, [sp, #16]
mov x1, #0
bl _pthread_join
ldr w8, [x20, _counter@PAGEOFF]
str x8, [sp]
Lloh12:
adrp x0, l_.str.5@PAGE
Lloh13:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #0
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 Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: begin\n"
.zerofill __DATA,__bss,_counter,4,2 ; @counter
l_.str.1: ; @.str.1
.asciz "%s: done\n"
l_.str.2: ; @.str.2
.asciz "main: begin (counter = %d)\n"
l_.str.3: ; @.str.3
.asciz "A"
l_.str.4: ; @.str.4
.asciz "B"
l_.str.5: ; @.str.5
.asciz "main: done with both (counter = %d)\n"
.subsections_via_symbols
| the_stack_data/76700814.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cgen_operand_lookup_by_num ## -- Begin function cgen_operand_lookup_by_num
.p2align 4, 0x90
_cgen_operand_lookup_by_num: ## @cgen_operand_lookup_by_num
.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
movslq %esi, %rcx
movq (%rax,%rcx,8), %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 _cgen_operand_lookup_by_num ; -- Begin function cgen_operand_lookup_by_num
.p2align 2
_cgen_operand_lookup_by_num: ; @cgen_operand_lookup_by_num
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x0, [x8, w1, sxtw #3]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/opcodes/extr_cgen-opc.c_cgen_operand_lookup_by_num.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _MATRIX_ROWS,4,2 ## @MATRIX_ROWS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _MATRIX_ROWS,4,2 ; @MATRIX_ROWS
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/lily58/extr_matrix.c_matrix_rows.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vhost_user_set_mem_table
_vhost_user_set_mem_table: ## @vhost_user_set_mem_table
.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 $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movl $1, -56(%rbp)
movq $0, -48(%rbp)
movl $16, -40(%rbp)
movq _uml_reserved@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _uml_physmem@GOTPCREL(%rip), %rax
subq (%rax), %rdi
movq _VHOST_USER_SET_MEM_TABLE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq _physmem_size@GOTPCREL(%rip), %rax
movq (%rax), %rsi
subq %rdi, %rsi
leaq -32(%rbp), %rdx
xorl %ecx, %ecx
callq _vhost_user_init_mem_region
testl %eax, %eax
js LBB0_5
## %bb.1:
movq _highmem@GOTPCREL(%rip), %rbx
cmpq $0, (%rbx)
je LBB0_2
## %bb.3:
movl $2, -56(%rbp)
movq _end_iomem@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq ___pa
movq (%rbx), %rsi
leaq -28(%rbp), %rdx
movl $4, %ecx
movq %rax, %rdi
callq _vhost_user_init_mem_region
movl $2, %r8d
testl %eax, %eax
jns LBB0_4
jmp LBB0_5
LBB0_2:
movl $1, %r8d
LBB0_4:
leaq -56(%rbp), %rdx
leaq -32(%rbp), %rcx
movq %r14, %rdi
xorl %esi, %esi
callq _vhost_user_send
LBB0_5:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB0_7
## %bb.6:
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _VHOST_USER_SET_MEM_TABLE,4,2 ## @VHOST_USER_SET_MEM_TABLE
.comm _uml_reserved,8,3 ## @uml_reserved
.comm _uml_physmem,8,3 ## @uml_physmem
.comm _physmem_size,8,3 ## @physmem_size
.comm _highmem,8,3 ## @highmem
.comm _end_iomem,4,2 ## @end_iomem
.no_dead_strip _vhost_user_set_mem_table
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vhost_user_set_mem_table
_vhost_user_set_mem_table: ; @vhost_user_set_mem_table
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
mov w8, #1
str w8, [sp, #8]
str xzr, [sp, #16]
mov w8, #16
Lloh3:
adrp x9, _VHOST_USER_SET_MEM_TABLE@GOTPAGE
Lloh4:
ldr x9, [x9, _VHOST_USER_SET_MEM_TABLE@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp w8, w9, [sp, #24]
Lloh6:
adrp x8, _uml_reserved@GOTPAGE
Lloh7:
ldr x8, [x8, _uml_reserved@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
Lloh9:
adrp x9, _uml_physmem@GOTPAGE
Lloh10:
ldr x9, [x9, _uml_physmem@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
Lloh12:
adrp x10, _physmem_size@GOTPAGE
Lloh13:
ldr x10, [x10, _physmem_size@GOTPAGEOFF]
Lloh14:
ldr x10, [x10]
sub x0, x8, x9
sub x1, x10, x0
add x2, sp, #32
mov x3, #0
bl _vhost_user_init_mem_region
tbnz w0, #31, LBB0_5
; %bb.1:
Lloh15:
adrp x21, _highmem@GOTPAGE
Lloh16:
ldr x21, [x21, _highmem@GOTPAGEOFF]
ldr x8, [x21]
cbz x8, LBB0_3
; %bb.2:
mov w20, #2
str w20, [sp, #8]
Lloh17:
adrp x8, _end_iomem@GOTPAGE
Lloh18:
ldr x8, [x8, _end_iomem@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
bl ___pa
ldr x1, [x21]
add x8, sp, #32
add x2, x8, #4
mov w3, #4
bl _vhost_user_init_mem_region
tbz w0, #31, LBB0_4
b LBB0_5
LBB0_3:
mov w20, #1
LBB0_4:
add x2, sp, #8
add x3, sp, #32
mov x0, x19
mov w1, #0
mov x4, x20
bl _vhost_user_send
LBB0_5:
ldr x8, [sp, #40]
Lloh20:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _VHOST_USER_SET_MEM_TABLE,4,2 ; @VHOST_USER_SET_MEM_TABLE
.comm _uml_reserved,8,3 ; @uml_reserved
.comm _uml_physmem,8,3 ; @uml_physmem
.comm _physmem_size,8,3 ; @physmem_size
.comm _highmem,8,3 ; @highmem
.comm _end_iomem,4,2 ; @end_iomem
.no_dead_strip _vhost_user_set_mem_table
.subsections_via_symbols
| AnghaBench/linux/arch/um/drivers/extr_virtio_uml.c_vhost_user_set_mem_table.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LOAD ## -- Begin function LOAD
.p2align 4, 0x90
_LOAD: ## @LOAD
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
movq _memory@GOTPCREL(%rip), %rcx
movzbl (%rcx,%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _IFETCH ## -- Begin function IFETCH
.p2align 4, 0x90
_IFETCH: ## @IFETCH
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init ## -- Begin function init
.p2align 4, 0x90
_init: ## @init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb $0, _ir(%rip)
movw $0, _PC(%rip)
movb $0, _A(%rip)
movb $0, _X(%rip)
movb $0, _Y(%rip)
movb $0, _S(%rip)
movb $0, _P(%rip)
movw $0, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _EOI_INCPC_READPC ## -- Begin function EOI_INCPC_READPC
.p2align 4, 0x90
_EOI_INCPC_READPC: ## @EOI_INCPC_READPC
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movzwl _PC(%rip), %eax
shlb _t(%rip)
incl %eax
movw %ax, _PC(%rip)
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _DB_TO_ADDRLO ## -- Begin function DB_TO_ADDRLO
.p2align 4, 0x90
_DB_TO_ADDRLO: ## @DB_TO_ADDRLO
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb _DB(%rip), %al
movb %al, _temp_lo(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _DB_TO_ADDRHI ## -- Begin function DB_TO_ADDRHI
.p2align 4, 0x90
_DB_TO_ADDRHI: ## @DB_TO_ADDRHI
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb _DB(%rip), %al
movb %al, _temp_hi(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _EOI ## -- Begin function EOI
.p2align 4, 0x90
_EOI: ## @EOI
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shlb _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _EOI_INCPC ## -- Begin function EOI_INCPC
.p2align 4, 0x90
_EOI_INCPC: ## @EOI_INCPC
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
incw _PC(%rip)
shlb _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _EOI_INCPC_READADDR ## -- Begin function EOI_INCPC_READADDR
.p2align 4, 0x90
_EOI_INCPC_READADDR: ## @EOI_INCPC_READADDR
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
incw _PC(%rip)
shlb _t(%rip)
movzbl _temp_lo(%rip), %eax
movzbl _temp_hi(%rip), %ecx
shll $8, %ecx
orl %eax, %ecx
movw %cx, _AB(%rip)
movb $1, _RW(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _EOI_INCPC_WRITEADDR ## -- Begin function EOI_INCPC_WRITEADDR
.p2align 4, 0x90
_EOI_INCPC_WRITEADDR: ## @EOI_INCPC_WRITEADDR
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
incw _PC(%rip)
shlb _t(%rip)
movzbl _temp_lo(%rip), %eax
movzbl _temp_hi(%rip), %ecx
shll $8, %ecx
orl %eax, %ecx
movw %cx, _AB(%rip)
movb $0, _RW(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pha ## -- Begin function pha
.p2align 4, 0x90
_pha: ## @pha
.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
leaq L___func__.pha(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB10_4
## %bb.1:
testb $4, %al
jne LBB10_5
## %bb.2:
testb $8, %al
je LBB10_8
## %bb.3:
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, %al
jmp LBB10_7
LBB10_4:
decb _S(%rip)
jmp LBB10_6
LBB10_5:
movzbl _S(%rip), %ecx
leal 1(%rcx), %edx
## kill: def $ecx killed $ecx killed $rcx
orl $256, %ecx ## imm = 0x100
movw %cx, _AB(%rip)
movb _A(%rip), %cl
movb %cl, _DB(%rip)
movb $0, _RW(%rip)
movb %dl, _S(%rip)
LBB10_6:
addb %al, %al
LBB10_7:
movb %al, _t(%rip)
LBB10_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _plp ## -- Begin function plp
.p2align 4, 0x90
_plp: ## @plp
.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
leaq L___func__.plp(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB11_8
## %bb.1:
testb $4, %al
jne LBB11_6
## %bb.2:
testb $8, %al
jne LBB11_7
## %bb.3:
testb $16, %al
je LBB11_10
## %bb.4:
movb _DB(%rip), %al
movb %al, _P(%rip)
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, %al
jmp LBB11_9
LBB11_6:
movzbl _S(%rip), %ecx
movb %cl, _temp_lo(%rip)
movb $1, _temp_hi(%rip)
leal 1(%rcx), %edx
## kill: def $ecx killed $ecx killed $rcx
orl $256, %ecx ## imm = 0x100
movw %cx, _AB(%rip)
movb $1, _RW(%rip)
movb %dl, _S(%rip)
jmp LBB11_8
LBB11_7:
movzbl _S(%rip), %ecx
movb %cl, _temp_lo(%rip)
movzbl _temp_hi(%rip), %edx
shll $8, %edx
orl %ecx, %edx
movw %dx, _AB(%rip)
movb $1, _RW(%rip)
LBB11_8:
addb %al, %al
LBB11_9:
movb %al, _t(%rip)
LBB11_10:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _txs ## -- Begin function txs
.p2align 4, 0x90
_txs: ## @txs
.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
leaq L___func__.txs(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _X(%rip), %al
movb %al, _S(%rip)
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lda_imm ## -- Begin function lda_imm
.p2align 4, 0x90
_lda_imm: ## @lda_imm
.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
leaq L___func__.lda_imm(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _A(%rip)
movzwl _PC(%rip), %eax
incl %eax
movw %ax, _PC(%rip)
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ldx_imm ## -- Begin function ldx_imm
.p2align 4, 0x90
_ldx_imm: ## @ldx_imm
.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
leaq L___func__.ldx_imm(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _X(%rip)
movzwl _PC(%rip), %eax
incl %eax
movw %ax, _PC(%rip)
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ldy_imm ## -- Begin function ldy_imm
.p2align 4, 0x90
_ldy_imm: ## @ldy_imm
.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
leaq L___func__.ldy_imm(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _Y(%rip)
movzwl _PC(%rip), %eax
incl %eax
movw %ax, _PC(%rip)
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lda_abs ## -- Begin function lda_abs
.p2align 4, 0x90
_lda_abs: ## @lda_abs
.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
leaq L___func__.lda_abs(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB16_1
## %bb.3:
testb $4, %al
jne LBB16_4
## %bb.5:
testb $8, %al
je LBB16_7
## %bb.6:
movb _DB(%rip), %al
movb %al, _A(%rip)
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
LBB16_7:
popq %rbp
retq
LBB16_1:
movb _DB(%rip), %cl
movb %cl, _temp_lo(%rip)
movzwl _PC(%rip), %ecx
incl %ecx
movw %cx, _PC(%rip)
addb %al, %al
movb %al, _t(%rip)
jmp LBB16_2
LBB16_4:
movzbl _DB(%rip), %ecx
incw _PC(%rip)
movb %cl, _temp_hi(%rip)
addb %al, %al
movb %al, _t(%rip)
movzbl _temp_lo(%rip), %eax
shll $8, %ecx
orl %eax, %ecx
LBB16_2:
movw %cx, _AB(%rip)
movb $1, _RW(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sta_abs ## -- Begin function sta_abs
.p2align 4, 0x90
_sta_abs: ## @sta_abs
.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
leaq L___func__.sta_abs(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB17_1
## %bb.2:
testb $4, %al
jne LBB17_3
## %bb.4:
testb $8, %al
je LBB17_6
## %bb.5:
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
LBB17_6:
popq %rbp
retq
LBB17_1:
movb _DB(%rip), %cl
movb %cl, _temp_lo(%rip)
movzwl _PC(%rip), %ecx
incl %ecx
movw %cx, _PC(%rip)
addb %al, %al
movb %al, _t(%rip)
movw %cx, _AB(%rip)
movb $1, _RW(%rip)
popq %rbp
retq
LBB17_3:
movzbl _DB(%rip), %ecx
movb %cl, _temp_hi(%rip)
movb _A(%rip), %dl
incw _PC(%rip)
movb %dl, _DB(%rip)
addb %al, %al
movb %al, _t(%rip)
movzbl _temp_lo(%rip), %eax
shll $8, %ecx
orl %eax, %ecx
movw %cx, _AB(%rip)
movb $0, _RW(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _emulate_step ## -- Begin function emulate_step
.p2align 4, 0x90
_emulate_step: ## @emulate_step
.cfi_startproc
## %bb.0:
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
movzwl _AB(%rip), %esi
cmpb $1, _RW(%rip)
jne LBB18_2
## %bb.1:
movl %esi, %eax
movq _memory@GOTPCREL(%rip), %rbx
movzbl (%rbx,%rax), %edx
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movzwl _AB(%rip), %eax
movb (%rbx,%rax), %al
movb %al, _DB(%rip)
testb $1, _t(%rip)
je LBB18_7
LBB18_4:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _ir(%rip)
movzwl _PC(%rip), %eax
shlb _t(%rip)
incl %eax
movw %ax, _PC(%rip)
movw %ax, _AB(%rip)
LBB18_5:
movb $1, _RW(%rip)
jmp LBB18_6
LBB18_2:
movzbl _DB(%rip), %edx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movzwl _AB(%rip), %ecx
movq _memory@GOTPCREL(%rip), %rdx
movb %al, (%rdx,%rcx)
testb $1, _t(%rip)
jne LBB18_4
LBB18_7:
movb _ir(%rip), %al
leal 115(%rax), %ecx
cmpb $32, %cl
ja LBB18_8
## %bb.44:
movzbl %cl, %ecx
leaq LJTI18_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB18_25:
leaq L_.str(%rip), %rdi
leaq L___func__.sta_abs(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB18_26
## %bb.28:
testb $4, %al
jne LBB18_29
## %bb.30:
testb $8, %al
jne LBB18_31
jmp LBB18_6
LBB18_8:
cmpb $72, %al
je LBB18_19
## %bb.9:
cmpb $40, %al
jne LBB18_43
## %bb.10:
leaq L_.str(%rip), %rdi
leaq L___func__.plp(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB18_11
## %bb.12:
testb $4, %al
jne LBB18_13
## %bb.15:
testb $8, %al
jne LBB18_16
## %bb.17:
testb $16, %al
je LBB18_6
## %bb.18:
movb _DB(%rip), %al
movb %al, _P(%rip)
jmp LBB18_24
LBB18_33:
leaq L_.str(%rip), %rdi
leaq L___func__.txs(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _X(%rip), %al
movb %al, _S(%rip)
LBB18_31:
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
jmp LBB18_32
LBB18_34:
leaq L_.str(%rip), %rdi
leaq L___func__.ldy_imm(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _Y(%rip)
jmp LBB18_35
LBB18_36:
leaq L_.str(%rip), %rdi
leaq L___func__.ldx_imm(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _X(%rip)
jmp LBB18_35
LBB18_37:
leaq L_.str(%rip), %rdi
leaq L___func__.lda_imm(%rip), %rsi
xorl %eax, %eax
callq _printf
movb _DB(%rip), %al
movb %al, _A(%rip)
LBB18_35:
movzwl _PC(%rip), %eax
incl %eax
movw %ax, _PC(%rip)
movw %ax, _AB(%rip)
LBB18_32:
movb $1, _RW(%rip)
movb $1, _t(%rip)
jmp LBB18_6
LBB18_38:
leaq L_.str(%rip), %rdi
leaq L___func__.lda_abs(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB18_26
## %bb.39:
testb $4, %al
jne LBB18_40
## %bb.41:
testb $8, %al
je LBB18_6
## %bb.42:
movb _DB(%rip), %al
movb %al, _A(%rip)
jmp LBB18_31
LBB18_26:
movb _DB(%rip), %cl
movb %cl, _temp_lo(%rip)
movzwl _PC(%rip), %ecx
incl %ecx
movw %cx, _PC(%rip)
addb %al, %al
movb %al, _t(%rip)
movw %cx, _AB(%rip)
jmp LBB18_5
LBB18_19:
leaq L_.str(%rip), %rdi
leaq L___func__.pha(%rip), %rsi
xorl %eax, %eax
callq _printf
movzbl _t(%rip), %eax
testb $2, %al
jne LBB18_20
## %bb.21:
testb $4, %al
jne LBB18_22
## %bb.23:
testb $8, %al
je LBB18_6
LBB18_24:
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, %al
movb %al, _t(%rip)
jmp LBB18_6
LBB18_20:
decb _S(%rip)
jmp LBB18_11
LBB18_29:
movzbl _DB(%rip), %ecx
movb %cl, _temp_hi(%rip)
movb _A(%rip), %dl
incw _PC(%rip)
movb %dl, _DB(%rip)
addb %al, %al
movb %al, _t(%rip)
movzbl _temp_lo(%rip), %eax
shll $8, %ecx
orl %eax, %ecx
movw %cx, _AB(%rip)
movb $0, _RW(%rip)
jmp LBB18_6
LBB18_13:
movzbl _S(%rip), %ecx
movb %cl, _temp_lo(%rip)
movb $1, _temp_hi(%rip)
leal 1(%rcx), %edx
## kill: def $ecx killed $ecx killed $rcx
orl $256, %ecx ## imm = 0x100
movw %cx, _AB(%rip)
movb $1, _RW(%rip)
movb %dl, _S(%rip)
jmp LBB18_11
LBB18_40:
movzbl _DB(%rip), %ecx
incw _PC(%rip)
movb %cl, _temp_hi(%rip)
addb %al, %al
movb %al, _t(%rip)
movzbl _temp_lo(%rip), %eax
shll $8, %ecx
orl %eax, %ecx
movw %cx, _AB(%rip)
jmp LBB18_5
LBB18_22:
movzbl _S(%rip), %ecx
leal 1(%rcx), %edx
## kill: def $ecx killed $ecx killed $rcx
orl $256, %ecx ## imm = 0x100
movw %cx, _AB(%rip)
movb _A(%rip), %cl
movb %cl, _DB(%rip)
movb $0, _RW(%rip)
movb %dl, _S(%rip)
jmp LBB18_11
LBB18_16:
movzbl _S(%rip), %ecx
movb %cl, _temp_lo(%rip)
movzbl _temp_hi(%rip), %edx
shll $8, %edx
orl %ecx, %edx
movw %dx, _AB(%rip)
movb $1, _RW(%rip)
LBB18_11:
addb %al, %al
movb %al, _t(%rip)
LBB18_6:
movl _cycle(%rip), %esi
movzwl _AB(%rip), %edx
movzbl _DB(%rip), %ecx
movzbl _RW(%rip), %r8d
movzwl _PC(%rip), %r9d
movzbl _A(%rip), %r10d
movzbl _X(%rip), %r11d
movzbl _Y(%rip), %r14d
movzbl _S(%rip), %r15d
movzbl _P(%rip), %r12d
movzbl _ir(%rip), %ebx
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
pushq %rbx
pushq %r12
pushq %r15
pushq %r14
pushq %r11
pushq %r10
callq _printf
addq $48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB18_43:
movzbl %al, %esi
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %edi, %edi
callq _exit
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L18_0_set_25, LBB18_25-LJTI18_0
.set L18_0_set_43, LBB18_43-LJTI18_0
.set L18_0_set_33, LBB18_33-LJTI18_0
.set L18_0_set_34, LBB18_34-LJTI18_0
.set L18_0_set_36, LBB18_36-LJTI18_0
.set L18_0_set_37, LBB18_37-LJTI18_0
.set L18_0_set_38, LBB18_38-LJTI18_0
LJTI18_0:
.long L18_0_set_25
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_33
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_34
.long L18_0_set_43
.long L18_0_set_36
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_37
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_43
.long L18_0_set_38
.end_data_region
## -- End function
.globl _setup_emu ## -- Begin function setup_emu
.p2align 4, 0x90
_setup_emu: ## @setup_emu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb $0, _ir(%rip)
movw $0, _PC(%rip)
movb $0, _A(%rip)
movb $0, _X(%rip)
movb $0, _Y(%rip)
movb $0, _S(%rip)
movb $0, _P(%rip)
movw $0, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _reset_emu ## -- Begin function reset_emu
.p2align 4, 0x90
_reset_emu: ## @reset_emu
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb $0, _ir(%rip)
movb $0, _A(%rip)
movb $0, _X(%rip)
movb $0, _Y(%rip)
movb $0, _S(%rip)
movb $0, _P(%rip)
movw $0, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
movq _memory@GOTPCREL(%rip), %rax
movzwl 65532(%rax), %esi
movw %si, _PC(%rip)
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movzwl _PC(%rip), %eax
movw %ax, _AB(%rip)
movb $1, _RW(%rip)
movb $1, _t(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _emu_measure_instruction ## -- Begin function emu_measure_instruction
.p2align 4, 0x90
_emu_measure_instruction: ## @emu_measure_instruction
.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 _cycle(%rip), %esi
leaq L_.str.7(%rip), %rbx
.p2align 4, 0x90
LBB21_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
callq _emulate_step
movl $10, %edi
callq _putchar
movl _cycle(%rip), %esi
incl %esi
movl %esi, _cycle(%rip)
jmp LBB21_1
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_PC,2,1 ## @PC
.zerofill __DATA,__bss,_AB,2,1 ## @AB
.zerofill __DATA,__bss,_RW,1,0 ## @RW
.zerofill __DATA,__bss,_t,1,0 ## @t
.zerofill __DATA,__bss,_ir,1,0 ## @ir
.zerofill __DATA,__bss,_A,1,0 ## @A
.zerofill __DATA,__bss,_X,1,0 ## @X
.zerofill __DATA,__bss,_Y,1,0 ## @Y
.zerofill __DATA,__bss,_S,1,0 ## @S
.zerofill __DATA,__bss,_P,1,0 ## @P
.zerofill __DATA,__bss,_DB,1,0 ## @DB
.zerofill __DATA,__bss,_temp_lo,1,0 ## @temp_lo
.zerofill __DATA,__bss,_temp_hi,1,0 ## @temp_hi
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
L___func__.pha: ## @__func__.pha
.asciz "pha"
L___func__.plp: ## @__func__.plp
.asciz "plp"
L___func__.txs: ## @__func__.txs
.asciz "txs"
L___func__.lda_imm: ## @__func__.lda_imm
.asciz "lda_imm"
L___func__.ldx_imm: ## @__func__.ldx_imm
.asciz "ldx_imm"
L___func__.ldy_imm: ## @__func__.ldy_imm
.asciz "ldy_imm"
L___func__.lda_abs: ## @__func__.lda_abs
.asciz "lda_abs"
L___func__.sta_abs: ## @__func__.sta_abs
.asciz "sta_abs"
L_.str.1: ## @.str.1
.asciz "PEEK(%04X)=%02X "
L_.str.2: ## @.str.2
.asciz "POKE %04X, %02X "
L_.str.3: ## @.str.3
.asciz "fetch"
L_.str.4: ## @.str.4
.asciz "unimplemented opcode: %02X\n"
L_.str.5: ## @.str.5
.asciz "\ncycle:%d phi0:1 AB:%04X D:%02X RnW:%d PC:%04X A:%02X X:%02X Y:%02X SP:%02X P:%02X IR:%02X"
.zerofill __DATA,__bss,_cycle,4,2 ## @cycle
L_.str.6: ## @.str.6
.asciz "PC %x\n"
L_.str.7: ## @.str.7
.asciz "cycle %d: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _LOAD ; -- Begin function LOAD
.p2align 2
_LOAD: ; @LOAD
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _memory@GOTPAGE
Lloh1:
ldr x8, [x8, _memory@GOTPAGEOFF]
ldrb w0, [x8, w0, uxtw]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _IFETCH ; -- Begin function IFETCH
.p2align 2
_IFETCH: ; @IFETCH
.cfi_startproc
; %bb.0:
adrp x8, _PC@PAGE
ldrh w8, [x8, _PC@PAGEOFF]
Lloh2:
adrp x9, _AB@PAGE
strh w8, [x9, _AB@PAGEOFF]
mov w8, #1
Lloh3:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh4:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ret
.loh AdrpAdrp Lloh3, Lloh4
.loh AdrpAdrp Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _init ; -- Begin function init
.p2align 2
_init: ; @init
.cfi_startproc
; %bb.0:
Lloh5:
adrp x8, _ir@PAGE
strb wzr, [x8, _ir@PAGEOFF]
Lloh6:
adrp x8, _PC@PAGE
strh wzr, [x8, _PC@PAGEOFF]
Lloh7:
adrp x8, _A@PAGE
strb wzr, [x8, _A@PAGEOFF]
Lloh8:
adrp x8, _X@PAGE
strb wzr, [x8, _X@PAGEOFF]
Lloh9:
adrp x8, _Y@PAGE
strb wzr, [x8, _Y@PAGEOFF]
Lloh10:
adrp x8, _S@PAGE
strb wzr, [x8, _S@PAGEOFF]
Lloh11:
adrp x8, _P@PAGE
strb wzr, [x8, _P@PAGEOFF]
Lloh12:
adrp x8, _AB@PAGE
strh wzr, [x8, _AB@PAGEOFF]
mov w8, #1
Lloh13:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh14:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ret
.loh AdrpAdrp Lloh13, Lloh14
.loh AdrpAdrp Lloh11, Lloh12
.loh AdrpAdrp Lloh10, Lloh11
.loh AdrpAdrp Lloh9, Lloh10
.loh AdrpAdrp Lloh8, Lloh9
.loh AdrpAdrp Lloh7, Lloh8
.loh AdrpAdrp Lloh6, Lloh7
.loh AdrpAdrp Lloh5, Lloh6
.cfi_endproc
; -- End function
.globl _EOI_INCPC_READPC ; -- Begin function EOI_INCPC_READPC
.p2align 2
_EOI_INCPC_READPC: ; @EOI_INCPC_READPC
.cfi_startproc
; %bb.0:
Lloh15:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh16:
adrp x8, _t@PAGE
ldrb w10, [x8, _t@PAGEOFF]
lsl w10, w10, #1
strb w10, [x8, _t@PAGEOFF]
Lloh17:
adrp x8, _AB@PAGE
strh w9, [x8, _AB@PAGEOFF]
mov w8, #1
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
ret
.loh AdrpAdrp Lloh16, Lloh17
.loh AdrpAdrp Lloh15, Lloh16
.cfi_endproc
; -- End function
.globl _DB_TO_ADDRLO ; -- Begin function DB_TO_ADDRLO
.p2align 2
_DB_TO_ADDRLO: ; @DB_TO_ADDRLO
.cfi_startproc
; %bb.0:
adrp x8, _DB@PAGE
ldrb w8, [x8, _DB@PAGEOFF]
adrp x9, _temp_lo@PAGE
strb w8, [x9, _temp_lo@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _DB_TO_ADDRHI ; -- Begin function DB_TO_ADDRHI
.p2align 2
_DB_TO_ADDRHI: ; @DB_TO_ADDRHI
.cfi_startproc
; %bb.0:
adrp x8, _DB@PAGE
ldrb w8, [x8, _DB@PAGEOFF]
adrp x9, _temp_hi@PAGE
strb w8, [x9, _temp_hi@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _EOI ; -- Begin function EOI
.p2align 2
_EOI: ; @EOI
.cfi_startproc
; %bb.0:
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl _EOI_INCPC ; -- Begin function EOI_INCPC
.p2align 2
_EOI_INCPC: ; @EOI_INCPC
.cfi_startproc
; %bb.0:
Lloh18:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh19:
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
ret
.loh AdrpAdrp Lloh18, Lloh19
.cfi_endproc
; -- End function
.globl _EOI_INCPC_READADDR ; -- Begin function EOI_INCPC_READADDR
.p2align 2
_EOI_INCPC_READADDR: ; @EOI_INCPC_READADDR
.cfi_startproc
; %bb.0:
Lloh20:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh21:
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
Lloh22:
adrp x8, _temp_lo@PAGE
ldrb w8, [x8, _temp_lo@PAGEOFF]
adrp x9, _temp_hi@PAGE
ldrb w9, [x9, _temp_hi@PAGEOFF]
bfi w8, w9, #8, #24
Lloh23:
adrp x9, _AB@PAGE
strh w8, [x9, _AB@PAGEOFF]
mov w8, #1
Lloh24:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
ret
.loh AdrpAdrp Lloh23, Lloh24
.loh AdrpAdrp Lloh21, Lloh22
.loh AdrpAdrp Lloh20, Lloh21
.cfi_endproc
; -- End function
.globl _EOI_INCPC_WRITEADDR ; -- Begin function EOI_INCPC_WRITEADDR
.p2align 2
_EOI_INCPC_WRITEADDR: ; @EOI_INCPC_WRITEADDR
.cfi_startproc
; %bb.0:
Lloh25:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh26:
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
Lloh27:
adrp x8, _temp_lo@PAGE
ldrb w8, [x8, _temp_lo@PAGEOFF]
adrp x9, _temp_hi@PAGE
ldrb w9, [x9, _temp_hi@PAGEOFF]
bfi w8, w9, #8, #24
adrp x9, _AB@PAGE
strh w8, [x9, _AB@PAGEOFF]
adrp x8, _RW@PAGE
strb wzr, [x8, _RW@PAGEOFF]
ret
.loh AdrpAdrp Lloh26, Lloh27
.loh AdrpAdrp Lloh25, Lloh26
.cfi_endproc
; -- End function
.globl _pha ; -- Begin function pha
.p2align 2
_pha: ; @pha
.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
Lloh28:
adrp x8, l___func__.pha@PAGE
Lloh29:
add x8, x8, l___func__.pha@PAGEOFF
str x8, [sp]
Lloh30:
adrp x0, l_.str@PAGE
Lloh31:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
tbnz w9, #1, LBB10_4
; %bb.1:
tbnz w9, #2, LBB10_5
; %bb.2:
tbz w9, #3, LBB10_8
; %bb.3:
adrp x9, _PC@PAGE
ldrh w9, [x9, _PC@PAGEOFF]
Lloh32:
adrp x10, _AB@PAGE
strh w9, [x10, _AB@PAGEOFF]
mov w9, #1
Lloh33:
adrp x10, _RW@PAGE
strb w9, [x10, _RW@PAGEOFF]
b LBB10_7
LBB10_4:
adrp x10, _S@PAGE
ldrb w11, [x10, _S@PAGEOFF]
sub w11, w11, #1
b LBB10_6
LBB10_5:
adrp x10, _S@PAGE
ldrb w11, [x10, _S@PAGEOFF]
orr w12, w11, #0x100
Lloh34:
adrp x13, _AB@PAGE
strh w12, [x13, _AB@PAGEOFF]
adrp x12, _A@PAGE
ldrb w12, [x12, _A@PAGEOFF]
Lloh35:
adrp x13, _DB@PAGE
strb w12, [x13, _DB@PAGEOFF]
adrp x12, _RW@PAGE
strb wzr, [x12, _RW@PAGEOFF]
add w11, w11, #1
LBB10_6:
strb w11, [x10, _S@PAGEOFF]
lsl w9, w9, #1
LBB10_7:
strb w9, [x8, _t@PAGEOFF]
LBB10_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdrp Lloh32, Lloh33
.loh AdrpAdrp Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _plp ; -- Begin function plp
.p2align 2
_plp: ; @plp
.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
Lloh36:
adrp x8, l___func__.plp@PAGE
Lloh37:
add x8, x8, l___func__.plp@PAGEOFF
str x8, [sp]
Lloh38:
adrp x0, l_.str@PAGE
Lloh39:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
tbnz w9, #1, LBB11_7
; %bb.1:
tbnz w9, #2, LBB11_5
; %bb.2:
tbnz w9, #3, LBB11_6
; %bb.3:
tbz w9, #4, LBB11_9
; %bb.4:
adrp x9, _DB@PAGE
ldrb w9, [x9, _DB@PAGEOFF]
Lloh40:
adrp x10, _P@PAGE
strb w9, [x10, _P@PAGEOFF]
adrp x9, _PC@PAGE
ldrh w9, [x9, _PC@PAGEOFF]
Lloh41:
adrp x10, _AB@PAGE
strh w9, [x10, _AB@PAGEOFF]
mov w9, #1
Lloh42:
adrp x10, _RW@PAGE
strb w9, [x10, _RW@PAGEOFF]
b LBB11_8
LBB11_5:
adrp x10, _S@PAGE
ldrb w11, [x10, _S@PAGEOFF]
adrp x12, _temp_lo@PAGE
strb w11, [x12, _temp_lo@PAGEOFF]
mov w12, #1
adrp x13, _temp_hi@PAGE
strb w12, [x13, _temp_hi@PAGEOFF]
orr w13, w11, #0x100
adrp x14, _AB@PAGE
strh w13, [x14, _AB@PAGEOFF]
adrp x13, _RW@PAGE
strb w12, [x13, _RW@PAGEOFF]
add w11, w11, #1
strb w11, [x10, _S@PAGEOFF]
b LBB11_7
LBB11_6:
adrp x10, _S@PAGE
ldrb w10, [x10, _S@PAGEOFF]
Lloh43:
adrp x11, _temp_lo@PAGE
strb w10, [x11, _temp_lo@PAGEOFF]
Lloh44:
adrp x11, _temp_hi@PAGE
ldrb w11, [x11, _temp_hi@PAGEOFF]
bfi w10, w11, #8, #24
Lloh45:
adrp x11, _AB@PAGE
strh w10, [x11, _AB@PAGEOFF]
mov w10, #1
Lloh46:
adrp x11, _RW@PAGE
strb w10, [x11, _RW@PAGEOFF]
LBB11_7:
lsl w9, w9, #1
LBB11_8:
strb w9, [x8, _t@PAGEOFF]
LBB11_9:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdrp Lloh41, Lloh42
.loh AdrpAdrp Lloh40, Lloh41
.loh AdrpAdrp Lloh45, Lloh46
.loh AdrpAdrp Lloh43, Lloh44
.cfi_endproc
; -- End function
.globl _txs ; -- Begin function txs
.p2align 2
_txs: ; @txs
.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
Lloh47:
adrp x8, l___func__.txs@PAGE
Lloh48:
add x8, x8, l___func__.txs@PAGEOFF
str x8, [sp]
Lloh49:
adrp x0, l_.str@PAGE
Lloh50:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _X@PAGE
ldrb w8, [x8, _X@PAGEOFF]
Lloh51:
adrp x9, _S@PAGE
strb w8, [x9, _S@PAGEOFF]
adrp x8, _PC@PAGE
ldrh w8, [x8, _PC@PAGEOFF]
Lloh52:
adrp x9, _AB@PAGE
strh w8, [x9, _AB@PAGEOFF]
mov w8, #1
Lloh53:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh54:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdrp Lloh53, Lloh54
.loh AdrpAdrp Lloh52, Lloh53
.loh AdrpAdrp Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.cfi_endproc
; -- End function
.globl _lda_imm ; -- Begin function lda_imm
.p2align 2
_lda_imm: ; @lda_imm
.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
Lloh55:
adrp x8, l___func__.lda_imm@PAGE
Lloh56:
add x8, x8, l___func__.lda_imm@PAGEOFF
str x8, [sp]
Lloh57:
adrp x0, l_.str@PAGE
Lloh58:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _DB@PAGE
ldrb w8, [x8, _DB@PAGEOFF]
adrp x9, _A@PAGE
strb w8, [x9, _A@PAGEOFF]
Lloh59:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh60:
adrp x8, _AB@PAGE
strh w9, [x8, _AB@PAGEOFF]
mov w8, #1
Lloh61:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh62:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdrp Lloh61, Lloh62
.loh AdrpAdrp Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.cfi_endproc
; -- End function
.globl _ldx_imm ; -- Begin function ldx_imm
.p2align 2
_ldx_imm: ; @ldx_imm
.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
Lloh63:
adrp x8, l___func__.ldx_imm@PAGE
Lloh64:
add x8, x8, l___func__.ldx_imm@PAGEOFF
str x8, [sp]
Lloh65:
adrp x0, l_.str@PAGE
Lloh66:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _DB@PAGE
ldrb w8, [x8, _DB@PAGEOFF]
adrp x9, _X@PAGE
strb w8, [x9, _X@PAGEOFF]
Lloh67:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh68:
adrp x8, _AB@PAGE
strh w9, [x8, _AB@PAGEOFF]
mov w8, #1
Lloh69:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh70:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdrp Lloh69, Lloh70
.loh AdrpAdrp Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh63, Lloh64
.cfi_endproc
; -- End function
.globl _ldy_imm ; -- Begin function ldy_imm
.p2align 2
_ldy_imm: ; @ldy_imm
.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
Lloh71:
adrp x8, l___func__.ldy_imm@PAGE
Lloh72:
add x8, x8, l___func__.ldy_imm@PAGEOFF
str x8, [sp]
Lloh73:
adrp x0, l_.str@PAGE
Lloh74:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _DB@PAGE
ldrb w8, [x8, _DB@PAGEOFF]
adrp x9, _Y@PAGE
strb w8, [x9, _Y@PAGEOFF]
Lloh75:
adrp x8, _PC@PAGE
ldrh w9, [x8, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x8, _PC@PAGEOFF]
Lloh76:
adrp x8, _AB@PAGE
strh w9, [x8, _AB@PAGEOFF]
mov w8, #1
Lloh77:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh78:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdrp Lloh77, Lloh78
.loh AdrpAdrp Lloh75, Lloh76
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.cfi_endproc
; -- End function
.globl _lda_abs ; -- Begin function lda_abs
.p2align 2
_lda_abs: ; @lda_abs
.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
Lloh79:
adrp x8, l___func__.lda_abs@PAGE
Lloh80:
add x8, x8, l___func__.lda_abs@PAGEOFF
str x8, [sp]
Lloh81:
adrp x0, l_.str@PAGE
Lloh82:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
tbnz w9, #1, LBB16_4
; %bb.1:
tbnz w9, #2, LBB16_5
; %bb.2:
tbz w9, #3, LBB16_7
; %bb.3:
adrp x9, _DB@PAGE
ldrb w9, [x9, _DB@PAGEOFF]
Lloh83:
adrp x10, _A@PAGE
strb w9, [x10, _A@PAGEOFF]
adrp x9, _PC@PAGE
ldrh w9, [x9, _PC@PAGEOFF]
Lloh84:
adrp x10, _AB@PAGE
strh w9, [x10, _AB@PAGEOFF]
mov w9, #1
Lloh85:
adrp x10, _RW@PAGE
strb w9, [x10, _RW@PAGEOFF]
strb w9, [x8, _t@PAGEOFF]
b LBB16_7
LBB16_4:
adrp x10, _DB@PAGE
ldrb w10, [x10, _DB@PAGEOFF]
adrp x11, _temp_lo@PAGE
strb w10, [x11, _temp_lo@PAGEOFF]
adrp x10, _PC@PAGE
ldrh w11, [x10, _PC@PAGEOFF]
add w11, w11, #1
strh w11, [x10, _PC@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
adrp x8, _AB@PAGE
strh w11, [x8, _AB@PAGEOFF]
b LBB16_6
LBB16_5:
adrp x10, _DB@PAGE
ldrb w10, [x10, _DB@PAGEOFF]
Lloh86:
adrp x11, _temp_hi@PAGE
strb w10, [x11, _temp_hi@PAGEOFF]
Lloh87:
adrp x11, _PC@PAGE
ldrh w12, [x11, _PC@PAGEOFF]
add w12, w12, #1
strh w12, [x11, _PC@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
adrp x8, _temp_lo@PAGE
ldrb w8, [x8, _temp_lo@PAGEOFF]
bfi w8, w10, #8, #24
adrp x9, _AB@PAGE
strh w8, [x9, _AB@PAGEOFF]
LBB16_6:
mov w8, #1
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
LBB16_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh81, Lloh82
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpAdrp Lloh84, Lloh85
.loh AdrpAdrp Lloh83, Lloh84
.loh AdrpAdrp Lloh86, Lloh87
.cfi_endproc
; -- End function
.globl _sta_abs ; -- Begin function sta_abs
.p2align 2
_sta_abs: ; @sta_abs
.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
Lloh88:
adrp x8, l___func__.sta_abs@PAGE
Lloh89:
add x8, x8, l___func__.sta_abs@PAGEOFF
str x8, [sp]
Lloh90:
adrp x0, l_.str@PAGE
Lloh91:
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x8, _t@PAGE
ldrb w9, [x8, _t@PAGEOFF]
tbnz w9, #1, LBB17_4
; %bb.1:
tbnz w9, #2, LBB17_5
; %bb.2:
tbz w9, #3, LBB17_6
; %bb.3:
adrp x9, _PC@PAGE
ldrh w9, [x9, _PC@PAGEOFF]
Lloh92:
adrp x10, _AB@PAGE
strh w9, [x10, _AB@PAGEOFF]
mov w9, #1
Lloh93:
adrp x10, _RW@PAGE
strb w9, [x10, _RW@PAGEOFF]
strb w9, [x8, _t@PAGEOFF]
b LBB17_6
LBB17_4:
adrp x10, _DB@PAGE
ldrb w10, [x10, _DB@PAGEOFF]
adrp x11, _temp_lo@PAGE
strb w10, [x11, _temp_lo@PAGEOFF]
adrp x10, _PC@PAGE
ldrh w11, [x10, _PC@PAGEOFF]
add w11, w11, #1
strh w11, [x10, _PC@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
adrp x8, _AB@PAGE
strh w11, [x8, _AB@PAGEOFF]
mov w8, #1
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
b LBB17_6
LBB17_5:
Lloh94:
adrp x10, _DB@PAGE
ldrb w11, [x10, _DB@PAGEOFF]
Lloh95:
adrp x12, _temp_hi@PAGE
strb w11, [x12, _temp_hi@PAGEOFF]
Lloh96:
adrp x12, _A@PAGE
ldrb w12, [x12, _A@PAGEOFF]
strb w12, [x10, _DB@PAGEOFF]
Lloh97:
adrp x10, _PC@PAGE
ldrh w12, [x10, _PC@PAGEOFF]
add w12, w12, #1
strh w12, [x10, _PC@PAGEOFF]
lsl w9, w9, #1
strb w9, [x8, _t@PAGEOFF]
adrp x8, _temp_lo@PAGE
ldrb w8, [x8, _temp_lo@PAGEOFF]
bfi w8, w11, #8, #24
adrp x9, _AB@PAGE
strh w8, [x9, _AB@PAGEOFF]
adrp x8, _RW@PAGE
strb wzr, [x8, _RW@PAGEOFF]
LBB17_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdrp Lloh92, Lloh93
.loh AdrpAdrp Lloh95, Lloh96
.loh AdrpAdrp Lloh94, Lloh97
.cfi_endproc
; -- End function
.globl _emulate_step ; -- Begin function emulate_step
.p2align 2
_emulate_step: ; @emulate_step
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
adrp x8, _RW@PAGE
ldrb w9, [x8, _RW@PAGEOFF]
adrp x20, _AB@PAGE
ldrh w8, [x20, _AB@PAGEOFF]
adrp x21, _DB@PAGE
cmp w9, #1
b.ne LBB18_2
; %bb.1:
Lloh98:
adrp x22, _memory@GOTPAGE
Lloh99:
ldr x22, [x22, _memory@GOTPAGEOFF]
ldrb w9, [x22, w8, uxtw]
stp x8, x9, [sp]
Lloh100:
adrp x0, l_.str.1@PAGE
Lloh101:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldrh w8, [x20, _AB@PAGEOFF]
ldrb w8, [x22, x8]
strb w8, [x21, _DB@PAGEOFF]
b LBB18_3
LBB18_2:
ldrb w9, [x21, _DB@PAGEOFF]
; kill: def $w8 killed $w8 killed $x8 def $x8
stp x8, x9, [sp]
Lloh102:
adrp x0, l_.str.2@PAGE
Lloh103:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldrb w8, [x21, _DB@PAGEOFF]
ldrh w9, [x20, _AB@PAGEOFF]
Lloh104:
adrp x10, _memory@GOTPAGE
Lloh105:
ldr x10, [x10, _memory@GOTPAGEOFF]
strb w8, [x10, x9]
LBB18_3:
adrp x23, _t@PAGE
ldrb w8, [x23, _t@PAGEOFF]
adrp x27, _PC@PAGE
adrp x19, _ir@PAGE
adrp x28, _A@PAGE
adrp x26, _X@PAGE
adrp x25, _Y@PAGE
adrp x24, _S@PAGE
adrp x9, _P@PAGE
tbnz w8, #0, LBB18_9
; %bb.4:
ldrb w8, [x19, _ir@PAGEOFF]
sub w9, w8, #141
cmp w9, #32
b.hi LBB18_11
; %bb.5:
Lloh106:
adrp x10, lJTI18_0@PAGE
Lloh107:
add x10, x10, lJTI18_0@PAGEOFF
adr x11, LBB18_6
ldrb w12, [x10, x9]
add x11, x11, x12, lsl #2
br x11
LBB18_6:
Lloh108:
adrp x8, l___func__.sta_abs@PAGE
Lloh109:
add x8, x8, l___func__.sta_abs@PAGEOFF
str x8, [sp]
Lloh110:
adrp x0, l_.str@PAGE
Lloh111:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x23, _t@PAGEOFF]
tbnz w8, #1, LBB18_28
; %bb.7:
adrp x16, _P@PAGE
tbz w8, #2, LBB18_33
; %bb.8:
ldrb w9, [x21, _DB@PAGEOFF]
adrp x10, _temp_hi@PAGE
strb w9, [x10, _temp_hi@PAGEOFF]
ldrb w10, [x28, _A@PAGEOFF]
strb w10, [x21, _DB@PAGEOFF]
ldrh w10, [x27, _PC@PAGEOFF]
add w10, w10, #1
strh w10, [x27, _PC@PAGEOFF]
lsl w8, w8, #1
strb w8, [x23, _t@PAGEOFF]
adrp x8, _temp_lo@PAGE
ldrb w8, [x8, _temp_lo@PAGEOFF]
bfi w8, w9, #8, #24
strh w8, [x20, _AB@PAGEOFF]
adrp x10, _RW@PAGE
strb wzr, [x10, _RW@PAGEOFF]
b LBB18_30
LBB18_9:
Lloh112:
adrp x0, l_.str.3@PAGE
Lloh113:
add x0, x0, l_.str.3@PAGEOFF
mov x22, x24
mov x24, x26
mov x26, x28
mov x28, x25
mov x25, x9
bl _printf
mov x16, x25
mov x25, x28
mov x28, x26
mov x26, x24
mov x24, x22
ldrb w8, [x21, _DB@PAGEOFF]
strb w8, [x19, _ir@PAGEOFF]
ldrh w8, [x27, _PC@PAGEOFF]
add w8, w8, #1
strh w8, [x27, _PC@PAGEOFF]
ldrb w9, [x23, _t@PAGEOFF]
lsl w9, w9, #1
strb w9, [x23, _t@PAGEOFF]
LBB18_10:
strh w8, [x20, _AB@PAGEOFF]
mov w8, #1
adrp x10, _RW@PAGE
strb w8, [x10, _RW@PAGEOFF]
b LBB18_30
LBB18_11:
cmp w8, #72
b.eq LBB18_31
; %bb.12:
cmp w8, #40
b.ne LBB18_43
; %bb.13:
Lloh114:
adrp x8, l___func__.plp@PAGE
Lloh115:
add x8, x8, l___func__.plp@PAGEOFF
str x8, [sp]
Lloh116:
adrp x0, l_.str@PAGE
Lloh117:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x23, _t@PAGEOFF]
tbnz w8, #1, LBB18_36
; %bb.14:
adrp x16, _P@PAGE
tbnz w8, #2, LBB18_37
; %bb.15:
tbnz w8, #3, LBB18_42
; %bb.16:
adrp x10, _RW@PAGE
tbz w8, #4, LBB18_30
; %bb.17:
ldrb w8, [x21, _DB@PAGEOFF]
strb w8, [x16, _P@PAGEOFF]
b LBB18_34
LBB18_18:
Lloh118:
adrp x8, l___func__.txs@PAGE
Lloh119:
add x8, x8, l___func__.txs@PAGEOFF
str x8, [sp]
Lloh120:
adrp x0, l_.str@PAGE
Lloh121:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x26, _X@PAGEOFF]
strb w8, [x24, _S@PAGEOFF]
ldrh w8, [x27, _PC@PAGEOFF]
b LBB18_23
LBB18_19:
Lloh122:
adrp x8, l___func__.ldy_imm@PAGE
Lloh123:
add x8, x8, l___func__.ldy_imm@PAGEOFF
str x8, [sp]
Lloh124:
adrp x0, l_.str@PAGE
Lloh125:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x21, _DB@PAGEOFF]
strb w8, [x25, _Y@PAGEOFF]
b LBB18_22
LBB18_20:
Lloh126:
adrp x8, l___func__.ldx_imm@PAGE
Lloh127:
add x8, x8, l___func__.ldx_imm@PAGEOFF
str x8, [sp]
Lloh128:
adrp x0, l_.str@PAGE
Lloh129:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x21, _DB@PAGEOFF]
strb w8, [x26, _X@PAGEOFF]
b LBB18_22
LBB18_21:
Lloh130:
adrp x8, l___func__.lda_imm@PAGE
Lloh131:
add x8, x8, l___func__.lda_imm@PAGEOFF
str x8, [sp]
Lloh132:
adrp x0, l_.str@PAGE
Lloh133:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x21, _DB@PAGEOFF]
strb w8, [x28, _A@PAGEOFF]
LBB18_22:
ldrh w8, [x27, _PC@PAGEOFF]
add w8, w8, #1
strh w8, [x27, _PC@PAGEOFF]
LBB18_23:
strh w8, [x20, _AB@PAGEOFF]
mov w8, #1
adrp x10, _RW@PAGE
strb w8, [x10, _RW@PAGEOFF]
strb w8, [x23, _t@PAGEOFF]
b LBB18_29
LBB18_24:
Lloh134:
adrp x8, l___func__.lda_abs@PAGE
Lloh135:
add x8, x8, l___func__.lda_abs@PAGEOFF
str x8, [sp]
Lloh136:
adrp x0, l_.str@PAGE
Lloh137:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x23, _t@PAGEOFF]
tbnz w8, #1, LBB18_28
; %bb.25:
adrp x16, _P@PAGE
tbnz w8, #2, LBB18_38
; %bb.26:
adrp x10, _RW@PAGE
tbz w8, #3, LBB18_30
; %bb.27:
ldrb w8, [x21, _DB@PAGEOFF]
strb w8, [x28, _A@PAGEOFF]
b LBB18_34
LBB18_28:
ldrb w9, [x21, _DB@PAGEOFF]
Lloh138:
adrp x10, _temp_lo@PAGE
strb w9, [x10, _temp_lo@PAGEOFF]
ldrh w9, [x27, _PC@PAGEOFF]
add w9, w9, #1
strh w9, [x27, _PC@PAGEOFF]
lsl w8, w8, #1
strb w8, [x23, _t@PAGEOFF]
strh w9, [x20, _AB@PAGEOFF]
mov w8, #1
Lloh139:
adrp x10, _RW@PAGE
strb w8, [x10, _RW@PAGEOFF]
LBB18_29:
adrp x16, _P@PAGE
LBB18_30:
ldrh w8, [x20, _AB@PAGEOFF]
ldrb w9, [x21, _DB@PAGEOFF]
ldrb w10, [x10, _RW@PAGEOFF]
ldrh w11, [x27, _PC@PAGEOFF]
ldrb w12, [x28, _A@PAGEOFF]
ldrb w13, [x26, _X@PAGEOFF]
ldrb w14, [x25, _Y@PAGEOFF]
ldrb w15, [x24, _S@PAGEOFF]
ldrb w16, [x16, _P@PAGEOFF]
ldrb w17, [x19, _ir@PAGEOFF]
Lloh140:
adrp x0, _cycle@PAGE
Lloh141:
ldr w1, [x0, _cycle@PAGEOFF]
stp x16, x17, [sp, #72]
stp x14, x15, [sp, #56]
stp x12, x13, [sp, #40]
stp x10, x11, [sp, #24]
stp x8, x9, [sp, #8]
Lloh142:
adrp x0, l_.str.5@PAGE
Lloh143:
add x0, x0, l_.str.5@PAGEOFF
str x1, [sp]
bl _printf
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB18_31:
Lloh144:
adrp x8, l___func__.pha@PAGE
Lloh145:
add x8, x8, l___func__.pha@PAGEOFF
str x8, [sp]
Lloh146:
adrp x0, l_.str@PAGE
Lloh147:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldrb w8, [x23, _t@PAGEOFF]
tbnz w8, #1, LBB18_35
; %bb.32:
adrp x16, _P@PAGE
tbnz w8, #2, LBB18_39
LBB18_33:
adrp x10, _RW@PAGE
tbz w8, #3, LBB18_30
LBB18_34:
ldrh w8, [x27, _PC@PAGEOFF]
strh w8, [x20, _AB@PAGEOFF]
mov w8, #1
strb w8, [x10, _RW@PAGEOFF]
strb w8, [x23, _t@PAGEOFF]
b LBB18_30
LBB18_35:
ldrb w9, [x24, _S@PAGEOFF]
sub w9, w9, #1
strb w9, [x24, _S@PAGEOFF]
LBB18_36:
lsl w8, w8, #1
adrp x16, _P@PAGE
adrp x10, _RW@PAGE
strb w8, [x23, _t@PAGEOFF]
b LBB18_30
LBB18_37:
ldrb w9, [x24, _S@PAGEOFF]
adrp x10, _temp_lo@PAGE
strb w9, [x10, _temp_lo@PAGEOFF]
mov w10, #1
adrp x11, _temp_hi@PAGE
strb w10, [x11, _temp_hi@PAGEOFF]
orr w11, w9, #0x100
strh w11, [x20, _AB@PAGEOFF]
adrp x11, _RW@PAGE
strb w10, [x11, _RW@PAGEOFF]
mov x10, x11
b LBB18_40
LBB18_38:
ldrb w9, [x21, _DB@PAGEOFF]
adrp x10, _temp_hi@PAGE
strb w9, [x10, _temp_hi@PAGEOFF]
ldrh w10, [x27, _PC@PAGEOFF]
add w10, w10, #1
strh w10, [x27, _PC@PAGEOFF]
lsl w8, w8, #1
strb w8, [x23, _t@PAGEOFF]
adrp x8, _temp_lo@PAGE
ldrb w8, [x8, _temp_lo@PAGEOFF]
bfi w8, w9, #8, #24
b LBB18_10
LBB18_39:
ldrb w9, [x24, _S@PAGEOFF]
orr w10, w9, #0x100
strh w10, [x20, _AB@PAGEOFF]
ldrb w10, [x28, _A@PAGEOFF]
strb w10, [x21, _DB@PAGEOFF]
adrp x10, _RW@PAGE
strb wzr, [x10, _RW@PAGEOFF]
LBB18_40:
add w9, w9, #1
strb w9, [x24, _S@PAGEOFF]
LBB18_41:
lsl w8, w8, #1
strb w8, [x23, _t@PAGEOFF]
b LBB18_30
LBB18_42:
ldrb w9, [x24, _S@PAGEOFF]
Lloh148:
adrp x10, _temp_lo@PAGE
strb w9, [x10, _temp_lo@PAGEOFF]
Lloh149:
adrp x10, _temp_hi@PAGE
ldrb w10, [x10, _temp_hi@PAGEOFF]
bfi w9, w10, #8, #24
strh w9, [x20, _AB@PAGEOFF]
mov w9, #1
adrp x10, _RW@PAGE
strb w9, [x10, _RW@PAGEOFF]
b LBB18_41
LBB18_43:
str x8, [sp]
Lloh150:
adrp x0, l_.str.4@PAGE
Lloh151:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov w0, #0
bl _exit
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpLdrGot Lloh98, Lloh99
.loh AdrpLdrGot Lloh104, Lloh105
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh136, Lloh137
.loh AdrpAdd Lloh134, Lloh135
.loh AdrpAdrp Lloh138, Lloh139
.loh AdrpAdd Lloh142, Lloh143
.loh AdrpAdrp Lloh140, Lloh142
.loh AdrpLdr Lloh140, Lloh141
.loh AdrpAdd Lloh146, Lloh147
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpAdrp Lloh148, Lloh149
.loh AdrpAdd Lloh150, Lloh151
.cfi_endproc
.section __TEXT,__const
lJTI18_0:
.byte (LBB18_6-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_18-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_19-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_20-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_21-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_43-LBB18_6)>>2
.byte (LBB18_24-LBB18_6)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _setup_emu ; -- Begin function setup_emu
.p2align 2
_setup_emu: ; @setup_emu
.cfi_startproc
; %bb.0:
Lloh152:
adrp x8, _ir@PAGE
strb wzr, [x8, _ir@PAGEOFF]
Lloh153:
adrp x8, _PC@PAGE
strh wzr, [x8, _PC@PAGEOFF]
Lloh154:
adrp x8, _A@PAGE
strb wzr, [x8, _A@PAGEOFF]
Lloh155:
adrp x8, _X@PAGE
strb wzr, [x8, _X@PAGEOFF]
Lloh156:
adrp x8, _Y@PAGE
strb wzr, [x8, _Y@PAGEOFF]
Lloh157:
adrp x8, _S@PAGE
strb wzr, [x8, _S@PAGEOFF]
Lloh158:
adrp x8, _P@PAGE
strb wzr, [x8, _P@PAGEOFF]
Lloh159:
adrp x8, _AB@PAGE
strh wzr, [x8, _AB@PAGEOFF]
mov w8, #1
Lloh160:
adrp x9, _RW@PAGE
strb w8, [x9, _RW@PAGEOFF]
Lloh161:
adrp x9, _t@PAGE
strb w8, [x9, _t@PAGEOFF]
ret
.loh AdrpAdrp Lloh160, Lloh161
.loh AdrpAdrp Lloh158, Lloh159
.loh AdrpAdrp Lloh157, Lloh158
.loh AdrpAdrp Lloh156, Lloh157
.loh AdrpAdrp Lloh155, Lloh156
.loh AdrpAdrp Lloh154, Lloh155
.loh AdrpAdrp Lloh153, Lloh154
.loh AdrpAdrp Lloh152, Lloh153
.cfi_endproc
; -- End function
.globl _reset_emu ; -- Begin function reset_emu
.p2align 2
_reset_emu: ; @reset_emu
.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
Lloh162:
adrp x8, _ir@PAGE
strb wzr, [x8, _ir@PAGEOFF]
Lloh163:
adrp x8, _A@PAGE
strb wzr, [x8, _A@PAGEOFF]
Lloh164:
adrp x8, _X@PAGE
strb wzr, [x8, _X@PAGEOFF]
Lloh165:
adrp x8, _Y@PAGE
strb wzr, [x8, _Y@PAGEOFF]
Lloh166:
adrp x8, _S@PAGE
strb wzr, [x8, _S@PAGEOFF]
Lloh167:
adrp x8, _P@PAGE
strb wzr, [x8, _P@PAGEOFF]
adrp x19, _AB@PAGE
strh wzr, [x19, _AB@PAGEOFF]
mov w20, #1
adrp x21, _RW@PAGE
strb w20, [x21, _RW@PAGEOFF]
Lloh168:
adrp x8, _memory@GOTPAGE
Lloh169:
ldr x8, [x8, _memory@GOTPAGEOFF]
adrp x22, _t@PAGE
strb w20, [x22, _t@PAGEOFF]
mov w9, #65532
ldrh w8, [x8, x9]
adrp x23, _PC@PAGE
strh w8, [x23, _PC@PAGEOFF]
str x8, [sp]
Lloh170:
adrp x0, l_.str.6@PAGE
Lloh171:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldrh w8, [x23, _PC@PAGEOFF]
strh w8, [x19, _AB@PAGEOFF]
strb w20, [x21, _RW@PAGEOFF]
strb w20, [x22, _t@PAGEOFF]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh170, Lloh171
.loh AdrpLdrGot Lloh168, Lloh169
.loh AdrpAdrp Lloh167, Lloh168
.loh AdrpAdrp Lloh166, Lloh167
.loh AdrpAdrp Lloh165, Lloh166
.loh AdrpAdrp Lloh164, Lloh165
.loh AdrpAdrp Lloh163, Lloh164
.loh AdrpAdrp Lloh162, Lloh163
.cfi_endproc
; -- End function
.globl _emu_measure_instruction ; -- Begin function emu_measure_instruction
.p2align 2
_emu_measure_instruction: ; @emu_measure_instruction
.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
adrp x20, _cycle@PAGE
ldr w8, [x20, _cycle@PAGEOFF]
Lloh172:
adrp x19, l_.str.7@PAGE
Lloh173:
add x19, x19, l_.str.7@PAGEOFF
LBB21_1: ; =>This Inner Loop Header: Depth=1
str x8, [sp]
mov x0, x19
bl _printf
bl _emulate_step
mov w0, #10
bl _putchar
ldr w8, [x20, _cycle@PAGEOFF]
add w8, w8, #1
str w8, [x20, _cycle@PAGEOFF]
b LBB21_1
.loh AdrpAdd Lloh172, Lloh173
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_PC,2,1 ; @PC
.zerofill __DATA,__bss,_AB,2,1 ; @AB
.zerofill __DATA,__bss,_RW,1,0 ; @RW
.zerofill __DATA,__bss,_t,1,0 ; @t
.zerofill __DATA,__bss,_ir,1,0 ; @ir
.zerofill __DATA,__bss,_A,1,0 ; @A
.zerofill __DATA,__bss,_X,1,0 ; @X
.zerofill __DATA,__bss,_Y,1,0 ; @Y
.zerofill __DATA,__bss,_S,1,0 ; @S
.zerofill __DATA,__bss,_P,1,0 ; @P
.zerofill __DATA,__bss,_DB,1,0 ; @DB
.zerofill __DATA,__bss,_temp_lo,1,0 ; @temp_lo
.zerofill __DATA,__bss,_temp_hi,1,0 ; @temp_hi
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
l___func__.pha: ; @__func__.pha
.asciz "pha"
l___func__.plp: ; @__func__.plp
.asciz "plp"
l___func__.txs: ; @__func__.txs
.asciz "txs"
l___func__.lda_imm: ; @__func__.lda_imm
.asciz "lda_imm"
l___func__.ldx_imm: ; @__func__.ldx_imm
.asciz "ldx_imm"
l___func__.ldy_imm: ; @__func__.ldy_imm
.asciz "ldy_imm"
l___func__.lda_abs: ; @__func__.lda_abs
.asciz "lda_abs"
l___func__.sta_abs: ; @__func__.sta_abs
.asciz "sta_abs"
l_.str.1: ; @.str.1
.asciz "PEEK(%04X)=%02X "
l_.str.2: ; @.str.2
.asciz "POKE %04X, %02X "
l_.str.3: ; @.str.3
.asciz "fetch"
l_.str.4: ; @.str.4
.asciz "unimplemented opcode: %02X\n"
l_.str.5: ; @.str.5
.asciz "\ncycle:%d phi0:1 AB:%04X D:%02X RnW:%d PC:%04X A:%02X X:%02X Y:%02X SP:%02X P:%02X IR:%02X"
.zerofill __DATA,__bss,_cycle,4,2 ; @cycle
l_.str.6: ; @.str.6
.asciz "PC %x\n"
l_.str.7: ; @.str.7
.asciz "cycle %d: "
.subsections_via_symbols
| the_stack_data/167330353.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ccexpf ## -- Begin function ccexpf
.p2align 4, 0x90
_ccexpf: ## @ccexpf
.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
movss 4(%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
xorps %xmm0, %xmm0
mulss %xmm1, %xmm0
addss (%rdi), %xmm0
insertps $16, %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[2,3]
callq _cexpf
movss %xmm0, (%rbx)
extractps $1, %xmm0, 4(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ccexpf ; -- Begin function ccexpf
.p2align 2
_ccexpf: ; @ccexpf
.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
ldp s0, s1, [x0]
movi d2, #0000000000000000
fmul s2, s1, s2
fadd s0, s0, s2
bl _cexpf
str s0, [x19]
str s1, [x19, #4]
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/119691.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mconsole_halt ## -- Begin function mconsole_halt
.p2align 4, 0x90
_mconsole_halt: ## @mconsole_halt
.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), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _mconsole_reply
xorl %eax, %eax
popq %rbp
jmp _machine_halt ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mconsole_halt ; -- Begin function mconsole_halt
.p2align 2
_mconsole_halt: ; @mconsole_halt
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w2, #0
mov w3, #0
bl _mconsole_reply
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _machine_halt
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.subsections_via_symbols
| AnghaBench/linux/arch/um/drivers/extr_mconsole_kern.c_mconsole_halt.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 mg_set_timer
LCPI0_0:
.quad 0x43e0000000000000 ## double 9.2233720368547758E+18
.section __TEXT,__text,regular,pure_instructions
.globl _mg_set_timer
.p2align 4, 0x90
_mg_set_timer: ## @mg_set_timer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $63, %rcx
movapd %xmm0, %xmm1
subsd LCPI0_0(%rip), %xmm1
cvttsd2si %xmm1, %r14
andq %rcx, %r14
orq %rax, %r14
movsd (%rdi), %xmm1 ## xmm1 = mem[0],zero
movsd %xmm1, -32(%rbp) ## 8-byte Spill
movapd %xmm0, -64(%rbp) ## 16-byte Spill
movsd %xmm0, (%rdi)
movq %r14, %rdi
callq _DBG
movq _MG_F_RESOLVING@GOTPCREL(%rip), %r15
movl (%r15), %eax
testl %eax, 8(%rbx)
je LBB0_8
## %bb.1:
xorl %eax, %eax
## implicit-def: $xmm0
## kill: killed $xmm0
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp) ## 8-byte Spill
movapd -64(%rbp), %xmm0 ## 16-byte Reload
movsd %xmm0, (%rbx)
movq %r14, %rdi
callq _DBG
movl (%r15), %ecx
movb $1, %al
testl %ecx, 8(%rbx)
je LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rbx
testq %rbx, %rbx
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
testb $1, %al
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -40(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_6:
testb $1, %al
je LBB0_8
LBB0_7:
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -32(%rbp) ## 8-byte Spill
LBB0_8:
movsd -32(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MG_F_RESOLVING,4,2 ## @MG_F_RESOLVING
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mg_set_timer ; -- Begin function mg_set_timer
.p2align 2
_mg_set_timer: ; @mg_set_timer
.cfi_startproc
; %bb.0:
stp d11, d10, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
.cfi_offset b10, -72
.cfi_offset b11, -80
fmov d9, d0
mov x19, x0
fcvtzu x20, d0
ldr d8, [x0]
str d0, [x0]
mov x0, x20
bl _DBG
ldr w8, [x19, #8]
Lloh0:
adrp x21, _MG_F_RESOLVING@GOTPAGE
Lloh1:
ldr x21, [x21, _MG_F_RESOLVING@GOTPAGEOFF]
ldr w9, [x21]
tst w9, w8
b.eq LBB0_6
; %bb.1:
mov w8, #0
; implicit-def: $d10
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x19, [x19, #16]
cbz x19, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
tst w8, #0x1
fcsel d10, d10, d8, ne
ldr d8, [x19]
str d9, [x19]
mov x0, x20
bl _DBG
ldr w9, [x19, #8]
ldr w10, [x21]
mov w8, #1
tst w10, w9
b.ne LBB0_2
b LBB0_5
LBB0_4:
tbz w8, #0, LBB0_6
LBB0_5:
fmov d8, d10
LBB0_6:
fmov d0, d8
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
ldp d11, d10, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MG_F_RESOLVING,4,2 ; @MG_F_RESOLVING
.subsections_via_symbols
| AnghaBench/mongoose/src/extr_mg_net.c_mg_set_timer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_vgpu_gpa_to_mmio_offset ## -- Begin function intel_vgpu_gpa_to_mmio_offset
.p2align 4, 0x90
_intel_vgpu_gpa_to_mmio_offset: ## @intel_vgpu_gpa_to_mmio_offset
.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
movq _PCI_BASE_ADDRESS_0@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _intel_vgpu_get_bar_gpa
subl %eax, %ebx
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCI_BASE_ADDRESS_0,4,2 ## @PCI_BASE_ADDRESS_0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _intel_vgpu_gpa_to_mmio_offset ; -- Begin function intel_vgpu_gpa_to_mmio_offset
.p2align 2
_intel_vgpu_gpa_to_mmio_offset: ; @intel_vgpu_gpa_to_mmio_offset
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x8, _PCI_BASE_ADDRESS_0@GOTPAGE
Lloh1:
ldr x8, [x8, _PCI_BASE_ADDRESS_0@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _intel_vgpu_get_bar_gpa
sub w0, w19, w0
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 _PCI_BASE_ADDRESS_0,4,2 ; @PCI_BASE_ADDRESS_0
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gvt/extr_mmio.c_intel_vgpu_gpa_to_mmio_offset.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/119293.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ehea_set_settings
_ehea_set_settings: ## @ehea_set_settings
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
callq _netdev_priv
movq %rax, %r14
movq (%rbx), %rax
movq _AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movq _EHEA_SPEED_AUTONEG@GOTPCREL(%rip), %rax
LBB0_14:
movl (%rax), %esi
movq %r14, %rdi
callq _ehea_set_portspeed
testl %eax, %eax
jne LBB0_16
## %bb.15:
movq 8(%r14), %rax
movl (%rax), %esi
movl 4(%r14), %edx
cmpl $1, (%r14)
leaq L_.str.1(%rip), %rax
leaq L_.str.2(%rip), %rcx
cmoveq %rax, %rcx
leaq L_.str(%rip), %rdi
callq _ehea_info
xorl %eax, %eax
jmp LBB0_16
LBB0_2:
movl 8(%rbx), %eax
addl $-128, %eax
cmpl $3, %eax
ja LBB0_17
## %bb.3:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_12:
movl 12(%rbx), %eax
movq _DUPLEX_FULL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_17
## %bb.13:
movq _H_SPEED_10G_F@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_7:
movl 12(%rbx), %eax
movq _DUPLEX_FULL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_8
## %bb.9:
movq _H_SPEED_100M_F@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_4:
movl 12(%rbx), %eax
movq _DUPLEX_FULL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_5
## %bb.6:
movq _H_SPEED_10M_F@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_10:
movl 12(%rbx), %eax
movq _DUPLEX_FULL@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_17
## %bb.11:
movq _H_SPEED_1G_F@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_17:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_16:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_8:
movq _H_SPEED_100M_H@GOTPCREL(%rip), %rax
jmp LBB0_14
LBB0_5:
movq _H_SPEED_10M_H@GOTPCREL(%rip), %rax
jmp LBB0_14
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_12
.long L0_0_set_10
.long L0_0_set_7
.long L0_0_set_4
.end_data_region
## -- End function
.comm _AUTONEG_ENABLE,8,3 ## @AUTONEG_ENABLE
.comm _EHEA_SPEED_AUTONEG,4,2 ## @EHEA_SPEED_AUTONEG
.comm _DUPLEX_FULL,4,2 ## @DUPLEX_FULL
.comm _H_SPEED_10M_F,4,2 ## @H_SPEED_10M_F
.comm _H_SPEED_10M_H,4,2 ## @H_SPEED_10M_H
.comm _H_SPEED_100M_F,4,2 ## @H_SPEED_100M_F
.comm _H_SPEED_100M_H,4,2 ## @H_SPEED_100M_H
.comm _H_SPEED_1G_F,4,2 ## @H_SPEED_1G_F
.comm _EINVAL,4,2 ## @EINVAL
.comm _H_SPEED_10G_F,4,2 ## @H_SPEED_10G_F
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: Port speed succesfully set: %dMbps %s Duplex"
L_.str.1: ## @.str.1
.asciz "Full"
L_.str.2: ## @.str.2
.asciz "Half"
.no_dead_strip _ehea_set_settings
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ehea_set_settings
_ehea_set_settings: ; @ehea_set_settings
.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
bl _netdev_priv
mov x19, x0
ldr x8, [x20]
Lloh0:
adrp x9, _AUTONEG_ENABLE@GOTPAGE
Lloh1:
ldr x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _EHEA_SPEED_AUTONEG@GOTPAGE
Lloh4:
ldr x8, [x8, _EHEA_SPEED_AUTONEG@GOTPAGEOFF]
b LBB0_11
LBB0_2:
ldr w8, [x20, #8]
sub w8, w8, #128
cmp w8, #3
b.hi LBB0_13
; %bb.3:
Lloh5:
adrp x9, lJTI0_0@PAGE
Lloh6:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_4
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_4:
ldr w8, [x20, #12]
Lloh7:
adrp x9, _DUPLEX_FULL@GOTPAGE
Lloh8:
ldr x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh9:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_13
; %bb.5:
Lloh10:
adrp x8, _H_SPEED_10G_F@GOTPAGE
Lloh11:
ldr x8, [x8, _H_SPEED_10G_F@GOTPAGEOFF]
b LBB0_11
LBB0_6:
ldr w8, [x20, #12]
Lloh12:
adrp x9, _DUPLEX_FULL@GOTPAGE
Lloh13:
ldr x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
Lloh15:
adrp x10, _H_SPEED_100M_H@GOTPAGE
Lloh16:
ldr x10, [x10, _H_SPEED_100M_H@GOTPAGEOFF]
Lloh17:
adrp x11, _H_SPEED_100M_F@GOTPAGE
Lloh18:
ldr x11, [x11, _H_SPEED_100M_F@GOTPAGEOFF]
b LBB0_8
LBB0_7:
ldr w8, [x20, #12]
Lloh19:
adrp x9, _DUPLEX_FULL@GOTPAGE
Lloh20:
ldr x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
Lloh22:
adrp x10, _H_SPEED_10M_H@GOTPAGE
Lloh23:
ldr x10, [x10, _H_SPEED_10M_H@GOTPAGEOFF]
Lloh24:
adrp x11, _H_SPEED_10M_F@GOTPAGE
Lloh25:
ldr x11, [x11, _H_SPEED_10M_F@GOTPAGEOFF]
LBB0_8:
cmp w8, w9
csel x8, x11, x10, eq
b LBB0_11
LBB0_9:
ldr w8, [x20, #12]
Lloh26:
adrp x9, _DUPLEX_FULL@GOTPAGE
Lloh27:
ldr x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
cmp w8, w9
b.ne LBB0_13
; %bb.10:
Lloh29:
adrp x8, _H_SPEED_1G_F@GOTPAGE
Lloh30:
ldr x8, [x8, _H_SPEED_1G_F@GOTPAGEOFF]
LBB0_11:
ldr w1, [x8]
mov x0, x19
bl _ehea_set_portspeed
cbnz w0, LBB0_14
; %bb.12:
ldr x8, [x19, #8]
ldr w1, [x8]
ldp w8, w2, [x19]
Lloh31:
adrp x9, l_.str.2@PAGE
Lloh32:
add x9, x9, l_.str.2@PAGEOFF
Lloh33:
adrp x10, l_.str.1@PAGE
Lloh34:
add x10, x10, l_.str.1@PAGEOFF
cmp w8, #1
csel x3, x10, x9, eq
Lloh35:
adrp x0, l_.str@PAGE
Lloh36:
add x0, x0, l_.str@PAGEOFF
bl _ehea_info
mov w0, #0
b LBB0_14
LBB0_13:
Lloh37:
adrp x8, _EINVAL@GOTPAGE
Lloh38:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
neg w0, w8
LBB0_14:
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 AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_4-LBB0_4)>>2
.byte (LBB0_9-LBB0_4)>>2
.byte (LBB0_6-LBB0_4)>>2
.byte (LBB0_7-LBB0_4)>>2
; -- End function
.comm _AUTONEG_ENABLE,8,3 ; @AUTONEG_ENABLE
.comm _EHEA_SPEED_AUTONEG,4,2 ; @EHEA_SPEED_AUTONEG
.comm _DUPLEX_FULL,4,2 ; @DUPLEX_FULL
.comm _H_SPEED_10M_F,4,2 ; @H_SPEED_10M_F
.comm _H_SPEED_10M_H,4,2 ; @H_SPEED_10M_H
.comm _H_SPEED_100M_F,4,2 ; @H_SPEED_100M_F
.comm _H_SPEED_100M_H,4,2 ; @H_SPEED_100M_H
.comm _H_SPEED_1G_F,4,2 ; @H_SPEED_1G_F
.comm _EINVAL,4,2 ; @EINVAL
.comm _H_SPEED_10G_F,4,2 ; @H_SPEED_10G_F
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: Port speed succesfully set: %dMbps %s Duplex"
l_.str.1: ; @.str.1
.asciz "Full"
l_.str.2: ; @.str.2
.asciz "Half"
.no_dead_strip _ehea_set_settings
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/ehea/extr_ehea_ethtool.c_ehea_set_settings.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mlx5_eeprom_page
_mlx5_eeprom_page: ## @mlx5_eeprom_page
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MLX5_EEPROM_PAGE_LENGTH@GOTPCREL(%rip), %rax
movl (%rax), %ecx
xorl %eax, %eax
cmpl %edi, %ecx
jg LBB0_2
## %bb.1:
subl %ecx, %edi
movq _MLX5_EEPROM_HIGH_PAGE_LENGTH@GOTPCREL(%rip), %rcx
movl %edi, %eax
cltd
idivl (%rcx)
incl %eax
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MLX5_EEPROM_PAGE_LENGTH,4,2 ## @MLX5_EEPROM_PAGE_LENGTH
.comm _MLX5_EEPROM_HIGH_PAGE_LENGTH,4,2 ## @MLX5_EEPROM_HIGH_PAGE_LENGTH
.no_dead_strip _mlx5_eeprom_page
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mlx5_eeprom_page
_mlx5_eeprom_page: ; @mlx5_eeprom_page
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MLX5_EEPROM_PAGE_LENGTH@GOTPAGE
Lloh1:
ldr x8, [x8, _MLX5_EEPROM_PAGE_LENGTH@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w0
b.le LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
sub w8, w0, w8
Lloh3:
adrp x9, _MLX5_EEPROM_HIGH_PAGE_LENGTH@GOTPAGE
Lloh4:
ldr x9, [x9, _MLX5_EEPROM_HIGH_PAGE_LENGTH@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
sdiv w8, w8, w9
add w0, w8, #1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _MLX5_EEPROM_PAGE_LENGTH,4,2 ; @MLX5_EEPROM_PAGE_LENGTH
.comm _MLX5_EEPROM_HIGH_PAGE_LENGTH,4,2 ; @MLX5_EEPROM_HIGH_PAGE_LENGTH
.no_dead_strip _mlx5_eeprom_page
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_port.c_mlx5_eeprom_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fman_get_qmi_err_event ## -- Begin function fman_get_qmi_err_event
.p2align 4, 0x90
_fman_get_qmi_err_event: ## @fman_get_qmi_err_event
.cfi_startproc
## %bb.0:
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
callq _ioread32be
movl %eax, %r15d
leaq 8(%r14), %rdi
callq _ioread32be
movl %eax, %ebx
andl %r15d, %ebx
leaq 4(%r14), %r15
movq %r15, %rdi
callq _ioread32be
testl %ebx, %eax
je LBB0_2
## %bb.1:
movl %ebx, %ecx
notl %ecx
andl %ecx, %eax
movl %eax, %edi
movq %r15, %rsi
callq _iowrite32be
LBB0_2:
movl %ebx, %edi
movq %r14, %rsi
callq _iowrite32be
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fman_get_qmi_err_event ; -- Begin function fman_get_qmi_err_event
.p2align 2
_fman_get_qmi_err_event: ; @fman_get_qmi_err_event
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _ioread32be
mov x20, x0
add x0, x19, #8
bl _ioread32be
and w20, w0, w20
add x21, x19, #4
mov x0, x21
bl _ioread32be
tst w0, w20
b.eq LBB0_2
; %bb.1:
bic w0, w0, w20
mov x1, x21
bl _iowrite32be
LBB0_2:
mov x0, x20
mov x1, x19
bl _iowrite32be
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/ncsw/Peripherals/FM/extr_fman_ncsw.c_fman_get_qmi_err_event.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ag71xx_phy_connect ## -- Begin function ag71xx_phy_connect
.p2align 4, 0x90
_ag71xx_phy_connect: ## @ag71xx_phy_connect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _ag71xx_get_pdata
movq 16(%rax), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.1:
cmpq $0, (%rdi)
je LBB0_7
## %bb.2:
movq %rax, %r14
callq _dev_to_mii_bus
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_8
## %bb.3:
cmpq $0, 8(%rax)
je LBB0_5
## %bb.4:
movq %rax, %rdi
callq _mutex_lock
movq (%rbx), %rdi
callq *8(%rdi)
movq (%rbx), %rdi
callq _mutex_unlock
LBB0_5:
cmpq $0, 8(%r14)
je LBB0_6
## %bb.9:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _ag71xx_ar7240_init ## TAILCALL
LBB0_8:
movq 8(%rbx), %rbx
movq 16(%r14), %rdi
callq _dev_name
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
callq _dev_err
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_6:
cmpq $0, (%r14)
je LBB0_7
## %bb.10:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _ag71xx_phy_connect_multi ## TAILCALL
LBB0_7:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _ag71xx_phy_connect_fixed ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unable to find MII bus on device '%s'\n"
.comm _ENODEV,4,2 ## @ENODEV
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ag71xx_phy_connect ; -- Begin function ag71xx_phy_connect
.p2align 2
_ag71xx_phy_connect: ; @ag71xx_phy_connect
.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 _ag71xx_get_pdata
mov x20, x0
ldr x0, [x0, #16]
cbz x0, LBB0_10
; %bb.1:
ldr x8, [x0]
cbz x8, LBB0_10
; %bb.2:
bl _dev_to_mii_bus
str x0, [x19]
cbz x0, LBB0_7
; %bb.3:
ldr x8, [x0, #8]
cbz x8, LBB0_5
; %bb.4:
bl _mutex_lock
ldr x0, [x19]
ldr x8, [x0, #8]
blr x8
ldr x0, [x19]
bl _mutex_unlock
LBB0_5:
ldr x8, [x20, #8]
cbz x8, LBB0_8
; %bb.6:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ag71xx_ar7240_init
LBB0_7:
ldr x19, [x19, #8]
ldr x0, [x20, #16]
bl _dev_name
mov x2, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _dev_err
Lloh2:
adrp x8, _ENODEV@GOTPAGE
Lloh3:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_8:
ldr x8, [x20]
cbz x8, LBB0_10
; %bb.9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ag71xx_phy_connect_multi
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ag71xx_phy_connect_fixed
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unable to find MII bus on device '%s'\n"
.comm _ENODEV,4,2 ; @ENODEV
.subsections_via_symbols
| AnghaBench/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/extr_ag71xx_phy.c_ag71xx_phy_connect.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $392, %rsp ## imm = 0x188
.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)
xorps %xmm0, %xmm0
movaps %xmm0, -96(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -64(%rbp)
movaps %xmm0, -48(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -416(%rbp)
movaps %xmm0, -400(%rbp)
movaps %xmm0, -384(%rbp)
movaps %xmm0, -368(%rbp)
movaps %xmm0, -352(%rbp)
movaps %xmm0, -336(%rbp)
movaps %xmm0, -320(%rbp)
movaps %xmm0, -304(%rbp)
movaps %xmm0, -288(%rbp)
movaps %xmm0, -272(%rbp)
movaps %xmm0, -256(%rbp)
movaps %xmm0, -240(%rbp)
movaps %xmm0, -224(%rbp)
movaps %xmm0, -208(%rbp)
movaps %xmm0, -192(%rbp)
movaps %xmm0, -176(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %rbx
leaq -96(%rbp), %rdi
movl $1, %esi
movl $63, %edx
movq %rax, %rcx
callq _fread
movq %rax, %r14
movq %rbx, %rdi
callq _ferror
testl %eax, %eax
je LBB0_3
## %bb.2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.2(%rip), %rdi
callq _fputs
jmp LBB0_4
LBB0_3:
movb $0, -96(%rbp,%r14)
LBB0_4:
movq %rbx, %rdi
callq _fclose
LBB0_5:
leaq L_.str.3(%rip), %rdi
callq _puts
movq ___stdoutp@GOTPCREL(%rip), %r14
movq (%r14), %rsi
leaq L_.str.4(%rip), %rdi
callq _fputs
movq (%r14), %rdi
callq _fflush
movq ___stdinp@GOTPCREL(%rip), %r15
movq (%r15), %rdx
leaq -160(%rbp), %rbx
movq %rbx, %rdi
movl $64, %esi
callq _fgets
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _strcspn
movb $0, -160(%rbp,%rax)
movabsq $7020098530578884707, %rax ## imm = 0x616C666B63656863
xorq -160(%rbp), %rax
movzbl -152(%rbp), %ecx
xorq $103, %rcx
orq %rax, %rcx
je LBB0_6
## %bb.9:
leaq L_.str.10(%rip), %rdi
callq _puts
jmp LBB0_10
LBB0_6:
movq (%r14), %rsi
leaq L_.str.7(%rip), %rdi
callq _fputs
movq (%r14), %rdi
callq _fflush
movq (%r15), %rdx
leaq -416(%rbp), %r14
movq %r14, %rdi
movl $256, %esi ## imm = 0x100
callq _fgets
leaq L_.str.5(%rip), %rsi
movq %r14, %rdi
callq _strcspn
movb $0, -416(%rbp,%rax)
leaq -96(%rbp), %rbx
movq %rbx, %rdi
callq _strlen
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _strncmp
testl %eax, %eax
je LBB0_7
## %bb.8:
leaq L_.str.9(%rip), %rdi
callq _puts
leaq -416(%rbp), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_10
LBB0_7:
leaq L_.str.8(%rip), %rdi
leaq -96(%rbp), %rsi
xorl %eax, %eax
callq _printf
LBB0_10:
leaq L_.str.11(%rip), %rdi
callq _puts
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_12
## %bb.11:
xorl %eax, %eax
addq $392, %rsp ## imm = 0x188
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/home/pwn2/flag.txt"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Error reading file"
L_.str.3: ## @.str.3
.asciz " ****************************************************************************\n This is a Nexxus computer system, which may be accessed\n and used only for authorized Nexxus business by authorized personnel.\n Unauthorized access or use of this computer system may subject violators\n to criminal, civil, and/or administrative action.\n\n All information on this computer system may be intercepted, recorded,\n read, copied, and disclosed by and to authorized personnel for official\n purposes, including criminal investigations. Such information includes\n sensitive data encrypted to comply with confidentiality and privacy\n requirements. Access or use of this computer system by any person, whether\n authorized or unauthorized, constitutes consent to these terms. There is no\n right of privacy in this system.\n ****************************************************************************\n"
L_.str.4: ## @.str.4
.asciz "Command: "
L_.str.5: ## @.str.5
.asciz "\r\n"
L_.str.6: ## @.str.6
.asciz "checkflag"
L_.str.7: ## @.str.7
.asciz "flag: "
L_.str.8: ## @.str.8
.asciz "You got the correct flag! (%s)\n"
L_.str.9: ## @.str.9
.asciz "Wrong flag!"
L_.str.10: ## @.str.10
.asciz "Invalid command!"
L_.str.11: ## @.str.11
.asciz "Disconnected."
.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, #464
.cfi_def_cfa_offset 464
stp x22, x21, [sp, #416] ; 16-byte Folded Spill
stp x20, x19, [sp, #432] ; 16-byte Folded Spill
stp x29, x30, [sp, #448] ; 16-byte Folded Spill
add x29, sp, #448
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
movi.2d v0, #0000000000000000
stp q0, q0, [x29, #-112]
stp q0, q0, [x29, #-80]
stp q0, q0, [x29, #-176]
stp q0, q0, [x29, #-144]
stp q0, q0, [sp, #16]
stp q0, q0, [sp, #48]
stp q0, q0, [sp, #80]
stp q0, q0, [sp, #112]
stp q0, q0, [sp, #144]
stp q0, q0, [sp, #176]
stp q0, q0, [sp, #208]
stp q0, q0, [sp, #240]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB0_5
; %bb.1:
mov x19, x0
sub x21, x29, #112
sub x0, x29, #112
mov w1, #1
mov w2, #63
mov x3, x19
bl _fread
mov x20, x0
mov x0, x19
bl _ferror
cbz w0, LBB0_3
; %bb.2:
Lloh7:
adrp x8, ___stderrp@GOTPAGE
Lloh8:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh9:
ldr x1, [x8]
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _fputs
b LBB0_4
LBB0_3:
strb wzr, [x21, x20]
LBB0_4:
mov x0, x19
bl _fclose
LBB0_5:
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _puts
Lloh14:
adrp x19, ___stdoutp@GOTPAGE
Lloh15:
ldr x19, [x19, ___stdoutp@GOTPAGEOFF]
ldr x1, [x19]
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
bl _fputs
ldr x0, [x19]
bl _fflush
Lloh18:
adrp x20, ___stdinp@GOTPAGE
Lloh19:
ldr x20, [x20, ___stdinp@GOTPAGEOFF]
ldr x2, [x20]
sub x21, x29, #176
sub x0, x29, #176
mov w1, #64
bl _fgets
Lloh20:
adrp x1, l_.str.5@PAGE
Lloh21:
add x1, x1, l_.str.5@PAGEOFF
sub x0, x29, #176
bl _strcspn
strb wzr, [x21, x0]
ldur x8, [x29, #-176]
mov x9, #26723
movk x9, #25445, lsl #16
movk x9, #26219, lsl #32
movk x9, #24940, lsl #48
eor x8, x8, x9
ldurb w9, [x29, #-168]
mov w10, #103
eor x9, x9, x10
orr x8, x8, x9
cbz x8, LBB0_7
; %bb.6:
Lloh22:
adrp x0, l_.str.10@PAGE
Lloh23:
add x0, x0, l_.str.10@PAGEOFF
bl _puts
b LBB0_11
LBB0_7:
ldr x1, [x19]
Lloh24:
adrp x0, l_.str.7@PAGE
Lloh25:
add x0, x0, l_.str.7@PAGEOFF
bl _fputs
ldr x0, [x19]
bl _fflush
ldr x2, [x20]
add x19, sp, #16
add x0, sp, #16
mov w1, #256
bl _fgets
Lloh26:
adrp x1, l_.str.5@PAGE
Lloh27:
add x1, x1, l_.str.5@PAGEOFF
add x0, sp, #16
bl _strcspn
strb wzr, [x19, x0]
sub x19, x29, #112
sub x0, x29, #112
bl _strlen
mov x2, x0
add x0, sp, #16
sub x1, x29, #112
bl _strncmp
cbz w0, LBB0_9
; %bb.8:
Lloh28:
adrp x0, l_.str.9@PAGE
Lloh29:
add x0, x0, l_.str.9@PAGEOFF
bl _puts
add x0, sp, #16
b LBB0_10
LBB0_9:
str x19, [sp]
Lloh30:
adrp x0, l_.str.8@PAGE
Lloh31:
add x0, x0, l_.str.8@PAGEOFF
LBB0_10:
bl _printf
LBB0_11:
Lloh32:
adrp x0, l_.str.11@PAGE
Lloh33:
add x0, x0, l_.str.11@PAGEOFF
bl _puts
ldur x8, [x29, #-40]
Lloh34:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh35:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_13
; %bb.12:
mov w0, #0
ldp x29, x30, [sp, #448] ; 16-byte Folded Reload
ldp x20, x19, [sp, #432] ; 16-byte Folded Reload
ldp x22, x21, [sp, #416] ; 16-byte Folded Reload
add sp, sp, #464
ret
LBB0_13:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/home/pwn2/flag.txt"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Error reading file"
l_.str.3: ; @.str.3
.asciz " ****************************************************************************\n This is a Nexxus computer system, which may be accessed\n and used only for authorized Nexxus business by authorized personnel.\n Unauthorized access or use of this computer system may subject violators\n to criminal, civil, and/or administrative action.\n\n All information on this computer system may be intercepted, recorded,\n read, copied, and disclosed by and to authorized personnel for official\n purposes, including criminal investigations. Such information includes\n sensitive data encrypted to comply with confidentiality and privacy\n requirements. Access or use of this computer system by any person, whether\n authorized or unauthorized, constitutes consent to these terms. There is no\n right of privacy in this system.\n ****************************************************************************\n"
l_.str.4: ; @.str.4
.asciz "Command: "
l_.str.5: ; @.str.5
.asciz "\r\n"
l_.str.6: ; @.str.6
.asciz "checkflag"
l_.str.7: ; @.str.7
.asciz "flag: "
l_.str.8: ; @.str.8
.asciz "You got the correct flag! (%s)\n"
l_.str.9: ; @.str.9
.asciz "Wrong flag!"
l_.str.10: ; @.str.10
.asciz "Invalid command!"
l_.str.11: ; @.str.11
.asciz "Disconnected."
.subsections_via_symbols
| the_stack_data/28264081.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wpa_rekey_ptk
_wpa_rekey_ptk: ## @wpa_rekey_ptk
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq %rsi, %rdi
callq _wpa_request_new_ptk
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _wpa_sm_step ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _wpa_rekey_ptk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wpa_rekey_ptk
_wpa_rekey_ptk: ; @wpa_rekey_ptk
.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 x0, x1
bl _wpa_request_new_ptk
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _wpa_sm_step
.cfi_endproc
; -- End function
.no_dead_strip _wpa_rekey_ptk
.subsections_via_symbols
| AnghaBench/esp-idf/components/wpa_supplicant/src/ap/extr_wpa_auth.c_wpa_rekey_ptk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function time_show
_time_show: ## @time_show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
callq _to_rtc_device
leaq -16(%rbp), %rsi
movl %eax, %edi
callq _rtc_read_time
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
leaq -16(%rbp), %rdx
movq %rbx, %rdi
callq _sprintf
LBB0_2:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ptRt\n"
.no_dead_strip _time_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function time_show
_time_show: ; @time_show
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
bl _to_rtc_device
add x1, sp, #8
bl _rtc_read_time
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #8
mov x0, x19
bl _sprintf
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%ptRt\n"
.no_dead_strip _time_show
.subsections_via_symbols
| AnghaBench/linux/drivers/rtc/extr_sysfs.c_time_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sock_inject_data_out ## -- Begin function sock_inject_data_out
.p2align 4, 0x90
_sock_inject_data_out: ## @sock_inject_data_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _SOF_MP_SUBFLOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_1
## %bb.4:
movq _ENOTSUP@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
LBB0_1:
movl %r8d, %r9d
movl %ecx, %r8d
movl %edx, %ecx
movq _sock_data_filt_flag_oob@GOTPCREL(%rip), %rax
andl (%rax), %r9d
je LBB0_3
## %bb.2:
movq _MSG_OOB@GOTPCREL(%rip), %rax
movl (%rax), %r9d
LBB0_3:
xorl %edx, %edx
popq %rbp
jmp _sosend ## TAILCALL
.cfi_endproc
## -- End function
.comm _SOF_MP_SUBFLOW,4,2 ## @SOF_MP_SUBFLOW
.comm _ENOTSUP,4,2 ## @ENOTSUP
.comm _sock_data_filt_flag_oob,4,2 ## @sock_data_filt_flag_oob
.comm _MSG_OOB,4,2 ## @MSG_OOB
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sock_inject_data_out ; -- Begin function sock_inject_data_out
.p2align 2
_sock_inject_data_out: ; @sock_inject_data_out
.cfi_startproc
; %bb.0:
ldr w9, [x0]
Lloh0:
adrp x10, _SOF_MP_SUBFLOW@GOTPAGE
Lloh1:
ldr x10, [x10, _SOF_MP_SUBFLOW@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_2
; %bb.1:
Lloh3:
adrp x8, _ENOTSUP@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOTSUP@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
LBB0_2:
mov x8, x3
mov x3, x2
Lloh6:
adrp x9, _sock_data_filt_flag_oob@GOTPAGE
Lloh7:
ldr x9, [x9, _sock_data_filt_flag_oob@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _MSG_OOB@GOTPAGE
Lloh10:
ldr x10, [x10, _MSG_OOB@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
tst w9, w4
csel w5, wzr, w10, eq
mov x2, #0
mov x4, x8
b _sosend
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _SOF_MP_SUBFLOW,4,2 ; @SOF_MP_SUBFLOW
.comm _ENOTSUP,4,2 ; @ENOTSUP
.comm _sock_data_filt_flag_oob,4,2 ; @sock_data_filt_flag_oob
.comm _MSG_OOB,4,2 ; @MSG_OOB
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/kern/extr_kpi_socketfilter.c_sock_inject_data_out.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function carl9170_flush_cab
_carl9170_flush_cab: ## @carl9170_flush_cab
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _CARL9170_BCN_CTRL_DRAIN@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
popq %rbp
jmp _carl9170_bcn_ctrl ## TAILCALL
.cfi_endproc
## -- End function
.comm _CARL9170_BCN_CTRL_DRAIN,4,2 ## @CARL9170_BCN_CTRL_DRAIN
.no_dead_strip _carl9170_flush_cab
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function carl9170_flush_cab
_carl9170_flush_cab: ; @carl9170_flush_cab
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CARL9170_BCN_CTRL_DRAIN@GOTPAGE
Lloh1:
ldr x8, [x8, _CARL9170_BCN_CTRL_DRAIN@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w3, #0
mov w4, #0
b _carl9170_bcn_ctrl
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CARL9170_BCN_CTRL_DRAIN,4,2 ; @CARL9170_BCN_CTRL_DRAIN
.no_dead_strip _carl9170_flush_cab
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/ath/carl9170/extr_cmd.h_carl9170_flush_cab.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function diff_opt_binary
_diff_opt_binary: ## @diff_opt_binary
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq (%rdi), %rbx
movl %edx, %edi
callq _BUG_ON_OPT_NEG
movq %r14, %rdi
callq _BUG_ON_OPT_ARG
leaq 4(%rbx), %rdi
callq _enable_patch_output
movl $1, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _diff_opt_binary
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function diff_opt_binary
_diff_opt_binary: ; @diff_opt_binary
.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 x20, [x0]
mov x0, x2
bl _BUG_ON_OPT_NEG
mov x0, x19
bl _BUG_ON_OPT_ARG
add x0, x20, #4
bl _enable_patch_output
mov w8, #1
str w8, [x20]
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
.no_dead_strip _diff_opt_binary
.subsections_via_symbols
| AnghaBench/git/extr_diff.c_diff_opt_binary.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _outTidPath
__outTidPath: ## @_outTidPath
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movl %edi, %ebx
leaq L_.str(%rip), %rdi
callq _WRITE_NODE_TYPE
movl %ebx, %edi
movq %r14, %rsi
callq __outPathInfo
movq _tidquals@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbx
popq %r14
popq %rbp
jmp _WRITE_NODE_FIELD ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TIDPATH"
.comm _tidquals,4,2 ## @tidquals
.no_dead_strip __outTidPath
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _outTidPath
__outTidPath: ; @_outTidPath
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _WRITE_NODE_TYPE
mov x0, x20
mov x1, x19
bl __outPathInfo
Lloh2:
adrp x8, _tidquals@GOTPAGE
Lloh3:
ldr x8, [x8, _tidquals@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _WRITE_NODE_FIELD
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TIDPATH"
.comm _tidquals,4,2 ; @tidquals
.no_dead_strip __outTidPath
.subsections_via_symbols
| AnghaBench/postgres/src/backend/nodes/extr_outfuncs.c__outTidPath.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isicom_tiocmset
_isicom_tiocmset: ## @isicom_tiocmset
.cfi_startproc
## %bb.0:
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
movl %edx, %r15d
movq 8(%rdi), %rbx
movl (%rdi), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
callq _isicom_paranoia_check
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_11
LBB0_2:
movq (%rbx), %rdi
callq _spin_lock_irqsave
movq _TIOCM_RTS@GOTPCREL(%rip), %r12
testl %r15d, (%r12)
je LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _raise_rts
LBB0_4:
movq _TIOCM_DTR@GOTPCREL(%rip), %r13
testl %r15d, (%r13)
je LBB0_6
## %bb.5:
movq %rbx, %rdi
callq _raise_dtr
LBB0_6:
testl %r14d, (%r12)
je LBB0_8
## %bb.7:
movq %rbx, %rdi
callq _drop_rts
LBB0_8:
testl %r14d, (%r13)
je LBB0_10
## %bb.9:
movq %rbx, %rdi
callq _drop_dtr
LBB0_10:
movq (%rbx), %rdi
callq _spin_unlock_irqrestore
xorl %eax, %eax
LBB0_11:
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 "isicom_ioctl"
.comm _ENODEV,4,2 ## @ENODEV
.comm _TIOCM_RTS,4,2 ## @TIOCM_RTS
.comm _TIOCM_DTR,4,2 ## @TIOCM_DTR
.no_dead_strip _isicom_tiocmset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isicom_tiocmset
_isicom_tiocmset: ; @isicom_tiocmset
.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
ldr x19, [x0, #8]
ldr w1, [x0]
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _isicom_paranoia_check
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _ENODEV@GOTPAGE
Lloh3:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
b LBB0_11
LBB0_2:
ldr x0, [x19]
bl _spin_lock_irqsave
Lloh5:
adrp x22, _TIOCM_RTS@GOTPAGE
Lloh6:
ldr x22, [x22, _TIOCM_RTS@GOTPAGEOFF]
ldr w8, [x22]
tst w8, w21
b.eq LBB0_4
; %bb.3:
mov x0, x19
bl _raise_rts
LBB0_4:
Lloh7:
adrp x23, _TIOCM_DTR@GOTPAGE
Lloh8:
ldr x23, [x23, _TIOCM_DTR@GOTPAGEOFF]
ldr w8, [x23]
tst w8, w21
b.eq LBB0_6
; %bb.5:
mov x0, x19
bl _raise_dtr
LBB0_6:
ldr w8, [x22]
tst w8, w20
b.eq LBB0_8
; %bb.7:
mov x0, x19
bl _drop_rts
LBB0_8:
ldr w8, [x23]
tst w8, w20
b.eq LBB0_10
; %bb.9:
mov x0, x19
bl _drop_dtr
LBB0_10:
ldr x0, [x19]
bl _spin_unlock_irqrestore
mov w0, #0
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "isicom_ioctl"
.comm _ENODEV,4,2 ; @ENODEV
.comm _TIOCM_RTS,4,2 ; @TIOCM_RTS
.comm _TIOCM_DTR,4,2 ; @TIOCM_DTR
.no_dead_strip _isicom_tiocmset
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/char/extr_isicom.c_isicom_tiocmset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SystemToUINT64 ## -- Begin function SystemToUINT64
.p2align 4, 0x90
_SystemToUINT64: ## @SystemToUINT64
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq %rdi, %rbx
callq _SystemToTime
cmpq $32400000, %rax ## imm = 0x1EE6280
jge LBB0_4
LBB0_3:
xorl %eax, %eax
jmp LBB0_5
LBB0_4:
imulq $1000, %rax, %rax ## imm = 0x3E8
movq (%rbx), %rcx
addq %rcx, %rax
addq $-32400000, %rax ## imm = 0xFE119D80
LBB0_5:
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 _SystemToUINT64 ; -- Begin function SystemToUINT64
.p2align 2
_SystemToUINT64: ; @SystemToUINT64
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
bl _SystemToTime
mov w8, #25216
movk w8, #494, lsl #16
cmp x0, x8
b.ge LBB0_3
; %bb.2:
mov x0, #0
b LBB0_4
LBB0_3:
mov w8, #1000
ldr x9, [x19]
madd x8, x0, x8, x9
mov x9, #-25216
movk x9, #65041, lsl #16
add x0, x8, x9
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Kernel.c_SystemToUINT64.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mz_zip_reader_entry_get_info ## -- Begin function mz_zip_reader_entry_get_info
.p2align 4, 0x90
_mz_zip_reader_entry_get_info: ## @mz_zip_reader_entry_get_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r15
movq _MZ_OK@GOTPCREL(%rip), %r12
movq (%r12), %r14
callq _mz_zip_reader_is_open
cmpq (%r12), %rax
jne LBB0_2
## %bb.3:
movq (%r15), %rax
movq %rax, (%rbx)
testq %rax, %rax
jne LBB0_6
## %bb.4:
movq _MZ_EXIST_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_2:
movq _MZ_PARAM_ERROR@GOTPCREL(%rip), %rax
LBB0_5:
movq (%rax), %r14
LBB0_6:
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MZ_OK,8,3 ## @MZ_OK
.comm _MZ_PARAM_ERROR,8,3 ## @MZ_PARAM_ERROR
.comm _MZ_EXIST_ERROR,8,3 ## @MZ_EXIST_ERROR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mz_zip_reader_entry_get_info ; -- Begin function mz_zip_reader_entry_get_info
.p2align 2
_mz_zip_reader_entry_get_info: ; @mz_zip_reader_entry_get_info
.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
cbz x1, LBB0_3
; %bb.1:
mov x19, x1
mov x20, x0
Lloh0:
adrp x22, _MZ_OK@GOTPAGE
Lloh1:
ldr x22, [x22, _MZ_OK@GOTPAGEOFF]
ldr x21, [x22]
bl _mz_zip_reader_is_open
ldr x8, [x22]
cmp x0, x8
b.ne LBB0_3
; %bb.2:
ldr x8, [x20]
str x8, [x19]
Lloh2:
adrp x9, _MZ_EXIST_ERROR@GOTPAGE
Lloh3:
ldr x9, [x9, _MZ_EXIST_ERROR@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, #0
csel x0, x9, x21, eq
b LBB0_4
LBB0_3:
Lloh5:
adrp x8, _MZ_PARAM_ERROR@GOTPAGE
Lloh6:
ldr x8, [x8, _MZ_PARAM_ERROR@GOTPAGEOFF]
Lloh7:
ldr x0, [x8]
LBB0_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MZ_OK,8,3 ; @MZ_OK
.comm _MZ_PARAM_ERROR,8,3 ; @MZ_PARAM_ERROR
.comm _MZ_EXIST_ERROR,8,3 ; @MZ_EXIST_ERROR
.subsections_via_symbols
| AnghaBench/ZipArchive/SSZipArchive/minizip/extr_mz_zip_rw.c_mz_zip_reader_entry_get_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vertical_compose97iL0
_vertical_compose97iL0: ## @vertical_compose97iL0
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testl %ecx, %ecx
jle LBB0_13
## %bb.1:
movl %ecx, %r12d
cmpl $4, %ecx
jae LBB0_3
## %bb.2:
xorl %r8d, %r8d
jmp LBB0_11
LBB0_3:
leaq (%rsi,%r12,4), %rax
movq _W_BM@GOTPCREL(%rip), %rbx
leaq 4(%rbx), %rcx
cmpq %rcx, %rsi
setb -43(%rbp) ## 1-byte Folded Spill
cmpq %rbx, %rax
seta %r10b
leaq (%rdi,%r12,4), %rcx
cmpq %rsi, %rcx
seta %r9b
cmpq %rdi, %rax
seta %r15b
leaq (%rdx,%r12,4), %rbx
cmpq %rsi, %rbx
seta %r11b
cmpq %rdx, %rax
seta -42(%rbp) ## 1-byte Folded Spill
movq _W_BO@GOTPCREL(%rip), %rcx
leaq 4(%rcx), %rbx
cmpq %rbx, %rsi
setb %r14b
cmpq %rcx, %rax
seta -41(%rbp) ## 1-byte Folded Spill
movq _W_BS@GOTPCREL(%rip), %rcx
leaq 4(%rcx), %rbx
cmpq %rbx, %rsi
setb %r13b
cmpq %rcx, %rax
seta %al
xorl %r8d, %r8d
testb %r10b, -43(%rbp) ## 1-byte Folded Reload
jne LBB0_11
## %bb.4:
andb %r15b, %r9b
jne LBB0_11
## %bb.5:
andb -42(%rbp), %r11b ## 1-byte Folded Reload
jne LBB0_11
## %bb.6:
andb -41(%rbp), %r14b ## 1-byte Folded Reload
jne LBB0_11
## %bb.7:
andb %al, %r13b
jne LBB0_11
## %bb.8:
movq %rcx, %rbx
movl %r12d, %r8d
andl $-4, %r8d
movq _W_BM@GOTPCREL(%rip), %rax
movd (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0]
movq _W_BO@GOTPCREL(%rip), %rax
movd (%rax), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pshufd $0, %xmm1, %xmm1 ## xmm1 = xmm1[0,0,0,0]
movd (%rcx), %xmm2 ## xmm2 = mem[0],zero,zero,zero
leaq (,%r12,4), %r9
andq $-16, %r9
xorl %ecx, %ecx
pmovzxdq %xmm2, %xmm2 ## xmm2 = xmm2[0],zero,xmm2[1],zero
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movdqu (%rdi,%rcx), %xmm3
movdqu (%rdx,%rcx), %xmm4
paddd %xmm3, %xmm4
pmulld %xmm0, %xmm4
movdqu (%rsi,%rcx), %xmm3
movdqa %xmm3, %xmm5
pslld $2, %xmm5
paddd %xmm4, %xmm5
paddd %xmm1, %xmm5
psrad %xmm2, %xmm5
paddd %xmm3, %xmm5
movdqu %xmm5, (%rsi,%rcx)
addq $16, %rcx
cmpq %rcx, %r9
jne LBB0_9
## %bb.10:
cmpq %r12, %r8
je LBB0_13
LBB0_11:
movq _W_BM@GOTPCREL(%rip), %r9
movq _W_BO@GOTPCREL(%rip), %r10
movq _W_BS@GOTPCREL(%rip), %r11
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl (%rdx,%r8,4), %ecx
addl (%rdi,%r8,4), %ecx
imull (%r9), %ecx
movl (%rsi,%r8,4), %ebx
leal (%rcx,%rbx,4), %eax
addl (%r10), %eax
movzbl (%r11), %ecx
sarl %cl, %eax
addl %ebx, %eax
movl %eax, (%rsi,%r8,4)
incq %r8
cmpq %r8, %r12
jne LBB0_12
LBB0_13:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _W_BM,4,2 ## @W_BM
.comm _W_BO,4,2 ## @W_BO
.comm _W_BS,4,2 ## @W_BS
.no_dead_strip _vertical_compose97iL0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vertical_compose97iL0
_vertical_compose97iL0: ; @vertical_compose97iL0
.cfi_startproc
; %bb.0:
cmp w3, #1
b.lt LBB0_13
; %bb.1:
Lloh0:
adrp x8, _W_BM@GOTPAGE
Lloh1:
ldr x8, [x8, _W_BM@GOTPAGEOFF]
mov w11, w3
Lloh2:
adrp x9, _W_BO@GOTPAGE
Lloh3:
ldr x9, [x9, _W_BO@GOTPAGEOFF]
Lloh4:
adrp x10, _W_BS@GOTPAGE
Lloh5:
ldr x10, [x10, _W_BS@GOTPAGEOFF]
cmp w3, #16
b.hs LBB0_3
; %bb.2:
mov x12, #0
b LBB0_11
LBB0_3:
mov x12, #0
lsl x14, x11, #2
add x17, x1, x14
add x13, x0, x14
cmp x13, x1
ccmp x17, x0, #0, hi
cset w13, hi
add x14, x2, x14
cmp x14, x1
ccmp x17, x2, #0, hi
cset w14, hi
add x15, x9, #4
cmp x1, x15
ccmp x17, x9, #0, lo
cset w15, hi
add x16, x10, #4
cmp x1, x16
ccmp x17, x10, #0, lo
cset w16, hi
cmp x17, x8
add x17, x8, #4
ccmp x1, x17, #2, hi
b.lo LBB0_11
; %bb.4:
tbnz w13, #0, LBB0_11
; %bb.5:
tbnz w14, #0, LBB0_11
; %bb.6:
tbnz w15, #0, LBB0_11
; %bb.7:
tbnz w16, #0, LBB0_11
; %bb.8:
ld1r.4s { v0 }, [x8]
ld1r.4s { v1 }, [x9]
ld1r.4s { v2 }, [x10]
and x12, x11, #0xfffffff0
add x13, x1, #32
add x14, x0, #32
add x15, x2, #32
neg.4s v2, v2
mov x16, x12
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldp q3, q4, [x14, #-32]
ldp q5, q6, [x14], #64
ldp q7, q16, [x15, #-32]
ldp q17, q18, [x15], #64
add.4s v3, v7, v3
add.4s v4, v16, v4
add.4s v5, v17, v5
add.4s v6, v18, v6
ldp q7, q16, [x13, #-32]
ldp q17, q18, [x13]
shl.4s v19, v7, #2
shl.4s v20, v16, #2
shl.4s v21, v17, #2
shl.4s v22, v18, #2
mla.4s v19, v3, v0
mla.4s v20, v4, v0
mla.4s v21, v5, v0
mla.4s v22, v6, v0
add.4s v3, v19, v1
add.4s v4, v20, v1
add.4s v5, v21, v1
add.4s v6, v22, v1
sshl.4s v3, v3, v2
sshl.4s v4, v4, v2
sshl.4s v5, v5, v2
sshl.4s v6, v6, v2
add.4s v3, v3, v7
add.4s v4, v4, v16
add.4s v5, v5, v17
add.4s v6, v6, v18
stp q3, q4, [x13, #-32]
stp q5, q6, [x13], #64
subs x16, x16, #16
b.ne LBB0_9
; %bb.10:
cmp x12, x11
b.eq LBB0_13
LBB0_11:
lsl x15, x12, #2
add x13, x1, x15
add x14, x2, x15
add x15, x0, x15
sub x11, x11, x12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w12, [x8]
ldr w16, [x15], #4
ldr w17, [x14], #4
add w16, w17, w16
mul w12, w16, w12
ldr w16, [x13]
add w12, w12, w16, lsl #2
ldr w17, [x9]
add w12, w12, w17
ldr w17, [x10]
asr w12, w12, w17
add w12, w12, w16
str w12, [x13], #4
subs x11, x11, #1
b.ne LBB0_12
LBB0_13:
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _W_BM,4,2 ; @W_BM
.comm _W_BO,4,2 ; @W_BO
.comm _W_BS,4,2 ; @W_BS
.no_dead_strip _vertical_compose97iL0
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_snow_dwt.c_vertical_compose97iL0.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.byte 49 ## 0x31
.byte 49 ## 0x31
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_1:
.long 1 ## 0x1
.long 1 ## 0x1
.space 4
.space 4
LCPI0_2:
.byte 49 ## 0x31
.byte 49 ## 0x31
.byte 49 ## 0x31
.byte 49 ## 0x31
.byte 49 ## 0x31
.byte 49 ## 0x31
.byte 49 ## 0x31
.byte 49 ## 0x31
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
LCPI0_3:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.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 $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 -68(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -68(%rbp)
jle LBB0_4
## %bb.1:
leaq L_.str.1(%rip), %r12
leaq -58(%rbp), %rbx
leaq L_.str.2(%rip), %r13
xorl %r14d, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
pxor %xmm1, %xmm1
pxor %xmm5, %xmm5
pxor %xmm4, %xmm4
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = <1,1,u,u>
movdqa LCPI0_3(%rip), %xmm3 ## xmm3 = [1,1,1,1]
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
pand %xmm2, %xmm4
pand %xmm3, %xmm1
pand %xmm3, %xmm5
paddd %xmm1, %xmm5
pshufd $238, %xmm5, %xmm0 ## xmm0 = xmm5[2,3,2,3]
paddd %xmm5, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
pextrd $1, %xmm4, %eax
movd %xmm1, %ecx
addl %ecx, %eax
movd %xmm4, %esi
addl %eax, %esi
movq %r13, %rdi
xorl %eax, %eax
callq _printf
incl %r14d
cmpl -68(%rbp), %r14d
jge LBB0_4
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
leaq L_.str(%rip), %rdi
leaq -64(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -64(%rbp)
jle LBB0_3
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
xorps %xmm1, %xmm1
xorl %r15d, %r15d
xorps %xmm5, %xmm5
xorps %xmm4, %xmm4
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movaps %xmm5, -96(%rbp) ## 16-byte Spill
movaps %xmm1, -112(%rbp) ## 16-byte Spill
movaps %xmm4, -128(%rbp) ## 16-byte Spill
callq _getchar
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movdqa -96(%rbp), %xmm5 ## 16-byte Reload
movdqa -128(%rbp), %xmm4 ## 16-byte Reload
movdqa LCPI0_3(%rip), %xmm3 ## xmm3 = [1,1,1,1]
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = <1,1,u,u>
movzwl -58(%rbp), %eax
movd %eax, %xmm0
pcmpeqb LCPI0_0(%rip), %xmm0
pmovzxbd %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero
pand %xmm2, %xmm0
paddd %xmm0, %xmm4
movq -56(%rbp), %xmm0 ## xmm0 = mem[0],zero
pcmpeqb LCPI0_2(%rip), %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
pmovzxbd %xmm1, %xmm1 ## xmm1 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero
pand %xmm3, %xmm1
paddd %xmm1, %xmm5
movdqa -112(%rbp), %xmm1 ## 16-byte Reload
pmovzxbd %xmm0, %xmm0 ## xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero
pand %xmm3, %xmm0
paddd %xmm0, %xmm1
incl %r15d
cmpl -64(%rbp), %r15d
jl LBB0_7
jmp LBB0_8
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.5:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%s"
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:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp d9, d8, [sp, #80] ; 16-byte Folded Spill
stp x28, x27, [sp, #96] ; 16-byte Folded Spill
stp x26, x25, [sp, #112] ; 16-byte Folded Spill
stp x24, x23, [sp, #128] ; 16-byte Folded Spill
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
add x8, sp, #52
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #52]
cmp w8, #1
b.lt LBB0_7
; %bb.1:
mov w22, #0
add x23, sp, #48
Lloh5:
adrp x19, l_.str@PAGE
Lloh6:
add x19, x19, l_.str@PAGEOFF
add x24, sp, #56
Lloh7:
adrp x20, l_.str.1@PAGE
Lloh8:
add x20, x20, l_.str.1@PAGEOFF
movi.8b v8, #49
Lloh9:
adrp x21, l_.str.2@PAGE
Lloh10:
add x21, x21, l_.str.2@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov w26, #0
mov w25, #0
movi.2d v0, #0000000000000000
movi.2d v3, #0000000000000000
movi.4s v2, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
and.16b v0, v0, v2
and.16b v1, v3, v2
add.4s v0, v0, v1
addv.4s s0, v0
fmov w8, s0
and w9, w26, #0x1
and w10, w25, #0x1
add w8, w9, w8
add w8, w10, w8
str x8, [sp]
mov x0, x21
bl _printf
add w22, w22, #1
ldr w8, [sp, #52]
cmp w22, w8
b.ge LBB0_7
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
str x23, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #48]
cmp w8, #1
b.lt LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w26, #0
mov w25, #0
mov w27, #0
movi.2d v0, #0000000000000000
movi.2d v3, #0000000000000000
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
stp q3, q0, [sp, #16] ; 32-byte Folded Spill
bl _getchar
str x24, [sp]
mov x0, x20
bl _scanf
ldr q3, [sp, #16] ; 16-byte Folded Reload
movi.4s v2, #1
ldr d0, [sp, #56]
cmeq.8b v0, v0, v8
ushll.8h v0, v0, #0
ushll.4s v1, v0, #0
and.16b v1, v1, v2
ushll2.4s v0, v0, #0
and.16b v0, v0, v2
add.4s v3, v3, v0
ldr q0, [sp, #32] ; 16-byte Folded Reload
add.4s v0, v0, v1
ldrb w8, [sp, #64]
cmp w8, #49
cinc w26, w26, eq
ldrb w8, [sp, #65]
cmp w8, #49
cinc w25, w25, eq
add w27, w27, #1
ldr w8, [sp, #48]
cmp w27, w8
b.lt LBB0_6
b LBB0_3
LBB0_7:
ldr x8, [sp, #72]
Lloh11:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh12:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_9
; %bb.8:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
ldp x24, x23, [sp, #128] ; 16-byte Folded Reload
ldp x26, x25, [sp, #112] ; 16-byte Folded Reload
ldp x28, x27, [sp, #96] ; 16-byte Folded Reload
ldp d9, d8, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_9:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/842455.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_class_statistics ## -- Begin function print_class_statistics
.p2align 4, 0x90
_print_class_statistics: ## @print_class_statistics
.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
.comm _n_compute_conversion_costs,4,2 ## @n_compute_conversion_costs
.comm _n_convert_harshness,4,2 ## @n_convert_harshness
.comm _n_vtable_elems,4,2 ## @n_vtable_elems
.comm _n_vtable_entries,4,2 ## @n_vtable_entries
.comm _n_vtable_searches,4,2 ## @n_vtable_searches
.comm _n_vtables,4,2 ## @n_vtables
.comm _stderr,4,2 ## @stderr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print_class_statistics ; -- Begin function print_class_statistics
.p2align 2
_print_class_statistics: ; @print_class_statistics
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.comm _n_compute_conversion_costs,4,2 ; @n_compute_conversion_costs
.comm _n_convert_harshness,4,2 ; @n_convert_harshness
.comm _n_vtable_elems,4,2 ; @n_vtable_elems
.comm _n_vtable_entries,4,2 ; @n_vtable_entries
.comm _n_vtable_searches,4,2 ; @n_vtable_searches
.comm _n_vtables,4,2 ; @n_vtables
.comm _stderr,4,2 ; @stderr
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/cp/extr_class.c_print_class_statistics.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $1080, %rsp ## imm = 0x438
.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)
movl $16, -1092(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -1088(%rbp)
movl $2, %edi
movl $2, %esi
xorl %edx, %edx
callq _socket
movl %eax, %ebx
xorps %xmm0, %xmm0
movaps %xmm0, -1072(%rbp)
movb $2, -1071(%rbp)
movw $-11772, -1070(%rbp) ## imm = 0xD204
leaq -1072(%rbp), %rsi
movl %eax, %edi
movl $16, %edx
callq _bind
testl %eax, %eax
js LBB0_3
## %bb.1:
leaq -1056(%rbp), %r14
leaq -1088(%rbp), %r15
leaq -1092(%rbp), %r9
movl $1024, %edx ## imm = 0x400
movl %ebx, %edi
movq %r14, %rsi
xorl %ecx, %ecx
movq %r15, %r8
callq _recvfrom
movslq %eax, %rdx
movl -1092(%rbp), %r9d
movl %ebx, %edi
movq %r14, %rsi
xorl %ecx, %ecx
movq %r15, %r8
callq _sendto
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_4
## %bb.2:
xorl %eax, %eax
addq $1080, %rsp ## imm = 0x438
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movl $1, %edi
callq _exit
LBB0_4:
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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w27, -40
.cfi_offset w28, -48
sub sp, sp, #1072
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
mov w8, #16
str w8, [sp, #4]
stp xzr, xzr, [sp, #8]
mov w20, #2
mov w0, #2
mov w1, #2
mov w2, #0
bl _socket
mov x19, x0
stp xzr, xzr, [sp, #24]
strb w20, [sp, #25]
mov w8, #53764
strh w8, [sp, #26]
add x1, sp, #24
mov w2, #16
bl _bind
tbnz w0, #31, LBB0_3
; %bb.1:
add x1, sp, #40
add x4, sp, #8
add x5, sp, #4
mov x0, x19
mov w2, #1024
mov w3, #0
bl _recvfrom
sxtw x2, w0
ldr w5, [sp, #4]
add x1, sp, #40
add x4, sp, #8
mov x0, x19
mov w3, #0
bl _sendto
ldur x8, [x29, #-40]
Lloh3:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh4:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_4
; %bb.2:
mov w0, #0
add sp, sp, #1072
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_3:
mov w0, #1
bl _exit
LBB0_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/3263648.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thrfunc ## -- Begin function thrfunc
.p2align 4, 0x90
_thrfunc: ## @thrfunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movq %r14, %rdx
xorl %eax, %eax
callq _fprintf
movq _number_characters@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_3
## %bb.1:
leaq _mut(%rip), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _pthread_mutex_lock
movl $1, %edx
movl $2, %edi
movq %r14, %rsi
callq _write
decl (%r15)
movq %rbx, %rdi
callq _pthread_mutex_unlock
cmpl $0, (%r15)
jg LBB0_2
LBB0_3:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq _number_characters@GOTPCREL(%rip), %rax
movl $50000, (%rax) ## imm = 0xC350
leaq _thrfunc(%rip), %rbx
leaq L_.str.1(%rip), %rcx
leaq -24(%rbp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
leaq L_.str.2(%rip), %rcx
leaq -16(%rbp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq _pthread_create
movq -24(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movq -16(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
movl $10, %edi
callq _putchar
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _mut ## @mut
.p2align 3
_mut:
.quad 850045863 ## 0x32aaaba7
.space 56
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Starting thread %s\n"
.comm _number_characters,4,2 ## @number_characters
L_.str.1: ## @.str.1
.asciz "a"
L_.str.2: ## @.str.2
.asciz "b"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _thrfunc ; -- Begin function thrfunc
.p2align 2
_thrfunc: ; @thrfunc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, ___stderrp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
str x19, [sp]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
Lloh5:
adrp x21, _number_characters@GOTPAGE
Lloh6:
ldr x21, [x21, _number_characters@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
Lloh7:
adrp x20, _mut@PAGE
Lloh8:
add x20, x20, _mut@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _pthread_mutex_lock
mov w0, #2
mov x1, x19
mov w2, #1
bl _write
ldr w8, [x21]
sub w8, w8, #1
str w8, [x21]
mov x0, x20
bl _pthread_mutex_unlock
ldr w8, [x21]
cmp w8, #0
b.gt LBB0_2
LBB0_3:
mov x0, #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 AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh9:
adrp x8, _number_characters@GOTPAGE
Lloh10:
ldr x8, [x8, _number_characters@GOTPAGEOFF]
mov w9, #50000
Lloh11:
str w9, [x8]
Lloh12:
adrp x19, _thrfunc@PAGE
Lloh13:
add x19, x19, _thrfunc@PAGEOFF
Lloh14:
adrp x3, l_.str.1@PAGE
Lloh15:
add x3, x3, l_.str.1@PAGEOFF
add x0, sp, #8
mov x1, #0
mov x2, x19
bl _pthread_create
Lloh16:
adrp x3, l_.str.2@PAGE
Lloh17:
add x3, x3, l_.str.2@PAGEOFF
mov x0, sp
mov x1, #0
mov x2, x19
bl _pthread_create
ldr x0, [sp, #8]
mov x1, #0
bl _pthread_join
ldr x0, [sp]
mov x1, #0
bl _pthread_join
mov w0, #10
bl _putchar
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotStr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _mut ; @mut
.p2align 3
_mut:
.quad 850045863 ; 0x32aaaba7
.space 56
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Starting thread %s\n"
.comm _number_characters,4,2 ; @number_characters
l_.str.1: ; @.str.1
.asciz "a"
l_.str.2: ; @.str.2
.asciz "b"
.subsections_via_symbols
| the_stack_data/842474.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _object_cmp ## -- Begin function object_cmp
.p2align 4, 0x90
_object_cmp: ## @object_cmp
.cfi_startproc
## %bb.0:
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, %r12d
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
movl (%rdi), %edi
callq _GET_USER_RATING_STATE
cmpl $1, %eax
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq _user_get_object_rating
movl (%rax), %r13d
movq %rbx, %rdi
movl %r14d, %esi
movl %r12d, %edx
callq _user_get_object_rating
movl (%rax), %esi
movl %r13d, %edi
callq _rating_cmp
testl %eax, %eax
jne LBB0_3
LBB0_2:
movq %rbx, %rdi
movl %r15d, %esi
callq _user_get_object_type_id
movq %rax, %r15
movq %rbx, %rdi
movl %r14d, %esi
callq _user_get_object_type_id
xorl %ecx, %ecx
cmpq %rax, %r15
setg %cl
negl %ecx
cmpq %rax, %r15
movl $1, %eax
cmovgel %ecx, %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _object_cmp ; -- Begin function object_cmp
.p2align 2
_object_cmp: ; @object_cmp
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x3
mov x19, x2
mov x21, x1
mov x20, x0
ldr w0, [x0]
bl _GET_USER_RATING_STATE
cmp w0, #1
b.ne LBB0_2
; %bb.1:
mov x0, x20
mov x1, x21
mov x2, x22
bl _user_get_object_rating
ldr w23, [x0]
mov x0, x20
mov x1, x19
mov x2, x22
bl _user_get_object_rating
ldr w1, [x0]
mov x0, x23
bl _rating_cmp
cbnz w0, LBB0_3
LBB0_2:
mov x0, x20
mov x1, x21
bl _user_get_object_type_id
mov x21, x0
mov x0, x20
mov x1, x19
bl _user_get_object_type_id
cmp x21, x0
csetm w8, gt
csinc w0, w8, wzr, ge
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/kphp-kdb/hints/extr_hints-data.c_object_cmp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_sqrt ## -- Begin function ft_sqrt
.p2align 4, 0x90
_ft_sqrt: ## @ft_sqrt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
js LBB0_1
## %bb.2:
movl %edi, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl %ecx, %eax
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %ecx, %edx
imull %ecx, %edx
cmpl %eax, %edx
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
incl %ecx
cmpl %eax, %edx
jle LBB0_3
## %bb.6:
addl $-2, %ecx
LBB0_7:
movl %ecx, %eax
LBB0_8:
popq %rbp
retq
LBB0_1:
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 _ft_sqrt ; -- Begin function ft_sqrt
.p2align 2
_ft_sqrt: ; @ft_sqrt
.cfi_startproc
; %bb.0:
tbnz w0, #31, LBB0_7
; %bb.1:
mov w8, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp w0, w8
b.eq LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mul w9, w8, w8
cmp w9, w0
b.eq LBB0_8
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add w8, w8, #1
b.le LBB0_2
; %bb.5:
sub w0, w8, #2
LBB0_6:
ret
LBB0_7:
mov w0, #-1
ret
LBB0_8:
mov x0, x8
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/759172.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_sig_seg
_set_sig_seg: ## @set_sig_seg
.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 _calc_sig
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _set_sig_seg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_sig_seg
_set_sig_seg: ; @set_sig_seg
.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 _calc_sig
str w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _set_sig_seg
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/hw/mlx5/extr_qp.c_set_sig_seg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff147ae147ae148 ## double 1.0800000000000001
LCPI0_1:
.quad 0x3ff2666666666666 ## double 1.1499999999999999
LCPI0_2:
.quad 0x3ff1eb851eb851ec ## double 1.1200000000000001
LCPI0_3:
.quad 0x3ff11eb851eb851f ## double 1.0700000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_str(%rip), %rdi
callq _puts
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq -3(%rbp), %rdi
movl $3, %esi
callq _fgets
leaq L_str.9(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movzwl -3(%rbp), %eax
xorl $18253, %eax ## imm = 0x474D
movzbl -1(%rbp), %ecx
orw %ax, %cx
je LBB0_1
## %bb.3:
movzwl -3(%rbp), %eax
xorl $20563, %eax ## imm = 0x5053
movzbl -1(%rbp), %ecx
orw %ax, %cx
je LBB0_4
## %bb.5:
movzwl -3(%rbp), %eax
xorl $19026, %eax ## imm = 0x4A52
movzbl -1(%rbp), %ecx
orw %ax, %cx
je LBB0_6
## %bb.7:
movzwl -3(%rbp), %eax
xorl $21325, %eax ## imm = 0x534D
movzbl -1(%rbp), %ecx
orw %ax, %cx
je LBB0_8
## %bb.9:
leaq L_str.10(%rip), %rdi
callq _puts
jmp LBB0_10
LBB0_1:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_3(%rip), %xmm0
jmp LBB0_2
LBB0_4:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_2(%rip), %xmm0
jmp LBB0_2
LBB0_6:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_1(%rip), %xmm0
jmp LBB0_2
LBB0_8:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
mulsd LCPI0_0(%rip), %xmm0
LBB0_2:
leaq L_.str.4(%rip), %rdi
movb $1, %al
callq _printf
LBB0_10:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "%g"
L_.str.3: ## @.str.3
.asciz "MG"
L_.str.4: ## @.str.4
.asciz "Pre\303\247o final: %g\n"
L_.str.5: ## @.str.5
.asciz "SP"
L_.str.6: ## @.str.6
.asciz "RJ"
L_.str.7: ## @.str.7
.asciz "MS"
L_str: ## @str
.asciz "Insira o estado (MAIUSCULO)."
L_str.9: ## @str.9
.asciz "Insira o valor"
L_str.10: ## @str.10
.asciz "NO"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh2:
adrp x8, ___stdinp@GOTPAGE
Lloh3:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh4:
ldr x2, [x8]
sub x0, x29, #3
mov w1, #3
bl _fgets
Lloh5:
adrp x0, l_str.9@PAGE
Lloh6:
add x0, x0, l_str.9@PAGEOFF
bl _puts
add x8, sp, #8
str x8, [sp]
Lloh7:
adrp x0, l_.str.2@PAGE
Lloh8:
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldurh w8, [x29, #-3]
mov w9, #18253
eor w8, w8, w9
ldurb w9, [x29, #-1]
orr w8, w8, w9
cbz w8, LBB0_5
; %bb.1:
ldurh w8, [x29, #-3]
mov w9, #20563
eor w8, w8, w9
ldurb w9, [x29, #-1]
orr w8, w8, w9
cbz w8, LBB0_6
; %bb.2:
ldurh w8, [x29, #-3]
mov w9, #19026
eor w8, w8, w9
ldurb w9, [x29, #-1]
orr w8, w8, w9
cbz w8, LBB0_7
; %bb.3:
ldurh w8, [x29, #-3]
mov w9, #21325
eor w8, w8, w9
ldurb w9, [x29, #-1]
orr w8, w8, w9
cbz w8, LBB0_8
; %bb.4:
Lloh9:
adrp x0, l_str.10@PAGE
Lloh10:
add x0, x0, l_str.10@PAGEOFF
bl _puts
b LBB0_11
LBB0_5:
ldr s0, [sp, #8]
fcvt d0, s0
mov x8, #34079
movk x8, #20971, lsl #16
movk x8, #7864, lsl #32
b LBB0_9
LBB0_6:
ldr s0, [sp, #8]
fcvt d0, s0
mov x8, #20972
movk x8, #7864, lsl #16
movk x8, #60293, lsl #32
b LBB0_9
LBB0_7:
ldr s0, [sp, #8]
fcvt d0, s0
mov x8, #7378697629483820646
movk x8, #16370, lsl #48
b LBB0_10
LBB0_8:
ldr s0, [sp, #8]
fcvt d0, s0
mov x8, #57672
movk x8, #5242, lsl #16
movk x8, #18350, lsl #32
LBB0_9:
movk x8, #16369, lsl #48
LBB0_10:
fmov d1, x8
fmul d0, d0, d1
str d0, [sp]
Lloh11:
adrp x0, l_.str.4@PAGE
Lloh12:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
LBB0_11:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "%g"
l_.str.3: ; @.str.3
.asciz "MG"
l_.str.4: ; @.str.4
.asciz "Pre\303\247o final: %g\n"
l_.str.5: ; @.str.5
.asciz "SP"
l_.str.6: ; @.str.6
.asciz "RJ"
l_.str.7: ; @.str.7
.asciz "MS"
l_str: ; @str
.asciz "Insira o estado (MAIUSCULO)."
l_str.9: ; @str.9
.asciz "Insira o valor"
l_str.10: ; @str.10
.asciz "NO"
.subsections_via_symbols
| the_stack_data/43356.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
leaq L_.str(%rip), %rdi
movl $112, %esi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.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 _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #112
str x8, [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
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/26700375.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nforce2_set_fsb
_nforce2_set_fsb: ## @nforce2_set_fsb
.cfi_startproc
## %bb.0:
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, %r12d
movl $0, -44(%rbp)
movq _max_fsb@GOTPCREL(%rip), %rax
cmpl %edi, (%rax)
jb LBB0_15
## %bb.1:
movq _NFORCE2_MIN_FSB@GOTPCREL(%rip), %rax
cmpl %r12d, (%rax)
ja LBB0_15
## %bb.2:
xorl %r14d, %r14d
xorl %edi, %edi
callq _nforce2_fsb_read
testl %eax, %eax
je LBB0_16
## %bb.3:
movl %eax, %r15d
movq _nforce2_dev@GOTPCREL(%rip), %r14
movl (%r14), %edi
movq _NFORCE2_PLLENABLE@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq -44(%rbp), %rdx
callq _pci_read_config_byte
cmpl $0, -44(%rbp)
jne LBB0_6
## %bb.4:
movl %r15d, %edi
callq _nforce2_calc_pll
testl %eax, %eax
js LBB0_20
## %bb.5:
movl %eax, %edi
callq _nforce2_write_pll
LBB0_6:
movl $1, -44(%rbp)
movl (%r14), %edi
movl (%rbx), %esi
movl $1, %edx
callq _pci_write_config_byte
xorl %r14d, %r14d
movl %r15d, %eax
subl %r12d, %eax
je LBB0_19
## %bb.7:
movq _max_fsb@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r15d
ja LBB0_14
## %bb.8:
movq _min_fsb@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r15d
jb LBB0_14
## %bb.9:
shrl $31, %eax
leal (%rax,%rax), %r13d
decl %r13d
leal (%r15,%rax,2), %ebx
decl %ebx
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
callq _nforce2_calc_pll
cmpl $-1, %eax
je LBB0_20
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movl %eax, %edi
callq _nforce2_write_pll
cmpl %ebx, %r12d
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movq _max_fsb@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
ja LBB0_14
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
leal (%rbx,%r13), %eax
movq _min_fsb@GOTPCREL(%rip), %rcx
cmpl (%rcx), %ebx
movl %eax, %ebx
jae LBB0_10
LBB0_14:
movl $64, -44(%rbp)
movq _nforce2_dev@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _NFORCE2_PLLADR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $64, %edx
callq _pci_write_config_byte
jmp LBB0_19
LBB0_15:
leaq L_.str(%rip), %rdi
xorl %r14d, %r14d
movl %r12d, %esi
xorl %eax, %eax
callq _pr_err
jmp LBB0_17
LBB0_16:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _pr_err
LBB0_17:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_18:
subl (%rax), %r14d
LBB0_19:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
jmp LBB0_18
.cfi_endproc
## -- End function
.comm _max_fsb,4,2 ## @max_fsb
.comm _NFORCE2_MIN_FSB,4,2 ## @NFORCE2_MIN_FSB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "FSB %d is out of range!\n"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz "Error while reading the FSB\n"
.comm _nforce2_dev,4,2 ## @nforce2_dev
.comm _NFORCE2_PLLENABLE,4,2 ## @NFORCE2_PLLENABLE
.comm _min_fsb,4,2 ## @min_fsb
.comm _NFORCE2_PLLADR,4,2 ## @NFORCE2_PLLADR
.comm _NFORCE2_DELAY,4,2 ## @NFORCE2_DELAY
.no_dead_strip _nforce2_set_fsb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nforce2_set_fsb
_nforce2_set_fsb: ; @nforce2_set_fsb
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
str wzr, [sp, #12]
Lloh0:
adrp x21, _max_fsb@GOTPAGE
Lloh1:
ldr x21, [x21, _max_fsb@GOTPAGEOFF]
ldr w8, [x21]
Lloh2:
adrp x9, _NFORCE2_MIN_FSB@GOTPAGE
Lloh3:
ldr x9, [x9, _NFORCE2_MIN_FSB@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
cmp w8, w0
ccmp w9, w0, #2, hs
b.ls LBB0_2
; %bb.1:
str x19, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
b LBB0_15
LBB0_2:
mov w0, #0
bl _nforce2_fsb_read
cbz w0, LBB0_14
; %bb.3:
mov x20, x0
Lloh7:
adrp x22, _nforce2_dev@GOTPAGE
Lloh8:
ldr x22, [x22, _nforce2_dev@GOTPAGEOFF]
ldr w0, [x22]
Lloh9:
adrp x23, _NFORCE2_PLLENABLE@GOTPAGE
Lloh10:
ldr x23, [x23, _NFORCE2_PLLENABLE@GOTPAGEOFF]
ldr w1, [x23]
add x2, sp, #12
bl _pci_read_config_byte
ldr w8, [sp, #12]
cbnz w8, LBB0_6
; %bb.4:
mov x0, x20
bl _nforce2_calc_pll
tbnz w0, #31, LBB0_16
; %bb.5:
bl _nforce2_write_pll
LBB0_6:
mov w8, #1
str w8, [sp, #12]
ldr w0, [x22]
ldr w1, [x23]
mov w2, #1
bl _pci_write_config_byte
subs w8, w20, w19
b.eq LBB0_13
; %bb.7:
ldr w9, [x21]
Lloh11:
adrp x23, _min_fsb@GOTPAGE
Lloh12:
ldr x23, [x23, _min_fsb@GOTPAGEOFF]
ldr w10, [x23]
cmp w20, w9
ccmp w20, w10, #0, ls
b.lo LBB0_12
; %bb.8:
cmp w8, #0
mov w8, #-1
cneg w24, w8, lt
add w20, w24, w20
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _nforce2_calc_pll
cmn w0, #1
b.eq LBB0_16
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
bl _nforce2_write_pll
cmp w19, w20
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [x21]
ldr w9, [x23]
cmp w20, w8
ccmp w20, w9, #0, ls
add w20, w20, w24
b.hs LBB0_9
LBB0_12:
mov w8, #64
str w8, [sp, #12]
ldr w0, [x22]
Lloh13:
adrp x8, _NFORCE2_PLLADR@GOTPAGE
Lloh14:
ldr x8, [x8, _NFORCE2_PLLADR@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
mov w2, #64
bl _pci_write_config_byte
LBB0_13:
mov w0, #0
b LBB0_17
LBB0_14:
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
LBB0_15:
bl _pr_err
LBB0_16:
Lloh18:
adrp x8, _EINVAL@GOTPAGE
Lloh19:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
neg w0, w8
LBB0_17:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _max_fsb,4,2 ; @max_fsb
.comm _NFORCE2_MIN_FSB,4,2 ; @NFORCE2_MIN_FSB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "FSB %d is out of range!\n"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz "Error while reading the FSB\n"
.comm _nforce2_dev,4,2 ; @nforce2_dev
.comm _NFORCE2_PLLENABLE,4,2 ; @NFORCE2_PLLENABLE
.comm _min_fsb,4,2 ; @min_fsb
.comm _NFORCE2_PLLADR,4,2 ; @NFORCE2_PLLADR
.comm _NFORCE2_DELAY,4,2 ; @NFORCE2_DELAY
.no_dead_strip _nforce2_set_fsb
.subsections_via_symbols
| AnghaBench/linux/drivers/cpufreq/extr_cpufreq-nforce2.c_nforce2_set_fsb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %esi
testb $3, %sil
jne LBB0_3
## %bb.1:
imull $-1030792151, %esi, %eax ## imm = 0xC28F5C29
addl $85899344, %eax ## imm = 0x51EB850
rorl $2, %eax
leaq L_.str.2(%rip), %rdi
cmpl $42949672, %eax ## imm = 0x28F5C28
ja LBB0_4
## %bb.2:
movslq %esi, %rax
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
movq %rax, %rcx
shrq $63, %rcx
sarq $39, %rax
addl %ecx, %eax
imull $400, %eax, %eax ## imm = 0x190
movl %esi, %ecx
subl %eax, %ecx
je LBB0_4
LBB0_3:
leaq L_.str.3(%rip), %rdi
LBB0_4:
xorl %eax, %eax
callq _printf
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "enter year:"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d is"
L_.str.3: ## @.str.3
.asciz "%d is not "
L_str: ## @str
.asciz " a lea::p year."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
tst w8, #0x3
b.ne LBB0_3
; %bb.1:
mov w9, #34079
movk w9, #20971, lsl #16
smull x9, w8, w9
lsr x10, x9, #63
asr x9, x9, #39
add w9, w9, w10
mov w10, #400
msub w9, w9, w10, w8
mov w10, #23593
movk w10, #49807, lsl #16
mov w11, #47184
movk w11, #1310, lsl #16
madd w10, w8, w10, w11
ror w10, w10, #2
mov w11, #23592
movk w11, #655, lsl #16
cmp w10, w11
ccmp w9, #0, #4, ls
b.ne LBB0_3
; %bb.2:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_4
LBB0_3:
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
LBB0_4:
str x8, [sp]
bl _printf
Lloh8:
adrp x0, l_str@PAGE
Lloh9:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "enter year:"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d is"
l_.str.3: ; @.str.3
.asciz "%d is not "
l_str: ; @str
.asciz " a lea::p year."
.subsections_via_symbols
| the_stack_data/159516563.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 %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rbx
leaq -16(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_str.4(%rip), %rdi
callq _puts
leaq -12(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -12(%rbp), %esi
imull -16(%rbp), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Area of the rectangle: %d"
L_str: ## @str
.asciz "Enter the length of the rectangle: "
L_str.4: ## @str.4
.asciz "Enter the breadth of the rectangle: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _scanf
Lloh4:
adrp x0, l_str.4@PAGE
Lloh5:
add x0, x0, l_str.4@PAGEOFF
bl _puts
add x8, sp, #8
str x8, [sp]
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #8]
mul w8, w9, w8
str x8, [sp]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Area of the rectangle: %d"
l_str: ; @str
.asciz "Enter the length of the rectangle: "
l_str.4: ; @str.4
.asciz "Enter the breadth of the rectangle: "
.subsections_via_symbols
| the_stack_data/192331422.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rs780_enable_voltage_scaling
_rs780_enable_voltage_scaling: ## @rs780_enable_voltage_scaling
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq %rsi, %rdi
callq _rs780_get_ps
movq %rax, %rbx
movq %r12, %rdi
callq _rs780_get_pi
movq %rax, %r14
movl $100, %edi
callq _udelay
movq (%rbx), %rsi
movq _RS780_VDDC_LEVEL_HIGH@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_2
## %bb.1:
cmpq %rsi, 8(%rbx)
jne LBB0_2
## %bb.9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %r12, %rdi
callq _rs780_get_voltage_for_vddc_level
movl %eax, %r15d
movq 8(%rbx), %rsi
movq %r12, %rdi
callq _rs780_get_voltage_for_vddc_level
movl %eax, %ebx
movq _GFX_MACRO_BYPASS_CNTL@GOTPCREL(%rip), %r12
movl (%r12), %edi
movq _SPLL_BYPASS_CNTL@GOTPCREL(%rip), %r13
movl (%r13), %esi
movl %esi, %edx
notl %edx
callq _WREG32_P
movl $1, %edi
callq _udelay
cmpl %ebx, %r15d
jbe LBB0_4
## %bb.3:
movq _FVTHROT_PWM_FEEDBACK_DIV_REG1@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _RANGE_PWM_FEEDBACK_DIV_EN@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %esi, %edx
notl %edx
callq _WREG32_P
movq _FVTHROT_PWM_CTRL_REG0@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _FORCE_STARTING_PWM_HIGHTIME@GOTPCREL(%rip), %rax
movl (%rax), %edx
notl %edx
xorl %esi, %esi
jmp LBB0_7
LBB0_4:
jne LBB0_8
## %bb.5:
cmpl %r15d, (%r14)
je LBB0_8
## %bb.6:
movq _FVTHROT_PWM_CTRL_REG0@GOTPCREL(%rip), %r14
movl (%r14), %ebx
movl %r15d, %edi
callq _STARTING_PWM_HIGHTIME
movq _STARTING_PWM_HIGHTIME_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
notl %edx
movl %ebx, %edi
movl %eax, %esi
callq _WREG32_P
movl (%r14), %edi
movq _FORCE_STARTING_PWM_HIGHTIME@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %esi, %edx
notl %edx
LBB0_7:
callq _WREG32_P
LBB0_8:
movl (%r12), %edi
movl (%r13), %edx
notl %edx
xorl %esi, %esi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _WREG32_P ## TAILCALL
.cfi_endproc
## -- End function
.comm _RS780_VDDC_LEVEL_HIGH,8,3 ## @RS780_VDDC_LEVEL_HIGH
.comm _GFX_MACRO_BYPASS_CNTL,4,2 ## @GFX_MACRO_BYPASS_CNTL
.comm _SPLL_BYPASS_CNTL,4,2 ## @SPLL_BYPASS_CNTL
.comm _FVTHROT_PWM_FEEDBACK_DIV_REG1,4,2 ## @FVTHROT_PWM_FEEDBACK_DIV_REG1
.comm _RANGE_PWM_FEEDBACK_DIV_EN,4,2 ## @RANGE_PWM_FEEDBACK_DIV_EN
.comm _FVTHROT_PWM_CTRL_REG0,4,2 ## @FVTHROT_PWM_CTRL_REG0
.comm _FORCE_STARTING_PWM_HIGHTIME,4,2 ## @FORCE_STARTING_PWM_HIGHTIME
.comm _STARTING_PWM_HIGHTIME_MASK,4,2 ## @STARTING_PWM_HIGHTIME_MASK
.no_dead_strip _rs780_enable_voltage_scaling
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rs780_enable_voltage_scaling
_rs780_enable_voltage_scaling: ; @rs780_enable_voltage_scaling
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x0
mov x0, x1
bl _rs780_get_ps
mov x22, x0
mov x0, x21
bl _rs780_get_pi
mov x19, x0
mov w0, #100
bl _udelay
ldr x1, [x22]
Lloh0:
adrp x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGE
Lloh1:
ldr x8, [x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x1, x8
b.ne LBB0_3
; %bb.1:
ldr x8, [x22, #8]
cmp x8, x1
b.ne LBB0_3
; %bb.2:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_3:
mov x0, x21
bl _rs780_get_voltage_for_vddc_level
mov x20, x0
ldr x1, [x22, #8]
mov x0, x21
bl _rs780_get_voltage_for_vddc_level
mov x21, x0
Lloh3:
adrp x22, _GFX_MACRO_BYPASS_CNTL@GOTPAGE
Lloh4:
ldr x22, [x22, _GFX_MACRO_BYPASS_CNTL@GOTPAGEOFF]
ldr w0, [x22]
Lloh5:
adrp x23, _SPLL_BYPASS_CNTL@GOTPAGE
Lloh6:
ldr x23, [x23, _SPLL_BYPASS_CNTL@GOTPAGEOFF]
ldr w1, [x23]
mvn w2, w1
bl _WREG32_P
mov w0, #1
bl _udelay
cmp w20, w21
b.ls LBB0_5
; %bb.4:
Lloh7:
adrp x8, _FVTHROT_PWM_FEEDBACK_DIV_REG1@GOTPAGE
Lloh8:
ldr x8, [x8, _FVTHROT_PWM_FEEDBACK_DIV_REG1@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
Lloh10:
adrp x8, _RANGE_PWM_FEEDBACK_DIV_EN@GOTPAGE
Lloh11:
ldr x8, [x8, _RANGE_PWM_FEEDBACK_DIV_EN@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
mvn w2, w1
bl _WREG32_P
Lloh13:
adrp x8, _FVTHROT_PWM_CTRL_REG0@GOTPAGE
Lloh14:
ldr x8, [x8, _FVTHROT_PWM_CTRL_REG0@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
Lloh16:
adrp x8, _FORCE_STARTING_PWM_HIGHTIME@GOTPAGE
Lloh17:
ldr x8, [x8, _FORCE_STARTING_PWM_HIGHTIME@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
mvn w2, w8
mov w1, #0
b LBB0_8
LBB0_5:
b.ne LBB0_9
; %bb.6:
ldr w8, [x19]
cmp w8, w20
b.eq LBB0_9
; %bb.7:
Lloh19:
adrp x21, _FVTHROT_PWM_CTRL_REG0@GOTPAGE
Lloh20:
ldr x21, [x21, _FVTHROT_PWM_CTRL_REG0@GOTPAGEOFF]
ldr w19, [x21]
mov x0, x20
bl _STARTING_PWM_HIGHTIME
mov x1, x0
Lloh21:
adrp x8, _STARTING_PWM_HIGHTIME_MASK@GOTPAGE
Lloh22:
ldr x8, [x8, _STARTING_PWM_HIGHTIME_MASK@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
mvn w2, w8
mov x0, x19
bl _WREG32_P
ldr w0, [x21]
Lloh24:
adrp x8, _FORCE_STARTING_PWM_HIGHTIME@GOTPAGE
Lloh25:
ldr x8, [x8, _FORCE_STARTING_PWM_HIGHTIME@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
mvn w2, w1
LBB0_8:
bl _WREG32_P
LBB0_9:
ldr w0, [x22]
ldr w8, [x23]
mvn w2, w8
mov w1, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _WREG32_P
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGot Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _RS780_VDDC_LEVEL_HIGH,8,3 ; @RS780_VDDC_LEVEL_HIGH
.comm _GFX_MACRO_BYPASS_CNTL,4,2 ; @GFX_MACRO_BYPASS_CNTL
.comm _SPLL_BYPASS_CNTL,4,2 ; @SPLL_BYPASS_CNTL
.comm _FVTHROT_PWM_FEEDBACK_DIV_REG1,4,2 ; @FVTHROT_PWM_FEEDBACK_DIV_REG1
.comm _RANGE_PWM_FEEDBACK_DIV_EN,4,2 ; @RANGE_PWM_FEEDBACK_DIV_EN
.comm _FVTHROT_PWM_CTRL_REG0,4,2 ; @FVTHROT_PWM_CTRL_REG0
.comm _FORCE_STARTING_PWM_HIGHTIME,4,2 ; @FORCE_STARTING_PWM_HIGHTIME
.comm _STARTING_PWM_HIGHTIME_MASK,4,2 ; @STARTING_PWM_HIGHTIME_MASK
.no_dead_strip _rs780_enable_voltage_scaling
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/radeon/extr_rs780_dpm.c_rs780_enable_voltage_scaling.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_websocket_client_stop ## -- Begin function esp_websocket_client_stop
.p2align 4, 0x90
_esp_websocket_client_stop: ## @esp_websocket_client_stop
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rbx
cmpl $0, (%rdi)
je LBB0_3
## %bb.4:
movl $0, (%rbx)
movl 8(%rbx), %edi
movq _STOPPED_BIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _portMAX_DELAY@GOTPCREL(%rip), %rax
movl (%rax), %r8d
xorl %edx, %edx
movl $1, %ecx
callq _xEventGroupWaitBits
movq _WEBSOCKET_STATE_UNKNOW@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movq _ESP_OK@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_1:
movq _ESP_ERR_INVALID_ARG@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_3:
movq _TAG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _ESP_LOGW
movq _ESP_FAIL@GOTPCREL(%rip), %rax
LBB0_5:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESP_ERR_INVALID_ARG,4,2 ## @ESP_ERR_INVALID_ARG
.comm _TAG,4,2 ## @TAG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Client was not started"
.comm _ESP_FAIL,4,2 ## @ESP_FAIL
.comm _STOPPED_BIT,4,2 ## @STOPPED_BIT
.comm _portMAX_DELAY,4,2 ## @portMAX_DELAY
.comm _WEBSOCKET_STATE_UNKNOW,4,2 ## @WEBSOCKET_STATE_UNKNOW
.comm _ESP_OK,4,2 ## @ESP_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _esp_websocket_client_stop ; -- Begin function esp_websocket_client_stop
.p2align 2
_esp_websocket_client_stop: ; @esp_websocket_client_stop
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
ldr w8, [x0]
cbz w8, LBB0_4
; %bb.2:
str wzr, [x19]
ldr w0, [x19, #8]
Lloh0:
adrp x8, _STOPPED_BIT@GOTPAGE
Lloh1:
ldr x8, [x8, _STOPPED_BIT@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, _portMAX_DELAY@GOTPAGE
Lloh4:
ldr x8, [x8, _portMAX_DELAY@GOTPAGEOFF]
Lloh5:
ldr w4, [x8]
mov w2, #0
mov w3, #1
bl _xEventGroupWaitBits
Lloh6:
adrp x8, _WEBSOCKET_STATE_UNKNOW@GOTPAGE
Lloh7:
ldr x8, [x8, _WEBSOCKET_STATE_UNKNOW@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
str w8, [x19, #4]
Lloh9:
adrp x8, _ESP_OK@GOTPAGE
Lloh10:
ldr x8, [x8, _ESP_OK@GOTPAGEOFF]
b LBB0_5
LBB0_3:
Lloh11:
adrp x8, _ESP_ERR_INVALID_ARG@GOTPAGE
Lloh12:
ldr x8, [x8, _ESP_ERR_INVALID_ARG@GOTPAGEOFF]
b LBB0_5
LBB0_4:
Lloh13:
adrp x8, _TAG@GOTPAGE
Lloh14:
ldr x8, [x8, _TAG@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
bl _ESP_LOGW
Lloh18:
adrp x8, _ESP_FAIL@GOTPAGE
Lloh19:
ldr x8, [x8, _ESP_FAIL@GOTPAGEOFF]
LBB0_5:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _ESP_ERR_INVALID_ARG,4,2 ; @ESP_ERR_INVALID_ARG
.comm _TAG,4,2 ; @TAG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Client was not started"
.comm _ESP_FAIL,4,2 ; @ESP_FAIL
.comm _STOPPED_BIT,4,2 ; @STOPPED_BIT
.comm _portMAX_DELAY,4,2 ; @portMAX_DELAY
.comm _WEBSOCKET_STATE_UNKNOW,4,2 ; @WEBSOCKET_STATE_UNKNOW
.comm _ESP_OK,4,2 ; @ESP_OK
.subsections_via_symbols
| AnghaBench/esp-idf/components/esp_websocket_client/extr_esp_websocket_client.c_esp_websocket_client_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pkcs5v2_calculate ## -- Begin function pkcs5v2_calculate
.p2align 4, 0x90
_pkcs5v2_calculate: ## @pkcs5v2_calculate
.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, %r14d
movl $1, %eax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl %eax, %ebx
movl %eax, %edi
callq _pkcs5v2_probe
movl %eax, %ecx
leal (%rbx,%rbx), %eax
cmpl $2000001, %ecx ## imm = 0x1E8481
jl LBB0_1
## %bb.2:
imull %r14d, %ebx
movl %ebx, %eax
cltd
idivl %ecx
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 _pkcs5v2_calculate ; -- Begin function pkcs5v2_calculate
.p2align 2
_pkcs5v2_calculate: ; @pkcs5v2_calculate
.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
mov w8, #1
mov w21, #33921
movk w21, #30, lsl #16
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x20, x8
mov x0, x8
bl _pkcs5v2_probe
lsl w8, w20, #1
cmp w0, w21
b.lt LBB0_1
; %bb.2:
mul w8, w20, w19
sdiv w0, w8, w0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/geom/eli/extr_pkcs5v2.c_pkcs5v2_calculate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcp_read
_tcp_read: ## @tcp_read
.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
xorl %ecx, %ecx
popq %rbp
jmp _recv ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _tcp_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcp_read
_tcp_read: ; @tcp_read
.cfi_startproc
; %bb.0:
ldr w0, [x0]
mov w3, #0
b _recv
.cfi_endproc
; -- End function
.no_dead_strip _tcp_read
.subsections_via_symbols
| AnghaBench/esp-idf/components/esp-tls/extr_esp_tls.c_tcp_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pnv_eeh_read_config
_pnv_eeh_read_config: ## @pnv_eeh_read_config
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rcx, %r12
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
callq _pnv_eeh_cfg_blocked
testq %rax, %rax
je LBB0_5
## %bb.3:
movl $-1, (%r12)
movq _PCIBIOS_SET_FAILED@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_1:
movq _PCIBIOS_DEVICE_NOT_FOUND@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
movq %r12, %rcx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _pnv_pci_cfg_read ## TAILCALL
.cfi_endproc
## -- End function
.comm _PCIBIOS_DEVICE_NOT_FOUND,4,2 ## @PCIBIOS_DEVICE_NOT_FOUND
.comm _PCIBIOS_SET_FAILED,4,2 ## @PCIBIOS_SET_FAILED
.no_dead_strip _pnv_eeh_read_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pnv_eeh_read_config
_pnv_eeh_read_config: ; @pnv_eeh_read_config
.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
cbz x0, LBB0_3
; %bb.1:
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
bl _pnv_eeh_cfg_blocked
cbz x0, LBB0_5
; %bb.2:
mov w8, #-1
str w8, [x19]
Lloh0:
adrp x8, _PCIBIOS_SET_FAILED@GOTPAGE
Lloh1:
ldr x8, [x8, _PCIBIOS_SET_FAILED@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh2:
adrp x8, _PCIBIOS_DEVICE_NOT_FOUND@GOTPAGE
Lloh3:
ldr x8, [x8, _PCIBIOS_DEVICE_NOT_FOUND@GOTPAGEOFF]
LBB0_4:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_5:
mov x0, x22
mov x1, x21
mov x2, x20
mov x3, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _pnv_pci_cfg_read
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _PCIBIOS_DEVICE_NOT_FOUND,4,2 ; @PCIBIOS_DEVICE_NOT_FOUND
.comm _PCIBIOS_SET_FAILED,4,2 ; @PCIBIOS_SET_FAILED
.no_dead_strip _pnv_eeh_read_config
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/platforms/powernv/extr_eeh-powernv.c_pnv_eeh_read_config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getdata
_getdata: ## @getdata
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rsi, %r14
cmpb $48, (%rdi)
movq %rdi, %r13
jne LBB0_3
## %bb.1:
movb 1(%rdi), %al
orb $32, %al
movq %rdi, %r13
cmpb $120, %al
jne LBB0_3
## %bb.2:
leaq 2(%rdi), %r13
LBB0_3:
movq %rdi, -56(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
incq %r13
movzbl -1(%r13), %eax
leal -45(%rax), %ecx
cmpb $2, %cl
jb LBB0_4
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
cmpb $58, %al
je LBB0_4
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
testb %al, %al
je LBB0_18
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movsbl %al, %edi
callq _isxdigit
testl %eax, %eax
je LBB0_8
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
movsbl -1(%r13), %edi
callq _toint
movl %eax, %r15d
movzbl (%r13), %eax
testb %al, %al
movq %r14, -64(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
movsbl %al, %edi
callq _isxdigit
testl %eax, %eax
je LBB0_13
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
movsbl (%r13), %edi
callq _toint
movl %r15d, %r12d
incq %r13
movl %eax, %r15d
jmp LBB0_15
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
xorl %r12d, %r12d
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %r14d
cmpq -48(%rbp), %r14 ## 8-byte Folded Reload
jbe LBB0_17
## %bb.16: ## in Loop: Header=BB0_4 Depth=1
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq L_.str.1(%rip), %rsi
movq -56(%rbp), %rcx ## 8-byte Reload
movq -48(%rbp), %r8 ## 8-byte Reload
xorl %eax, %eax
callq _fprintf
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
shll $4, %r12d
orl %r15d, %r12d
incl %ebx
movq -64(%rbp), %rax ## 8-byte Reload
movl %r12d, (%rax,%r14,4)
movq %rax, %r14
jmp LBB0_4
LBB0_18:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movsbl -1(%r13), %ecx
jmp LBB0_9
LBB0_13:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _progname@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movsbl (%r13), %ecx
LBB0_9:
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $-1, %edi
callq _exit
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: invalid data value %c (not hex)\n"
.comm _progname,8,3 ## @progname
L_.str.1: ## @.str.1
.asciz "%s: too much data in %s, max %llu bytes\n"
.no_dead_strip _getdata
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getdata
_getdata: ; @getdata
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x1
mov x21, x0
ldrb w8, [x0]
mov x25, x0
cmp w8, #48
b.ne LBB0_2
; %bb.1:
ldrb w8, [x21, #1]
orr w8, w8, #0x20
cmp w8, #120
add x8, x21, #2
csel x25, x8, x21, eq
LBB0_2:
mov w22, #0
Lloh0:
adrp x27, _stderr@GOTPAGE
Lloh1:
ldr x27, [x27, _stderr@GOTPAGEOFF]
Lloh2:
adrp x23, l_.str.1@PAGE
Lloh3:
add x23, x23, l_.str.1@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x25, x25, #1
ldurb w8, [x25, #-1]
sub w9, w8, #45
cmp w9, #2
b.lo LBB0_3
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #58
b.eq LBB0_3
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
cbz w8, LBB0_14
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
sxtb w0, w8
bl _isxdigit
cbz w0, LBB0_15
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldursb w0, [x25, #-1]
bl _toint
mov x24, x0
ldrb w8, [x25]
cbz w8, LBB0_10
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
sxtb w0, w8
bl _isxdigit
cbz w0, LBB0_16
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [x25], #1
bl _toint
mov x28, x24
mov x24, x0
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
mov w28, #0
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
mov w26, w22
cmp x26, x19
b.ls LBB0_13
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x27]
Lloh4:
adrp x8, _progname@GOTPAGE
Lloh5:
ldr x8, [x8, _progname@GOTPAGEOFF]
Lloh6:
ldr x2, [x8]
stp x21, x19, [sp]
mov x1, x23
bl _fprintf
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
orr w8, w24, w28, lsl #4
add w22, w22, #1
str w8, [x20, x26, lsl #2]
b LBB0_3
LBB0_14:
mov x0, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_15:
ldr w0, [x27]
Lloh7:
adrp x8, _progname@GOTPAGE
Lloh8:
ldr x8, [x8, _progname@GOTPAGEOFF]
Lloh9:
ldr x2, [x8]
ldursb x8, [x25, #-1]
b LBB0_17
LBB0_16:
ldr w0, [x27]
Lloh10:
adrp x8, _progname@GOTPAGE
Lloh11:
ldr x8, [x8, _progname@GOTPAGEOFF]
Lloh12:
ldr x2, [x8]
ldrsb x8, [x25]
LBB0_17:
str x8, [sp]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #-1
bl _exit
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: invalid data value %c (not hex)\n"
.comm _progname,8,3 ; @progname
l_.str.1: ; @.str.1
.asciz "%s: too much data in %s, max %llu bytes\n"
.no_dead_strip _getdata
.subsections_via_symbols
| AnghaBench/freebsd/tools/tools/ath/athkey/extr_athkey.c_getdata.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x400920c49ba5e354 ## double 3.141
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter radius of circle: "
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Area = %.3f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur s0, [x29, #-4]
fcvt d0, s0
mov x8, #58196
movk x8, #39845, lsl #16
movk x8, #8388, lsl #32
movk x8, #16393, lsl #48
fmov d1, x8
fmul d1, d0, d1
fmul d0, d1, d0
fcvt s0, d0
fcvt d0, s0
str d0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter radius of circle: "
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Area = %.3f"
.subsections_via_symbols
| the_stack_data/8827.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlxsw_sp_acl_init ## -- Begin function mlxsw_sp_acl_init
.p2align 4, 0x90
_mlxsw_sp_acl_init: ## @mlxsw_sp_acl_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, %r12
callq _mlxsw_sp_acl_tcam_priv_size
movslq %eax, %rdi
addq $40, %rdi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r14
movq %rax, 8(%r12)
movq %r12, 32(%rax)
movl 4(%r12), %edi
movq _ACL_FLEX_KEYS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _MLXSW_CORE_RES_GET
movl (%r12), %esi
movl %eax, %edi
callq _mlxsw_afk_create
movl %eax, (%r14)
testl %eax, %eax
je LBB0_3
## %bb.4:
leaq 4(%r14), %r15
movq _mlxsw_sp_acl_ruleset_ht_params@GOTPCREL(%rip), %rsi
movq %r15, %rdi
callq _rhashtable_init
movl %eax, %ebx
testl %eax, %eax
jne LBB0_11
## %bb.5:
movq %r12, %rdi
callq _mlxsw_sp_fid_dummy_get
movq %rax, %r13
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %r13, %rdi
callq _PTR_ERR
movl %eax, %ebx
jmp LBB0_10
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_13
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_12
LBB0_7:
movq %r13, 24(%r14)
leaq 20(%r14), %rdi
callq _INIT_LIST_HEAD
leaq 16(%r14), %rsi
movq %r12, %rdi
callq _mlxsw_sp_acl_tcam_init
testl %eax, %eax
je LBB0_8
## %bb.9:
movl %eax, %ebx
movq %r13, %rdi
callq _mlxsw_sp_fid_put
LBB0_10:
movq %r15, %rdi
callq _rhashtable_destroy
LBB0_11:
movl (%r14), %edi
callq _mlxsw_afk_destroy
LBB0_12:
movq %r14, %rdi
callq _kfree
LBB0_13:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq %r14, %r15
addq $8, %r15
movq _mlxsw_sp_acl_rule_activity_update_work@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _INIT_DELAYED_WORK
movq _MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%r14)
xorl %ebx, %ebx
movq %r15, %rdi
xorl %esi, %esi
callq _mlxsw_core_schedule_dw
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _ACL_FLEX_KEYS,4,2 ## @ACL_FLEX_KEYS
.comm _mlxsw_sp_acl_ruleset_ht_params,4,2 ## @mlxsw_sp_acl_ruleset_ht_params
.comm _mlxsw_sp_acl_rule_activity_update_work,4,2 ## @mlxsw_sp_acl_rule_activity_update_work
.comm _MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS,4,2 ## @MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mlxsw_sp_acl_init ; -- Begin function mlxsw_sp_acl_init
.p2align 2
_mlxsw_sp_acl_init: ; @mlxsw_sp_acl_init
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
bl _mlxsw_sp_acl_tcam_priv_size
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
add x0, x8, #40
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _kzalloc
cbz x0, LBB0_5
; %bb.1:
mov x19, x0
str x0, [x20, #8]
str x20, [x0, #32]
ldr w0, [x20, #4]
Lloh3:
adrp x8, _ACL_FLEX_KEYS@GOTPAGE
Lloh4:
ldr x8, [x8, _ACL_FLEX_KEYS@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _MLXSW_CORE_RES_GET
ldr w1, [x20]
bl _mlxsw_afk_create
str w0, [x19]
cbz w0, LBB0_6
; %bb.2:
add x21, x19, #4
Lloh6:
adrp x1, _mlxsw_sp_acl_ruleset_ht_params@GOTPAGE
Lloh7:
ldr x1, [x1, _mlxsw_sp_acl_ruleset_ht_params@GOTPAGEOFF]
mov x0, x21
bl _rhashtable_init
mov x22, x0
cbnz w0, LBB0_10
; %bb.3:
mov x0, x20
bl _mlxsw_sp_fid_dummy_get
mov x23, x0
bl _IS_ERR
cbz x0, LBB0_7
; %bb.4:
mov x0, x23
bl _PTR_ERR
mov x22, x0
b LBB0_9
LBB0_5:
Lloh8:
adrp x8, _ENOMEM@GOTPAGE
Lloh9:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
neg w22, w8
b LBB0_12
LBB0_6:
Lloh11:
adrp x8, _ENOMEM@GOTPAGE
Lloh12:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
neg w22, w8
b LBB0_11
LBB0_7:
str x23, [x19, #24]
add x0, x19, #20
bl _INIT_LIST_HEAD
add x1, x19, #16
mov x0, x20
bl _mlxsw_sp_acl_tcam_init
mov x22, x0
cbz w0, LBB0_13
; %bb.8:
mov x0, x23
bl _mlxsw_sp_fid_put
LBB0_9:
mov x0, x21
bl _rhashtable_destroy
LBB0_10:
ldr w0, [x19]
bl _mlxsw_afk_destroy
LBB0_11:
mov x0, x19
bl _kfree
LBB0_12:
mov x0, x22
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_13:
add x20, x19, #8
Lloh14:
adrp x8, _mlxsw_sp_acl_rule_activity_update_work@GOTPAGE
Lloh15:
ldr x8, [x8, _mlxsw_sp_acl_rule_activity_update_work@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x20
bl _INIT_DELAYED_WORK
Lloh17:
adrp x8, _MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS@GOTPAGE
Lloh18:
ldr x8, [x8, _MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
str w8, [x19, #12]
mov x0, x20
mov w1, #0
bl _mlxsw_core_schedule_dw
b LBB0_12
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _ACL_FLEX_KEYS,4,2 ; @ACL_FLEX_KEYS
.comm _mlxsw_sp_acl_ruleset_ht_params,4,2 ; @mlxsw_sp_acl_ruleset_ht_params
.comm _mlxsw_sp_acl_rule_activity_update_work,4,2 ; @mlxsw_sp_acl_rule_activity_update_work
.comm _MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS,4,2 ; @MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/mellanox/mlxsw/extr_spectrum_acl.c_mlxsw_sp_acl_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function opa_vnic_ctrl_config_dev
_opa_vnic_ctrl_config_dev: ## @opa_vnic_ctrl_config_dev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movq $0, -48(%rbp)
movq _OPA_CAP_MASK3_IsEthOnFabricSupported@GOTPCREL(%rip), %rax
movq (%rax), %rax
testl %esi, %esi
je LBB0_2
## %bb.1:
movq %rax, -56(%rbp)
cmpl $0, (%r14)
jg LBB0_4
jmp LBB0_6
LBB0_2:
movq %rax, -64(%rbp)
cmpl $0, (%r14)
jle LBB0_6
LBB0_4:
xorl %ebx, %ebx
movq _IB_PORT_OPA_MASK_CHG@GOTPCREL(%rip), %r12
leaq -64(%rbp), %r15
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
incl %ebx
movl 4(%r14), %edi
movl (%r12), %edx
movl %ebx, %esi
movq %r15, %rcx
callq _ib_modify_port
cmpl (%r14), %ebx
jl LBB0_5
LBB0_6:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OPA_CAP_MASK3_IsEthOnFabricSupported,8,3 ## @OPA_CAP_MASK3_IsEthOnFabricSupported
.comm _IB_PORT_OPA_MASK_CHG,4,2 ## @IB_PORT_OPA_MASK_CHG
.no_dead_strip _opa_vnic_ctrl_config_dev
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function opa_vnic_ctrl_config_dev
_opa_vnic_ctrl_config_dev: ; @opa_vnic_ctrl_config_dev
.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, x0
stp xzr, xzr, [sp, #8]
str xzr, [sp, #24]
Lloh0:
adrp x8, _OPA_CAP_MASK3_IsEthOnFabricSupported@GOTPAGE
Lloh1:
ldr x8, [x8, _OPA_CAP_MASK3_IsEthOnFabricSupported@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cbz w1, LBB0_2
; %bb.1:
str x8, [sp, #16]
b LBB0_3
LBB0_2:
str x8, [sp, #8]
LBB0_3:
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov w20, #0
Lloh3:
adrp x21, _IB_PORT_OPA_MASK_CHG@GOTPAGE
Lloh4:
ldr x21, [x21, _IB_PORT_OPA_MASK_CHG@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
ldr w0, [x19, #4]
ldr w2, [x21]
add x3, sp, #8
mov x1, x20
bl _ib_modify_port
ldr w8, [x19]
cmp w20, w8
b.lt LBB0_5
LBB0_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OPA_CAP_MASK3_IsEthOnFabricSupported,8,3 ; @OPA_CAP_MASK3_IsEthOnFabricSupported
.comm _IB_PORT_OPA_MASK_CHG,4,2 ; @IB_PORT_OPA_MASK_CHG
.no_dead_strip _opa_vnic_ctrl_config_dev
.subsections_via_symbols
| AnghaBench/linux/drivers/infiniband/ulp/opa_vnic/extr_opa_vnic_vema.c_opa_vnic_ctrl_config_dev.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gfs2_walk_metadata
_gfs2_walk_metadata: ## @gfs2_walk_metadata
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -88(%rbp) ## 8-byte Spill
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
callq _GFS2_I
movq %rax, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _GFS2_SB
movl (%r15), %r13d
decl %r13d
movl $1, %r14d
cmpl 4(%r15), %r13d
jb LBB0_3
## %bb.1:
movq 8(%r15), %rsi
movl $1, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r13d, %ecx
movl (%rsi,%rcx,4), %edx
imull %r14d, %edx
movl $0, (%rsi,%rcx,4)
imull (%rax), %r14d
addl %edx, %ebx
decl %r13d
cmpl 4(%r15), %r13d
jae LBB0_2
LBB0_3:
movq %r15, -56(%rbp) ## 8-byte Spill
movq %rax, -64(%rbp) ## 8-byte Spill
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_19 Depth 2
movq 8(%r15), %rcx
movl %r13d, %r15d
movl (%rcx,%r15,4), %r12d
xorl %ecx, %ecx
testl %r13d, %r13d
sete %cl
movl (%rax,%rcx,4), %esi
subl %r12d, %esi
movl %esi, %eax
imull %r14d, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl %eax, %ebx
jae LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edi
movl %r14d, %esi
callq _DIV_ROUND_UP_ULL
movl %eax, %esi
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rdi ## 8-byte Reload
callq *-88(%rbp) ## 8-byte Folded Reload
cmpl $129, %eax
je LBB0_14
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
cmpl $128, %eax
je LBB0_8
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
xorl %r12d, %r12d
movl %ebx, -68(%rbp) ## 4-byte Spill
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
jbe LBB0_9
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rbx ## 8-byte Reload
movq 16(%rbx), %rax
movq (%rax,%r15,8), %rdi
callq _brelse
movq 16(%rbx), %rax
movq $0, (%rax,%r15,8)
movq 8(%rbx), %rcx
movl $0, (%rcx,%r15,4)
testq %r15, %r15
je LBB0_9
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
leaq -1(%r15), %rax
movq -64(%rbp), %rdi ## 8-byte Reload
imull (%rdi), %r14d
movl %eax, %edx
movl (%rcx,%rdx,4), %esi
incl %esi
movl %esi, (%rcx,%rdx,4)
cmpl (%rdi), %esi
jb LBB0_16
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movq %rax, %r15
testl %eax, %eax
jne LBB0_11
jmp LBB0_9
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movl %r12d, -44(%rbp) ## 4-byte Spill
movq -56(%rbp), %r12 ## 8-byte Reload
movl 4(%r12), %eax
xorl %edi, %edi
cmpl (%r12), %eax
sete %dil
callq _BUG_ON
movq 8(%r12), %rax
movl (%rax,%r15,4), %eax
subl -44(%rbp), %eax ## 4-byte Folded Reload
imull %r14d, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
cmpl %eax, %ebx
ja LBB0_17
jmp LBB0_15
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
decl %r15d
movl %r15d, %r13d
movl -68(%rbp), %ebx ## 4-byte Reload
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
movq -80(%rbp), %rdi ## 8-byte Reload
movq (%rdi), %rdx
decq %rdx
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rsi
callq _fillup_metapath
movl %eax, %r12d
testl %eax, %eax
js LBB0_9
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
addl %r12d, %r13d
testl %r12d, %r12d
movq -64(%rbp), %rax ## 8-byte Reload
je LBB0_20
.p2align 4, 0x90
LBB0_19: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rax), %esi
movl %r14d, %edi
callq _do_div
movq -64(%rbp), %rax ## 8-byte Reload
decl %r12d
jne LBB0_19
LBB0_20: ## in Loop: Header=BB0_4 Depth=1
subl -44(%rbp), %ebx ## 4-byte Folded Reload
leal 1(%r13), %ecx
movl %ecx, 4(%r15)
jmp LBB0_4
LBB0_8:
movl $1, %r12d
jmp LBB0_9
LBB0_15:
xorl %r12d, %r12d
LBB0_9:
movl %r12d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _gfs2_walk_metadata
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gfs2_walk_metadata
_gfs2_walk_metadata: ; @gfs2_walk_metadata
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
mov x21, x1
mov x23, x0
bl _GFS2_I
mov x22, x0
mov x0, x23
bl _GFS2_SB
mov x23, x0
ldp w8, w9, [x21]
sub w26, w8, #1
cmp w26, w9
b.hs LBB0_2
; %bb.1:
mov w24, #1
b LBB0_5
LBB0_2:
ldr x8, [x21, #8]
mov w24, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov w9, w26
lsl x9, x9, #2
ldr w10, [x8, x9]
str wzr, [x8, x9]
madd w20, w10, w24, w20
ldr w9, [x23]
mul w24, w9, w24
sub w26, w26, #1
ldr w9, [x21, #4]
cmp w26, w9
b.hs LBB0_3
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add w26, w25, w26
add w8, w26, #1
str w8, [x21, #4]
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_18 Depth 2
ldr x8, [x21, #8]
cmp w26, #0
ldr w28, [x8, w26, uxtw #2]
cset w8, eq
ldr w8, [x23, w8, uxtw #2]
sub w1, w8, w28
mul w27, w1, w24
cmp w20, w27
b.hs LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x20
mov x1, x24
bl _DIV_ROUND_UP_ULL
mov x1, x0
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
mov w25, w26
mov x0, x21
blr x19
cmp w0, #129
b.eq LBB0_13
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #128
b.eq LBB0_21
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
cmp w20, w27
b.ls LBB0_19
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21, #16]
lsl x26, x25, #3
ldr x0, [x8, x26]
bl _brelse
ldr x8, [x21, #16]
str xzr, [x8, x26]
ldr x9, [x21, #8]
str wzr, [x9, x25, lsl #2]
cbz x25, LBB0_20
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
sub x8, x25, #1
ldr w10, [x23]
and x11, x8, #0xffffffff
lsl x11, x11, #2
ldr w12, [x9, x11]
mul w24, w10, w24
add w10, w12, #1
str w10, [x9, x11]
ldr w9, [x23]
cmp w10, w9
b.lo LBB0_14
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
mov x25, x8
cbnz w8, LBB0_10
b LBB0_19
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldp w9, w8, [x21]
cmp w8, w9
cset w0, eq
bl _BUG_ON
ldr x8, [x21, #8]
ldr w8, [x8, x25, lsl #2]
sub w8, w8, w28
mul w27, w8, w24
cmp w20, w27
b.hi LBB0_15
b LBB0_19
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
sub w26, w25, #1
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x22]
sub x2, x8, #1
mov x0, x22
mov x1, x21
bl _fillup_metapath
mov x25, x0
tbnz w0, #31, LBB0_20
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
sub w20, w20, w27
cbz w25, LBB0_4
; %bb.17: ; in Loop: Header=BB0_5 Depth=1
mov x27, x25
LBB0_18: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w1, [x23]
mov x0, x24
bl _do_div
subs w27, w27, #1
b.ne LBB0_18
b LBB0_4
LBB0_19:
mov w25, #0
LBB0_20:
mov x0, x25
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_21:
mov w25, #1
b LBB0_20
.cfi_endproc
; -- End function
.no_dead_strip _gfs2_walk_metadata
.subsections_via_symbols
| AnghaBench/linux/fs/gfs2/extr_bmap.c_gfs2_walk_metadata.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tomoyo_socket_bind_permission ## -- Begin function tomoyo_socket_bind_permission
.p2align 4, 0x90
_tomoyo_socket_bind_permission: ## @tomoyo_socket_bind_permission
.cfi_startproc
## %bb.0:
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
movq %rsi, %r15
movq %rdi, %rbx
movq 8(%rdi), %rdi
callq _tomoyo_sock_family
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_5
## %bb.1:
movl (%rbx), %edx
movl %edx, %esi
andl $-4, %esi
cmpl $128, %esi
jne LBB0_5
## %bb.2:
movl %edx, -32(%rbp)
movq _TOMOYO_NETWORK_BIND@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -28(%rbp)
movq _PF_UNIX@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jne LBB0_4
## %bb.3:
leaq -32(%rbp), %rdx
movq %r15, %rdi
movl %r14d, %esi
callq _tomoyo_check_unix_address
jmp LBB0_5
LBB0_4:
movq 8(%rbx), %rax
movl (%rax), %edx
leaq -32(%rbp), %rcx
movq %r15, %rdi
movl %r14d, %esi
callq _tomoyo_check_inet_address
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TOMOYO_NETWORK_BIND,4,2 ## @TOMOYO_NETWORK_BIND
.comm _PF_UNIX,8,3 ## @PF_UNIX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _tomoyo_socket_bind_permission ; -- Begin function tomoyo_socket_bind_permission
.p2align 2
_tomoyo_socket_bind_permission: ; @tomoyo_socket_bind_permission
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
ldr x0, [x0, #8]
bl _tomoyo_sock_family
mov x8, x0
mov w0, #0
cbz x8, LBB0_5
; %bb.1:
ldr w9, [x21]
and w10, w9, #0xfffffffc
cmp w10, #128
b.ne LBB0_5
; %bb.2:
Lloh0:
adrp x10, _TOMOYO_NETWORK_BIND@GOTPAGE
Lloh1:
ldr x10, [x10, _TOMOYO_NETWORK_BIND@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
stp w9, w10, [sp, #8]
Lloh3:
adrp x9, _PF_UNIX@GOTPAGE
Lloh4:
ldr x9, [x9, _PF_UNIX@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
add x2, sp, #8
mov x0, x20
mov x1, x19
bl _tomoyo_check_unix_address
b LBB0_5
LBB0_4:
ldr x8, [x21, #8]
ldr w2, [x8]
add x3, sp, #8
mov x0, x20
mov x1, x19
bl _tomoyo_check_inet_address
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TOMOYO_NETWORK_BIND,4,2 ; @TOMOYO_NETWORK_BIND
.comm _PF_UNIX,8,3 ; @PF_UNIX
.subsections_via_symbols
| AnghaBench/linux/security/tomoyo/extr_network.c_tomoyo_socket_bind_permission.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cleanup
_cleanup: ## @cleanup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _mmap_failed@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB0_2
## %bb.1:
movq _ehdr_curr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _sb@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _munmap
LBB0_2:
movq _fd_map@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _close ## TAILCALL
.cfi_endproc
## -- End function
.comm _mmap_failed,4,2 ## @mmap_failed
.comm _ehdr_curr,4,2 ## @ehdr_curr
.comm _sb,4,2 ## @sb
.comm _fd_map,4,2 ## @fd_map
.no_dead_strip _cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cleanup
_cleanup: ; @cleanup
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _mmap_failed@GOTPAGE
Lloh1:
ldr x8, [x8, _mmap_failed@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cbnz w8, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _ehdr_curr@GOTPAGE
Lloh4:
ldr x8, [x8, _ehdr_curr@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x8, _sb@GOTPAGE
Lloh7:
ldr x8, [x8, _sb@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
bl _munmap
LBB0_2:
Lloh9:
adrp x8, _fd_map@GOTPAGE
Lloh10:
ldr x8, [x8, _fd_map@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _close
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _mmap_failed,4,2 ; @mmap_failed
.comm _ehdr_curr,4,2 ; @ehdr_curr
.comm _sb,4,2 ; @sb
.comm _fd_map,4,2 ; @fd_map
.no_dead_strip _cleanup
.subsections_via_symbols
| AnghaBench/linux/scripts/extr_sortextable.c_cleanup.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/150360.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xfs_quota_chkd_flag
_xfs_quota_chkd_flag: ## @xfs_quota_chkd_flag
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $130, %edi
je LBB0_4
## %bb.1:
cmpl $129, %edi
je LBB0_5
## %bb.2:
xorl %eax, %eax
cmpl $128, %edi
jne LBB0_7
## %bb.3:
movq _XFS_UQUOTA_CHKD@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_4:
movq _XFS_GQUOTA_CHKD@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _XFS_PQUOTA_CHKD@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XFS_UQUOTA_CHKD,4,2 ## @XFS_UQUOTA_CHKD
.comm _XFS_GQUOTA_CHKD,4,2 ## @XFS_GQUOTA_CHKD
.comm _XFS_PQUOTA_CHKD,4,2 ## @XFS_PQUOTA_CHKD
.no_dead_strip _xfs_quota_chkd_flag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xfs_quota_chkd_flag
_xfs_quota_chkd_flag: ; @xfs_quota_chkd_flag
.cfi_startproc
; %bb.0:
cmp w0, #130
b.eq LBB0_4
; %bb.1:
cmp w0, #129
b.eq LBB0_5
; %bb.2:
cmp w0, #128
b.ne LBB0_6
; %bb.3:
Lloh0:
adrp x8, _XFS_UQUOTA_CHKD@GOTPAGE
Lloh1:
ldr x8, [x8, _XFS_UQUOTA_CHKD@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
LBB0_4:
Lloh3:
adrp x8, _XFS_GQUOTA_CHKD@GOTPAGE
Lloh4:
ldr x8, [x8, _XFS_GQUOTA_CHKD@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
LBB0_5:
Lloh6:
adrp x8, _XFS_PQUOTA_CHKD@GOTPAGE
Lloh7:
ldr x8, [x8, _XFS_PQUOTA_CHKD@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ret
LBB0_6:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _XFS_UQUOTA_CHKD,4,2 ; @XFS_UQUOTA_CHKD
.comm _XFS_GQUOTA_CHKD,4,2 ; @XFS_GQUOTA_CHKD
.comm _XFS_PQUOTA_CHKD,4,2 ; @XFS_PQUOTA_CHKD
.no_dead_strip _xfs_quota_chkd_flag
.subsections_via_symbols
| AnghaBench/linux/fs/xfs/extr_xfs_quota.h_xfs_quota_chkd_flag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nd6_prproxy_isours ## -- Begin function nd6_prproxy_isours
.p2align 4, 0x90
_nd6_prproxy_isours: ## @nd6_prproxy_isours
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rdi, %r14
movq _FALSE@GOTPCREL(%rip), %r12
movq (%r12), %r13
movq (%rsi), %rax
movq _IPV6_MAXHLIM@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
jne LBB0_18
## %bb.1:
movq %rsi, %rbx
movq 8(%rsi), %rax
movq _IPPROTO_ICMPV6@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
jne LBB0_18
## %bb.2:
movl %ecx, -44(%rbp) ## 4-byte Spill
addq $16, %rbx
movq %rbx, %rdi
callq _IN6_IS_ADDR_MC_NODELOCAL
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
callq _IN6_IS_ADDR_MC_LINKLOCAL
testq %rax, %rax
je LBB0_5
LBB0_4:
xorl %edi, %edi
testq %r15, %r15
sete %dil
callq _VERIFY
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %r13
LBB0_18:
testq %r13, %r13
je LBB0_20
## %bb.19:
movq _PKTF_PROXY_DST@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
LBB0_20:
movq %r13, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %rbx, %rdi
callq _IN6_IS_ADDR_MULTICAST
testq %r15, %r15
je LBB0_18
## %bb.6:
testq %rax, %rax
jne LBB0_18
## %bb.7:
movq (%r15), %rax
testq %rax, %rax
je LBB0_8
## %bb.10:
movq %rax, %rdi
movq %rax, -56(%rbp) ## 8-byte Spill
callq _RT_LOCK
movq %r15, %rdi
callq _ROUTE_UNUSABLE
testq %rax, %rax
je LBB0_11
## %bb.12:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _RT_UNLOCK
jmp LBB0_13
LBB0_8:
movq %r15, %rdi
callq _ROUTE_UNUSABLE
testq %rax, %rax
je LBB0_9
LBB0_13:
movq %r15, %rdi
callq _ROUTE_RELEASE
leaq 8(%r15), %rsi
movq %rbx, %rdi
callq _IN6_ARE_ADDR_EQUAL
movl %eax, %edi
callq _VERIFY
movq _RTF_PRCLONING@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movl -44(%rbp), %edx ## 4-byte Reload
callq _rtalloc_scoped_ign
movq (%r15), %rbx
testq %rbx, %rbx
je LBB0_18
## %bb.14:
movq %rbx, %rdi
callq _RT_LOCK
movq %rbx, %rdi
jmp LBB0_15
LBB0_11:
movq -56(%rbp), %rdi ## 8-byte Reload
jmp LBB0_15
LBB0_9:
xorl %edi, %edi
LBB0_15:
movq _RTF_PROXY@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl (%rdi), %eax
je LBB0_17
## %bb.16:
movq _TRUE@GOTPCREL(%rip), %r12
LBB0_17:
movq (%r12), %r13
callq _RT_UNLOCK
jmp LBB0_18
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _IPV6_MAXHLIM,8,3 ## @IPV6_MAXHLIM
.comm _IPPROTO_ICMPV6,8,3 ## @IPPROTO_ICMPV6
.comm _TRUE,8,3 ## @TRUE
.comm _RTF_PRCLONING,4,2 ## @RTF_PRCLONING
.comm _RTF_PROXY,4,2 ## @RTF_PROXY
.comm _PKTF_PROXY_DST,4,2 ## @PKTF_PROXY_DST
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nd6_prproxy_isours ; -- Begin function nd6_prproxy_isours
.p2align 2
_nd6_prproxy_isours: ; @nd6_prproxy_isours
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x25, _FALSE@GOTPAGE
Lloh1:
ldr x25, [x25, _FALSE@GOTPAGEOFF]
ldr x20, [x25]
ldr x8, [x1]
Lloh2:
adrp x9, _IPV6_MAXHLIM@GOTPAGE
Lloh3:
ldr x9, [x9, _IPV6_MAXHLIM@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.1:
ldr x8, [x1, #8]
Lloh5:
adrp x9, _IPPROTO_ICMPV6@GOTPAGE
Lloh6:
ldr x9, [x9, _IPPROTO_ICMPV6@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
; %bb.2:
mov x22, x3
mov x21, x2
add x23, x1, #16
mov x0, x23
bl _IN6_IS_ADDR_MC_NODELOCAL
cbnz x0, LBB0_4
; %bb.3:
mov x0, x23
bl _IN6_IS_ADDR_MC_LINKLOCAL
cbz x0, LBB0_8
LBB0_4:
cmp x21, #0
cset w0, eq
bl _VERIFY
Lloh8:
adrp x8, _TRUE@GOTPAGE
Lloh9:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
ldr x20, [x8]
LBB0_5:
cbz x20, LBB0_7
; %bb.6:
Lloh11:
adrp x8, _PKTF_PROXY_DST@GOTPAGE
Lloh12:
ldr x8, [x8, _PKTF_PROXY_DST@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_7:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_8:
mov x0, x23
bl _IN6_IS_ADDR_MULTICAST
cbz x21, LBB0_5
; %bb.9:
cbnz x0, LBB0_5
; %bb.10:
ldr x24, [x21]
cbz x24, LBB0_13
; %bb.11:
mov x0, x24
bl _RT_LOCK
mov x0, x21
bl _ROUTE_UNUSABLE
cbz x0, LBB0_17
; %bb.12:
mov x0, x24
bl _RT_UNLOCK
b LBB0_14
LBB0_13:
mov x0, x21
bl _ROUTE_UNUSABLE
cbz x0, LBB0_16
LBB0_14:
mov x0, x21
bl _ROUTE_RELEASE
add x1, x21, #8
mov x0, x23
bl _IN6_ARE_ADDR_EQUAL
bl _VERIFY
Lloh14:
adrp x8, _RTF_PRCLONING@GOTPAGE
Lloh15:
ldr x8, [x8, _RTF_PRCLONING@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x21
mov x2, x22
bl _rtalloc_scoped_ign
ldr x24, [x21]
cbz x24, LBB0_5
; %bb.15:
mov x0, x24
bl _RT_LOCK
b LBB0_17
LBB0_16:
mov x24, #0
LBB0_17:
ldr w8, [x24]
Lloh17:
adrp x9, _RTF_PROXY@GOTPAGE
Lloh18:
ldr x9, [x9, _RTF_PROXY@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
Lloh20:
adrp x10, _TRUE@GOTPAGE
Lloh21:
ldr x10, [x10, _TRUE@GOTPAGEOFF]
tst w9, w8
csel x8, x25, x10, eq
ldr x20, [x8]
mov x0, x24
bl _RT_UNLOCK
b LBB0_5
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _IPV6_MAXHLIM,8,3 ; @IPV6_MAXHLIM
.comm _IPPROTO_ICMPV6,8,3 ; @IPPROTO_ICMPV6
.comm _TRUE,8,3 ; @TRUE
.comm _RTF_PRCLONING,4,2 ; @RTF_PRCLONING
.comm _RTF_PROXY,4,2 ; @RTF_PROXY
.comm _PKTF_PROXY_DST,4,2 ; @PKTF_PROXY_DST
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/netinet6/extr_nd6_prproxy.c_nd6_prproxy_isours.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function wait_for_tail
_wait_for_tail: ## @wait_for_tail
.cfi_startproc
## %bb.0:
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
leaq -40(%rbp), %r15
movq _HV_EOK@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl 16(%r14), %edi
movq %r15, %rsi
callq _sun4v_ncs_gethead
movq %rax, %rbx
cmpq (%r12), %rax
jne LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -40(%rbp), %rax
cmpq (%r14), %rax
jne LBB0_1
## %bb.4:
movq %rax, 8(%r14)
jmp LBB0_5
LBB0_2:
leaq L_.str(%rip), %rdi
callq _pr_err
LBB0_5:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _HV_EOK,8,3 ## @HV_EOK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hypervisor error on gethead\n"
.no_dead_strip _wait_for_tail
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function wait_for_tail
_wait_for_tail: ; @wait_for_tail
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
Lloh0:
adrp x21, _HV_EOK@GOTPAGE
Lloh1:
ldr x21, [x21, _HV_EOK@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20, #16]
add x1, sp, #8
bl _sun4v_ncs_gethead
mov x19, x0
ldr x8, [x21]
cmp x0, x8
b.ne LBB0_4
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_1
; %bb.3:
str x8, [x20, #8]
b LBB0_5
LBB0_4:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _pr_err
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _HV_EOK,8,3 ; @HV_EOK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hypervisor error on gethead\n"
.no_dead_strip _wait_for_tail
.subsections_via_symbols
| AnghaBench/linux/drivers/crypto/extr_n2_core.c_wait_for_tail.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _generic_acl_chmod ## -- Begin function generic_acl_chmod
.p2align 4, 0x90
_generic_acl_chmod: ## @generic_acl_chmod
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
movl (%rdi), %edi
callq _S_ISLNK
testq %rax, %rax
je LBB0_3
## %bb.1:
movq _EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_10:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movq _ACL_TYPE_ACCESS@GOTPCREL(%rip), %r13
movl (%r13), %esi
movq %r15, %rdi
callq *8(%r14)
testq %rax, %rax
je LBB0_4
## %bb.5:
movq %rax, %rbx
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _posix_acl_clone
movq %rax, %r12
movq %rbx, %rdi
callq _posix_acl_release
testq %r12, %r12
je LBB0_6
## %bb.7:
movl (%r15), %esi
movq %r12, %rdi
callq _posix_acl_chmod_masq
movl %eax, %ebx
testl %eax, %eax
jne LBB0_9
## %bb.8:
movl (%r13), %esi
movq %r15, %rdi
movq %r12, %rdx
callq *(%r14)
LBB0_9:
movq %r12, %rdi
callq _posix_acl_release
jmp LBB0_10
LBB0_4:
xorl %ebx, %ebx
jmp LBB0_10
LBB0_6:
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _EOPNOTSUPP,4,2 ## @EOPNOTSUPP
.comm _ACL_TYPE_ACCESS,4,2 ## @ACL_TYPE_ACCESS
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _generic_acl_chmod ; -- Begin function generic_acl_chmod
.p2align 2
_generic_acl_chmod: ; @generic_acl_chmod
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
mov x19, x0
ldr w0, [x0]
bl _S_ISLNK
cbz x0, LBB0_4
; %bb.1:
Lloh0:
adrp x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
ldr x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_2:
ldr w8, [x8]
neg w21, w8
LBB0_3:
mov x0, x21
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
ldr x8, [x20, #8]
Lloh2:
adrp x23, _ACL_TYPE_ACCESS@GOTPAGE
Lloh3:
ldr x23, [x23, _ACL_TYPE_ACCESS@GOTPAGEOFF]
ldr w1, [x23]
mov x0, x19
blr x8
mov x21, x0
cbz x0, LBB0_3
; %bb.5:
Lloh4:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh5:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
mov x0, x21
bl _posix_acl_clone
mov x22, x0
mov x0, x21
bl _posix_acl_release
cbz x22, LBB0_9
; %bb.6:
ldr w1, [x19]
mov x0, x22
bl _posix_acl_chmod_masq
mov x21, x0
cbnz w0, LBB0_8
; %bb.7:
ldr x8, [x20]
ldr w1, [x23]
mov x0, x19
mov x2, x22
blr x8
LBB0_8:
mov x0, x22
bl _posix_acl_release
b LBB0_3
LBB0_9:
Lloh7:
adrp x8, _ENOMEM@GOTPAGE
Lloh8:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_2
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _EOPNOTSUPP,4,2 ; @EOPNOTSUPP
.comm _ACL_TYPE_ACCESS,4,2 ; @ACL_TYPE_ACCESS
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/extr_generic_acl.c_generic_acl_chmod.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function scan_read_oob
_scan_read_oob: ## @scan_read_oob
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movl %edx, %r14d
movq %rsi, %rbx
callq _nand_to_mtd
movq %rax, %r13
movq _MTD_OPS_PLACE_OOB@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq $0, -64(%rbp)
movq 8(%r13), %rax
movq %rax, -72(%rbp)
testq %r15, %r15
je LBB0_1
## %bb.2:
movq (%r13), %rsi
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %r13
movq (%r12), %rsi
movq 8(%r12), %rax
addq %rsi, %rax
leaq (%rbx,%rax,4), %rbx
addl %esi, %r14d
subq %rsi, %r15
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, -80(%rbp)
movq %r15, %rdi
callq _min
movl %eax, -96(%rbp)
cltq
leaq (%rbx,%rax,4), %rax
movq %rax, -88(%rbp)
movq %r13, %r12
movq %r13, %rdi
movl %r14d, %esi
leaq -96(%rbp), %rdx
callq _mtd_read_oob
testl %eax, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %eax, %r13d
movl %eax, %edi
callq _mtd_is_bitflip_or_eccerr
testl %eax, %eax
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl %r13d, %edi
callq _mtd_is_eccerr
movl -44(%rbp), %ecx ## 4-byte Reload
testl %ecx, %ecx
cmovel %r13d, %ecx
testq %rax, %rax
cmovnel %r13d, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
jmp LBB0_7
LBB0_1:
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_8
LBB0_5:
movl %r13d, -44(%rbp) ## 4-byte Spill
LBB0_8:
movl -44(%rbp), %eax ## 4-byte Reload
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MTD_OPS_PLACE_OOB,4,2 ## @MTD_OPS_PLACE_OOB
.no_dead_strip _scan_read_oob
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function scan_read_oob
_scan_read_oob: ; @scan_read_oob
.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, x3
mov x20, x2
mov x21, x1
bl _nand_to_mtd
Lloh0:
adrp x8, _MTD_OPS_PLACE_OOB@GOTPAGE
Lloh1:
ldr x8, [x8, _MTD_OPS_PLACE_OOB@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #40]
str xzr, [sp, #32]
ldr x8, [x0, #8]
str x8, [sp, #24]
cbz x19, LBB0_6
; %bb.1:
mov x22, x0
mov w23, #0
ldr x1, [x0]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldp x1, x8, [x22]
add x8, x1, x8
add x21, x21, x8, lsl #2
add w20, w20, w1
subs x19, x19, x1
b.eq LBB0_8
LBB0_3: ; =>This Inner Loop Header: Depth=1
str x21, [sp, #16]
mov x0, x19
bl _min
str w0, [sp]
add x8, x21, w0, sxtw #2
str x8, [sp, #8]
mov x2, sp
mov x0, x22
mov x1, x20
bl _mtd_read_oob
cbz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x24, x0
bl _mtd_is_bitflip_or_eccerr
cbz w0, LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x24
bl _mtd_is_eccerr
cmp w23, #0
ccmp x0, #0, #0, ne
csel w23, w23, w24, eq
b LBB0_2
LBB0_6:
mov w23, #0
b LBB0_8
LBB0_7:
mov x23, x24
LBB0_8:
mov x0, x23
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MTD_OPS_PLACE_OOB,4,2 ; @MTD_OPS_PLACE_OOB
.no_dead_strip _scan_read_oob
.subsections_via_symbols
| AnghaBench/linux/drivers/mtd/nand/raw/extr_nand_bbt.c_scan_read_oob.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function npcm7xx_dt_node_to_map
_npcm7xx_dt_node_to_map: ## @npcm7xx_dt_node_to_map
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq _pinctrl_dev_get_drvdata
movl (%rax), %edi
movl (%r12), %edx
leaq L_.str(%rip), %rsi
callq _dev_dbg
movq _PIN_MAP_TYPE_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _pinconf_generic_dt_node_to_map ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "dt_node_to_map: %s\n"
.comm _PIN_MAP_TYPE_INVALID,4,2 ## @PIN_MAP_TYPE_INVALID
.no_dead_strip _npcm7xx_dt_node_to_map
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function npcm7xx_dt_node_to_map
_npcm7xx_dt_node_to_map: ; @npcm7xx_dt_node_to_map
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
bl _pinctrl_dev_get_drvdata
ldr w0, [x0]
ldr w2, [x21]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _dev_dbg
Lloh2:
adrp x8, _PIN_MAP_TYPE_INVALID@GOTPAGE
Lloh3:
ldr x8, [x8, _PIN_MAP_TYPE_INVALID@GOTPAGEOFF]
Lloh4:
ldr w4, [x8]
mov x0, x22
mov x1, x21
mov x2, x20
mov x3, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _pinconf_generic_dt_node_to_map
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "dt_node_to_map: %s\n"
.comm _PIN_MAP_TYPE_INVALID,4,2 ; @PIN_MAP_TYPE_INVALID
.no_dead_strip _npcm7xx_dt_node_to_map
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/nuvoton/extr_pinctrl-npcm7xx.c_npcm7xx_dt_node_to_map.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sst_dma_new
_sst_dma_new: ## @sst_dma_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq 32(%rdi), %rbx
cmpl $-1, (%rbx)
je LBB0_1
## %bb.2:
movq %rdi, %r13
movl 4(%rbx), %edx
movl 4(%rdi), %edi
cmpl $128, %edx
jne LBB0_3
## %bb.4:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $16, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %r15
movq %r13, 8(%rax)
leaq -64(%rbp), %r12
xorl %r14d, %r14d
movq %r12, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
movq 24(%rbx), %rax
addq 24(%r13), %rax
movq %rax, -48(%rbp)
movq 16(%rbx), %rcx
addq %rcx, %rax
decq %rax
movq %rax, -56(%rbp)
movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -64(%rbp)
movl 16(%r13), %edi
movl 8(%rbx), %edx
movq %r12, %rsi
callq _dw_probe
movl %eax, (%r15)
movl %eax, %edi
callq _IS_ERR
testq %rax, %rax
je LBB0_8
## %bb.7:
movl 4(%r13), %edi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _dev_err
movl (%r15), %edi
callq _PTR_ERR
movl %eax, %r14d
movl 4(%r13), %edi
movq %r15, %rsi
callq _devm_kfree
jmp LBB0_9
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_9
LBB0_3:
leaq L_.str(%rip), %rsi
xorl %r14d, %r14d
xorl %eax, %eax
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r14d
jmp LBB0_9
LBB0_5:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
jmp LBB0_9
LBB0_8:
movq %r15, 8(%r13)
movl $1, (%r13)
LBB0_9:
movl %r14d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error: invalid DMA engine %d\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM
L_.str.1: ## @.str.1
.asciz "error: DMA device register failed\n"
.no_dead_strip _sst_dma_new
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sst_dma_new
_sst_dma_new: ; @sst_dma_new
.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
ldr x21, [x0, #32]
ldr w8, [x21]
cmn w8, #1
b.eq LBB0_5
; %bb.1:
mov x19, x0
ldr w8, [x21, #4]
ldr w0, [x0, #4]
cmp w8, #128
b.ne LBB0_6
; %bb.2:
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #16
bl _devm_kzalloc
cbz x0, LBB0_7
; %bb.3:
mov x20, x0
str x19, [x0, #8]
add x0, sp, #8
mov w1, #0
mov w2, #24
bl _memset
ldr x8, [x19, #24]
ldr x9, [x21, #24]
add x8, x9, x8
str x8, [sp, #24]
ldr x9, [x21, #16]
add x8, x8, x9
sub x8, x8, #1
str x8, [sp, #16]
Lloh3:
adrp x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
ldr x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [sp, #8]
ldr w0, [x19, #16]
ldr w2, [x21, #8]
add x1, sp, #8
bl _dw_probe
str w0, [x20]
bl _IS_ERR
cbz x0, LBB0_10
; %bb.4:
ldr w0, [x19, #4]
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_err
ldr w0, [x20]
bl _PTR_ERR
mov x21, x0
ldr w0, [x19, #4]
mov x1, x20
bl _devm_kfree
b LBB0_9
LBB0_5:
mov w21, #0
b LBB0_9
LBB0_6:
str x8, [sp]
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
bl _dev_err
Lloh10:
adrp x8, _EINVAL@GOTPAGE
Lloh11:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh12:
adrp x8, _ENOMEM@GOTPAGE
Lloh13:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
ldr w8, [x8]
neg w21, w8
LBB0_9:
mov x0, x21
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_10:
mov w21, #0
str x20, [x19, #8]
mov w8, #1
str w8, [x19]
b LBB0_9
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error: invalid DMA engine %d\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM
l_.str.1: ; @.str.1
.asciz "error: DMA device register failed\n"
.no_dead_strip _sst_dma_new
.subsections_via_symbols
| AnghaBench/linux/sound/soc/intel/common/extr_sst-firmware.c_sst_dma_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function guLightOrtho
LCPI0_0:
.long 0x3f800000 ## float 1
.section __TEXT,__literal16,16byte_literals
.p2align 4
LCPI0_1:
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x00000000 ## float 0
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _guLightOrtho
.p2align 4, 0x90
_guLightOrtho: ## @guLightOrtho
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movaps %xmm3, %xmm9
subss %xmm2, %xmm9
movss LCPI0_0(%rip), %xmm8 ## xmm8 = mem[0],zero,zero,zero
movaps %xmm8, %xmm10
divss %xmm9, %xmm10
addss %xmm3, %xmm2
mulss %xmm10, %xmm2
addss %xmm10, %xmm10
mulss %xmm4, %xmm10
movq (%rdi), %rax
movss %xmm10, (%rax)
movq $0, 4(%rax)
mulss %xmm4, %xmm2
subss %xmm2, %xmm6
movss %xmm6, 12(%rax)
movaps %xmm0, %xmm2
subss %xmm1, %xmm2
divss %xmm2, %xmm8
movq 8(%rdi), %rax
movl $0, (%rax)
addss %xmm1, %xmm0
mulss %xmm8, %xmm0
addss %xmm8, %xmm8
mulss %xmm5, %xmm8
movss %xmm8, 4(%rax)
movl $0, 8(%rax)
mulss %xmm5, %xmm0
subss %xmm0, %xmm7
movss %xmm7, 12(%rax)
movq 16(%rdi), %rax
movaps LCPI0_1(%rip), %xmm0 ## xmm0 = [0.0E+0,0.0E+0,0.0E+0,1.0E+0]
movups %xmm0, (%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
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function guLightOrtho
lCPI0_0:
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x00000000 ; float 0
.long 0x3f800000 ; float 1
.section __TEXT,__text,regular,pure_instructions
.globl _guLightOrtho
.p2align 2
_guLightOrtho: ; @guLightOrtho
.cfi_startproc
; %bb.0:
fsub s16, s3, s2
fmov s17, #1.00000000
fdiv s16, s17, s16
fadd s18, s16, s16
fmul s18, s18, s4
ldr x8, [x0]
str s18, [x8]
stp wzr, wzr, [x8, #4]
fadd s2, s2, s3
fneg s2, s2
fmul s2, s16, s2
fmadd s2, s2, s4, s6
str s2, [x8, #12]
fsub s2, s0, s1
fdiv s2, s17, s2
ldp x8, x9, [x0, #8]
str wzr, [x8]
fadd s3, s2, s2
fmul s3, s3, s5
str s3, [x8, #4]
str wzr, [x8, #8]
fadd s0, s0, s1
fneg s0, s0
fmul s0, s2, s0
fmadd s0, s0, s5, s7
str s0, [x8, #12]
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr q0, [x8, lCPI0_0@PAGEOFF]
str q0, [x9]
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libogc/extr_gu.c_guLightOrtho.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ip_vs_genl_del_daemon
_ip_vs_genl_del_daemon: ## @ip_vs_genl_del_daemon
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq _IPVS_DAEMON_ATTR_STATE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rsi,%rax,8), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _nla_get_u32
movq %rbx, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _stop_sync_thread ## TAILCALL
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IPVS_DAEMON_ATTR_STATE,8,3 ## @IPVS_DAEMON_ATTR_STATE
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _ip_vs_genl_del_daemon
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ip_vs_genl_del_daemon
_ip_vs_genl_del_daemon: ; @ip_vs_genl_del_daemon
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _IPVS_DAEMON_ATTR_STATE@GOTPAGE
Lloh1:
ldr x8, [x8, _IPVS_DAEMON_ATTR_STATE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x0, [x1, x8, lsl #3]
cbz x0, LBB0_2
; %bb.1:
bl _nla_get_u32
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _stop_sync_thread
LBB0_2:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IPVS_DAEMON_ATTR_STATE,8,3 ; @IPVS_DAEMON_ATTR_STATE
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _ip_vs_genl_del_daemon
.subsections_via_symbols
| AnghaBench/linux/net/netfilter/ipvs/extr_ip_vs_ctl.c_ip_vs_genl_del_daemon.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trap_BotReplaceSynonyms ## -- Begin function trap_BotReplaceSynonyms
.p2align 4, 0x90
_trap_BotReplaceSynonyms: ## @trap_BotReplaceSynonyms
.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, %rsi
movq _BOTLIB_AI_REPLACE_SYNONYMS@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _syscall ## TAILCALL
.cfi_endproc
## -- End function
.comm _BOTLIB_AI_REPLACE_SYNONYMS,4,2 ## @BOTLIB_AI_REPLACE_SYNONYMS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trap_BotReplaceSynonyms ; -- Begin function trap_BotReplaceSynonyms
.p2align 2
_trap_BotReplaceSynonyms: ; @trap_BotReplaceSynonyms
.cfi_startproc
; %bb.0:
mov x2, x1
mov x1, x0
Lloh0:
adrp x8, _BOTLIB_AI_REPLACE_SYNONYMS@GOTPAGE
Lloh1:
ldr x8, [x8, _BOTLIB_AI_REPLACE_SYNONYMS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _syscall
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BOTLIB_AI_REPLACE_SYNONYMS,4,2 ; @BOTLIB_AI_REPLACE_SYNONYMS
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/game/extr_g_syscalls.c_trap_BotReplaceSynonyms.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ZSTD_hash7
_ZSTD_hash7: ## @ZSTD_hash7
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, %ecx
movq _prime7bytes@GOTPCREL(%rip), %rax
imull (%rax), %edi
shll $8, %edi
negb %cl
## kill: def $cl killed $cl killed $ecx
sarl %cl, %edi
movslq %edi, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _prime7bytes,4,2 ## @prime7bytes
.no_dead_strip _ZSTD_hash7
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ZSTD_hash7
_ZSTD_hash7: ; @ZSTD_hash7
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _prime7bytes@GOTPAGE
Lloh1:
ldr x8, [x8, _prime7bytes@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
mul w8, w0, w8
lsl w8, w8, #8
neg w9, w1
asr w8, w8, w9
sxtw x0, w8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _prime7bytes,4,2 ; @prime7bytes
.no_dead_strip _ZSTD_hash7
.subsections_via_symbols
| AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstd_compress_internal.h_ZSTD_hash7.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gatt_remove_bg_dev_from_list ## -- Begin function gatt_remove_bg_dev_from_list
.p2align 4, 0x90
_gatt_remove_bg_dev_from_list: ## @gatt_remove_bg_dev_from_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rdi, %r15
movq (%rdi), %r14
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %r13
movl %esi, %edi
callq _gatt_find_bg_dev
testq %rax, %rax
je LBB0_27
## %bb.1:
movq %rax, %r12
movq %r13, %rax
movq _GATT_MAX_APPS@GOTPCREL(%rip), %r8
movq (%r8), %rcx
testq %rcx, %rcx
je LBB0_14
## %bb.2:
movq (%r12), %rdi
xorl %r13d, %r13d
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r12), %rdx
cmpq %r14, (%rdx,%r13,8)
je LBB0_16
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
incq %r13
cmpq %r13, %rcx
je LBB0_15
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%r13,8), %rdx
testq %rdx, %rdx
jg LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq 8(%r12), %rsi
cmpq $0, (%rsi,%r13,8)
je LBB0_20
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
testq %rbx, %rbx
je LBB0_3
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
cmpq %r14, %rdx
jne LBB0_4
## %bb.9:
movq $0, (%rdi,%r13,8)
leaq 1(%r13), %rcx
cmpq (%r8), %rcx
jae LBB0_11
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rcx,8), %rdx
movq %rdx, -8(%rdi,%rcx,8)
incq %rcx
cmpq (%r8), %rcx
jb LBB0_10
LBB0_11:
cmpq $0, (%rdi)
jne LBB0_19
## %bb.12:
movq %r8, %rbx
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl 16(%r12), %esi
callq _BTM_BleUpdateBgConnDev
jmp LBB0_13
LBB0_14:
xorl %r13d, %r13d
cmpq (%r8), %r13
je LBB0_21
jmp LBB0_23
LBB0_15:
movq %rcx, %r13
cmpq (%r8), %r13
je LBB0_21
jmp LBB0_23
LBB0_16:
movq $0, (%rdx,%r13,8)
decl 8(%r15)
leaq 1(%r13), %rax
cmpq (%r8), %rax
jae LBB0_18
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq (%rdx,%rax,8), %rcx
movq %rcx, -8(%rdx,%rax,8)
incq %rax
cmpq (%r8), %rax
jb LBB0_17
LBB0_18:
cmpq $0, (%rdx)
je LBB0_22
LBB0_19:
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_20:
cmpq (%r8), %r13
je LBB0_21
LBB0_23:
movq (%r12), %rcx
cmpq $0, (%rcx)
je LBB0_25
LBB0_21:
movq %rax, %r13
LBB0_27:
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_25:
movq 8(%r12), %rcx
cmpq $0, (%rcx)
movq %rax, %r13
jne LBB0_27
## %bb.26:
movq %r12, %rdi
xorl %esi, %esi
movl $24, %edx
callq _memset
jmp LBB0_27
LBB0_22:
movq %r8, %rbx
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl 16(%r12), %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _BTM_BleUpdateAdvWhitelist
LBB0_13:
movq %rbx, %r8
cmpq (%r8), %r13
je LBB0_21
jmp LBB0_23
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _GATT_MAX_APPS,8,3 ## @GATT_MAX_APPS
.comm _TRUE,8,3 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gatt_remove_bg_dev_from_list ; -- Begin function gatt_remove_bg_dev_from_list
.p2align 2
_gatt_remove_bg_dev_from_list: ; @gatt_remove_bg_dev_from_list
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x2
mov x21, x0
ldr x26, [x0]
Lloh0:
adrp x25, _FALSE@GOTPAGE
Lloh1:
ldr x25, [x25, _FALSE@GOTPAGEOFF]
ldr x20, [x25]
mov x0, x1
bl _gatt_find_bg_dev
cbz x0, LBB0_25
; %bb.1:
mov x19, x0
Lloh2:
adrp x23, _GATT_MAX_APPS@GOTPAGE
Lloh3:
ldr x23, [x23, _GATT_MAX_APPS@GOTPAGEOFF]
ldr x9, [x23]
cbz x9, LBB0_14
; %bb.2:
mov x24, #0
ldr x8, [x19]
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr x10, [x19, #8]
ldr x11, [x10, x24, lsl #3]
cmp x11, x26
b.eq LBB0_16
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x24, x24, #1
cmp x9, x24
b.eq LBB0_15
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x10, [x8, x24, lsl #3]
cmp x10, #0
b.gt LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x11, [x19, #8]
ldr x11, [x11, x24, lsl #3]
cbz x11, LBB0_21
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
cbz x22, LBB0_3
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
cmp x10, x26
b.ne LBB0_4
; %bb.9:
str xzr, [x8, x24, lsl #3]
add x9, x24, #1
ldr x10, [x23]
cmp x9, x10
b.hs LBB0_12
; %bb.10:
mov x9, x24
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x10, x8, x9, lsl #3
ldr x11, [x10, #8]
str x11, [x10]
ldr x10, [x23]
add x11, x9, #2
add x9, x9, #1
cmp x11, x10
b.lo LBB0_11
LBB0_12:
ldr x8, [x8]
cbnz x8, LBB0_20
; %bb.13:
ldr x0, [x25]
ldr w1, [x19, #16]
bl _BTM_BleUpdateBgConnDev
mov x20, x0
b LBB0_21
LBB0_14:
mov x24, #0
b LBB0_21
LBB0_15:
mov x24, x9
b LBB0_21
LBB0_16:
str xzr, [x10, x24, lsl #3]
ldr w8, [x21, #8]
sub w8, w8, #1
str w8, [x21, #8]
add x8, x24, #1
ldr x9, [x23]
cmp x8, x9
b.hs LBB0_19
; %bb.17:
mov x8, x24
LBB0_18: ; =>This Inner Loop Header: Depth=1
add x9, x10, x8, lsl #3
ldr x11, [x9, #8]
str x11, [x9]
ldr x9, [x23]
add x11, x8, #2
add x8, x8, #1
cmp x11, x9
b.lo LBB0_18
LBB0_19:
ldr x8, [x10]
cbz x8, LBB0_26
LBB0_20:
Lloh4:
adrp x8, _TRUE@GOTPAGE
Lloh5:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
ldr x20, [x8]
LBB0_21:
ldr x8, [x23]
cmp x24, x8
b.eq LBB0_25
; %bb.22:
ldr x8, [x19]
ldr x8, [x8]
cbnz x8, LBB0_25
; %bb.23:
ldr x8, [x19, #8]
ldr x8, [x8]
cbnz x8, LBB0_25
; %bb.24:
mov x0, x19
mov w1, #0
mov w2, #24
bl _memset
LBB0_25:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_26:
ldr x0, [x25]
ldr w1, [x19, #16]
mov w2, #0
mov x3, #0
bl _BTM_BleUpdateAdvWhitelist
mov x20, x0
b LBB0_21
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _GATT_MAX_APPS,8,3 ; @GATT_MAX_APPS
.comm _TRUE,8,3 ; @TRUE
.subsections_via_symbols
| AnghaBench/esp-idf/components/bt/host/bluedroid/stack/gatt/extr_gatt_utils.c_gatt_remove_bg_dev_from_list.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_http_fastcgi_pass
_ngx_http_fastcgi_pass: ## @ngx_http_fastcgi_pass
.cfi_startproc
## %bb.0:
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
leaq L_.str(%rip), %rax
cmpq $0, (%rdx)
jne LBB0_11
## %bb.1:
movq %rdx, %rbx
cmpq $0, 16(%rdx)
jne LBB0_11
## %bb.2:
movq %rdi, %r14
movq _ngx_http_core_module@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ngx_http_conf_get_module_loc_conf
movq _ngx_http_fastcgi_handler@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 24(%rax)
movslq 8(%rax), %rcx
testq %rcx, %rcx
je LBB0_5
## %bb.3:
movq 16(%rax), %rdx
cmpb $47, -1(%rcx,%rdx)
jne LBB0_5
## %bb.4:
movl $1, (%rax)
LBB0_5:
movq (%r14), %rax
movq (%rax), %r15
addq $4, %r15
movq %r15, %rdi
callq _ngx_http_script_variables_count
testq %rax, %rax
je LBB0_8
## %bb.6:
movq %rax, %r12
leaq 16(%rbx), %r13
leaq -96(%rbp), %rdi
movl $56, %esi
callq _ngx_memzero
movq %r14, -48(%rbp)
movq %r15, -56(%rbp)
movq %r13, -64(%rbp)
addq $8, %rbx
movq %rbx, -72(%rbp)
movq %r12, -80(%rbp)
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, -96(%rbp)
leaq -96(%rbp), %rdi
callq _ngx_http_script_compile
movq _NGX_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_9
LBB0_7:
movq _NGX_CONF_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_8:
leaq -96(%rbp), %r12
movq %r12, %rdi
movl $56, %esi
callq _ngx_memzero
movl (%r15), %eax
movl %eax, -84(%rbp)
movl $1, -88(%rbp)
movq %r14, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq _ngx_http_upstream_add
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_7
LBB0_9:
movq _NGX_CONF_OK@GOTPCREL(%rip), %rax
LBB0_10:
movq (%rax), %rax
LBB0_11:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "is duplicate"
.comm _ngx_http_core_module,4,2 ## @ngx_http_core_module
.comm _ngx_http_fastcgi_handler,4,2 ## @ngx_http_fastcgi_handler
.comm _NGX_OK,8,3 ## @NGX_OK
.comm _NGX_CONF_ERROR,8,3 ## @NGX_CONF_ERROR
.comm _NGX_CONF_OK,8,3 ## @NGX_CONF_OK
.no_dead_strip _ngx_http_fastcgi_pass
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_http_fastcgi_pass
_ngx_http_fastcgi_pass: ; @ngx_http_fastcgi_pass
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
ldr x8, [x2]
cbnz x8, LBB0_2
; %bb.1:
mov x19, x2
mov x23, x2
ldr x8, [x23, #16]!
cbz x8, LBB0_4
LBB0_2:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
LBB0_3:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_4:
mov x20, x0
Lloh2:
adrp x8, _ngx_http_core_module@GOTPAGE
Lloh3:
ldr x8, [x8, _ngx_http_core_module@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
bl _ngx_http_conf_get_module_loc_conf
Lloh5:
adrp x8, _ngx_http_fastcgi_handler@GOTPAGE
Lloh6:
ldr x8, [x8, _ngx_http_fastcgi_handler@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [x0, #24]
ldrsw x8, [x0, #8]
cbz w8, LBB0_7
; %bb.5:
ldr x9, [x0, #16]
add x8, x8, x9
ldurb w8, [x8, #-1]
cmp w8, #47
b.ne LBB0_7
; %bb.6:
mov w8, #1
str w8, [x0]
LBB0_7:
ldr x8, [x20]
ldr x8, [x8]
add x21, x8, #4
mov x0, x21
bl _ngx_http_script_variables_count
cbz x0, LBB0_10
; %bb.8:
mov x22, x0
add x0, sp, #8
mov w1, #56
bl _ngx_memzero
stp x21, x20, [sp, #48]
add x8, x19, #8
stp x8, x23, [sp, #32]
str x22, [sp, #24]
movi.2s v0, #1
str d0, [sp, #8]
add x0, sp, #8
bl _ngx_http_script_compile
Lloh8:
adrp x8, _NGX_OK@GOTPAGE
Lloh9:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_11
LBB0_9:
Lloh11:
adrp x8, _NGX_CONF_ERROR@GOTPAGE
Lloh12:
ldr x8, [x8, _NGX_CONF_ERROR@GOTPAGEOFF]
b LBB0_12
LBB0_10:
add x0, sp, #8
mov w1, #56
bl _ngx_memzero
ldr w8, [x21]
mov w9, #1
stp w9, w8, [sp, #16]
add x1, sp, #8
mov x0, x20
mov w2, #0
bl _ngx_http_upstream_add
str x0, [x19]
cbz x0, LBB0_9
LBB0_11:
Lloh13:
adrp x8, _NGX_CONF_OK@GOTPAGE
Lloh14:
ldr x8, [x8, _NGX_CONF_OK@GOTPAGEOFF]
LBB0_12:
ldr x0, [x8]
b LBB0_3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "is duplicate"
.comm _ngx_http_core_module,4,2 ; @ngx_http_core_module
.comm _ngx_http_fastcgi_handler,4,2 ; @ngx_http_fastcgi_handler
.comm _NGX_OK,8,3 ; @NGX_OK
.comm _NGX_CONF_ERROR,8,3 ; @NGX_CONF_ERROR
.comm _NGX_CONF_OK,8,3 ; @NGX_CONF_OK
.no_dead_strip _ngx_http_fastcgi_pass
.subsections_via_symbols
| AnghaBench/nginx/src/http/modules/extr_ngx_http_fastcgi_module.c_ngx_http_fastcgi_pass.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
cmpl $1, %edi
jle LBB0_10
## %bb.1:
movq 8(%rsi), %rbx
movq %rbx, %rdi
callq _strlen
leaq 1(%rax), %rdi
callq _malloc
movq %rax, %r14
movl $1024, %edi ## imm = 0x400
callq _malloc
movq %rax, %r15
leaq 1(%rbx), %rdi
callq _strlen
movq %r14, %rdi
movq %rax, %rsi
callq ___bzero
movq %rbx, %rdi
callq _strlen
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _strncpy
leaq L_.str.2(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _fopen
testq %rax, %rax
je LBB0_9
## %bb.2:
movq %rax, %r14
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movq %rax, %rdx
callq _fgets
testq %rax, %rax
je LBB0_8
## %bb.3:
leaq L_.str.4(%rip), %rbx
leaq L_.str.6(%rip), %r13
jmp LBB0_4
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl $10, %edi
callq _putchar
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movq %r14, %rdx
callq _fgets
testq %rax, %rax
je LBB0_8
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq %r15, %rdi
movq %rbx, %rsi
callq _strtok
movq %rax, %r12
movq %rax, %rdi
callq _atoi
leaq L_.str.5(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
testq %r12, %r12
jne LBB0_6
jmp LBB0_7
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_6 Depth=2
movq %rax, %rdi
callq _atoi
movq %r13, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
LBB0_6: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
xorl %edi, %edi
movq %rbx, %rsi
callq _strtok
testq %rax, %rax
jne LBB0_5
jmp LBB0_7
LBB0_8:
movq %r15, %rdi
callq _free
movq %r14, %rdi
callq _fclose
LBB0_9:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.8(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Opening file %s\n"
L_.str.3: ## @.str.3
.asciz "r"
L_.str.4: ## @.str.4
.asciz " "
L_.str.5: ## @.str.5
.asciz "\nWorking set size: %d\n"
L_.str.6: ## @.str.6
.asciz "Request: %d\n"
L_str: ## @str
.asciz "Error: You must provide a datafile as an argument."
L_str.8: ## @str.8
.asciz "Example: ./fp datafile.txt"
.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 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
cmp w0, #1
b.le LBB0_10
; %bb.1:
ldr x20, [x1, #8]
mov x0, x20
bl _strlen
add x0, x0, #1
bl _malloc
mov x21, x0
mov w0, #1024
bl _malloc
mov x19, x0
add x0, x20, #1
bl _strlen
mov x1, x0
mov x0, x21
bl _bzero
mov x0, x20
bl _strlen
mov x2, x0
mov x0, x21
mov x1, x20
bl _strncpy
str x21, [sp]
Lloh0:
adrp x0, l_.str.2@PAGE
Lloh1:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
Lloh2:
adrp x1, l_.str.3@PAGE
Lloh3:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x21
bl _fopen
cbz x0, LBB0_9
; %bb.2:
mov x20, x0
mov x0, x19
mov w1, #1024
mov x2, x20
bl _fgets
cbz x0, LBB0_8
; %bb.3:
Lloh4:
adrp x21, l_.str.4@PAGE
Lloh5:
add x21, x21, l_.str.4@PAGEOFF
Lloh6:
adrp x22, l_.str.5@PAGE
Lloh7:
add x22, x22, l_.str.5@PAGEOFF
Lloh8:
adrp x23, l_.str.6@PAGE
Lloh9:
add x23, x23, l_.str.6@PAGEOFF
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
mov w0, #10
bl _putchar
mov x0, x19
mov w1, #1024
mov x2, x20
bl _fgets
cbz x0, LBB0_8
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
mov x0, x19
mov x1, x21
bl _strtok
mov x24, x0
bl _atoi
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x22
bl _printf
cbnz x24, LBB0_7
b LBB0_4
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
bl _atoi
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x23
bl _printf
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, #0
mov x1, x21
bl _strtok
cbnz x0, LBB0_6
b LBB0_4
LBB0_8:
mov x0, x19
bl _free
mov x0, x20
bl _fclose
LBB0_9:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_10:
Lloh10:
adrp x0, l_str@PAGE
Lloh11:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh12:
adrp x0, l_str.8@PAGE
Lloh13:
add x0, x0, l_str.8@PAGEOFF
bl _puts
mov w0, #1
bl _exit
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Opening file %s\n"
l_.str.3: ; @.str.3
.asciz "r"
l_.str.4: ; @.str.4
.asciz " "
l_.str.5: ; @.str.5
.asciz "\nWorking set size: %d\n"
l_.str.6: ; @.str.6
.asciz "Request: %d\n"
l_str: ; @str
.asciz "Error: You must provide a datafile as an argument."
l_str.8: ; @str.8
.asciz "Example: ./fp datafile.txt"
.subsections_via_symbols
| the_stack_data/138961.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ZSTD_checkContinuity
_ZSTD_checkContinuity: ## @ZSTD_checkContinuity
.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
cmpq %rsi, %rax
je LBB0_2
## %bb.1:
movq %rax, 8(%rdi)
movq 24(%rdi), %rcx
subq %rax, %rcx
addq %rsi, %rcx
movq %rcx, 16(%rdi)
movq %rsi, 24(%rdi)
movq %rsi, (%rdi)
LBB0_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ZSTD_checkContinuity
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ZSTD_checkContinuity
_ZSTD_checkContinuity: ; @ZSTD_checkContinuity
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, x1
b.eq LBB0_2
; %bb.1:
ldr x9, [x0, #24]
sub x9, x9, x8
add x9, x1, x9
stp x9, x1, [x0, #16]
stp x1, x8, [x0]
LBB0_2:
ret
.cfi_endproc
; -- End function
.no_dead_strip _ZSTD_checkContinuity
.subsections_via_symbols
| AnghaBench/freebsd/sys/contrib/zstd/lib/legacy/extr_zstd_v04.c_ZSTD_checkContinuity.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atamouse_close
_atamouse_close: ## @atamouse_close
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq _ikbd_mouse_disable
movq _atari_mouse_interrupt_hook@GOTPCREL(%rip), %rax
movq $0, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _atari_mouse_interrupt_hook,8,3 ## @atari_mouse_interrupt_hook
.no_dead_strip _atamouse_close
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atamouse_close
_atamouse_close: ; @atamouse_close
.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 _ikbd_mouse_disable
Lloh0:
adrp x8, _atari_mouse_interrupt_hook@GOTPAGE
Lloh1:
ldr x8, [x8, _atari_mouse_interrupt_hook@GOTPAGEOFF]
Lloh2:
str xzr, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _atari_mouse_interrupt_hook,8,3 ; @atari_mouse_interrupt_hook
.no_dead_strip _atamouse_close
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/input/mouse/extr_atarimouse.c_atamouse_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbuf_del_drvaux ## -- Begin function mbuf_del_drvaux
.p2align 4, 0x90
_mbuf_del_drvaux: ## @mbuf_del_drvaux
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq %rdi, %rbx
movq _M_PKTHDR@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_3
## %bb.2:
movq _KERNEL_MODULE_TAG_ID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _KERNEL_TAG_TYPE_DRVAUX@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
xorl %ecx, %ecx
callq _m_tag_locate
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rbx, %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _m_tag_delete ## TAILCALL
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _M_PKTHDR,4,2 ## @M_PKTHDR
.comm _KERNEL_MODULE_TAG_ID,4,2 ## @KERNEL_MODULE_TAG_ID
.comm _KERNEL_TAG_TYPE_DRVAUX,4,2 ## @KERNEL_TAG_TYPE_DRVAUX
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mbuf_del_drvaux ; -- Begin function mbuf_del_drvaux
.p2align 2
_mbuf_del_drvaux: ; @mbuf_del_drvaux
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
ldr w8, [x0]
Lloh0:
adrp x9, _M_PKTHDR@GOTPAGE
Lloh1:
ldr x9, [x9, _M_PKTHDR@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.2:
Lloh3:
adrp x8, _KERNEL_MODULE_TAG_ID@GOTPAGE
Lloh4:
ldr x8, [x8, _KERNEL_MODULE_TAG_ID@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _KERNEL_TAG_TYPE_DRVAUX@GOTPAGE
Lloh7:
ldr x8, [x8, _KERNEL_TAG_TYPE_DRVAUX@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov x0, x19
mov x3, #0
bl _m_tag_locate
cbz x0, LBB0_4
; %bb.3:
mov x1, x0
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _m_tag_delete
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _M_PKTHDR,4,2 ; @M_PKTHDR
.comm _KERNEL_MODULE_TAG_ID,4,2 ; @KERNEL_MODULE_TAG_ID
.comm _KERNEL_TAG_TYPE_DRVAUX,4,2 ; @KERNEL_TAG_TYPE_DRVAUX
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/kern/extr_kpi_mbuf.c_mbuf_del_drvaux.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isVowel ## -- Begin function isVowel
.p2align 4, 0x90
_isVowel: ## @isVowel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addb $-65, %dil
cmpb $53, %dil
setb %cl
movzbl %dil, %eax
movabsq $4575140898685201, %rdx ## imm = 0x10411100104111
btq %rax, %rdx
setb %al
andb %cl, %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _copy_non_vowels ## -- Begin function copy_non_vowels
.p2align 4, 0x90
_copy_non_vowels: ## @copy_non_vowels
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edi, %edi
jle LBB1_7
## %bb.1:
movl %edi, %r8d
cmpl $1, %edi
jne LBB1_8
## %bb.2:
xorl %edi, %edi
xorl %eax, %eax
LBB1_3:
testb $1, %r8b
je LBB1_6
## %bb.4:
movb (%rsi,%rdi), %cl
leal -65(%rcx), %esi
cmpb $52, %sil
ja LBB1_16
## %bb.5:
movzbl %sil, %esi
movabsq $4575140898685201, %rdi ## imm = 0x10411100104111
btq %rsi, %rdi
jae LBB1_16
LBB1_6:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB1_7:
xorl %eax, %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB1_8:
movl %r8d, %r10d
andl $-2, %r10d
xorl %edi, %edi
movabsq $4575140898685201, %r9 ## imm = 0x10411100104111
xorl %eax, %eax
jmp LBB1_11
LBB1_9: ## in Loop: Header=BB1_11 Depth=1
cltq
movb %r11b, 1(%rdx,%rax)
incq %rax
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_11 Depth=1
addq $2, %rdi
cmpq %rdi, %r10
je LBB1_3
LBB1_11: ## =>This Inner Loop Header: Depth=1
movzbl (%rsi,%rdi), %r11d
leal -65(%r11), %ecx
cmpb $52, %cl
ja LBB1_15
## %bb.12: ## in Loop: Header=BB1_11 Depth=1
movzbl %cl, %ecx
btq %rcx, %r9
jae LBB1_15
LBB1_13: ## in Loop: Header=BB1_11 Depth=1
movzbl 1(%rsi,%rdi), %r11d
leal -65(%r11), %ecx
cmpb $52, %cl
ja LBB1_9
## %bb.14: ## in Loop: Header=BB1_11 Depth=1
movzbl %cl, %ecx
btq %rcx, %r9
jb LBB1_10
jmp LBB1_9
LBB1_15: ## in Loop: Header=BB1_11 Depth=1
cltq
movb %r11b, 1(%rdx,%rax)
incq %rax
jmp LBB1_13
LBB1_16:
cltq
movb %cl, 1(%rdx,%rax)
incq %rax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _disemvowel ## -- Begin function disemvowel
.p2align 4, 0x90
_disemvowel: ## @disemvowel
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movabsq $4575140898685201, %r15 ## imm = 0x10411100104111
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _fgetc
## kill: def $eax killed $eax def $rax
leal -65(%rax), %ecx
cmpb $52, %cl
ja LBB2_2
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movzbl %cl, %ecx
btq %rcx, %r15
jb LBB2_1
LBB2_2: ## in Loop: Header=BB2_1 Depth=1
cmpb $-1, %al
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movsbl %al, %edi
movq %r14, %rsi
callq _fputc
jmp LBB2_1
LBB2_4:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
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
movq %rsi, %r15
cmpl $3, %edi
je LBB3_4
## %bb.1:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %r14
cmpl $2, %edi
jne LBB3_2
## %bb.3:
movq 8(%r15), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %rbx
jmp LBB3_5
LBB3_4:
movq 8(%r15), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %rbx
movq 16(%r15), %rdi
leaq L_.str.2(%rip), %rsi
callq _fopen
movq %rax, %r14
jmp LBB3_5
LBB3_2:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rbx
LBB3_5:
movabsq $4575140898685201, %r15 ## imm = 0x10411100104111
.p2align 4, 0x90
LBB3_6: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _fgetc
## kill: def $eax killed $eax def $rax
leal -65(%rax), %ecx
cmpb $52, %cl
ja LBB3_7
## %bb.10: ## in Loop: Header=BB3_6 Depth=1
movzbl %cl, %ecx
btq %rcx, %r15
jb LBB3_6
LBB3_7: ## in Loop: Header=BB3_6 Depth=1
cmpb $-1, %al
je LBB3_9
## %bb.8: ## in Loop: Header=BB3_6 Depth=1
movsbl %al, %edi
movq %r14, %rsi
callq _fputc
jmp LBB3_6
LBB3_9:
movq %rbx, %rdi
callq _fclose
movq %r14, %rdi
callq _fclose
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "w"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isVowel ; -- Begin function isVowel
.p2align 2
_isVowel: ; @isVowel
.cfi_startproc
; %bb.0:
sub w8, w0, #65
cmp w8, #53
cset w9, lo
mov x10, #4503668347895824
movk x10, #16657
movk x10, #16657, lsl #32
lsr x8, x10, x8
and w0, w9, w8
ret
.cfi_endproc
; -- End function
.globl _copy_non_vowels ; -- Begin function copy_non_vowels
.p2align 2
_copy_non_vowels: ; @copy_non_vowels
.cfi_startproc
; %bb.0:
cmp w0, #1
b.lt LBB1_5
; %bb.1:
mov x8, x0
mov w0, #0
mov w9, #1
mov x10, #4503668347895824
movk x10, #16657
movk x10, #16657, lsl #32
mov w8, w8
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add x1, x1, #1
subs x8, x8, #1
b.eq LBB1_6
LBB1_3: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x1]
sub w12, w11, #65
cmp w12, #52
lsl x12, x9, x12
and x12, x12, x10
ccmp x12, #0, #4, ls
b.ne LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
sxtw x12, w0
add x0, x12, #1
strb w11, [x2, x0]
; kill: def $w0 killed $w0 killed $x0 def $x0
b LBB1_2
LBB1_5:
mov w0, #0
LBB1_6:
; kill: def $w0 killed $w0 killed $x0
ret
.cfi_endproc
; -- End function
.globl _disemvowel ; -- Begin function disemvowel
.p2align 2
_disemvowel: ; @disemvowel
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
mov w21, #1
mov x22, #4503668347895824
movk x22, #16657
movk x22, #16657, lsl #32
LBB2_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _fgetc
and w8, w0, #0xff
sub w9, w8, #65
cmp w9, #52
lsl x9, x21, x9
and x9, x9, x22
ccmp x9, #0, #4, ls
b.ne LBB2_1
; %bb.2: ; in Loop: Header=BB2_1 Depth=1
cmp w8, #255
b.eq LBB2_4
; %bb.3: ; in Loop: Header=BB2_1 Depth=1
sxtb w0, w0
mov x1, x19
bl _fputc
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.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 x21, x1
cmp w0, #3
b.eq LBB3_3
; %bb.1:
Lloh0:
adrp x8, ___stdoutp@GOTPAGE
Lloh1:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh2:
ldr x19, [x8]
cmp w0, #2
b.ne LBB3_4
; %bb.2:
ldr x0, [x21, #8]
Lloh3:
adrp x1, l_.str.1@PAGE
Lloh4:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x20, x0
b LBB3_5
LBB3_3:
ldr x0, [x21, #8]
Lloh5:
adrp x1, l_.str.1@PAGE
Lloh6:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x20, x0
ldr x0, [x21, #16]
Lloh7:
adrp x1, l_.str.2@PAGE
Lloh8:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
mov x19, x0
b LBB3_5
LBB3_4:
Lloh9:
adrp x8, ___stdinp@GOTPAGE
Lloh10:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh11:
ldr x20, [x8]
LBB3_5:
mov w21, #1
mov x22, #4503668347895824
movk x22, #16657
movk x22, #16657, lsl #32
LBB3_6: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _fgetc
and w8, w0, #0xff
sub w9, w8, #65
cmp w9, #52
lsl x9, x21, x9
and x9, x9, x22
ccmp x9, #0, #4, ls
b.ne LBB3_6
; %bb.7: ; in Loop: Header=BB3_6 Depth=1
cmp w8, #255
b.eq LBB3_9
; %bb.8: ; in Loop: Header=BB3_6 Depth=1
sxtb w0, w0
mov x1, x19
bl _fputc
b LBB3_6
LBB3_9:
mov x0, x20
bl _fclose
mov x0, x19
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "w"
.subsections_via_symbols
| the_stack_data/930904.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nothrow_libfn_p ## -- Begin function nothrow_libfn_p
.p2align 4, 0x90
_nothrow_libfn_p: ## @nothrow_libfn_p
.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 _nothrow_libfn_p ; -- Begin function nothrow_libfn_p
.p2align 2
_nothrow_libfn_p: ; @nothrow_libfn_p
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/206393626.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %esi
shll $2, %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.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, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #4
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
lsl w8, w8, #2
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/234519500.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _md_section_align ## -- Begin function md_section_align
.p2align 4, 0x90
_md_section_align: ## @md_section_align
.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 %edi, %esi
movq _stdoutput@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_get_section_alignment
movl %eax, %ecx
movl $1, %eax
shll %cl, %eax
addl %ebx, %eax
decl %eax
shrl %cl, %eax
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stdoutput,4,2 ## @stdoutput
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _md_section_align ; -- Begin function md_section_align
.p2align 2
_md_section_align: ; @md_section_align
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x1, x0
Lloh0:
adrp x8, _stdoutput@GOTPAGE
Lloh1:
ldr x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _bfd_get_section_alignment
mov w8, #1
lsl w8, w8, w0
add w8, w19, w8
sub w8, w8, #1
mov w9, #-1
lsl w9, w9, w0
and w0, w8, w9
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 _stdoutput,4,2 ; @stdoutput
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/gas/config/extr_tc-arc.c_md_section_align.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_tx_desc_htc
_set_tx_desc_htc: ## @set_tx_desc_htc
.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 $25, %edi
callq _BIT
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
popq %rbx
popq %r14
popq %rbp
jmp _le32p_replace_bits ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _set_tx_desc_htc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_tx_desc_htc
_set_tx_desc_htc: ; @set_tx_desc_htc
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w0, #25
bl _BIT
mov x2, x0
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _le32p_replace_bits
.cfi_endproc
; -- End function
.no_dead_strip _set_tx_desc_htc
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/extr_trx.h_set_tx_desc_htc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function e752x_get_devs
_e752x_get_devs: ## @e752x_get_devs
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movl %esi, %r14d
movq %rdi, %r15
movq _PCI_VENDOR_ID_INTEL@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq 16(%rdx), %rax
movl (%rax), %esi
xorl %edx, %edx
callq _pci_get_device
movq %rax, (%r12)
testq %rax, %rax
je LBB0_1
## %bb.2:
testq %rax, %rax
je LBB0_3
LBB0_4:
movl (%r13), %edi
movq _e752x_devs@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r14d, %rcx
movl (%rax,%rcx,8), %esi
xorl %ebx, %ebx
xorl %edx, %edx
callq _pci_get_device
movq %rax, 8(%r12)
testq %rax, %rax
jne LBB0_7
## %bb.5:
movq (%r12), %rdi
callq _pci_dev_put
jmp LBB0_6
LBB0_1:
movl (%r15), %ebx
xorl %edi, %edi
movl $1, %esi
callq _PCI_DEVFN
movl %ebx, %edi
movl %eax, %esi
callq _pci_scan_single_device
movq %rax, (%r12)
movq %rax, %rdi
callq _pci_dev_get
movq (%r12), %rax
testq %rax, %rax
jne LBB0_4
LBB0_3:
movq _KERN_ERR@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r13), %edx
movq _e752x_devs@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r14d, %rcx
movl 4(%rax,%rcx,8), %ecx
leaq L_.str(%rip), %rsi
callq _e752x_printk
LBB0_6:
movl $1, %ebx
LBB0_7:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PCI_VENDOR_ID_INTEL,4,2 ## @PCI_VENDOR_ID_INTEL
.comm _KERN_ERR,4,2 ## @KERN_ERR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "error reporting device not found:vendor %x device 0x%x (broken BIOS?)\n"
.comm _e752x_devs,8,3 ## @e752x_devs
.no_dead_strip _e752x_get_devs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function e752x_get_devs
_e752x_get_devs: ; @e752x_get_devs
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x22, _PCI_VENDOR_ID_INTEL@GOTPAGE
Lloh1:
ldr x22, [x22, _PCI_VENDOR_ID_INTEL@GOTPAGEOFF]
ldr w0, [x22]
ldr x8, [x2, #16]
ldr w1, [x8]
mov x2, #0
bl _pci_get_device
str x0, [x19]
cbz x0, LBB0_4
; %bb.1:
cbz x0, LBB0_5
LBB0_2:
ldr w0, [x22]
Lloh2:
adrp x8, _e752x_devs@GOTPAGE
Lloh3:
ldr x8, [x8, _e752x_devs@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
sbfiz x9, x20, #3, #32
ldr w1, [x8, x9]
mov x2, #0
bl _pci_get_device
str x0, [x19, #8]
cbz x0, LBB0_6
; %bb.3:
mov w0, #0
b LBB0_8
LBB0_4:
ldr w21, [x21]
mov w1, #1
bl _PCI_DEVFN
mov x1, x0
mov x0, x21
bl _pci_scan_single_device
str x0, [x19]
bl _pci_dev_get
ldr x0, [x19]
cbnz x0, LBB0_2
LBB0_5:
Lloh5:
adrp x8, _KERN_ERR@GOTPAGE
Lloh6:
ldr x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
ldr w2, [x22]
Lloh8:
adrp x8, _e752x_devs@GOTPAGE
Lloh9:
ldr x8, [x8, _e752x_devs@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
add x8, x8, w20, sxtw #3
ldr w3, [x8, #4]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
bl _e752x_printk
b LBB0_7
LBB0_6:
ldr x0, [x19]
bl _pci_dev_put
LBB0_7:
mov w0, #1
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _PCI_VENDOR_ID_INTEL,4,2 ; @PCI_VENDOR_ID_INTEL
.comm _KERN_ERR,4,2 ; @KERN_ERR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "error reporting device not found:vendor %x device 0x%x (broken BIOS?)\n"
.comm _e752x_devs,8,3 ; @e752x_devs
.no_dead_strip _e752x_get_devs
.subsections_via_symbols
| AnghaBench/linux/drivers/edac/extr_e752x_edac.c_e752x_get_devs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hubp2_set_flip_control_surface_gsl ## -- Begin function hubp2_set_flip_control_surface_gsl
.p2align 4, 0x90
_hubp2_set_flip_control_surface_gsl: ## @hubp2_set_flip_control_surface_gsl
.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
callq _TO_DCN20_HUBP
movq _DCSURF_FLIP_CONTROL2@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SURFACE_GSL_ENABLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
testl %ebx, %ebx
setne %dl
addq $8, %rsp
popq %rbx
popq %rbp
jmp _REG_UPDATE ## TAILCALL
.cfi_endproc
## -- End function
.comm _DCSURF_FLIP_CONTROL2,4,2 ## @DCSURF_FLIP_CONTROL2
.comm _SURFACE_GSL_ENABLE,4,2 ## @SURFACE_GSL_ENABLE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hubp2_set_flip_control_surface_gsl ; -- Begin function hubp2_set_flip_control_surface_gsl
.p2align 2
_hubp2_set_flip_control_surface_gsl: ; @hubp2_set_flip_control_surface_gsl
.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 _TO_DCN20_HUBP
Lloh0:
adrp x8, _DCSURF_FLIP_CONTROL2@GOTPAGE
Lloh1:
ldr x8, [x8, _DCSURF_FLIP_CONTROL2@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _SURFACE_GSL_ENABLE@GOTPAGE
Lloh4:
ldr x8, [x8, _SURFACE_GSL_ENABLE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
cmp w19, #0
cset w2, ne
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _REG_UPDATE
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DCSURF_FLIP_CONTROL2,4,2 ; @DCSURF_FLIP_CONTROL2
.comm _SURFACE_GSL_ENABLE,4,2 ; @SURFACE_GSL_ENABLE
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/display/dc/dcn20/extr_dcn20_hubp.c_hubp2_set_flip_control_surface_gsl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rd_out
_rd_out: ## @rd_out
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq l___const.rd_out.list+64(%rip), %rax
movq %rax, -16(%rbp)
movaps l___const.rd_out.list+48(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.rd_out.list+32(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.rd_out.list+16(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movaps l___const.rd_out.list(%rip), %xmm0
movaps %xmm0, -80(%rbp)
leaq -80(%rbp), %rsi
movl $1, %edx
xorl %ecx, %ecx
callq _indx
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB0_2
## %bb.1:
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "b"
L_.str.1: ## @.str.1
.asciz "c"
L_.str.2: ## @.str.2
.asciz "d"
L_.str.3: ## @.str.3
.asciz "e"
L_.str.4: ## @.str.4
.asciz "h"
L_.str.5: ## @.str.5
.asciz "l"
L_.str.6: ## @.str.6
.asciz "0"
L_.str.7: ## @.str.7
.asciz "a"
.section __DATA,__const
.p2align 4 ## @__const.rd_out.list
l___const.rd_out.list:
.quad L_.str
.quad L_.str.1
.quad L_.str.2
.quad L_.str.3
.quad L_.str.4
.quad L_.str.5
.quad L_.str.6
.quad L_.str.7
.quad 0
.no_dead_strip _rd_out
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rd_out
_rd_out: ; @rd_out
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-8]
Lloh3:
adrp x8, l___const.rd_out.list@PAGE
Lloh4:
add x8, x8, l___const.rd_out.list@PAGEOFF
ldp q0, q1, [x8, #32]
stp q0, q1, [sp, #32]
ldr x9, [x8, #64]
str x9, [sp, #64]
ldp q1, q0, [x8]
stp q1, q0, [sp]
mov x1, sp
mov w2, #1
mov x3, #0
bl _indx
ldur x8, [x29, #-8]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "b"
l_.str.1: ; @.str.1
.asciz "c"
l_.str.2: ; @.str.2
.asciz "d"
l_.str.3: ; @.str.3
.asciz "e"
l_.str.4: ; @.str.4
.asciz "h"
l_.str.5: ; @.str.5
.asciz "l"
l_.str.6: ; @.str.6
.asciz "0"
l_.str.7: ; @.str.7
.asciz "a"
.section __DATA,__const
.p2align 3 ; @__const.rd_out.list
l___const.rd_out.list:
.quad l_.str
.quad l_.str.1
.quad l_.str.2
.quad l_.str.3
.quad l_.str.4
.quad l_.str.5
.quad l_.str.6
.quad l_.str.7
.quad 0
.no_dead_strip _rd_out
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/z80/extr_z80asm.c_rd_out.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _health_variable_lookup ## -- Begin function health_variable_lookup
.p2align 4, 0x90
_health_variable_lookup: ## @health_variable_lookup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _health_variable_lookup ; -- Begin function health_variable_lookup
.p2align 2
_health_variable_lookup: ; @health_variable_lookup
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/netdata/libnetdata/tests/extr_..required_dummies.h_health_variable_lookup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.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
movl (%rdi), %eax
movl (%rsi), %ecx
movl %ecx, (%rdi)
movl %eax, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _comparator ## -- Begin function comparator
.p2align 4, 0x90
_comparator: ## @comparator
.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
subl (%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mySelectionSort ## -- Begin function mySelectionSort
.p2align 4, 0x90
_mySelectionSort: ## @mySelectionSort
.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
cmpl $2, %esi
jl LBB2_4
## %bb.1:
movl %esi, %r11d
decl %esi
movl $1, %r9d
xorl %r10d, %r10d
jmp LBB2_2
.p2align 4, 0x90
LBB2_3: ## in Loop: Header=BB2_2 Depth=1
movslq %edx, %rax
movl (%rdi,%r10,4), %ecx
movl (%rdi,%rax,4), %edx
movl %edx, (%rdi,%r10,4)
movl %ecx, (%rdi,%rax,4)
incq %r9
movq %r8, %r10
cmpq %rsi, %r8
je LBB2_4
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_5 Depth 2
leaq 1(%r10), %r8
movl %r10d, %edx
movq %r9, %rcx
cmpq %r11, %r8
jb LBB2_5
jmp LBB2_3
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_5 Depth=2
incq %rcx
movl %eax, %edx
cmpq %rcx, %r11
je LBB2_3
LBB2_5: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rdi,%rcx,4), %r14d
movslq %edx, %rbx
movl %ecx, %eax
cmpl (%rdi,%rbx,4), %r14d
jl LBB2_7
## %bb.6: ## in Loop: Header=BB2_5 Depth=2
movl %edx, %eax
jmp LBB2_7
LBB2_4:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _checkEqual ## -- Begin function checkEqual
.p2align 4, 0x90
_checkEqual: ## @checkEqual
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
jle LBB3_6
## %bb.1:
movl (%rdi), %eax
cmpl (%rsi), %eax
jne LBB3_8
## %bb.2:
movl %edx, %r8d
movl $1, %edx
.p2align 4, 0x90
LBB3_3: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rcx
cmpq %rdx, %r8
je LBB3_5
## %bb.4: ## in Loop: Header=BB3_3 Depth=1
movl (%rdi,%rcx,4), %eax
leaq 1(%rcx), %rdx
cmpl (%rsi,%rcx,4), %eax
je LBB3_3
LBB3_5:
cmpq %r8, %rcx
setae %al
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB3_6:
movb $1, %al
## kill: def $al killed $al killed $eax
popq %rbp
retq
LBB3_8:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _testCorrectCase ## -- Begin function testCorrectCase
.p2align 4, 0x90
_testCorrectCase: ## @testCorrectCase
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $168, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -32(%rbp)
movaps %xmm0, -48(%rbp)
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm0, -128(%rbp)
movaps %xmm0, -144(%rbp)
movaps %xmm0, -160(%rbp)
movaps %xmm0, -176(%rbp)
xorl %ebx, %ebx
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
.p2align 4, 0x90
LBB4_1: ## =>This Inner Loop Header: Depth=1
callq _rand
cltq
imulq $1098413215, %rax, %rcx ## imm = 0x4178749F
movq %rcx, %rdx
shrq $63, %rdx
sarq $40, %rcx
addl %edx, %ecx
imull $1001, %ecx, %ecx ## imm = 0x3E9
negl %ecx
addl %ecx, %eax
addl $-10, %eax
movl %eax, -96(%rbp,%rbx,4)
movl %eax, -176(%rbp,%rbx,4)
incq %rbx
cmpq $20, %rbx
jne LBB4_1
## %bb.2:
leaq _comparator(%rip), %rcx
leaq -96(%rbp), %rdi
movl $20, %esi
movl $4, %edx
callq _qsort
movl $1, %r9d
xorl %ecx, %ecx
jmp LBB4_3
.p2align 4, 0x90
LBB4_7: ## in Loop: Header=BB4_3 Depth=1
movslq %ebx, %rsi
movl -176(%rbp,%rcx,4), %edi
movl -176(%rbp,%rsi,4), %ebx
movl %ebx, -176(%rbp,%rcx,4)
movl %edi, -176(%rbp,%rsi,4)
incq %r9
movq %r8, %rcx
cmpq $19, %r8
je LBB4_8
LBB4_3: ## =>This Loop Header: Depth=1
## Child Loop BB4_4 Depth 2
leaq 1(%rcx), %r8
movq %r9, %rsi
movl %ecx, %edi
jmp LBB4_4
.p2align 4, 0x90
LBB4_6: ## in Loop: Header=BB4_4 Depth=2
incq %rsi
movl %ebx, %edi
cmpq $20, %rsi
je LBB4_7
LBB4_4: ## Parent Loop BB4_3 Depth=1
## => This Inner Loop Header: Depth=2
movl -176(%rbp,%rsi,4), %edx
movslq %edi, %rax
movl %esi, %ebx
cmpl -176(%rbp,%rax,4), %edx
jl LBB4_6
## %bb.5: ## in Loop: Header=BB4_4 Depth=2
movl %edi, %ebx
jmp LBB4_6
LBB4_8:
leaq -176(%rbp), %rdi
leaq -96(%rbp), %rsi
movl $80, %edx
callq _memcmp
testl %eax, %eax
sete %al
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -16(%rbp), %rcx
jne LBB4_10
## %bb.9:
addq $168, %rsp
popq %rbx
popq %rbp
retq
LBB4_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function testEqualCase
LCPI5_0:
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.section __TEXT,__text,regular,pure_instructions
.globl _testEqualCase
.p2align 4, 0x90
_testEqualCase: ## @testEqualCase
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movaps l___const.testEqualCase.randomArray+64(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movaps l___const.testEqualCase.randomArray+48(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.testEqualCase.randomArray+32(%rip), %xmm0
movaps %xmm0, -64(%rbp)
movaps l___const.testEqualCase.randomArray+16(%rip), %xmm0
movaps %xmm0, -80(%rbp)
movaps l___const.testEqualCase.randomArray(%rip), %xmm0
movaps %xmm0, -96(%rbp)
movl $1, %r9d
xorl %r10d, %r10d
jmp LBB5_1
.p2align 4, 0x90
LBB5_5: ## in Loop: Header=BB5_1 Depth=1
movslq %edx, %rdx
movl -96(%rbp,%r10,4), %esi
movl -96(%rbp,%rdx,4), %edi
movl %edi, -96(%rbp,%r10,4)
movl %esi, -96(%rbp,%rdx,4)
incq %r9
movq %r8, %r10
cmpq $19, %r8
je LBB5_6
LBB5_1: ## =>This Loop Header: Depth=1
## Child Loop BB5_2 Depth 2
leaq 1(%r10), %r8
movq %r9, %rsi
movl %r10d, %edi
jmp LBB5_2
.p2align 4, 0x90
LBB5_4: ## in Loop: Header=BB5_2 Depth=2
incq %rsi
movl %edx, %edi
cmpq $20, %rsi
je LBB5_5
LBB5_2: ## Parent Loop BB5_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -96(%rbp,%rsi,4), %eax
movslq %edi, %rcx
movl %esi, %edx
cmpl -96(%rbp,%rcx,4), %eax
jl LBB5_4
## %bb.3: ## in Loop: Header=BB5_2 Depth=2
movl %edi, %edx
jmp LBB5_4
LBB5_6:
movdqa LCPI5_0(%rip), %xmm0 ## xmm0 = [4294967291,4294967291,4294967291,4294967291]
movdqa -48(%rbp), %xmm1
pcmpeqd %xmm0, %xmm1
pcmpeqd %xmm2, %xmm2
pxor %xmm2, %xmm1
movdqa -64(%rbp), %xmm3
pcmpeqd %xmm0, %xmm3
pxor %xmm2, %xmm3
packssdw %xmm1, %xmm3
movdqa -80(%rbp), %xmm1
pcmpeqd %xmm0, %xmm1
pxor %xmm2, %xmm1
movdqa -96(%rbp), %xmm4
pcmpeqd %xmm0, %xmm4
pxor %xmm2, %xmm4
packssdw %xmm1, %xmm4
packsswb %xmm3, %xmm4
pmovmskb %xmm4, %eax
testl %eax, %eax
pcmpeqd -32(%rbp), %xmm0
sete %al
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -8(%rbp), %rcx
jne LBB5_8
## %bb.7:
movmskps %xmm0, %ecx
movl %ecx, %esi
movl %ecx, %edx
shrb %dl
andb %cl, %dl
## kill: def $cl killed $cl killed $ecx
shrb $3, %cl
shrb $2, %sil
andb %sil, %dl
andb %cl, %dl
andb %dl, %al
addq $96, %rsp
popq %rbp
retq
LBB5_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 %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
callq _testCorrectCase
testb %al, %al
je LBB6_2
## %bb.1:
callq _testEqualCase
testb %al, %al
je LBB6_2
## %bb.3:
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.7(%rip), %rdi
callq _puts
movl $10, %edi
movl $4, %esi
callq _calloc
testq %rax, %rax
je LBB6_4
## %bb.5:
movq %rax, %rbx
movl $0, -36(%rbp)
leaq L_.str.4(%rip), %r14
xorl %r12d, %r12d
leaq -36(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, (%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 4(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 8(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 12(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 16(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 20(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 24(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 28(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 32(%rbx)
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _scanf
movl -36(%rbp), %eax
movl %eax, 36(%rbx)
movl $1, %r9d
jmp LBB6_6
.p2align 4, 0x90
LBB6_10: ## in Loop: Header=BB6_6 Depth=1
movslq %edi, %rdx
movl (%rbx,%r12,4), %esi
movl (%rbx,%rdx,4), %edi
movl %edi, (%rbx,%r12,4)
movl %esi, (%rbx,%rdx,4)
incq %r9
movq %r8, %r12
cmpq $9, %r8
je LBB6_11
LBB6_6: ## =>This Loop Header: Depth=1
## Child Loop BB6_7 Depth 2
leaq 1(%r12), %r8
movq %r9, %rdx
movl %r12d, %esi
jmp LBB6_7
.p2align 4, 0x90
LBB6_9: ## in Loop: Header=BB6_7 Depth=2
incq %rdx
movl %edi, %esi
cmpq $10, %rdx
je LBB6_10
LBB6_7: ## Parent Loop BB6_6 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx,%rdx,4), %ecx
movslq %esi, %rax
movl %edx, %edi
cmpl (%rbx,%rax,4), %ecx
jl LBB6_9
## %bb.8: ## in Loop: Header=BB6_7 Depth=2
movl %esi, %edi
jmp LBB6_9
LBB6_2:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %r14d
LBB6_12:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB6_11:
leaq L_str.8(%rip), %rdi
callq _puts
movl (%rbx), %esi
leaq L_.str.6(%rip), %r15
xorl %r14d, %r14d
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 4(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 8(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 12(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 16(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 20(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 24(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 28(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 32(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movl 36(%rbx), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
callq _free
jmp LBB6_12
LBB6_4:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $-1, %r14d
jmp LBB6_12
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.testEqualCase.randomArray
l___const.testEqualCase.randomArray:
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.long 4294967291 ## 0xfffffffb
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Tests failed."
L_.str.3: ## @.str.3
.asciz "Calloc function broke :("
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.6: ## @.str.6
.asciz "%d "
L_str: ## @str
.asciz "Size of array = 10"
L_str.7: ## @str.7
.asciz "Enter elements of array: "
L_str.8: ## @str.8
.asciz "\nArray after using selection sort: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
str w9, [x0]
str w8, [x1]
ret
.cfi_endproc
; -- End function
.globl _comparator ; -- Begin function comparator
.p2align 2
_comparator: ; @comparator
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
sub w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _mySelectionSort ; -- Begin function mySelectionSort
.p2align 2
_mySelectionSort: ; @mySelectionSort
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lt LBB2_5
; %bb.1:
mov x11, #0
sub w8, w1, #1
mov w9, #1
mov w10, w1
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
lsl x11, x11, #2
sbfiz x13, x13, #2, #32
ldr w14, [x0, x11]
ldr w15, [x0, x13]
str w15, [x0, x11]
str w14, [x0, x13]
add x9, x9, #1
mov x11, x12
cmp x12, x8
b.eq LBB2_5
LBB2_3: ; =>This Loop Header: Depth=1
; Child Loop BB2_4 Depth 2
add x12, x11, #1
mov x13, x11
mov x14, x9
cmp x12, x10
b.hs LBB2_2
LBB2_4: ; Parent Loop BB2_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w15, [x0, x14, lsl #2]
ldr w16, [x0, w13, sxtw #2]
cmp w15, w16
csel w13, w14, w13, lt
add x14, x14, #1
cmp x10, x14
b.ne LBB2_4
b LBB2_2
LBB2_5:
ret
.cfi_endproc
; -- End function
.globl _checkEqual ; -- Begin function checkEqual
.p2align 2
_checkEqual: ; @checkEqual
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB3_6
; %bb.1:
ldr w8, [x0]
ldr w9, [x1]
cmp w8, w9
b.ne LBB3_7
; %bb.2:
mov w8, w2
mov w10, #1
LBB3_3: ; =>This Inner Loop Header: Depth=1
mov x9, x10
cmp x8, x10
b.eq LBB3_5
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
lsl x10, x9, #2
ldr w11, [x0, x10]
ldr w12, [x1, x10]
add x10, x9, #1
cmp w11, w12
b.eq LBB3_3
LBB3_5:
cmp x9, x8
cset w0, hs
ret
LBB3_6:
mov w0, #1
ret
LBB3_7:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _testCorrectCase ; -- Begin function testCorrectCase
.p2align 2
_testCorrectCase: ; @testCorrectCase
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x24, x23, [sp, #176] ; 16-byte Folded Spill
stp x22, x21, [sp, #192] ; 16-byte Folded Spill
stp x20, x19, [sp, #208] ; 16-byte Folded Spill
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #128]
stp q0, q0, [sp, #96]
stp q0, q0, [sp, #64]
stp q0, q0, [sp, #32]
stp q0, q0, [sp]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
mov x19, #0
mov w20, #29855
movk w20, #16760, lsl #16
mov w21, #1001
add x22, sp, #80
mov x23, sp
LBB4_1: ; =>This Inner Loop Header: Depth=1
bl _rand
smull x8, w0, w20
lsr x9, x8, #63
asr x8, x8, #40
add w8, w8, w9
msub w8, w8, w21, w0
sub w8, w8, #10
str w8, [x22, x19]
str w8, [x23, x19]
add x19, x19, #4
cmp x19, #80
b.ne LBB4_1
; %bb.2:
Lloh3:
adrp x3, _comparator@PAGE
Lloh4:
add x3, x3, _comparator@PAGEOFF
add x0, sp, #80
mov w1, #20
mov w2, #4
bl _qsort
mov x10, #0
mov w8, #1
mov x9, sp
LBB4_3: ; =>This Loop Header: Depth=1
; Child Loop BB4_4 Depth 2
add x11, x10, #1
mov x13, x8
mov x12, x10
LBB4_4: ; Parent Loop BB4_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x9, x13, lsl #2]
ldr w15, [x9, w12, sxtw #2]
cmp w14, w15
csel w12, w13, w12, lt
add x13, x13, #1
cmp x13, #20
b.ne LBB4_4
; %bb.5: ; in Loop: Header=BB4_3 Depth=1
lsl x10, x10, #2
sbfiz x12, x12, #2, #32
ldr w13, [x9, x10]
ldr w14, [x9, x12]
str w14, [x9, x10]
str w13, [x9, x12]
add x8, x8, #1
mov x10, x11
cmp x11, #19
b.ne LBB4_3
; %bb.6:
mov x0, sp
add x1, sp, #80
mov w2, #80
bl _memcmp
cmp w0, #0
cset w0, eq
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 LBB4_8
; %bb.7:
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
ldp x20, x19, [sp, #208] ; 16-byte Folded Reload
ldp x22, x21, [sp, #192] ; 16-byte Folded Reload
ldp x24, x23, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #240
ret
LBB4_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _testEqualCase ; -- Begin function testEqualCase
.p2align 2
_testEqualCase: ; @testEqualCase
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #0
Lloh8:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh9:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
stur x9, [x29, #-8]
Lloh11:
adrp x9, l___const.testEqualCase.randomArray@PAGE
Lloh12:
add x9, x9, l___const.testEqualCase.randomArray@PAGEOFF
ldp q0, q1, [x9, #32]
stp q0, q1, [sp, #48]
ldr q0, [x9, #64]
str q0, [sp, #80]
ldp q1, q0, [x9]
stp q1, q0, [sp, #16]
mov w9, #1
add x10, sp, #16
LBB5_1: ; =>This Loop Header: Depth=1
; Child Loop BB5_2 Depth 2
add x11, x8, #1
mov x13, x9
mov x12, x8
LBB5_2: ; Parent Loop BB5_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w14, [x10, x13, lsl #2]
ldr w15, [x10, w12, sxtw #2]
cmp w14, w15
csel w12, w13, w12, lt
add x13, x13, #1
cmp x13, #20
b.ne LBB5_2
; %bb.3: ; in Loop: Header=BB5_1 Depth=1
lsl x8, x8, #2
sbfiz x12, x12, #2, #32
ldr w13, [x10, x8]
ldr w14, [x10, x12]
str w14, [x10, x8]
str w13, [x10, x12]
add x9, x9, #1
mov x8, x11
cmp x11, #19
b.ne LBB5_1
; %bb.4:
ldp q1, q0, [sp, #16]
ldp q3, q2, [sp, #48]
mvni.4s v4, #4
cmeq.4s v0, v0, v4
mvn.16b v0, v0
cmeq.4s v1, v1, v4
mvn.16b v1, v1
uzp1.8h v0, v1, v0
xtn.8b v0, v0
umov.b w8, v0[1]
umov.b w9, v0[0]
and w8, w8, #0x1
and w9, w9, #0x1
bfi w9, w8, #1, #1
umov.b w8, v0[2]
and w8, w8, #0x1
bfi w9, w8, #2, #1
umov.b w8, v0[3]
and w8, w8, #0x1
umov.b w10, v0[4]
bfi w9, w8, #3, #1
and w8, w10, #0x1
bfi w9, w8, #4, #1
umov.b w8, v0[5]
and w8, w8, #0x1
bfi w9, w8, #5, #1
umov.b w8, v0[6]
and w8, w8, #0x1
umov.b w10, v0[7]
orr w8, w9, w8, lsl #6
and w9, w10, #0x1
orr w8, w8, w9, lsl #7
cmeq.4s v0, v2, v4
mvn.16b v0, v0
cmeq.4s v1, v3, v4
mvn.16b v1, v1
uzp1.8h v0, v1, v0
xtn.8b v0, v0
umov.b w9, v0[0]
and w9, w9, #0x1
orr w8, w8, w9, lsl #8
umov.b w9, v0[1]
and w9, w9, #0x1
umov.b w10, v0[2]
orr w8, w8, w9, lsl #9
and w9, w10, #0x1
orr w8, w8, w9, lsl #10
umov.b w9, v0[3]
and w9, w9, #0x1
orr w8, w8, w9, lsl #11
umov.b w9, v0[4]
and w9, w9, #0x1
umov.b w10, v0[5]
orr w8, w8, w9, lsl #12
and w9, w10, #0x1
orr w8, w8, w9, lsl #13
umov.b w9, v0[6]
and w9, w9, #0x1
orr w8, w8, w9, lsl #14
umov.b w9, v0[7]
orr w8, w8, w9, lsl #15
tst w8, #0xffff
mov w8, #-5
ldp w9, w10, [sp, #80]
ccmp w9, w8, #0, eq
ccmp w10, w8, #0, eq
ldp w9, w10, [sp, #88]
ccmp w9, w8, #0, eq
ccmp w10, w8, #0, eq
cset w0, eq
ldur x8, [x29, #-8]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB5_6
; %bb.5:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB5_6:
bl ___stack_chk_fail
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.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 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
bl _testCorrectCase
cbz w0, LBB6_4
; %bb.1:
bl _testEqualCase
tbz w0, #0, LBB6_4
; %bb.2:
Lloh16:
adrp x0, l_str@PAGE
Lloh17:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh18:
adrp x0, l_str.7@PAGE
Lloh19:
add x0, x0, l_str.7@PAGEOFF
bl _puts
mov w21, #4
mov w0, #10
mov w1, #4
bl _calloc
cbz x0, LBB6_6
; %bb.3:
mov x19, x0
str wzr, [sp, #12]
add x22, sp, #12
str x22, [sp]
Lloh20:
adrp x20, l_.str.4@PAGE
Lloh21:
add x20, x20, l_.str.4@PAGEOFF
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #4]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #8]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #12]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #16]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #20]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #24]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #28]
str x22, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [x19, #32]
str x22, [sp]
mov x0, x20
bl _scanf
ldp w15, w8, [x19]
cmp w8, w15
cset w8, lt
ldr w9, [x19, w8, uxtw #2]
mov w14, #2
ldp w10, w11, [x19, #8]
cmp w10, w9
csel w8, w14, w8, lt
ldr w9, [x19, w8, uxtw #2]
ldr w16, [sp, #12]
mov w13, #3
cmp w11, w9
csel w8, w13, w8, lt
ldr w9, [x19, w8, uxtw #2]
ldp w10, w11, [x19, #16]
cmp w10, w9
csel w8, w21, w8, lt
ldr w9, [x19, w8, uxtw #2]
mov w12, #5
cmp w11, w9
csel w8, w12, w8, lt
ldr w9, [x19, w8, uxtw #2]
mov w10, #6
ldp w11, w17, [x19, #24]
cmp w11, w9
csel w9, w10, w8, lt
ldr w11, [x19, w9, uxtw #2]
str w16, [x19, #36]
mov w8, #7
cmp w17, w11
csel w9, w8, w9, lt
ldr w17, [x19, w9, uxtw #2]
ldr w0, [x19, #32]
mov w11, #8
cmp w0, w17
csel w17, w11, w9, lt
ldr w0, [x19, w17, uxtw #2]
mov w9, #9
cmp w16, w0
csel w16, w9, w17, lt
lsl x16, x16, #2
ldr w17, [x19, x16]
str w17, [x19]
str w15, [x19, x16]
ldp w16, w15, [x19, #4]
cmp w15, w16
mov w15, #1
cinc w15, w15, lt
ldr w17, [x19, w15, uxtw #2]
ldp w0, w1, [x19, #12]
cmp w0, w17
csel w15, w13, w15, lt
ldr w17, [x19, w15, uxtw #2]
cmp w1, w17
csel w15, w21, w15, lt
ldr w17, [x19, w15, uxtw #2]
ldp w0, w1, [x19, #20]
cmp w0, w17
csel w15, w12, w15, lt
ldr w17, [x19, w15, uxtw #2]
cmp w1, w17
csel w15, w10, w15, lt
ldr w17, [x19, w15, uxtw #2]
ldp w0, w1, [x19, #28]
cmp w0, w17
csel w15, w8, w15, lt
ldr w17, [x19, w15, uxtw #2]
cmp w1, w17
csel w15, w11, w15, lt
ldr w17, [x19, #36]
ldr w0, [x19, w15, uxtw #2]
cmp w17, w0
csel w15, w9, w15, lt
lsl x15, x15, #2
ldr w17, [x19, x15]
str w17, [x19, #4]
str w16, [x19, x15]
ldp w16, w15, [x19, #8]
cmp w15, w16
cinc w14, w14, lt
ldr w15, [x19, w14, uxtw #2]
ldp w17, w0, [x19, #16]
cmp w17, w15
csel w14, w21, w14, lt
ldr w15, [x19, w14, uxtw #2]
cmp w0, w15
csel w14, w12, w14, lt
ldr w15, [x19, w14, uxtw #2]
ldp w17, w0, [x19, #24]
cmp w17, w15
csel w14, w10, w14, lt
ldr w15, [x19, w14, uxtw #2]
cmp w0, w15
csel w14, w8, w14, lt
ldr w15, [x19, w14, uxtw #2]
ldp w17, w0, [x19, #32]
cmp w17, w15
csel w14, w11, w14, lt
ldr w15, [x19, w14, uxtw #2]
cmp w0, w15
csel w14, w9, w14, lt
lsl x14, x14, #2
ldr w15, [x19, x14]
str w15, [x19, #8]
str w16, [x19, x14]
ldp w15, w14, [x19, #12]
cmp w14, w15
cinc w13, w13, lt
ldr w14, [x19, w13, uxtw #2]
ldp w16, w17, [x19, #20]
cmp w16, w14
csel w13, w12, w13, lt
ldr w14, [x19, w13, uxtw #2]
cmp w17, w14
csel w13, w10, w13, lt
ldr w14, [x19, w13, uxtw #2]
ldp w16, w17, [x19, #28]
cmp w16, w14
csel w13, w8, w13, lt
ldr w14, [x19, w13, uxtw #2]
cmp w17, w14
csel w13, w11, w13, lt
ldr w14, [x19, #36]
ldr w16, [x19, w13, uxtw #2]
cmp w14, w16
csel w13, w9, w13, lt
lsl x13, x13, #2
ldr w14, [x19, x13]
str w14, [x19, #12]
str w15, [x19, x13]
ldp w14, w13, [x19, #16]
cmp w13, w14
cinc w13, w21, lt
ldr w15, [x19, w13, uxtw #2]
ldp w16, w17, [x19, #24]
cmp w16, w15
csel w13, w10, w13, lt
ldr w15, [x19, w13, uxtw #2]
cmp w17, w15
csel w13, w8, w13, lt
ldr w15, [x19, w13, uxtw #2]
ldp w16, w17, [x19, #32]
cmp w16, w15
csel w13, w11, w13, lt
ldr w15, [x19, w13, uxtw #2]
cmp w17, w15
csel w13, w9, w13, lt
lsl x13, x13, #2
ldr w15, [x19, x13]
str w15, [x19, #16]
str w14, [x19, x13]
ldp w14, w13, [x19, #20]
cmp w13, w14
cinc w12, w12, lt
ldr w13, [x19, w12, uxtw #2]
ldp w15, w16, [x19, #28]
cmp w15, w13
csel w12, w8, w12, lt
ldr w13, [x19, w12, uxtw #2]
cmp w16, w13
csel w12, w11, w12, lt
ldr w13, [x19, #36]
ldr w15, [x19, w12, uxtw #2]
cmp w13, w15
csel w12, w9, w12, lt
lsl x12, x12, #2
ldr w13, [x19, x12]
str w13, [x19, #20]
str w14, [x19, x12]
ldp w13, w12, [x19, #24]
cmp w12, w13
cinc w10, w10, lt
ldr w12, [x19, w10, uxtw #2]
ldp w14, w15, [x19, #32]
cmp w14, w12
csel w10, w11, w10, lt
ldr w11, [x19, w10, uxtw #2]
cmp w15, w11
csel w10, w9, w10, lt
lsl x10, x10, #2
ldr w11, [x19, x10]
str w11, [x19, #24]
str w13, [x19, x10]
ldp w11, w10, [x19, #28]
cmp w10, w11
cinc w8, w8, lt
ldr w10, [x19, #36]
ldr w12, [x19, w8, uxtw #2]
cmp w10, w12
csel w8, w9, w8, lt
lsl x8, x8, #2
ldr w9, [x19, x8]
str w9, [x19, #28]
str w11, [x19, x8]
ldp w9, w8, [x19, #32]
cmp w8, w9
mov w8, #32
mov w10, #36
csel x8, x10, x8, lt
ldr w10, [x19, x8]
str w10, [x19, #32]
str w9, [x19, x8]
Lloh22:
adrp x0, l_str.8@PAGE
Lloh23:
add x0, x0, l_str.8@PAGEOFF
bl _puts
ldr w8, [x19]
str x8, [sp]
Lloh24:
adrp x20, l_.str.6@PAGE
Lloh25:
add x20, x20, l_.str.6@PAGEOFF
mov x0, x20
bl _printf
ldr w8, [x19, #4]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #8]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #12]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #16]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #20]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #24]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #28]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #32]
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [x19, #36]
str x8, [sp]
mov x0, x20
bl _printf
mov x0, x19
bl _free
mov w0, #0
b LBB6_5
LBB6_4:
Lloh26:
adrp x0, l_.str@PAGE
Lloh27:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #1
LBB6_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB6_6:
Lloh28:
adrp x0, l_.str.3@PAGE
Lloh29:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w0, #-1
b LBB6_5
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.testEqualCase.randomArray
l___const.testEqualCase.randomArray:
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.long 4294967291 ; 0xfffffffb
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Tests failed."
l_.str.3: ; @.str.3
.asciz "Calloc function broke :("
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.6: ; @.str.6
.asciz "%d "
l_str: ; @str
.asciz "Size of array = 10"
l_str.7: ; @str.7
.asciz "Enter elements of array: "
l_str.8: ; @str.8
.asciz "\nArray after using selection sort: "
.subsections_via_symbols
| the_stack_data/82950494.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function end_group
_end_group: ## @end_group
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _ST_END_GROUP@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _setting_group_setting
movq (%r14), %rcx
movslq (%rbx), %rdx
leal 1(%rdx), %esi
movl %esi, (%rbx)
movl %eax, (%rcx,%rdx,4)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ST_END_GROUP,4,2 ## @ST_END_GROUP
.no_dead_strip _end_group
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function end_group
_end_group: ; @end_group
.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, _ST_END_GROUP@GOTPAGE
Lloh1:
ldr x8, [x8, _ST_END_GROUP@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
bl _setting_group_setting
ldr x8, [x20]
ldrsw x9, [x19]
add w10, w9, #1
str w10, [x19]
str w0, [x8, x9, lsl #2]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ST_END_GROUP,4,2 ; @ST_END_GROUP
.no_dead_strip _end_group
.subsections_via_symbols
| AnghaBench/RetroArch/menu/extr_menu_setting.c_end_group.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_in_addr ## -- Begin function get_in_addr
.p2align 4, 0x90
_get_in_addr: ## @get_in_addr
.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
cmpb $2, 1(%rdi)
setne %al
leaq (%rdi,%rax,4), %rax
addq $4, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _config_getaddrinfo ## -- Begin function config_getaddrinfo
.p2align 4, 0x90
_config_getaddrinfo: ## @config_getaddrinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -24
movq %rsi, %rcx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, -48(%rbp)
movups %xmm0, -32(%rbp)
movq $0, -16(%rbp)
movl $2, -48(%rbp)
movabsq $128849018881, %rax ## imm = 0x1E00000001
movq %rax, -56(%rbp)
leaq L_.str(%rip), %rsi
leaq -56(%rbp), %rdx
xorl %edi, %edi
callq _getaddrinfo
movl %eax, (%rbx)
testl %eax, %eax
jne LBB1_2
## %bb.1:
leaq L_str(%rip), %rdi
callq _puts
addq $56, %rsp
popq %rbx
popq %rbp
retq
LBB1_2:
movq ___stderrp@GOTPCREL(%rip), %rcx
movq (%rcx), %rbx
movl %eax, %edi
callq _gai_strerror
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _config_bind ## -- Begin function config_bind
.p2align 4, 0x90
_config_bind: ## @config_bind
.cfi_startproc
## %bb.0:
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, (%rdi)
testq %rsi, %rsi
je LBB2_6
## %bb.1:
movq %rdx, %r14
movq %rdi, %rbx
leaq L_.str.3(%rip), %r15
leaq L_.str.4(%rip), %r12
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl 4(%rsi), %edi
movl 8(%rsi), %eax
movl 12(%rsi), %edx
movl %eax, %esi
callq _socket
movl %eax, (%r14)
movq %r15, %rdi
cmpl $-1, %eax
je LBB2_5
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
movq (%rbx), %rcx
movq 32(%rcx), %rsi
movl 16(%rcx), %edx
movl %eax, %edi
callq _bind
cmpl $-1, %eax
jne LBB2_6
## %bb.4: ## in Loop: Header=BB2_2 Depth=1
movl (%r14), %edi
callq _close
movq %r12, %rdi
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
callq _perror
movq (%rbx), %rax
movq 40(%rax), %rsi
movq %rsi, (%rbx)
testq %rsi, %rsi
jne LBB2_2
LBB2_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _check_bind ## -- Begin function check_bind
.p2align 4, 0x90
_check_bind: ## @check_bind
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB3_1
## %bb.2:
leaq L_str.12(%rip), %rdi
callq _puts
leaq L_str.13(%rip), %rdi
popq %rbp
jmp _puts ## TAILCALL
LBB3_1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.5(%rip), %rdi
movl $30, %esi
movl $1, %edx
callq _fwrite
movl $2, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _config_reciver ## -- Begin function config_reciver
.p2align 4, 0x90
_config_reciver: ## @config_reciver
.cfi_startproc
## %bb.0:
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 $312, %rsp ## imm = 0x138
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movl $128, -324(%rbp)
movl (%rdi), %edi
leaq -272(%rbp), %rsi
leaq -160(%rbp), %r8
leaq -324(%rbp), %r9
movl $99, %edx
xorl %ecx, %ecx
callq _recvfrom
movq %rax, %rbx
cmpl $-1, %ebx
je LBB4_1
## %bb.4:
movzbl -159(%rbp), %edi
xorl %eax, %eax
cmpl $2, %edi
setne %al
leaq -156(,%rax,4), %rsi
addq %rbp, %rsi
leaq -320(%rbp), %r15
movq %r15, %rdx
movl $46, %ecx
callq _inet_ntop
leaq L_.str.9(%rip), %rdi
movq %r15, %rsi
xorl %eax, %eax
callq _printf
leaq L_.str.10(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movslq %ebx, %rax
movb $0, -272(%rbp,%rax)
leaq L_.str.11(%rip), %rdi
leaq -272(%rbp), %rsi
xorl %eax, %eax
callq _printf
movl (%r14), %edi
callq _close
LBB4_2:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB4_5
## %bb.3:
addq $312, %rsp ## imm = 0x138
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB4_1:
callq _config_reciver.cold.1
jmp LBB4_2
LBB4_5:
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 %r12
pushq %rbx
subq $64, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorps %xmm0, %xmm0
movups %xmm0, -80(%rbp)
movups %xmm0, -64(%rbp)
movq $0, -48(%rbp)
movl $2, -80(%rbp)
movabsq $128849018881, %rax ## imm = 0x1E00000001
movq %rax, -88(%rbp)
leaq L_.str(%rip), %rsi
leaq -88(%rbp), %rdx
leaq -40(%rbp), %rcx
xorl %edi, %edi
callq _getaddrinfo
testl %eax, %eax
jne LBB5_10
## %bb.1:
leaq L_str(%rip), %rdi
callq _puts
movq -40(%rbp), %rbx
testq %rbx, %rbx
je LBB5_8
## %bb.2:
leaq L_.str.3(%rip), %r15
leaq L_.str.4(%rip), %r12
LBB5_3: ## =>This Inner Loop Header: Depth=1
movl 4(%rbx), %edi
movl 8(%rbx), %esi
movl 12(%rbx), %edx
callq _socket
movl %eax, %r14d
movq %r15, %rdi
cmpl $-1, %eax
je LBB5_6
## %bb.4: ## in Loop: Header=BB5_3 Depth=1
movq 32(%rbx), %rsi
movl 16(%rbx), %edx
movl %r14d, %edi
callq _bind
cmpl $-1, %eax
jne LBB5_9
## %bb.5: ## in Loop: Header=BB5_3 Depth=1
movl %r14d, %edi
callq _close
movq %r12, %rdi
LBB5_6: ## in Loop: Header=BB5_3 Depth=1
callq _perror
movq 40(%rbx), %rbx
testq %rbx, %rbx
jne LBB5_3
## %bb.7:
movl %r14d, -88(%rbp)
LBB5_8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.5(%rip), %rdi
movl $30, %esi
movl $1, %edx
callq _fwrite
movl $2, %edi
callq _exit
LBB5_9:
movl %r14d, -88(%rbp)
leaq L_str.12(%rip), %rdi
callq _puts
leaq L_str.13(%rip), %rdi
callq _puts
movq -40(%rbp), %rdi
callq _freeaddrinfo
leaq -88(%rbp), %rdi
callq _config_reciver
xorl %eax, %eax
addq $64, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB5_10:
movq ___stderrp@GOTPCREL(%rip), %rcx
movq (%rcx), %rbx
movl %eax, %edi
callq _gai_strerror
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function config_reciver.cold.1
_config_reciver.cold.1: ## @config_reciver.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_.str.8(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "4950"
L_.str.1: ## @.str.1
.asciz "getaddrinfo: %s\n"
L_.str.3: ## @.str.3
.asciz "server: socket"
L_.str.4: ## @.str.4
.asciz "server: bind"
L_.str.5: ## @.str.5
.asciz "server: failed to bind socket\n"
L_.str.8: ## @.str.8
.asciz "recvfrom"
L_.str.9: ## @.str.9
.asciz "server: got packet from %s\n"
L_.str.10: ## @.str.10
.asciz "server: size of packet => %d bytes\n"
L_.str.11: ## @.str.11
.asciz "server: data in packet => %s\n"
L_str: ## @str
.asciz "[OK] getaddrinfo success"
L_str.12: ## @str.12
.asciz "[OK] bind success"
L_str.13: ## @str.13
.asciz "server: waiting to receive"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_in_addr ; -- Begin function get_in_addr
.p2align 2
_get_in_addr: ; @get_in_addr
.cfi_startproc
; %bb.0:
ldrb w8, [x0, #1]
add x9, x0, #4
add x10, x0, #8
cmp w8, #2
csel x0, x9, x10, eq
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function config_getaddrinfo
lCPI1_0:
.long 1 ; 0x1
.long 30 ; 0x1e
.section __TEXT,__text,regular,pure_instructions
.globl _config_getaddrinfo
.p2align 2
_config_getaddrinfo: ; @config_getaddrinfo
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x3, x1
mov x19, x0
movi.2d v0, #0000000000000000
stur q0, [sp, #24]
str xzr, [sp, #56]
stur q0, [sp, #40]
mov w8, #2
str w8, [sp, #24]
Lloh0:
adrp x8, lCPI1_0@PAGE
Lloh1:
ldr d0, [x8, lCPI1_0@PAGEOFF]
str d0, [sp, #16]
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #16
mov x0, #0
bl _getaddrinfo
str w0, [x19]
cbnz w0, LBB1_2
; %bb.1:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB1_2:
Lloh6:
adrp x8, ___stderrp@GOTPAGE
Lloh7:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh8:
ldr x19, [x8]
bl _gai_strerror
str x0, [sp]
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.globl _config_bind ; -- Begin function config_bind
.p2align 2
_config_bind: ; @config_bind
.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
str x1, [x0]
cbz x1, LBB2_7
; %bb.1:
mov x19, x2
mov x20, x0
Lloh11:
adrp x21, l_.str.3@PAGE
Lloh12:
add x21, x21, l_.str.3@PAGEOFF
Lloh13:
adrp x22, l_.str.4@PAGE
Lloh14:
add x22, x22, l_.str.4@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldp w0, w8, [x1, #4]
ldr w2, [x1, #12]
mov x1, x8
bl _socket
str w0, [x19]
cmn w0, #1
b.eq LBB2_6
; %bb.3: ; in Loop: Header=BB2_2 Depth=1
ldr x8, [x20]
ldr x1, [x8, #32]
ldr w2, [x8, #16]
bl _bind
cmn w0, #1
b.ne LBB2_7
; %bb.4: ; in Loop: Header=BB2_2 Depth=1
ldr w0, [x19]
bl _close
mov x0, x22
LBB2_5: ; in Loop: Header=BB2_2 Depth=1
bl _perror
ldr x8, [x20]
ldr x1, [x8, #40]
str x1, [x20]
cbnz x1, LBB2_2
b LBB2_7
LBB2_6: ; in Loop: Header=BB2_2 Depth=1
mov x0, x21
b LBB2_5
LBB2_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.cfi_endproc
; -- End function
.globl _check_bind ; -- Begin function check_bind
.p2align 2
_check_bind: ; @check_bind
.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
cbz x0, LBB3_2
; %bb.1:
Lloh15:
adrp x0, l_str.12@PAGE
Lloh16:
add x0, x0, l_str.12@PAGEOFF
bl _puts
Lloh17:
adrp x0, l_str.13@PAGE
Lloh18:
add x0, x0, l_str.13@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _puts
LBB3_2:
Lloh19:
adrp x8, ___stderrp@GOTPAGE
Lloh20:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh21:
ldr x3, [x8]
Lloh22:
adrp x0, l_.str.5@PAGE
Lloh23:
add x0, x0, l_.str.5@PAGEOFF
mov w1, #30
mov w2, #1
bl _fwrite
mov w0, #2
bl _exit
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.globl _config_reciver ; -- Begin function config_reciver
.p2align 2
_config_reciver: ; @config_reciver
.cfi_startproc
; %bb.0:
sub sp, sp, #368
.cfi_def_cfa_offset 368
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x22, x21, [sp, #320] ; 16-byte Folded Spill
stp x20, x19, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w27, -56
.cfi_offset w28, -64
mov x19, x0
Lloh24:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh25:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w8, #128
str w8, [sp, #16]
ldr w0, [x0]
add x21, sp, #68
add x22, sp, #168
add x1, sp, #68
add x4, sp, #168
add x5, sp, #16
mov w3, #0
mov w2, #99
bl _recvfrom
mov x20, x0
cmn w20, #1
b.eq LBB4_3
; %bb.1:
ldrb w0, [sp, #169]
orr x8, x22, #0x4
add x9, x22, #8
cmp w0, #2
csel x1, x8, x9, eq
add x22, sp, #22
add x2, sp, #22
mov w3, #46
bl _inet_ntop
str x22, [sp]
Lloh27:
adrp x0, l_.str.9@PAGE
Lloh28:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
mov x8, x20
str x8, [sp]
Lloh29:
adrp x0, l_.str.10@PAGE
Lloh30:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
strb wzr, [x21, w20, sxtw]
str x21, [sp]
Lloh31:
adrp x0, l_.str.11@PAGE
Lloh32:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr w0, [x19]
bl _close
ldur x8, [x29, #-56]
Lloh33:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh34:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
ldr x9, [x9]
cmp x9, x8
b.ne LBB4_4
; %bb.2:
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x20, x19, [sp, #336] ; 16-byte Folded Reload
ldp x22, x21, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #368
ret
LBB4_3:
bl _config_reciver.cold.1
LBB4_4:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.cfi_endproc
; -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI5_0:
.long 1 ; 0x1
.long 30 ; 0x1e
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 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
movi.2d v0, #0000000000000000
stur q0, [sp, #24]
str xzr, [sp, #56]
stur q0, [sp, #40]
mov w8, #2
str w8, [sp, #24]
Lloh36:
adrp x8, lCPI5_0@PAGE
Lloh37:
ldr d0, [x8, lCPI5_0@PAGEOFF]
str d0, [sp, #16]
Lloh38:
adrp x1, l_.str@PAGE
Lloh39:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #16
add x3, sp, #8
mov x0, #0
bl _getaddrinfo
cbnz w0, LBB5_11
; %bb.1:
Lloh40:
adrp x0, l_str@PAGE
Lloh41:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr x20, [sp, #8]
cbz x20, LBB5_10
; %bb.2:
Lloh42:
adrp x21, l_.str.3@PAGE
Lloh43:
add x21, x21, l_.str.3@PAGEOFF
Lloh44:
adrp x22, l_.str.4@PAGE
Lloh45:
add x22, x22, l_.str.4@PAGEOFF
LBB5_3: ; =>This Inner Loop Header: Depth=1
ldp w0, w1, [x20, #4]
ldr w2, [x20, #12]
bl _socket
mov x19, x0
cmn w0, #1
b.eq LBB5_7
; %bb.4: ; in Loop: Header=BB5_3 Depth=1
ldr x1, [x20, #32]
ldr w2, [x20, #16]
mov x0, x19
bl _bind
cmn w0, #1
b.ne LBB5_8
; %bb.5: ; in Loop: Header=BB5_3 Depth=1
mov x0, x19
bl _close
mov x0, x22
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
bl _perror
ldr x20, [x20, #40]
cbnz x20, LBB5_3
b LBB5_9
LBB5_7: ; in Loop: Header=BB5_3 Depth=1
mov x0, x21
b LBB5_6
LBB5_8:
str w19, [sp, #16]
Lloh46:
adrp x0, l_str.12@PAGE
Lloh47:
add x0, x0, l_str.12@PAGEOFF
bl _puts
Lloh48:
adrp x0, l_str.13@PAGE
Lloh49:
add x0, x0, l_str.13@PAGEOFF
bl _puts
ldr x0, [sp, #8]
bl _freeaddrinfo
add x0, sp, #16
bl _config_reciver
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB5_9:
str w19, [sp, #16]
LBB5_10:
Lloh50:
adrp x8, ___stderrp@GOTPAGE
Lloh51:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh52:
ldr x3, [x8]
Lloh53:
adrp x0, l_.str.5@PAGE
Lloh54:
add x0, x0, l_.str.5@PAGEOFF
mov w1, #30
mov w2, #1
bl _fwrite
mov w0, #2
bl _exit
LBB5_11:
Lloh55:
adrp x8, ___stderrp@GOTPAGE
Lloh56:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh57:
ldr x19, [x8]
bl _gai_strerror
str x0, [sp]
Lloh58:
adrp x1, l_.str.1@PAGE
Lloh59:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #1
bl _exit
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdr Lloh36, Lloh37
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh58, Lloh59
.loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function config_reciver.cold.1
_config_reciver.cold.1: ; @config_reciver.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
Lloh60:
adrp x0, l_.str.8@PAGE
Lloh61:
add x0, x0, l_.str.8@PAGEOFF
bl _perror
mov w0, #1
bl _exit
.loh AdrpAdd Lloh60, Lloh61
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "4950"
l_.str.1: ; @.str.1
.asciz "getaddrinfo: %s\n"
l_.str.3: ; @.str.3
.asciz "server: socket"
l_.str.4: ; @.str.4
.asciz "server: bind"
l_.str.5: ; @.str.5
.asciz "server: failed to bind socket\n"
l_.str.8: ; @.str.8
.asciz "recvfrom"
l_.str.9: ; @.str.9
.asciz "server: got packet from %s\n"
l_.str.10: ; @.str.10
.asciz "server: size of packet => %d bytes\n"
l_.str.11: ; @.str.11
.asciz "server: data in packet => %s\n"
l_str: ; @str
.asciz "[OK] getaddrinfo success"
l_str.12: ; @str.12
.asciz "[OK] bind success"
l_str.13: ; @str.13
.asciz "server: waiting to receive"
.subsections_via_symbols
| the_stack_data/933397.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_debug_wq_dump
_get_debug_wq_dump: ## @get_debug_wq_dump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
movq _MGMT_MODE_RW@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq _OCS_DEBUG_ENABLE_WQ_DUMP@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ocs_debug_is_enabled
leaq L_.str(%rip), %rdx
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %ecx
popq %rbx
popq %r14
popq %rbp
jmp _ocs_mgmt_emit_boolean ## TAILCALL
.cfi_endproc
## -- End function
.comm _MGMT_MODE_RW,4,2 ## @MGMT_MODE_RW
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "debug_wq_dump"
.comm _OCS_DEBUG_ENABLE_WQ_DUMP,4,2 ## @OCS_DEBUG_ENABLE_WQ_DUMP
.no_dead_strip _get_debug_wq_dump
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_debug_wq_dump
_get_debug_wq_dump: ; @get_debug_wq_dump
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
Lloh0:
adrp x8, _MGMT_MODE_RW@GOTPAGE
Lloh1:
ldr x8, [x8, _MGMT_MODE_RW@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
Lloh3:
adrp x8, _OCS_DEBUG_ENABLE_WQ_DUMP@GOTPAGE
Lloh4:
ldr x8, [x8, _OCS_DEBUG_ENABLE_WQ_DUMP@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _ocs_debug_is_enabled
mov x3, x0
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ocs_mgmt_emit_boolean
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MGMT_MODE_RW,4,2 ; @MGMT_MODE_RW
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "debug_wq_dump"
.comm _OCS_DEBUG_ENABLE_WQ_DUMP,4,2 ; @OCS_DEBUG_ENABLE_WQ_DUMP
.no_dead_strip _get_debug_wq_dump
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/ocs_fc/extr_ocs_mgmt.c_get_debug_wq_dump.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_x__dag_file_length ## -- Begin function svn_fs_x__dag_file_length
.p2align 4, 0x90
_svn_fs_x__dag_file_length: ## @svn_fs_x__dag_file_length
.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), %rsi
movq (%rsi), %rax
movq _svn_node_file@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
popq %rbp
jmp _svn_fs_x__file_length ## TAILCALL
LBB0_1:
movq _SVN_ERR_FS_NOT_FILE@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
xorl %esi, %esi
popq %rbp
jmp _svn_error_createf ## TAILCALL
.cfi_endproc
## -- End function
.comm _svn_node_file,8,3 ## @svn_node_file
.comm _SVN_ERR_FS_NOT_FILE,4,2 ## @SVN_ERR_FS_NOT_FILE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Attempted to get length of a *non*-file node"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _svn_fs_x__dag_file_length ; -- Begin function svn_fs_x__dag_file_length
.p2align 2
_svn_fs_x__dag_file_length: ; @svn_fs_x__dag_file_length
.cfi_startproc
; %bb.0:
ldr x1, [x1]
ldr x8, [x1]
Lloh0:
adrp x9, _svn_node_file@GOTPAGE
Lloh1:
ldr x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
b _svn_fs_x__file_length
LBB0_2:
Lloh3:
adrp x8, _SVN_ERR_FS_NOT_FILE@GOTPAGE
Lloh4:
ldr x8, [x8, _SVN_ERR_FS_NOT_FILE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x1, #0
b _svn_error_createf
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _svn_node_file,8,3 ; @svn_node_file
.comm _SVN_ERR_FS_NOT_FILE,4,2 ; @SVN_ERR_FS_NOT_FILE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Attempted to get length of a *non*-file node"
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_dag.c_svn_fs_x__dag_file_length.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.