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
.p2align 4, 0x90 ## -- Begin function reconn_set_ipaddr
_reconn_set_ipaddr: ## @reconn_set_ipaddr
.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
.no_dead_strip _reconn_set_ipaddr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reconn_set_ipaddr
_reconn_set_ipaddr: ; @reconn_set_ipaddr
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _reconn_set_ipaddr
.subsections_via_symbols
| AnghaBench/linux/fs/cifs/extr_connect.c_reconn_set_ipaddr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atl1_open
_atl1_open: ## @atl1_open
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _netdev_priv
movq %rax, %r14
movq %rbx, %rdi
callq _netif_carrier_off
movq %r14, %rdi
callq _atl1_setup_ring_resources
movl %eax, %ebx
testl %eax, %eax
jne LBB0_4
## %bb.1:
movq %r14, %rdi
callq _atl1_up
testl %eax, %eax
je LBB0_2
## %bb.3:
movl %eax, %ebx
movq %r14, %rdi
callq _atl1_reset
jmp LBB0_4
LBB0_2:
xorl %ebx, %ebx
LBB0_4:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _atl1_open
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atl1_open
_atl1_open: ; @atl1_open
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
bl _netdev_priv
mov x19, x0
mov x0, x20
bl _netif_carrier_off
mov x0, x19
bl _atl1_setup_ring_resources
mov x20, x0
cbnz w0, LBB0_3
; %bb.1:
mov x0, x19
bl _atl1_up
mov x20, x0
cbz w0, LBB0_3
; %bb.2:
mov x0, x19
bl _atl1_reset
LBB0_3:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _atl1_open
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/atheros/atlx/extr_atl1.c_atl1_open.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dumptuples
_dumptuples: ## @dumptuples
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r12
movl (%rdi), %eax
cmpl 4(%rdi), %eax
jge LBB0_2
## %bb.1:
movq %r12, %rdi
callq _LACKMEM
orl %r14d, %eax
je LBB0_8
LBB0_2:
movq 8(%r12), %rax
movq _TSS_BUILDRUNS@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _Assert
movq 16(%r12), %rax
movq _INT_MAX@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
jne LBB0_4
## %bb.3:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _errcode
movq (%rbx), %rsi
leaq L_.str(%rip), %rdi
callq _errmsg
movl %r15d, %edi
movl %eax, %esi
callq _ereport
movq 16(%r12), %rax
LBB0_4:
incq %rax
movq %rax, 16(%r12)
movq %r12, %rdi
callq _tuplesort_sort_memtuples
movl (%r12), %r15d
testl %r15d, %r15d
jle LBB0_7
## %bb.5:
shlq $2, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 24(%r12), %rax
movq 56(%r12), %rcx
movl (%rcx,%rax,4), %esi
movq 72(%r12), %rdx
addq %rbx, %rdx
movq %r12, %rdi
callq _WRITETUP
decl (%r12)
addq $4, %rbx
cmpq %rbx, %r15
jne LBB0_6
LBB0_7:
movl 64(%r12), %edi
callq _MemoryContextReset
movq 24(%r12), %rax
movq 56(%r12), %rcx
movl (%rcx,%rax,4), %esi
movq %r12, %rdi
callq _markrunend
movq 24(%r12), %rax
movq 48(%r12), %rcx
incl (%rcx,%rax,4)
movq 40(%r12), %rcx
decl (%rcx,%rax,4)
testl %r14d, %r14d
je LBB0_9
LBB0_8:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq %r12, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _selectnewtape ## TAILCALL
.cfi_endproc
## -- End function
.comm _TSS_BUILDRUNS,8,3 ## @TSS_BUILDRUNS
.comm _INT_MAX,8,3 ## @INT_MAX
.comm _ERROR,4,2 ## @ERROR
.comm _ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cannot have more than %d runs for an external sort"
.comm _LOG,4,2 ## @LOG
.comm _trace_sort,8,3 ## @trace_sort
.no_dead_strip _dumptuples
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dumptuples
_dumptuples: ; @dumptuples
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldp w8, w9, [x0]
cmp w8, w9
b.ge LBB0_2
; %bb.1:
mov x0, x19
bl _LACKMEM
orr w8, w0, w20
cbz w8, LBB0_8
LBB0_2:
ldr x8, [x19, #8]
Lloh0:
adrp x9, _TSS_BUILDRUNS@GOTPAGE
Lloh1:
ldr x9, [x9, _TSS_BUILDRUNS@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _Assert
ldr x8, [x19, #16]
Lloh3:
adrp x22, _INT_MAX@GOTPAGE
Lloh4:
ldr x22, [x22, _INT_MAX@GOTPAGEOFF]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
Lloh5:
adrp x8, _ERROR@GOTPAGE
Lloh6:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
ldr w21, [x8]
Lloh8:
adrp x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh9:
ldr x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
bl _errcode
ldr x1, [x22]
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
mov x1, x0
mov x0, x21
bl _ereport
ldr x8, [x19, #16]
LBB0_4:
add x8, x8, #1
str x8, [x19, #16]
mov x0, x19
bl _tuplesort_sort_memtuples
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_7
; %bb.5:
mov x21, #0
lsl x22, x8, #2
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #56]
ldr x9, [x19, #24]
ldr w1, [x8, x9, lsl #2]
ldr x8, [x19, #72]
add x2, x8, x21
mov x0, x19
bl _WRITETUP
ldr w8, [x19]
sub w8, w8, #1
str w8, [x19]
add x21, x21, #4
cmp x22, x21
b.ne LBB0_6
LBB0_7:
ldr w0, [x19, #64]
bl _MemoryContextReset
ldr x8, [x19, #56]
ldr x9, [x19, #24]
ldr w1, [x8, x9, lsl #2]
mov x0, x19
bl _markrunend
ldr x8, [x19, #24]
lsl x8, x8, #2
ldp x10, x9, [x19, #40]
ldr w11, [x9, x8]
add w11, w11, #1
str w11, [x9, x8]
ldr w9, [x10, x8]
sub w9, w9, #1
str w9, [x10, x8]
cbz w20, LBB0_9
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
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _selectnewtape
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _TSS_BUILDRUNS,8,3 ; @TSS_BUILDRUNS
.comm _INT_MAX,8,3 ; @INT_MAX
.comm _ERROR,4,2 ; @ERROR
.comm _ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cannot have more than %d runs for an external sort"
.comm _LOG,4,2 ; @LOG
.comm _trace_sort,8,3 ; @trace_sort
.no_dead_strip _dumptuples
.subsections_via_symbols
| AnghaBench/postgres/src/backend/utils/sort/extr_tuplesort.c_dumptuples.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sigtrap
_sigtrap: ## @sigtrap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq (%rdx), %rax
movq _REG_EIP@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rbx
movq _got_sysinfo@GOTPCREL(%rip), %r15
movl (%r15), %ecx
testl %ecx, %ecx
jne LBB0_3
## %bb.1:
movq _sysinfo@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rbx
jne LBB0_3
## %bb.2:
movl $1, (%r15)
movq _REG_ESP@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdx
movq _return_address@GOTPCREL(%rip), %rax
movq %rdx, (%rax)
leaq L_.str(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl (%r15), %ecx
LBB0_3:
testl %ecx, %ecx
je LBB0_6
## %bb.4:
movq _return_address@GOTPCREL(%rip), %rax
cmpq (%rax), %rbx
jne LBB0_5
## %bb.7:
movq _X86_EFLAGS_TF@GOTPCREL(%rip), %rax
movq (%rax), %rax
notq %rax
movq (%r14), %rcx
movq _REG_EFL@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
andq %rax, (%rcx,%rdx,8)
leaq L_str(%rip), %rdi
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
LBB0_5:
leaq L_.str.2(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq %rbx, -40(%rbp)
movl $-1, -32(%rbp)
movq _trace_fn@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq -40(%rbp), %rsi
callq __Unwind_Backtrace
LBB0_6:
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REG_EIP,8,3 ## @REG_EIP
.comm _got_sysinfo,4,2 ## @got_sysinfo
.comm _sysinfo,8,3 ## @sysinfo
.comm _REG_ESP,8,3 ## @REG_ESP
.comm _return_address,8,3 ## @return_address
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\tIn vsyscall at 0x%lx, returning to 0x%lx\n"
.comm _X86_EFLAGS_TF,8,3 ## @X86_EFLAGS_TF
.comm _REG_EFL,8,3 ## @REG_EFL
L_.str.2: ## @.str.2
.asciz "\tSIGTRAP at 0x%lx\n"
.comm _trace_fn,4,2 ## @trace_fn
L_str: ## @str
.asciz "\tVsyscall is done"
.no_dead_strip _sigtrap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sigtrap
_sigtrap: ; @sigtrap
.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, x2
ldr x8, [x2]
Lloh0:
adrp x9, _REG_EIP@GOTPAGE
Lloh1:
ldr x9, [x9, _REG_EIP@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
ldr x20, [x8, x9, lsl #3]
Lloh3:
adrp x22, _got_sysinfo@GOTPAGE
Lloh4:
ldr x22, [x22, _got_sysinfo@GOTPAGEOFF]
Lloh5:
adrp x10, _sysinfo@GOTPAGE
Lloh6:
ldr x10, [x10, _sysinfo@GOTPAGEOFF]
ldr w9, [x22]
Lloh7:
ldr x10, [x10]
cmp w9, #0
ccmp x20, x10, #0, eq
Lloh8:
adrp x21, _return_address@GOTPAGE
Lloh9:
ldr x21, [x21, _return_address@GOTPAGEOFF]
b.ne LBB0_2
; %bb.1:
mov w9, #1
Lloh10:
adrp x10, _REG_ESP@GOTPAGE
Lloh11:
ldr x10, [x10, _REG_ESP@GOTPAGEOFF]
str w9, [x22]
Lloh12:
ldr x9, [x10]
ldr x8, [x8, x9, lsl #3]
ldr x8, [x8]
str x8, [x21]
stp x20, x8, [sp]
Lloh13:
adrp x0, l_.str@PAGE
Lloh14:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w9, [x22]
LBB0_2:
cbz w9, LBB0_6
; %bb.3:
ldr x8, [x21]
cmp x20, x8
b.ne LBB0_5
; %bb.4:
Lloh15:
adrp x8, _X86_EFLAGS_TF@GOTPAGE
Lloh16:
ldr x8, [x8, _X86_EFLAGS_TF@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
ldr x9, [x19]
Lloh18:
adrp x10, _REG_EFL@GOTPAGE
Lloh19:
ldr x10, [x10, _REG_EFL@GOTPAGEOFF]
Lloh20:
ldr x10, [x10]
lsl x10, x10, #3
ldr x11, [x9, x10]
bic x8, x11, x8
str x8, [x9, x10]
Lloh21:
adrp x0, l_str@PAGE
Lloh22:
add x0, x0, l_str@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
add sp, sp, #80
b _puts
LBB0_5:
str x20, [sp]
Lloh23:
adrp x0, l_.str.2@PAGE
Lloh24:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x20, [sp, #16]
mov w8, #-1
str w8, [sp, #24]
Lloh25:
adrp x8, _trace_fn@GOTPAGE
Lloh26:
ldr x8, [x8, _trace_fn@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
add x1, sp, #16
bl __Unwind_Backtrace
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 AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _REG_EIP,8,3 ; @REG_EIP
.comm _got_sysinfo,4,2 ; @got_sysinfo
.comm _sysinfo,8,3 ; @sysinfo
.comm _REG_ESP,8,3 ; @REG_ESP
.comm _return_address,8,3 ; @return_address
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\tIn vsyscall at 0x%lx, returning to 0x%lx\n"
.comm _X86_EFLAGS_TF,8,3 ; @X86_EFLAGS_TF
.comm _REG_EFL,8,3 ; @REG_EFL
l_.str.2: ; @.str.2
.asciz "\tSIGTRAP at 0x%lx\n"
.comm _trace_fn,4,2 ; @trace_fn
l_str: ; @str
.asciz "\tVsyscall is done"
.no_dead_strip _sigtrap
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/x86/extr_unwind_vdso.c_sigtrap.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/61478.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 %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movabsq $2851512211236168, %rax ## imm = 0xA216F6C6C6548
movq %rax, -24(%rbp)
leaq L_.str(%rip), %rdi
movl $1, %esi
xorl %eax, %eax
callq _open
movl %eax, %ebx
leaq -24(%rbp), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl $8, %edx
movl %ebx, %edi
movq %r14, %rsi
callq _write
movl $1, %edi
callq _sleep
jmp LBB0_1
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "zieckey_fifo"
.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
mov x8, #25928
movk x8, #27756, lsl #16
movk x8, #8559, lsl #32
movk x8, #10, lsl #48
str x8, [sp, #8]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov w1, #1
bl _open
mov x19, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x1, sp, #8
mov x0, x19
mov w2, #8
bl _write
mov w0, #1
bl _sleep
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "zieckey_fifo"
.subsections_via_symbols
| the_stack_data/1150197.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __glfwInputErrorX11 ## -- Begin function _glfwInputErrorX11
.p2align 4, 0x90
__glfwInputErrorX11: ## @_glfwInputErrorX11
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $8200, %eax ## imm = 0x2008
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq __glfw@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 4(%rax), %edi
leaq -8224(%rbp), %r15
movq %r15, %rdx
movl $8192, %ecx ## imm = 0x2000
callq _XGetErrorText
leaq L_.str(%rip), %rsi
movl %ebx, %edi
movq %r14, %rdx
movq %r15, %rcx
callq __glfwInputError
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_2
## %bb.1:
addq $8200, %rsp ## imm = 0x2008
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm __glfw,8,2 ## @_glfw
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: %s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl __glfwInputErrorX11 ; -- Begin function _glfwInputErrorX11
.p2align 2
__glfwInputErrorX11: ; @_glfwInputErrorX11
.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
mov w9, #8208
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #2, lsl #12 ; =8192
sub sp, sp, #16
mov x19, x1
mov x20, x0
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh5:
adrp x8, __glfw@GOTPAGE
Lloh6:
ldr x8, [x8, __glfw@GOTPAGEOFF]
ldp w1, w0, [x8]
add x2, sp, #8
mov w3, #8192
bl _XGetErrorText
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
add x3, sp, #8
mov x0, x20
mov x2, x19
bl __glfwInputError
ldur x8, [x29, #-40]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
add sp, sp, #2, lsl #12 ; =8192
add sp, sp, #16
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_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm __glfw,8,2 ; @_glfw
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: %s"
.subsections_via_symbols
| AnghaBench/Cinder/src/glfw/src/extr_x11_init.c__glfwInputErrorX11.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vxp_load_dsp
_vxp_load_dsp: ## @vxp_load_dsp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpl $3, %esi
ja LBB0_8
## %bb.1:
movq %rdx, %r14
movq %rdi, %rbx
movl %esi, %eax
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2:
movq %rbx, %rdi
callq _vx_check_magic
testl %eax, %eax
js LBB0_3
## %bb.4:
movq %rbx, %rdi
movq %r14, %rsi
callq _snd_vx_load_boot_image
movl %eax, %ecx
sarl $31, %ecx
andl %ecx, %eax
jmp LBB0_10
LBB0_8:
xorl %r15d, %r15d
xorl %eax, %eax
callq _snd_BUG
movq _EINVAL@GOTPCREL(%rip), %rax
subl (%rax), %r15d
jmp LBB0_9
LBB0_5:
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _vxp_load_xilinx_binary ## TAILCALL
LBB0_6:
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _snd_vx_dsp_boot ## TAILCALL
LBB0_7:
movq %rbx, %rdi
movq %r14, %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _snd_vx_dsp_load ## TAILCALL
LBB0_3:
movl %eax, %r15d
LBB0_9:
movl %r15d, %eax
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_7
.end_data_region
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _vxp_load_dsp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vxp_load_dsp
_vxp_load_dsp: ; @vxp_load_dsp
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cmp w1, #3
b.hi LBB0_4
; %bb.1:
mov x19, x2
mov x20, x0
mov w8, w1
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x0, x20
bl _vx_check_magic
tbnz w0, #31, LBB0_5
; %bb.3:
mov x0, x20
mov x1, x19
bl _snd_vx_load_boot_image
cmp w0, #0
csel w0, w0, wzr, lt
b LBB0_5
LBB0_4:
bl _snd_BUG
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_6:
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 _vxp_load_xilinx_binary
LBB0_7:
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 _snd_vx_dsp_boot
LBB0_8:
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 _snd_vx_dsp_load
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _vxp_load_dsp
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pcmcia/vx/extr_vxp_ops.c_vxp_load_dsp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fan_get_state
_fan_get_state: ## @fan_get_state
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq _ACPI_STATE_D0@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
movl %eax, -20(%rbp)
leaq -20(%rbp), %rsi
callq _acpi_device_update_power
testl %eax, %eax
jne LBB0_2
## %bb.1:
movl -20(%rbp), %ecx
movq _ACPI_STATE_D3_COLD@GOTPCREL(%rip), %rdx
movq _ACPI_STATE_D3_HOT@GOTPCREL(%rip), %rsi
xorl %edi, %edi
cmpl (%rbx), %ecx
sete %dil
xorl %ebx, %ebx
cmpl (%rsi), %ecx
leaq -1(%rdi,%rdi), %rsi
cmoveq %rbx, %rsi
cmpl (%rdx), %ecx
cmoveq %rbx, %rsi
movq %rsi, (%r14)
LBB0_2:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ACPI_STATE_D0,4,2 ## @ACPI_STATE_D0
.comm _ACPI_STATE_D3_COLD,4,2 ## @ACPI_STATE_D3_COLD
.comm _ACPI_STATE_D3_HOT,4,2 ## @ACPI_STATE_D3_HOT
.no_dead_strip _fan_get_state
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fan_get_state
_fan_get_state: ; @fan_get_state
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
Lloh0:
adrp x20, _ACPI_STATE_D0@GOTPAGE
Lloh1:
ldr x20, [x20, _ACPI_STATE_D0@GOTPAGEOFF]
ldr w8, [x20]
str w8, [sp, #12]
add x1, sp, #12
bl _acpi_device_update_power
cbnz w0, LBB0_2
; %bb.1:
ldr w8, [sp, #12]
Lloh2:
adrp x9, _ACPI_STATE_D3_COLD@GOTPAGE
Lloh3:
ldr x9, [x9, _ACPI_STATE_D3_COLD@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
Lloh5:
adrp x10, _ACPI_STATE_D3_HOT@GOTPAGE
Lloh6:
ldr x10, [x10, _ACPI_STATE_D3_HOT@GOTPAGEOFF]
Lloh7:
ldr w10, [x10]
ldr w11, [x20]
cmp w8, w11
mov w11, #1
cneg x11, x11, ne
cmp w8, w10
ccmp w8, w9, #4, ne
csel x8, xzr, x11, eq
str x8, [x19]
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 AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ACPI_STATE_D0,4,2 ; @ACPI_STATE_D0
.comm _ACPI_STATE_D3_COLD,4,2 ; @ACPI_STATE_D3_COLD
.comm _ACPI_STATE_D3_HOT,4,2 ; @ACPI_STATE_D3_HOT
.no_dead_strip _fan_get_state
.subsections_via_symbols
| AnghaBench/linux/drivers/acpi/extr_fan.c_fan_get_state.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_setup_tx_resources ## -- Begin function ixgbe_setup_tx_resources
.p2align 4, 0x90
_ixgbe_setup_tx_resources: ## @ixgbe_setup_tx_resources
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 56(%rdi), %r14
movq %r14, %rdi
callq _dev_to_node
movl %eax, %r15d
movl (%rbx), %r13d
shll $2, %r13d
movq 48(%rbx), %rax
testq %rax, %rax
jne LBB0_2
## %bb.1:
movq _NUMA_NO_NODE@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %r12d
movl %r13d, %edi
movl %r12d, %esi
callq _vmalloc_node
movq %rax, 8(%rbx)
testq %rax, %rax
jne LBB0_5
## %bb.3:
movl %r13d, %edi
callq _vmalloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_4
LBB0_5:
movl (%rbx), %edi
shll $2, %edi
movl %edi, 4(%rbx)
movl $4096, %esi ## imm = 0x1000
callq _ALIGN
movl %eax, 4(%rbx)
movq %r14, %rdi
movl %r12d, %esi
callq _set_dev_node
movl 4(%rbx), %esi
leaq 40(%rbx), %r12
movq _GFP_KERNEL@GOTPCREL(%rip), %r13
movl (%r13), %ecx
movq %r14, %rdi
movq %r12, %rdx
callq _dma_alloc_coherent
movq %rax, 32(%rbx)
movq %r14, %rdi
movl %r15d, %esi
callq _set_dev_node
cmpq $0, 32(%rbx)
jne LBB0_10
## %bb.6:
movl 4(%rbx), %esi
movl (%r13), %ecx
movq %r14, %rdi
movq %r12, %rdx
callq _dma_alloc_coherent
movq %rax, 32(%rbx)
testq %rax, %rax
je LBB0_7
LBB0_10:
xorps %xmm0, %xmm0
movups %xmm0, 16(%rbx)
xorl %eax, %eax
jmp LBB0_9
LBB0_4:
xorl %edi, %edi
jmp LBB0_8
LBB0_7:
movq 8(%rbx), %rdi
LBB0_8:
callq _vfree
movq $0, 8(%rbx)
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NUMA_NO_NODE,4,2 ## @NUMA_NO_NODE
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to allocate memory for the Tx descriptor ring\n"
.comm _ENOMEM,4,2 ## @ENOMEM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ixgbe_setup_tx_resources ; -- Begin function ixgbe_setup_tx_resources
.p2align 2
_ixgbe_setup_tx_resources: ; @ixgbe_setup_tx_resources
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x20, [x0, #56]
mov x0, x20
bl _dev_to_node
mov x21, x0
ldr w8, [x19]
lsl w23, w8, #2
ldr x8, [x19, #48]
Lloh0:
adrp x9, _NUMA_NO_NODE@GOTPAGE
Lloh1:
ldr x9, [x9, _NUMA_NO_NODE@GOTPAGEOFF]
cmp x8, #0
csel x8, x9, x8, eq
ldr w22, [x8]
mov x0, x23
mov x1, x22
bl _vmalloc_node
str x0, [x19, #8]
cbnz x0, LBB0_2
; %bb.1:
mov x0, x23
bl _vmalloc
str x0, [x19, #8]
cbz x0, LBB0_6
LBB0_2:
ldr w8, [x19]
lsl w0, w8, #2
str w0, [x19, #4]
mov w1, #4096
bl _ALIGN
str w0, [x19, #4]
mov x0, x20
mov x1, x22
bl _set_dev_node
ldr w1, [x19, #4]
add x22, x19, #40
Lloh2:
adrp x23, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
ldr w3, [x23]
mov x0, x20
mov x2, x22
bl _dma_alloc_coherent
str x0, [x19, #32]
mov x0, x20
mov x1, x21
bl _set_dev_node
ldr x8, [x19, #32]
cbnz x8, LBB0_4
; %bb.3:
ldr w1, [x19, #4]
ldr w3, [x23]
mov x0, x20
mov x2, x22
bl _dma_alloc_coherent
str x0, [x19, #32]
cbz x0, LBB0_5
LBB0_4:
mov w0, #0
stp xzr, xzr, [x19, #16]
b LBB0_7
LBB0_5:
ldr x0, [x19, #8]
LBB0_6:
bl _vfree
str xzr, [x19, #8]
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _dev_err
Lloh6:
adrp x8, _ENOMEM@GOTPAGE
Lloh7:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w0, w8
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _NUMA_NO_NODE,4,2 ; @NUMA_NO_NODE
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to allocate memory for the Tx descriptor ring\n"
.comm _ENOMEM,4,2 ; @ENOMEM
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_main.c_ixgbe_setup_tx_resources.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dto_clk_round_rate
_dto_clk_round_rate: ## @dto_clk_round_rate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq _DTO_RESL_DOUBLE@GOTPCREL(%rip), %r15
imulq (%r15), %rbx
movq (%rdx), %rsi
movq %rbx, %rdi
callq _do_div
imulq (%r14), %rbx
movq (%r15), %rsi
movq %rbx, %rdi
callq _do_div
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DTO_RESL_DOUBLE,8,3 ## @DTO_RESL_DOUBLE
.no_dead_strip _dto_clk_round_rate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dto_clk_round_rate
_dto_clk_round_rate: ; @dto_clk_round_rate
.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
Lloh0:
adrp x21, _DTO_RESL_DOUBLE@GOTPAGE
Lloh1:
ldr x21, [x21, _DTO_RESL_DOUBLE@GOTPAGEOFF]
ldr x8, [x21]
mul x20, x8, x1
ldr x1, [x2]
mov x0, x20
bl _do_div
ldr x8, [x19]
mul x19, x8, x20
ldr x1, [x21]
mov x0, x19
bl _do_div
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DTO_RESL_DOUBLE,8,3 ; @DTO_RESL_DOUBLE
.no_dead_strip _dto_clk_round_rate
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/sirf/extr_clk-atlas7.c_dto_clk_round_rate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gb_control_get ## -- Begin function gb_control_get
.p2align 4, 0x90
_gb_control_get: ## @gb_control_get
.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 _get_device
movq %rbx, %rax
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 _gb_control_get ; -- Begin function gb_control_get
.p2align 2
_gb_control_get: ; @gb_control_get
.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 _get_device
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/greybus/extr_control.c_gb_control_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function create_svm_file
_create_svm_file: ## @create_svm_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _create_svm_file
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function create_svm_file
_create_svm_file: ; @create_svm_file
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _create_svm_file
.subsections_via_symbols
| AnghaBench/linux/arch/powerpc/kernel/extr_sysfs.c_create_svm_file.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/900677.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function profile_capable
_profile_capable: ## @profile_capable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movl %edx, %r12d
movl %esi, %r15d
movq %rdi, %r13
movl 4(%rdi), %edi
callq _cap_raised
testq %rax, %rax
je LBB0_3
## %bb.1:
movl (%r13), %edi
movl %r15d, %esi
callq _cap_raised
testq %rax, %rax
je LBB0_2
LBB0_3:
movq _EPERM@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_4
LBB0_2:
xorl %ebx, %ebx
LBB0_4:
movq _CAP_OPT_NOAUDIT@GOTPCREL(%rip), %rax
testl %r12d, (%rax)
je LBB0_7
## %bb.5:
movq %r13, %rdi
callq _COMPLAIN_MODE
testl %eax, %eax
je LBB0_8
## %bb.6:
movq %r14, %rdi
callq _aad
leaq L_.str(%rip), %rcx
movq %rcx, (%rax)
LBB0_7:
movq %r14, %rdi
movq %r13, %rsi
movl %r15d, %edx
movl %ebx, %ecx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _audit_caps ## TAILCALL
LBB0_8:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EPERM,4,2 ## @EPERM
.comm _CAP_OPT_NOAUDIT,4,2 ## @CAP_OPT_NOAUDIT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "optional: no audit"
.no_dead_strip _profile_capable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function profile_capable
_profile_capable: ; @profile_capable
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x3
mov x22, x2
mov x19, x1
mov x21, x0
ldr w0, [x0, #4]
bl _cap_raised
cbz x0, LBB0_2
; %bb.1:
ldr w0, [x21]
mov x1, x19
bl _cap_raised
cbz x0, LBB0_3
LBB0_2:
Lloh0:
adrp x8, _EPERM@GOTPAGE
Lloh1:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w23, w8
b LBB0_4
LBB0_3:
mov w23, #0
LBB0_4:
Lloh3:
adrp x8, _CAP_OPT_NOAUDIT@GOTPAGE
Lloh4:
ldr x8, [x8, _CAP_OPT_NOAUDIT@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w22
b.eq LBB0_7
; %bb.5:
mov x0, x21
bl _COMPLAIN_MODE
cbz w0, LBB0_8
; %bb.6:
mov x0, x20
bl _aad
Lloh6:
adrp x8, l_.str@PAGE
Lloh7:
add x8, x8, l_.str@PAGEOFF
str x8, [x0]
LBB0_7:
mov x0, x20
mov x1, x21
mov x2, x19
mov x3, x23
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 _audit_caps
LBB0_8:
mov x0, x23
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _EPERM,4,2 ; @EPERM
.comm _CAP_OPT_NOAUDIT,4,2 ; @CAP_OPT_NOAUDIT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "optional: no audit"
.no_dead_strip _profile_capable
.subsections_via_symbols
| AnghaBench/linux/security/apparmor/extr_capability.c_profile_capable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_memdel ## -- Begin function ft_memdel
.p2align 4, 0x90
_ft_memdel: ## @ft_memdel
.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 (%rdi), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
callq _free
movq $0, (%rbx)
LBB0_3:
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 _ft_memdel ; -- Begin function ft_memdel
.p2align 2
_ft_memdel: ; @ft_memdel
.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 x0, [x0]
cbz x0, LBB0_3
; %bb.2:
bl _free
str xzr, [x19]
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/384855.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rbcfg_env_set_u32
_rbcfg_env_set_u32: ## @rbcfg_env_set_u32
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _rbcfg_env_find
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _rbcfg_ctx@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl (%rbx), %esi
movl (%rax), %edx
popq %rbx
popq %r14
popq %rbp
jmp _rbcfg_set_u32 ## TAILCALL
LBB0_1:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movq %r14, %rdx
callq _fprintf
movq _RB_ERR_INVALID@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid value '%s'\n"
.comm _RB_ERR_INVALID,4,2 ## @RB_ERR_INVALID
.comm _rbcfg_ctx,4,2 ## @rbcfg_ctx
.no_dead_strip _rbcfg_env_set_u32
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rbcfg_env_set_u32
_rbcfg_env_set_u32: ; @rbcfg_env_set_u32
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _rbcfg_env_find
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _rbcfg_ctx@GOTPAGE
Lloh1:
ldr x8, [x8, _rbcfg_ctx@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w1, [x20]
ldr w2, [x0]
mov x0, x8
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _rbcfg_set_u32
LBB0_2:
Lloh3:
adrp x8, _stderr@GOTPAGE
Lloh4:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _fprintf
Lloh8:
adrp x8, _RB_ERR_INVALID@GOTPAGE
Lloh9:
ldr x8, [x8, _RB_ERR_INVALID@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid value '%s'\n"
.comm _RB_ERR_INVALID,4,2 ; @RB_ERR_INVALID
.comm _rbcfg_ctx,4,2 ; @rbcfg_ctx
.no_dead_strip _rbcfg_env_set_u32
.subsections_via_symbols
| AnghaBench/openwrt/package/boot/rbcfg/src/extr_main.c_rbcfg_env_set_u32.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printname ## -- Begin function printname
.p2align 4, 0x90
_printname: ## @printname
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB0_5
## %bb.1:
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
xorl %ebx, %ebx
leaq _keypad(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _putchar
incq %rbx
cmpq %rbx, %r12
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsbq (%r15,%rbx), %rax
movl $42, %edi
cmpq $42, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq (%r14,%rbx,8), %rcx
leaq (,%rax,4), %rax
addq %r13, %rax
movsbl -192(%rcx,%rax), %edi
jmp LBB0_4
LBB0_5:
movl $10, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _putchar ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function toname
LCPI1_0:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI1_1:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI1_2:
.quad 0x4008000000000000 ## double 3
.section __TEXT,__text,regular,pure_instructions
.globl _toname
.p2align 4, 0x90
_toname: ## @toname
.cfi_startproc
## %bb.0:
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, %rbx
movq %rdi, %xmm0
punpckldq LCPI1_0(%rip), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd LCPI1_1(%rip), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
xorpd %xmm1, %xmm1
movsd %xmm0, -48(%rbp) ## 8-byte Spill
ucomisd %xmm1, %xmm0
jbe LBB1_8
## %bb.1:
xorl %r15d, %r15d
jmp LBB1_2
.p2align 4, 0x90
LBB1_7: ## in Loop: Header=BB1_2 Depth=1
movl $10, %edi
callq _putchar
incq %r15
movq %r15, %xmm0
punpckldq LCPI1_0(%rip), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd LCPI1_1(%rip), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB1_8
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_4 Depth 2
testq %rbx, %rbx
je LBB1_7
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
xorl %r12d, %r12d
jmp LBB1_4
.p2align 4, 0x90
LBB1_6: ## in Loop: Header=BB1_4 Depth=2
callq _putchar
incq %r12
cmpq %r12, %rbx
je LBB1_7
LBB1_4: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
movsbq (%r14,%r12), %r13
movl $42, %edi
cmpq $42, %r13
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=2
movq %r12, %xmm0
punpckldq LCPI1_0(%rip), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd LCPI1_1(%rip), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd LCPI1_2(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
cvttsd2si %xmm0, %ecx
movq %r15, %rsi
## kill: def $cl killed $cl killed $ecx
shrq %cl, %rsi
movq %rsi, %rax
movabsq $-6148914691236517205, %rcx ## imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rsi
leaq _keypad(%rip), %rax
leaq (%rax,%r13,4), %rax
movsbl -192(%rax,%rsi), %edi
jmp LBB1_6
LBB1_8:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
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 %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %ebx, %ebx
movabsq $-6148914691236517205, %r14 ## imm = 0xAAAAAAAAAAAAAAAB
leaq _keypad(%rip), %r15
leaq _keypad+20(%rip), %r12
.p2align 4, 0x90
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rcx
shrq %rcx
movq %rcx, %rax
mulq %r14
shrq %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rcx
movsbl (%r12,%rcx), %edi
callq _putchar
movq %rbx, %rcx
shrq $3, %rcx
movq %rcx, %rax
mulq %r14
shrq %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rcx
movsbl 12(%r15,%rcx), %edi
callq _putchar
movq %rbx, %rcx
shrq $9, %rcx
movq %rcx, %rax
mulq %r14
shrq %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rcx
movsbl 28(%r15,%rcx), %edi
callq _putchar
movq %rbx, %rcx
shrq $27, %rcx
movq %rcx, %rax
mulq %r14
shrq %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rcx
movsbl (%r12,%rcx), %edi
callq _putchar
movl $42, %edi
callq _putchar
xorl %edi, %edi
callq _putchar
movl $42, %edi
callq _putchar
movl $10, %edi
callq _putchar
incq %rbx
cmpq $2187, %rbx ## imm = 0x88B
jne LBB2_1
## %bb.2:
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _keypad ## @keypad
.p2align 4
_keypad:
.asciz "___"
.asciz "___"
.asciz "ABC"
.asciz "DEF"
.asciz "GHI"
.asciz "JKL"
.asciz "MNO"
.asciz "PRS"
.asciz "TUV"
.asciz "WXY"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printname ; -- Begin function printname
.p2align 2
_printname: ; @printname
.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_6
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x22, _keypad@PAGE
Lloh1:
add x22, x22, _keypad@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x19]
add x8, x22, x8, lsl #2
add x8, x8, x9
ldursb w0, [x8, #-192]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
bl _putchar
add x19, x19, #8
add x20, x20, #1
subs x21, x21, #1
b.eq LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrsb x8, [x20]
cmp x8, #42
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov w0, #42
b LBB0_3
LBB0_6:
mov w0, #10
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _putchar
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _toname ; -- Begin function toname
.p2align 2
_toname: ; @toname
.cfi_startproc
; %bb.0:
stp d9, d8, [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 b8, -88
.cfi_offset b9, -96
mov x19, x1
mov x20, x0
ucvtf d1, x0
fmov d0, #3.00000000
bl _pow
fcmp d0, #0.0
b.le LBB1_9
; %bb.1:
fmov d8, d0
mov x21, #0
mov x22, #-6148914691236517206
movk x22, #43691
Lloh2:
adrp x23, _keypad@PAGE
Lloh3:
add x23, x23, _keypad@PAGEOFF
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
mov w0, #10
bl _putchar
add x21, x21, #1
ucvtf d0, x21
fcmp d8, d0
b.le LBB1_9
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
cbz x20, LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
mov x24, #0
b LBB1_7
LBB1_5: ; in Loop: Header=BB1_7 Depth=2
ucvtf d1, x24
fmov d0, #3.00000000
bl _pow
fcvtzs w8, d0
lsr x8, x21, x8
umulh x9, x8, x22
lsr x9, x9, #1
add x9, x9, x9, lsl #1
add x10, x23, x25, lsl #2
sub x8, x8, x9
add x8, x10, x8
ldursb w0, [x8, #-192]
LBB1_6: ; in Loop: Header=BB1_7 Depth=2
bl _putchar
add x24, x24, #1
cmp x20, x24
b.eq LBB1_2
LBB1_7: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb x25, [x19, x24]
cmp x25, #42
b.ne LBB1_5
; %bb.8: ; in Loop: Header=BB1_7 Depth=2
mov w0, #42
b LBB1_6
LBB1_9:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.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 x19, #0
mov x20, #-6148914691236517206
movk x20, #43691
Lloh4:
adrp x21, _keypad@PAGE
Lloh5:
add x21, x21, _keypad@PAGEOFF
LBB2_1: ; =>This Inner Loop Header: Depth=1
lsr x8, x19, #1
umulh x9, x8, x20
lsr x9, x9, #1
add x9, x9, x9, lsl #1
sub x8, x8, x9
add x22, x21, #20
ldrsb w0, [x22, x8]
bl _putchar
lsr x8, x19, #3
umulh x9, x8, x20
lsr x9, x9, #1
add x9, x9, x9, lsl #1
sub x8, x8, x9
add x8, x21, x8
ldrsb w0, [x8, #12]
bl _putchar
lsr x8, x19, #9
umulh x9, x8, x20
lsr x9, x9, #1
add x9, x9, x9, lsl #1
sub x8, x8, x9
add x8, x21, x8
ldrsb w0, [x8, #28]
bl _putchar
lsr x8, x19, #27
umulh x9, x8, x20
lsr x9, x9, #1
add x9, x9, x9, lsl #1
sub x8, x8, x9
ldrsb w0, [x22, x8]
bl _putchar
mov w0, #42
bl _putchar
mov w0, #0
bl _putchar
mov w0, #42
bl _putchar
mov w0, #10
bl _putchar
add x19, x19, #1
cmp x19, #2187
b.ne LBB2_1
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _keypad ; @keypad
_keypad:
.asciz "___"
.asciz "___"
.asciz "ABC"
.asciz "DEF"
.asciz "GHI"
.asciz "JKL"
.asciz "MNO"
.asciz "PRS"
.asciz "TUV"
.asciz "WXY"
.subsections_via_symbols
| the_stack_data/175142830.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function telemetry_debugfs_check_evts
_telemetry_debugfs_check_evts: ## @telemetry_debugfs_check_evts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _debugfs_conf@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rcx
movq _TELEM_PSS_IDLE_EVTS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jg LBB0_7
## %bb.1:
movq 8(%rax), %rcx
movq _TELEM_PSS_IDLE_BLOCKED_EVTS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jg LBB0_7
## %bb.2:
movq 16(%rax), %rcx
movq _TELEM_PSS_S0IX_BLOCKED_EVTS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jg LBB0_7
## %bb.3:
movq 24(%rax), %rcx
movq _TELEM_PSS_LTR_BLOCKING_EVTS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jg LBB0_7
## %bb.4:
movq 32(%rax), %rcx
movq _TELEM_PSS_S0IX_WAKEUP_EVTS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jg LBB0_7
## %bb.5:
movq 40(%rax), %rcx
movq _TELEM_IOSS_DX_D0IX_EVTS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jg LBB0_7
## %bb.6:
movq 48(%rax), %rcx
movq _TELEM_IOSS_PG_EVTS@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jle LBB0_8
LBB0_7:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _debugfs_conf,8,3 ## @debugfs_conf
.comm _TELEM_PSS_IDLE_EVTS,8,3 ## @TELEM_PSS_IDLE_EVTS
.comm _TELEM_PSS_IDLE_BLOCKED_EVTS,8,3 ## @TELEM_PSS_IDLE_BLOCKED_EVTS
.comm _TELEM_PSS_S0IX_BLOCKED_EVTS,8,3 ## @TELEM_PSS_S0IX_BLOCKED_EVTS
.comm _TELEM_PSS_LTR_BLOCKING_EVTS,8,3 ## @TELEM_PSS_LTR_BLOCKING_EVTS
.comm _TELEM_PSS_S0IX_WAKEUP_EVTS,8,3 ## @TELEM_PSS_S0IX_WAKEUP_EVTS
.comm _TELEM_IOSS_DX_D0IX_EVTS,8,3 ## @TELEM_IOSS_DX_D0IX_EVTS
.comm _TELEM_IOSS_PG_EVTS,8,3 ## @TELEM_IOSS_PG_EVTS
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _telemetry_debugfs_check_evts
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function telemetry_debugfs_check_evts
_telemetry_debugfs_check_evts: ; @telemetry_debugfs_check_evts
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _debugfs_conf@GOTPAGE
Lloh1:
ldr x8, [x8, _debugfs_conf@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x8]
Lloh3:
adrp x10, _TELEM_PSS_IDLE_EVTS@GOTPAGE
Lloh4:
ldr x10, [x10, _TELEM_PSS_IDLE_EVTS@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_7
; %bb.1:
ldr x9, [x8, #8]
Lloh6:
adrp x10, _TELEM_PSS_IDLE_BLOCKED_EVTS@GOTPAGE
Lloh7:
ldr x10, [x10, _TELEM_PSS_IDLE_BLOCKED_EVTS@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_7
; %bb.2:
ldr x9, [x8, #16]
Lloh9:
adrp x10, _TELEM_PSS_S0IX_BLOCKED_EVTS@GOTPAGE
Lloh10:
ldr x10, [x10, _TELEM_PSS_S0IX_BLOCKED_EVTS@GOTPAGEOFF]
Lloh11:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_7
; %bb.3:
ldr x9, [x8, #24]
Lloh12:
adrp x10, _TELEM_PSS_LTR_BLOCKING_EVTS@GOTPAGE
Lloh13:
ldr x10, [x10, _TELEM_PSS_LTR_BLOCKING_EVTS@GOTPAGEOFF]
Lloh14:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_7
; %bb.4:
ldr x9, [x8, #32]
Lloh15:
adrp x10, _TELEM_PSS_S0IX_WAKEUP_EVTS@GOTPAGE
Lloh16:
ldr x10, [x10, _TELEM_PSS_S0IX_WAKEUP_EVTS@GOTPAGEOFF]
Lloh17:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_7
; %bb.5:
ldr x9, [x8, #40]
Lloh18:
adrp x10, _TELEM_IOSS_DX_D0IX_EVTS@GOTPAGE
Lloh19:
ldr x10, [x10, _TELEM_IOSS_DX_D0IX_EVTS@GOTPAGEOFF]
Lloh20:
ldr x10, [x10]
cmp x9, x10
b.gt LBB0_7
; %bb.6:
ldr x8, [x8, #48]
Lloh21:
adrp x9, _TELEM_IOSS_PG_EVTS@GOTPAGE
Lloh22:
ldr x9, [x9, _TELEM_IOSS_PG_EVTS@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x8, x9
b.le LBB0_8
LBB0_7:
Lloh24:
adrp x8, _EINVAL@GOTPAGE
Lloh25:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
neg w0, w8
ret
LBB0_8:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _debugfs_conf,8,3 ; @debugfs_conf
.comm _TELEM_PSS_IDLE_EVTS,8,3 ; @TELEM_PSS_IDLE_EVTS
.comm _TELEM_PSS_IDLE_BLOCKED_EVTS,8,3 ; @TELEM_PSS_IDLE_BLOCKED_EVTS
.comm _TELEM_PSS_S0IX_BLOCKED_EVTS,8,3 ; @TELEM_PSS_S0IX_BLOCKED_EVTS
.comm _TELEM_PSS_LTR_BLOCKING_EVTS,8,3 ; @TELEM_PSS_LTR_BLOCKING_EVTS
.comm _TELEM_PSS_S0IX_WAKEUP_EVTS,8,3 ; @TELEM_PSS_S0IX_WAKEUP_EVTS
.comm _TELEM_IOSS_DX_D0IX_EVTS,8,3 ; @TELEM_IOSS_DX_D0IX_EVTS
.comm _TELEM_IOSS_PG_EVTS,8,3 ; @TELEM_IOSS_PG_EVTS
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _telemetry_debugfs_check_evts
.subsections_via_symbols
| AnghaBench/linux/drivers/platform/x86/extr_intel_telemetry_debugfs.c_telemetry_debugfs_check_evts.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ti_hecc_probe
_ti_hecc_probe: ## @ti_hecc_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movq (%rdi), %r12
movq _ENODEV@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
xorl %r14d, %r14d
subl (%rax), %r14d
movq _CONFIG_OF@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _IS_ENABLED
testl %eax, %eax
je LBB0_8
## %bb.1:
testq %r12, %r12
je LBB0_8
## %bb.2:
leaq L_.str(%rip), %rsi
movq %r13, %rdi
callq _devm_regulator_get
movq %rax, %rbx
movq %rax, %rdi
callq _PTR_ERR
movl %eax, %r15d
movq _EPROBE_DEFER@GOTPCREL(%rip), %rax
movl %r15d, %ecx
addl (%rax), %ecx
je LBB0_10
## %bb.3:
movq %rbx, %rdi
callq _IS_ERR
xorl %r15d, %r15d
testq %rax, %rax
cmovneq %r15, %rbx
movq _HECC_MAX_TX_MBOX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $96, %edi
callq _alloc_candev
testq %rax, %rax
je LBB0_11
## %bb.4:
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _netdev_priv
movq %rax, %r15
movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdx
movq %r13, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
je LBB0_12
## %bb.5:
movq %r13, %rdi
movq %rax, %rsi
callq _devm_ioremap_resource
movq %rax, 24(%r15)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_14
## %bb.6:
leaq L_.str.4(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq 24(%r15), %rdi
LBB0_7:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_8:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
subl (%rax), %r15d
LBB0_10:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
leaq L_.str.1(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq _ENOMEM@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_12:
leaq L_.str.3(%rip), %rsi
LBB0_13:
movq %r13, %rdi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
jmp LBB0_9
LBB0_14:
movq %r15, -48(%rbp) ## 8-byte Spill
movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.5(%rip), %rdx
movq %r13, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
je LBB0_17
## %bb.15:
movq %r13, %rdi
movq %rax, %rsi
callq _devm_ioremap_resource
movq -48(%rbp), %r15 ## 8-byte Reload
movq %rax, 88(%r15)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_18
## %bb.16:
leaq L_.str.7(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq 88(%r15), %rdi
jmp LBB0_7
LBB0_17:
leaq L_.str.6(%rip), %rsi
jmp LBB0_13
LBB0_18:
movq _IORESOURCE_MEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.8(%rip), %rdx
movq %r13, %rdi
callq _platform_get_resource_byname
testq %rax, %rax
je LBB0_21
## %bb.19:
movq %r13, %rdi
movq %rax, %rsi
callq _devm_ioremap_resource
movq -48(%rbp), %r15 ## 8-byte Reload
movq %rax, 80(%r15)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_22
## %bb.20:
leaq L_.str.10(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq 80(%r15), %rdi
jmp LBB0_7
LBB0_21:
leaq L_.str.9(%rip), %rsi
jmp LBB0_13
LBB0_22:
movq _IORESOURCE_IRQ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
xorl %edx, %edx
callq _platform_get_resource
testq %rax, %rax
je LBB0_25
## %bb.23:
movq -56(%rbp), %r14 ## 8-byte Reload
movq -48(%rbp), %r15 ## 8-byte Reload
movq %r14, 72(%r15)
movq %rbx, 64(%r15)
leaq L_.str.12(%rip), %rsi
movq %r12, %rdi
movq %rax, %rbx
callq _of_property_read_bool
movl %eax, 60(%r15)
movq _ti_hecc_bittiming_const@GOTPCREL(%rip), %rax
movq %rax, 48(%r15)
movq _ti_hecc_do_set_mode@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 44(%r15)
movq _ti_hecc_get_berr_counter@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%r15)
movq _CAN_CTRLMODE_3_SAMPLES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%r15)
leaq 56(%r15), %rdi
callq _spin_lock_init
movq (%rbx), %rax
movq %rax, (%r14)
movq _IFF_ECHO@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 16(%r14)
movq %r13, %rdi
movq %r14, %rsi
callq _platform_set_drvdata
movq %r14, %rdi
movq %r13, %rsi
callq _SET_NETDEV_DEV
movq _ti_hecc_netdev_ops@GOTPCREL(%rip), %rax
movq %rax, 8(%r14)
leaq L_.str.13(%rip), %rsi
movq %r13, %rdi
callq _clk_get
movq %rax, (%r15)
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_26
## %bb.24:
leaq L_.str.14(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq (%r15), %rdi
callq _PTR_ERR
movq %r15, %rbx
movl %eax, %r15d
movq $0, (%rbx)
jmp LBB0_32
LBB0_25:
leaq L_.str.11(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movl %r14d, %r15d
jmp LBB0_10
LBB0_26:
movq (%r15), %rdi
callq _clk_get_rate
movl %eax, 32(%r15)
movq (%r15), %rdi
callq _clk_prepare_enable
testl %eax, %eax
je LBB0_28
## %bb.27:
movl %eax, %r15d
leaq L_.str.15(%rip), %rsi
jmp LBB0_30
LBB0_28:
movq _ti_hecc_mailbox_read@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rcx, %rbx
addq $8, %rbx
movl %eax, 16(%rcx)
movq _HECC_RX_FIRST_MBOX@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rcx)
movq _HECC_RX_LAST_MBOX@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rcx)
movq -56(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
callq _can_rx_offload_add_timestamp
testl %eax, %eax
je LBB0_33
## %bb.29:
movl %eax, %r15d
leaq L_.str.16(%rip), %rsi
LBB0_30:
movq %r13, %rdi
callq _dev_err
LBB0_31:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
callq _clk_put
LBB0_32:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _free_candev
jmp LBB0_10
LBB0_33:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _register_candev
testl %eax, %eax
je LBB0_35
## %bb.34:
movl %eax, %r15d
leaq L_.str.17(%rip), %rsi
movq %r13, %rdi
callq _dev_err
movq %rbx, %rdi
callq _can_rx_offload_del
jmp LBB0_31
LBB0_35:
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _devm_can_led_init
movq -48(%rbp), %rax ## 8-byte Reload
movq 24(%rax), %rdx
movl (%rbx), %ecx
leaq L_.str.18(%rip), %rsi
movq %r13, %rdi
callq _dev_info
xorl %r15d, %r15d
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.comm _CONFIG_OF,4,2 ## @CONFIG_OF
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "xceiver"
.comm _EPROBE_DEFER,4,2 ## @EPROBE_DEFER
.comm _HECC_MAX_TX_MBOX,4,2 ## @HECC_MAX_TX_MBOX
L_.str.1: ## @.str.1
.asciz "alloc_candev failed\n"
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM
L_.str.2: ## @.str.2
.asciz "hecc"
L_.str.3: ## @.str.3
.asciz "can't get IORESOURCE_MEM hecc\n"
L_.str.4: ## @.str.4
.asciz "hecc ioremap failed\n"
L_.str.5: ## @.str.5
.asciz "hecc-ram"
L_.str.6: ## @.str.6
.asciz "can't get IORESOURCE_MEM hecc-ram\n"
L_.str.7: ## @.str.7
.asciz "hecc-ram ioremap failed\n"
L_.str.8: ## @.str.8
.asciz "mbx"
L_.str.9: ## @.str.9
.asciz "can't get IORESOURCE_MEM mbx\n"
L_.str.10: ## @.str.10
.asciz "mbx ioremap failed\n"
.comm _IORESOURCE_IRQ,4,2 ## @IORESOURCE_IRQ
L_.str.11: ## @.str.11
.asciz "No irq resource\n"
L_.str.12: ## @.str.12
.asciz "ti,use-hecc1int"
.comm _ti_hecc_bittiming_const,4,2 ## @ti_hecc_bittiming_const
.comm _ti_hecc_do_set_mode,4,2 ## @ti_hecc_do_set_mode
.comm _ti_hecc_get_berr_counter,4,2 ## @ti_hecc_get_berr_counter
.comm _CAN_CTRLMODE_3_SAMPLES,4,2 ## @CAN_CTRLMODE_3_SAMPLES
.comm _IFF_ECHO,4,2 ## @IFF_ECHO
.comm _ti_hecc_netdev_ops,4,2 ## @ti_hecc_netdev_ops
L_.str.13: ## @.str.13
.asciz "hecc_ck"
L_.str.14: ## @.str.14
.asciz "No clock available\n"
L_.str.15: ## @.str.15
.asciz "clk_prepare_enable() failed\n"
.comm _ti_hecc_mailbox_read,4,2 ## @ti_hecc_mailbox_read
.comm _HECC_RX_FIRST_MBOX,4,2 ## @HECC_RX_FIRST_MBOX
.comm _HECC_RX_LAST_MBOX,4,2 ## @HECC_RX_LAST_MBOX
L_.str.16: ## @.str.16
.asciz "can_rx_offload_add_timestamp() failed\n"
L_.str.17: ## @.str.17
.asciz "register_candev() failed\n"
L_.str.18: ## @.str.18
.asciz "device registered (reg_base=%p, irq=%u)\n"
.no_dead_strip _ti_hecc_probe
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ti_hecc_probe
_ti_hecc_probe: ; @ti_hecc_probe
.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
ldr x22, [x0]
Lloh0:
adrp x8, _ENODEV@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
ldr w24, [x8]
Lloh3:
adrp x8, _CONFIG_OF@GOTPAGE
Lloh4:
ldr x8, [x8, _CONFIG_OF@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _IS_ENABLED
cmp w0, #0
ccmp x22, #0, #4, ne
b.ne LBB0_3
LBB0_1:
Lloh6:
adrp x8, _EINVAL@GOTPAGE
Lloh7:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
ldr w8, [x8]
neg w23, w8
b LBB0_4
LBB0_3:
Lloh8:
adrp x1, l_.str@PAGE
Lloh9:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _devm_regulator_get
mov x20, x0
bl _PTR_ERR
mov x23, x0
Lloh10:
adrp x8, _EPROBE_DEFER@GOTPAGE
Lloh11:
ldr x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
cmn w0, w8
b.ne LBB0_5
LBB0_4:
mov x0, x23
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_5:
mov x0, x20
bl _IS_ERR
cmp x0, #0
csel x25, x20, xzr, eq
Lloh13:
adrp x8, _HECC_MAX_TX_MBOX@GOTPAGE
Lloh14:
ldr x8, [x8, _HECC_MAX_TX_MBOX@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
mov w0, #96
bl _alloc_candev
cbz x0, LBB0_10
; %bb.6:
mov x20, x0
bl _netdev_priv
mov x21, x0
Lloh16:
adrp x23, _IORESOURCE_MEM@GOTPAGE
Lloh17:
ldr x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
ldr w1, [x23]
Lloh18:
adrp x2, l_.str.2@PAGE
Lloh19:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
bl _platform_get_resource_byname
cbz x0, LBB0_11
; %bb.7:
mov x1, x0
mov x0, x19
bl _devm_ioremap_resource
str x0, [x21, #24]
bl _IS_ERR
cbz x0, LBB0_13
; %bb.8:
Lloh20:
adrp x1, l_.str.4@PAGE
Lloh21:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _dev_err
ldr x0, [x21, #24]
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _PTR_ERR
LBB0_10:
Lloh22:
adrp x1, l_.str.1@PAGE
Lloh23:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _dev_err
Lloh24:
adrp x8, _ENOMEM@GOTPAGE
Lloh25:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
b LBB0_2
LBB0_11:
Lloh26:
adrp x1, l_.str.3@PAGE
Lloh27:
add x1, x1, l_.str.3@PAGEOFF
LBB0_12:
mov x0, x19
bl _dev_err
b LBB0_1
LBB0_13:
ldr w1, [x23]
Lloh28:
adrp x2, l_.str.5@PAGE
Lloh29:
add x2, x2, l_.str.5@PAGEOFF
mov x0, x19
bl _platform_get_resource_byname
cbz x0, LBB0_16
; %bb.14:
mov x1, x0
mov x0, x19
bl _devm_ioremap_resource
str x0, [x21, #88]
bl _IS_ERR
cbz x0, LBB0_17
; %bb.15:
Lloh30:
adrp x1, l_.str.7@PAGE
Lloh31:
add x1, x1, l_.str.7@PAGEOFF
mov x0, x19
bl _dev_err
ldr x0, [x21, #88]
b LBB0_9
LBB0_16:
Lloh32:
adrp x1, l_.str.6@PAGE
Lloh33:
add x1, x1, l_.str.6@PAGEOFF
b LBB0_12
LBB0_17:
ldr w1, [x23]
Lloh34:
adrp x2, l_.str.8@PAGE
Lloh35:
add x2, x2, l_.str.8@PAGEOFF
mov x0, x19
bl _platform_get_resource_byname
cbz x0, LBB0_20
; %bb.18:
mov x1, x0
mov x0, x19
bl _devm_ioremap_resource
str x0, [x21, #80]
bl _IS_ERR
cbz x0, LBB0_21
; %bb.19:
Lloh36:
adrp x1, l_.str.10@PAGE
Lloh37:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _dev_err
ldr x0, [x21, #80]
b LBB0_9
LBB0_20:
Lloh38:
adrp x1, l_.str.9@PAGE
Lloh39:
add x1, x1, l_.str.9@PAGEOFF
b LBB0_12
LBB0_21:
Lloh40:
adrp x8, _IORESOURCE_IRQ@GOTPAGE
Lloh41:
ldr x8, [x8, _IORESOURCE_IRQ@GOTPAGEOFF]
Lloh42:
ldr w1, [x8]
mov x0, x19
mov w2, #0
bl _platform_get_resource
cbz x0, LBB0_24
; %bb.22:
mov x23, x0
stp x25, x20, [x21, #64]
Lloh43:
adrp x1, l_.str.12@PAGE
Lloh44:
add x1, x1, l_.str.12@PAGEOFF
mov x0, x22
bl _of_property_read_bool
str w0, [x21, #60]
Lloh45:
adrp x8, _ti_hecc_bittiming_const@GOTPAGE
Lloh46:
ldr x8, [x8, _ti_hecc_bittiming_const@GOTPAGEOFF]
Lloh47:
adrp x9, _ti_hecc_do_set_mode@GOTPAGE
Lloh48:
ldr x9, [x9, _ti_hecc_do_set_mode@GOTPAGEOFF]
str x8, [x21, #48]
Lloh49:
ldr w8, [x9]
str w8, [x21, #44]
Lloh50:
adrp x8, _ti_hecc_get_berr_counter@GOTPAGE
Lloh51:
ldr x8, [x8, _ti_hecc_get_berr_counter@GOTPAGEOFF]
Lloh52:
ldr w8, [x8]
Lloh53:
adrp x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGE
Lloh54:
ldr x9, [x9, _CAN_CTRLMODE_3_SAMPLES@GOTPAGEOFF]
Lloh55:
ldr w9, [x9]
stp w9, w8, [x21, #36]
add x0, x21, #56
bl _spin_lock_init
ldr x8, [x23]
str x8, [x20]
Lloh56:
adrp x8, _IFF_ECHO@GOTPAGE
Lloh57:
ldr x8, [x8, _IFF_ECHO@GOTPAGEOFF]
Lloh58:
ldr w8, [x8]
ldr w9, [x20, #16]
orr w8, w9, w8
str w8, [x20, #16]
mov x0, x19
mov x1, x20
bl _platform_set_drvdata
mov x0, x20
mov x1, x19
bl _SET_NETDEV_DEV
Lloh59:
adrp x8, _ti_hecc_netdev_ops@GOTPAGE
Lloh60:
ldr x8, [x8, _ti_hecc_netdev_ops@GOTPAGEOFF]
str x8, [x20, #8]
Lloh61:
adrp x1, l_.str.13@PAGE
Lloh62:
add x1, x1, l_.str.13@PAGEOFF
mov x0, x19
bl _clk_get
str x0, [x21]
bl _IS_ERR
cbz x0, LBB0_25
; %bb.23:
Lloh63:
adrp x1, l_.str.14@PAGE
Lloh64:
add x1, x1, l_.str.14@PAGEOFF
mov x0, x19
bl _dev_err
ldr x0, [x21]
bl _PTR_ERR
mov x23, x0
str xzr, [x21]
b LBB0_31
LBB0_24:
neg w23, w24
Lloh65:
adrp x1, l_.str.11@PAGE
Lloh66:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _dev_err
b LBB0_4
LBB0_25:
ldr x0, [x21]
bl _clk_get_rate
str w0, [x21, #32]
ldr x0, [x21]
bl _clk_prepare_enable
cbz w0, LBB0_27
; %bb.26:
mov x23, x0
Lloh67:
adrp x1, l_.str.15@PAGE
Lloh68:
add x1, x1, l_.str.15@PAGEOFF
b LBB0_29
LBB0_27:
Lloh69:
adrp x8, _ti_hecc_mailbox_read@GOTPAGE
Lloh70:
ldr x8, [x8, _ti_hecc_mailbox_read@GOTPAGEOFF]
Lloh71:
adrp x9, _HECC_RX_LAST_MBOX@GOTPAGE
Lloh72:
ldr x9, [x9, _HECC_RX_LAST_MBOX@GOTPAGEOFF]
Lloh73:
ldr w9, [x9]
mov x22, x21
str w9, [x22, #8]!
Lloh74:
ldr w8, [x8]
Lloh75:
adrp x9, _HECC_RX_FIRST_MBOX@GOTPAGE
Lloh76:
ldr x9, [x9, _HECC_RX_FIRST_MBOX@GOTPAGEOFF]
Lloh77:
ldr w9, [x9]
stp w9, w8, [x22, #4]
mov x0, x20
mov x1, x22
bl _can_rx_offload_add_timestamp
cbz w0, LBB0_32
; %bb.28:
mov x23, x0
Lloh78:
adrp x1, l_.str.16@PAGE
Lloh79:
add x1, x1, l_.str.16@PAGEOFF
LBB0_29:
mov x0, x19
bl _dev_err
LBB0_30:
ldr x0, [x21]
bl _clk_put
LBB0_31:
mov x0, x20
bl _free_candev
b LBB0_4
LBB0_32:
mov x0, x20
bl _register_candev
mov x23, x0
cbz w0, LBB0_34
; %bb.33:
Lloh80:
adrp x1, l_.str.17@PAGE
Lloh81:
add x1, x1, l_.str.17@PAGEOFF
mov x0, x19
bl _dev_err
mov x0, x22
bl _can_rx_offload_del
b LBB0_30
LBB0_34:
mov x0, x20
bl _devm_can_led_init
ldr x2, [x21, #24]
ldr w3, [x20]
Lloh82:
adrp x1, l_.str.18@PAGE
Lloh83:
add x1, x1, l_.str.18@PAGEOFF
mov x0, x19
bl _dev_info
b LBB0_4
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh74
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh82, Lloh83
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.comm _CONFIG_OF,4,2 ; @CONFIG_OF
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "xceiver"
.comm _EPROBE_DEFER,4,2 ; @EPROBE_DEFER
.comm _HECC_MAX_TX_MBOX,4,2 ; @HECC_MAX_TX_MBOX
l_.str.1: ; @.str.1
.asciz "alloc_candev failed\n"
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM
l_.str.2: ; @.str.2
.asciz "hecc"
l_.str.3: ; @.str.3
.asciz "can't get IORESOURCE_MEM hecc\n"
l_.str.4: ; @.str.4
.asciz "hecc ioremap failed\n"
l_.str.5: ; @.str.5
.asciz "hecc-ram"
l_.str.6: ; @.str.6
.asciz "can't get IORESOURCE_MEM hecc-ram\n"
l_.str.7: ; @.str.7
.asciz "hecc-ram ioremap failed\n"
l_.str.8: ; @.str.8
.asciz "mbx"
l_.str.9: ; @.str.9
.asciz "can't get IORESOURCE_MEM mbx\n"
l_.str.10: ; @.str.10
.asciz "mbx ioremap failed\n"
.comm _IORESOURCE_IRQ,4,2 ; @IORESOURCE_IRQ
l_.str.11: ; @.str.11
.asciz "No irq resource\n"
l_.str.12: ; @.str.12
.asciz "ti,use-hecc1int"
.comm _ti_hecc_bittiming_const,4,2 ; @ti_hecc_bittiming_const
.comm _ti_hecc_do_set_mode,4,2 ; @ti_hecc_do_set_mode
.comm _ti_hecc_get_berr_counter,4,2 ; @ti_hecc_get_berr_counter
.comm _CAN_CTRLMODE_3_SAMPLES,4,2 ; @CAN_CTRLMODE_3_SAMPLES
.comm _IFF_ECHO,4,2 ; @IFF_ECHO
.comm _ti_hecc_netdev_ops,4,2 ; @ti_hecc_netdev_ops
l_.str.13: ; @.str.13
.asciz "hecc_ck"
l_.str.14: ; @.str.14
.asciz "No clock available\n"
l_.str.15: ; @.str.15
.asciz "clk_prepare_enable() failed\n"
.comm _ti_hecc_mailbox_read,4,2 ; @ti_hecc_mailbox_read
.comm _HECC_RX_FIRST_MBOX,4,2 ; @HECC_RX_FIRST_MBOX
.comm _HECC_RX_LAST_MBOX,4,2 ; @HECC_RX_LAST_MBOX
l_.str.16: ; @.str.16
.asciz "can_rx_offload_add_timestamp() failed\n"
l_.str.17: ; @.str.17
.asciz "register_candev() failed\n"
l_.str.18: ; @.str.18
.asciz "device registered (reg_base=%p, irq=%u)\n"
.no_dead_strip _ti_hecc_probe
.subsections_via_symbols
| AnghaBench/linux/drivers/net/can/extr_ti_hecc.c_ti_hecc_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function MimeBody_set_offsets
_MimeBody_set_offsets: ## @MimeBody_set_offsets
.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
movl 12(%rsi), %esi
movl 8(%rbx), %edx
movl (%rbx), %r8d
movl 4(%rbx), %ecx
leaq L_.str(%rip), %rdi
callq _TRACE
movups (%rbx), %xmm0
movups %xmm0, (%r14)
movq _S_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "setting offsets to %d, %d, %d, %d\n"
.comm _S_OK,4,2 ## @S_OK
.no_dead_strip _MimeBody_set_offsets
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function MimeBody_set_offsets
_MimeBody_set_offsets: ; @MimeBody_set_offsets
.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
ldr w1, [x1, #12]
ldp w3, w2, [x19, #4]
ldr w4, [x19]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _TRACE
ldr q0, [x19]
str q0, [x20]
Lloh2:
adrp x8, _S_OK@GOTPAGE
Lloh3:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "setting offsets to %d, %d, %d, %d\n"
.comm _S_OK,4,2 ; @S_OK
.no_dead_strip _MimeBody_set_offsets
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/inetcomm/extr_mimeole.c_MimeBody_set_offsets.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), %eax
imull $50, %eax, %ecx
cmpl $31, %eax
leal (%rax,%rax,4), %eax
leal 300(,%rax,8), %esi
cmovll %ecx, %esi
leaq L_.str.2(%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 "Enter you travelled distance : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Amount 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
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]
mov w9, #50
mul w9, w8, w9
mov w10, #40
mul w10, w8, w10
add w10, w10, #300
cmp w8, #31
csel w8, w9, w10, lt
str x8, [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 you travelled distance : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Amount is : %d"
.subsections_via_symbols
| the_stack_data/68886994.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mp_chmap_sel_add_waveext_def ## -- Begin function mp_chmap_sel_add_waveext_def
.p2align 4, 0x90
_mp_chmap_sel_add_waveext_def: ## @mp_chmap_sel_add_waveext_def
.cfi_startproc
## %bb.0:
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 _MP_NUM_CHANNELS@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_3
## %bb.1:
movq %rdi, %r14
xorl %ebx, %ebx
leaq -40(%rbp), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
incl %ebx
movq %r15, %rdi
movl %ebx, %esi
callq _mp_chmap_from_channels
movq %r14, %rdi
movq %r15, %rsi
callq _mp_chmap_sel_add_map
cmpl (%r12), %ebx
jl LBB0_2
LBB0_3:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MP_NUM_CHANNELS,4,2 ## @MP_NUM_CHANNELS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mp_chmap_sel_add_waveext_def ; -- Begin function mp_chmap_sel_add_waveext_def
.p2align 2
_mp_chmap_sel_add_waveext_def: ; @mp_chmap_sel_add_waveext_def
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x21, _MP_NUM_CHANNELS@GOTPAGE
Lloh1:
ldr x21, [x21, _MP_NUM_CHANNELS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x19, x0
mov w20, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
add w20, w20, #1
add x0, sp, #8
mov x1, x20
bl _mp_chmap_from_channels
add x1, sp, #8
mov x0, x19
bl _mp_chmap_sel_add_map
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_2
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MP_NUM_CHANNELS,4,2 ; @MP_NUM_CHANNELS
.subsections_via_symbols
| AnghaBench/mpv/audio/extr_chmap_sel.c_mp_chmap_sel_add_waveext_def.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function file_find_cell
_file_find_cell: ## @file_find_cell
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $1064, %rsp ## imm = 0x428
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -1084(%rbp) ## 4-byte Spill
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq __PATH_CELLSERVDB@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rbx
testq %rax, %rax
jne LBB0_6
## %bb.1:
movq __PATH_ARLA_CELLSERVDB@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rbx
testq %rax, %rax
jne LBB0_6
## %bb.2:
movq __PATH_OPENAFS_DEBIAN_CELLSERVDB@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rbx
testq %rax, %rax
jne LBB0_6
## %bb.3:
movq __PATH_OPENAFS_MACOSX_CELLSERVDB@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rbx
testq %rax, %rax
jne LBB0_6
## %bb.4:
movq __PATH_ARLA_DEBIAN_CELLSERVDB@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, %rbx
testq %rax, %rax
je LBB0_5
LBB0_6:
leaq -1072(%rbp), %r15
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
je LBB0_20
## %bb.7:
movq %r13, -1096(%rbp) ## 8-byte Spill
movq %r12, -1104(%rbp) ## 8-byte Spill
leaq L_.str.1(%rip), %r13
leaq -1080(%rbp), %r12
jmp LBB0_8
LBB0_11: ## in Loop: Header=BB0_8 Depth=1
movq %r14, %rdi
callq _strlen
leaq -1071(%rbp), %rdi
movq %r14, %rsi
movl %eax, %edx
callq _strncmp
testl %eax, %eax
jne LBB0_19
jmp LBB0_13
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
cmpb $62, -1072(%rbp)
jne LBB0_19
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %r15, -1080(%rbp)
movq %r12, %rdi
movq %r13, %rsi
callq _strsep
cmpl $0, -1084(%rbp) ## 4-byte Folded Reload
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leaq -1071(%rbp), %rdi
movq %r14, %rsi
callq _strcmp
testl %eax, %eax
je LBB0_13
LBB0_19: ## in Loop: Header=BB0_8 Depth=1
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
jne LBB0_8
LBB0_20:
movl $-1, %r14d
LBB0_21:
movq %rbx, %rdi
callq _fclose
LBB0_22:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_24
## %bb.23:
movl %r14d, %eax
addq $1064, %rsp ## imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
leaq -1072(%rbp), %rdi
movl $1024, %esi ## imm = 0x400
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
je LBB0_20
## %bb.14:
leaq -1072(%rbp), %r14
movq %r14, %rdi
movl $35, %esi
callq _strchr
movq %rax, -1080(%rbp)
testq %rax, %rax
je LBB0_20
## %bb.15:
incq %rax
movq %rax, -1080(%rbp)
movq %r14, %rdi
callq _strlen
cltq
cmpb $10, -1(%rax,%r14)
jne LBB0_17
## %bb.16:
movq %r14, %rdi
callq _strlen
cltq
movb $0, -1(%rax,%r14)
LBB0_17:
movq -1080(%rbp), %rsi
movq -1096(%rbp), %rdi ## 8-byte Reload
callq *(%rdi)
movq -1104(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
testq %rax, %rax
movl $-1, %r14d
je LBB0_21
## %bb.18:
xorl %r14d, %r14d
cmpb $1, (%rax)
sbbl %r14d, %r14d
jmp LBB0_21
LBB0_5:
movl $-1, %r14d
jmp LBB0_22
LBB0_24:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm __PATH_CELLSERVDB,4,2 ## @_PATH_CELLSERVDB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
.comm __PATH_ARLA_CELLSERVDB,4,2 ## @_PATH_ARLA_CELLSERVDB
.comm __PATH_OPENAFS_DEBIAN_CELLSERVDB,4,2 ## @_PATH_OPENAFS_DEBIAN_CELLSERVDB
.comm __PATH_OPENAFS_MACOSX_CELLSERVDB,4,2 ## @_PATH_OPENAFS_MACOSX_CELLSERVDB
.comm __PATH_ARLA_DEBIAN_CELLSERVDB,4,2 ## @_PATH_ARLA_DEBIAN_CELLSERVDB
L_.str.1: ## @.str.1
.asciz " \t\n#"
.no_dead_strip _file_find_cell
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function file_find_cell
_file_find_cell: ; @file_find_cell
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #1040
mov x22, x3
mov x19, x2
mov x23, x1
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x8, __PATH_CELLSERVDB@GOTPAGE
Lloh4:
ldr x8, [x8, __PATH_CELLSERVDB@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x21, x0
cbnz x0, LBB0_5
; %bb.1:
Lloh8:
adrp x8, __PATH_ARLA_CELLSERVDB@GOTPAGE
Lloh9:
ldr x8, [x8, __PATH_ARLA_CELLSERVDB@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x21, x0
cbnz x0, LBB0_5
; %bb.2:
Lloh13:
adrp x8, __PATH_OPENAFS_DEBIAN_CELLSERVDB@GOTPAGE
Lloh14:
ldr x8, [x8, __PATH_OPENAFS_DEBIAN_CELLSERVDB@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
Lloh16:
adrp x1, l_.str@PAGE
Lloh17:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x21, x0
cbnz x0, LBB0_5
; %bb.3:
Lloh18:
adrp x8, __PATH_OPENAFS_MACOSX_CELLSERVDB@GOTPAGE
Lloh19:
ldr x8, [x8, __PATH_OPENAFS_MACOSX_CELLSERVDB@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
Lloh21:
adrp x1, l_.str@PAGE
Lloh22:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x21, x0
cbnz x0, LBB0_5
; %bb.4:
Lloh23:
adrp x8, __PATH_ARLA_DEBIAN_CELLSERVDB@GOTPAGE
Lloh24:
ldr x8, [x8, __PATH_ARLA_DEBIAN_CELLSERVDB@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
Lloh26:
adrp x1, l_.str@PAGE
Lloh27:
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x21, x0
cbz x0, LBB0_22
LBB0_5:
add x26, sp, #8
add x0, sp, #8
mov w1, #1024
mov x2, x21
bl _fgets
cbz x0, LBB0_12
; %bb.6:
add x24, x26, #1
Lloh28:
adrp x25, l_.str.1@PAGE
Lloh29:
add x25, x25, l_.str.1@PAGEOFF
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
mov x0, x23
bl _strlen
mov x2, x0
mov x0, x24
mov x1, x23
bl _strncmp
cbnz w0, LBB0_11
b LBB0_16
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldrb w8, [sp, #8]
cmp w8, #62
b.ne LBB0_11
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
str x26, [sp]
mov x0, sp
mov x1, x25
bl _strsep
cbz w22, LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
mov x0, x24
mov x1, x23
bl _strcmp
cbz w0, LBB0_16
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #8
mov w1, #1024
mov x2, x21
bl _fgets
cbnz x0, LBB0_8
LBB0_12:
mov w19, #-1
LBB0_13:
mov x0, x21
bl _fclose
LBB0_14:
ldur x8, [x29, #-88]
Lloh30:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh31:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_23
; %bb.15:
mov x0, x19
add sp, sp, #1040
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_16:
add x0, sp, #8
mov w1, #1024
mov x2, x21
bl _fgets
cbz x0, LBB0_12
; %bb.17:
add x22, sp, #8
add x0, sp, #8
mov w1, #35
bl _strchr
str x0, [sp]
cbz x0, LBB0_12
; %bb.18:
add x8, x0, #1
str x8, [sp]
add x0, sp, #8
bl _strlen
add x8, x22, w0, sxtw
ldurb w8, [x8, #-1]
cmp w8, #10
b.ne LBB0_20
; %bb.19:
add x22, sp, #8
add x0, sp, #8
bl _strlen
add x8, x22, w0, sxtw
sturb wzr, [x8, #-1]
LBB0_20:
ldr x8, [x20]
ldr x1, [sp]
mov x0, x20
blr x8
str x0, [x19]
cbz x0, LBB0_12
; %bb.21:
ldrb w8, [x0]
cmp w8, #0
csetm w19, eq
b LBB0_13
LBB0_22:
mov w19, #-1
b LBB0_14
LBB0_23:
bl ___stack_chk_fail
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm __PATH_CELLSERVDB,4,2 ; @_PATH_CELLSERVDB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
.comm __PATH_ARLA_CELLSERVDB,4,2 ; @_PATH_ARLA_CELLSERVDB
.comm __PATH_OPENAFS_DEBIAN_CELLSERVDB,4,2 ; @_PATH_OPENAFS_DEBIAN_CELLSERVDB
.comm __PATH_OPENAFS_MACOSX_CELLSERVDB,4,2 ; @_PATH_OPENAFS_MACOSX_CELLSERVDB
.comm __PATH_ARLA_DEBIAN_CELLSERVDB,4,2 ; @_PATH_ARLA_DEBIAN_CELLSERVDB
l_.str.1: ; @.str.1
.asciz " \t\n#"
.no_dead_strip _file_find_cell
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/kafs/extr_common.c_file_find_cell.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
leaq L_.str(%rip), %rbx
movl $1, %edx
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _printf
movl $1, %edx
movq %rbx, %rdi
movl $1, %esi
xorl %eax, %eax
callq _printf
movl $2, %edx
movq %rbx, %rdi
movl $2, %esi
xorl %eax, %eax
callq _printf
movl $6, %edx
movq %rbx, %rdi
movl $3, %esi
xorl %eax, %eax
callq _printf
movl $24, %edx
movq %rbx, %rdi
movl $4, %esi
xorl %eax, %eax
callq _printf
movl $120, %edx
movq %rbx, %rdi
movl $5, %esi
xorl %eax, %eax
callq _printf
movl $720, %edx ## imm = 0x2D0
movq %rbx, %rdi
movl $6, %esi
xorl %eax, %eax
callq _printf
movl $5040, %edx ## imm = 0x13B0
movq %rbx, %rdi
movl $7, %esi
xorl %eax, %eax
callq _printf
movl $40320, %edx ## imm = 0x9D80
movq %rbx, %rdi
movl $8, %esi
xorl %eax, %eax
callq _printf
movl $362880, %edx ## imm = 0x58980
movq %rbx, %rdi
movl $9, %esi
xorl %eax, %eax
callq _printf
movl $3628800, %edx ## imm = 0x375F00
movq %rbx, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _factorial ## -- Begin function factorial
.p2align 4, 0x90
_factorial: ## @factorial
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
cmpq $2, %rdi
jb LBB1_8
## %bb.1:
leaq -1(%rdi), %r8
leaq -2(%rdi), %rax
movl %r8d, %r9d
andl $7, %r9d
cmpq $7, %rax
jae LBB1_3
## %bb.2:
movl $1, %eax
testq %r9, %r9
jne LBB1_7
jmp LBB1_8
LBB1_3:
andq $-8, %r8
negq %r8
movl $1, %eax
xorl %esi, %esi
.p2align 4, 0x90
LBB1_4: ## =>This Inner Loop Header: Depth=1
leaq (%rdi,%rsi), %rdx
imulq %rax, %rdx
leaq (%rdi,%rsi), %rax
decq %rax
leaq (%rdi,%rsi), %rcx
addq $-2, %rcx
imulq %rax, %rcx
imulq %rdx, %rcx
leaq (%rdi,%rsi), %rdx
addq $-3, %rdx
leaq (%rdi,%rsi), %rax
addq $-4, %rax
imulq %rdx, %rax
leaq (%rdi,%rsi), %rdx
addq $-5, %rdx
imulq %rax, %rdx
imulq %rcx, %rdx
leaq (%rdi,%rsi), %rcx
addq $-6, %rcx
leaq (%rdi,%rsi), %rax
addq $-7, %rax
imulq %rcx, %rax
imulq %rdx, %rax
addq $-8, %rsi
cmpq %rsi, %r8
jne LBB1_4
## %bb.5:
addq %rsi, %rdi
testq %r9, %r9
je LBB1_8
.p2align 4, 0x90
LBB1_7: ## =>This Inner Loop Header: Depth=1
imulq %rdi, %rax
decq %rdi
decq %r9
jne LBB1_7
LBB1_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%2d! %lu\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov w20, #1
stp xzr, x20, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
stp x20, x20, [sp]
mov x0, x19
bl _printf
mov w8, #2
stp x8, x8, [sp]
mov x0, x19
bl _printf
mov w20, #6
mov w8, #3
stp x8, x20, [sp]
mov x0, x19
bl _printf
mov w8, #24
mov w9, #4
stp x9, x8, [sp]
mov x0, x19
bl _printf
mov w8, #120
mov w9, #5
stp x9, x8, [sp]
mov x0, x19
bl _printf
mov w8, #720
stp x20, x8, [sp]
mov x0, x19
bl _printf
mov w8, #5040
mov w9, #7
stp x9, x8, [sp]
mov x0, x19
bl _printf
mov w8, #40320
mov w9, #8
stp x9, x8, [sp]
mov x0, x19
bl _printf
mov w8, #35200
movk w8, #5, lsl #16
mov w9, #9
stp x9, x8, [sp]
mov x0, x19
bl _printf
mov w8, #24320
movk w8, #55, lsl #16
mov w9, #10
stp x9, x8, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _factorial ; -- Begin function factorial
.p2align 2
_factorial: ; @factorial
.cfi_startproc
; %bb.0:
cmp x0, #2
b.hs LBB1_2
; %bb.1:
mov w8, #1
mov x0, x8
ret
LBB1_2:
sub x10, x0, #1
cmp x10, #4
b.hs LBB1_4
; %bb.3:
mov w8, #1
mov x9, x0
b LBB1_7
LBB1_4:
and x11, x10, #0xfffffffffffffffc
sub x9, x0, x11
mov w8, #1
mov x12, x11
mov w13, #1
mov w14, #1
mov w15, #1
LBB1_5: ; =>This Inner Loop Header: Depth=1
sub x16, x0, #1
sub x17, x0, #2
sub x1, x0, #3
mul x8, x0, x8
mul x13, x16, x13
mul x14, x17, x14
sub x0, x0, #4
mul x15, x1, x15
sub x12, x12, #4
cbnz x12, LBB1_5
; %bb.6:
mul x8, x13, x8
mul x8, x14, x8
mul x8, x15, x8
cmp x10, x11
b.eq LBB1_8
LBB1_7: ; =>This Inner Loop Header: Depth=1
mul x8, x9, x8
sub x10, x9, #1
mov x9, x10
cmp x10, #1
b.hi LBB1_7
LBB1_8:
mov x0, x8
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%2d! %lu\n"
.subsections_via_symbols
| the_stack_data/104828650.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mt2050_init
_mt2050_init: ## @mt2050_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 8(%rdi), %rbx
movw $4102, -26(%rbp) ## imm = 0x1006
leaq -26(%rbp), %r15
movq %rbx, %rdi
movq %r15, %rsi
movl $2, %edx
callq _tuner_i2c_xfer_send
movw $3855, -26(%rbp) ## imm = 0xF0F
movq %rbx, %rdi
movq %r15, %rsi
movl $2, %edx
callq _tuner_i2c_xfer_send
movb $13, -26(%rbp)
movq %rbx, %rdi
movq %r15, %rsi
movl $1, %edx
callq _tuner_i2c_xfer_send
movq %rbx, %rdi
movq %r15, %rsi
movl $1, %edx
callq _tuner_i2c_xfer_recv
movzbl -26(%rbp), %esi
leaq L_.str(%rip), %rdi
callq _tuner_dbg
movq _mt2050_tuner_ops@GOTPCREL(%rip), %rsi
movq %r14, %rdi
movl $4, %edx
callq _memcpy
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: ## @.str
.asciz "mt2050: sro is %x\n"
.comm _mt2050_tuner_ops,4,2 ## @mt2050_tuner_ops
.no_dead_strip _mt2050_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mt2050_init
_mt2050_init: ; @mt2050_init
.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
ldr x20, [x0, #8]
mov w8, #4102
strh w8, [sp, #14]
add x1, sp, #14
mov x0, x20
mov w2, #2
bl _tuner_i2c_xfer_send
mov w8, #3855
strh w8, [sp, #14]
add x1, sp, #14
mov x0, x20
mov w2, #2
bl _tuner_i2c_xfer_send
mov w8, #13
strb w8, [sp, #14]
add x1, sp, #14
mov x0, x20
mov w2, #1
bl _tuner_i2c_xfer_send
add x1, sp, #14
mov x0, x20
mov w2, #1
bl _tuner_i2c_xfer_recv
ldrb w1, [sp, #14]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _tuner_dbg
Lloh2:
adrp x1, _mt2050_tuner_ops@GOTPAGE
Lloh3:
ldr x1, [x1, _mt2050_tuner_ops@GOTPAGEOFF]
mov x0, x19
mov w2, #4
bl _memcpy
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 AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mt2050: sro is %x\n"
.comm _mt2050_tuner_ops,4,2 ; @mt2050_tuner_ops
.no_dead_strip _mt2050_init
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/common/tuners/extr_mt20xx.c_mt2050_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _image_create ## -- Begin function image_create
.p2align 4, 0x90
_image_create: ## @image_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movslq %edi, %rbx
movslq %esi, %r14
movq %rbx, %rax
imulq %r14, %rax
leaq (%rax,%rax,2), %rsi
addq $8, %rsi
movl $1, %edi
callq _calloc
movl %ebx, (%rax)
movl %r14d, 4(%rax)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _image_load ## -- Begin function image_load
.p2align 4, 0x90
_image_load: ## @image_load
.cfi_startproc
## %bb.0:
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 L_.str(%rip), %rsi
xorl %ebx, %ebx
leaq -44(%rbp), %rdx
leaq -40(%rbp), %rcx
leaq -33(%rbp), %r8
xorl %eax, %eax
callq _fscanf
cmpl $3, %eax
jne LBB1_3
## %bb.1:
cmpb $10, -33(%rbp)
jne LBB1_3
## %bb.2:
movslq -44(%rbp), %r15
movslq -40(%rbp), %r12
movq %r15, %rax
imulq %r12, %rax
leaq (%rax,%rax,2), %rsi
addq $8, %rsi
movl $1, %edi
callq _calloc
movq %rax, %rbx
movl %r15d, (%rax)
movl %r12d, 4(%rax)
leaq 8(%rax), %rdi
leaq (%r12,%r12,2), %rsi
movq %r15, %rdx
movq %r14, %rcx
callq _fread
LBB1_3:
movq %rbx, %rax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _image_set ## -- Begin function image_set
.p2align 4, 0x90
_image_set: ## @image_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
movslq (%rdi), %rax
movslq %edx, %rdx
imulq %rax, %rdx
leaq (%rdx,%rdx,2), %rax
leal (%rsi,%rsi,2), %edx
movslq %edx, %rdx
addq %rax, %rdx
movq %rcx, %rax
shrq $16, %rax
movb %al, 8(%rdi,%rdx)
movb %ch, 9(%rdi,%rdx)
movb %cl, 10(%rdi,%rdx)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _image_get ## -- Begin function image_get
.p2align 4, 0x90
_image_get: ## @image_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
movslq (%rdi), %rax
movslq %edx, %rcx
imulq %rax, %rcx
leaq (%rcx,%rcx,2), %rax
leal (%rsi,%rsi,2), %ecx
movslq %ecx, %rcx
addq %rax, %rcx
movzbl 8(%rdi,%rcx), %edx
movzbl 9(%rdi,%rcx), %eax
movzbl 10(%rdi,%rcx), %ecx
shlq $16, %rdx
shlq $8, %rax
orq %rdx, %rax
orq %rcx, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _image_rect ## -- Begin function image_rect
.p2align 4, 0x90
_image_rect: ## @image_rect
.cfi_startproc
## %bb.0:
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
movl %r8d, %eax
subl %edx, %eax
jne LBB4_1
LBB4_6:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB4_1:
cmovll %r8d, %edx
movl %ecx, %ebx
subl %esi, %ebx
movl %esi, %r14d
cmovll %ecx, %r14d
movl %eax, %r10d
negl %r10d
cmovsl %eax, %r10d
movl %ebx, %r8d
negl %r8d
cmovsl %ebx, %r8d
movq %r9, %r11
shrq $16, %r11
movq %r9, %r12
shrq $8, %r12
movslq %r14d, %rax
cmpl $2, %r8d
movl $1, %ebx
cmovbl %ebx, %r8d
movslq %edx, %rdx
cmpl $2, %r10d
cmovbl %ebx, %r10d
leaq (%rdx,%rdx,2), %r13
leaq (%rax,%rax,2), %rax
leaq (%rdi,%rax), %r14
addq $10, %r14
xorl %r15d, %r15d
jmp LBB4_2
.p2align 4, 0x90
LBB4_5: ## in Loop: Header=BB4_2 Depth=1
incq %r15
addq $3, %r13
cmpq %r10, %r15
je LBB4_6
LBB4_2: ## =>This Loop Header: Depth=1
## Child Loop BB4_4 Depth 2
cmpl %esi, %ecx
je LBB4_5
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
movq %r8, %rbx
movq %r14, %rax
.p2align 4, 0x90
LBB4_4: ## Parent Loop BB4_2 Depth=1
## => This Inner Loop Header: Depth=2
movslq (%rdi), %rdx
imulq %r13, %rdx
movb %r11b, -2(%rax,%rdx)
movb %r12b, -1(%rax,%rdx)
movb %r9b, (%rax,%rdx)
addq $3, %rax
decq %rbx
jne LBB4_4
jmp LBB4_5
.cfi_endproc
## -- End function
.globl _image_write ## -- Begin function image_write
.p2align 4, 0x90
_image_write: ## @image_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %edx
movl 4(%rdi), %ecx
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r14, %rcx
callq _fwrite
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _fflush ## TAILCALL
.cfi_endproc
## -- End function
.globl _gapbuf_init ## -- Begin function gapbuf_init
.p2align 4, 0x90
_gapbuf_init: ## @gapbuf_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq %rsi, 24(%rdi)
movq %rsi, 8(%rdi)
movq $0, 16(%rdi)
movq %rsi, %rdi
callq _malloc
movq %rax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_destroy ## -- Begin function gapbuf_destroy
.p2align 4, 0x90
_gapbuf_destroy: ## @gapbuf_destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _free
movq $0, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function gapbuf_insert
LCPI8_0:
.quad 1 ## 0x1
.quad -1 ## 0xffffffffffffffff
.section __TEXT,__text,regular,pure_instructions
.globl _gapbuf_insert
.p2align 4, 0x90
_gapbuf_insert: ## @gapbuf_insert
.cfi_startproc
## %bb.0:
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, %rbx
cmpq $0, 24(%rdi)
jne LBB8_2
## %bb.1:
movq 8(%rbx), %rsi
movq %rsi, %r15
subq 16(%rbx), %r15
movq (%rbx), %rdi
movq %rsi, 24(%rbx)
addq %rsi, %rsi
movq %rsi, 8(%rbx)
callq _realloc
movq %rax, (%rbx)
addq 16(%rbx), %rax
movq 24(%rbx), %rdi
addq %rax, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq _memmove
LBB8_2:
movq (%rbx), %rax
movq 16(%rbx), %rcx
movb %r14b, (%rax,%rcx)
movdqu 16(%rbx), %xmm0
paddq LCPI8_0(%rip), %xmm0
movdqu %xmm0, 16(%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_inserts ## -- Begin function gapbuf_inserts
.p2align 4, 0x90
_gapbuf_inserts: ## @gapbuf_inserts
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r13
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rsi, %rdi
callq _strlen
movq %rax, %rbx
cmpq %rax, 24(%r13)
jae LBB9_1
## %bb.2:
movq 16(%r13), %rdi
movq %rbx, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB9_3: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movq 8(%r13), %rsi
movq %rsi, %r12
subq %rdi, %r12
movq %rsi, 24(%r13)
addq %rsi, %rsi
movq %rsi, 8(%r13)
movq %rax, %rdi
callq _realloc
movq %rax, %rbx
movq %rax, (%r13)
movq 16(%r13), %r14
movq 24(%r13), %r15
leaq (%rax,%r14), %rsi
leaq (%rsi,%r15), %rdi
movq %r12, %rdx
callq _memmove
movb $0, (%rbx,%r14)
movq -56(%rbp), %rbx ## 8-byte Reload
movq 16(%r13), %rdi
decq %r15
movq %r15, 24(%r13)
cmpq %rbx, %r15
jb LBB9_3
jmp LBB9_4
LBB9_1:
movq 16(%r13), %rdi
LBB9_4:
addq (%r13), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movq %rbx, %rdx
callq _memcpy
addq %rbx, 16(%r13)
subq %rbx, 24(%r13)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_move ## -- Begin function gapbuf_move
.p2align 4, 0x90
_gapbuf_move: ## @gapbuf_move
.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
testq %rsi, %rsi
js LBB10_1
## %bb.2:
movq 8(%rdi), %r8
movq 16(%rdi), %rax
movq 24(%rdi), %rsi
subq %rax, %r8
subq %rsi, %r8
cmpq %rdx, %r8
cmovbq %r8, %rdx
leaq (%rdx,%rax), %rcx
addq (%rdi), %rax
addq %rax, %rsi
jmp LBB10_3
LBB10_1:
negq %rdx
movq 16(%rdi), %rcx
cmpq %rdx, %rcx
cmovbq %rcx, %rdx
movq (%rdi), %rsi
addq %rcx, %rsi
movq 24(%rdi), %rax
addq %rsi, %rax
subq %rdx, %rax
subq %rdx, %rsi
subq %rdx, %rcx
LBB10_3:
movq %rcx, 16(%rdi)
movq %rax, %rdi
popq %rbp
jmp _memmove ## TAILCALL
.cfi_endproc
## -- End function
.globl _gapbuf_backward ## -- Begin function gapbuf_backward
.p2align 4, 0x90
_gapbuf_backward: ## @gapbuf_backward
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 16(%rdi), %rax
testq %rax, %rax
je LBB11_2
## %bb.1:
movq (%rdi), %rcx
movb -1(%rcx,%rax), %dl
decq %rax
addq 24(%rdi), %rax
movb %dl, (%rcx,%rax)
decq 16(%rdi)
LBB11_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_forward ## -- Begin function gapbuf_forward
.p2align 4, 0x90
_gapbuf_forward: ## @gapbuf_forward
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rdx
movq 16(%rdi), %rax
subq %rax, %rdx
movq 24(%rdi), %rcx
addq %rcx, %rdx
je LBB12_2
## %bb.1:
movq (%rdi), %rdx
addq %rax, %rcx
movb (%rdx,%rcx), %cl
movb %cl, (%rdx,%rax)
incq 16(%rdi)
LBB12_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_delete ## -- Begin function gapbuf_delete
.p2align 4, 0x90
_gapbuf_delete: ## @gapbuf_delete
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 24(%rdi), %rax
movq 16(%rdi), %rcx
addq %rax, %rcx
cmpq %rcx, 8(%rdi)
jbe LBB13_2
## %bb.1:
incq %rax
movq %rax, 24(%rdi)
LBB13_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_backspace ## -- Begin function gapbuf_backspace
.p2align 4, 0x90
_gapbuf_backspace: ## @gapbuf_backspace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 16(%rdi), %rax
testq %rax, %rax
je LBB14_2
## %bb.1:
decq %rax
movq %rax, 16(%rdi)
incq 24(%rdi)
LBB14_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _gapbuf_write ## -- Begin function gapbuf_write
.p2align 4, 0x90
_gapbuf_write: ## @gapbuf_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
movq 16(%rbx), %rdx
movl $1, %esi
movq %r14, %rcx
callq _fwrite
movq 8(%rbx), %rdx
movq 16(%rbx), %rax
movq (%rbx), %rdi
addq %rax, %rdi
movq 24(%rbx), %rcx
addq %rcx, %rdi
addq %rax, %rcx
subq %rcx, %rdx
movl $1, %esi
movq %r14, %rcx
popq %rbx
popq %r14
popq %rbp
jmp _fwrite ## TAILCALL
.cfi_endproc
## -- End function
.globl _gapbuf_draw ## -- Begin function gapbuf_draw
.p2align 4, 0x90
_gapbuf_draw: ## @gapbuf_draw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -88(%rbp) ## 8-byte Spill
movq %rdi, %r12
movq 8(%rdi), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl %eax, %r14d
shll $4, %r14d
movslq %r14d, %r15
movq %r15, %rax
shlq $4, %rax
leaq (%rax,%rax,8), %rsi
orq $8, %rsi
movl $1, %edi
callq _calloc
movq %rax, %rbx
movl %r15d, (%rax)
movq %rax, -56(%rbp) ## 8-byte Spill
movl $48, 4(%rax)
movl %r15d, %eax
sarl $31, %eax
andl %r14d, %eax
negl %r15d
cmovsl %r14d, %r15d
movslq %eax, %r8
cmpl $2, %r15d
movl $1, %ecx
cmovael %r15d, %ecx
xorl %edx, %edx
jmp LBB16_1
.p2align 4, 0x90
LBB16_2: ## in Loop: Header=BB16_1 Depth=1
incq %rdx
cmpq $48, %rdx
je LBB16_3
LBB16_1: ## =>This Loop Header: Depth=1
## Child Loop BB16_20 Depth 2
movq %r8, %rsi
movq %rcx, %rdi
testl %r14d, %r14d
je LBB16_2
.p2align 4, 0x90
LBB16_20: ## Parent Loop BB16_1 Depth=1
## => This Inner Loop Header: Depth=2
movslq (%rbx), %rax
imulq %rdx, %rax
addq %rsi, %rax
leaq (%rax,%rax,2), %rax
movb $-1, 8(%rbx,%rax)
movw $-1, 9(%rbx,%rax)
incq %rsi
decq %rdi
jne LBB16_20
jmp LBB16_2
LBB16_3:
movq %r12, -48(%rbp) ## 8-byte Spill
movq 16(%r12), %rcx
movq %rcx, %rax
movq %rcx, -80(%rbp) ## 8-byte Spill
testq %rcx, %rcx
je LBB16_10
## %bb.4:
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -56(%rbp), %rax ## 8-byte Reload
leaq 10(%rax), %r15
movl $14, %r12d
movl $2, %r14d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB16_5: ## =>This Loop Header: Depth=1
## Child Loop BB16_6 Depth 2
## Child Loop BB16_7 Depth 3
cmpl %r14d, %r12d
movl %r14d, %eax
cmovll %r12d, %eax
cltq
leaq (%rax,%rax,2), %r8
addq %r15, %r8
movl $102, %ecx
xorl %edx, %edx
.p2align 4, 0x90
LBB16_6: ## Parent Loop BB16_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_7 Depth 3
movl $12, %esi
movq %r8, %rdi
.p2align 4, 0x90
LBB16_7: ## Parent Loop BB16_5 Depth=1
## Parent Loop BB16_6 Depth=2
## => This Inner Loop Header: Depth=3
movslq (%rbx), %rax
imulq %rcx, %rax
movw $32639, -2(%rdi,%rax) ## imm = 0x7F7F
movb $127, (%rdi,%rax)
addq $3, %rdi
decq %rsi
jne LBB16_7
## %bb.8: ## in Loop: Header=BB16_6 Depth=2
incq %rdx
addq $3, %rcx
cmpq $12, %rdx
jne LBB16_6
## %bb.9: ## in Loop: Header=BB16_5 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movsbl (%rax,%r13), %edx
movq %rbx, %rdi
movl %r13d, %esi
movq -88(%rbp), %rcx ## 8-byte Reload
xorl %r8d, %r8d
callq _draw_char
incq %r13
addl $16, %r12d
addl $16, %r14d
cmpq -80(%rbp), %r13 ## 8-byte Folded Reload
jne LBB16_5
LBB16_10:
movq -48(%rbp), %rcx ## 8-byte Reload
movq 24(%rcx), %rsi
movq -80(%rbp), %rax ## 8-byte Reload
movq %rsi, %rdx
movq %rsi, -72(%rbp) ## 8-byte Spill
leaq (%rsi,%rax), %r15
cmpq -64(%rbp), %r15 ## 8-byte Folded Reload
jae LBB16_17
## %bb.11:
movq (%rcx), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
addq $10, -56(%rbp) ## 8-byte Folded Spill
movl %r15d, %r13d
shll $4, %r13d
leal 14(%r13), %r12d
orl $2, %r13d
movq %r15, %r14
.p2align 4, 0x90
LBB16_12: ## =>This Loop Header: Depth=1
## Child Loop BB16_13 Depth 2
## Child Loop BB16_14 Depth 3
cmpl %r13d, %r12d
movl %r13d, %eax
cmovll %r12d, %eax
cltq
leaq (%rax,%rax,2), %r8
addq -56(%rbp), %r8 ## 8-byte Folded Reload
movl $102, %ecx
xorl %edx, %edx
.p2align 4, 0x90
LBB16_13: ## Parent Loop BB16_12 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB16_14 Depth 3
movl $12, %esi
movq %r8, %rdi
.p2align 4, 0x90
LBB16_14: ## Parent Loop BB16_12 Depth=1
## Parent Loop BB16_13 Depth=2
## => This Inner Loop Header: Depth=3
movslq (%rbx), %rax
imulq %rcx, %rax
movw $32639, -2(%rdi,%rax) ## imm = 0x7F7F
movb $127, (%rdi,%rax)
addq $3, %rdi
decq %rsi
jne LBB16_14
## %bb.15: ## in Loop: Header=BB16_13 Depth=2
incq %rdx
addq $3, %rcx
cmpq $12, %rdx
jne LBB16_13
## %bb.16: ## in Loop: Header=BB16_12 Depth=1
movl %r14d, %esi
subl -72(%rbp), %esi ## 4-byte Folded Reload
movq -48(%rbp), %rax ## 8-byte Reload
movsbl (%rax,%r14), %edx
xorl %r8d, %r8d
cmpq %r15, %r14
sete %r8b
movq %rbx, %rdi
movq -88(%rbp), %rcx ## 8-byte Reload
callq _draw_char
incq %r14
addl $16, %r12d
addl $16, %r13d
cmpq -64(%rbp), %r14 ## 8-byte Folded Reload
jb LBB16_12
LBB16_17:
cmpq %r15, -64(%rbp) ## 8-byte Folded Reload
jne LBB16_19
## %bb.18:
movq %rbx, %rdi
movq -80(%rbp), %rsi ## 8-byte Reload
## kill: def $esi killed $esi killed $rsi
xorl %edx, %edx
movq -88(%rbp), %rcx ## 8-byte Reload
movl $1, %r8d
callq _draw_char
LBB16_19:
movq %rbx, %rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function draw_char
LCPI17_0:
.long 0x3d000000 ## float 0.03125
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_draw_char: ## @draw_char
.cfi_startproc
## %bb.0:
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
## kill: def $edx killed $edx def $rdx
leal -127(%rdx), %eax
cmpl $-95, %eax
movl $32, %r10d
cmovael %edx, %r10d
movl %r10d, %r9d
andl $15, %r9d
shrl $4, %r10d
addl $-2, %r10d
movl (%rcx), %eax
leal 15(%rax), %edx
testl %eax, %eax
cmovnsl %eax, %edx
sarl $4, %edx
movslq 4(%rcx), %rax
imulq $715827883, %rax, %rbx ## imm = 0x2AAAAAAB
movq %rbx, %rax
shrq $63, %rax
shrq $32, %rbx
addl %eax, %ebx
imull %edx, %r9d
cvtsi2ss %edx, %xmm0
movl %edx, %eax
shll $5, %eax
cltd
cvtsi2ss %r9d, %xmm1
idivl %ebx
## kill: def $eax killed $eax def $rax
cvtsi2ss %eax, %xmm2
imull %ebx, %r10d
cvtsi2ss %r10d, %xmm3
cvtsi2ss %ebx, %xmm4
movq %rdi, %r13
imull %eax, %esi
xorl %r11d, %r11d
negl %r8d
movl $0, %r8d
sbbq %r8, %r8
movslq %esi, %rdx
leaq (%rdx,%rdx,2), %rdx
leaq (%rdi,%rdx), %r9
addq $10, %r9
movss LCPI17_0(%rip), %xmm5 ## xmm5 = mem[0],zero,zero,zero
xorl %r10d, %r10d
jmp LBB17_1
.p2align 4, 0x90
LBB17_4: ## in Loop: Header=BB17_1 Depth=1
incq %r10
addq $3, %r11
cmpq $32, %r10
je LBB17_5
LBB17_1: ## =>This Loop Header: Depth=1
## Child Loop BB17_3 Depth 2
testl %eax, %eax
jle LBB17_4
## %bb.2: ## in Loop: Header=BB17_1 Depth=1
xorps %xmm6, %xmm6
cvtsi2ss %r10d, %xmm6
mulss %xmm4, %xmm6
mulss %xmm5, %xmm6
addss %xmm3, %xmm6
cvttss2si %xmm6, %edx
movslq %edx, %rdx
leaq (%rdx,%rdx,2), %r14
movq %r9, %rdi
xorl %r12d, %r12d
.p2align 4, 0x90
LBB17_3: ## Parent Loop BB17_1 Depth=1
## => This Inner Loop Header: Depth=2
xorps %xmm6, %xmm6
cvtsi2ss %r12d, %xmm6
mulss %xmm0, %xmm6
divss %xmm2, %xmm6
addss %xmm1, %xmm6
cvttss2si %xmm6, %r15d
movslq (%rcx), %rdx
imulq %r14, %rdx
leal (%r15,%r15,2), %esi
movslq %esi, %rsi
addq %rdx, %rsi
movzbl 8(%rcx,%rsi), %ebx
movzbl 9(%rcx,%rsi), %edx
movzbl 10(%rcx,%rsi), %esi
shlq $16, %rbx
shlq $8, %rdx
orq %rbx, %rdx
orq %rsi, %rdx
movslq (%r13), %rsi
xorq %r8, %rdx
movq %rdx, %rbx
shrq $16, %rbx
imulq %r11, %rsi
movb %bl, -2(%rdi,%rsi)
movb %dh, -1(%rdi,%rsi)
movb %dl, (%rdi,%rsi)
incq %r12
addq $3, %rdi
cmpq %r12, %rax
jne LBB17_3
jmp LBB17_4
LBB17_5:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function animate
LCPI18_0:
.quad 1 ## 0x1
.quad -1 ## 0xffffffffffffffff
.section __TEXT,__text,regular,pure_instructions
.globl _animate
.p2align 4, 0x90
_animate: ## @animate
.cfi_startproc
## %bb.0:
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 %rdx, %r12
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rsi, -56(%rbp)
movq %rsi, -72(%rbp)
movq $0, -64(%rbp)
movq %rsi, %rdi
callq _malloc
movq %rax, -80(%rbp)
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq %rax, %r13
leaq L_.str(%rip), %rsi
xorl %eax, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
leaq -104(%rbp), %rdx
leaq -100(%rbp), %rcx
leaq -81(%rbp), %r8
movq %r13, %rdi
xorl %eax, %eax
callq _fscanf
cmpl $3, %eax
jne LBB18_3
## %bb.1:
cmpb $10, -81(%rbp)
jne LBB18_3
## %bb.2:
movslq -104(%rbp), %r14
movslq -100(%rbp), %rbx
movq %r14, %rax
imulq %rbx, %rax
leaq (%rax,%rax,2), %rsi
addq $8, %rsi
movl $1, %edi
callq _calloc
movl %r14d, (%rax)
movl %ebx, 4(%rax)
movq %rax, -96(%rbp) ## 8-byte Spill
leaq 8(%rax), %rdi
leaq (%rbx,%rbx,2), %rsi
movq %r14, %rdx
movq %r13, %rcx
callq _fread
LBB18_3:
movq %r13, %rdi
callq _fclose
movq -96(%rbp), %r13 ## 8-byte Reload
movq %r12, -112(%rbp) ## 8-byte Spill
jmp LBB18_4
.p2align 4, 0x90
LBB18_36: ## in Loop: Header=BB18_4 Depth=1
addq $16, %r15
LBB18_4: ## =>This Loop Header: Depth=1
## Child Loop BB18_43 Depth 2
## Child Loop BB18_38 Depth 2
## Child Loop BB18_29 Depth 2
## Child Loop BB18_33 Depth 2
## Child Loop BB18_14 Depth 2
## Child Loop BB18_9 Depth 2
## Child Loop BB18_7 Depth 2
movl (%r15), %eax
cmpq $10, %rax
ja LBB18_36
## %bb.5: ## in Loop: Header=BB18_4 Depth=1
leaq LJTI18_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB18_6: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %r14d
testl %r14d, %r14d
je LBB18_36
.p2align 4, 0x90
LBB18_7: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
decl %r14d
jne LBB18_7
jmp LBB18_36
LBB18_13: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %r14d
jmp LBB18_14
.p2align 4, 0x90
LBB18_17: ## in Loop: Header=BB18_14 Depth=2
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
LBB18_14: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
testl %r14d, %r14d
je LBB18_36
## %bb.15: ## in Loop: Header=BB18_14 Depth=2
decl %r14d
movq -64(%rbp), %rax
testq %rax, %rax
je LBB18_17
## %bb.16: ## in Loop: Header=BB18_14 Depth=2
movq -80(%rbp), %rcx
movzbl -1(%rcx,%rax), %edx
decq %rax
addq -56(%rbp), %rax
movb %dl, (%rcx,%rax)
decq -64(%rbp)
jmp LBB18_17
LBB18_18: ## in Loop: Header=BB18_4 Depth=1
movslq 8(%r15), %rdx
testq %rdx, %rdx
js LBB18_19
## %bb.20: ## in Loop: Header=BB18_4 Depth=1
movq -72(%rbp), %rax
movq -64(%rbp), %rdi
movq -56(%rbp), %rsi
subq %rdi, %rax
subq %rsi, %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
leaq (%rdx,%rdi), %rax
addq -80(%rbp), %rdi
addq %rdi, %rsi
jmp LBB18_21
LBB18_42: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %r14d
jmp LBB18_43
.p2align 4, 0x90
LBB18_46: ## in Loop: Header=BB18_43 Depth=2
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
LBB18_43: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
testl %r14d, %r14d
je LBB18_36
## %bb.44: ## in Loop: Header=BB18_43 Depth=2
decl %r14d
movq -64(%rbp), %rax
testq %rax, %rax
je LBB18_46
## %bb.45: ## in Loop: Header=BB18_43 Depth=2
decq %rax
movq %rax, -64(%rbp)
incq -56(%rbp)
jmp LBB18_46
LBB18_8: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %r14d
jmp LBB18_9
.p2align 4, 0x90
LBB18_12: ## in Loop: Header=BB18_9 Depth=2
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
LBB18_9: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
testl %r14d, %r14d
je LBB18_36
## %bb.10: ## in Loop: Header=BB18_9 Depth=2
decl %r14d
movq -72(%rbp), %rdx
movq -64(%rbp), %rax
subq %rax, %rdx
movq -56(%rbp), %rcx
addq %rcx, %rdx
je LBB18_12
## %bb.11: ## in Loop: Header=BB18_9 Depth=2
movq -80(%rbp), %rdx
addq %rax, %rcx
movzbl (%rdx,%rcx), %ecx
movb %cl, (%rdx,%rax)
incq -64(%rbp)
jmp LBB18_12
LBB18_22: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %ebx
cmpq $0, -56(%rbp)
jne LBB18_24
## %bb.23: ## in Loop: Header=BB18_4 Depth=1
movq -72(%rbp), %rsi
movq %rsi, %r14
subq -64(%rbp), %r14
movq -80(%rbp), %rdi
movq %rsi, -56(%rbp)
addq %rsi, %rsi
movq %rsi, -72(%rbp)
callq _realloc
movq %rax, -80(%rbp)
addq -64(%rbp), %rax
movq -56(%rbp), %rdi
addq %rax, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq _memmove
LBB18_24: ## in Loop: Header=BB18_4 Depth=1
movq -80(%rbp), %rax
movq -64(%rbp), %rcx
movb %bl, (%rax,%rcx)
movdqa -64(%rbp), %xmm0
paddq LCPI18_0(%rip), %xmm0
movdqa %xmm0, -64(%rbp)
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
addq $16, %r15
jmp LBB18_4
LBB18_25: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %ebx
cmpq $0, -56(%rbp)
jne LBB18_27
## %bb.26: ## in Loop: Header=BB18_4 Depth=1
movq -72(%rbp), %rsi
movq %rsi, %r14
subq -64(%rbp), %r14
movq -80(%rbp), %rdi
movq %rsi, -56(%rbp)
addq %rsi, %rsi
movq %rsi, -72(%rbp)
callq _realloc
movq %rax, -80(%rbp)
addq -64(%rbp), %rax
movq -56(%rbp), %rdi
addq %rax, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq _memmove
LBB18_27: ## in Loop: Header=BB18_4 Depth=1
movq -80(%rbp), %rax
movq -64(%rbp), %rcx
movb %bl, (%rax,%rcx)
movdqa -64(%rbp), %xmm0
paddq LCPI18_0(%rip), %xmm0
movdqa %xmm0, -64(%rbp)
addq $16, %r15
jmp LBB18_4
LBB18_31: ## in Loop: Header=BB18_4 Depth=1
movq 8(%r15), %r14
movb (%r14), %bl
testb %bl, %bl
je LBB18_36
## %bb.32: ## in Loop: Header=BB18_4 Depth=1
incq %r14
jmp LBB18_33
.p2align 4, 0x90
LBB18_35: ## in Loop: Header=BB18_33 Depth=2
movq -80(%rbp), %rax
movq -64(%rbp), %rcx
movb %bl, (%rax,%rcx)
movdqa -64(%rbp), %xmm0
paddq LCPI18_0(%rip), %xmm0
movdqa %xmm0, -64(%rbp)
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
movzbl (%r14), %ebx
incq %r14
testb %bl, %bl
je LBB18_36
LBB18_33: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -56(%rbp)
jne LBB18_35
## %bb.34: ## in Loop: Header=BB18_33 Depth=2
movq -72(%rbp), %rsi
movq %rsi, %r13
subq -64(%rbp), %r13
movq -80(%rbp), %rdi
movq %rsi, -56(%rbp)
addq %rsi, %rsi
movq %rsi, -72(%rbp)
callq _realloc
movq %rax, -80(%rbp)
addq -64(%rbp), %rax
movq -56(%rbp), %rdi
addq %rax, %rdi
movq %rax, %rsi
movq %r13, %rdx
movq -96(%rbp), %r13 ## 8-byte Reload
callq _memmove
jmp LBB18_35
LBB18_28: ## in Loop: Header=BB18_4 Depth=1
movq %r15, -128(%rbp) ## 8-byte Spill
movq 8(%r15), %rdi
movq %rdi, -120(%rbp) ## 8-byte Spill
callq _strlen
movq %rax, %r12
movq -64(%rbp), %rdi
cmpq %rax, -56(%rbp)
jae LBB18_30
.p2align 4, 0x90
LBB18_29: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
movq -80(%rbp), %rax
movq -72(%rbp), %rsi
movq %rsi, %rbx
subq %rdi, %rbx
movq %rsi, -56(%rbp)
addq %rsi, %rsi
movq %rsi, -72(%rbp)
movq %rax, %rdi
callq _realloc
movq %rax, %r13
movq %rax, -80(%rbp)
movq -64(%rbp), %r15
movq -56(%rbp), %r14
leaq (%rax,%r15), %rsi
leaq (%rsi,%r14), %rdi
movq %rbx, %rdx
callq _memmove
movb $0, (%r13,%r15)
movq -64(%rbp), %rdi
decq %r14
movq %r14, -56(%rbp)
cmpq %r12, %r14
jb LBB18_29
LBB18_30: ## in Loop: Header=BB18_4 Depth=1
addq -80(%rbp), %rdi
movq -120(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdx
callq _memcpy
addq %r12, -64(%rbp)
subq %r12, -56(%rbp)
movq -128(%rbp), %r15 ## 8-byte Reload
movq -96(%rbp), %r13 ## 8-byte Reload
movq -112(%rbp), %r12 ## 8-byte Reload
addq $16, %r15
jmp LBB18_4
LBB18_37: ## in Loop: Header=BB18_4 Depth=1
movl 8(%r15), %r14d
jmp LBB18_38
.p2align 4, 0x90
LBB18_41: ## in Loop: Header=BB18_38 Depth=2
leaq -80(%rbp), %rdi
movq %r13, %rsi
callq _gapbuf_draw
movq %rax, %rbx
movl (%rax), %edx
movl 4(%rax), %ecx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq 8(%rbx), %rdi
movslq 4(%rbx), %rsi
movslq (%rbx), %rax
leaq (%rax,%rax,2), %rdx
movq %r12, %rcx
callq _fwrite
movq %r12, %rdi
callq _fflush
movq %rbx, %rdi
callq _free
LBB18_38: ## Parent Loop BB18_4 Depth=1
## => This Inner Loop Header: Depth=2
testl %r14d, %r14d
je LBB18_36
## %bb.39: ## in Loop: Header=BB18_38 Depth=2
decl %r14d
movq -56(%rbp), %rax
movq -64(%rbp), %rcx
addq %rax, %rcx
cmpq %rcx, -72(%rbp)
jbe LBB18_41
## %bb.40: ## in Loop: Header=BB18_38 Depth=2
incq %rax
movq %rax, -56(%rbp)
jmp LBB18_41
LBB18_19: ## in Loop: Header=BB18_4 Depth=1
negq %rdx
movq -64(%rbp), %rax
cmpq %rdx, %rax
cmovbq %rax, %rdx
movq -80(%rbp), %rsi
addq %rax, %rsi
movq -56(%rbp), %rdi
addq %rsi, %rdi
subq %rdx, %rdi
subq %rdx, %rsi
subq %rdx, %rax
LBB18_21: ## in Loop: Header=BB18_4 Depth=1
movq %rax, -64(%rbp)
callq _memmove
addq $16, %r15
jmp LBB18_4
LBB18_47:
movq -80(%rbp), %rdi
callq _free
movq %r13, %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB18_49
## %bb.48:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB18_49:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L18_0_set_47, LBB18_47-LJTI18_0
.set L18_0_set_6, LBB18_6-LJTI18_0
.set L18_0_set_8, LBB18_8-LJTI18_0
.set L18_0_set_13, LBB18_13-LJTI18_0
.set L18_0_set_18, LBB18_18-LJTI18_0
.set L18_0_set_22, LBB18_22-LJTI18_0
.set L18_0_set_25, LBB18_25-LJTI18_0
.set L18_0_set_31, LBB18_31-LJTI18_0
.set L18_0_set_28, LBB18_28-LJTI18_0
.set L18_0_set_37, LBB18_37-LJTI18_0
.set L18_0_set_42, LBB18_42-LJTI18_0
LJTI18_0:
.long L18_0_set_47
.long L18_0_set_6
.long L18_0_set_8
.long L18_0_set_13
.long L18_0_set_18
.long L18_0_set_22
.long L18_0_set_25
.long L18_0_set_31
.long L18_0_set_28
.long L18_0_set_37
.long L18_0_set_42
.end_data_region
## -- 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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq L_.str.8(%rip), %rdi
leaq L_.str.9(%rip), %r14
movq %r14, %rsi
callq _fopen
movq %rax, %rbx
leaq _main.intro(%rip), %rdi
movl $38, %esi
movq %rax, %rdx
callq _animate
movq %rbx, %rdi
callq _fclose
leaq L_.str.11(%rip), %rdi
movq %r14, %rsi
callq _fopen
movq %rax, %rbx
leaq _main.multicursors(%rip), %rdi
movl $38, %esi
movq %rax, %rdx
callq _animate
movq %rbx, %rdi
callq _fclose
leaq L_.str.13(%rip), %rdi
movq %r14, %rsi
callq _fopen
movq %rax, %rbx
leaq _main.macros(%rip), %rdi
movl $38, %esi
movq %rax, %rdx
callq _animate
movq %rbx, %rdi
callq _fclose
leaq L_.str.14(%rip), %rdi
movq %r14, %rsi
callq _fopen
movq %rax, %rbx
leaq _main.illusion(%rip), %rdi
movl $38, %esi
movq %rax, %rdx
callq _animate
movq %rbx, %rdi
callq _fclose
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "P6 %d %d 255%c"
L_.str.1: ## @.str.1
.asciz "P6\n%d %d\n255\n"
L_.str.2: ## @.str.2
.asciz "font32.ppm"
L_.str.3: ## @.str.3
.asciz "rb"
.section __DATA,__const
.p2align 4 ## @main.intro
_main.intro:
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 3 ## 0x3
.space 4
.long 7 ## 0x7
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.5
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 3 ## 0x3
.space 4
.long 5 ## 0x5
.space 4
.long 1 ## 0x1
.space 4
.long 5 ## 0x5
.space 4
.long 10 ## 0xa
.space 4
.long 9 ## 0x9
.space 4
.long 5 ## 0x5
.space 4
.long 65 ## 0x41
.space 4
.long 2 ## 0x2
.space 4
.long 11 ## 0xb
.space 4
.long 1 ## 0x1
.space 4
.long 5 ## 0x5
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.6
.long 1 ## 0x1
.space 4
.long 5 ## 0x5
.space 4
.long 2 ## 0x2
.space 4
.long 1 ## 0x1
.space 4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 3 ## 0x3
.space 4
.long 16 ## 0x10
.space 4
.long 10 ## 0xa
.space 4
.long 24 ## 0x18
.space 4
.long 9 ## 0x9
.space 4
.long 1 ## 0x1
.space 4
.long 5 ## 0x5
.space 4
.long 67 ## 0x43
.space 4
.long 2 ## 0x2
.space 4
.long 14 ## 0xe
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.7
.long 9 ## 0x9
.space 4
.long 1 ## 0x1
.space 4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 10 ## 0xa
.space 4
.long 35 ## 0x23
.space 4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "This is a buffer."
L_.str.5: ## @.str.5
.asciz "gap "
L_.str.6: ## @.str.6
.asciz " is for clustered edits"
L_.str.7: ## @.str.7
.asciz " are most efficient!"
L_.str.8: ## @.str.8
.asciz "intro.ppm"
L_.str.9: ## @.str.9
.asciz "wb"
.section __DATA,__const
.p2align 4 ## @main.multicursors
_main.multicursors:
.long 8 ## 0x8
.space 4
.quad L_.str.10
.long 4 ## 0x4
.space 4
.long 4294967280 ## 0xfffffff0
.space 4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 5 ## 0x5
.space 4
.long 120 ## 0x78
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 7 ## 0x7
.space 4
.long 5 ## 0x5
.space 4
.long 120 ## 0x78
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 7 ## 0x7
.space 4
.long 5 ## 0x5
.space 4
.long 120 ## 0x78
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 3 ## 0x3
.space 4
.long 16 ## 0x10
.space 4
.long 5 ## 0x5
.space 4
.long 44 ## 0x2c
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 8 ## 0x8
.space 4
.long 5 ## 0x5
.space 4
.long 44 ## 0x2c
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 8 ## 0x8
.space 4
.long 5 ## 0x5
.space 4
.long 44 ## 0x2c
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 3 ## 0x3
.space 4
.long 18 ## 0x12
.space 4
.long 5 ## 0x5
.space 4
.long 32 ## 0x20
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 9 ## 0x9
.space 4
.long 5 ## 0x5
.space 4
.long 32 ## 0x20
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 9 ## 0x9
.space 4
.long 5 ## 0x5
.space 4
.long 32 ## 0x20
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 3 ## 0x3
.space 4
.long 20 ## 0x14
.space 4
.long 5 ## 0x5
.space 4
.long 121 ## 0x79
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 10 ## 0xa
.space 4
.long 5 ## 0x5
.space 4
.long 121 ## 0x79
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 10 ## 0xa
.space 4
.long 5 ## 0x5
.space 4
.long 121 ## 0x79
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 3 ## 0x3
.space 4
.long 22 ## 0x16
.space 4
.long 1 ## 0x1
.space 4
.long 20 ## 0x14
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz "foo(); bar(); baz();"
L_.str.11: ## @.str.11
.asciz "multicursors.ppm"
.section __DATA,__const
.p2align 4 ## @main.macros
_main.macros:
.long 8 ## 0x8
.space 4
.quad L_.str.10
.long 4 ## 0x4
.space 4
.long 4294967280 ## 0xfffffff0
.space 4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.12
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 7 ## 0x7
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.12
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 2 ## 0x2
.space 4
.long 7 ## 0x7
.space 4
.long 7 ## 0x7
.space 4
.quad L_.str.12
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 1 ## 0x1
.space 4
.long 20 ## 0x14
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str.12: ## @.str.12
.asciz "x, y"
L_.str.13: ## @.str.13
.asciz "macros.ppm"
.section __DATA,__const
.p2align 4 ## @main.illusion
_main.illusion:
.long 8 ## 0x8
.space 4
.quad L_.str.10
.long 4 ## 0x4
.space 4
.long 4294967280 ## 0xfffffff0
.space 4
.long 1 ## 0x1
.space 4
.long 10 ## 0xa
.space 4
.long 6 ## 0x6
.space 4
.long 120 ## 0x78
.space 4
.long 4 ## 0x4
.space 4
.long 7 ## 0x7
.space 4
.long 6 ## 0x6
.space 4
.long 120 ## 0x78
.space 4
.long 4 ## 0x4
.space 4
.long 7 ## 0x7
.space 4
.long 6 ## 0x6
.space 4
.long 120 ## 0x78
.space 4
.long 4 ## 0x4
.space 4
.long 4294967280 ## 0xfffffff0
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 6 ## 0x6
.space 4
.long 44 ## 0x2c
.space 4
.long 4 ## 0x4
.space 4
.long 8 ## 0x8
.space 4
.long 6 ## 0x6
.space 4
.long 44 ## 0x2c
.space 4
.long 4 ## 0x4
.space 4
.long 8 ## 0x8
.space 4
.long 6 ## 0x6
.space 4
.long 44 ## 0x2c
.space 4
.long 4 ## 0x4
.space 4
.long 4294967278 ## 0xffffffee
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 6 ## 0x6
.space 4
.long 32 ## 0x20
.space 4
.long 4 ## 0x4
.space 4
.long 9 ## 0x9
.space 4
.long 6 ## 0x6
.space 4
.long 32 ## 0x20
.space 4
.long 4 ## 0x4
.space 4
.long 9 ## 0x9
.space 4
.long 6 ## 0x6
.space 4
.long 32 ## 0x20
.space 4
.long 4 ## 0x4
.space 4
.long 4294967276 ## 0xffffffec
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 6 ## 0x6
.space 4
.long 121 ## 0x79
.space 4
.long 4 ## 0x4
.space 4
.long 10 ## 0xa
.space 4
.long 6 ## 0x6
.space 4
.long 121 ## 0x79
.space 4
.long 4 ## 0x4
.space 4
.long 10 ## 0xa
.space 4
.long 6 ## 0x6
.space 4
.long 121 ## 0x79
.space 4
.long 4 ## 0x4
.space 4
.long 4294967274 ## 0xffffffea
.space 4
.long 1 ## 0x1
.space 4
.long 2 ## 0x2
.space 4
.long 1 ## 0x1
.space 4
.long 20 ## 0x14
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str.14: ## @.str.14
.asciz "illusion.ppm"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _image_create ; -- Begin function image_create
.p2align 2
_image_create: ; @image_create
.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
smull x8, w0, w1
lsl x8, x8, #1
smaddl x8, w0, w1, x8
add x1, x8, #8
mov w0, #1
bl _calloc
stp w20, w19, [x0]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _image_load ; -- Begin function image_load
.p2align 2
_image_load: ; @image_load
.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
sub x8, x29, #33
str x8, [sp, #16]
add x8, sp, #36
add x9, sp, #40
stp x9, x8, [sp]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fscanf
ldurb w8, [x29, #-33]
cmp w0, #3
ccmp w8, #10, #0, eq
b.eq LBB1_2
; %bb.1:
mov x20, #0
b LBB1_3
LBB1_2:
ldpsw x22, x21, [sp, #36]
mul x8, x21, x22
add x8, x8, x8, lsl #1
add x1, x8, #8
mov w0, #1
bl _calloc
mov x20, x0
stp w21, w22, [x0], #8
add x1, x22, x22, lsl #1
mov x2, x21
mov x3, x19
bl _fread
LBB1_3:
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _image_set ; -- Begin function image_set
.p2align 2
_image_set: ; @image_set
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
ldrsw x8, [x0]
sxtw x9, w2
mul x8, x9, x8
add x8, x8, x8, lsl #1
add w9, w1, w1, lsl #1
add x8, x8, w9, sxtw
lsr x9, x3, #16
add x8, x0, x8
strb w9, [x8, #8]
lsr x9, x3, #8
strb w9, [x8, #9]
strb w3, [x8, #10]
ret
.cfi_endproc
; -- End function
.globl _image_get ; -- Begin function image_get
.p2align 2
_image_get: ; @image_get
.cfi_startproc
; %bb.0:
; kill: def $w2 killed $w2 def $x2
ldrsw x8, [x0]
sxtw x9, w2
mul x8, x9, x8
add x8, x8, x8, lsl #1
add w9, w1, w1, lsl #1
add x8, x8, w9, sxtw
add x8, x0, x8
ldrb w9, [x8, #8]
ldrb w10, [x8, #9]
ldrb w8, [x8, #10]
lsl x9, x9, #16
bfi x9, x10, #8, #8
orr x0, x9, x8
ret
.cfi_endproc
; -- End function
.globl _image_rect ; -- Begin function image_rect
.p2align 2
_image_rect: ; @image_rect
.cfi_startproc
; %bb.0:
subs w9, w4, w2
b.ne LBB4_2
LBB4_1:
ret
LBB4_2:
mov x8, #0
csel w10, w4, w2, lt
subs w11, w3, w1
csel w12, w3, w1, lt
cmp w9, #0
cneg w13, w9, mi
cmp w11, #0
sxtw x14, w12
sxtw x15, w10
cneg w9, w11, mi
cmp w9, #1
csinc w9, w9, wzr, hi
add x10, x15, w10, sxtw #1
add x12, x14, w12, sxtw #1
cmp w13, #1
csinc w11, w13, wzr, hi
add x12, x0, x12
lsr x13, x5, #8
lsr x14, x5, #16
b LBB4_4
LBB4_3: ; in Loop: Header=BB4_4 Depth=1
add x8, x8, #1
add x10, x10, #3
cmp x8, x11
b.eq LBB4_1
LBB4_4: ; =>This Loop Header: Depth=1
; Child Loop BB4_6 Depth 2
cmp w3, w1
b.eq LBB4_3
; %bb.5: ; in Loop: Header=BB4_4 Depth=1
mov x15, x9
mov x16, x12
LBB4_6: ; Parent Loop BB4_4 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x17, [x0]
madd x17, x10, x17, x16
strb w14, [x17, #8]
strb w13, [x17, #9]
strb w5, [x17, #10]
add x16, x16, #3
subs x15, x15, #1
b.ne LBB4_6
b LBB4_3
.cfi_endproc
; -- End function
.globl _image_write ; -- Begin function image_write
.p2align 2
_image_write: ; @image_write
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _fprintf
add x0, x20, #8
ldpsw x8, x1, [x20]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _fflush
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _gapbuf_init ; -- Begin function gapbuf_init
.p2align 2
_gapbuf_init: ; @gapbuf_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
stp xzr, x1, [x0, #16]
str x1, [x0, #8]
mov x0, x1
bl _malloc
str x0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _gapbuf_destroy ; -- Begin function gapbuf_destroy
.p2align 2
_gapbuf_destroy: ; @gapbuf_destroy
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _free
str xzr, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function gapbuf_insert
lCPI8_0:
.quad 1 ; 0x1
.quad -1 ; 0xffffffffffffffff
.section __TEXT,__text,regular,pure_instructions
.globl _gapbuf_insert
.p2align 2
_gapbuf_insert: ; @gapbuf_insert
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldr x8, [x0, #24]
cbnz x8, LBB8_2
; %bb.1:
ldp x9, x8, [x19, #8]
ldr x0, [x19]
sub x21, x9, x8
str x9, [x19, #24]
lsl x1, x9, #1
str x1, [x19, #8]
bl _realloc
str x0, [x19]
ldp x8, x9, [x19, #16]
add x1, x0, x8
add x0, x1, x9
mov x2, x21
bl _memmove
LBB8_2:
ldr x8, [x19]
ldr x9, [x19, #16]
strb w20, [x8, x9]
ldr q0, [x19, #16]
Lloh4:
adrp x8, lCPI8_0@PAGE
Lloh5:
ldr q1, [x8, lCPI8_0@PAGEOFF]
add.2d v0, v0, v1
str q0, [x19, #16]
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 AdrpLdr Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _gapbuf_inserts ; -- Begin function gapbuf_inserts
.p2align 2
_gapbuf_inserts: ; @gapbuf_inserts
.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, x1
mov x19, x0
mov x0, x1
bl _strlen
mov x20, x0
ldr x8, [x19, #24]
cmp x8, x0
b.hs LBB9_3
; %bb.1:
ldr x8, [x19, #16]
LBB9_2: ; =>This Inner Loop Header: Depth=1
ldp x0, x9, [x19]
sub x22, x9, x8
str x9, [x19, #24]
lsl x1, x9, #1
str x1, [x19, #8]
bl _realloc
str x0, [x19]
ldp x8, x24, [x19, #16]
add x23, x0, x8
add x0, x23, x24
mov x1, x23
mov x2, x22
bl _memmove
strb wzr, [x23]
ldr x8, [x19, #16]
sub x9, x24, #1
str x9, [x19, #24]
cmp x9, x20
b.lo LBB9_2
b LBB9_4
LBB9_3:
ldr x8, [x19, #16]
LBB9_4:
ldr x9, [x19]
add x0, x9, x8
mov x1, x21
mov x2, x20
bl _memcpy
ldp x8, x9, [x19, #16]
add x8, x8, x20
sub x9, x9, x20
stp x8, x9, [x19, #16]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _gapbuf_move ; -- Begin function gapbuf_move
.p2align 2
_gapbuf_move: ; @gapbuf_move
.cfi_startproc
; %bb.0:
tbnz x1, #63, LBB10_2
; %bb.1:
ldp x9, x10, [x0, #16]
ldp x11, x8, [x0]
add x12, x9, x10
sub x8, x8, x12
cmp x8, x1
csel x2, x8, x1, lo
add x8, x11, x9
add x1, x8, x10
add x9, x2, x9
b LBB10_3
LBB10_2:
ldp x9, x8, [x0, #16]
neg x10, x1
cmp x9, x10
csneg x2, x9, x1, lo
ldr x10, [x0]
add x10, x10, x9
add x8, x10, x8
sub x8, x8, x2
sub x1, x10, x2
sub x9, x9, x2
LBB10_3:
str x9, [x0, #16]
mov x0, x8
b _memmove
.cfi_endproc
; -- End function
.globl _gapbuf_backward ; -- Begin function gapbuf_backward
.p2align 2
_gapbuf_backward: ; @gapbuf_backward
.cfi_startproc
; %bb.0:
ldr x8, [x0, #16]
cbz x8, LBB11_2
; %bb.1:
ldr x9, [x0]
sub x8, x8, #1
ldrb w10, [x9, x8]
ldr x11, [x0, #24]
add x8, x8, x11
strb w10, [x9, x8]
ldr x8, [x0, #16]
sub x8, x8, #1
str x8, [x0, #16]
LBB11_2:
ret
.cfi_endproc
; -- End function
.globl _gapbuf_forward ; -- Begin function gapbuf_forward
.p2align 2
_gapbuf_forward: ; @gapbuf_forward
.cfi_startproc
; %bb.0:
ldp x10, x8, [x0, #8]
ldr x9, [x0, #24]
sub x10, x10, x8
cmn x10, x9
b.eq LBB12_2
; %bb.1:
ldr x10, [x0]
add x9, x9, x8
ldrb w9, [x10, x9]
strb w9, [x10, x8]
ldr x8, [x0, #16]
add x8, x8, #1
str x8, [x0, #16]
LBB12_2:
ret
.cfi_endproc
; -- End function
.globl _gapbuf_delete ; -- Begin function gapbuf_delete
.p2align 2
_gapbuf_delete: ; @gapbuf_delete
.cfi_startproc
; %bb.0:
ldp x9, x10, [x0, #8]
ldr x8, [x0, #24]
add x10, x8, x10
cmp x9, x10
b.ls LBB13_2
; %bb.1:
add x8, x8, #1
str x8, [x0, #24]
LBB13_2:
ret
.cfi_endproc
; -- End function
.globl _gapbuf_backspace ; -- Begin function gapbuf_backspace
.p2align 2
_gapbuf_backspace: ; @gapbuf_backspace
.cfi_startproc
; %bb.0:
ldr x8, [x0, #16]
cbz x8, LBB14_2
; %bb.1:
sub x8, x8, #1
ldr x9, [x0, #24]
add x9, x9, #1
stp x8, x9, [x0, #16]
LBB14_2:
ret
.cfi_endproc
; -- End function
.globl _gapbuf_write ; -- Begin function gapbuf_write
.p2align 2
_gapbuf_write: ; @gapbuf_write
.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
ldr x0, [x0]
ldr x2, [x20, #16]
mov w1, #1
mov x3, x19
bl _fwrite
ldp x8, x9, [x20, #16]
ldp x10, x11, [x20]
add x10, x10, x8
add x0, x10, x9
add x8, x9, x8
sub x2, x11, x8
mov w1, #1
mov x3, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _fwrite
.cfi_endproc
; -- End function
.globl _gapbuf_draw ; -- Begin function gapbuf_draw
.p2align 2
_gapbuf_draw: ; @gapbuf_draw
.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, x1
mov x22, x0
ldr x8, [x0, #8]
str x8, [sp, #8] ; 8-byte Folded Spill
lsl w21, w8, #4
mov w8, #144
smull x8, w21, w8
orr x1, x8, #0x8
mov w0, #1
bl _calloc
mov x20, x0
mov x8, #0
mov w9, #48
stp w21, w9, [x0]
cmp w21, #0
csel w9, w21, wzr, lt
cneg w10, w21, mi
sxtw x9, w9
cmp w10, #1
csinc w10, w10, wzr, hi
mov w11, #255
mov w12, #65535
b LBB16_2
LBB16_1: ; in Loop: Header=BB16_2 Depth=1
add x8, x8, #1
cmp x8, #48
b.eq LBB16_4
LBB16_2: ; =>This Loop Header: Depth=1
; Child Loop BB16_3 Depth 2
mov x13, x9
mov x14, x10
cbz w21, LBB16_1
LBB16_3: ; Parent Loop BB16_2 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x15, [x20]
madd x15, x8, x15, x13
add x15, x15, x15, lsl #1
add x15, x20, x15
strb w11, [x15, #8]
sturh w12, [x15, #9]
add x13, x13, #1
subs x14, x14, #1
b.ne LBB16_3
b LBB16_1
LBB16_4:
ldr x21, [x22, #16]
cbz x21, LBB16_11
; %bb.5:
mov x23, #0
ldr x25, [x22]
mov w26, #14
mov w27, #2
mov w24, #32639
mov w28, #127
LBB16_6: ; =>This Loop Header: Depth=1
; Child Loop BB16_7 Depth 2
; Child Loop BB16_8 Depth 3
mov x8, #0
cmp w26, w27
csel w9, w26, w27, lt
sxtw x10, w9
add x9, x10, w9, sxtw #1
add x9, x20, x9
mov w10, #102
LBB16_7: ; Parent Loop BB16_6 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_8 Depth 3
mov x11, #0
LBB16_8: ; Parent Loop BB16_6 Depth=1
; Parent Loop BB16_7 Depth=2
; => This Inner Loop Header: Depth=3
ldrsw x12, [x20]
madd x12, x10, x12, x9
add x12, x12, x11
strh w24, [x12, #8]
strb w28, [x12, #10]
add x11, x11, #3
cmp x11, #36
b.ne LBB16_8
; %bb.9: ; in Loop: Header=BB16_7 Depth=2
add x8, x8, #1
add x10, x10, #3
cmp x8, #12
b.ne LBB16_7
; %bb.10: ; in Loop: Header=BB16_6 Depth=1
ldrsb w2, [x25, x23]
mov x0, x20
mov x1, x23
mov x3, x19
mov w4, #0
bl _draw_char
add x23, x23, #1
add w26, w26, #16
add w27, w27, #16
cmp x23, x21
b.ne LBB16_6
LBB16_11:
ldr x25, [x22, #24]
str x21, [sp] ; 8-byte Folded Spill
add x21, x25, x21
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x21, x8
b.hs LBB16_18
; %bb.12:
ldr x22, [x22]
mov w26, #14
bfi w26, w21, #4, #28
mov w27, #2
bfi w27, w21, #4, #28
mov w28, #32639
mov w24, #127
mov x23, x21
LBB16_13: ; =>This Loop Header: Depth=1
; Child Loop BB16_14 Depth 2
; Child Loop BB16_15 Depth 3
mov x8, #0
cmp w26, w27
csel w9, w26, w27, lt
sxtw x10, w9
add x9, x10, w9, sxtw #1
add x9, x20, x9
mov w10, #102
LBB16_14: ; Parent Loop BB16_13 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB16_15 Depth 3
mov x11, #0
LBB16_15: ; Parent Loop BB16_13 Depth=1
; Parent Loop BB16_14 Depth=2
; => This Inner Loop Header: Depth=3
ldrsw x12, [x20]
madd x12, x10, x12, x9
add x12, x12, x11
strh w28, [x12, #8]
strb w24, [x12, #10]
add x11, x11, #3
cmp x11, #36
b.ne LBB16_15
; %bb.16: ; in Loop: Header=BB16_14 Depth=2
add x8, x8, #1
add x10, x10, #3
cmp x8, #12
b.ne LBB16_14
; %bb.17: ; in Loop: Header=BB16_13 Depth=1
sub w1, w23, w25
ldrsb w2, [x22, x23]
cmp x23, x21
cset w4, eq
mov x0, x20
mov x3, x19
bl _draw_char
add x23, x23, #1
add w26, w26, #16
add w27, w27, #16
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x23, x8
b.lo LBB16_13
LBB16_18:
ldr x8, [sp, #8] ; 8-byte Folded Reload
cmp x8, x21
b.ne LBB16_20
; %bb.19:
mov x0, x20
ldr x1, [sp] ; 8-byte Folded Reload
; kill: def $w1 killed $w1 killed $x1
mov w2, #0
mov x3, x19
mov w4, #1
bl _draw_char
LBB16_20:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function draw_char
_draw_char: ; @draw_char
.cfi_startproc
; %bb.0:
mov x8, #0
mov x9, #0
sub w10, w2, #127
cmn w10, #95
mov w10, #32
csel w10, w10, w2, lo
ldp w11, w12, [x3]
; kill: def $w12 killed $w12 def $x12
sxtw x12, w12
add w13, w11, #15
cmp w11, #0
csel w11, w13, w11, lt
mov w13, #43691
movk w13, #10922, lsl #16
mul x12, x12, x13
lsr x13, x12, #63
lsr x12, x12, #32
add w12, w12, w13
and w13, w10, #0xf
asr w11, w11, #4
mul w13, w11, w13
scvtf s0, w13
lsr w10, w10, #4
sub w13, w10, #2
scvtf s1, w11
lsl w10, w11, #5
sdiv w10, w10, w12
scvtf s2, w10
mul w14, w10, w1
mul w11, w12, w13
scvtf s3, w11
scvtf s4, w12
cmp w4, #0
csetm x11, ne
sxtw x12, w14
add x12, x12, w14, sxtw #1
add x12, x0, x12
movi.2s v5, #61, lsl #24
b LBB17_2
LBB17_1: ; in Loop: Header=BB17_2 Depth=1
add x9, x9, #1
add x8, x8, #3
cmp x9, #32
b.eq LBB17_5
LBB17_2: ; =>This Loop Header: Depth=1
; Child Loop BB17_4 Depth 2
cmp w10, #1
b.lt LBB17_1
; %bb.3: ; in Loop: Header=BB17_2 Depth=1
mov x13, #0
scvtf s6, w9
fmul s6, s4, s6
fmul s6, s6, s5
fadd s6, s6, s3
fcvtzs w14, s6
sxtw x15, w14
add x14, x15, w14, sxtw #1
mov x15, x12
LBB17_4: ; Parent Loop BB17_2 Depth=1
; => This Inner Loop Header: Depth=2
scvtf s6, w13
fmul s6, s1, s6
fdiv s6, s6, s2
fadd s6, s6, s0
fcvtzs w16, s6
ldrsw x17, [x3]
mul x17, x14, x17
add w16, w16, w16, lsl #1
add x16, x17, w16, sxtw
add x16, x3, x16
ldrb w17, [x16, #8]
ldrb w1, [x16, #9]
ldrb w16, [x16, #10]
lsl x17, x17, #16
bfi x17, x1, #8, #8
orr x16, x17, x16
eor x16, x16, x11
ldrsw x17, [x0]
lsr x1, x16, #16
madd x17, x8, x17, x15
strb w1, [x17, #8]
lsr x1, x16, #8
strb w1, [x17, #9]
strb w16, [x17, #10]
add x13, x13, #1
add x15, x15, #3
cmp x10, x13
b.ne LBB17_4
b LBB17_1
LBB17_5:
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function animate
lCPI18_0:
.quad 1 ; 0x1
.quad -1 ; 0xffffffffffffffff
.section __TEXT,__text,regular,pure_instructions
.globl _animate
.p2align 2
_animate: ; @animate
.cfi_startproc
; %bb.0:
sub sp, sp, #208
.cfi_def_cfa_offset 208
stp x28, x27, [sp, #112] ; 16-byte Folded Spill
stp x26, x25, [sp, #128] ; 16-byte Folded Spill
stp x24, x23, [sp, #144] ; 16-byte Folded Spill
stp x22, x21, [sp, #160] ; 16-byte Folded Spill
stp x20, x19, [sp, #176] ; 16-byte Folded Spill
stp x29, x30, [sp, #192] ; 16-byte Folded Spill
add x29, sp, #192
.cfi_def_cfa w29, 16
.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, x0
Lloh6:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
stur x8, [x29, #-88]
stp xzr, x1, [sp, #88]
str x1, [sp, #80]
mov x0, x1
bl _malloc
str x0, [sp, #72]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
Lloh11:
adrp x1, l_.str.3@PAGE
Lloh12:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
mov x22, x0
add x8, sp, #71
str x8, [sp, #16]
add x8, sp, #60
add x9, sp, #64
stp x9, x8, [sp]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
bl _fscanf
mov x21, #0
ldrb w8, [sp, #71]
cmp w0, #3
ccmp w8, #10, #0, eq
b.ne LBB18_2
; %bb.1:
ldpsw x24, x23, [sp, #60]
mul x8, x23, x24
add x8, x8, x8, lsl #1
add x1, x8, #8
mov w0, #1
bl _calloc
mov x21, x0
stp w23, w24, [x0], #8
add x1, x24, x24, lsl #1
mov x2, x23
mov x3, x22
bl _fread
LBB18_2:
mov x0, x22
bl _fclose
Lloh15:
adrp x27, lJTI18_0@PAGE
Lloh16:
add x27, x27, lJTI18_0@PAGEOFF
Lloh17:
adrp x8, lCPI18_0@PAGE
Lloh18:
ldr q0, [x8, lCPI18_0@PAGEOFF]
str q0, [sp, #32] ; 16-byte Folded Spill
Lloh19:
adrp x22, l_.str.1@PAGE
Lloh20:
add x22, x22, l_.str.1@PAGEOFF
b LBB18_4
LBB18_3: ; in Loop: Header=BB18_4 Depth=1
add x20, x20, #16
LBB18_4: ; =>This Loop Header: Depth=1
; Child Loop BB18_16 Depth 2
; Child Loop BB18_38 Depth 2
; Child Loop BB18_34 Depth 2
; Child Loop BB18_31 Depth 2
; Child Loop BB18_10 Depth 2
; Child Loop BB18_20 Depth 2
; Child Loop BB18_7 Depth 2
ldr w8, [x20]
cmp w8, #10
b.hi LBB18_3
; %bb.5: ; in Loop: Header=BB18_4 Depth=1
adr x9, LBB18_6
ldrh w10, [x27, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB18_6: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
cbz w24, LBB18_3
LBB18_7: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
sub w24, w24, #1
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
cbnz w24, LBB18_7
b LBB18_3
LBB18_8: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
cbnz w24, LBB18_10
b LBB18_3
LBB18_9: ; in Loop: Header=BB18_10 Depth=2
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
cbz w24, LBB18_3
LBB18_10: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
sub w24, w24, #1
ldr x8, [sp, #88]
cbz x8, LBB18_9
; %bb.11: ; in Loop: Header=BB18_10 Depth=2
sub x8, x8, #1
ldr x9, [sp, #72]
ldr x10, [sp, #96]
ldrb w11, [x9, x8]
add x8, x10, x8
strb w11, [x9, x8]
ldr x8, [sp, #88]
sub x8, x8, #1
str x8, [sp, #88]
b LBB18_9
LBB18_12: ; in Loop: Header=BB18_4 Depth=1
ldrsw x8, [x20, #8]
tbnz w8, #31, LBB18_40
; %bb.13: ; in Loop: Header=BB18_4 Depth=1
ldp x9, x10, [sp, #88]
ldp x12, x11, [sp, #72]
add x13, x9, x10
sub x11, x11, x13
cmp x11, x8
csel x2, x11, x8, lo
add x0, x12, x9
add x1, x0, x10
add x8, x2, x9
b LBB18_41
LBB18_14: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
cbnz w24, LBB18_16
b LBB18_3
LBB18_15: ; in Loop: Header=BB18_16 Depth=2
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
cbz w24, LBB18_3
LBB18_16: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
sub w24, w24, #1
ldr x8, [sp, #88]
cbz x8, LBB18_15
; %bb.17: ; in Loop: Header=BB18_16 Depth=2
sub x8, x8, #1
ldr x9, [sp, #96]
add x9, x9, #1
stp x8, x9, [sp, #88]
b LBB18_15
LBB18_18: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
cbnz w24, LBB18_20
b LBB18_3
LBB18_19: ; in Loop: Header=BB18_20 Depth=2
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
cbz w24, LBB18_3
LBB18_20: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
sub w24, w24, #1
ldp x10, x8, [sp, #80]
ldr x9, [sp, #96]
sub x10, x10, x8
cmn x10, x9
b.eq LBB18_19
; %bb.21: ; in Loop: Header=BB18_20 Depth=2
ldr x10, [sp, #72]
add x9, x9, x8
ldrb w9, [x10, x9]
strb w9, [x10, x8]
ldr x8, [sp, #88]
add x8, x8, #1
str x8, [sp, #88]
b LBB18_19
LBB18_22: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
ldr x8, [sp, #96]
cbnz x8, LBB18_24
; %bb.23: ; in Loop: Header=BB18_4 Depth=1
ldp x9, x8, [sp, #80]
ldr x0, [sp, #72]
sub x23, x9, x8
lsl x1, x9, #1
str x9, [sp, #96]
str x1, [sp, #80]
bl _realloc
str x0, [sp, #72]
ldp x8, x9, [sp, #88]
add x1, x0, x8
add x0, x1, x9
mov x2, x23
bl _memmove
LBB18_24: ; in Loop: Header=BB18_4 Depth=1
ldr x8, [sp, #72]
ldr x9, [sp, #88]
strb w24, [x8, x9]
ldur q0, [sp, #88]
ldr q1, [sp, #32] ; 16-byte Folded Reload
add.2d v0, v0, v1
stur q0, [sp, #88]
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
add x20, x20, #16
b LBB18_4
LBB18_25: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
ldr x8, [sp, #96]
cbnz x8, LBB18_27
; %bb.26: ; in Loop: Header=BB18_4 Depth=1
ldp x9, x8, [sp, #80]
ldr x0, [sp, #72]
sub x23, x9, x8
lsl x1, x9, #1
str x9, [sp, #96]
str x1, [sp, #80]
bl _realloc
str x0, [sp, #72]
ldp x8, x9, [sp, #88]
add x1, x0, x8
add x0, x1, x9
mov x2, x23
bl _memmove
LBB18_27: ; in Loop: Header=BB18_4 Depth=1
ldr x8, [sp, #72]
ldr x9, [sp, #88]
strb w24, [x8, x9]
ldur q0, [sp, #88]
ldr q1, [sp, #32] ; 16-byte Folded Reload
add.2d v0, v0, v1
stur q0, [sp, #88]
add x20, x20, #16
b LBB18_4
LBB18_28: ; in Loop: Header=BB18_4 Depth=1
ldr x8, [x20, #8]
ldrb w25, [x8]
cbz w25, LBB18_3
; %bb.29: ; in Loop: Header=BB18_4 Depth=1
add x24, x8, #1
b LBB18_31
LBB18_30: ; in Loop: Header=BB18_31 Depth=2
ldr x8, [sp, #72]
ldr x9, [sp, #88]
strb w25, [x8, x9]
ldur q0, [sp, #88]
ldr q1, [sp, #32] ; 16-byte Folded Reload
add.2d v0, v0, v1
stur q0, [sp, #88]
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
ldrb w25, [x24], #1
cbz w25, LBB18_3
LBB18_31: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #96]
cbnz x8, LBB18_30
; %bb.32: ; in Loop: Header=BB18_31 Depth=2
ldp x9, x8, [sp, #80]
ldr x0, [sp, #72]
sub x23, x9, x8
lsl x1, x9, #1
str x9, [sp, #96]
str x1, [sp, #80]
bl _realloc
str x0, [sp, #72]
ldp x8, x9, [sp, #88]
add x1, x0, x8
add x0, x1, x9
mov x2, x23
bl _memmove
b LBB18_30
LBB18_33: ; in Loop: Header=BB18_4 Depth=1
ldr x24, [x20, #8]
mov x0, x24
bl _strlen
mov x23, x0
ldp x8, x9, [sp, #88]
cmp x9, x0
b.hs LBB18_35
LBB18_34: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
ldp x0, x9, [sp, #72]
sub x25, x9, x8
lsl x1, x9, #1
str x9, [sp, #96]
str x1, [sp, #80]
bl _realloc
str x0, [sp, #72]
ldp x8, x28, [sp, #88]
add x26, x0, x8
add x0, x26, x28
mov x1, x26
mov x2, x25
bl _memmove
strb wzr, [x26]
ldr x8, [sp, #88]
sub x9, x28, #1
str x9, [sp, #96]
cmp x9, x23
b.lo LBB18_34
LBB18_35: ; in Loop: Header=BB18_4 Depth=1
ldr x9, [sp, #72]
add x0, x9, x8
mov x1, x24
mov x2, x23
bl _memcpy
ldp x8, x9, [sp, #88]
add x8, x8, x23
sub x9, x9, x23
stp x8, x9, [sp, #88]
add x20, x20, #16
b LBB18_4
LBB18_36: ; in Loop: Header=BB18_4 Depth=1
ldr w24, [x20, #8]
cbnz w24, LBB18_38
b LBB18_3
LBB18_37: ; in Loop: Header=BB18_38 Depth=2
add x0, sp, #72
mov x1, x21
bl _gapbuf_draw
mov x23, x0
ldp w8, w9, [x0]
stp x8, x9, [sp]
mov x0, x19
mov x1, x22
bl _fprintf
add x0, x23, #8
ldpsw x8, x1, [x23]
add x2, x8, x8, lsl #1
mov x3, x19
bl _fwrite
mov x0, x19
bl _fflush
mov x0, x23
bl _free
cbz w24, LBB18_3
LBB18_38: ; Parent Loop BB18_4 Depth=1
; => This Inner Loop Header: Depth=2
sub w24, w24, #1
ldp x9, x10, [sp, #80]
ldr x8, [sp, #96]
add x10, x8, x10
cmp x9, x10
b.ls LBB18_37
; %bb.39: ; in Loop: Header=BB18_38 Depth=2
add x8, x8, #1
str x8, [sp, #96]
b LBB18_37
LBB18_40: ; in Loop: Header=BB18_4 Depth=1
ldr x9, [sp, #88]
ldr x10, [sp, #72]
neg x11, x8
cmp x9, x11
csneg x2, x9, x8, lo
ldr x8, [sp, #96]
add x10, x10, x9
add x8, x10, x8
sub x0, x8, x2
sub x1, x10, x2
sub x8, x9, x2
LBB18_41: ; in Loop: Header=BB18_4 Depth=1
str x8, [sp, #88]
bl _memmove
add x20, x20, #16
b LBB18_4
LBB18_42:
ldr x0, [sp, #72]
bl _free
mov x0, x21
bl _free
ldur x8, [x29, #-88]
Lloh21:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh22:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
ldr x9, [x9]
cmp x9, x8
b.ne LBB18_44
; %bb.43:
ldp x29, x30, [sp, #192] ; 16-byte Folded Reload
ldp x20, x19, [sp, #176] ; 16-byte Folded Reload
ldp x22, x21, [sp, #160] ; 16-byte Folded Reload
ldp x24, x23, [sp, #144] ; 16-byte Folded Reload
ldp x26, x25, [sp, #128] ; 16-byte Folded Reload
ldp x28, x27, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #208
ret
LBB18_44:
bl ___stack_chk_fail
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdr Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI18_0:
.short (LBB18_42-LBB18_6)>>2
.short (LBB18_6-LBB18_6)>>2
.short (LBB18_18-LBB18_6)>>2
.short (LBB18_8-LBB18_6)>>2
.short (LBB18_12-LBB18_6)>>2
.short (LBB18_22-LBB18_6)>>2
.short (LBB18_25-LBB18_6)>>2
.short (LBB18_28-LBB18_6)>>2
.short (LBB18_33-LBB18_6)>>2
.short (LBB18_36-LBB18_6)>>2
.short (LBB18_14-LBB18_6)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh24:
adrp x0, l_.str.8@PAGE
Lloh25:
add x0, x0, l_.str.8@PAGEOFF
Lloh26:
adrp x19, l_.str.9@PAGE
Lloh27:
add x19, x19, l_.str.9@PAGEOFF
mov x1, x19
bl _fopen
mov x20, x0
Lloh28:
adrp x0, _main.intro@PAGE
Lloh29:
add x0, x0, _main.intro@PAGEOFF
mov w1, #38
mov x2, x20
bl _animate
mov x0, x20
bl _fclose
Lloh30:
adrp x0, l_.str.11@PAGE
Lloh31:
add x0, x0, l_.str.11@PAGEOFF
mov x1, x19
bl _fopen
mov x20, x0
Lloh32:
adrp x0, _main.multicursors@PAGE
Lloh33:
add x0, x0, _main.multicursors@PAGEOFF
mov w1, #38
mov x2, x20
bl _animate
mov x0, x20
bl _fclose
Lloh34:
adrp x0, l_.str.13@PAGE
Lloh35:
add x0, x0, l_.str.13@PAGEOFF
mov x1, x19
bl _fopen
mov x20, x0
Lloh36:
adrp x0, _main.macros@PAGE
Lloh37:
add x0, x0, _main.macros@PAGEOFF
mov w1, #38
mov x2, x20
bl _animate
mov x0, x20
bl _fclose
Lloh38:
adrp x0, l_.str.14@PAGE
Lloh39:
add x0, x0, l_.str.14@PAGEOFF
mov x1, x19
bl _fopen
mov x19, x0
Lloh40:
adrp x0, _main.illusion@PAGE
Lloh41:
add x0, x0, _main.illusion@PAGEOFF
mov w1, #38
mov x2, x19
bl _animate
mov x0, x19
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "P6 %d %d 255%c"
l_.str.1: ; @.str.1
.asciz "P6\n%d %d\n255\n"
l_.str.2: ; @.str.2
.asciz "font32.ppm"
l_.str.3: ; @.str.3
.asciz "rb"
.section __DATA,__const
.p2align 3 ; @main.intro
_main.intro:
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 3 ; 0x3
.space 4
.long 7 ; 0x7
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.5
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 3 ; 0x3
.space 4
.long 5 ; 0x5
.space 4
.long 1 ; 0x1
.space 4
.long 5 ; 0x5
.space 4
.long 10 ; 0xa
.space 4
.long 9 ; 0x9
.space 4
.long 5 ; 0x5
.space 4
.long 65 ; 0x41
.space 4
.long 2 ; 0x2
.space 4
.long 11 ; 0xb
.space 4
.long 1 ; 0x1
.space 4
.long 5 ; 0x5
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.6
.long 1 ; 0x1
.space 4
.long 5 ; 0x5
.space 4
.long 2 ; 0x2
.space 4
.long 1 ; 0x1
.space 4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 3 ; 0x3
.space 4
.long 16 ; 0x10
.space 4
.long 10 ; 0xa
.space 4
.long 24 ; 0x18
.space 4
.long 9 ; 0x9
.space 4
.long 1 ; 0x1
.space 4
.long 5 ; 0x5
.space 4
.long 67 ; 0x43
.space 4
.long 2 ; 0x2
.space 4
.long 14 ; 0xe
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.7
.long 9 ; 0x9
.space 4
.long 1 ; 0x1
.space 4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 10 ; 0xa
.space 4
.long 35 ; 0x23
.space 4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "This is a buffer."
l_.str.5: ; @.str.5
.asciz "gap "
l_.str.6: ; @.str.6
.asciz " is for clustered edits"
l_.str.7: ; @.str.7
.asciz " are most efficient!"
l_.str.8: ; @.str.8
.asciz "intro.ppm"
l_.str.9: ; @.str.9
.asciz "wb"
.section __DATA,__const
.p2align 3 ; @main.multicursors
_main.multicursors:
.long 8 ; 0x8
.space 4
.quad l_.str.10
.long 4 ; 0x4
.space 4
.long 4294967280 ; 0xfffffff0
.space 4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 5 ; 0x5
.space 4
.long 120 ; 0x78
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 7 ; 0x7
.space 4
.long 5 ; 0x5
.space 4
.long 120 ; 0x78
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 7 ; 0x7
.space 4
.long 5 ; 0x5
.space 4
.long 120 ; 0x78
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 3 ; 0x3
.space 4
.long 16 ; 0x10
.space 4
.long 5 ; 0x5
.space 4
.long 44 ; 0x2c
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 8 ; 0x8
.space 4
.long 5 ; 0x5
.space 4
.long 44 ; 0x2c
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 8 ; 0x8
.space 4
.long 5 ; 0x5
.space 4
.long 44 ; 0x2c
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 3 ; 0x3
.space 4
.long 18 ; 0x12
.space 4
.long 5 ; 0x5
.space 4
.long 32 ; 0x20
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 9 ; 0x9
.space 4
.long 5 ; 0x5
.space 4
.long 32 ; 0x20
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 9 ; 0x9
.space 4
.long 5 ; 0x5
.space 4
.long 32 ; 0x20
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 3 ; 0x3
.space 4
.long 20 ; 0x14
.space 4
.long 5 ; 0x5
.space 4
.long 121 ; 0x79
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 10 ; 0xa
.space 4
.long 5 ; 0x5
.space 4
.long 121 ; 0x79
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 10 ; 0xa
.space 4
.long 5 ; 0x5
.space 4
.long 121 ; 0x79
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 3 ; 0x3
.space 4
.long 22 ; 0x16
.space 4
.long 1 ; 0x1
.space 4
.long 20 ; 0x14
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz "foo(); bar(); baz();"
l_.str.11: ; @.str.11
.asciz "multicursors.ppm"
.section __DATA,__const
.p2align 3 ; @main.macros
_main.macros:
.long 8 ; 0x8
.space 4
.quad l_.str.10
.long 4 ; 0x4
.space 4
.long 4294967280 ; 0xfffffff0
.space 4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.12
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 7 ; 0x7
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.12
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 2 ; 0x2
.space 4
.long 7 ; 0x7
.space 4
.long 7 ; 0x7
.space 4
.quad l_.str.12
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 1 ; 0x1
.space 4
.long 20 ; 0x14
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str.12: ; @.str.12
.asciz "x, y"
l_.str.13: ; @.str.13
.asciz "macros.ppm"
.section __DATA,__const
.p2align 3 ; @main.illusion
_main.illusion:
.long 8 ; 0x8
.space 4
.quad l_.str.10
.long 4 ; 0x4
.space 4
.long 4294967280 ; 0xfffffff0
.space 4
.long 1 ; 0x1
.space 4
.long 10 ; 0xa
.space 4
.long 6 ; 0x6
.space 4
.long 120 ; 0x78
.space 4
.long 4 ; 0x4
.space 4
.long 7 ; 0x7
.space 4
.long 6 ; 0x6
.space 4
.long 120 ; 0x78
.space 4
.long 4 ; 0x4
.space 4
.long 7 ; 0x7
.space 4
.long 6 ; 0x6
.space 4
.long 120 ; 0x78
.space 4
.long 4 ; 0x4
.space 4
.long 4294967280 ; 0xfffffff0
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 6 ; 0x6
.space 4
.long 44 ; 0x2c
.space 4
.long 4 ; 0x4
.space 4
.long 8 ; 0x8
.space 4
.long 6 ; 0x6
.space 4
.long 44 ; 0x2c
.space 4
.long 4 ; 0x4
.space 4
.long 8 ; 0x8
.space 4
.long 6 ; 0x6
.space 4
.long 44 ; 0x2c
.space 4
.long 4 ; 0x4
.space 4
.long 4294967278 ; 0xffffffee
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 6 ; 0x6
.space 4
.long 32 ; 0x20
.space 4
.long 4 ; 0x4
.space 4
.long 9 ; 0x9
.space 4
.long 6 ; 0x6
.space 4
.long 32 ; 0x20
.space 4
.long 4 ; 0x4
.space 4
.long 9 ; 0x9
.space 4
.long 6 ; 0x6
.space 4
.long 32 ; 0x20
.space 4
.long 4 ; 0x4
.space 4
.long 4294967276 ; 0xffffffec
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 6 ; 0x6
.space 4
.long 121 ; 0x79
.space 4
.long 4 ; 0x4
.space 4
.long 10 ; 0xa
.space 4
.long 6 ; 0x6
.space 4
.long 121 ; 0x79
.space 4
.long 4 ; 0x4
.space 4
.long 10 ; 0xa
.space 4
.long 6 ; 0x6
.space 4
.long 121 ; 0x79
.space 4
.long 4 ; 0x4
.space 4
.long 4294967274 ; 0xffffffea
.space 4
.long 1 ; 0x1
.space 4
.long 2 ; 0x2
.space 4
.long 1 ; 0x1
.space 4
.long 20 ; 0x14
.space 4
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str.14: ; @.str.14
.asciz "illusion.ppm"
.subsections_via_symbols
| the_stack_data/48574650.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
xorl %eax, %eax
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ol\303\241, mundo C"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ol\303\241, mundo C"
.subsections_via_symbols
| the_stack_data/766283.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IN_Button14Up ## -- Begin function IN_Button14Up
.p2align 4, 0x90
_IN_Button14Up: ## @IN_Button14Up
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _in_buttons@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $56, %rdi
popq %rbp
jmp _IN_KeyUp ## TAILCALL
.cfi_endproc
## -- End function
.comm _in_buttons,8,3 ## @in_buttons
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _IN_Button14Up ; -- Begin function IN_Button14Up
.p2align 2
_IN_Button14Up: ; @IN_Button14Up
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _in_buttons@GOTPAGE
Lloh1:
ldr x8, [x8, _in_buttons@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x0, x8, #56
b _IN_KeyUp
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _in_buttons,8,3 ; @in_buttons
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/client/extr_cl_input.c_IN_Button14Up.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ipath_count_sge
_ipath_count_sge: ## @ipath_count_sge
.cfi_startproc
## %bb.0:
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
testl %esi, %esi
je LBB0_1
## %bb.2:
movl %esi, %ebx
movq (%rdi), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq 40(%rdi), %r12
movq 32(%rdi), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq 24(%rdi), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq 16(%rdi), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movl 12(%rdi), %r13d
movl 8(%rdi), %r14d
movq 48(%rdi), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movl $1, -44(%rbp) ## 4-byte Folded Spill
movl $2, %ecx
jmp LBB0_3
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq %rdx, -80(%rbp) ## 8-byte Spill
movq %rdx, %rcx
shlq $4, %rcx
movq 8(%rax,%rcx), %r12
movl (%rax,%rcx), %r14d
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
movq -96(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %ecx
## kill: def $eax killed $eax killed $rax
subl %r15d, %ebx
je LBB0_22
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl %ecx, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl %r14d, %r15d
cmpl %ebx, %r14d
jl LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %ebx, %r15d
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
cmpl %r13d, %r15d
jl LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl %r13d, %r15d
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
sete %dil
callq _BUG_ON
xorl %eax, %eax
testb $3, %r12b
jne LBB0_22
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
cmpl %r15d, %ebx
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movl %r15d, %ecx
andl $3, %ecx
jne LBB0_22
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %ecx ## 4-byte Reload
incl %ecx
movl %r15d, %eax
addq %rax, %r12
subl %r15d, %r14d
subl %r15d, %r13d
movl %ecx, -44(%rbp) ## 4-byte Spill
je LBB0_11
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
testl %r14d, %r14d
jne LBB0_21
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, -64(%rbp) ## 8-byte Folded Reload
je LBB0_21
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq -80(%rbp), %rdx ## 8-byte Reload
incq %rdx
movq _IPATH_SEGSZ@GOTPCREL(%rip), %rax
cmpq (%rax), %rdx
jl LBB0_20
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movq -56(%rbp), %rdx ## 8-byte Reload
incq %rdx
movq %rdx, %rax
movq %rdx, -56(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
cmpq (%rax), %rdx
jge LBB0_18
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
xorl %edx, %edx
jmp LBB0_20
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
decq %rax
je LBB0_12
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
movq -88(%rbp), %rax ## 8-byte Reload
movl (%rax), %r14d
movl 4(%rax), %r13d
movq 8(%rax), %rcx
movq %rcx, -80(%rbp) ## 8-byte Spill
movq 16(%rax), %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq 24(%rax), %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
movq 32(%rax), %r12
addq $40, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
jmp LBB0_21
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
xorl %r13d, %r13d
xorl %eax, %eax
movq %rax, -72(%rbp) ## 8-byte Spill
jmp LBB0_21
LBB0_1:
movl $1, %eax
LBB0_22:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
movl %ecx, %eax
jmp LBB0_22
.cfi_endproc
## -- End function
.comm _IPATH_SEGSZ,8,3 ## @IPATH_SEGSZ
.no_dead_strip _ipath_count_sge
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ipath_count_sge
_ipath_count_sge: ; @ipath_count_sge
.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
cbz w1, LBB0_16
; %bb.1:
mov x19, x1
ldr x9, [x0]
ldp x8, x26, [x0, #32]
stp x9, x8, [sp] ; 16-byte Folded Spill
ldp x27, x24, [x0, #16]
ldp w21, w28, [x0, #8]
ldr x23, [x0, #48]
mov w22, #1
mov w8, #2
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #8]
ldr x8, [x8, x24, lsl #3]
ldr x8, [x8]
add x8, x8, x27, lsl #4
ldr x26, [x8, #8]
ldr w21, [x8]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w8, w20, #1
subs w19, w19, w25
b.eq LBB0_17
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x20, x8
cmp w21, w19
csel w8, w21, w19, lt
cmp w8, w28
csel w25, w8, w28, lt
cmp w25, #0
cset w0, eq
bl _BUG_ON
tst x26, #0x3
b.ne LBB0_15
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
and w8, w25, #0x3
cmp w19, w25
ccmp w8, #0, #4, ne
b.ne LBB0_15
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #1
add x26, x26, w25, uxtw
sub w21, w21, w25
subs w28, w28, w25
b.eq LBB0_12
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
cbnz w21, LBB0_3
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
cbz x8, LBB0_3
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
add x27, x27, #1
Lloh0:
adrp x8, _IPATH_SEGSZ@GOTPAGE
Lloh1:
ldr x8, [x8, _IPATH_SEGSZ@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x27, x8
b.lt LBB0_2
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
add x24, x24, #1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
cmp x24, x8
b.ge LBB0_18
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
mov x27, #0
b LBB0_2
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp] ; 8-byte Folded Reload
subs x8, x8, #1
b.eq LBB0_14
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
str x8, [sp] ; 8-byte Folded Spill
ldp w21, w28, [x23]
ldp x27, x24, [x23, #8]
ldp x8, x26, [x23, #24]
str x8, [sp, #8] ; 8-byte Folded Spill
add x23, x23, #40
b LBB0_3
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
mov w28, #0
str xzr, [sp] ; 8-byte Folded Spill
b LBB0_3
LBB0_15:
mov w20, #0
b LBB0_17
LBB0_16:
mov w20, #1
LBB0_17:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_18:
mov x20, x22
b LBB0_17
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IPATH_SEGSZ,8,3 ; @IPATH_SEGSZ
.no_dead_strip _ipath_count_sge
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_verbs.c_ipath_count_sge.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function thunder_pem_get_dma_tag
_thunder_pem_get_dma_tag: ## @thunder_pem_get_dma_tag
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _device_get_softc
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _thunder_pem_get_dma_tag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function thunder_pem_get_dma_tag
_thunder_pem_get_dma_tag: ; @thunder_pem_get_dma_tag
.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 _device_get_softc
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _thunder_pem_get_dma_tag
.subsections_via_symbols
| AnghaBench/freebsd/sys/arm64/cavium/extr_thunder_pcie_pem.c_thunder_pem_get_dma_tag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_aicapcm_pcm_trigger
_snd_aicapcm_pcm_trigger: ## @snd_aicapcm_pcm_trigger
.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
cmpl $128, %esi
je LBB0_3
## %bb.1:
cmpl $129, %esi
jne LBB0_4
## %bb.2:
callq _spu_begin_dma
xorl %ebx, %ebx
jmp LBB0_5
LBB0_3:
xorl %ebx, %ebx
xorl %eax, %eax
callq _aica_chn_halt
jmp LBB0_5
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_5:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _snd_aicapcm_pcm_trigger
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_aicapcm_pcm_trigger
_snd_aicapcm_pcm_trigger: ; @snd_aicapcm_pcm_trigger
.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
cmp w1, #128
b.eq LBB0_3
; %bb.1:
cmp w1, #129
b.ne LBB0_5
; %bb.2:
bl _spu_begin_dma
b LBB0_4
LBB0_3:
bl _aica_chn_halt
LBB0_4:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_5:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _snd_aicapcm_pcm_trigger
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/sh/extr_aica.c_snd_aicapcm_pcm_trigger.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/602086.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), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
xorl %esi, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $1, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $2, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
xorl %edx, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
movl $1, %edx
xorl %eax, %eax
callq _printf
movq %rbx, %rdi
movl $3, %esi
movl $2, %edx
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d, %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
stp xzr, xzr, [sp]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
mov x0, x19
bl _printf
mov w20, #1
stp xzr, x20, [sp]
mov x0, x19
bl _printf
mov w21, #2
stp xzr, x21, [sp]
mov x0, x19
bl _printf
stp x20, xzr, [sp]
mov x0, x19
bl _printf
stp x20, x20, [sp]
mov x0, x19
bl _printf
stp x20, x21, [sp]
mov x0, x19
bl _printf
stp x21, xzr, [sp]
mov x0, x19
bl _printf
stp x21, x20, [sp]
mov x0, x19
bl _printf
stp x21, x21, [sp]
mov x0, x19
bl _printf
mov w22, #3
stp x22, xzr, [sp]
mov x0, x19
bl _printf
stp x22, x20, [sp]
mov x0, x19
bl _printf
stp x22, x21, [sp]
mov x0, x19
bl _printf
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d, %d\n"
.subsections_via_symbols
| the_stack_data/132867.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pointmake ## -- Begin function pointmake
.p2align 4, 0x90
_pointmake: ## @pointmake
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
shlq $32, %rsi
movl %edi, %eax
orq %rsi, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI1_0:
.quad 25769803781 ## 0x600000005
.quad 8589934593 ## 0x200000001
.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
movaps LCPI1_0(%rip), %xmm0 ## xmm0 = [25769803781,8589934593]
movq _seg@GOTPCREL(%rip), %rax
movups %xmm0, (%rax)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _seg,16,2 ## @seg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pointmake ; -- Begin function pointmake
.p2align 2
_pointmake: ; @pointmake
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
mov w0, w0
bfi x0, x1, #32, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function main
lCPI1_0:
.quad 25769803781 ; 0x600000005
.quad 8589934593 ; 0x200000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, lCPI1_0@PAGE
Lloh1:
ldr q0, [x8, lCPI1_0@PAGEOFF]
Lloh2:
adrp x8, _seg@GOTPAGE
Lloh3:
ldr x8, [x8, _seg@GOTPAGEOFF]
Lloh4:
str q0, [x8]
mov w0, #0
ret
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpAdrp Lloh0, Lloh2
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _seg,16,2 ; @seg
.subsections_via_symbols
| the_stack_data/31059.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pevent_filter_copy ## -- Begin function pevent_filter_copy
.p2align 4, 0x90
_pevent_filter_copy: ## @pevent_filter_copy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r15
movq %rdi, %r14
callq _pevent_filter_reset
cmpl $0, (%r15)
jle LBB0_1
## %bb.2:
xorl %r13d, %r13d
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rdx
addq %r13, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _copy_filter_type
negq %rax
movl $0, %eax
sbbl %eax, %eax
orl %eax, %r12d
incq %rbx
movslq (%r15), %rax
addq $4, %r13
cmpq %rax, %rbx
jl LBB0_3
jmp LBB0_4
LBB0_1:
xorl %r12d, %r12d
LBB0_4:
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pevent_filter_copy ; -- Begin function pevent_filter_copy
.p2align 2
_pevent_filter_copy: ; @pevent_filter_copy
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
bl _pevent_filter_reset
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x22, #0
mov x23, #0
mov w21, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x2, x8, x22
mov x0, x20
mov x1, x19
bl _copy_filter_type
cmp x0, #0
csinv w21, w21, wzr, eq
add x23, x23, #1
ldrsw x8, [x19]
add x22, x22, #4
cmp x23, x8
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov w21, #0
LBB0_4:
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
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/tools/lib/traceevent/extr_parse-filter.c_pevent_filter_copy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Process_isThread ## -- Begin function Process_isThread
.p2align 4, 0x90
_Process_isThread: ## @Process_isThread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $1, (%rdi)
jne LBB0_2
## %bb.1:
movl $1, %eax
popq %rbp
retq
LBB0_2:
popq %rbp
jmp _Process_isUserlandThread ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Process_isThread ; -- Begin function Process_isThread
.p2align 2
_Process_isThread: ; @Process_isThread
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.ne LBB0_2
; %bb.1:
mov w0, #1
ret
LBB0_2:
b _Process_isUserlandThread
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/htop/dragonflybsd/extr_DragonFlyBSDProcess.c_Process_isThread.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_vnode_check_setflags
_test_vnode_check_setflags: ## @test_vnode_check_setflags
.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
movq (%rdi), %rdi
movq _MAGIC_CRED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _LABEL_CHECK
movq _MAGIC_VNODE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LABEL_CHECK
movq _vnode_check_setflags@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _COUNTER_INC
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAGIC_CRED,4,2 ## @MAGIC_CRED
.comm _MAGIC_VNODE,4,2 ## @MAGIC_VNODE
.comm _vnode_check_setflags,4,2 ## @vnode_check_setflags
.no_dead_strip _test_vnode_check_setflags
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_vnode_check_setflags
_test_vnode_check_setflags: ; @test_vnode_check_setflags
.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
ldr x0, [x0]
Lloh0:
adrp x8, _MAGIC_CRED@GOTPAGE
Lloh1:
ldr x8, [x8, _MAGIC_CRED@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _LABEL_CHECK
Lloh3:
adrp x8, _MAGIC_VNODE@GOTPAGE
Lloh4:
ldr x8, [x8, _MAGIC_VNODE@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _LABEL_CHECK
Lloh6:
adrp x8, _vnode_check_setflags@GOTPAGE
Lloh7:
ldr x8, [x8, _vnode_check_setflags@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
bl _COUNTER_INC
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MAGIC_CRED,4,2 ; @MAGIC_CRED
.comm _MAGIC_VNODE,4,2 ; @MAGIC_VNODE
.comm _vnode_check_setflags,4,2 ; @vnode_check_setflags
.no_dead_strip _test_vnode_check_setflags
.subsections_via_symbols
| AnghaBench/freebsd/sys/security/mac_test/extr_mac_test.c_test_vnode_check_setflags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _moea_remove_all ## -- Begin function moea_remove_all
.p2align 4, 0x90
_moea_remove_all: ## @moea_remove_all
.cfi_startproc
## %bb.0:
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 _pvh_global_lock@GOTPCREL(%rip), %rdi
callq _rw_wlock
movq %r14, %rdi
callq _vm_page_to_pvoh
movq %rax, %rdi
callq _LIST_FIRST
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rax, %rbx
movq _pvo_vlink@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r13), %esi
movq %rbx, %rdi
callq _LIST_NEXT
movq %rax, %r15
movl (%rbx), %r12d
movl %r12d, %edi
callq _PMAP_LOCK
movq %rbx, %rdi
movl $-1, %esi
callq _moea_pvo_remove
movl %r12d, %edi
callq _PMAP_UNLOCK
movq %r15, %rbx
testq %r15, %r15
jne LBB0_2
LBB0_3:
movq _PGA_WRITEABLE@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
testl %eax, (%r14)
je LBB0_6
## %bb.4:
movq _PTE_CHG@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq %r14, %rdi
callq _moea_query_bit
testq %rax, %rax
je LBB0_6
## %bb.5:
movl (%r15), %esi
movq %r14, %rdi
callq _moea_attr_clear
movq %r14, %rdi
callq _vm_page_dirty
LBB0_6:
movl (%rbx), %esi
movq %r14, %rdi
callq _vm_page_aflag_clear
movq _pvh_global_lock@GOTPCREL(%rip), %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _rw_wunlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _pvh_global_lock,4,2 ## @pvh_global_lock
.comm _pvo_vlink,4,2 ## @pvo_vlink
.comm _PGA_WRITEABLE,4,2 ## @PGA_WRITEABLE
.comm _PTE_CHG,4,2 ## @PTE_CHG
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _moea_remove_all ; -- Begin function moea_remove_all
.p2align 2
_moea_remove_all: ; @moea_remove_all
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
Lloh0:
adrp x0, _pvh_global_lock@GOTPAGE
Lloh1:
ldr x0, [x0, _pvh_global_lock@GOTPAGEOFF]
bl _rw_wlock
mov x0, x19
bl _vm_page_to_pvoh
bl _LIST_FIRST
cbz x0, LBB0_3
; %bb.1:
mov x20, x0
Lloh2:
adrp x23, _pvo_vlink@GOTPAGE
Lloh3:
ldr x23, [x23, _pvo_vlink@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w1, [x23]
mov x0, x20
bl _LIST_NEXT
mov x21, x0
ldr w22, [x20]
mov x0, x22
bl _PMAP_LOCK
mov x0, x20
mov w1, #-1
bl _moea_pvo_remove
mov x0, x22
bl _PMAP_UNLOCK
mov x20, x21
cbnz x21, LBB0_2
LBB0_3:
ldr w8, [x19]
Lloh4:
adrp x20, _PGA_WRITEABLE@GOTPAGE
Lloh5:
ldr x20, [x20, _PGA_WRITEABLE@GOTPAGEOFF]
ldr w9, [x20]
tst w9, w8
b.eq LBB0_6
; %bb.4:
Lloh6:
adrp x21, _PTE_CHG@GOTPAGE
Lloh7:
ldr x21, [x21, _PTE_CHG@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x19
bl _moea_query_bit
cbz x0, LBB0_6
; %bb.5:
ldr w1, [x21]
mov x0, x19
bl _moea_attr_clear
mov x0, x19
bl _vm_page_dirty
LBB0_6:
ldr w1, [x20]
mov x0, x19
bl _vm_page_aflag_clear
Lloh8:
adrp x0, _pvh_global_lock@GOTPAGE
Lloh9:
ldr x0, [x0, _pvh_global_lock@GOTPAGEOFF]
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 _rw_wunlock
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _pvh_global_lock,4,2 ; @pvh_global_lock
.comm _pvo_vlink,4,2 ; @pvo_vlink
.comm _PGA_WRITEABLE,4,2 ; @PGA_WRITEABLE
.comm _PTE_CHG,4,2 ; @PTE_CHG
.subsections_via_symbols
| AnghaBench/freebsd/sys/powerpc/aim/extr_mmu_oea.c_moea_remove_all.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __niu_wait_bits_clear
___niu_wait_bits_clear: ## @__niu_wait_bits_clear
.cfi_startproc
## %bb.0:
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
testl %ecx, %ecx
jle LBB0_5
## %bb.1:
movl %r8d, %r14d
movl %ecx, %ebx
movl %edx, %r15d
movq %rsi, %r12
incl %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _nr64
testl %r15d, %eax
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl %r14d, %edi
callq _udelay
decl %ebx
cmpl $1, %ebx
jg LBB0_2
LBB0_5:
movq _ENODEV@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_6
LBB0_3:
xorl %eax, %eax
LBB0_6:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENODEV,4,2 ## @ENODEV
.no_dead_strip ___niu_wait_bits_clear
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __niu_wait_bits_clear
___niu_wait_bits_clear: ; @__niu_wait_bits_clear
.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
cmp w3, #1
b.lt LBB0_4
; %bb.1:
mov x19, x4
mov x20, x2
mov x21, x1
add w22, w3, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _nr64
tst w0, w20
b.eq LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
bl _udelay
sub w22, w22, #1
cmp w22, #1
b.gt LBB0_2
LBB0_4:
Lloh0:
adrp x8, _ENODEV@GOTPAGE
Lloh1:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
b LBB0_6
LBB0_5:
mov w0, #0
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ENODEV,4,2 ; @ENODEV
.no_dead_strip ___niu_wait_bits_clear
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/sun/extr_niu.c___niu_wait_bits_clear.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function msm_pinmux_request_gpio
_msm_pinmux_request_gpio: ## @msm_pinmux_request_gpio
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edx, %r14d
movq %rdi, %rbx
callq _pinctrl_dev_get_drvdata
movq (%rax), %rax
movq (%rax), %rax
movl %r14d, %ecx
shlq $4, %rcx
cmpl $0, 8(%rax,%rcx)
je LBB0_1
## %bb.2:
movq (%rax,%rcx), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl %r14d, %edx
popq %rbx
popq %r14
popq %rbp
jmp _msm_pinmux_set_mux ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _msm_pinmux_request_gpio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function msm_pinmux_request_gpio
_msm_pinmux_request_gpio: ; @msm_pinmux_request_gpio
.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
mov x20, x0
bl _pinctrl_dev_get_drvdata
ldr x8, [x0]
ldr x8, [x8]
add x9, x8, w19, uxtw #4
ldr w9, [x9, #8]
cbz w9, LBB0_2
; %bb.1:
mov w9, w19
lsl x9, x9, #4
ldr x8, [x8, x9]
ldr w1, [x8]
mov x0, x20
mov x2, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _msm_pinmux_set_mux
LBB0_2:
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 _msm_pinmux_request_gpio
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/qcom/extr_pinctrl-msm.c_msm_pinmux_request_gpio.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %r15d, %r15d
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -28(%rbp)
jle LBB0_5
## %bb.1:
movl $1, %r14d
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl $1, %ebx
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %edi
andl $1, %edi
orl $48, %edi
callq _putchar
leal (%r15,%rbx), %eax
incl %eax
movl %ebx, %ecx
incl %ecx
movl %ecx, %ebx
cmpl $2, %eax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
leal 1(%r14), %eax
decl %r15d
cmpl -28(%rbp), %r14d
movl %eax, %r14d
jl LBB0_2
LBB0_5:
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: ## @.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, #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
add x8, sp, #12
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_5
; %bb.1:
mov w19, #1
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
mov w20, #0
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
add w20, w20, #1
mov w0, #48
bfxil w0, w20, #0, #1
bl _putchar
cmp w19, w20
b.ne LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
mov w0, #10
bl _putchar
add w8, w19, #1
ldr w9, [sp, #12]
cmp w19, w9
mov x19, x8
b.lt LBB0_2
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/21488.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qib_late_7220_initreg
_qib_late_7220_initreg: ## @qib_late_7220_initreg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq _kr_rcvhdrentsize@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%rdi), %rdx
callq _qib_write_kreg
movq _kr_rcvhdrsize@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 8(%rbx), %rdx
movq %rbx, %rdi
callq _qib_write_kreg
movq _kr_rcvhdrcnt@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq 16(%rbx), %rdx
movq %rbx, %rdi
callq _qib_write_kreg
movq _kr_sendpioavailaddr@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq 24(%rbx), %rdx
movq %rbx, %rdi
callq _qib_write_kreg
movl (%r14), %esi
movq %rbx, %rdi
callq _qib_read_kreg64
movq 24(%rbx), %rdx
xorl %r14d, %r14d
cmpq %rdx, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
movq %rax, %rcx
callq _qib_dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_2:
movq _sendctrl_observer@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
callq _qib_register_observer
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _kr_rcvhdrentsize,4,2 ## @kr_rcvhdrentsize
.comm _kr_rcvhdrsize,4,2 ## @kr_rcvhdrsize
.comm _kr_rcvhdrcnt,4,2 ## @kr_rcvhdrcnt
.comm _kr_sendpioavailaddr,4,2 ## @kr_sendpioavailaddr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Catastrophic software error, SendPIOAvailAddr written as %lx, read back as %llx\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _sendctrl_observer,4,2 ## @sendctrl_observer
.no_dead_strip _qib_late_7220_initreg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qib_late_7220_initreg
_qib_late_7220_initreg: ; @qib_late_7220_initreg
.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, _kr_rcvhdrentsize@GOTPAGE
Lloh1:
ldr x8, [x8, _kr_rcvhdrentsize@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr x2, [x0]
bl _qib_write_kreg
Lloh3:
adrp x8, _kr_rcvhdrsize@GOTPAGE
Lloh4:
ldr x8, [x8, _kr_rcvhdrsize@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
ldr x2, [x19, #8]
mov x0, x19
bl _qib_write_kreg
Lloh6:
adrp x8, _kr_rcvhdrcnt@GOTPAGE
Lloh7:
ldr x8, [x8, _kr_rcvhdrcnt@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr x2, [x19, #16]
mov x0, x19
bl _qib_write_kreg
Lloh9:
adrp x20, _kr_sendpioavailaddr@GOTPAGE
Lloh10:
ldr x20, [x20, _kr_sendpioavailaddr@GOTPAGEOFF]
ldr w1, [x20]
ldr x2, [x19, #24]
mov x0, x19
bl _qib_write_kreg
ldr w1, [x20]
mov x0, x19
bl _qib_read_kreg64
ldr x2, [x19, #24]
cmp x0, x2
b.ne LBB0_2
; %bb.1:
mov w20, #0
b LBB0_3
LBB0_2:
mov x3, x0
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _qib_dev_err
Lloh13:
adrp x8, _EINVAL@GOTPAGE
Lloh14:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
neg w20, w8
LBB0_3:
Lloh16:
adrp x1, _sendctrl_observer@GOTPAGE
Lloh17:
ldr x1, [x1, _sendctrl_observer@GOTPAGEOFF]
mov x0, x19
bl _qib_register_observer
mov x0, x20
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 AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _kr_rcvhdrentsize,4,2 ; @kr_rcvhdrentsize
.comm _kr_rcvhdrsize,4,2 ; @kr_rcvhdrsize
.comm _kr_rcvhdrcnt,4,2 ; @kr_rcvhdrcnt
.comm _kr_sendpioavailaddr,4,2 ; @kr_sendpioavailaddr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Catastrophic software error, SendPIOAvailAddr written as %lx, read back as %llx\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _sendctrl_observer,4,2 ; @sendctrl_observer
.no_dead_strip _qib_late_7220_initreg
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba7220.c_qib_late_7220_initreg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movl %edi, %r12d
movl $2, %ebx
movb $1, %al
movl %eax, -56(%rbp) ## 4-byte Spill
movl $0, -48(%rbp) ## 4-byte Folded Spill
leaq L_.str(%rip), %r13
leaq LJTI0_0(%rip), %r14
## implicit-def: $rax
## kill: killed $rax
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_2 Depth 2
movl %ebx, %eax
jmp LBB0_2
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_2 Depth=2
xorl %eax, %eax
LBB0_2: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %eax, %ebx
movl %r12d, %edi
movq %r15, %rsi
movq %r13, %rdx
callq _getopt
## kill: def $eax killed $eax def $rax
leal -63(%rax), %ecx
cmpl $55, %ecx
ja LBB0_3
## %bb.6: ## in Loop: Header=BB0_2 Depth=2
movl $2, %eax
movslq (%r14,%rcx,4), %rcx
addq %r14, %rcx
jmpq *%rcx
LBB0_23: ## in Loop: Header=BB0_2 Depth=2
movl $1, %eax
jmp LBB0_2
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
cmpb $0, (%rdi)
je LBB0_9
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq %rdi, -56(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rsi
xorl %edx, %edx
callq _strtoul
movq -64(%rbp), %rcx
cmpb $0, (%rcx)
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
movl $0, -56(%rbp) ## 4-byte Folded Spill
jmp LBB0_1
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movq _optarg@GOTPCREL(%rip), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_1 Depth=1
cmpb $0, (%rdi)
je LBB0_19
## %bb.20: ## in Loop: Header=BB0_1 Depth=1
movq %rdi, -48(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rsi
xorl %edx, %edx
callq _strtoul
movq -64(%rbp), %rax
cmpb $0, (%rax)
jne LBB0_22
## %bb.21: ## in Loop: Header=BB0_1 Depth=1
movb $1, %al
movl %eax, -48(%rbp) ## 4-byte Spill
jmp LBB0_1
LBB0_29:
leaq L_str.7(%rip), %rdi
callq _puts
jmp LBB0_30
LBB0_3:
cmpl $-1, %eax
jne LBB0_30
## %bb.4:
cmpb $0, -48(%rbp) ## 1-byte Folded Reload
sete %al
movl -56(%rbp), %ecx ## 4-byte Reload
orb %al, %cl
testb $1, %cl
je LBB0_25
## %bb.5:
leaq L_str(%rip), %rdi
callq _puts
jmp LBB0_15
LBB0_30:
xorl %eax, %eax
LBB0_31:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_25:
movl $-1, %eax
movl %ebx, %ecx
shll %cl, %eax
notl %eax
movq -72(%rbp), %rcx ## 8-byte Reload
testl %ecx, %eax
je LBB0_27
## %bb.26:
leaq L_str.6(%rip), %rdi
jmp LBB0_16
LBB0_27:
xorl %eax, %eax
cmpl $2, %ebx
jne LBB0_31
## %bb.28:
movq $0, (%rcx)
jmp LBB0_31
LBB0_9:
leaq L_.str.3(%rip), %rdi
movl $97, %esi
jmp LBB0_10
LBB0_19:
leaq L_.str.3(%rip), %rdi
movl $118, %esi
LBB0_10:
xorl %eax, %eax
callq _printf
jmp LBB0_15
LBB0_13:
leaq L_.str.4(%rip), %rdi
movl $97, %esi
movq -56(%rbp), %rdx ## 8-byte Reload
jmp LBB0_14
LBB0_22:
leaq L_.str.4(%rip), %rdi
movl $118, %esi
movq -48(%rbp), %rdx ## 8-byte Reload
LBB0_14:
xorl %eax, %eax
callq _printf
LBB0_15:
leaq L_str.7(%rip), %rdi
LBB0_16:
callq _puts
movl $-22, %eax
jmp LBB0_31
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_7
.long L0_0_set_30
.long L0_0_set_24
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_2
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_23
.long L0_0_set_30
.long L0_0_set_30
.long L0_0_set_17
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "a:v:hlsc"
L_.str.3: ## @.str.3
.asciz "wmem -%c: option expected\n"
L_.str.4: ## @.str.4
.asciz "wmem -%c: invalid option: %s\n"
L_str: ## @str
.asciz "wmem: both -a and -v options required"
L_str.6: ## @str.6
.asciz "address is not aligned to selected mem access"
L_str.7: ## @str.7
.asciz "Usage: wmem [-h] [-l -s -c] -a addr -v value"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
mov x20, x0
mov w28, #0
mov w27, #0
mov w24, #2
Lloh0:
adrp x21, l_.str@PAGE
Lloh1:
add x21, x21, l_.str@PAGEOFF
Lloh2:
adrp x25, _optarg@GOTPAGE
Lloh3:
ldr x25, [x25, _optarg@GOTPAGEOFF]
; implicit-def: $x22
Lloh4:
adrp x26, lJTI0_0@PAGE
Lloh5:
add x26, x26, lJTI0_0@PAGEOFF
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
mov x8, x24
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=2
mov w8, #0
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x24, x8
mov x0, x20
mov x1, x19
mov x2, x21
bl _getopt
sub w9, w0, #63
cmp w9, #55
b.hi LBB0_15
; %bb.4: ; in Loop: Header=BB0_3 Depth=2
mov w8, #2
adr x10, LBB0_2
ldrb w11, [x26, x9]
add x10, x10, x11, lsl #2
br x10
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
mov w8, #1
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr x23, [x25]
cbz x23, LBB0_24
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [x23]
cbz w8, LBB0_24
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
add x1, sp, #24
mov x0, x23
mov w2, #0
bl _strtoul
ldr x8, [sp, #24]
ldrb w8, [x8]
cbnz w8, LBB0_27
; %bb.9: ; in Loop: Header=BB0_1 Depth=1
mov x22, x0
mov w28, #1
b LBB0_1
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldr x23, [x25]
cbz x23, LBB0_25
; %bb.11: ; in Loop: Header=BB0_1 Depth=1
ldrb w8, [x23]
cbz w8, LBB0_25
; %bb.12: ; in Loop: Header=BB0_1 Depth=1
add x1, sp, #24
mov x0, x23
mov w2, #0
bl _strtoul
ldr x8, [sp, #24]
ldrb w8, [x8]
cbnz w8, LBB0_28
; %bb.13: ; in Loop: Header=BB0_1 Depth=1
mov w27, #1
b LBB0_1
LBB0_14:
Lloh6:
adrp x0, l_str.7@PAGE
Lloh7:
add x0, x0, l_str.7@PAGEOFF
bl _puts
b LBB0_22
LBB0_15:
cmn w0, #1
b.ne LBB0_22
; %bb.16:
and w8, w28, w27
tbz w8, #0, LBB0_19
; %bb.17:
mov w8, #-1
lsl w8, w8, w24
bics wzr, w22, w8
b.eq LBB0_20
; %bb.18:
Lloh8:
adrp x0, l_str.6@PAGE
Lloh9:
add x0, x0, l_str.6@PAGEOFF
b LBB0_32
LBB0_19:
Lloh10:
adrp x0, l_str@PAGE
Lloh11:
add x0, x0, l_str@PAGEOFF
bl _puts
b LBB0_31
LBB0_20:
cmp w24, #2
b.ne LBB0_22
; %bb.21:
mov w0, #0
str xzr, [x22]
b LBB0_23
LBB0_22:
mov w0, #0
LBB0_23:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_24:
mov w8, #97
b LBB0_26
LBB0_25:
mov w8, #118
LBB0_26:
str x8, [sp]
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_30
LBB0_27:
mov w8, #97
b LBB0_29
LBB0_28:
mov w8, #118
LBB0_29:
stp x8, x23, [sp]
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
LBB0_30:
bl _printf
LBB0_31:
Lloh16:
adrp x0, l_str.7@PAGE
Lloh17:
add x0, x0, l_str.7@PAGEOFF
LBB0_32:
bl _puts
mov w0, #-22
b LBB0_23
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_14-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_22-LBB0_2)>>2
.byte (LBB0_10-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "a:v:hlsc"
l_.str.3: ; @.str.3
.asciz "wmem -%c: option expected\n"
l_.str.4: ; @.str.4
.asciz "wmem -%c: invalid option: %s\n"
l_str: ; @str
.asciz "wmem: both -a and -v options required"
l_str.6: ; @str.6
.asciz "address is not aligned to selected mem access"
l_str.7: ; @str.7
.asciz "Usage: wmem [-h] [-l -s -c] -a addr -v value"
.subsections_via_symbols
| the_stack_data/154830716.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sun6i_dsi_encoder_enable
_sun6i_dsi_encoder_enable: ## @sun6i_dsi_encoder_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rax
movq (%rax), %r14
callq _encoder_to_sun6i_dsi
movq %rax, %rbx
movq 16(%rax), %r13
movl $0, -48(%rbp)
leaq L_.str(%rip), %rdi
callq _DRM_DEBUG_DRIVER
movl 12(%rbx), %edi
callq _pm_runtime_get_sync
movq %rbx, %rdi
movq %r14, %rsi
callq _sun6i_dsi_get_video_start_delay
movl 8(%rbx), %r15d
movq _SUN6I_DSI_BASIC_CTL1_REG@GOTPCREL(%rip), %rcx
movl (%rcx), %r12d
movl %eax, %edi
callq _SUN6I_DSI_BASIC_CTL1_VIDEO_ST_DELAY
movq _SUN6I_DSI_BASIC_CTL1_VIDEO_FILL@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _SUN6I_DSI_BASIC_CTL1_VIDEO_MODE@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %r15d, %edi
movl %r12d, %esi
movl %eax, %edx
callq _regmap_write
movq %rbx, %rdi
movq %r14, %rsi
callq _sun6i_dsi_setup_burst
movq %rbx, %rdi
movq %r14, %rsi
callq _sun6i_dsi_setup_inst_loop
movq %rbx, %rdi
movq %r14, %rsi
callq _sun6i_dsi_setup_format
movq %rbx, %rdi
movq %r14, %rsi
callq _sun6i_dsi_setup_timings
movl 4(%rbx), %edi
callq _phy_init
imull $1000, (%r14), %r14d ## imm = 0x3E8
movl 4(%r13), %edi
callq _mipi_dsi_pixel_format_to_bpp
movl (%r13), %edx
leaq -48(%rbp), %r15
movl %r14d, %edi
movl %eax, %esi
movq %r15, %rcx
callq _phy_mipi_dphy_get_default_config
movl 4(%rbx), %edi
movq _PHY_MODE_MIPI_DPHY@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _phy_set_mode
movl 4(%rbx), %edi
movq %r15, %rsi
callq _phy_configure
movl 4(%rbx), %edi
callq _phy_power_on
movl (%rbx), %edi
callq _IS_ERR
testl %eax, %eax
jne LBB0_2
## %bb.1:
movl (%rbx), %edi
callq _drm_panel_prepare
LBB0_2:
movl (%rbx), %edi
callq _IS_ERR
testl %eax, %eax
jne LBB0_4
## %bb.3:
movl (%rbx), %edi
callq _drm_panel_enable
LBB0_4:
movq _DSI_START_HSC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _sun6i_dsi_start
movl $1000, %edi ## imm = 0x3E8
callq _udelay
movq _DSI_START_HSD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _sun6i_dsi_start
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 "Enabling DSI output\n"
.comm _SUN6I_DSI_BASIC_CTL1_REG,4,2 ## @SUN6I_DSI_BASIC_CTL1_REG
.comm _SUN6I_DSI_BASIC_CTL1_VIDEO_FILL,4,2 ## @SUN6I_DSI_BASIC_CTL1_VIDEO_FILL
.comm _SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION,4,2 ## @SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION
.comm _SUN6I_DSI_BASIC_CTL1_VIDEO_MODE,4,2 ## @SUN6I_DSI_BASIC_CTL1_VIDEO_MODE
.comm _PHY_MODE_MIPI_DPHY,4,2 ## @PHY_MODE_MIPI_DPHY
.comm _DSI_START_HSC,4,2 ## @DSI_START_HSC
.comm _DSI_START_HSD,4,2 ## @DSI_START_HSD
.no_dead_strip _sun6i_dsi_encoder_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sun6i_dsi_encoder_enable
_sun6i_dsi_encoder_enable: ; @sun6i_dsi_encoder_enable
.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
ldr x8, [x0]
ldr x20, [x8]
bl _encoder_to_sun6i_dsi
mov x19, x0
ldr x23, [x0, #16]
str wzr, [sp, #8]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DRM_DEBUG_DRIVER
ldr w0, [x19, #12]
bl _pm_runtime_get_sync
mov x0, x19
mov x1, x20
bl _sun6i_dsi_get_video_start_delay
ldr w21, [x19, #8]
Lloh2:
adrp x8, _SUN6I_DSI_BASIC_CTL1_REG@GOTPAGE
Lloh3:
ldr x8, [x8, _SUN6I_DSI_BASIC_CTL1_REG@GOTPAGEOFF]
Lloh4:
ldr w22, [x8]
bl _SUN6I_DSI_BASIC_CTL1_VIDEO_ST_DELAY
Lloh5:
adrp x8, _SUN6I_DSI_BASIC_CTL1_VIDEO_FILL@GOTPAGE
Lloh6:
ldr x8, [x8, _SUN6I_DSI_BASIC_CTL1_VIDEO_FILL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
orr w8, w8, w0
Lloh8:
adrp x9, _SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION@GOTPAGE
Lloh9:
ldr x9, [x9, _SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
orr w8, w8, w9
Lloh11:
adrp x9, _SUN6I_DSI_BASIC_CTL1_VIDEO_MODE@GOTPAGE
Lloh12:
ldr x9, [x9, _SUN6I_DSI_BASIC_CTL1_VIDEO_MODE@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w2, w8, w9
mov x0, x21
mov x1, x22
bl _regmap_write
mov x0, x19
mov x1, x20
bl _sun6i_dsi_setup_burst
mov x0, x19
mov x1, x20
bl _sun6i_dsi_setup_inst_loop
mov x0, x19
mov x1, x20
bl _sun6i_dsi_setup_format
mov x0, x19
mov x1, x20
bl _sun6i_dsi_setup_timings
ldr w0, [x19, #4]
bl _phy_init
ldr w8, [x20]
mov w9, #1000
mul w20, w8, w9
ldr w0, [x23, #4]
bl _mipi_dsi_pixel_format_to_bpp
mov x1, x0
ldr w2, [x23]
add x3, sp, #8
mov x0, x20
bl _phy_mipi_dphy_get_default_config
ldr w0, [x19, #4]
Lloh14:
adrp x8, _PHY_MODE_MIPI_DPHY@GOTPAGE
Lloh15:
ldr x8, [x8, _PHY_MODE_MIPI_DPHY@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
bl _phy_set_mode
ldr w0, [x19, #4]
add x1, sp, #8
bl _phy_configure
ldr w0, [x19, #4]
bl _phy_power_on
ldr w0, [x19]
bl _IS_ERR
cbnz w0, LBB0_2
; %bb.1:
ldr w0, [x19]
bl _drm_panel_prepare
LBB0_2:
ldr w0, [x19]
bl _IS_ERR
cbnz w0, LBB0_4
; %bb.3:
ldr w0, [x19]
bl _drm_panel_enable
LBB0_4:
Lloh17:
adrp x8, _DSI_START_HSC@GOTPAGE
Lloh18:
ldr x8, [x8, _DSI_START_HSC@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
mov x0, x19
bl _sun6i_dsi_start
mov w0, #1000
bl _udelay
Lloh20:
adrp x8, _DSI_START_HSD@GOTPAGE
Lloh21:
ldr x8, [x8, _DSI_START_HSD@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
mov x0, x19
bl _sun6i_dsi_start
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 Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enabling DSI output\n"
.comm _SUN6I_DSI_BASIC_CTL1_REG,4,2 ; @SUN6I_DSI_BASIC_CTL1_REG
.comm _SUN6I_DSI_BASIC_CTL1_VIDEO_FILL,4,2 ; @SUN6I_DSI_BASIC_CTL1_VIDEO_FILL
.comm _SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION,4,2 ; @SUN6I_DSI_BASIC_CTL1_VIDEO_PRECISION
.comm _SUN6I_DSI_BASIC_CTL1_VIDEO_MODE,4,2 ; @SUN6I_DSI_BASIC_CTL1_VIDEO_MODE
.comm _PHY_MODE_MIPI_DPHY,4,2 ; @PHY_MODE_MIPI_DPHY
.comm _DSI_START_HSC,4,2 ; @DSI_START_HSC
.comm _DSI_START_HSD,4,2 ; @DSI_START_HSD
.no_dead_strip _sun6i_dsi_encoder_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/sun4i/extr_sun6i_mipi_dsi.c_sun6i_dsi_encoder_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cl_print_build_errors ## -- Begin function cl_print_build_errors
.p2align 4, 0x90
_cl_print_build_errors: ## @cl_print_build_errors
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movl %edi, %r15d
movq _CL_PROGRAM_BUILD_STATUS@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -36(%rbp), %r8
movl $4, %ecx
xorl %r9d, %r9d
xorl %eax, %eax
callq _clGetProgramBuildInfo
movq _CL_PROGRAM_BUILD_LOG@GOTPCREL(%rip), %r12
movl (%r12), %edx
leaq -48(%rbp), %r9
movl %r15d, %edi
movl %r14d, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %eax, %eax
callq _clGetProgramBuildInfo
movq -48(%rbp), %rdi
incq %rdi
movl $1, %esi
callq _calloc
movq %rax, %rbx
movq %rax, %rdi
callq _assert
movl (%r12), %edx
movq -48(%rbp), %rcx
incq %rcx
movl %r15d, %edi
movl %r14d, %esi
movq %rbx, %r8
xorl %r9d, %r9d
xorl %eax, %eax
callq _clGetProgramBuildInfo
movl -36(%rbp), %esi
leaq L_.str(%rip), %rdi
movq %rbx, %rdx
callq _printf
movq %rbx, %rdi
callq _free
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CL_PROGRAM_BUILD_STATUS,4,2 ## @CL_PROGRAM_BUILD_STATUS
.comm _CL_PROGRAM_BUILD_LOG,4,2 ## @CL_PROGRAM_BUILD_LOG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "build failed; status=%d, log:\n%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cl_print_build_errors ; -- Begin function cl_print_build_errors
.p2align 2
_cl_print_build_errors: ; @cl_print_build_errors
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _CL_PROGRAM_BUILD_STATUS@GOTPAGE
Lloh1:
ldr x8, [x8, _CL_PROGRAM_BUILD_STATUS@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
add x8, sp, #28
stp x8, xzr, [sp]
mov w3, #4
bl _clGetProgramBuildInfo
Lloh3:
adrp x22, _CL_PROGRAM_BUILD_LOG@GOTPAGE
Lloh4:
ldr x22, [x22, _CL_PROGRAM_BUILD_LOG@GOTPAGEOFF]
ldr w2, [x22]
add x8, sp, #16
stp xzr, x8, [sp]
mov x0, x20
mov x1, x19
mov x3, #0
bl _clGetProgramBuildInfo
ldr x8, [sp, #16]
add x0, x8, #1
mov w1, #1
bl _calloc
mov x21, x0
bl _assert
ldr w2, [x22]
ldr x8, [sp, #16]
add x3, x8, #1
stp x21, xzr, [sp]
mov x0, x20
mov x1, x19
bl _clGetProgramBuildInfo
ldr w1, [sp, #28]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
mov x2, x21
bl _printf
mov x0, x21
bl _free
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 AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CL_PROGRAM_BUILD_STATUS,4,2 ; @CL_PROGRAM_BUILD_STATUS
.comm _CL_PROGRAM_BUILD_LOG,4,2 ; @CL_PROGRAM_BUILD_LOG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "build failed; status=%d, log:\n%s\n"
.subsections_via_symbols
| AnghaBench/openpilot/selfdrive/visiond/extr_clutil.c_cl_print_build_errors.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
xorl %eax, %eax
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _putc
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hello World!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x8, ___stdoutp@GOTPAGE
Lloh3:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh4:
ldr x1, [x8]
mov w0, #10
bl _putc
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hello World!"
.subsections_via_symbols
| the_stack_data/1221066.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pcapfile_close ## -- Begin function pcapfile_close
.p2align 4, 0x90
_pcapfile_close: ## @pcapfile_close
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_4
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
callq _fclose
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB0_4:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pcapfile_close ; -- Begin function pcapfile_close
.p2align 2
_pcapfile_close: ; @pcapfile_close
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
cbz x0, LBB0_3
; %bb.2:
bl _fclose
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/masscan/src/extr_rawsock-pcapfile.c_pcapfile_close.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function op32_tx_suspend
_op32_tx_suspend: ## @op32_tx_suspend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _B43_DMA32_TXCTL@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl %ebx, %esi
callq _b43_dma_read
movq _B43_DMA32_TXSUSPEND@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
popq %rbx
popq %r14
popq %rbp
jmp _b43_dma_write ## TAILCALL
.cfi_endproc
## -- End function
.comm _B43_DMA32_TXCTL,4,2 ## @B43_DMA32_TXCTL
.comm _B43_DMA32_TXSUSPEND,4,2 ## @B43_DMA32_TXSUSPEND
.no_dead_strip _op32_tx_suspend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function op32_tx_suspend
_op32_tx_suspend: ; @op32_tx_suspend
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x8, _B43_DMA32_TXCTL@GOTPAGE
Lloh1:
ldr x8, [x8, _B43_DMA32_TXCTL@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
mov x1, x20
bl _b43_dma_read
Lloh3:
adrp x8, _B43_DMA32_TXSUSPEND@GOTPAGE
Lloh4:
ldr x8, [x8, _B43_DMA32_TXSUSPEND@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
orr w2, w8, w0
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 _b43_dma_write
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _B43_DMA32_TXCTL,4,2 ; @B43_DMA32_TXCTL
.comm _B43_DMA32_TXSUSPEND,4,2 ; @B43_DMA32_TXSUSPEND
.no_dead_strip _op32_tx_suspend
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wireless/b43/extr_dma.c_op32_tx_suspend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dib7000m_read_status
_dib7000m_read_status: ## @dib7000m_read_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movq (%rdi), %rdi
movl $535, %esi ## imm = 0x217
callq _dib7000m_read_word
movl $0, (%rbx)
xorl %ecx, %ecx
testl $32768, %eax ## imm = 0x8000
je LBB0_2
## %bb.1:
movq _FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rbx)
LBB0_2:
testl $12288, %eax ## imm = 0x3000
je LBB0_4
## %bb.3:
movq _FE_HAS_CARRIER@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl %ecx, (%rbx)
LBB0_4:
testl $256, %eax ## imm = 0x100
jne LBB0_5
## %bb.6:
testb $16, %al
jne LBB0_7
LBB0_8:
testb $8, %al
je LBB0_10
LBB0_9:
movq _FE_HAS_LOCK@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl %ecx, (%rbx)
LBB0_10:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_5:
movq _FE_HAS_VITERBI@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl %ecx, (%rbx)
testb $16, %al
je LBB0_8
LBB0_7:
movq _FE_HAS_SYNC@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl %ecx, (%rbx)
testb $8, %al
jne LBB0_9
jmp LBB0_10
.cfi_endproc
## -- End function
.comm _FE_HAS_SIGNAL,4,2 ## @FE_HAS_SIGNAL
.comm _FE_HAS_CARRIER,4,2 ## @FE_HAS_CARRIER
.comm _FE_HAS_VITERBI,4,2 ## @FE_HAS_VITERBI
.comm _FE_HAS_SYNC,4,2 ## @FE_HAS_SYNC
.comm _FE_HAS_LOCK,4,2 ## @FE_HAS_LOCK
.no_dead_strip _dib7000m_read_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dib7000m_read_status
_dib7000m_read_status: ; @dib7000m_read_status
.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 x0, [x0]
mov w1, #535
bl _dib7000m_read_word
mov w8, #0
str wzr, [x19]
tbz w0, #15, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh1:
ldr x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19]
LBB0_2:
tst w0, #0x3000
b.eq LBB0_4
; %bb.3:
Lloh3:
adrp x9, _FE_HAS_CARRIER@GOTPAGE
Lloh4:
ldr x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x19]
LBB0_4:
tbnz w0, #8, LBB0_9
; %bb.5:
tbnz w0, #4, LBB0_10
LBB0_6:
tbz w0, #3, LBB0_8
LBB0_7:
Lloh6:
adrp x9, _FE_HAS_LOCK@GOTPAGE
Lloh7:
ldr x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x19]
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_9:
Lloh9:
adrp x9, _FE_HAS_VITERBI@GOTPAGE
Lloh10:
ldr x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x19]
tbz w0, #4, LBB0_6
LBB0_10:
Lloh12:
adrp x9, _FE_HAS_SYNC@GOTPAGE
Lloh13:
ldr x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh14:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x19]
tbnz w0, #3, LBB0_7
b LBB0_8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _FE_HAS_SIGNAL,4,2 ; @FE_HAS_SIGNAL
.comm _FE_HAS_CARRIER,4,2 ; @FE_HAS_CARRIER
.comm _FE_HAS_VITERBI,4,2 ; @FE_HAS_VITERBI
.comm _FE_HAS_SYNC,4,2 ; @FE_HAS_SYNC
.comm _FE_HAS_LOCK,4,2 ; @FE_HAS_LOCK
.no_dead_strip _dib7000m_read_status
.subsections_via_symbols
| AnghaBench/linux/drivers/media/dvb-frontends/extr_dib7000m.c_dib7000m_read_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pvscsi_dma_free_per_hcb
_pvscsi_dma_free_per_hcb: ## @pvscsi_dma_free_per_hcb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
leaq 24(%rdi), %rbx
movq %rbx, %rdi
callq _mtx_owned
movl %eax, -44(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _mtx_unlock
LBB0_2:
movq %rbx, -56(%rbp) ## 8-byte Spill
movl %r14d, %r13d
testl %r14d, %r14d
jle LBB0_5
## %bb.3:
leaq (,%r13,8), %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
leaq (%rax,%r12), %rdi
addq $4, %rdi
callq _callout_drain
addq $8, %r12
cmpq %r12, %rbx
jne LBB0_4
LBB0_5:
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
je LBB0_7
## %bb.6:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _mtx_lock
LBB0_7:
testl %r14d, %r14d
jle LBB0_10
## %bb.8:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
movl 8(%r15), %edi
movl (%rax,%rbx,8), %esi
callq _bus_dmamap_destroy
incq %rbx
cmpq %rbx, %r13
jne LBB0_9
LBB0_10:
leaq 4(%r15), %rsi
movq %r15, %rdi
callq _pvscsi_dma_free
movq %r15, %rdi
movq %r15, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _pvscsi_dma_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _pvscsi_dma_free_per_hcb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pvscsi_dma_free_per_hcb
_pvscsi_dma_free_per_hcb: ; @pvscsi_dma_free_per_hcb
.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 x20, x1
mov x19, x0
add x21, x0, #24
mov x0, x21
bl _mtx_owned
mov x22, x0
cbz w0, LBB0_2
; %bb.1:
mov x0, x21
bl _mtx_unlock
LBB0_2:
mov w23, w20
cmp w20, #1
b.lt LBB0_5
; %bb.3:
mov x24, #0
lsl x25, x23, #3
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
add x8, x8, x24
add x0, x8, #4
bl _callout_drain
add x24, x24, #8
cmp x25, x24
b.ne LBB0_4
LBB0_5:
cbz w22, LBB0_7
; %bb.6:
mov x0, x21
bl _mtx_lock
LBB0_7:
cmp w20, #1
b.lt LBB0_10
; %bb.8:
mov x20, #0
lsl x21, x23, #3
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr w0, [x19, #8]
ldr w1, [x8, x20]
bl _bus_dmamap_destroy
add x20, x20, #8
cmp x21, x20
b.ne LBB0_9
LBB0_10:
add x1, x19, #4
mov x0, x19
bl _pvscsi_dma_free
mov x0, x19
mov x1, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _pvscsi_dma_free
.cfi_endproc
; -- End function
.no_dead_strip _pvscsi_dma_free_per_hcb
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/vmware/pvscsi/extr_pvscsi.c_pvscsi_dma_free_per_hcb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _coda_mpeg2_level ## -- Begin function coda_mpeg2_level
.p2align 4, 0x90
_coda_mpeg2_level: ## @coda_mpeg2_level
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $edi killed $edi def $rdi
addl $-4, %edi
cmpl $6, %edi
ja LBB0_3
## %bb.1:
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_2:
movq _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbp
retq
LBB0_4:
movq _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_5:
movq _V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq _V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_3
.long L0_0_set_5
.long L0_0_set_3
.long L0_0_set_6
.end_data_region
## -- End function
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW,4,2 ## @V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN,4,2 ## @V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440,4,2 ## @V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH,4,2 ## @V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH
.comm _EINVAL,4,2 ## @EINVAL
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _coda_mpeg2_level ; -- Begin function coda_mpeg2_level
.p2align 2
_coda_mpeg2_level: ; @coda_mpeg2_level
.cfi_startproc
; %bb.0:
sub w8, w0, #4
cmp w8, #6
b.hi LBB0_3
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
Lloh2:
adrp x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH@GOTPAGE
Lloh3:
ldr x8, [x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ret
LBB0_3:
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
neg w0, w8
ret
LBB0_4:
Lloh8:
adrp x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440@GOTPAGE
Lloh9:
ldr x8, [x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
ret
LBB0_5:
Lloh11:
adrp x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN@GOTPAGE
Lloh12:
ldr x8, [x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN@GOTPAGEOFF]
Lloh13:
ldr w0, [x8]
ret
LBB0_6:
Lloh14:
adrp x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW@GOTPAGE
Lloh15:
ldr x8, [x8, _V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
; -- End function
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW,4,2 ; @V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN,4,2 ; @V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440,4,2 ; @V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440
.comm _V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH,4,2 ; @V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH
.comm _EINVAL,4,2 ; @EINVAL
.subsections_via_symbols
| AnghaBench/linux/drivers/media/platform/coda/extr_coda-mpeg2.c_coda_mpeg2_level.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fptr_whitelist_comm_point ## -- Begin function fptr_whitelist_comm_point
.p2align 4, 0x90
_fptr_whitelist_comm_point: ## @fptr_whitelist_comm_point
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq _worker_handle_request@GOTPCREL(%rip), %rdi
sete %al
cmpq _outnet_udp_cb@GOTPCREL(%rip), %rdi
sete %cl
orb %al, %cl
cmpq _outnet_tcp_cb@GOTPCREL(%rip), %rdi
sete %al
cmpq _tube_handle_listen@GOTPCREL(%rip), %rdi
sete %dl
orb %al, %dl
orb %cl, %dl
cmpq _auth_xfer_probe_udp_callback@GOTPCREL(%rip), %rdi
sete %al
cmpq _auth_xfer_transfer_tcp_callback@GOTPCREL(%rip), %rdi
sete %cl
orb %al, %cl
cmpq _auth_xfer_transfer_http_callback@GOTPCREL(%rip), %rdi
sete %al
orb %cl, %al
orb %dl, %al
movzbl %al, %eax
andl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _worker_handle_request,4,2 ## @worker_handle_request
.comm _outnet_udp_cb,4,2 ## @outnet_udp_cb
.comm _outnet_tcp_cb,4,2 ## @outnet_tcp_cb
.comm _tube_handle_listen,4,2 ## @tube_handle_listen
.comm _auth_xfer_probe_udp_callback,4,2 ## @auth_xfer_probe_udp_callback
.comm _auth_xfer_transfer_tcp_callback,4,2 ## @auth_xfer_transfer_tcp_callback
.comm _auth_xfer_transfer_http_callback,4,2 ## @auth_xfer_transfer_http_callback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fptr_whitelist_comm_point ; -- Begin function fptr_whitelist_comm_point
.p2align 2
_fptr_whitelist_comm_point: ; @fptr_whitelist_comm_point
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _worker_handle_request@GOTPAGE
Lloh1:
ldr x8, [x8, _worker_handle_request@GOTPAGEOFF]
cmp x0, x8
Lloh2:
adrp x8, _outnet_udp_cb@GOTPAGE
Lloh3:
ldr x8, [x8, _outnet_udp_cb@GOTPAGEOFF]
ccmp x0, x8, #4, ne
Lloh4:
adrp x8, _outnet_tcp_cb@GOTPAGE
Lloh5:
ldr x8, [x8, _outnet_tcp_cb@GOTPAGEOFF]
ccmp x0, x8, #4, ne
Lloh6:
adrp x8, _tube_handle_listen@GOTPAGE
Lloh7:
ldr x8, [x8, _tube_handle_listen@GOTPAGEOFF]
ccmp x0, x8, #4, ne
Lloh8:
adrp x8, _auth_xfer_probe_udp_callback@GOTPAGE
Lloh9:
ldr x8, [x8, _auth_xfer_probe_udp_callback@GOTPAGEOFF]
ccmp x0, x8, #4, ne
Lloh10:
adrp x8, _auth_xfer_transfer_tcp_callback@GOTPAGE
Lloh11:
ldr x8, [x8, _auth_xfer_transfer_tcp_callback@GOTPAGEOFF]
ccmp x0, x8, #4, ne
Lloh12:
adrp x8, _auth_xfer_transfer_http_callback@GOTPAGE
Lloh13:
ldr x8, [x8, _auth_xfer_transfer_http_callback@GOTPAGEOFF]
ccmp x0, x8, #4, ne
cset w0, eq
ret
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _worker_handle_request,4,2 ; @worker_handle_request
.comm _outnet_udp_cb,4,2 ; @outnet_udp_cb
.comm _outnet_tcp_cb,4,2 ; @outnet_tcp_cb
.comm _tube_handle_listen,4,2 ; @tube_handle_listen
.comm _auth_xfer_probe_udp_callback,4,2 ; @auth_xfer_probe_udp_callback
.comm _auth_xfer_transfer_tcp_callback,4,2 ; @auth_xfer_transfer_tcp_callback
.comm _auth_xfer_transfer_http_callback,4,2 ; @auth_xfer_transfer_http_callback
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/util/extr_fptr_wlist.c_fptr_whitelist_comm_point.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_dl_iterate_phdr_helper
_test_dl_iterate_phdr_helper: ## @test_dl_iterate_phdr_helper
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $10, %edi
callq _sleep
movl $1, %edi
callq __exit
.cfi_endproc
## -- End function
.no_dead_strip _test_dl_iterate_phdr_helper
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_dl_iterate_phdr_helper
_test_dl_iterate_phdr_helper: ; @test_dl_iterate_phdr_helper
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #10
bl _sleep
mov w0, #1
bl __exit
.cfi_endproc
; -- End function
.no_dead_strip _test_dl_iterate_phdr_helper
.subsections_via_symbols
| AnghaBench/freebsd/contrib/netbsd-tests/libexec/ld.elf_so/extr_h_locking.c_test_dl_iterate_phdr_helper.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isp_attach ## -- Begin function isp_attach
.p2align 4, 0x90
_isp_attach: ## @isp_attach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movl 28(%rdi), %edi
callq _device_get_nameunit
movq %rax, %r14
movl 40(%r12), %edi
callq _device_get_unit
movl %eax, %r15d
movl 36(%r12), %edi
callq _cam_simq_alloc
movq %rax, 8(%r12)
testq %rax, %rax
je LBB0_13
## %bb.1:
cmpl $0, (%r12)
jle LBB0_10
## %bb.2:
xorl %ebx, %ebx
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq _isp_attach_chan
testq %rax, %rax
jne LBB0_6
## %bb.3:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
incl %ebx
cmpl (%r12), %ebx
jge LBB0_10
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq 8(%r12), %rsi
movq %r12, %rdi
movl %ebx, %edx
callq _isp_attach_chan
testq %rax, %rax
je LBB0_4
LBB0_6:
testl %ebx, %ebx
je LBB0_9
## %bb.7:
incl %ebx
movq _FALSE@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
leal -2(%rbx), %r14d
movq %r12, %rdi
movl %r14d, %esi
callq _ISP_GET_PC
movq %r12, %rdi
movl %r14d, %esi
callq _ISP_GET_PC
callq _xpt_free_path
movq %r12, %rdi
callq _ISP_LOCK
callq _cam_sim_path
movl %eax, %edi
callq _xpt_bus_deregister
movq %r12, %rdi
callq _ISP_UNLOCK
movl (%r15), %esi
callq _cam_sim_free
decl %ebx
cmpl $1, %ebx
jg LBB0_8
LBB0_9:
movq 8(%r12), %rdi
callq _cam_simq_free
movq $0, 8(%r12)
movl $-1, %ebx
jmp LBB0_12
LBB0_13:
movq _EIO@GOTPCREL(%rip), %rax
movl (%rax), %ebx
jmp LBB0_12
LBB0_10:
leaq 24(%r12), %r13
leaq 32(%r12), %rsi
xorl %ebx, %ebx
movq %r13, %rdi
xorl %edx, %edx
callq _callout_init_mtx
movq _hz@GOTPCREL(%rip), %rax
movl (%rax), %esi
sarl $2, %esi
movq _isp_timer_count@GOTPCREL(%rip), %rax
movl %esi, (%rax)
movq _isp_timer@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r13, %rdi
movq %r12, %rcx
callq _callout_reset
movq _UID_ROOT@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _GID_OPERATOR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, (%rsp)
movq _isp_cdevsw@GOTPCREL(%rip), %rdi
leaq L_.str(%rip), %r9
movl %r15d, %esi
movl $384, %r8d ## imm = 0x180
callq _make_dev
movq %rax, 16(%r12)
testq %rax, %rax
je LBB0_12
## %bb.11:
movq %r12, (%rax)
LBB0_12:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EIO,4,2 ## @EIO
.comm _hz,4,2 ## @hz
.comm _isp_timer_count,4,2 ## @isp_timer_count
.comm _isp_timer,4,2 ## @isp_timer
.comm _isp_cdevsw,4,2 ## @isp_cdevsw
.comm _UID_ROOT,4,2 ## @UID_ROOT
.comm _GID_OPERATOR,4,2 ## @GID_OPERATOR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isp_attach ; -- Begin function isp_attach
.p2align 2
_isp_attach: ; @isp_attach
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr w0, [x0, #28]
bl _device_get_nameunit
mov x20, x0
ldr w0, [x19, #40]
bl _device_get_unit
mov x21, x0
ldr w0, [x19, #36]
bl _cam_simq_alloc
str x0, [x19, #8]
cbz x0, LBB0_10
; %bb.1:
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_11
; %bb.2:
mov x1, x0
mov x0, x19
mov w2, #0
bl _isp_attach_chan
mov w22, #0
cbnz x0, LBB0_6
; %bb.3:
mov w22, #0
LBB0_4: ; =>This Inner Loop Header: Depth=1
add w22, w22, #1
ldr w8, [x19]
cmp w22, w8
b.ge LBB0_11
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x19, #8]
mov x0, x19
mov x2, x22
bl _isp_attach_chan
cbz x0, LBB0_4
LBB0_6:
cbz w22, LBB0_9
; %bb.7:
add w21, w22, #1
Lloh0:
adrp x22, _FALSE@GOTPAGE
Lloh1:
ldr x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_8: ; =>This Inner Loop Header: Depth=1
sub w20, w21, #2
mov x0, x19
mov x1, x20
bl _ISP_GET_PC
mov x0, x19
mov x1, x20
bl _ISP_GET_PC
bl _xpt_free_path
mov x0, x19
bl _ISP_LOCK
bl _cam_sim_path
bl _xpt_bus_deregister
mov x0, x19
bl _ISP_UNLOCK
ldr w1, [x22]
bl _cam_sim_free
sub w21, w21, #1
cmp w21, #1
b.gt LBB0_8
LBB0_9:
ldr x0, [x19, #8]
bl _cam_simq_free
str xzr, [x19, #8]
mov w0, #-1
b LBB0_13
LBB0_10:
Lloh2:
adrp x8, _EIO@GOTPAGE
Lloh3:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
b LBB0_13
LBB0_11:
add x22, x19, #24
add x1, x19, #32
mov x0, x22
mov w2, #0
bl _callout_init_mtx
Lloh5:
adrp x8, _hz@GOTPAGE
Lloh6:
ldr x8, [x8, _hz@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
asr w1, w8, #2
Lloh8:
adrp x8, _isp_timer_count@GOTPAGE
Lloh9:
ldr x8, [x8, _isp_timer_count@GOTPAGEOFF]
Lloh10:
str w1, [x8]
Lloh11:
adrp x8, _isp_timer@GOTPAGE
Lloh12:
ldr x8, [x8, _isp_timer@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
mov x0, x22
mov x3, x19
bl _callout_reset
Lloh14:
adrp x8, _UID_ROOT@GOTPAGE
Lloh15:
ldr x8, [x8, _UID_ROOT@GOTPAGEOFF]
Lloh16:
ldr w2, [x8]
Lloh17:
adrp x8, _GID_OPERATOR@GOTPAGE
Lloh18:
ldr x8, [x8, _GID_OPERATOR@GOTPAGEOFF]
Lloh19:
ldr w3, [x8]
Lloh20:
adrp x0, _isp_cdevsw@GOTPAGE
Lloh21:
ldr x0, [x0, _isp_cdevsw@GOTPAGEOFF]
Lloh22:
adrp x5, l_.str@PAGE
Lloh23:
add x5, x5, l_.str@PAGEOFF
mov x1, x21
mov w4, #384
mov x6, x20
bl _make_dev
str x0, [x19, #16]
cbz x0, LBB0_13
; %bb.12:
mov x8, x0
mov w0, #0
str x19, [x8]
LBB0_13:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _EIO,4,2 ; @EIO
.comm _hz,4,2 ; @hz
.comm _isp_timer_count,4,2 ; @isp_timer_count
.comm _isp_timer,4,2 ; @isp_timer
.comm _isp_cdevsw,4,2 ; @isp_cdevsw
.comm _UID_ROOT,4,2 ; @UID_ROOT
.comm _GID_OPERATOR,4,2 ; @GID_OPERATOR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/isp/extr_isp_freebsd.c_isp_attach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function process_sip_response
_process_sip_response: ## @process_sip_response
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
leaq -84(%rbp), %rsi
callq _nf_ct_get
movq %rax, %r14
movl (%r13), %ebx
leaq L_.str(%rip), %rdi
callq _strlen
cmpl %eax, %ebx
jae LBB0_1
LBB0_12:
movq _NF_ACCEPT@GOTPCREL(%rip), %rax
jmp LBB0_13
LBB0_1:
movq (%r15), %rbx
leaq L_.str.1(%rip), %rdi
callq _strlen
movslq %eax, %rdi
addq %rbx, %rdi
xorl %esi, %esi
movl $10, %edx
callq _simple_strtoul
testl %eax, %eax
je LBB0_2
## %bb.3:
movl %eax, %ebx
movq (%r15), %rsi
movl (%r13), %ecx
movq _SIP_HDR_CSEQ@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq -56(%rbp), %rax
movq %rax, (%rsp)
leaq -44(%rbp), %r9
movq %r14, %rdi
xorl %edx, %edx
callq _ct_sip_get_header
testq %rax, %rax
jle LBB0_2
## %bb.4:
movl -44(%rbp), %edi
addq (%r15), %rdi
xorl %esi, %esi
movl $10, %edx
callq _simple_strtoul
testl %eax, %eax
je LBB0_2
## %bb.5:
movl %eax, -48(%rbp) ## 4-byte Spill
movl %ebx, -52(%rbp) ## 4-byte Spill
movq %r12, -72(%rbp) ## 8-byte Spill
movq %r15, -64(%rbp) ## 8-byte Spill
movl -44(%rbp), %r14d
movl -56(%rbp), %ebx
movq _sip_handlers@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _ARRAY_SIZE
testl %eax, %eax
je LBB0_12
## %bb.6:
leal (%r14,%rbx), %r12d
incl %r12d
movl %r12d, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB0_7
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_7 Depth=1
incq %r14
movq %rbx, %rdi
callq _ARRAY_SIZE
movl %eax, %eax
addq $16, %r15
cmpq %rax, %r14
jae LBB0_12
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq _sip_handlers@GOTPCREL(%rip), %rax
movq (%rax), %rbx
cmpq $0, (%rbx,%r15)
je LBB0_11
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movl 8(%rbx,%r15), %edx
leal (%rdx,%r12), %eax
cmpl %eax, (%r13)
jb LBB0_11
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq -64(%rbp), %rax ## 8-byte Reload
movq (%rax), %rdi
addq -80(%rbp), %rdi ## 8-byte Folded Reload
movl 12(%rbx,%r15), %esi
## kill: def $edx killed $edx killed $rdx
callq _strnicmp
testq %rax, %rax
je LBB0_15
## %bb.10: ## in Loop: Header=BB0_7 Depth=1
movq _sip_handlers@GOTPCREL(%rip), %rax
movq (%rax), %rbx
jmp LBB0_11
LBB0_2:
movq _NF_DROP@GOTPCREL(%rip), %rax
LBB0_13:
movl (%rax), %eax
LBB0_14:
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movq -72(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rsi ## 8-byte Reload
movq %r13, %rdx
movl -48(%rbp), %ecx ## 4-byte Reload
movl -52(%rbp), %r8d ## 4-byte Reload
callq *(%rbx,%r15)
jmp LBB0_14
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SIP/2.0 200"
.comm _NF_ACCEPT,4,2 ## @NF_ACCEPT
L_.str.1: ## @.str.1
.asciz "SIP/2.0 "
.comm _NF_DROP,4,2 ## @NF_DROP
.comm _SIP_HDR_CSEQ,4,2 ## @SIP_HDR_CSEQ
.comm _sip_handlers,8,3 ## @sip_handlers
.no_dead_strip _process_sip_response
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function process_sip_response
_process_sip_response: ; @process_sip_response
.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
add x1, sp, #12
bl _nf_ct_get
mov x23, x0
ldr w22, [x19]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _strlen
cmp w22, w0
b.hs LBB0_2
LBB0_1:
Lloh2:
adrp x8, _NF_ACCEPT@GOTPAGE
Lloh3:
ldr x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
b LBB0_13
LBB0_2:
ldr x22, [x20]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _strlen
add x0, x22, w0, sxtw
mov x1, #0
mov w2, #10
bl _simple_strtoul
cbz w0, LBB0_12
; %bb.3:
mov x22, x0
ldr x1, [x20]
ldr w3, [x19]
Lloh6:
adrp x8, _SIP_HDR_CSEQ@GOTPAGE
Lloh7:
ldr x8, [x8, _SIP_HDR_CSEQ@GOTPAGEOFF]
Lloh8:
ldr w4, [x8]
add x5, sp, #8
add x6, sp, #4
mov x0, x23
mov w2, #0
bl _ct_sip_get_header
cmp x0, #0
b.le LBB0_12
; %bb.4:
ldr x8, [x20]
ldr w9, [sp, #8]
add x0, x8, x9
mov x1, #0
mov w2, #10
bl _simple_strtoul
cbz w0, LBB0_12
; %bb.5:
mov x23, x0
ldp w28, w24, [sp, #4]
Lloh9:
adrp x25, _sip_handlers@GOTPAGE
Lloh10:
ldr x25, [x25, _sip_handlers@GOTPAGEOFF]
ldr x0, [x25]
bl _ARRAY_SIZE
cbz w0, LBB0_1
; %bb.6:
mov x26, #0
mov x27, #0
add w8, w24, w28
add w28, w8, #1
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x27, x27, #1
mov x0, x24
bl _ARRAY_SIZE
add x26, x26, #16
cmp x27, w0, uxtw
b.hs LBB0_1
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr x24, [x25]
ldr x8, [x24, x26]
cbz x8, LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr w9, [x19]
add x8, x24, x26
ldr w2, [x8, #8]
add w10, w2, w28
cmp w9, w10
b.lo LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=1
ldr x9, [x20]
add x0, x9, x28
ldr w1, [x8, #12]
bl _strnicmp
cbz x0, LBB0_15
; %bb.11: ; in Loop: Header=BB0_8 Depth=1
ldr x24, [x25]
b LBB0_7
LBB0_12:
Lloh11:
adrp x8, _NF_DROP@GOTPAGE
Lloh12:
ldr x8, [x8, _NF_DROP@GOTPAGEOFF]
LBB0_13:
ldr w0, [x8]
LBB0_14:
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 x8, [x24, x26]
mov x0, x21
mov x1, x20
mov x2, x19
mov x3, x23
mov x4, x22
blr x8
b LBB0_14
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SIP/2.0 200"
.comm _NF_ACCEPT,4,2 ; @NF_ACCEPT
l_.str.1: ; @.str.1
.asciz "SIP/2.0 "
.comm _NF_DROP,4,2 ; @NF_DROP
.comm _SIP_HDR_CSEQ,4,2 ; @SIP_HDR_CSEQ
.comm _sip_handlers,8,3 ; @sip_handlers
.no_dead_strip _process_sip_response
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/netfilter/extr_nf_conntrack_sip.c_process_sip_response.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_cancel_pstate
_set_cancel_pstate: ## @set_cancel_pstate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _signal_info@GOTPCREL(%rip), %rax
movq %rdi, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _signal_info,8,3 ## @signal_info
.comm _signal_info_lock,4,2 ## @signal_info_lock
.no_dead_strip _set_cancel_pstate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_cancel_pstate
_set_cancel_pstate: ; @set_cancel_pstate
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _signal_info@GOTPAGE
Lloh1:
ldr x8, [x8, _signal_info@GOTPAGEOFF]
Lloh2:
str x0, [x8]
ret
.loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _signal_info,8,3 ; @signal_info
.comm _signal_info_lock,4,2 ; @signal_info_lock
.no_dead_strip _set_cancel_pstate
.subsections_via_symbols
| AnghaBench/postgres/src/bin/pg_dump/extr_parallel.c_set_cancel_pstate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function move
_move: ## @move
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq (%rdi), %rsi
movq 40(%rdi), %rax
movq _NR_REG_SW@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
leaq L_.str(%rip), %rax
leaq L_.str.1(%rip), %rcx
cmoveq %rax, %rcx
cmpq 16(%rdi), %rsi
jle LBB0_2
## %bb.1:
xorl %eax, %eax
LBB0_9:
## kill: def $eax killed $eax killed $rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %rdx, -80(%rbp) ## 8-byte Spill
movq 8(%r13), %rbx
xorl %eax, %eax
movq %r13, -56(%rbp) ## 8-byte Spill
movq %rdi, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq 24(%r13), %rbx
jg LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rax, -64(%rbp) ## 8-byte Spill
movl 32(%rdi), %edi
movq %rsi, %r14
callq _NETMAP_RXRING
movq %rax, %r15
movl 32(%r13), %edi
movq %rbx, %r12
movq %rbx, %rsi
callq _NETMAP_TXRING
movq %rax, %r13
leaq L_.str.2(%rip), %rdi
movq %rax, %rsi
movq %r15, %rdx
callq _ND
movq %r15, %rdi
callq _nm_ring_empty
testq %rax, %rax
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _nm_ring_empty
testq %rax, %rax
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %r15, %rdi
movq %r13, %rsi
movq -80(%rbp), %rdx ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
callq _process_rings
movq -64(%rbp), %rcx ## 8-byte Reload
addq %rax, %rcx
movq %rcx, %rax
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
cmpq 16(%rdi), %r14
movq -56(%rbp), %r13 ## 8-byte Reload
movq %r12, %rbx
jle LBB0_3
jmp LBB0_9
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
leaq 1(%r14), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
cmpq 16(%rdi), %r14
movq -56(%rbp), %r13 ## 8-byte Reload
movq -64(%rbp), %rax ## 8-byte Reload
movq %r12, %rbx
jl LBB0_3
jmp LBB0_9
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rbx
incq %rbx
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r14, %rsi
cmpq 16(%rdi), %r14
movq -56(%rbp), %r13 ## 8-byte Reload
movq -64(%rbp), %rax ## 8-byte Reload
jle LBB0_3
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _NR_REG_SW,8,3 ## @NR_REG_SW
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "host->net"
L_.str.1: ## @.str.1
.asciz "net->host"
L_.str.2: ## @.str.2
.asciz "txring %p rxring %p"
.no_dead_strip _move
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function move
_move: ; @move
.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
ldr x22, [x0]
ldr x8, [x0, #40]
Lloh0:
adrp x9, _NR_REG_SW@GOTPAGE
Lloh1:
ldr x9, [x9, _NR_REG_SW@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, l_.str.1@PAGE
Lloh4:
add x10, x10, l_.str.1@PAGEOFF
Lloh5:
adrp x11, l_.str@PAGE
Lloh6:
add x11, x11, l_.str@PAGEOFF
cmp x8, x9
csel x24, x11, x10, eq
ldr x8, [x0, #16]
cmp x22, x8
b.le LBB0_3
; %bb.1:
mov x23, #0
LBB0_2:
mov x0, x23
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_3:
mov x19, x2
mov x20, x1
mov x21, x0
mov x23, #0
ldr x25, [x1, #8]
Lloh7:
adrp x26, l_.str.2@PAGE
Lloh8:
add x26, x26, l_.str.2@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #24]
cmp x25, x8
b.gt LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x21, #32]
mov x1, x22
bl _NETMAP_RXRING
mov x27, x0
ldr w0, [x20, #32]
mov x1, x25
bl _NETMAP_TXRING
mov x28, x0
mov x0, x26
mov x1, x28
mov x2, x27
bl _ND
mov x0, x27
bl _nm_ring_empty
cbnz x0, LBB0_9
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x0, x28
bl _nm_ring_empty
cbnz x0, LBB0_10
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
mov x0, x27
mov x1, x28
mov x2, x19
mov x3, x24
bl _process_rings
add x23, x0, x23
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #16]
cmp x22, x8
b.le LBB0_4
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_4 Depth=1
add x8, x22, #1
ldr x9, [x21, #16]
cmp x22, x9
mov x22, x8
b.lt LBB0_4
b LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
b LBB0_8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _NR_REG_SW,8,3 ; @NR_REG_SW
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "host->net"
l_.str.1: ; @.str.1
.asciz "net->host"
l_.str.2: ; @.str.2
.asciz "txring %p rxring %p"
.no_dead_strip _move
.subsections_via_symbols
| AnghaBench/freebsd/tools/tools/netmap/extr_bridge.c_move.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ieee80211_tx_prepare
_ieee80211_tx_prepare: ## @ieee80211_tx_prepare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movq %rdx, -64(%rbp) ## 8-byte Spill
movq %rsi, %r13
movq %rdi, %r12
movq 32(%rdi), %r14
movq %rcx, %rdi
callq _IEEE80211_SKB_CB
movq %rax, %r15
movq %r13, %rdi
xorl %esi, %esi
movl $48, %edx
callq _memset
movq %rbx, 16(%r13)
movq %r14, -48(%rbp) ## 8-byte Spill
movq %r14, 40(%r13)
movq %r15, %r14
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r12, 24(%r13)
leaq 32(%r13), %rdi
callq ___skb_queue_head_init
movq _IEEE80211_TX_INTFL_NEED_TXPROCESSING@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%r14)
movq %rbx, -56(%rbp) ## 8-byte Spill
movq 16(%rbx), %rbx
movq %r15, %rdi
callq _likely
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %r15, %rdi
callq _IS_ERR
testl %eax, %eax
jne LBB0_14
## %bb.2:
movq %r15, 8(%r13)
jmp LBB0_14
LBB0_3:
movq 24(%r12), %rax
movq _NL80211_IFTYPE_AP_VLAN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.4:
movl 16(%r12), %edi
callq _rcu_dereference
movq %rax, 8(%r13)
testq %rax, %rax
jne LBB0_11
## %bb.5:
cmpq $0, 8(%r12)
je LBB0_11
## %bb.6:
movq _TX_DROP@GOTPCREL(%rip), %rax
jmp LBB0_35
LBB0_7:
movq _IEEE80211_TX_INTFL_NL80211_FRAME_TX@GOTPCREL(%rip), %rax
movq _IEEE80211_TX_CTL_INJECTED@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
testl %ecx, (%r14)
jne LBB0_10
## %bb.8:
movq 16(%r13), %rax
movq 24(%r13), %rcx
movq (%rcx), %rcx
cmpq (%rax), %rcx
jne LBB0_9
LBB0_10:
movl (%rbx), %esi
movq %r12, %rdi
callq _sta_info_get_bss
movq %rax, 8(%r13)
LBB0_11:
testq %rax, %rax
jne LBB0_14
LBB0_12:
movl (%rbx), %edi
callq _is_multicast_ether_addr
testq %rax, %rax
jne LBB0_14
## %bb.13:
movl (%rbx), %esi
movq %r12, %rdi
callq _sta_info_get
movq %rax, 8(%r13)
jmp LBB0_14
LBB0_9:
movq 8(%r13), %rax
testq %rax, %rax
je LBB0_12
LBB0_14:
cmpq $0, 8(%r13)
je LBB0_22
## %bb.15:
movl 4(%rbx), %edi
callq _ieee80211_is_data_qos
testq %rax, %rax
je LBB0_22
## %bb.16:
movl 4(%rbx), %edi
callq _ieee80211_is_qos_nullfunc
testl %eax, %eax
je LBB0_17
LBB0_22:
movl (%rbx), %edi
callq _is_multicast_ether_addr
movq _IEEE80211_TX_UNICAST@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
testq %rax, %rax
je LBB0_24
## %bb.23:
notl %edx
andl (%r13), %edx
movl %edx, (%r13)
movq _IEEE80211_TX_CTL_NO_ACK@GOTPCREL(%rip), %rsi
movl (%r14), %eax
orl (%rsi), %eax
movl %eax, (%r14)
jmp LBB0_25
LBB0_24:
orl (%r13), %edx
movl %edx, (%r13)
movl (%r14), %eax
LBB0_25:
movq _IEEE80211_TX_CTL_DONTFRAG@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
testl %eax, %esi
jne LBB0_30
## %bb.26:
testl %edx, (%rcx)
je LBB0_29
## %bb.27:
movq _FCS_LEN@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq -56(%rbp), %rdx ## 8-byte Reload
addq 8(%rdx), %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq (%rdx), %rdx
cmpq (%rdx), %rcx
jle LBB0_29
## %bb.28:
movq _IEEE80211_TX_CTL_AMPDU@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_30
LBB0_29:
orl %esi, %eax
movl %eax, (%r14)
LBB0_30:
movq 8(%r13), %rdi
testq %rdi, %rdi
je LBB0_31
## %bb.32:
movq _WLAN_STA_CLEAR_PS_FILT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _test_and_clear_sta_flag
testq %rax, %rax
je LBB0_34
## %bb.33:
movq _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
movq 8(%r13), %rdi
callq _ieee80211_check_fast_xmit
jmp LBB0_34
LBB0_31:
movq _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, (%r14)
LBB0_34:
movq _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
movq _TX_CONTINUE@GOTPCREL(%rip), %rax
LBB0_35:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
movq _AMPDU_AGGREGATION@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _ieee80211_hw_check
testq %rax, %rax
je LBB0_22
## %bb.18:
movq _TX_AMPDU_SETUP_IN_HW@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rdi ## 8-byte Reload
callq _ieee80211_hw_check
testq %rax, %rax
jne LBB0_22
## %bb.19:
movq %rbx, %rdi
callq _ieee80211_get_tid
movl %eax, %r15d
movq 8(%r13), %rax
movq (%rax), %rax
movslq %r15d, %rcx
movl (%rax,%rcx,4), %edi
callq _rcu_dereference
testq %rax, %rax
je LBB0_22
## %bb.20:
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r14, %rdx
movq %rax, %rcx
movl %r15d, %r8d
callq _ieee80211_tx_prep_agg
movl %eax, %edi
callq _unlikely
testq %rax, %rax
je LBB0_22
## %bb.21:
movq _TX_QUEUED@GOTPCREL(%rip), %rax
jmp LBB0_35
.cfi_endproc
## -- End function
.comm _IEEE80211_TX_INTFL_NEED_TXPROCESSING,4,2 ## @IEEE80211_TX_INTFL_NEED_TXPROCESSING
.comm _NL80211_IFTYPE_AP_VLAN,8,3 ## @NL80211_IFTYPE_AP_VLAN
.comm _TX_DROP,4,2 ## @TX_DROP
.comm _IEEE80211_TX_INTFL_NL80211_FRAME_TX,4,2 ## @IEEE80211_TX_INTFL_NL80211_FRAME_TX
.comm _IEEE80211_TX_CTL_INJECTED,4,2 ## @IEEE80211_TX_CTL_INJECTED
.comm _AMPDU_AGGREGATION,4,2 ## @AMPDU_AGGREGATION
.comm _TX_AMPDU_SETUP_IN_HW,4,2 ## @TX_AMPDU_SETUP_IN_HW
.comm _TX_QUEUED,4,2 ## @TX_QUEUED
.comm _IEEE80211_TX_UNICAST,4,2 ## @IEEE80211_TX_UNICAST
.comm _IEEE80211_TX_CTL_NO_ACK,4,2 ## @IEEE80211_TX_CTL_NO_ACK
.comm _IEEE80211_TX_CTL_DONTFRAG,4,2 ## @IEEE80211_TX_CTL_DONTFRAG
.comm _FCS_LEN,8,3 ## @FCS_LEN
.comm _IEEE80211_TX_CTL_AMPDU,4,2 ## @IEEE80211_TX_CTL_AMPDU
.comm _IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ## @IEEE80211_TX_CTL_CLEAR_PS_FILT
.comm _WLAN_STA_CLEAR_PS_FILT,4,2 ## @WLAN_STA_CLEAR_PS_FILT
.comm _IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ## @IEEE80211_TX_CTL_FIRST_FRAGMENT
.comm _TX_CONTINUE,4,2 ## @TX_CONTINUE
.no_dead_strip _ieee80211_tx_prepare
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ieee80211_tx_prepare
_ieee80211_tx_prepare: ; @ieee80211_tx_prepare
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x3
mov x25, x2
mov x20, x1
mov x24, x0
ldr x22, [x0, #32]
mov x0, x3
bl _IEEE80211_SKB_CB
mov x19, x0
mov x0, x20
mov w1, #0
mov w2, #48
bl _memset
str x22, [x20, #40]
add x0, x20, #32
stp x21, x24, [x20, #16]
bl ___skb_queue_head_init
Lloh0:
adrp x8, _IEEE80211_TX_INTFL_NEED_TXPROCESSING@GOTPAGE
Lloh1:
ldr x8, [x8, _IEEE80211_TX_INTFL_NEED_TXPROCESSING@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
ldr x23, [x21, #16]
mov x0, x25
bl _likely
cbz x0, LBB0_3
; %bb.1:
mov x0, x25
bl _IS_ERR
cbnz w0, LBB0_14
; %bb.2:
str x25, [x20, #8]
b LBB0_14
LBB0_3:
ldr x8, [x24, #24]
Lloh3:
adrp x9, _NL80211_IFTYPE_AP_VLAN@GOTPAGE
Lloh4:
ldr x9, [x9, _NL80211_IFTYPE_AP_VLAN@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_7
; %bb.4:
ldr w0, [x24, #16]
bl _rcu_dereference
str x0, [x20, #8]
cbnz x0, LBB0_10
; %bb.5:
ldr x8, [x24, #8]
cbz x8, LBB0_10
; %bb.6:
Lloh6:
adrp x8, _TX_DROP@GOTPAGE
Lloh7:
ldr x8, [x8, _TX_DROP@GOTPAGEOFF]
b LBB0_30
LBB0_7:
ldr w8, [x19]
Lloh8:
adrp x9, _IEEE80211_TX_INTFL_NL80211_FRAME_TX@GOTPAGE
Lloh9:
ldr x9, [x9, _IEEE80211_TX_INTFL_NL80211_FRAME_TX@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
Lloh11:
adrp x10, _IEEE80211_TX_CTL_INJECTED@GOTPAGE
Lloh12:
ldr x10, [x10, _IEEE80211_TX_CTL_INJECTED@GOTPAGEOFF]
Lloh13:
ldr w10, [x10]
orr w9, w10, w9
tst w9, w8
b.ne LBB0_9
; %bb.8:
ldp x9, x8, [x20, #16]
ldr x8, [x8]
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_13
LBB0_9:
ldr w1, [x23]
mov x0, x24
bl _sta_info_get_bss
str x0, [x20, #8]
LBB0_10:
cbnz x0, LBB0_14
LBB0_11:
ldr w0, [x23]
bl _is_multicast_ether_addr
cbnz x0, LBB0_14
; %bb.12:
ldr w1, [x23]
mov x0, x24
bl _sta_info_get
str x0, [x20, #8]
b LBB0_14
LBB0_13:
ldr x0, [x20, #8]
cbz x0, LBB0_11
LBB0_14:
ldr x8, [x20, #8]
cbz x8, LBB0_17
; %bb.15:
ldr w0, [x23, #4]
bl _ieee80211_is_data_qos
cbz x0, LBB0_17
; %bb.16:
ldr w0, [x23, #4]
bl _ieee80211_is_qos_nullfunc
cbz w0, LBB0_31
LBB0_17:
ldr w0, [x23]
bl _is_multicast_ether_addr
Lloh14:
adrp x9, _IEEE80211_TX_UNICAST@GOTPAGE
Lloh15:
ldr x9, [x9, _IEEE80211_TX_UNICAST@GOTPAGEOFF]
ldr w8, [x9]
cbz x0, LBB0_19
; %bb.18:
ldr w10, [x20]
bic w10, w10, w8
str w10, [x20]
Lloh16:
adrp x8, _IEEE80211_TX_CTL_NO_ACK@GOTPAGE
Lloh17:
ldr x8, [x8, _IEEE80211_TX_CTL_NO_ACK@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
ldr w11, [x19]
orr w8, w11, w8
str w8, [x19]
b LBB0_20
LBB0_19:
ldr w10, [x20]
orr w10, w10, w8
str w10, [x20]
ldr w8, [x19]
LBB0_20:
Lloh19:
adrp x11, _IEEE80211_TX_CTL_DONTFRAG@GOTPAGE
Lloh20:
ldr x11, [x11, _IEEE80211_TX_CTL_DONTFRAG@GOTPAGEOFF]
Lloh21:
ldr w11, [x11]
tst w11, w8
b.ne LBB0_25
; %bb.21:
ldr w9, [x9]
tst w9, w10
b.eq LBB0_24
; %bb.22:
Lloh22:
adrp x9, _FCS_LEN@GOTPAGE
Lloh23:
ldr x9, [x9, _FCS_LEN@GOTPAGEOFF]
ldr x10, [x21, #8]
Lloh24:
ldr x9, [x9]
ldr x12, [x22]
ldr x12, [x12]
add x9, x9, x10
cmp x9, x12
b.le LBB0_24
; %bb.23:
Lloh25:
adrp x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGE
Lloh26:
ldr x9, [x9, _IEEE80211_TX_CTL_AMPDU@GOTPAGEOFF]
Lloh27:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_25
LBB0_24:
orr w8, w11, w8
str w8, [x19]
LBB0_25:
ldr x0, [x20, #8]
cbz x0, LBB0_28
; %bb.26:
Lloh28:
adrp x8, _WLAN_STA_CLEAR_PS_FILT@GOTPAGE
Lloh29:
ldr x8, [x8, _WLAN_STA_CLEAR_PS_FILT@GOTPAGEOFF]
Lloh30:
ldr w1, [x8]
bl _test_and_clear_sta_flag
cbz x0, LBB0_29
; %bb.27:
Lloh31:
adrp x8, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGE
Lloh32:
ldr x8, [x8, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
ldr x0, [x20, #8]
bl _ieee80211_check_fast_xmit
b LBB0_29
LBB0_28:
Lloh34:
adrp x9, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGE
Lloh35:
ldr x9, [x9, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGEOFF]
Lloh36:
ldr w9, [x9]
orr w8, w8, w9
str w8, [x19]
LBB0_29:
Lloh37:
adrp x8, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGE
Lloh38:
ldr x8, [x8, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
Lloh40:
adrp x8, _TX_CONTINUE@GOTPAGE
Lloh41:
ldr x8, [x8, _TX_CONTINUE@GOTPAGEOFF]
LBB0_30:
ldr w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_31:
Lloh42:
adrp x8, _AMPDU_AGGREGATION@GOTPAGE
Lloh43:
ldr x8, [x8, _AMPDU_AGGREGATION@GOTPAGEOFF]
Lloh44:
ldr w1, [x8]
mov x0, x22
bl _ieee80211_hw_check
cbz x0, LBB0_17
; %bb.32:
Lloh45:
adrp x8, _TX_AMPDU_SETUP_IN_HW@GOTPAGE
Lloh46:
ldr x8, [x8, _TX_AMPDU_SETUP_IN_HW@GOTPAGEOFF]
Lloh47:
ldr w1, [x8]
mov x0, x22
bl _ieee80211_hw_check
cbnz x0, LBB0_17
; %bb.33:
mov x0, x23
bl _ieee80211_get_tid
mov x24, x0
ldr x8, [x20, #8]
ldr x8, [x8]
ldr w0, [x8, w0, sxtw #2]
bl _rcu_dereference
cbz x0, LBB0_17
; %bb.34:
mov x3, x0
mov x0, x20
mov x1, x21
mov x2, x19
mov x4, x24
bl _ieee80211_tx_prep_agg
bl _unlikely
cbz x0, LBB0_17
; %bb.35:
Lloh48:
adrp x8, _TX_QUEUED@GOTPAGE
Lloh49:
ldr x8, [x8, _TX_QUEUED@GOTPAGEOFF]
b LBB0_30
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, 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 Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGot Lloh48, Lloh49
.cfi_endproc
; -- End function
.comm _IEEE80211_TX_INTFL_NEED_TXPROCESSING,4,2 ; @IEEE80211_TX_INTFL_NEED_TXPROCESSING
.comm _NL80211_IFTYPE_AP_VLAN,8,3 ; @NL80211_IFTYPE_AP_VLAN
.comm _TX_DROP,4,2 ; @TX_DROP
.comm _IEEE80211_TX_INTFL_NL80211_FRAME_TX,4,2 ; @IEEE80211_TX_INTFL_NL80211_FRAME_TX
.comm _IEEE80211_TX_CTL_INJECTED,4,2 ; @IEEE80211_TX_CTL_INJECTED
.comm _AMPDU_AGGREGATION,4,2 ; @AMPDU_AGGREGATION
.comm _TX_AMPDU_SETUP_IN_HW,4,2 ; @TX_AMPDU_SETUP_IN_HW
.comm _TX_QUEUED,4,2 ; @TX_QUEUED
.comm _IEEE80211_TX_UNICAST,4,2 ; @IEEE80211_TX_UNICAST
.comm _IEEE80211_TX_CTL_NO_ACK,4,2 ; @IEEE80211_TX_CTL_NO_ACK
.comm _IEEE80211_TX_CTL_DONTFRAG,4,2 ; @IEEE80211_TX_CTL_DONTFRAG
.comm _FCS_LEN,8,3 ; @FCS_LEN
.comm _IEEE80211_TX_CTL_AMPDU,4,2 ; @IEEE80211_TX_CTL_AMPDU
.comm _IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ; @IEEE80211_TX_CTL_CLEAR_PS_FILT
.comm _WLAN_STA_CLEAR_PS_FILT,4,2 ; @WLAN_STA_CLEAR_PS_FILT
.comm _IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ; @IEEE80211_TX_CTL_FIRST_FRAGMENT
.comm _TX_CONTINUE,4,2 ; @TX_CONTINUE
.no_dead_strip _ieee80211_tx_prepare
.subsections_via_symbols
| AnghaBench/linux/net/mac80211/extr_tx.c_ieee80211_tx_prepare.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 txCommit
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _txCommit
.p2align 4, 0x90
_txCommit: ## @txCommit
.cfi_startproc
## %bb.0:
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 $152, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r13d
movq %rdx, %r12
movl %esi, %ebx
movl %edi, %r15d
leaq L_.str(%rip), %rdi
movl %r15d, %esi
movl %ecx, %edx
callq _jfs_info
movq (%r12), %rdi
callq _isReadOnly
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _EROFS@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
jmp LBB0_40
LBB0_2:
movl %ebx, -48(%rbp) ## 4-byte Spill
movq (%r12), %rax
movq 8(%rax), %r14
movq %r14, -120(%rbp)
movl %r15d, -128(%rbp)
testl %r15d, %r15d
jne LBB0_4
## %bb.3:
movq %r14, %rdi
xorl %esi, %esi
callq _txBegin
movl %eax, %r15d
LBB0_4:
movl %r15d, -44(%rbp) ## 4-byte Spill
movl %r15d, %edi
callq _tid_to_tblock
movq %rax, %rbx
movq %r14, %rdi
callq _JFS_SBI
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %rax, -136(%rbp)
movl 32(%rbx), %edi
callq _cpu_to_le32
movl %eax, -144(%rbp)
movq $0, -152(%rbp)
movl (%rbx), %eax
orl %r13d, %eax
movl %eax, (%rbx)
movq _COMMIT_FORCE@GOTPCREL(%rip), %rdx
movq _COMMIT_SYNC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rdx), %ecx
movl %r13d, -68(%rbp) ## 4-byte Spill
testl %r13d, %ecx
jne LBB0_6
## %bb.5:
movq _COMMIT_LAZY@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movl %eax, (%rbx)
LBB0_6:
movq %rbx, -64(%rbp) ## 8-byte Spill
movq %r12, -176(%rbp)
movl -48(%rbp), %r13d ## 4-byte Reload
movl %r13d, -184(%rbp)
testl %r13d, %r13d
movl $0, %eax
cmovgl %r13d, %eax
movq %rax, -80(%rbp) ## 8-byte Spill
movl %r13d, %r15d
movl $1, %ecx
xorl %eax, %eax
jmp LBB0_7
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_7 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rdx)
xorl %eax, %eax
callq _TXN_LOCK
addq $16, %rbx
movq %rbx, %rdi
callq _list_del_init
xorl %eax, %eax
callq _TXN_UNLOCK
movl -48(%rbp), %r13d ## 4-byte Reload
LBB0_18: ## in Loop: Header=BB0_7 Depth=1
movl -44(%rbp), %edi ## 4-byte Reload
movq %r14, %rsi
callq _diWrite
movl %eax, %r14d
movq -112(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq -104(%rbp), %rax ## 8-byte Reload
testl %r14d, %r14d
jne LBB0_19
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
cmpq -80(%rbp), %rax ## 8-byte Folded Reload
je LBB0_20
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movq (%r12,%rax,8), %r14
leaq 1(%rax), %rdx
cmpl %r13d, %edx
movq %rcx, -112(%rbp) ## 8-byte Spill
movq %rdx, -104(%rbp) ## 8-byte Spill
jge LBB0_14
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movq (%r14), %rdx
jmp LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_10 Depth=2
incq %rcx
movq -176(%rbp), %r12
cmpq %rcx, %r15
je LBB0_13
LBB0_10: ## Parent Loop BB0_7 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r12,%rcx,8), %rsi
movq (%rsi), %rdi
cmpq %rdx, %rdi
jle LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movq (%r12,%rax,8), %rdx
movq %rdx, (%r12,%rcx,8)
movq -176(%rbp), %rdx
movq %rsi, (%rdx,%rax,8)
movq %rdi, %rdx
jmp LBB0_12
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_7 Depth=1
movq (%r12,%rax,8), %r14
LBB0_14: ## in Loop: Header=BB0_7 Depth=1
movq %r14, %rdi
callq _JFS_IP
movq %rax, %rbx
movq _COMMIT_Dirty@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _clear_cflag
cmpq $0, 32(%rbx)
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_7 Depth=1
movq -64(%rbp), %r13 ## 8-byte Reload
movq 24(%r13), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
leaq 24(%rbx), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq 24(%rbx), %rdi
callq _lid_to_tlock
movq -88(%rbp), %rdx ## 8-byte Reload
movq -96(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
movq 32(%rbx), %rax
movq %rax, 24(%r13)
cmpq $0, 16(%r13)
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_7 Depth=1
movq (%rdx), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rax, 16(%rcx)
jmp LBB0_17
LBB0_20:
leaq -184(%rbp), %rdx
movq -56(%rbp), %rdi ## 8-byte Reload
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rsi
callq _txLog
testl %eax, %eax
je LBB0_22
## %bb.21:
movl %eax, %r14d
movl -44(%rbp), %r15d ## 4-byte Reload
jmp LBB0_40
LBB0_19:
movl -44(%rbp), %r15d ## 4-byte Reload
movl %r15d, %edi
movl $1, %esi
callq _txAbort
LBB0_40:
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
movl %r14d, %edx
callq _jfs_info
movl %r14d, %eax
addq $152, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_22:
movl (%rbx), %eax
movq _COMMIT_DELETE@GOTPCREL(%rip), %r12
testl %eax, (%r12)
movl -44(%rbp), %r15d ## 4-byte Reload
movl -68(%rbp), %r14d ## 4-byte Reload
je LBB0_26
## %bb.23:
movq 8(%rbx), %rdi
addq $16, %rdi
callq _atomic_inc
movq 8(%rbx), %rax
movq _I_SYNC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rax)
je LBB0_24
## %bb.25:
movq _COMMIT_LAZY@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl (%rbx), %eax
movl %eax, (%rbx)
LBB0_26:
testl %eax, (%r12)
je LBB0_27
LBB0_28:
movq 8(%rbx), %rsi
xorl %edi, %edi
cmpq $0, 8(%rsi)
movq -56(%rbp), %r12 ## 8-byte Reload
jne LBB0_30
## %bb.29:
movq _COMMIT_Nolink@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _test_cflag
xorl %edi, %edi
testl %eax, %eax
sete %dil
jmp LBB0_30
LBB0_24:
movl (%rbx), %eax
testl %eax, (%r12)
jne LBB0_28
LBB0_27:
movl $1, %edi
movq -56(%rbp), %r12 ## 8-byte Reload
LBB0_30:
callq _ASSERT
movq _LOG_COMMIT@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le16
movl %eax, -160(%rbp)
movq $0, -168(%rbp)
movq %r12, %rdi
movq %rbx, %rsi
leaq -168(%rbp), %rdx
xorl %ecx, %ecx
callq _lmLog
movq %r12, %rdi
movq %rbx, %rsi
callq _lmGroupCommit
movq _COMMIT_FORCE@GOTPCREL(%rip), %r12
movl (%r12), %eax
testl %r14d, %eax
je LBB0_32
## %bb.31:
movq %rbx, %rdi
callq _txForce
movl (%r12), %eax
LBB0_32:
testl %eax, (%rbx)
je LBB0_34
## %bb.33:
movq %rbx, %rdi
callq _txUpdateMap
LBB0_34:
movq %rbx, %rdi
callq _txRelease
movq _tblkGC_LAZY@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%rbx)
jne LBB0_36
## %bb.35:
movq %rbx, %rdi
callq _txUnlock
LBB0_36:
cmpl $0, -184(%rbp)
jle LBB0_37
## %bb.38:
xorl %r14d, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_39: ## =>This Inner Loop Header: Depth=1
movq -176(%rbp), %rax
movq (%rax,%rbx,8), %rdi
callq _JFS_IP
incq %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movslq -184(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_39
jmp LBB0_40
LBB0_37:
xorl %r14d, %r14d
jmp LBB0_40
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "txCommit, tid = %d, flag = %d"
.comm _EROFS,4,2 ## @EROFS
.comm _COMMIT_FORCE,4,2 ## @COMMIT_FORCE
.comm _COMMIT_SYNC,4,2 ## @COMMIT_SYNC
.comm _COMMIT_LAZY,4,2 ## @COMMIT_LAZY
.comm _COMMIT_Dirty,4,2 ## @COMMIT_Dirty
.comm _COMMIT_DELETE,4,2 ## @COMMIT_DELETE
.comm _I_SYNC,4,2 ## @I_SYNC
.comm _COMMIT_Nolink,4,2 ## @COMMIT_Nolink
.comm _LOG_COMMIT,4,2 ## @LOG_COMMIT
.comm _tblkGC_LAZY,4,2 ## @tblkGC_LAZY
L_.str.1: ## @.str.1
.asciz "txCommit: tid = %d, returning %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _txCommit ; -- Begin function txCommit
.p2align 2
_txCommit: ; @txCommit
.cfi_startproc
; %bb.0:
sub sp, sp, #224
.cfi_def_cfa_offset 224
stp x28, x27, [sp, #128] ; 16-byte Folded Spill
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x25, x2
mov x27, x1
mov x28, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
mov x1, x28
mov x2, x3
bl _jfs_info
ldr x0, [x25]
bl _isReadOnly
cbz x0, LBB0_2
; %bb.1:
Lloh2:
adrp x8, _EROFS@GOTPAGE
Lloh3:
ldr x8, [x8, _EROFS@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w26, w8
b LBB0_41
LBB0_2:
ldr x8, [x25]
ldr x22, [x8, #8]
str x22, [sp, #120]
str w28, [sp, #112]
cbnz w28, LBB0_4
; %bb.3:
mov x0, x22
mov w1, #0
bl _txBegin
mov x28, x0
LBB0_4:
mov x0, x28
bl _tid_to_tblock
mov x20, x0
mov x0, x22
bl _JFS_SBI
ldr x8, [x0]
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [sp, #104]
add x8, sp, #56
add x8, x8, #16
str x8, [sp, #8] ; 8-byte Folded Spill
ldr w0, [x20, #32]
bl _cpu_to_le32
str w0, [sp, #96]
str xzr, [sp, #88]
ldr w8, [x20]
orr w8, w8, w19
str w8, [x20]
Lloh5:
adrp x9, _COMMIT_FORCE@GOTPAGE
Lloh6:
ldr x9, [x9, _COMMIT_FORCE@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
Lloh8:
adrp x10, _COMMIT_SYNC@GOTPAGE
Lloh9:
ldr x10, [x10, _COMMIT_SYNC@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
orr w9, w10, w9
str w19, [sp, #20] ; 4-byte Folded Spill
tst w9, w19
b.ne LBB0_6
; %bb.5:
Lloh11:
adrp x9, _COMMIT_LAZY@GOTPAGE
Lloh12:
ldr x9, [x9, _COMMIT_LAZY@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w8, w9, w8
str w8, [x20]
LBB0_6:
mov x8, #0
str x25, [sp, #64]
str w27, [sp, #56]
cmp w27, #0
csel w9, w27, wzr, gt
stp x20, x9, [sp, #40] ; 16-byte Folded Spill
mov w23, #1
mov w20, w27
str w27, [sp, #36] ; 4-byte Folded Spill
ldr x21, [sp, #40] ; 8-byte Folded Reload
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
stp xzr, xzr, [x27]
bl _TXN_LOCK
add x0, x19, #16
bl _list_del_init
bl _TXN_UNLOCK
ldr w27, [sp, #36] ; 4-byte Folded Reload
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
mov x0, x28
mov x1, x26
bl _diWrite
add x23, x23, #1
mov x8, x22
cbnz w0, LBB0_21
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
ldr x9, [sp, #48] ; 8-byte Folded Reload
cmp x8, x9
b.eq LBB0_19
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldr x26, [x25, x8, lsl #3]
add x22, x8, #1
cmp w22, w27
b.ge LBB0_16
; %bb.11: ; in Loop: Header=BB0_9 Depth=1
ldr x10, [x26]
mov x9, x23
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=2
add x9, x9, #1
ldr x25, [sp, #64]
cmp x20, x9
b.eq LBB0_15
LBB0_13: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x11, [x25, x9, lsl #3]
ldr x12, [x11]
cmp x12, x10
b.le LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=2
lsl x10, x8, #3
ldr x13, [x25, x10]
str x13, [x25, x9, lsl #3]
ldr x13, [sp, #64]
str x11, [x13, x10]
mov x10, x12
b LBB0_12
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldr x26, [x25, x8, lsl #3]
LBB0_16: ; in Loop: Header=BB0_9 Depth=1
mov x0, x26
bl _JFS_IP
mov x19, x0
Lloh14:
adrp x8, _COMMIT_Dirty@GOTPAGE
Lloh15:
ldr x8, [x8, _COMMIT_Dirty@GOTPAGEOFF]
Lloh16:
ldr w0, [x8]
mov x1, x26
bl _clear_cflag
ldr x8, [x19, #32]
cbz x8, LBB0_8
; %bb.17: ; in Loop: Header=BB0_9 Depth=1
ldr x24, [x21, #24]
mov x27, x19
ldr x0, [x27, #24]!
bl _lid_to_tlock
str x24, [x0]
ldr x8, [x27, #8]
str x8, [x21, #24]
ldr x8, [x21, #16]
cbnz x8, LBB0_7
; %bb.18: ; in Loop: Header=BB0_9 Depth=1
ldr x8, [x27]
ldr x9, [sp, #40] ; 8-byte Folded Reload
str x8, [x9, #16]
b LBB0_7
LBB0_19:
add x2, sp, #56
ldr x22, [sp, #24] ; 8-byte Folded Reload
mov x0, x22
ldr x21, [sp, #40] ; 8-byte Folded Reload
mov x1, x21
bl _txLog
cbz w0, LBB0_22
; %bb.20:
mov x26, x0
b LBB0_41
LBB0_21:
mov x26, x0
mov x0, x28
mov w1, #1
bl _txAbort
b LBB0_41
LBB0_22:
ldr w8, [x21]
Lloh17:
adrp x20, _COMMIT_DELETE@GOTPAGE
Lloh18:
ldr x20, [x20, _COMMIT_DELETE@GOTPAGEOFF]
ldr w9, [x20]
tst w9, w8
b.eq LBB0_26
; %bb.23:
ldr x8, [x21, #8]
add x0, x8, #16
bl _atomic_inc
ldr x8, [x21, #8]
ldr w8, [x8]
Lloh19:
adrp x9, _I_SYNC@GOTPAGE
Lloh20:
ldr x9, [x9, _I_SYNC@GOTPAGEOFF]
Lloh21:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_25
; %bb.24:
Lloh22:
adrp x8, _COMMIT_LAZY@GOTPAGE
Lloh23:
ldr x8, [x8, _COMMIT_LAZY@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
ldr w9, [x21]
bic w8, w9, w8
str w8, [x21]
b LBB0_26
LBB0_25:
ldr w8, [x21]
LBB0_26:
ldr x23, [sp, #8] ; 8-byte Folded Reload
ldr w9, [x20]
tst w9, w8
b.eq LBB0_29
; %bb.27:
ldr x1, [x21, #8]
ldr x8, [x1, #8]
cbz x8, LBB0_30
; %bb.28:
mov w0, #0
b LBB0_31
LBB0_29:
mov w0, #1
b LBB0_31
LBB0_30:
Lloh25:
adrp x8, _COMMIT_Nolink@GOTPAGE
Lloh26:
ldr x8, [x8, _COMMIT_Nolink@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
bl _test_cflag
cmp w0, #0
cset w0, eq
LBB0_31:
ldr w19, [sp, #20] ; 4-byte Folded Reload
Lloh28:
adrp x20, _COMMIT_FORCE@GOTPAGE
Lloh29:
ldr x20, [x20, _COMMIT_FORCE@GOTPAGEOFF]
bl _ASSERT
Lloh30:
adrp x8, _LOG_COMMIT@GOTPAGE
Lloh31:
ldr x8, [x8, _LOG_COMMIT@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
bl _cpu_to_le16
str w0, [sp, #80]
str xzr, [sp, #72]
mov x0, x22
mov x1, x21
mov x2, x23
mov x3, #0
bl _lmLog
mov x0, x22
mov x1, x21
bl _lmGroupCommit
ldr w8, [x20]
tst w8, w19
b.eq LBB0_33
; %bb.32:
mov x0, x21
bl _txForce
ldr w8, [x20]
LBB0_33:
ldr w9, [x21]
tst w8, w9
b.eq LBB0_35
; %bb.34:
mov x0, x21
bl _txUpdateMap
LBB0_35:
mov x0, x21
bl _txRelease
ldr w8, [x21, #4]
Lloh33:
adrp x9, _tblkGC_LAZY@GOTPAGE
Lloh34:
ldr x9, [x9, _tblkGC_LAZY@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_37
; %bb.36:
mov x0, x21
bl _txUnlock
LBB0_37:
ldr w8, [sp, #56]
cmp w8, #1
b.lt LBB0_40
; %bb.38:
mov x19, #0
LBB0_39: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #64]
ldr x0, [x8, x19, lsl #3]
bl _JFS_IP
add x19, x19, #1
stp xzr, xzr, [x0]
ldrsw x8, [sp, #56]
cmp x19, x8
b.lt LBB0_39
LBB0_40:
mov w26, #0
LBB0_41:
Lloh36:
adrp x0, l_.str.1@PAGE
Lloh37:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x28
mov x2, x26
bl _jfs_info
mov x0, x26
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
ldp x28, x27, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #224
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "txCommit, tid = %d, flag = %d"
.comm _EROFS,4,2 ; @EROFS
.comm _COMMIT_FORCE,4,2 ; @COMMIT_FORCE
.comm _COMMIT_SYNC,4,2 ; @COMMIT_SYNC
.comm _COMMIT_LAZY,4,2 ; @COMMIT_LAZY
.comm _COMMIT_Dirty,4,2 ; @COMMIT_Dirty
.comm _COMMIT_DELETE,4,2 ; @COMMIT_DELETE
.comm _I_SYNC,4,2 ; @I_SYNC
.comm _COMMIT_Nolink,4,2 ; @COMMIT_Nolink
.comm _LOG_COMMIT,4,2 ; @LOG_COMMIT
.comm _tblkGC_LAZY,4,2 ; @tblkGC_LAZY
l_.str.1: ; @.str.1
.asciz "txCommit: tid = %d, returning %d"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/jfs/extr_jfs_txnmgr.c_txCommit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ETH_GetDMATxDescFlagStatus ## -- Begin function ETH_GetDMATxDescFlagStatus
.p2align 4, 0x90
_ETH_GetDMATxDescFlagStatus: ## @ETH_GetDMATxDescFlagStatus
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq _IS_ETH_DMATxDESC_GET_FLAG
movl %eax, %edi
callq _assert_param
andl (%r14), %ebx
movq _RESET@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpl %eax, %ebx
je LBB0_2
## %bb.1:
movq _SET@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RESET,8,3 ## @RESET
.comm _SET,8,3 ## @SET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ETH_GetDMATxDescFlagStatus ; -- Begin function ETH_GetDMATxDescFlagStatus
.p2align 2
_ETH_GetDMATxDescFlagStatus: ; @ETH_GetDMATxDescFlagStatus
.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 x0, x1
bl _IS_ETH_DMATxDESC_GET_FLAG
bl _assert_param
ldr w8, [x20]
and w8, w8, w19
Lloh0:
adrp x9, _RESET@GOTPAGE
Lloh1:
ldr x9, [x9, _RESET@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x10, _SET@GOTPAGE
Lloh4:
ldr x10, [x10, _SET@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
cmp w8, w9
csel x0, x9, x10, eq
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RESET,8,3 ; @RESET
.comm _SET,8,3 ; @SET
.subsections_via_symbols
| AnghaBench/anypixel/firmware/controller/ThirdParty/ETH/src/extr_stm32f4x7_eth.c_ETH_GetDMATxDescFlagStatus.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function linear_stop
_linear_stop: ## @linear_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq (%rdi), %r14
addq $12, %rdi
callq _lockdep_is_held
movq %r14, %rdi
movl %eax, %esi
callq _rcu_dereference_protected
movq %rax, %r14
xorl %eax, %eax
callq _rcu_barrier
movl 8(%rbx), %edi
callq _blk_sync_queue
movq %r14, %rdi
callq _kfree
movq $0, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _linear_stop
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function linear_stop
_linear_stop: ; @linear_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
mov x19, x0
ldr x20, [x0], #12
bl _lockdep_is_held
mov x1, x0
mov x0, x20
bl _rcu_dereference_protected
mov x20, x0
bl _rcu_barrier
ldr w0, [x19, #8]
bl _blk_sync_queue
mov x0, x20
bl _kfree
str xzr, [x19]
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 _linear_stop
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/md/extr_linear.c_linear_stop.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zdscal_ ## -- Begin function zdscal_
.p2align 4, 0x90
_zdscal_: ## @zdscal_
.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), %r8d
testl %r8d, %r8d
jle LBB0_19
## %bb.1:
movl (%rcx), %eax
testl %eax, %eax
jle LBB0_19
## %bb.2:
movl (%rsi), %r10d
cmpl $1, %eax
jne LBB0_3
## %bb.8:
movl $1, %eax
cmpq $2, %r8
jb LBB0_17
## %bb.9:
movl %r8d, %r9d
andl $-2, %r9d
movd %r10d, %xmm0
pshufd $80, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1]
leaq -2(%r9), %rax
movq %rax, %rcx
shrq %rcx
incq %rcx
pshufd $80, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,1,1]
testq %rax, %rax
je LBB0_10
## %bb.11:
movq %rcx, %rdi
andq $-2, %rdi
movl $1, %eax
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movdqu -8(%rdx,%rax,8), %xmm1
movdqu 8(%rdx,%rax,8), %xmm2
pmulld %xmm0, %xmm1
movdqu %xmm1, -8(%rdx,%rax,8)
pmulld %xmm0, %xmm2
movdqu %xmm2, 8(%rdx,%rax,8)
addq $4, %rax
addq $-2, %rdi
jne LBB0_12
## %bb.13:
testb $1, %cl
je LBB0_15
LBB0_14:
movdqu -8(%rdx,%rax,8), %xmm1
pmulld %xmm0, %xmm1
movdqu %xmm1, -8(%rdx,%rax,8)
LBB0_15:
cmpq %r9, %r8
je LBB0_19
## %bb.16:
movq %r8, %rax
orq $1, %rax
LBB0_17:
incq %r8
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movl -8(%rdx,%rax,8), %ecx
imull %r10d, %ecx
movl -4(%rdx,%rax,8), %esi
imull %r10d, %esi
movl %ecx, -8(%rdx,%rax,8)
movl %esi, -4(%rdx,%rax,8)
incq %rax
cmpq %rax, %r8
jne LBB0_18
jmp LBB0_19
LBB0_3:
movl $1, %eax
cmpl $1, %r8d
je LBB0_6
## %bb.4:
movl %r8d, %r9d
andl $-2, %r9d
movl $1, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cltq
movl -8(%rdx,%rax,8), %esi
imull %r10d, %esi
movl -4(%rdx,%rax,8), %edi
imull %r10d, %edi
movl %esi, -8(%rdx,%rax,8)
movl %edi, -4(%rdx,%rax,8)
movslq (%rcx), %rsi
addq %rax, %rsi
movl -8(%rdx,%rsi,8), %eax
imull %r10d, %eax
movl -4(%rdx,%rsi,8), %edi
imull %r10d, %edi
movl %eax, -8(%rdx,%rsi,8)
movl %edi, -4(%rdx,%rsi,8)
movslq (%rcx), %rdi
movslq %esi, %rax
addq %rdi, %rax
addl $-2, %r9d
jne LBB0_5
LBB0_6:
testb $1, %r8b
je LBB0_19
## %bb.7:
movl -8(%rdx,%rax,8), %ecx
imull %r10d, %ecx
imull -4(%rdx,%rax,8), %r10d
movl %ecx, -8(%rdx,%rax,8)
movl %r10d, -4(%rdx,%rax,8)
LBB0_19:
xorl %eax, %eax
popq %rbp
retq
LBB0_10:
movl $1, %eax
testb $1, %cl
jne LBB0_14
jmp LBB0_15
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _zdscal_ ; -- Begin function zdscal_
.p2align 2
_zdscal_: ; @zdscal_
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_12
; %bb.1:
sub x10, x2, #8
ldr w9, [x3]
cmp w9, #1
b.lt LBB0_12
; %bb.2:
ldr w9, [x1]
b.ne LBB0_5
; %bb.3:
cmp x8, #8
b.hs LBB0_7
; %bb.4:
mov w10, #1
b LBB0_10
LBB0_5:
dup.2s v0, w9
mov w9, #1
LBB0_6: ; =>This Inner Loop Header: Depth=1
sbfiz x11, x9, #3, #32
ldr d1, [x10, x11]
mul.2s v1, v1, v0
str d1, [x10, x11]
ldr w11, [x3]
add w9, w11, w9
subs w8, w8, #1
b.ne LBB0_6
b LBB0_12
LBB0_7:
and x11, x8, #0xfffffff8
orr x10, x11, #0x1
dup.4s v0, w9
add x12, x2, #32
mov x13, x11
LBB0_8: ; =>This Inner Loop Header: Depth=1
sub x14, x12, #32
ld2.4s { v1, v2 }, [x14]
ld2.4s { v3, v4 }, [x12]
mul.4s v5, v1, v0
mul.4s v6, v2, v0
mul.4s v1, v3, v0
mul.4s v2, v4, v0
st2.4s { v5, v6 }, [x14]
st2.4s { v1, v2 }, [x12]
add x12, x12, #64
subs x13, x13, #8
b.ne LBB0_8
; %bb.9:
cmp x8, x11
b.eq LBB0_12
LBB0_10:
add x11, x8, #1
dup.2s v0, w9
add x8, x2, x10, lsl #3
sub x8, x8, #8
sub x9, x11, x10
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr d1, [x8]
mul.2s v1, v1, v0
str d1, [x8], #8
subs x9, x9, #1
b.ne LBB0_11
LBB0_12:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_blas.c_zdscal_.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ohci_pci_reset
_ohci_pci_reset: ## @ohci_pci_reset
.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 _hcd_to_ohci
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.1:
callq _to_pci_dev
movq _ohci_pci_quirks@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq %rax, %rsi
callq _pci_match_id
testq %rax, %rax
je LBB0_4
## %bb.2:
movq %rbx, %rdi
callq *(%rax)
testl %eax, %eax
je LBB0_4
## %bb.3:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
movq %r14, %rdi
callq _ohci_hcd_init
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _ohci_init ## TAILCALL
.cfi_endproc
## -- End function
.comm _ohci_pci_quirks,4,2 ## @ohci_pci_quirks
.no_dead_strip _ohci_pci_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ohci_pci_reset
_ohci_pci_reset: ; @ohci_pci_reset
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
bl _hcd_to_ohci
mov x19, x0
ldr x0, [x20]
cbz x0, LBB0_4
; %bb.1:
bl _to_pci_dev
mov x1, x0
Lloh0:
adrp x8, _ohci_pci_quirks@GOTPAGE
Lloh1:
ldr x8, [x8, _ohci_pci_quirks@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _pci_match_id
cbz x0, LBB0_4
; %bb.2:
ldr x8, [x0]
mov x0, x20
blr x8
cbz w0, LBB0_4
; %bb.3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
mov x0, x19
bl _ohci_hcd_init
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ohci_init
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ohci_pci_quirks,4,2 ; @ohci_pci_quirks
.no_dead_strip _ohci_pci_reset
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/host/extr_ohci-pci.c_ohci_pci_reset.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
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %eax
testl %eax, %eax
jle LBB0_12
## %bb.1:
movl $1, %r13d
leaq L_.str.2(%rip), %r14
leaq L_.str.3(%rip), %r15
leaq L_str(%rip), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
leal 1(%r13), %ecx
movl -44(%rbp), %eax
cmpl %eax, %r13d
movl %ecx, %r13d
jge LBB0_12
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
testl %eax, %eax
jle LBB0_11
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
jmp LBB0_4
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
callq _puts
LBB0_10: ## in Loop: Header=BB0_4 Depth=2
movl -44(%rbp), %eax
movl %ebx, %ecx
cmpl %eax, %ebx
jge LBB0_11
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal 1(%rcx), %ebx
cmpl $1, %r13d
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpl %eax, %r13d
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
testl %ecx, %ecx
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
cmpl %eax, %ebx
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_4 Depth=2
movl $32, %edi
callq _putchar
jmp LBB0_10
LBB0_12:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter total rows : "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz " ___\n "
L_.str.3: ## @.str.3
.asciz "| |\n "
L_str: ## @str
.asciz "|___|"
.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
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
cmp w8, #1
b.lt LBB0_12
; %bb.1:
mov w22, #1
Lloh4:
adrp x19, l_.str.2@PAGE
Lloh5:
add x19, x19, l_.str.2@PAGEOFF
Lloh6:
adrp x20, l_.str.3@PAGE
Lloh7:
add x20, x20, l_.str.3@PAGEOFF
Lloh8:
adrp x21, l_str@PAGE
Lloh9:
add x21, x21, l_str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10
bl _putchar
add w9, w22, #1
ldr w8, [sp, #12]
cmp w22, w8
mov x22, x9
b.ge LBB0_12
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
cmp w8, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w23, #0
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
mov x0, x19
bl _printf
mov x0, x20
bl _printf
mov x0, x21
bl _puts
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #12]
add w23, w23, #1
cmp w23, w8
b.ge LBB0_2
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
cmp w22, #1
b.eq LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cmp w22, w8
b.eq LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
cbz w23, LBB0_5
; %bb.10: ; in Loop: Header=BB0_7 Depth=2
add w9, w23, #1
cmp w9, w8
b.eq LBB0_5
; %bb.11: ; in Loop: Header=BB0_7 Depth=2
mov w0, #32
bl _putchar
b LBB0_6
LBB0_12:
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
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.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 "Enter total rows : "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz " ___\n "
l_.str.3: ; @.str.3
.asciz "| |\n "
l_str: ; @str
.asciz "|___|"
.subsections_via_symbols
| the_stack_data/199572.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wimax_gnl_doit_rfkill ## -- Begin function wimax_gnl_doit_rfkill
.p2align 4, 0x90
_wimax_gnl_doit_rfkill: ## @wimax_gnl_doit_rfkill
.cfi_startproc
## %bb.0:
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, %r15
movq %rdi, %r14
leaq L_.str(%rip), %rdx
xorl %ebx, %ebx
movl $3, %edi
xorl %esi, %esi
movq %r14, %rcx
movq %r15, %r8
callq _d_fnstart
movq _ENODEV@GOTPCREL(%rip), %rax
subl (%rax), %ebx
movq (%r15), %rax
movq _WIMAX_GNL_RFKILL_IFIDX@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq (%rax,%rcx,8), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _nla_get_u32
movq %r15, %rdi
movl %eax, %esi
callq _wimax_dev_get_by_genl_info
testq %rax, %rax
je LBB0_7
## %bb.3:
movq %rax, %r12
movq %rax, %rdi
callq _wimax_dev_to_dev
movq (%r15), %rcx
movq _WIMAX_GNL_RFKILL_STATE@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rcx,%rdx,8), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.5:
callq _nla_get_u32
movq %r12, %rdi
movl %eax, %esi
callq _wimax_rfkill
movl %eax, %ebx
jmp LBB0_6
LBB0_1:
leaq L_.str.1(%rip), %rdi
callq _pr_err
jmp LBB0_7
LBB0_4:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %ebx, %ebx
subl (%rcx), %ebx
leaq L_.str.2(%rip), %rsi
movq %rax, %rdi
callq _dev_err
LBB0_6:
movl (%r12), %edi
callq _dev_put
LBB0_7:
leaq L_.str.3(%rip), %rdx
movl $3, %edi
xorl %esi, %esi
movq %r14, %rcx
movq %r15, %r8
movl %ebx, %r9d
callq _d_fnend
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(skb %p info %p)\n"
.comm _ENODEV,4,2 ## @ENODEV
.comm _WIMAX_GNL_RFKILL_IFIDX,8,3 ## @WIMAX_GNL_RFKILL_IFIDX
L_.str.1: ## @.str.1
.asciz "WIMAX_GNL_OP_RFKILL: can't find IFIDX attribute\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _WIMAX_GNL_RFKILL_STATE,8,3 ## @WIMAX_GNL_RFKILL_STATE
L_.str.2: ## @.str.2
.asciz "WIMAX_GNL_RFKILL: can't find RFKILL_STATE attribute\n"
L_.str.3: ## @.str.3
.asciz "(skb %p info %p) = %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wimax_gnl_doit_rfkill ; -- Begin function wimax_gnl_doit_rfkill
.p2align 2
_wimax_gnl_doit_rfkill: ; @wimax_gnl_doit_rfkill
.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 x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
mov w0, #3
mov x1, #0
mov x3, x20
mov x4, x19
bl _d_fnstart
Lloh2:
adrp x8, _ENODEV@GOTPAGE
Lloh3:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w21, w8
ldr x8, [x19]
Lloh5:
adrp x9, _WIMAX_GNL_RFKILL_IFIDX@GOTPAGE
Lloh6:
ldr x9, [x9, _WIMAX_GNL_RFKILL_IFIDX@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
ldr x0, [x8, x9, lsl #3]
cbz x0, LBB0_4
; %bb.1:
bl _nla_get_u32
mov x1, x0
mov x0, x19
bl _wimax_dev_get_by_genl_info
cbz x0, LBB0_7
; %bb.2:
mov x22, x0
bl _wimax_dev_to_dev
ldr x8, [x19]
Lloh8:
adrp x9, _WIMAX_GNL_RFKILL_STATE@GOTPAGE
Lloh9:
ldr x9, [x9, _WIMAX_GNL_RFKILL_STATE@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
ldr x8, [x8, x9, lsl #3]
cbz x8, LBB0_5
; %bb.3:
mov x0, x8
bl _nla_get_u32
mov x1, x0
mov x0, x22
bl _wimax_rfkill
mov x21, x0
b LBB0_6
LBB0_4:
Lloh11:
adrp x0, l_.str.1@PAGE
Lloh12:
add x0, x0, l_.str.1@PAGEOFF
bl _pr_err
b LBB0_7
LBB0_5:
Lloh13:
adrp x8, _EINVAL@GOTPAGE
Lloh14:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
ldr w8, [x8]
neg w21, w8
Lloh16:
adrp x1, l_.str.2@PAGE
Lloh17:
add x1, x1, l_.str.2@PAGEOFF
bl _dev_err
LBB0_6:
ldr w0, [x22]
bl _dev_put
LBB0_7:
Lloh18:
adrp x2, l_.str.3@PAGE
Lloh19:
add x2, x2, l_.str.3@PAGEOFF
mov w0, #3
mov x1, #0
mov x3, x20
mov x4, x19
mov x5, x21
bl _d_fnend
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "(skb %p info %p)\n"
.comm _ENODEV,4,2 ; @ENODEV
.comm _WIMAX_GNL_RFKILL_IFIDX,8,3 ; @WIMAX_GNL_RFKILL_IFIDX
l_.str.1: ; @.str.1
.asciz "WIMAX_GNL_OP_RFKILL: can't find IFIDX attribute\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _WIMAX_GNL_RFKILL_STATE,8,3 ; @WIMAX_GNL_RFKILL_STATE
l_.str.2: ; @.str.2
.asciz "WIMAX_GNL_RFKILL: can't find RFKILL_STATE attribute\n"
l_.str.3: ; @.str.3
.asciz "(skb %p info %p) = %d\n"
.subsections_via_symbols
| AnghaBench/linux/net/wimax/extr_op-rfkill.c_wimax_gnl_doit_rfkill.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putchar ## -- Begin function ft_putchar
.p2align 4, 0x90
_ft_putchar: ## @ft_putchar
.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
movb %dil, -1(%rbp)
leaq -1(%rbp), %rsi
movl $1, %edx
movl $1, %edi
callq _write
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putchar ; -- Begin function ft_putchar
.p2align 2
_ft_putchar: ; @ft_putchar
.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
sturb w0, [x29, #-1]
sub x1, x29, #1
mov w0, #1
mov w2, #1
bl _write
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/718796.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mips_phys_to_cached
_mips_phys_to_cached: ## @mips_phys_to_cached
.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 _MIPS_XKPHYS_CACHED_NC_BASE@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MIPS_XKPHYS_CACHED_NC_BASE,4,2 ## @MIPS_XKPHYS_CACHED_NC_BASE
.no_dead_strip _mips_phys_to_cached
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mips_phys_to_cached
_mips_phys_to_cached: ; @mips_phys_to_cached
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MIPS_XKPHYS_CACHED_NC_BASE@GOTPAGE
Lloh1:
ldr x8, [x8, _MIPS_XKPHYS_CACHED_NC_BASE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
orr w0, w8, w0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MIPS_XKPHYS_CACHED_NC_BASE,4,2 ; @MIPS_XKPHYS_CACHED_NC_BASE
.no_dead_strip _mips_phys_to_cached
.subsections_via_symbols
| AnghaBench/freebsd/stand/mips/beri/common/extr_mips.h_mips_phys_to_cached.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function alc_update_knob_master
_alc_update_knob_master: ## @alc_update_knob_master
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq %rdi, %r15
leaq L_.str(%rip), %rsi
callq _snd_hda_find_mixer_ctl
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rax, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $8, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, %rbx
movl (%r12), %esi
movq _AC_VERB_GET_VOLUME_KNOB_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
xorl %edx, %edx
xorl %r8d, %r8d
callq _snd_hda_codec_read
movq _HDA_AMP_VOLMASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movq (%rbx), %rcx
movl %eax, (%rcx)
movl %eax, 4(%rcx)
movq %r14, %rdi
movq %rbx, %rsi
callq *(%r14)
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _kfree ## TAILCALL
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Master Playback Volume"
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _AC_VERB_GET_VOLUME_KNOB_CONTROL,4,2 ## @AC_VERB_GET_VOLUME_KNOB_CONTROL
.comm _HDA_AMP_VOLMASK,4,2 ## @HDA_AMP_VOLMASK
.no_dead_strip _alc_update_knob_master
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function alc_update_knob_master
_alc_update_knob_master: ; @alc_update_knob_master
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x22, x1
mov x21, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _snd_hda_find_mixer_ctl
cbz x0, LBB0_3
; %bb.1:
mov x19, x0
Lloh2:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh3:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov w0, #8
bl _kzalloc
cbz x0, LBB0_3
; %bb.2:
mov x20, x0
ldr w1, [x22]
Lloh5:
adrp x8, _AC_VERB_GET_VOLUME_KNOB_CONTROL@GOTPAGE
Lloh6:
ldr x8, [x8, _AC_VERB_GET_VOLUME_KNOB_CONTROL@GOTPAGEOFF]
Lloh7:
ldr w3, [x8]
mov x0, x21
mov w2, #0
mov w4, #0
bl _snd_hda_codec_read
Lloh8:
adrp x8, _HDA_AMP_VOLMASK@GOTPAGE
Lloh9:
ldr x8, [x8, _HDA_AMP_VOLMASK@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
and w8, w8, w0
ldr x9, [x20]
stp w8, w8, [x9]
ldr x8, [x19]
mov x0, x19
mov x1, x20
blr x8
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _kfree
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Master Playback Volume"
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _AC_VERB_GET_VOLUME_KNOB_CONTROL,4,2 ; @AC_VERB_GET_VOLUME_KNOB_CONTROL
.comm _HDA_AMP_VOLMASK,4,2 ; @HDA_AMP_VOLMASK
.no_dead_strip _alc_update_knob_master
.subsections_via_symbols
| AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_update_knob_master.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
movl $8000, %edi ## imm = 0x1F40
callq _malloc
movq %rax, %r14
testq %rax, %rax
je LBB0_1
## %bb.2:
leaq L_.str.1(%rip), %r15
leaq -41(%rbp), %r12
xorl %ebx, %ebx
movq %r14, %r13
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _scanf
addq $4, %r13
incl %ebx
cmpb $10, -41(%rbp)
jne LBB0_3
## %bb.4:
leaq L_.str.2(%rip), %r15
movq %r14, %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
addq $4, %r12
decl %ebx
jne LBB0_5
jmp LBB0_6
LBB0_1:
leaq L_str(%rip), %rdi
callq _puts
LBB0_6:
movq %r14, %rdi
callq _free
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _input ## -- Begin function input
.p2align 4, 0x90
_input: ## @input
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
leaq L_.str.1(%rip), %r15
leaq -41(%rbp), %r12
xorl %r13d, %r13d
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _scanf
addq $4, %rbx
incl %r13d
cmpb $10, -41(%rbp)
jne LBB1_1
## %bb.2:
movl %r13d, (%r14)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_value ## -- Begin function print_value
.p2align 4, 0x90
_print_value: ## @print_value
.cfi_startproc
## %bb.0:
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
testl %esi, %esi
jle LBB2_3
## %bb.1:
movq %rdi, %r15
movl %esi, %r12d
leaq L_.str.2(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
incq %rbx
cmpl %ebx, %r12d
jne LBB2_2
LBB2_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d%c"
L_.str.2: ## @.str.2
.asciz "%d\n"
L_str: ## @str
.asciz "memery error"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov w0, #8000
bl _malloc
mov x19, x0
cbz x0, LBB0_5
; %bb.1:
mov w21, #0
add x22, sp, #31
mov x23, x19
Lloh0:
adrp x20, l_.str.1@PAGE
Lloh1:
add x20, x20, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
stp x23, x22, [sp]
mov x0, x20
bl _scanf
add x23, x23, #4
add w21, w21, #1
ldrb w8, [sp, #31]
cmp w8, #10
b.ne LBB0_2
; %bb.3:
Lloh2:
adrp x20, l_.str.2@PAGE
Lloh3:
add x20, x20, l_.str.2@PAGEOFF
mov x22, x19
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22], #4
str x8, [sp]
mov x0, x20
bl _printf
subs w21, w21, #1
b.ne LBB0_4
b LBB0_6
LBB0_5:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
LBB0_6:
mov x0, x19
bl _free
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _input ; -- Begin function input
.p2align 2
_input: ; @input
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
mov w22, #0
add x23, sp, #31
Lloh6:
adrp x21, l_.str.1@PAGE
Lloh7:
add x21, x21, l_.str.1@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
stp x20, x23, [sp]
mov x0, x21
bl _scanf
add x20, x20, #4
add w22, w22, #1
ldrb w8, [sp, #31]
cmp w8, #10
b.ne LBB1_1
; %bb.2:
str w22, [x19]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.globl _print_value ; -- Begin function print_value
.p2align 2
_print_value: ; @print_value
.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 w1, #1
b.lt LBB2_3
; %bb.1:
mov x19, x1
mov x20, x0
Lloh8:
adrp x21, l_.str.2@PAGE
Lloh9:
add x21, x21, l_.str.2@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20], #4
str x8, [sp]
mov x0, x21
bl _printf
subs w19, w19, #1
b.ne LBB2_2
LBB2_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d%c"
l_.str.2: ; @.str.2
.asciz "%d\n"
l_str: ; @str
.asciz "memery error"
.subsections_via_symbols
| the_stack_data/7949459.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mpc52xx_periph_mask
_mpc52xx_periph_mask: ## @mpc52xx_periph_mask
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _irq_map@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %edi, %ecx
movq _MPC52xx_IRQ_L2_MASK@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
andl (%rax,%rcx,4), %edx
movq _intr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl $31, %esi
subl %edx, %esi
popq %rbp
jmp _io_be_setbit ## TAILCALL
.cfi_endproc
## -- End function
.comm _irq_map,8,3 ## @irq_map
.comm _MPC52xx_IRQ_L2_MASK,4,2 ## @MPC52xx_IRQ_L2_MASK
.comm _intr,8,3 ## @intr
.no_dead_strip _mpc52xx_periph_mask
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mpc52xx_periph_mask
_mpc52xx_periph_mask: ; @mpc52xx_periph_mask
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _irq_map@GOTPAGE
Lloh1:
ldr x8, [x8, _irq_map@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w8, [x8, w0, uxtw #2]
Lloh3:
adrp x9, _MPC52xx_IRQ_L2_MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _MPC52xx_IRQ_L2_MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
Lloh6:
adrp x10, _intr@GOTPAGE
Lloh7:
ldr x10, [x10, _intr@GOTPAGEOFF]
and w8, w9, w8
Lloh8:
ldr x0, [x10]
mov w9, #31
sub w1, w9, w8
b _io_be_setbit
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _irq_map,8,3 ; @irq_map
.comm _MPC52xx_IRQ_L2_MASK,4,2 ; @MPC52xx_IRQ_L2_MASK
.comm _intr,8,3 ; @intr
.no_dead_strip _mpc52xx_periph_mask
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/powerpc/platforms/52xx/extr_mpc52xx_pic.c_mpc52xx_periph_mask.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gpio_trig_brightness_show
_gpio_trig_brightness_show: ## @gpio_trig_brightness_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 _led_trigger_get_drvdata
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u\n"
.no_dead_strip _gpio_trig_brightness_show
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gpio_trig_brightness_show
_gpio_trig_brightness_show: ; @gpio_trig_brightness_show
.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
bl _led_trigger_get_drvdata
ldr w2, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sprintf
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u\n"
.no_dead_strip _gpio_trig_brightness_show
.subsections_via_symbols
| AnghaBench/linux/drivers/leds/trigger/extr_ledtrig-gpio.c_gpio_trig_brightness_show.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_move_8_d_ix ## -- Begin function m68k_op_move_8_d_ix
.p2align 4, 0x90
_m68k_op_move_8_d_ix: ## @m68k_op_move_8_d_ix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
xorl %eax, %eax
callq _OPER_AY_IX_8
movl %eax, %ebx
movq _DX@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _MASK_OUT_BELOW_8
orl %ebx, %eax
movl %eax, (%r14)
movl %ebx, %edi
callq _NFLAG_8
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_Z@GOTPCREL(%rip), %rax
movl %ebx, (%rax)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DX,4,2 ## @DX
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_move_8_d_ix ; -- Begin function m68k_op_move_8_d_ix
.p2align 2
_m68k_op_move_8_d_ix: ; @m68k_op_move_8_d_ix
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl _OPER_AY_IX_8
mov x19, x0
Lloh0:
adrp x20, _DX@GOTPAGE
Lloh1:
ldr x20, [x20, _DX@GOTPAGEOFF]
ldr w0, [x20]
bl _MASK_OUT_BELOW_8
orr w8, w0, w19
str w8, [x20]
mov x0, x19
bl _NFLAG_8
Lloh2:
adrp x8, _FLAG_N@GOTPAGE
Lloh3:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh4:
str w0, [x8]
Lloh5:
adrp x8, _FLAG_Z@GOTPAGE
Lloh6:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh7:
str w19, [x8]
Lloh8:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh9:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _FLAG_V@GOTPAGE
Lloh12:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh13:
str w8, [x9]
Lloh14:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh15:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _FLAG_C@GOTPAGE
Lloh18:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh19:
str w8, [x9]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DX,4,2 ; @DX
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopdm.c_m68k_op_move_8_d_ix.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function saf1761_otg_clear_stall
_saf1761_otg_clear_stall: ## @saf1761_otg_clear_stall
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
movl (%rdi), %edi
movq _MA_OWNED@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _USB_BUS_LOCK_ASSERT
leaq L_.str(%rip), %rsi
movl $5, %edi
movq %r15, %rdx
callq _DPRINTFN
movq 8(%rbx), %rax
movq _USB_MODE_DEVICE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movl (%rbx), %edi
callq _SAF1761_OTG_BUS2SC
movq %rax, %r14
movq %rax, %rdi
callq _USB_BUS_SPIN_LOCK
movq (%r15), %rax
movl (%rax), %edi
movq _UE_ADDR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
andl %edi, %esi
movq _UE_XFERTYPE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
andl 4(%rax), %edx
movq _UE_DIR_IN@GOTPCREL(%rip), %rax
movq _UE_DIR_OUT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
andl %edi, %ecx
movq %r14, %rdi
callq _saf1761_otg_clear_stall_sub_locked
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _USB_BUS_SPIN_UNLOCK ## TAILCALL
LBB0_1:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MA_OWNED,4,2 ## @MA_OWNED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "endpoint=%p\n"
.comm _USB_MODE_DEVICE,8,3 ## @USB_MODE_DEVICE
.comm _UE_ADDR,4,2 ## @UE_ADDR
.comm _UE_XFERTYPE,4,2 ## @UE_XFERTYPE
.comm _UE_DIR_IN,4,2 ## @UE_DIR_IN
.comm _UE_DIR_OUT,4,2 ## @UE_DIR_OUT
.no_dead_strip _saf1761_otg_clear_stall
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function saf1761_otg_clear_stall
_saf1761_otg_clear_stall: ; @saf1761_otg_clear_stall
.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
ldr w0, [x0]
Lloh0:
adrp x8, _MA_OWNED@GOTPAGE
Lloh1:
ldr x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _USB_BUS_LOCK_ASSERT
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov w0, #5
mov x2, x19
bl _DPRINTFN
ldr x8, [x20, #8]
Lloh5:
adrp x9, _USB_MODE_DEVICE@GOTPAGE
Lloh6:
ldr x9, [x9, _USB_MODE_DEVICE@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ldr w0, [x20]
bl _SAF1761_OTG_BUS2SC
mov x20, x0
bl _USB_BUS_SPIN_LOCK
ldr x8, [x19]
Lloh8:
adrp x9, _UE_ADDR@GOTPAGE
Lloh9:
ldr x9, [x9, _UE_ADDR@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
ldp w10, w8, [x8]
and w1, w9, w10
Lloh11:
adrp x9, _UE_XFERTYPE@GOTPAGE
Lloh12:
ldr x9, [x9, _UE_XFERTYPE@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
and w2, w9, w8
Lloh14:
adrp x8, _UE_DIR_IN@GOTPAGE
Lloh15:
ldr x8, [x8, _UE_DIR_IN@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _UE_DIR_OUT@GOTPAGE
Lloh18:
ldr x9, [x9, _UE_DIR_OUT@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w8, w9, w8
and w3, w8, w10
mov x0, x20
bl _saf1761_otg_clear_stall_sub_locked
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _USB_BUS_SPIN_UNLOCK
LBB0_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _MA_OWNED,4,2 ; @MA_OWNED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "endpoint=%p\n"
.comm _USB_MODE_DEVICE,8,3 ; @USB_MODE_DEVICE
.comm _UE_ADDR,4,2 ; @UE_ADDR
.comm _UE_XFERTYPE,4,2 ; @UE_XFERTYPE
.comm _UE_DIR_IN,4,2 ; @UE_DIR_IN
.comm _UE_DIR_OUT,4,2 ; @UE_DIR_OUT
.no_dead_strip _saf1761_otg_clear_stall
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/controller/extr_saf1761_otg.c_saf1761_otg_clear_stall.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/82950110.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vm_map_madvise ## -- Begin function vm_map_madvise
.p2align 4, 0x90
_vm_map_madvise: ## @vm_map_madvise
.cfi_startproc
## %bb.0:
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
## kill: def $ecx killed $ecx def $rcx
movq %rcx, %rax
movq %rcx, -48(%rbp) ## 8-byte Spill
leal -128(%rcx), %eax
cmpl $9, %eax
ja LBB0_48
## %bb.1:
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %r12
movl $830, %ecx ## imm = 0x33E
btl %eax, %ecx
jae LBB0_4
## %bb.2:
xorl %eax, %eax
cmpq %r15, %r13
je LBB0_47
## %bb.3:
movq %r12, %rdi
callq _vm_map_lock
xorl %r14d, %r14d
jmp LBB0_6
LBB0_4:
xorl %eax, %eax
cmpq %r15, %r13
je LBB0_47
## %bb.5:
movq %r12, %rdi
callq _vm_map_lock_read
movb $1, %r14b
LBB0_6:
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq _VM_MAP_RANGE_CHECK
leaq -80(%rbp), %rdx
movq %r12, %rdi
movq %r13, %rsi
callq _vm_map_lookup_entry
movq -80(%rbp), %rbx
testq %rax, %rax
movq %r15, -56(%rbp) ## 8-byte Spill
je LBB0_9
## %bb.7:
testb %r14b, %r14b
jne LBB0_27
## %bb.8:
movq %r12, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq _vm_map_clip_start
movq -80(%rbp), %rbx
jmp LBB0_10
LBB0_9:
movq %rbx, %rdi
callq _vm_map_entry_succ
movq %rax, %rbx
movq %rax, -80(%rbp)
testb %r14b, %r14b
je LBB0_10
LBB0_27:
movq %r13, -104(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
cmpq %r15, (%rbx)
jge LBB0_45
## %bb.28:
movq -48(%rbp), %rax ## 8-byte Reload
## kill: def $eax killed $eax killed $rax
andl $-2, %eax
movl %eax, -84(%rbp) ## 4-byte Spill
movq _MAP_ENTRY_IS_SUB_MAP@GOTPCREL(%rip), %r13
jmp LBB0_29
LBB0_40: ## in Loop: Header=BB0_29 Depth=1
movq %rax, -96(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq -72(%rbp), %rsi ## 8-byte Reload
movq %r12, %rdx
movq -48(%rbp), %r14 ## 8-byte Reload
movl %r14d, %ecx
callq _pmap_advise
movq 32(%rbx), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
movl %r14d, %ecx
callq _vm_object_madvise
.p2align 4, 0x90
LBB0_44: ## in Loop: Header=BB0_29 Depth=1
movq %rbx, %rdi
callq _vm_map_entry_succ
movq %rax, %rbx
movq -56(%rbp), %rax ## 8-byte Reload
cmpq %rax, (%rbx)
jge LBB0_45
LBB0_29: ## =>This Inner Loop Header: Depth=1
movl (%r13), %eax
testl %eax, 8(%rbx)
jne LBB0_44
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
cmpl $134, -48(%rbp) ## 4-byte Folded Reload
jne LBB0_33
## %bb.31: ## in Loop: Header=BB0_29 Depth=1
movq 32(%rbx), %rax
testq %rax, %rax
je LBB0_33
## %bb.32: ## in Loop: Header=BB0_29 Depth=1
cmpq $0, (%rax)
jne LBB0_44
.p2align 4, 0x90
LBB0_33: ## in Loop: Header=BB0_29 Depth=1
movl 44(%rbx), %edi
callq _OFF_TO_IDX
movq %rax, %r14
movq 16(%rbx), %rdi
subq (%rbx), %rdi
callq _atop
movq %rax, %r15
movq (%rbx), %rax
movq 16(%rbx), %r12
movq -104(%rbp), %r13 ## 8-byte Reload
cmpq %r13, %rax
jge LBB0_34
## %bb.35: ## in Loop: Header=BB0_29 Depth=1
movq %r13, %rdi
subq %rax, %rdi
callq _atop
addq %r14, %rax
movq 16(%rbx), %rdi
movq %r13, -72(%rbp) ## 8-byte Spill
jmp LBB0_36
LBB0_34: ## in Loop: Header=BB0_29 Depth=1
movq %rax, -72(%rbp) ## 8-byte Spill
movq %r12, %rdi
movq %r14, %rax
LBB0_36: ## in Loop: Header=BB0_29 Depth=1
addq %r14, %r15
movq -56(%rbp), %r14 ## 8-byte Reload
subq %r14, %rdi
movq _MAP_ENTRY_IS_SUB_MAP@GOTPCREL(%rip), %r13
jle LBB0_38
## %bb.37: ## in Loop: Header=BB0_29 Depth=1
movq %rax, %r12
callq _atop
subq %rax, %r15
movq %r12, %rax
movq %r14, %r12
LBB0_38: ## in Loop: Header=BB0_29 Depth=1
movq %r15, %r14
subq %rax, %r14
jle LBB0_44
## %bb.39: ## in Loop: Header=BB0_29 Depth=1
cmpl $134, -84(%rbp) ## 4-byte Folded Reload
je LBB0_40
## %bb.41: ## in Loop: Header=BB0_29 Depth=1
movq 32(%rbx), %rdi
movq %rax, %rsi
movq %r15, %rdx
movq -48(%rbp), %r15 ## 8-byte Reload
movl %r15d, %ecx
movq %rax, %r12
callq _vm_object_madvise
cmpl $128, %r15d
jne LBB0_44
## %bb.42: ## in Loop: Header=BB0_29 Depth=1
cmpq $0, 24(%rbx)
jne LBB0_44
## %bb.43: ## in Loop: Header=BB0_29 Depth=1
movq %r12, %rax
movl 40(%rbx), %r15d
movq 32(%rbx), %r12
movq %r14, %rdi
movq %rax, %r14
callq _ptoa
movq _MAP_PREFAULT_MADVISE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rsp)
movq -64(%rbp), %rdi ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movl %r15d, %edx
movq %r12, %rcx
movq %r14, %r8
movl %eax, %r9d
callq _vm_map_pmap_enter
jmp LBB0_44
LBB0_10:
cmpq %r15, (%rbx)
jge LBB0_26
## %bb.11:
movq _MAP_ENTRY_IS_SUB_MAP@GOTPCREL(%rip), %r14
movq -48(%rbp), %rax ## 8-byte Reload
addl $-129, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
leaq LJTI0_0(%rip), %r15
movq _MAP_ENTRY_NOCOREDUMP@GOTPCREL(%rip), %r13
jmp LBB0_12
LBB0_45:
movq -64(%rbp), %rdi ## 8-byte Reload
callq _vm_map_unlock_read
jmp LBB0_46
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movq _MAP_ENTRY_BEHAV_NORMAL@GOTPCREL(%rip), %rax
LBB0_16: ## in Loop: Header=BB0_12 Depth=1
movl (%rax), %esi
movq %rbx, %rdi
callq _vm_map_entry_set_behavior
LBB0_24: ## in Loop: Header=BB0_12 Depth=1
movq %rbx, %rdi
callq _vm_map_entry_pred
movq %r12, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq _vm_map_try_merge_entries
LBB0_25: ## in Loop: Header=BB0_12 Depth=1
movq %rbx, %rdi
callq _vm_map_entry_succ
movq %rax, %rbx
movq -56(%rbp), %rax ## 8-byte Reload
cmpq %rax, (%rbx)
jge LBB0_26
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl (%r14), %eax
testl %eax, 8(%rbx)
jne LBB0_25
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq %r12, %rdi
movq %rbx, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
callq _vm_map_clip_end
cmpl $8, -48(%rbp) ## 4-byte Folded Reload
ja LBB0_24
## %bb.14: ## in Loop: Header=BB0_12 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
LBB0_17: ## in Loop: Header=BB0_12 Depth=1
movq _MAP_ENTRY_BEHAV_SEQUENTIAL@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_18: ## in Loop: Header=BB0_12 Depth=1
movq _MAP_ENTRY_BEHAV_RANDOM@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_19: ## in Loop: Header=BB0_12 Depth=1
movq _MAP_ENTRY_NOSYNC@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rbx)
jmp LBB0_24
LBB0_21: ## in Loop: Header=BB0_12 Depth=1
movl (%r13), %eax
orl %eax, 8(%rbx)
jmp LBB0_24
LBB0_22: ## in Loop: Header=BB0_12 Depth=1
movl (%r13), %eax
jmp LBB0_23
LBB0_20: ## in Loop: Header=BB0_12 Depth=1
movq _MAP_ENTRY_NOSYNC@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_23: ## in Loop: Header=BB0_12 Depth=1
notl %eax
andl %eax, 8(%rbx)
jmp LBB0_24
LBB0_26:
movq %rbx, %rdi
callq _vm_map_entry_pred
movq %r12, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq _vm_map_try_merge_entries
movq %r12, %rdi
callq _vm_map_unlock
LBB0_46:
xorl %eax, %eax
LBB0_47:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_48:
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_47
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
.long L0_0_set_17
.long L0_0_set_18
.long L0_0_set_19
.long L0_0_set_15
.long L0_0_set_21
.long L0_0_set_24
.long L0_0_set_24
.long L0_0_set_22
.long L0_0_set_20
.end_data_region
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.comm _MAP_ENTRY_IS_SUB_MAP,4,2 ## @MAP_ENTRY_IS_SUB_MAP
.comm _MAP_ENTRY_BEHAV_NORMAL,4,2 ## @MAP_ENTRY_BEHAV_NORMAL
.comm _MAP_ENTRY_BEHAV_SEQUENTIAL,4,2 ## @MAP_ENTRY_BEHAV_SEQUENTIAL
.comm _MAP_ENTRY_BEHAV_RANDOM,4,2 ## @MAP_ENTRY_BEHAV_RANDOM
.comm _MAP_ENTRY_NOSYNC,4,2 ## @MAP_ENTRY_NOSYNC
.comm _MAP_ENTRY_NOCOREDUMP,4,2 ## @MAP_ENTRY_NOCOREDUMP
.comm _MAP_PREFAULT_MADVISE,4,2 ## @MAP_PREFAULT_MADVISE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vm_map_madvise ; -- Begin function vm_map_madvise
.p2align 2
_vm_map_madvise: ; @vm_map_madvise
.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
sub w8, w3, #128
cmp w8, #9
b.hi LBB0_50
; %bb.1:
mov x22, x3
mov x20, x2
mov x23, x1
mov x19, x0
mov w9, #1
lsl w8, w9, w8
mov w9, #830
tst w8, w9
b.eq LBB0_4
; %bb.2:
cmp x23, x20
b.eq LBB0_48
; %bb.3:
mov x0, x19
bl _vm_map_lock
mov w24, #0
b LBB0_6
LBB0_4:
cmp x23, x20
b.eq LBB0_48
; %bb.5:
mov x0, x19
bl _vm_map_lock_read
mov w24, #1
LBB0_6:
mov x0, x19
mov x1, x23
mov x2, x20
bl _VM_MAP_RANGE_CHECK
add x2, sp, #8
mov x0, x19
mov x1, x23
bl _vm_map_lookup_entry
ldr x21, [sp, #8]
cbz x0, LBB0_9
; %bb.7:
tbnz w24, #0, LBB0_10
; %bb.8:
mov x0, x19
mov x1, x21
mov x2, x23
bl _vm_map_clip_start
ldr x21, [sp, #8]
b LBB0_28
LBB0_9:
mov x0, x21
bl _vm_map_entry_succ
mov x21, x0
str x0, [sp, #8]
tbz w24, #0, LBB0_28
LBB0_10:
ldr x8, [x21]
cmp x8, x20
b.ge LBB0_30
; %bb.11:
and w8, w22, #0xfffffffe
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_14 Depth=1
ldr w0, [x19]
mov x1, x25
mov x2, x26
mov x3, x22
bl _pmap_advise
ldr x0, [x21, #32]
mov x1, x24
mov x2, x27
mov x3, x22
bl _vm_object_madvise
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
mov x0, x21
bl _vm_map_entry_succ
mov x21, x0
ldr x8, [x0]
cmp x8, x20
b.ge LBB0_30
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, #8]
Lloh0:
adrp x9, _MAP_ENTRY_IS_SUB_MAP@GOTPAGE
Lloh1:
ldr x9, [x9, _MAP_ENTRY_IS_SUB_MAP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
cmp w22, #134
b.ne LBB0_18
; %bb.16: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [x21, #32]
cbz x8, LBB0_18
; %bb.17: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [x8]
cbnz x8, LBB0_13
LBB0_18: ; in Loop: Header=BB0_14 Depth=1
ldr w0, [x21, #44]
bl _OFF_TO_IDX
mov x27, x0
ldr x8, [x21, #16]
ldr x9, [x21]
sub x0, x8, x9
bl _atop
mov x28, x0
ldr x25, [x21]
ldr x26, [x21, #16]
cmp x25, x23
b.ge LBB0_20
; %bb.19: ; in Loop: Header=BB0_14 Depth=1
sub x0, x23, x25
bl _atop
add x24, x0, x27
ldr x8, [x21, #16]
mov x25, x23
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_14 Depth=1
mov x8, x26
mov x24, x27
LBB0_21: ; in Loop: Header=BB0_14 Depth=1
add x27, x28, x27
subs x0, x8, x20
b.le LBB0_23
; %bb.22: ; in Loop: Header=BB0_14 Depth=1
bl _atop
sub x27, x27, x0
mov x26, x20
LBB0_23: ; in Loop: Header=BB0_14 Depth=1
subs x28, x27, x24
b.le LBB0_13
; %bb.24: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
cmp w8, #134
b.eq LBB0_12
; %bb.25: ; in Loop: Header=BB0_14 Depth=1
ldr x0, [x21, #32]
mov x1, x24
mov x2, x27
mov x3, x22
bl _vm_object_madvise
cmp w22, #128
b.ne LBB0_13
; %bb.26: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [x21, #24]
cbnz x8, LBB0_13
; %bb.27: ; in Loop: Header=BB0_14 Depth=1
ldr w26, [x21, #40]
ldr x27, [x21, #32]
mov x0, x28
bl _ptoa
mov x5, x0
Lloh3:
adrp x8, _MAP_PREFAULT_MADVISE@GOTPAGE
Lloh4:
ldr x8, [x8, _MAP_PREFAULT_MADVISE@GOTPAGEOFF]
Lloh5:
ldr w6, [x8]
mov x0, x19
mov x1, x25
mov x2, x26
mov x3, x27
mov x4, x24
bl _vm_map_pmap_enter
b LBB0_13
LBB0_28:
ldr x8, [x21]
cmp x8, x20
b.ge LBB0_47
; %bb.29:
Lloh6:
adrp x23, _MAP_ENTRY_IS_SUB_MAP@GOTPAGE
Lloh7:
ldr x23, [x23, _MAP_ENTRY_IS_SUB_MAP@GOTPAGEOFF]
sub w22, w22, #129
Lloh8:
adrp x25, lJTI0_0@PAGE
Lloh9:
add x25, x25, lJTI0_0@PAGEOFF
Lloh10:
adrp x26, _MAP_ENTRY_BEHAV_RANDOM@GOTPAGE
Lloh11:
ldr x26, [x26, _MAP_ENTRY_BEHAV_RANDOM@GOTPAGEOFF]
Lloh12:
adrp x27, _MAP_ENTRY_NOSYNC@GOTPAGE
Lloh13:
ldr x27, [x27, _MAP_ENTRY_NOSYNC@GOTPAGEOFF]
Lloh14:
adrp x28, _MAP_ENTRY_BEHAV_NORMAL@GOTPAGE
Lloh15:
ldr x28, [x28, _MAP_ENTRY_BEHAV_NORMAL@GOTPAGEOFF]
Lloh16:
adrp x24, _MAP_ENTRY_NOCOREDUMP@GOTPAGE
Lloh17:
ldr x24, [x24, _MAP_ENTRY_NOCOREDUMP@GOTPAGEOFF]
b LBB0_36
LBB0_30:
mov x0, x19
bl _vm_map_unlock_read
b LBB0_48
LBB0_31: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [x24]
LBB0_32: ; in Loop: Header=BB0_36 Depth=1
ldr w9, [x21, #8]
bic w8, w9, w8
LBB0_33: ; in Loop: Header=BB0_36 Depth=1
str w8, [x21, #8]
LBB0_34: ; in Loop: Header=BB0_36 Depth=1
mov x0, x21
bl _vm_map_entry_pred
mov x1, x0
mov x0, x19
mov x2, x21
bl _vm_map_try_merge_entries
LBB0_35: ; in Loop: Header=BB0_36 Depth=1
mov x0, x21
bl _vm_map_entry_succ
mov x21, x0
ldr x8, [x0]
cmp x8, x20
b.ge LBB0_47
LBB0_36: ; =>This Inner Loop Header: Depth=1
ldr w8, [x21, #8]
ldr w9, [x23]
tst w9, w8
b.ne LBB0_35
; %bb.37: ; in Loop: Header=BB0_36 Depth=1
mov x0, x19
mov x1, x21
mov x2, x20
bl _vm_map_clip_end
cmp w22, #8
b.hi LBB0_34
; %bb.38: ; in Loop: Header=BB0_36 Depth=1
adr x8, LBB0_31
ldrb w9, [x25, x22]
add x8, x8, x9, lsl #2
br x8
LBB0_39: ; in Loop: Header=BB0_36 Depth=1
Lloh18:
adrp x8, _MAP_ENTRY_BEHAV_SEQUENTIAL@GOTPAGE
Lloh19:
ldr x8, [x8, _MAP_ENTRY_BEHAV_SEQUENTIAL@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
b LBB0_43
LBB0_40: ; in Loop: Header=BB0_36 Depth=1
ldr w1, [x26]
b LBB0_43
LBB0_41: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [x27]
b LBB0_45
LBB0_42: ; in Loop: Header=BB0_36 Depth=1
ldr w1, [x28]
LBB0_43: ; in Loop: Header=BB0_36 Depth=1
mov x0, x21
bl _vm_map_entry_set_behavior
b LBB0_34
LBB0_44: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [x24]
LBB0_45: ; in Loop: Header=BB0_36 Depth=1
ldr w9, [x21, #8]
orr w8, w9, w8
b LBB0_33
LBB0_46: ; in Loop: Header=BB0_36 Depth=1
ldr w8, [x27]
b LBB0_32
LBB0_47:
mov x0, x21
bl _vm_map_entry_pred
mov x1, x0
mov x0, x19
mov x2, x21
bl _vm_map_try_merge_entries
mov x0, x19
bl _vm_map_unlock
LBB0_48:
mov w0, #0
LBB0_49:
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_50:
Lloh21:
adrp x8, _EINVAL@GOTPAGE
Lloh22:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
b LBB0_49
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_39-LBB0_31)>>2
.byte (LBB0_40-LBB0_31)>>2
.byte (LBB0_41-LBB0_31)>>2
.byte (LBB0_42-LBB0_31)>>2
.byte (LBB0_44-LBB0_31)>>2
.byte (LBB0_34-LBB0_31)>>2
.byte (LBB0_34-LBB0_31)>>2
.byte (LBB0_31-LBB0_31)>>2
.byte (LBB0_46-LBB0_31)>>2
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.comm _MAP_ENTRY_IS_SUB_MAP,4,2 ; @MAP_ENTRY_IS_SUB_MAP
.comm _MAP_ENTRY_BEHAV_NORMAL,4,2 ; @MAP_ENTRY_BEHAV_NORMAL
.comm _MAP_ENTRY_BEHAV_SEQUENTIAL,4,2 ; @MAP_ENTRY_BEHAV_SEQUENTIAL
.comm _MAP_ENTRY_BEHAV_RANDOM,4,2 ; @MAP_ENTRY_BEHAV_RANDOM
.comm _MAP_ENTRY_NOSYNC,4,2 ; @MAP_ENTRY_NOSYNC
.comm _MAP_ENTRY_NOCOREDUMP,4,2 ; @MAP_ENTRY_NOCOREDUMP
.comm _MAP_PREFAULT_MADVISE,4,2 ; @MAP_PREFAULT_MADVISE
.subsections_via_symbols
| AnghaBench/freebsd/sys/vm/extr_vm_map.c_vm_map_madvise.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
cmpl $1, %edi
jle LBB0_17
## %bb.1:
movq %rsi, %rbx
movl %edi, %r15d
movq 8(%rsi), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_2
## %bb.4:
movq %rax, %r14
cmpl $3, %r15d
jne LBB0_7
## %bb.5:
movq 16(%rbx), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
movq _fpout@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
testq %rax, %rax
je LBB0_6
LBB0_7:
leaq -160(%rbp), %rdi
movl $100, %esi
movq %r14, %rdx
callq _fgets
testq %rax, %rax
je LBB0_13
## %bb.8:
leaq -160(%rbp), %rbx
movq _fpout@GOTPCREL(%rip), %r13
leaq L_.str.5(%rip), %r12
jmp LBB0_9
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movq %rbx, %rdi
movl $100, %esi
movq %r14, %rdx
callq _fgets
testq %rax, %rax
je LBB0_13
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r15d, %esi
callq _preProc
cmpl $3, %r15d
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq (%r13), %rsi
movq %rbx, %rdi
callq _fputs
jmp LBB0_12
LBB0_13:
movq %r14, %rdi
callq _fclose
cmpl $3, %r15d
jne LBB0_15
## %bb.14:
movq _fpout@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fclose
LBB0_15:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_18
## %bb.16:
xorl %eax, %eax
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
leaq L_str(%rip), %rdi
callq _puts
movl $2, %edi
callq _exit
LBB0_2:
movq 8(%rbx), %rsi
leaq L_.str.2(%rip), %rdi
jmp LBB0_3
LBB0_18:
callq ___stack_chk_fail
LBB0_6:
movq 16(%rbx), %rsi
leaq L_.str.4(%rip), %rdi
LBB0_3:
xorl %eax, %eax
callq _printf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _preProc ## -- Begin function preProc
.p2align 4, 0x90
_preProc: ## @preProc
.cfi_startproc
## %bb.0:
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
movb (%rdi), %al
testb %al, %al
je LBB1_38
## %bb.1:
movl %esi, %r14d
movq %rdi, %r15
xorl %ebx, %ebx
movl $1, %r13d
xorl %r12d, %r12d
cmpb $42, %al
je LBB1_8
.p2align 4, 0x90
LBB1_3:
cmpb $47, %al
jne LBB1_11
## %bb.4:
leal 1(%rbx), %eax
cmpb $42, (%r15,%rax)
movb $47, %al
jne LBB1_11
## %bb.5:
testl %r12d, %r12d
jne LBB1_11
## %bb.6:
movl $1, _longComment(%rip)
jmp LBB1_7
.p2align 4, 0x90
LBB1_8:
leal 1(%rbx), %eax
cmpb $47, (%r15,%rax)
movb $42, %al
jne LBB1_11
## %bb.9:
testl %r12d, %r12d
jne LBB1_11
## %bb.10:
movl $0, _longComment(%rip)
movb $0, (%r15,%rbx)
xorl %eax, %eax
.p2align 4, 0x90
LBB1_11:
cmpl $0, _longComment(%rip)
je LBB1_12
LBB1_7:
movb $0, (%r15,%rbx)
leaq (%r15,%rbx), %rax
decq %rax
LBB1_35:
movb $10, (%rax)
LBB1_36:
incq %rbx
movq %r15, %rdi
callq _strlen
cmpq %rbx, %rax
jbe LBB1_38
## %bb.37:
movb (%r15,%rbx), %al
cmpb $42, %al
jne LBB1_3
jmp LBB1_8
.p2align 4, 0x90
LBB1_12:
cmpb $34, %al
cmovel %r13d, %r12d
movb -1(%rbx,%r15), %cl
cmpb $10, %cl
je LBB1_14
## %bb.13:
testb %cl, %cl
jne LBB1_31
LBB1_14:
cmpb $35, %al
jne LBB1_31
## %bb.15:
leal 1(%rbx), %eax
cmpb $105, (%r15,%rax)
jne LBB1_36
## %bb.16:
leal 2(%rbx), %eax
cmpb $110, (%r15,%rax)
jne LBB1_36
## %bb.17:
leal 3(%rbx), %eax
cmpb $99, (%r15,%rax)
jne LBB1_36
## %bb.18:
leal 4(%rbx), %eax
cmpb $108, (%r15,%rax)
jne LBB1_36
## %bb.19:
leal 5(%rbx), %eax
cmpb $117, (%r15,%rax)
jne LBB1_36
## %bb.20:
leal 6(%rbx), %eax
cmpb $100, (%r15,%rax)
jne LBB1_36
## %bb.21:
leal 7(%rbx), %eax
cmpb $101, (%r15,%rax)
jne LBB1_36
## %bb.22:
testl %r12d, %r12d
jne LBB1_36
## %bb.23:
movl $20, %edi
movl $1, %esi
callq _calloc
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _strlen
movq -48(%rbp), %rdx ## 8-byte Reload
cmpq %rbx, %rax
jbe LBB1_30
## %bb.24:
movslq %ebx, %rcx
movb (%r15,%rcx), %r8b
cmpb $10, %r8b
je LBB1_30
## %bb.25:
xorl %ecx, %ecx
movl %ebx, %esi
xorl %r9d, %r9d
LBB1_26: ## =>This Inner Loop Header: Depth=1
testl %ecx, %ecx
je LBB1_28
## %bb.27: ## in Loop: Header=BB1_26 Depth=1
movslq %r9d, %r9
movb %r8b, (%rdx,%r9)
incl %r9d
LBB1_28: ## in Loop: Header=BB1_26 Depth=1
movslq %esi, %rdi
incq %rdi
cmpq %rdi, %rax
jbe LBB1_30
## %bb.29: ## in Loop: Header=BB1_26 Depth=1
xorl %esi, %esi
cmpb $32, (%r15,%rdi)
sete %sil
cmovel %r13d, %ecx
addl %edi, %esi
movslq %esi, %rdi
movzbl (%r15,%rdi), %r8d
cmpb $10, %r8b
jne LBB1_26
LBB1_30:
movq %r15, %rdi
movl %ebx, %esi
movl %r14d, %ecx
callq _addInclude
movb (%r15,%rbx), %al
.p2align 4, 0x90
LBB1_31:
cmpb $47, %al
jne LBB1_36
## %bb.32:
leal 1(%rbx), %eax
cmpb $47, (%r15,%rax)
jne LBB1_36
## %bb.33:
testl %r12d, %r12d
jne LBB1_36
## %bb.34:
leaq (%rbx,%r15), %rax
decq %rax
movb $0, (%r15,%rbx)
xorl %r12d, %r12d
jmp LBB1_35
LBB1_38:
incl _line(%rip)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _addInclude ## -- Begin function addInclude
.p2align 4, 0x90
_addInclude: ## @addInclude
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movq %rdx, %rbx
movl %esi, %r13d
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str.1(%rip), %rsi
movq %rdx, %rdi
callq _fopen
testq %rax, %rax
je LBB2_1
## %bb.3:
movq %rax, %r14
movslq %r13d, %rax
movb $0, (%r12,%rax)
leaq -160(%rbp), %rdi
movl $100, %esi
movq %r14, %rdx
callq _fgets
testq %rax, %rax
je LBB2_9
## %bb.4:
leaq -160(%rbp), %rbx
movq _fpout@GOTPCREL(%rip), %r13
leaq L_.str.5(%rip), %r12
jmp LBB2_5
.p2align 4, 0x90
LBB2_7: ## in Loop: Header=BB2_5 Depth=1
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
LBB2_8: ## in Loop: Header=BB2_5 Depth=1
movq %rbx, %rdi
movl $100, %esi
movq %r14, %rdx
callq _fgets
testq %rax, %rax
je LBB2_9
LBB2_5: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r15d, %esi
callq _preProc
cmpl $3, %r15d
jne LBB2_7
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movq (%r13), %rsi
movq %rbx, %rdi
callq _fputs
jmp LBB2_8
LBB2_9:
movq %r14, %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_11
## %bb.10:
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_1:
movl _line(%rip), %esi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB2_11
## %bb.2:
leaq L_.str.6(%rip), %rdi
movq %rbx, %rdx
xorl %eax, %eax
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
LBB2_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _includeName ## -- Begin function includeName
.p2align 4, 0x90
_includeName: ## @includeName
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r15
movl $20, %edi
movl $1, %esi
callq _calloc
movq %rax, %r14
movq %r15, %rdi
callq _strlen
movslq %ebx, %rdx
cmpq %rdx, %rax
jbe LBB3_6
## %bb.1:
xorl %ecx, %ecx
movl $1, %r8d
xorl %esi, %esi
jmp LBB3_2
.p2align 4, 0x90
LBB3_5: ## in Loop: Header=BB3_2 Depth=1
incl %edi
movslq %edi, %rdx
movl %edi, %ebx
cmpq %rdx, %rax
jbe LBB3_6
LBB3_2: ## =>This Inner Loop Header: Depth=1
xorl %edi, %edi
cmpb $32, (%r15,%rdx)
sete %dil
cmovel %r8d, %esi
addl %ebx, %edi
movslq %edi, %rdx
movzbl (%r15,%rdx), %edx
cmpb $10, %dl
je LBB3_6
## %bb.3: ## in Loop: Header=BB3_2 Depth=1
testl %esi, %esi
je LBB3_5
## %bb.4: ## in Loop: Header=BB3_2 Depth=1
movslq %ecx, %rcx
movb %dl, (%r14,%rcx)
incl %ecx
jmp LBB3_5
LBB3_6:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _longComment ## @longComment
.zerofill __DATA,__common,_longComment,4,2
.section __DATA,__data
.globl _line ## @line
.p2align 2
_line:
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Can't open %s for reading\n"
L_.str.3: ## @.str.3
.asciz "w"
.comm _fpout,8,3 ## @fpout
L_.str.4: ## @.str.4
.asciz "Can't open %s for writing\n"
L_.str.5: ## @.str.5
.asciz "%s"
L_.str.6: ## @.str.6
.asciz "Line %d: Can't find %s for include\n"
L_str: ## @str
.asciz "Please supply an input and optionally an output file"
.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 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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
cmp w0, #1
b.le LBB0_14
; %bb.1:
mov x21, x1
mov x19, x0
ldr x0, [x1, #8]
Lloh3:
adrp x1, l_.str.1@PAGE
Lloh4:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbz x0, LBB0_15
; %bb.2:
mov x20, x0
Lloh5:
adrp x22, _fpout@GOTPAGE
Lloh6:
ldr x22, [x22, _fpout@GOTPAGEOFF]
cmp w19, #3
b.ne LBB0_4
; %bb.3:
ldr x0, [x21, #16]
Lloh7:
adrp x1, l_.str.3@PAGE
Lloh8:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
str x0, [x22]
cbz x0, LBB0_17
LBB0_4:
add x23, sp, #20
add x0, sp, #20
mov w1, #100
mov x2, x20
bl _fgets
cbz x0, LBB0_10
; %bb.5:
Lloh9:
adrp x21, l_.str.5@PAGE
Lloh10:
add x21, x21, l_.str.5@PAGEOFF
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=1
str x23, [sp]
mov x0, x21
bl _printf
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
add x0, sp, #20
mov w1, #100
mov x2, x20
bl _fgets
cbz x0, LBB0_10
LBB0_8: ; =>This Inner Loop Header: Depth=1
add x0, sp, #20
mov x1, x19
bl _preProc
cmp w19, #3
b.ne LBB0_6
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr x1, [x22]
add x0, sp, #20
bl _fputs
b LBB0_7
LBB0_10:
mov x0, x20
bl _fclose
cmp w19, #3
b.ne LBB0_12
; %bb.11:
ldr x0, [x22]
bl _fclose
LBB0_12:
ldur x8, [x29, #-56]
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_16
; %bb.13:
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
add sp, sp, #192
ret
LBB0_14:
Lloh14:
adrp x0, l_str@PAGE
Lloh15:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #2
bl _exit
LBB0_15:
ldr x8, [x21, #8]
str x8, [sp]
Lloh16:
adrp x0, l_.str.2@PAGE
Lloh17:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_18
LBB0_16:
bl ___stack_chk_fail
LBB0_17:
ldr x8, [x21, #16]
str x8, [sp]
Lloh18:
adrp x0, l_.str.4@PAGE
Lloh19:
add x0, x0, l_.str.4@PAGEOFF
LBB0_18:
bl _printf
mov w0, #1
bl _exit
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.globl _preProc ; -- Begin function preProc
.p2align 2
_preProc: ; @preProc
.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
ldrb w8, [x0]
cbz w8, LBB1_35
; %bb.1:
mov x19, x1
mov x20, x0
mov x21, #0
mov w23, #0
adrp x24, _longComment@PAGE
mov w25, #1
mov w26, #10
cmp w8, #42
b.eq LBB1_5
LBB1_2:
cmp w8, #47
b.ne LBB1_7
; %bb.3:
add w8, w21, #1
ldrb w8, [x20, w8, uxtw]
cmp w8, #42
ccmp w23, #0, #0, eq
b.eq LBB1_29
; %bb.4:
mov w8, #47
ldr w9, [x24, _longComment@PAGEOFF]
cbnz w9, LBB1_31
b LBB1_8
LBB1_5:
add w8, w21, #1
ldrb w8, [x20, w8, uxtw]
cmp w8, #47
ccmp w23, #0, #0, eq
b.eq LBB1_30
; %bb.6:
mov w8, #42
LBB1_7:
ldr w9, [x24, _longComment@PAGEOFF]
cbnz w9, LBB1_31
LBB1_8:
cmp w8, #34
csinc w23, w23, wzr, ne
add x27, x21, x20
ldrb w9, [x27, #-1]!
cmp w9, #10
ccmp w9, #0, #4, ne
b.ne LBB1_26
; %bb.9:
cmp w8, #35
b.ne LBB1_26
; %bb.10:
add w8, w21, #1
ldrb w8, [x20, w8, uxtw]
cmp w8, #105
b.ne LBB1_33
; %bb.11:
add w8, w21, #2
ldrb w8, [x20, w8, uxtw]
cmp w8, #110
b.ne LBB1_33
; %bb.12:
add w8, w21, #3
ldrb w8, [x20, w8, uxtw]
cmp w8, #99
b.ne LBB1_33
; %bb.13:
add w8, w21, #4
ldrb w8, [x20, w8, uxtw]
cmp w8, #108
b.ne LBB1_33
; %bb.14:
add w8, w21, #5
ldrb w8, [x20, w8, uxtw]
cmp w8, #117
b.ne LBB1_33
; %bb.15:
add w8, w21, #6
ldrb w8, [x20, w8, uxtw]
cmp w8, #100
b.ne LBB1_33
; %bb.16:
add w8, w21, #7
ldrb w8, [x20, w8, uxtw]
cmp w8, #101
b.ne LBB1_33
; %bb.17:
cbnz w23, LBB1_33
; %bb.18:
mov w0, #20
mov w1, #1
bl _calloc
mov x22, x0
mov x0, x20
bl _strlen
cmp x0, x21
b.ls LBB1_25
; %bb.19:
ldrb w11, [x20, w21, sxtw]
cmp w11, #10
b.eq LBB1_25
; %bb.20:
mov w8, #0
mov w9, #0
mov x10, x21
LBB1_21: ; =>This Inner Loop Header: Depth=1
cbz w8, LBB1_23
; %bb.22: ; in Loop: Header=BB1_21 Depth=1
strb w11, [x22, w9, sxtw]
add w9, w9, #1
LBB1_23: ; in Loop: Header=BB1_21 Depth=1
sxtw x10, w10
add x10, x10, #1
cmp x0, x10
b.ls LBB1_25
; %bb.24: ; in Loop: Header=BB1_21 Depth=1
ldrb w11, [x20, x10]
cmp w11, #32
csinc w8, w8, wzr, ne
cinc w10, w10, eq
ldrb w11, [x20, w10, sxtw]
cmp w11, #10
b.ne LBB1_21
LBB1_25:
mov x0, x20
mov x1, x21
mov x2, x22
mov x3, x19
bl _addInclude
ldrb w8, [x20, x21]
LBB1_26:
cmp w8, #47
b.ne LBB1_33
; %bb.27:
add w8, w21, #1
ldrb w8, [x20, w8, uxtw]
cmp w8, #47
ccmp w23, #0, #0, eq
b.ne LBB1_33
; %bb.28:
mov w23, #0
strb wzr, [x20, x21]
b LBB1_32
LBB1_29:
str w25, [x24, _longComment@PAGEOFF]
b LBB1_31
LBB1_30:
mov w8, #0
str wzr, [x24, _longComment@PAGEOFF]
strb wzr, [x20, x21]
ldr w9, [x24, _longComment@PAGEOFF]
cbz w9, LBB1_8
LBB1_31:
add x27, x20, x21
strb wzr, [x27], #-1
LBB1_32:
strb w26, [x27]
LBB1_33:
add x21, x21, #1
mov x0, x20
bl _strlen
cmp x0, x21
b.ls LBB1_35
; %bb.34:
ldrb w8, [x20, x21]
cmp w8, #42
b.ne LBB1_2
b LBB1_5
LBB1_35:
adrp x8, _line@PAGE
ldr w9, [x8, _line@PAGEOFF]
add w9, w9, #1
str w9, [x8, _line@PAGEOFF]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _addInclude ; -- Begin function addInclude
.p2align 2
_addInclude: ; @addInclude
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
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
mov x19, x3
mov x21, x2
mov x22, x1
mov x23, x0
Lloh20:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh21:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh23:
adrp x1, l_.str.1@PAGE
Lloh24:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x2
bl _fopen
cbz x0, LBB2_8
; %bb.1:
mov x20, x0
strb wzr, [x23, w22, sxtw]
add x22, sp, #20
add x0, sp, #20
mov w1, #100
mov x2, x20
bl _fgets
cbz x0, LBB2_7
; %bb.2:
Lloh25:
adrp x23, _fpout@GOTPAGE
Lloh26:
ldr x23, [x23, _fpout@GOTPAGEOFF]
Lloh27:
adrp x21, l_.str.5@PAGE
Lloh28:
add x21, x21, l_.str.5@PAGEOFF
b LBB2_5
LBB2_3: ; in Loop: Header=BB2_5 Depth=1
str x22, [sp]
mov x0, x21
bl _printf
LBB2_4: ; in Loop: Header=BB2_5 Depth=1
add x0, sp, #20
mov w1, #100
mov x2, x20
bl _fgets
cbz x0, LBB2_7
LBB2_5: ; =>This Inner Loop Header: Depth=1
add x0, sp, #20
mov x1, x19
bl _preProc
cmp w19, #3
b.ne LBB2_3
; %bb.6: ; in Loop: Header=BB2_5 Depth=1
ldr x1, [x23]
add x0, sp, #20
bl _fputs
b LBB2_4
LBB2_7:
mov x0, x20
bl _fclose
b LBB2_9
LBB2_8:
Lloh29:
adrp x8, _line@PAGE
Lloh30:
ldr w8, [x8, _line@PAGEOFF]
stp x8, x21, [sp]
Lloh31:
adrp x0, l_.str.6@PAGE
Lloh32:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
LBB2_9:
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 LBB2_11
; %bb.10:
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
add sp, sp, #192
ret
LBB2_11:
bl ___stack_chk_fail
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdr Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.cfi_endproc
; -- End function
.globl _includeName ; -- Begin function includeName
.p2align 2
_includeName: ; @includeName
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
mov w0, #20
mov w1, #1
bl _calloc
mov x20, x0
mov x0, x19
bl _strlen
mov x8, x21
sxtw x10, w8
cmp x0, x10
b.ls LBB3_6
; %bb.1:
mov w8, #0
mov w9, #0
b LBB3_3
LBB3_2: ; in Loop: Header=BB3_3 Depth=1
add w21, w10, #1
sxtw x10, w21
cmp x0, x10
b.ls LBB3_6
LBB3_3: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x19, x10]
cmp w10, #32
csinc w9, w9, wzr, ne
cinc w10, w21, eq
ldrb w11, [x19, w10, sxtw]
cmp w11, #10
b.eq LBB3_6
; %bb.4: ; in Loop: Header=BB3_3 Depth=1
cbz w9, LBB3_2
; %bb.5: ; in Loop: Header=BB3_3 Depth=1
strb w11, [x20, w8, sxtw]
add w8, w8, #1
b LBB3_2
LBB3_6:
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
.globl _longComment ; @longComment
.zerofill __DATA,__common,_longComment,4,2
.section __DATA,__data
.globl _line ; @line
.p2align 2
_line:
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Can't open %s for reading\n"
l_.str.3: ; @.str.3
.asciz "w"
.comm _fpout,8,3 ; @fpout
l_.str.4: ; @.str.4
.asciz "Can't open %s for writing\n"
l_.str.5: ; @.str.5
.asciz "%s"
l_.str.6: ; @.str.6
.asciz "Line %d: Can't find %s for include\n"
l_str: ; @str
.asciz "Please supply an input and optionally an output file"
.subsections_via_symbols
| the_stack_data/150143230.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trap_BotMatchVariable ## -- Begin function trap_BotMatchVariable
.p2align 4, 0x90
_trap_BotMatchVariable: ## @trap_BotMatchVariable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %ecx, %r8d
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rsi
movq _BOTLIB_AI_MATCH_VARIABLE@GOTPCREL(%rip), %rax
movl (%rax), %edi
popq %rbp
jmp _syscall ## TAILCALL
.cfi_endproc
## -- End function
.comm _BOTLIB_AI_MATCH_VARIABLE,4,2 ## @BOTLIB_AI_MATCH_VARIABLE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trap_BotMatchVariable ; -- Begin function trap_BotMatchVariable
.p2align 2
_trap_BotMatchVariable: ; @trap_BotMatchVariable
.cfi_startproc
; %bb.0:
mov x4, x3
mov x3, x2
mov x2, x1
mov x1, x0
Lloh0:
adrp x8, _BOTLIB_AI_MATCH_VARIABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _BOTLIB_AI_MATCH_VARIABLE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b _syscall
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BOTLIB_AI_MATCH_VARIABLE,4,2 ; @BOTLIB_AI_MATCH_VARIABLE
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/code/game/extr_g_syscalls.c_trap_BotMatchVariable.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 collator_u_strtod
LCPI0_0:
.byte 0 ## 0x0
.byte 4 ## 0x4
.byte 8 ## 0x8
.byte 12 ## 0xc
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.space 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_collator_u_strtod: ## @collator_u_strtod
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $104, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -128(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq 4(%rdi), %rcx
movq %rdi, %rdx
notq %rdx
movq %rdi, -120(%rbp) ## 8-byte Spill
movq %rdi, %rsi
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rsi, %r13
movq %rcx, %rbx
movq %rdx, %r14
movl (%rsi), %r15d
movl %r15d, %edi
callq _u_isspace
leaq 4(%r13), %rsi
leaq 4(%rbx), %rcx
leaq -4(%r14), %rdx
testq %rax, %rax
jne LBB0_1
## %bb.2:
movq %rbx, -136(%rbp) ## 8-byte Spill
cmpl $45, %r15d
je LBB0_4
## %bb.3:
movq %r13, %r12
cmpl $43, %r15d
jne LBB0_5
LBB0_4:
movl (%rsi), %r15d
movq %rsi, %r12
LBB0_5:
leal -48(%r15), %ecx
xorl %eax, %eax
cmpl $9, %ecx
ja LBB0_8
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl 4(%r12), %r15d
addq $4, %r12
leal -48(%r15), %eax
cmpl $10, %eax
jb LBB0_6
## %bb.7:
movl $1, %eax
LBB0_8:
cmpl $46, %r15d
jne LBB0_12
## %bb.9:
movl 4(%r12), %r15d
addq $4, %r12
leal -48(%r15), %ecx
cmpl $9, %ecx
ja LBB0_12
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movl 4(%r12), %r15d
addq $4, %r12
leal -48(%r15), %eax
cmpl $10, %eax
jb LBB0_10
## %bb.11:
movl $1, %eax
LBB0_12:
andl $-33, %r15d
cmpl $69, %r15d
jne LBB0_21
## %bb.13:
testl %eax, %eax
je LBB0_21
## %bb.14:
movl 4(%r12), %ecx
cmpl $45, %ecx
je LBB0_17
## %bb.15:
cmpl $43, %ecx
jne LBB0_16
LBB0_17:
leaq 8(%r12), %rdx
movl 8(%r12), %ecx
jmp LBB0_18
LBB0_16:
leaq 4(%r12), %rdx
LBB0_18:
addl $-48, %ecx
cmpl $9, %ecx
ja LBB0_21
## %bb.19:
movq %rdx, %r12
.p2align 4, 0x90
LBB0_20: ## =>This Inner Loop Header: Depth=1
movl 4(%r12), %ecx
addq $4, %r12
addl $-48, %ecx
cmpl $10, %ecx
jb LBB0_20
LBB0_21:
testl %eax, %eax
je LBB0_44
## %bb.22:
movq %rsi, -120(%rbp) ## 8-byte Spill
movq %r12, %rbx
subq %r13, %rbx
movq _use_heap@GOTPCREL(%rip), %r15
movl (%r15), %edi
callq _ALLOCA_FLAG
cmpq $256, %rbx ## imm = 0x100
jae LBB0_24
## %bb.23:
leaq -112(%rbp), %rbx
jmp LBB0_25
LBB0_44:
pxor %xmm0, %xmm0
movq -128(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_46
## %bb.45:
movq -120(%rbp), %rcx ## 8-byte Reload
movq %rcx, (%rax)
jmp LBB0_46
LBB0_24:
sarq $2, %rbx
incq %rbx
movl (%r15), %esi
movq %rbx, %rdi
callq _do_alloca
movq %rax, %rbx
LBB0_25:
movq -120(%rbp), %rax ## 8-byte Reload
movq %rbx, %rdx
cmpq %r12, %r13
jae LBB0_40
## %bb.26:
leaq 4(%r13), %rcx
cmpq %rcx, %r12
movq %rcx, %r8
cmovaq %r12, %r8
movq %r13, %rdx
notq %rdx
addq %rdx, %r8
cmpq $28, %r8
jae LBB0_28
## %bb.27:
movq %rbx, %rdx
jmp LBB0_39
LBB0_28:
cmpq %rcx, %r12
cmovaq %r12, %rcx
addq %rdx, %rcx
shrq $2, %rcx
leaq 4(,%rcx,4), %rdx
addq %r13, %rdx
cmpq %rdx, %rbx
jae LBB0_31
## %bb.29:
addq %rbx, %rcx
incq %rcx
cmpq %r13, %rcx
jbe LBB0_31
## %bb.30:
movq %rbx, %rdx
jmp LBB0_39
LBB0_31:
shrq $2, %r8
incq %r8
movq %r8, %rcx
andq $-8, %rcx
leaq -8(%rcx), %rsi
movq %rsi, %rdx
shrq $3, %rdx
incq %rdx
testq %rsi, %rsi
je LBB0_32
## %bb.33:
movq -136(%rbp), %rdi ## 8-byte Reload
cmpq %rdi, %r12
cmovaq %r12, %rdi
addq %r14, %rdi
shrq $2, %rdi
incq %rdi
andq $-8, %rdi
addq $-8, %rdi
shrq $3, %rdi
incq %rdi
andq $-2, %rdi
xorl %esi, %esi
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movdqu -4(%rax,%rsi,4), %xmm1
movdqu 12(%rax,%rsi,4), %xmm2
pshufb %xmm0, %xmm1
pshufb %xmm0, %xmm2
movd %xmm1, (%rbx,%rsi)
movd %xmm2, 4(%rbx,%rsi)
movdqu 28(%rax,%rsi,4), %xmm1
movdqu 44(%rax,%rsi,4), %xmm2
pshufb %xmm0, %xmm1
pshufb %xmm0, %xmm2
movd %xmm1, 8(%rbx,%rsi)
movd %xmm2, 12(%rbx,%rsi)
addq $16, %rsi
addq $-2, %rdi
jne LBB0_34
## %bb.35:
testb $1, %dl
je LBB0_37
LBB0_36:
movdqu (%r13,%rsi,4), %xmm0
movdqu 16(%r13,%rsi,4), %xmm1
movdqa LCPI0_0(%rip), %xmm2 ## xmm2 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
pshufb %xmm2, %xmm0
pshufb %xmm2, %xmm1
movd %xmm0, (%rbx,%rsi)
movd %xmm1, 4(%rbx,%rsi)
LBB0_37:
leaq (%rbx,%rcx), %rdx
cmpq %rcx, %r8
je LBB0_40
## %bb.38:
leaq (%r13,%rcx,4), %r13
.p2align 4, 0x90
LBB0_39: ## =>This Inner Loop Header: Depth=1
movzbl (%r13), %eax
addq $4, %r13
movb %al, (%rdx)
incq %rdx
cmpq %r12, %r13
jb LBB0_39
LBB0_40:
movb $0, (%rdx)
movq %rbx, %rdi
xorl %esi, %esi
callq _zend_strtod
leaq -112(%rbp), %rax
cmpq %rax, %rbx
je LBB0_42
## %bb.41:
movl (%r15), %esi
movq %rbx, %rdi
movq %xmm0, -120(%rbp) ## 8-byte Folded Spill
callq _free_alloca
movq -120(%rbp), %xmm0 ## 8-byte Folded Reload
## xmm0 = mem[0],zero
LBB0_42:
movq -128(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB0_46
## %bb.43:
movq %r12, (%rax)
LBB0_46:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_48
## %bb.47:
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
xorl %esi, %esi
testb $1, %dl
jne LBB0_36
jmp LBB0_37
LBB0_48:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _use_heap,4,2 ## @use_heap
.no_dead_strip _collator_u_strtod
.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 collator_u_strtod
lCPI0_0:
.byte 0 ; 0x0
.byte 4 ; 0x4
.byte 8 ; 0x8
.byte 12 ; 0xc
.byte 16 ; 0x10
.byte 20 ; 0x14
.byte 24 ; 0x18
.byte 28 ; 0x1c
.byte 32 ; 0x20
.byte 36 ; 0x24
.byte 40 ; 0x28
.byte 44 ; 0x2c
.byte 48 ; 0x30
.byte 52 ; 0x34
.byte 56 ; 0x38
.byte 60 ; 0x3c
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_collator_u_strtod: ; @collator_u_strtod
.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
mov x28, x1
mov x20, x0
mov x25, #0
mov x24, #0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
mov w8, #3
sub x26, x8, x0
mov x27, x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w21, [x20, x24]
mov x0, x21
bl _u_isspace
add x27, x27, #4
add x24, x24, #4
sub x26, x26, #4
sub x25, x25, #4
cbnz x0, LBB0_1
; %bb.2:
add x11, x20, x24
sub x23, x11, #4
cmp w21, #43
b.eq LBB0_4
; %bb.3:
mov x22, x23
cmp w21, #45
b.ne LBB0_5
LBB0_4:
sub x22, x20, x25
ldr w21, [x11]
LBB0_5:
sub w8, w21, #48
cmp w8, #9
b.hi LBB0_8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w21, [x22, #4]!
sub w8, w21, #48
cmp w8, #10
b.lo LBB0_6
; %bb.7:
mov w8, #1
cmp w21, #46
b.eq LBB0_9
b LBB0_12
LBB0_8:
mov w8, #0
cmp w21, #46
b.ne LBB0_12
LBB0_9:
ldr w21, [x22, #4]!
sub w9, w21, #48
cmp w9, #9
b.hi LBB0_12
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr w21, [x22, #4]!
sub w8, w21, #48
cmp w8, #10
b.lo LBB0_10
; %bb.11:
mov w8, #1
LBB0_12:
and w9, w21, #0xffffffdf
cmp w9, #69
ccmp w8, #0, #4, eq
b.eq LBB0_19
; %bb.13:
mov x9, x22
ldr w10, [x9, #4]!
cmp w10, #45
b.eq LBB0_15
; %bb.14:
cmp w10, #43
b.ne LBB0_16
LBB0_15:
mov x9, x22
ldr w10, [x9, #8]!
LBB0_16:
sub w10, w10, #48
cmp w10, #9
b.hi LBB0_19
; %bb.17:
mov x22, x9
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr w9, [x22, #4]!
sub w9, w9, #48
cmp w9, #10
b.lo LBB0_18
LBB0_19:
cbz w8, LBB0_22
; %bb.20:
str x11, [sp] ; 8-byte Folded Spill
sub x8, x22, x20
sub x8, x8, x24
add x21, x8, #4
Lloh3:
adrp x19, _use_heap@GOTPAGE
Lloh4:
ldr x19, [x19, _use_heap@GOTPAGEOFF]
ldr w0, [x19]
bl _ALLOCA_FLAG
cmp x21, #256
b.hs LBB0_24
; %bb.21:
add x21, sp, #8
b LBB0_25
LBB0_22:
movi d8, #0000000000000000
cbz x28, LBB0_38
; %bb.23:
str x20, [x28]
b LBB0_38
LBB0_24:
asr x8, x21, #2
add x0, x8, #1
ldr w1, [x19]
bl _do_alloca
mov x21, x0
LBB0_25:
mov x8, x21
cmp x23, x22
b.hs LBB0_34
; %bb.26:
cmp x22, x27
csel x8, x22, x27, hi
sub x8, x8, x20
sub x8, x8, x24
add x10, x8, #3
cmp x10, #124
b.hs LBB0_28
; %bb.27:
mov x8, x21
b LBB0_33
LBB0_28:
cmp x22, x27
csel x8, x22, x27, hi
add x9, x8, x26
and x9, x9, #0xfffffffffffffffc
add x9, x20, x9
sub x9, x9, x25
cmp x21, x9
b.hs LBB0_30
; %bb.29:
sub x8, x8, x20
sub x8, x8, x24
add x8, x8, #3
add x8, x21, x8, lsr #2
add x9, x8, #1
mov x8, x21
cmp x9, x23
b.hi LBB0_33
LBB0_30:
ldr x8, [sp] ; 8-byte Folded Reload
add x9, x8, #60
lsr x8, x10, #2
add x10, x8, #1
and x11, x10, #0x7fffffffffffffe0
add x8, x21, x11
cmp x22, x27
csel x13, x22, x27, hi
add x12, x13, x26
and x12, x12, #0xfffffffffffffffc
add x12, x12, #4
and x12, x12, #0xffffffffffffff80
add x12, x20, x12
sub x12, x12, x25
sub x23, x12, #4
add x12, x21, #16
sub x13, x13, x20
sub x13, x13, x24
add x13, x13, #3
lsr x13, x13, #2
add x13, x13, #1
and x13, x13, #0x7fffffffffffffe0
Lloh5:
adrp x14, lCPI0_0@PAGE
Lloh6:
ldr q0, [x14, lCPI0_0@PAGEOFF]
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldp q1, q2, [x9, #-64]
ldp q3, q4, [x9, #-32]
tbl.16b v1, { v1, v2, v3, v4 }, v0
ldp q2, q3, [x9]
ldp q4, q5, [x9, #32]
tbl.16b v2, { v2, v3, v4, v5 }, v0
stp q1, q2, [x12, #-16]
add x9, x9, #128
add x12, x12, #32
subs x13, x13, #32
b.ne LBB0_31
; %bb.32:
cmp x10, x11
b.eq LBB0_34
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldr w9, [x23], #4
strb w9, [x8], #1
cmp x23, x22
b.lo LBB0_33
LBB0_34:
strb wzr, [x8]
mov x0, x21
mov x1, #0
bl _zend_strtod
fmov d8, d0
add x8, sp, #8
cmp x21, x8
b.eq LBB0_36
; %bb.35:
Lloh7:
adrp x8, _use_heap@GOTPAGE
Lloh8:
ldr x8, [x8, _use_heap@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
mov x0, x21
bl _free_alloca
LBB0_36:
cbz x28, LBB0_38
; %bb.37:
str x22, [x28]
LBB0_38:
ldr x8, [sp, #72]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_40
; %bb.39:
fmov d0, d8
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_40:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdr Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _use_heap,4,2 ; @use_heap
.no_dead_strip _collator_u_strtod
.subsections_via_symbols
| AnghaBench/php-src/ext/intl/collator/extr_collator_is_numeric.c_collator_u_strtod.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pvr2fb_set_pal_entry
_pvr2fb_set_pal_entry: ## @pvr2fb_set_pal_entry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
## kill: def $esi killed $esi def $rsi
movq (%rdi), %rax
shll $2, %esi
addq %rax, %rsi
addq $4096, %rsi ## imm = 0x1000
movl %edx, %edi
popq %rbp
jmp _fb_writel ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _pvr2fb_set_pal_entry
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pvr2fb_set_pal_entry
_pvr2fb_set_pal_entry: ; @pvr2fb_set_pal_entry
.cfi_startproc
; %bb.0:
ldr x8, [x0]
lsl w9, w1, #2
add x8, x9, x8
add x1, x8, #1, lsl #12 ; =4096
mov x0, x2
b _fb_writel
.cfi_endproc
; -- End function
.no_dead_strip _pvr2fb_set_pal_entry
.subsections_via_symbols
| AnghaBench/linux/drivers/video/fbdev/extr_pvr2fb.c_pvr2fb_set_pal_entry.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function highlander_i2c_write
_highlander_i2c_write: ## @highlander_i2c_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl (%rdi), %edx
movl 16(%rdi), %edi
leaq -112(%rbp), %rsi
callq _smbus_write_data
movl (%r15), %eax
testl %eax, %eax
jle LBB0_3
## %bb.1:
leaq (%rax,%rax), %r12
addq $2, %r12
andq $-4, %r12
xorl %ebx, %ebx
leaq L_.str(%rip), %r14
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -112(%rbp,%rbx), %edi
movq 8(%r15), %rsi
movq _SMTRDR@GOTPCREL(%rip), %rax
addq (%rax), %rsi
addq %rbx, %rsi
callq _iowrite16
movl 4(%r15), %edi
movl -112(%rbp,%rbx), %ecx
movq %r14, %rsi
movl %r13d, %edx
callq _dev_dbg
incl %r13d
addq $4, %rbx
cmpq %rbx, %r12
jne LBB0_2
LBB0_3:
movq %r15, %rdi
callq _highlander_i2c_wait_for_bbsy
testq %rax, %rax
je LBB0_5
## %bb.4:
movq _EAGAIN@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
jmp LBB0_6
LBB0_5:
movq %r15, %rdi
callq _highlander_i2c_start
movq %r15, %rdi
callq _highlander_i2c_wait_xfer_done
LBB0_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_8
## %bb.7:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _SMTRDR,8,3 ## @SMTRDR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "write data[%x] 0x%04x\n"
.comm _EAGAIN,4,2 ## @EAGAIN
.no_dead_strip _highlander_i2c_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function highlander_i2c_write
_highlander_i2c_write: ; @highlander_i2c_write
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
ldr w0, [x0, #16]
ldr w2, [x19]
add x22, sp, #8
add x1, sp, #8
bl _smbus_write_data
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x23, #0
mov w20, #0
lsl x8, x8, #1
add x8, x8, #2
and x24, x8, #0x3fffffffc
Lloh3:
adrp x25, _SMTRDR@GOTPAGE
Lloh4:
ldr x25, [x25, _SMTRDR@GOTPAGEOFF]
Lloh5:
adrp x21, l_.str@PAGE
Lloh6:
add x21, x21, l_.str@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x22, x23]
ldr x8, [x19, #8]
ldr x9, [x25]
add x8, x8, x9
add x1, x23, x8
bl _iowrite16
ldr w0, [x19, #4]
ldr w3, [x22, x23]
mov x1, x21
mov x2, x20
bl _dev_dbg
add w20, w20, #1
add x23, x23, #4
cmp x24, x23
b.ne LBB0_2
LBB0_3:
mov x0, x19
bl _highlander_i2c_wait_for_bbsy
cbz x0, LBB0_5
; %bb.4:
Lloh7:
adrp x8, _EAGAIN@GOTPAGE
Lloh8:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w0, w8
b LBB0_6
LBB0_5:
mov x0, x19
bl _highlander_i2c_start
mov x0, x19
bl _highlander_i2c_wait_xfer_done
LBB0_6:
ldr x8, [sp, #72]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_8
; %bb.7:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_8:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _SMTRDR,8,3 ; @SMTRDR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "write data[%x] 0x%04x\n"
.comm _EAGAIN,4,2 ; @EAGAIN
.no_dead_strip _highlander_i2c_write
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/i2c/busses/extr_i2c-highlander.c_highlander_i2c_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _X509_REQ_add1_attr ## -- Begin function X509_REQ_add1_attr
.p2align 4, 0x90
_X509_REQ_add1_attr: ## @X509_REQ_add1_attr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _X509at_add1_attr
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, %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 _X509_REQ_add1_attr ; -- Begin function X509_REQ_add1_attr
.p2align 2
_X509_REQ_add1_attr: ; @X509_REQ_add1_attr
.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 _X509at_add1_attr
cmp x0, #0
cset w0, ne
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/openssl/crypto/x509/extr_x509_req.c_X509_REQ_add1_attr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function o2_pci_set_baseclk
_o2_pci_set_baseclk: ## @o2_pci_set_baseclk
.cfi_startproc
## %bb.0:
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, %rbx
movl (%rdi), %edi
movq _O2_SD_PLL_SETTING@GOTPCREL(%rip), %r15
movl (%r15), %esi
leaq -28(%rbp), %rdx
callq _pci_read_config_dword
movzwl -28(%rbp), %edx
orl %r14d, %edx
movl %edx, -28(%rbp)
movl (%rbx), %edi
movl (%r15), %esi
callq _pci_write_config_dword
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _O2_SD_PLL_SETTING,4,2 ## @O2_SD_PLL_SETTING
.no_dead_strip _o2_pci_set_baseclk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function o2_pci_set_baseclk
_o2_pci_set_baseclk: ; @o2_pci_set_baseclk
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldr w0, [x0]
Lloh0:
adrp x21, _O2_SD_PLL_SETTING@GOTPAGE
Lloh1:
ldr x21, [x21, _O2_SD_PLL_SETTING@GOTPAGEOFF]
ldr w1, [x21]
add x2, sp, #12
bl _pci_read_config_dword
ldrh w8, [sp, #12]
orr w2, w8, w19
str w2, [sp, #12]
ldr w0, [x20]
ldr w1, [x21]
bl _pci_write_config_dword
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
.cfi_endproc
; -- End function
.comm _O2_SD_PLL_SETTING,4,2 ; @O2_SD_PLL_SETTING
.no_dead_strip _o2_pci_set_baseclk
.subsections_via_symbols
| AnghaBench/linux/drivers/mmc/host/extr_sdhci-pci-o2micro.c_o2_pci_set_baseclk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function axi_chan_irq_clear
_axi_chan_irq_clear: ## @axi_chan_irq_clear
.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, %edx
movq _CH_INTCLEAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _axi_chan_iowrite32 ## TAILCALL
.cfi_endproc
## -- End function
.comm _CH_INTCLEAR,4,2 ## @CH_INTCLEAR
.no_dead_strip _axi_chan_irq_clear
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function axi_chan_irq_clear
_axi_chan_irq_clear: ; @axi_chan_irq_clear
.cfi_startproc
; %bb.0:
mov x2, x1
Lloh0:
adrp x8, _CH_INTCLEAR@GOTPAGE
Lloh1:
ldr x8, [x8, _CH_INTCLEAR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _axi_chan_iowrite32
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CH_INTCLEAR,4,2 ; @CH_INTCLEAR
.no_dead_strip _axi_chan_irq_clear
.subsections_via_symbols
| AnghaBench/linux/drivers/dma/dw-axi-dmac/extr_dw-axi-dmac-platform.c_axi_chan_irq_clear.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vxge_hw_fifo_txdl_buffer_set ## -- Begin function vxge_hw_fifo_txdl_buffer_set
.p2align 4, 0x90
_vxge_hw_fifo_txdl_buffer_set: ## @vxge_hw_fifo_txdl_buffer_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -72(%rbp) ## 8-byte Spill
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq ___vxge_hw_fifo_txdl_priv
movq %rax, %r13
movslq (%rax), %rax
leaq (%rax,%rax,2), %r12
leaq (%rbx,%r12,8), %rax
testq %r14, %r14
movq %rax, -48(%rbp) ## 8-byte Spill
je LBB0_2
## %bb.1:
movl $0, 16(%rbx,%r12,8)
movl $0, (%rax)
jmp LBB0_4
LBB0_2:
movq _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _VXGE_HW_FIFO_TXD_GATHER_CODE
movq -48(%rbp), %rcx ## 8-byte Reload
orl %eax, (%rcx)
movl 12(%r15), %eax
orl %eax, 16(%rbx,%r12,8)
movl 8(%r15), %edi
callq _VXGE_HW_FIFO_TXD_INT_NUMBER
orl %eax, 16(%rbx,%r12,8)
movslq (%r13), %rax
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq (%rax,%rax,2), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _VXGE_HW_FIFO_TXD_GATHER_CODE
movq -56(%rbp), %rcx ## 8-byte Reload
orl %eax, -24(%rbx,%rcx,8)
LBB0_4:
xorl %edi, %edi
cmpq %r14, 8(%r13)
setg %dil
callq _vxge_assert
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, 8(%rbx,%r12,8)
movq -72(%rbp), %rdi ## 8-byte Reload
callq _VXGE_HW_FIFO_TXD_BUFFER_SIZE
movq -48(%rbp), %rcx ## 8-byte Reload
orl %eax, (%rcx)
movq (%r15), %rax
incl (%rax)
incl (%r13)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST,4,2 ## @VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST
.comm _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST,4,2 ## @VXGE_HW_FIFO_TXD_GATHER_CODE_LAST
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vxge_hw_fifo_txdl_buffer_set ; -- Begin function vxge_hw_fifo_txdl_buffer_set
.p2align 2
_vxge_hw_fifo_txdl_buffer_set: ; @vxge_hw_fifo_txdl_buffer_set
.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 x21, x4
mov x22, x3
mov x24, x2
mov x23, x1
mov x20, x0
bl ___vxge_hw_fifo_txdl_priv
mov x19, x0
ldrsw x26, [x0]
mov w8, #24
madd x25, x26, x8, x23
cbz x24, LBB0_2
; %bb.1:
mov w8, #24
madd x8, x26, x8, x23
str wzr, [x8, #16]
str wzr, [x25]
b LBB0_4
LBB0_2:
Lloh0:
adrp x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST@GOTPAGE
Lloh1:
ldr x8, [x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _VXGE_HW_FIFO_TXD_GATHER_CODE
ldr w8, [x25]
orr w8, w8, w0
str w8, [x25]
mov w27, #24
madd x28, x26, x27, x23
ldr w8, [x28, #16]
ldp w0, w9, [x20, #8]
orr w8, w8, w9
str w8, [x28, #16]
bl _VXGE_HW_FIFO_TXD_INT_NUMBER
ldr w8, [x28, #16]
orr w8, w8, w0
str w8, [x28, #16]
ldr w8, [x19]
cbz w8, LBB0_4
; %bb.3:
sub w28, w8, #1
Lloh3:
adrp x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST@GOTPAGE
Lloh4:
ldr x8, [x8, _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _VXGE_HW_FIFO_TXD_GATHER_CODE
smull x8, w28, w27
ldr w9, [x23, x8]
orr w9, w9, w0
str w9, [x23, x8]
LBB0_4:
ldr x8, [x19, #8]
cmp x8, x24
cset w0, gt
bl _vxge_assert
mov w8, #24
madd x8, x26, x8, x23
str x22, [x8, #8]
mov x0, x21
bl _VXGE_HW_FIFO_TXD_BUFFER_SIZE
ldr w8, [x25]
orr w8, w8, w0
str w8, [x25]
ldr x8, [x20]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST,4,2 ; @VXGE_HW_FIFO_TXD_GATHER_CODE_FIRST
.comm _VXGE_HW_FIFO_TXD_GATHER_CODE_LAST,4,2 ; @VXGE_HW_FIFO_TXD_GATHER_CODE_LAST
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/neterion/vxge/extr_vxge-traffic.c_vxge_hw_fifo_txdl_buffer_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_tree ## -- Begin function init_tree
.p2align 4, 0x90
_init_tree: ## @init_tree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _menu ## -- Begin function menu
.p2align 4, 0x90
_menu: ## @menu
.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
leaq L_str.27(%rip), %rdi
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
leaq L_str.29(%rip), %rdi
callq _puts
leaq L_str.30(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.7(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
callq _getchar
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Vazio ## -- Begin function Vazio
.p2align 4, 0x90
_Vazio: ## @Vazio
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
testq %rdi, %rdi
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _depthSubTree ## -- Begin function depthSubTree
.p2align 4, 0x90
_depthSubTree: ## @depthSubTree
.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 %rdi, %rdi
je LBB3_1
## %bb.3:
movq %rdi, %r14
movq 72(%rdi), %rdi
callq _depthSubTree
movl %eax, %ebx
movq 64(%r14), %rdi
callq _depthSubTree
cmpl %ebx, %eax
cmovgl %eax, %ebx
incl %ebx
jmp LBB3_2
LBB3_1:
xorl %ebx, %ebx
LBB3_2:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ll ## -- Begin function ll
.p2align 4, 0x90
_ll: ## @ll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 72(%rdi), %rax
movq 64(%rax), %rcx
movq %rcx, 72(%rdi)
movq %rdi, 64(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rr ## -- Begin function rr
.p2align 4, 0x90
_rr: ## @rr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 64(%rdi), %rax
movq 72(%rax), %rcx
movq %rcx, 64(%rdi)
movq %rdi, 72(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _lr ## -- Begin function lr
.p2align 4, 0x90
_lr: ## @lr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 72(%rdi), %rcx
movq 64(%rcx), %rax
movq 72(%rax), %rdx
movq %rdx, 64(%rcx)
movq %rcx, 72(%rax)
movq 64(%rax), %rcx
movq %rcx, 72(%rdi)
movq %rdi, 64(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rl ## -- Begin function rl
.p2align 4, 0x90
_rl: ## @rl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 64(%rdi), %rcx
movq 72(%rcx), %rax
movq 64(%rax), %rdx
movq %rdx, 72(%rcx)
movq %rcx, 64(%rax)
movq 72(%rax), %rcx
movq %rcx, 64(%rdi)
movq %rdi, 72(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _checkBalance ## -- Begin function checkBalance
.p2align 4, 0x90
_checkBalance: ## @checkBalance
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 72(%rdi), %r12
movq %r12, %rdi
callq _depthSubTree
movl %eax, %ebx
movq 64(%r14), %r15
movq %r15, %rdi
callq _depthSubTree
subl %eax, %ebx
cmpl $2, %ebx
jl LBB8_4
## %bb.1:
movq 72(%r12), %rdi
callq _depthSubTree
movl %eax, %ebx
movq 64(%r12), %r15
movq %r15, %rdi
callq _depthSubTree
cmpl %eax, %ebx
jle LBB8_3
## %bb.2:
leaq 64(%r12), %rax
movq %r15, 72(%r14)
jmp LBB8_8
LBB8_4:
cmpl $-2, %ebx
jg LBB8_9
## %bb.5:
movq 72(%r15), %r12
movq %r12, %rdi
callq _depthSubTree
movl %eax, %ebx
movq 64(%r15), %rdi
callq _depthSubTree
cmpl %eax, %ebx
jge LBB8_7
## %bb.6:
leaq 72(%r15), %rax
movq %r12, 64(%r14)
movq %r15, %r12
jmp LBB8_8
LBB8_3:
movq 72(%r15), %rax
movq %rax, 64(%r12)
movq %r12, 72(%r15)
leaq 64(%r15), %rax
movq 64(%r15), %rcx
movq %rcx, 72(%r14)
movq %r15, %r12
jmp LBB8_8
LBB8_7:
movq 64(%r12), %rax
movq %rax, 72(%r15)
movq %r15, 64(%r12)
leaq 72(%r12), %rax
movq 72(%r12), %rcx
movq %rcx, 64(%r14)
LBB8_8:
movq %r14, (%rax)
movq %r12, %r14
LBB8_9:
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _achaTask ## -- Begin function achaTask
.p2align 4, 0x90
_achaTask: ## @achaTask
.cfi_startproc
## %bb.0:
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 LBB9_1
## %bb.2:
movq %rsi, %r14
movq %rdi, %rbx
xorl %r12d, %r12d
## implicit-def: $r15
.p2align 4, 0x90
LBB9_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB9_5
## %bb.4: ## in Loop: Header=BB9_3 Depth=1
setle %al
testb $1, %r12b
cmoveq %rbx, %r15
movzbl %al, %eax
movq 64(%rbx,%rax,8), %rbx
movb $1, %r12b
testq %rbx, %rbx
jne LBB9_3
jmp LBB9_6
LBB9_1:
xorl %ebx, %ebx
jmp LBB9_7
LBB9_5:
testb $1, %r12b
je LBB9_7
LBB9_6:
movq %r15, %rbx
LBB9_7:
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insTask ## -- Begin function insTask
.p2align 4, 0x90
_insTask: ## @insTask
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
je LBB10_1
## %bb.2:
movq %rdi, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq _strcmp
xorl %r15d, %r15d
testl %eax, %eax
setle %r15b
movq 64(%rbx,%r15,8), %rdi
movq %r14, %rsi
callq _insTask
movq %rax, 64(%rbx,%r15,8)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _checkBalance ## TAILCALL
LBB10_1:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _new_node ## -- Begin function new_node
.p2align 4, 0x90
_new_node: ## @new_node
.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 $80, %edi
callq _malloc
movq %rax, %rbx
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq %rbx, %rdi
movl $50, %esi
callq _fgets
leaq L_.str.9(%rip), %rsi
movq %rbx, %rdi
callq _strcspn
movb $0, (%rbx,%rax)
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 52(%rbx), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _scanf
callq _getchar
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 56(%rbx), %rsi
leaq 60(%rbx), %rdx
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _scanf
callq _getchar
xorps %xmm0, %xmm0
movups %xmm0, 64(%rbx)
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _minValue ## -- Begin function minValue
.p2align 4, 0x90
_minValue: ## @minValue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB12_1: ## =>This Inner Loop Header: Depth=1
movq %rdi, %rax
testq %rdi, %rdi
je LBB12_3
## %bb.2: ## in Loop: Header=BB12_1 Depth=1
movq 72(%rax), %rdi
testq %rdi, %rdi
jne LBB12_1
LBB12_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _delTask ## -- Begin function delTask
.p2align 4, 0x90
_delTask: ## @delTask
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
je LBB13_11
## %bb.1:
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
movq %r15, %rsi
callq _strcmp
testl %eax, %eax
jns LBB13_3
## %bb.2:
movq 72(%r15), %rdi
movq %rbx, %rsi
callq _delTask
movq %rax, 72(%r15)
jmp LBB13_13
LBB13_3:
je LBB13_5
LBB13_4:
movq 64(%r15), %rdi
movq %rbx, %rsi
callq _delTask
movq %rax, 64(%r15)
LBB13_13:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _checkBalance ## TAILCALL
LBB13_5:
movq 64(%r15), %rax
movq 72(%r15), %r14
testq %r14, %r14
je LBB13_9
## %bb.6:
testq %rax, %rax
je LBB13_12
.p2align 4, 0x90
LBB13_7: ## =>This Inner Loop Header: Depth=1
movq %rax, %rbx
movq 72(%rax), %rax
testq %rax, %rax
jne LBB13_7
## %bb.8:
movl $50, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq ___strcpy_chk
movl 52(%rbx), %eax
movl %eax, 52(%r15)
movl 56(%rbx), %eax
movl %eax, 56(%r15)
movl 60(%rbx), %eax
movl %eax, 60(%r15)
jmp LBB13_4
LBB13_9:
movq %rax, %r14
testq %rax, %rax
je LBB13_10
LBB13_12:
leaq 64(%r15), %rbx
movl $50, %edx
movq %r15, %rdi
movq %r14, %rsi
callq ___strcpy_chk
movl 52(%r14), %eax
movl %eax, 52(%r15)
movl 56(%r14), %eax
movl %eax, 56(%r15)
movl 60(%r14), %eax
movl %eax, 60(%r15)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %r14, %rdi
callq _free
jmp LBB13_13
LBB13_10:
movq %r15, %rdi
callq _free
LBB13_11:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _listTasks ## -- Begin function listTasks
.p2align 4, 0x90
_listTasks: ## @listTasks
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB14_3
## %bb.1:
movq %rdi, %rbx
leaq L_str.45(%rip), %r14
leaq L_.str.14(%rip), %r15
leaq L_.str.15(%rip), %r12
leaq L_.str.16(%rip), %r13
.p2align 4, 0x90
LBB14_2: ## =>This Inner Loop Header: Depth=1
movq 72(%rbx), %rdi
callq _listTasks
movq %r14, %rdi
callq _puts
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl 52(%rbx), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _printf
movl 56(%rbx), %esi
movl 60(%rbx), %edx
movq %r13, %rdi
xorl %eax, %eax
callq _printf
movq 64(%rbx), %rbx
testq %rbx, %rbx
jne LBB14_2
LBB14_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sizeTree ## -- Begin function sizeTree
.p2align 4, 0x90
_sizeTree: ## @sizeTree
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB15_1
## %bb.3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq 72(%rdi), %rdi
callq _sizeTree
movl %eax, %r14d
movq 64(%rbx), %rdi
callq _sizeTree
## kill: def $eax killed $eax def $rax
addl %r14d, %eax
incl %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB15_1:
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.globl _queryTask ## -- Begin function queryTask
.p2align 4, 0x90
_queryTask: ## @queryTask
.cfi_startproc
## %bb.0:
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 LBB16_6
## %bb.1:
movq %rsi, %r14
movq %rdi, %rbx
xorl %r12d, %r12d
## implicit-def: $r15
.p2align 4, 0x90
LBB16_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _strcmp
testl %eax, %eax
je LBB16_4
## %bb.3: ## in Loop: Header=BB16_2 Depth=1
setle %al
testb $1, %r12b
cmoveq %rbx, %r15
movzbl %al, %eax
movq 64(%rbx,%rax,8), %rbx
movb $1, %r12b
testq %rbx, %rbx
jne LBB16_2
jmp LBB16_5
LBB16_4:
testb $1, %r12b
je LBB16_7
LBB16_5:
movq %r15, %rbx
testq %r15, %r15
je LBB16_6
LBB16_7:
leaq L_str.45(%rip), %rdi
callq _puts
leaq L_.str.14(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movl 52(%rbx), %esi
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _printf
movl 56(%rbx), %esi
movl 60(%rbx), %edx
leaq L_.str.16(%rip), %rdi
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
LBB16_6:
leaq L_str.32(%rip), %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _upTask ## -- Begin function upTask
.p2align 4, 0x90
_upTask: ## @upTask
.cfi_startproc
## %bb.0:
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 LBB17_1
## %bb.2:
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
## implicit-def: $rbx
.p2align 4, 0x90
LBB17_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _strcmp
testl %eax, %eax
je LBB17_5
## %bb.4: ## in Loop: Header=BB17_3 Depth=1
setle %al
testb $1, %r12b
cmoveq %r15, %rbx
movzbl %al, %eax
movq 64(%r15,%rax,8), %r15
movb $1, %r12b
testq %r15, %r15
jne LBB17_3
jmp LBB17_6
LBB17_1:
xorl %r15d, %r15d
jmp LBB17_7
LBB17_5:
testb $1, %r12b
je LBB17_7
LBB17_6:
movq %rbx, %r15
LBB17_7:
leaq L_.str.18(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 52(%r15), %rsi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq 56(%r15), %rsi
addq $60, %r15
leaq L_.str.12(%rip), %rdi
movq %r15, %rdx
xorl %eax, %eax
callq _scanf
leaq L_str.34(%rip), %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _puts ## TAILCALL
.cfi_endproc
## -- End function
.globl _makeBackup ## -- Begin function makeBackup
.p2align 4, 0x90
_makeBackup: ## @makeBackup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
jmp LBB18_1
.p2align 4, 0x90
LBB18_4: ## in Loop: Header=BB18_1 Depth=1
movq 64(%r12), %r12
testq %r12, %r12
je LBB18_5
LBB18_1: ## =>This Inner Loop Header: Depth=1
testq %r12, %r12
je LBB18_5
## %bb.2: ## in Loop: Header=BB18_1 Depth=1
movslq %r15d, %r15
movq %r15, %rbx
shlq $6, %rbx
leaq (%r14,%rbx), %rdi
movl $50, %edx
movq %r12, %rsi
callq ___strcpy_chk
movl 52(%r12), %eax
movl %eax, 52(%r14,%rbx)
movl 56(%r12), %eax
movl %eax, 56(%r14,%rbx)
movl 60(%r12), %eax
movl %eax, 60(%r14,%rbx)
incl %r15d
movq 72(%r12), %rdi
testq %rdi, %rdi
je LBB18_4
## %bb.3: ## in Loop: Header=BB18_1 Depth=1
movq %r14, %rsi
movl %r15d, %edx
callq _makeBackup
movl %eax, %r15d
jmp LBB18_4
LBB18_5:
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Update ## -- Begin function Update
.p2align 4, 0x90
_Update: ## @Update
.cfi_startproc
## %bb.0:
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, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $4, %edi
callq _malloc
movq %rax, %r14
movq %r15, %rdi
callq _sizeTree
movl %eax, %ebx
movl %eax, (%r14)
movl %eax, %eax
shlq $6, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
movq %r15, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq _makeBackup
leaq L_.str.21(%rip), %rdi
leaq L_.str.22(%rip), %r12
movq %r12, %rsi
callq _fopen
movq %rax, %r15
leaq L_.str.23(%rip), %rdi
movq %r12, %rsi
callq _fopen
movq %rax, %r12
movslq %ebx, %rbx
movl $64, %esi
movq %r13, %rdi
movq %rbx, %rdx
movq %r15, %rcx
callq _fwrite
cmpq %rbx, %rax
je LBB19_2
## %bb.1:
leaq L_str.36(%rip), %rdi
callq _puts
LBB19_2:
movl $4, %esi
movl $1, %edx
movq %r14, %rdi
movq %r12, %rcx
callq _fwrite
cmpq $1, %rax
je LBB19_4
## %bb.3:
leaq L_str.36(%rip), %rdi
callq _puts
LBB19_4:
movq %r14, %rdi
callq _free
movq %r15, %rdi
callq _fclose
movq %r12, %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB19_6
## %bb.5:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB19_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function Download
LCPI20_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _Download
.p2align 4, 0x90
_Download: ## @Download
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testq %rdi, %rdi
je LBB20_1
## %bb.2:
movq %rsi, %r12
movq %rdi, -56(%rbp) ## 8-byte Spill
leaq L_.str.23(%rip), %rdi
leaq L_.str.25(%rip), %rsi
callq _fopen
movq %rax, %r14
movl $4, %edi
callq _malloc
movq %rax, %rbx
movl $4, %esi
movl $1, %edx
movq %rax, %rdi
movq %r14, -80(%rbp) ## 8-byte Spill
movq %r14, %rcx
callq _fread
movq %rsp, -64(%rbp) ## 8-byte Spill
movq %rbx, -72(%rbp) ## 8-byte Spill
movslq (%rbx), %r14
movl %r14d, %r13d
movq %r13, %rax
shlq $6, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl $64, %esi
movq %r15, %rdi
movq %r14, %rdx
movq -56(%rbp), %rcx ## 8-byte Reload
callq _fread
testq %r14, %r14
jle LBB20_3
.p2align 4, 0x90
LBB20_6: ## =>This Inner Loop Header: Depth=1
movl $80, %edi
callq _malloc
movq %rax, %rbx
movl $50, %edx
movq %rax, %rdi
movq %r15, %rsi
callq ___strcpy_chk
movl 52(%r15), %eax
movl %eax, 52(%rbx)
movl 56(%r15), %eax
movl %eax, 56(%rbx)
movl 60(%r15), %eax
movl %eax, 60(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 64(%rbx)
movq %r12, %rdi
movq %rbx, %rsi
callq _insTask
movq %rax, %r12
addq $64, %r15
decq %r13
jne LBB20_6
LBB20_3:
movq -72(%rbp), %rdi ## 8-byte Reload
callq _free
movq -80(%rbp), %rdi ## 8-byte Reload
callq _fclose
movq -64(%rbp), %rsp ## 8-byte Reload
jmp LBB20_4
LBB20_1:
xorl %r12d, %r12d
LBB20_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB20_7
## %bb.5:
movq %r12, %rax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB20_7:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _free_tree ## -- Begin function free_tree
.p2align 4, 0x90
_free_tree: ## @free_tree
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB21_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 64(%rdi), %rdi
callq _free_tree
movq 72(%rbx), %rdi
callq _free_tree
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB21_1:
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str.21(%rip), %rdi
leaq L_.str.25(%rip), %rsi
callq _fopen
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
callq _Download
movq %rax, -120(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _fclose
leaq L_.str.5(%rip), %r14
leaq L_.str.6(%rip), %r12
leaq L_.str.7(%rip), %r13
leaq -124(%rbp), %rbx
leaq LJTI22_0(%rip), %r15
jmp LBB22_1
LBB22_13: ## in Loop: Header=BB22_1 Depth=1
leaq L_str.44(%rip), %rdi
callq _puts
LBB22_14: ## in Loop: Header=BB22_1 Depth=1
leaq L_str.45(%rip), %rdi
callq _puts
.p2align 4, 0x90
LBB22_1: ## =>This Inner Loop Header: Depth=1
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.27(%rip), %rdi
callq _puts
leaq L_str.28(%rip), %rdi
callq _puts
leaq L_str.29(%rip), %rdi
callq _puts
leaq L_str.30(%rip), %rdi
callq _puts
movq %r14, %rdi
movl $10, %esi
xorl %eax, %eax
callq _printf
movq %r12, %rdi
xorl %eax, %eax
callq _printf
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
callq _getchar
movl -124(%rbp), %eax
decl %eax
cmpl $9, %eax
ja LBB22_1
## %bb.2: ## in Loop: Header=BB22_1 Depth=1
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
LBB22_3: ## in Loop: Header=BB22_1 Depth=1
callq _new_node
movq -120(%rbp), %rdi ## 8-byte Reload
movq %rax, %rsi
callq _insTask
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB22_14
LBB22_4: ## in Loop: Header=BB22_1 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq -112(%rbp), %rdi
movl $50, %esi
callq _fgets
leaq -112(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq _strcspn
movb $0, -112(%rbp,%rax)
movq -120(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB22_6
## %bb.5: ## in Loop: Header=BB22_1 Depth=1
leaq -112(%rbp), %rsi
callq _delTask
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB22_14
LBB22_7: ## in Loop: Header=BB22_1 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq -112(%rbp), %rdi
movl $50, %esi
callq _fgets
leaq -112(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq _strcspn
movb $0, -112(%rbp,%rax)
movq -120(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB22_13
## %bb.8: ## in Loop: Header=BB22_1 Depth=1
leaq -112(%rbp), %rsi
callq _upTask
jmp LBB22_14
LBB22_9: ## in Loop: Header=BB22_1 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
leaq -112(%rbp), %rdi
movl $50, %esi
callq _fgets
leaq -112(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
callq _strcspn
movb $0, -112(%rbp,%rax)
movq -120(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB22_13
## %bb.10: ## in Loop: Header=BB22_1 Depth=1
leaq -112(%rbp), %rsi
callq _queryTask
jmp LBB22_14
LBB22_11: ## in Loop: Header=BB22_1 Depth=1
movq -120(%rbp), %rdi ## 8-byte Reload
testq %rdi, %rdi
je LBB22_13
## %bb.12: ## in Loop: Header=BB22_1 Depth=1
callq _listTasks
jmp LBB22_14
LBB22_6: ## in Loop: Header=BB22_1 Depth=1
leaq L_str.44(%rip), %rdi
callq _puts
xorl %eax, %eax
movq %rax, -120(%rbp) ## 8-byte Spill
jmp LBB22_14
LBB22_15:
movq -120(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _Update
movq %rbx, %rdi
callq _free_tree
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB22_17
## %bb.16:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB22_17:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L22_0_set_3, LBB22_3-LJTI22_0
.set L22_0_set_4, LBB22_4-LJTI22_0
.set L22_0_set_7, LBB22_7-LJTI22_0
.set L22_0_set_9, LBB22_9-LJTI22_0
.set L22_0_set_11, LBB22_11-LJTI22_0
.set L22_0_set_1, LBB22_1-LJTI22_0
.set L22_0_set_15, LBB22_15-LJTI22_0
LJTI22_0:
.long L22_0_set_3
.long L22_0_set_4
.long L22_0_set_7
.long L22_0_set_9
.long L22_0_set_11
.long L22_0_set_1
.long L22_0_set_1
.long L22_0_set_1
.long L22_0_set_1
.long L22_0_set_15
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.5: ## @.str.5
.asciz "%d - Finaliza"
L_.str.6: ## @.str.6
.asciz "\n: "
L_.str.7: ## @.str.7
.asciz "%d"
L_.str.8: ## @.str.8
.asciz "Nome: "
L_.str.9: ## @.str.9
.asciz "\n"
L_.str.10: ## @.str.10
.asciz "Prioridade: "
L_.str.11: ## @.str.11
.asciz "Data de Entrega: "
L_.str.12: ## @.str.12
.asciz "%d/%d"
L_.str.14: ## @.str.14
.asciz "Nome: %s\n"
L_.str.15: ## @.str.15
.asciz "Prioridade: %i\n"
L_.str.16: ## @.str.16
.asciz "Data de Entrega: %d/%d\n"
L_.str.18: ## @.str.18
.asciz "Nova prioridade: "
L_.str.19: ## @.str.19
.asciz "Nova data de entrega: "
L_.str.21: ## @.str.21
.asciz "database.txt"
L_.str.22: ## @.str.22
.asciz "wb"
L_.str.23: ## @.str.23
.asciz "tamanho.txt"
L_.str.25: ## @.str.25
.asciz "rb"
L_str: ## @str
.asciz "1 - Adiciona;"
L_str.27: ## @str.27
.asciz "2 - Deleta;"
L_str.28: ## @str.28
.asciz "3 - Atualiza tarefa;"
L_str.29: ## @str.29
.asciz "4 - Pesquisar tarefa;"
L_str.30: ## @str.30
.asciz "5 - Mostrar todas;"
L_str.32: ## @str.32
.asciz "Not founded!"
L_str.34: ## @str.34
.asciz "Dados alterados"
L_str.36: ## @str.36
.asciz "Erro na grava\303\247\303\243o"
L_str.44: ## @str.44
.asciz "Registro vazio"
L_str.45: ## @str.45
.asciz "----------------------------------"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_tree ; -- Begin function init_tree
.p2align 2
_init_tree: ; @init_tree
.cfi_startproc
; %bb.0:
str xzr, [x0]
ret
.cfi_endproc
; -- End function
.globl _menu ; -- Begin function menu
.p2align 2
_menu: ; @menu
.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 x0, l_str.27@PAGE
Lloh3:
add x0, x0, l_str.27@PAGEOFF
bl _puts
Lloh4:
adrp x0, l_str.28@PAGE
Lloh5:
add x0, x0, l_str.28@PAGEOFF
bl _puts
Lloh6:
adrp x0, l_str.29@PAGE
Lloh7:
add x0, x0, l_str.29@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_str.30@PAGE
Lloh9:
add x0, x0, l_str.30@PAGEOFF
bl _puts
mov w8, #10
str x8, [sp]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh14:
adrp x0, l_.str.7@PAGE
Lloh15:
add x0, x0, l_.str.7@PAGEOFF
bl _scanf
bl _getchar
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _Vazio ; -- Begin function Vazio
.p2align 2
_Vazio: ; @Vazio
.cfi_startproc
; %bb.0:
cmp x0, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _depthSubTree ; -- Begin function depthSubTree
.p2align 2
_depthSubTree: ; @depthSubTree
.cfi_startproc
; %bb.0:
cbz x0, LBB3_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #72]
bl _depthSubTree
mov x20, x0
ldr x0, [x19, #64]
bl _depthSubTree
cmp w0, w20
csel w8, w0, w20, gt
add w0, w8, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB3_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.globl _ll ; -- Begin function ll
.p2align 2
_ll: ; @ll
.cfi_startproc
; %bb.0:
ldr x8, [x0, #72]
ldr x9, [x8, #64]
str x9, [x0, #72]
str x0, [x8, #64]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _rr ; -- Begin function rr
.p2align 2
_rr: ; @rr
.cfi_startproc
; %bb.0:
ldr x8, [x0, #64]
ldr x9, [x8, #72]
str x9, [x0, #64]
str x0, [x8, #72]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _lr ; -- Begin function lr
.p2align 2
_lr: ; @lr
.cfi_startproc
; %bb.0:
ldr x9, [x0, #72]
ldr x8, [x9, #64]
ldr x10, [x8, #72]
str x10, [x9, #64]
ldr x10, [x8, #64]
str x9, [x8, #72]
str x10, [x0, #72]
str x0, [x8, #64]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _rl ; -- Begin function rl
.p2align 2
_rl: ; @rl
.cfi_startproc
; %bb.0:
ldr x9, [x0, #64]
ldr x8, [x9, #72]
ldr x10, [x8, #64]
str x10, [x9, #72]
ldr x10, [x8, #72]
str x9, [x8, #64]
str x10, [x0, #64]
str x0, [x8, #72]
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _checkBalance ; -- Begin function checkBalance
.p2align 2
_checkBalance: ; @checkBalance
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr x20, [x0, #72]
mov x0, x20
bl _depthSubTree
mov x22, x0
ldr x21, [x19, #64]
mov x0, x21
bl _depthSubTree
sub w8, w22, w0
cmp w8, #2
b.lt LBB8_3
; %bb.1:
ldr x0, [x20, #72]
bl _depthSubTree
mov x22, x0
mov x23, x20
ldr x21, [x23, #64]!
mov x0, x21
bl _depthSubTree
cmp w22, w0
b.le LBB8_6
; %bb.2:
str x21, [x19, #72]
b LBB8_8
LBB8_3:
cmn w8, #2
b.gt LBB8_9
; %bb.4:
mov x23, x21
ldr x20, [x23, #72]!
mov x0, x20
bl _depthSubTree
mov x22, x0
ldur x0, [x23, #-8]
bl _depthSubTree
cmp w22, w0
b.ge LBB8_7
; %bb.5:
str x20, [x19, #64]
mov x20, x21
b LBB8_8
LBB8_6:
ldr x8, [x21, #72]
str x8, [x20, #64]
str x20, [x21, #72]
mov x23, x21
ldr x8, [x23, #64]!
str x8, [x19, #72]
mov x20, x21
b LBB8_8
LBB8_7:
ldr x8, [x20, #64]
str x8, [x21, #72]
str x21, [x20, #64]
mov x23, x20
ldr x8, [x23, #72]!
str x8, [x19, #64]
LBB8_8:
str x19, [x23]
mov x19, x20
LBB8_9:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _achaTask ; -- Begin function achaTask
.p2align 2
_achaTask: ; @achaTask
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
cbz x0, LBB9_6
; %bb.1:
mov x20, x1
mov w22, #0
mov w23, #72
mov w24, #64
; implicit-def: $x21
LBB9_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _strcmp
cbz w0, LBB9_4
; %bb.3: ; in Loop: Header=BB9_2 Depth=1
cmp w0, #0
csel x8, x24, x23, gt
tst w22, #0x1
csel x21, x21, x19, ne
ldr x19, [x19, x8]
mov w22, #1
cbnz x19, LBB9_2
b LBB9_5
LBB9_4:
tbz w22, #0, LBB9_6
LBB9_5:
mov x19, x21
LBB9_6:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _insTask ; -- Begin function insTask
.p2align 2
_insTask: ; @insTask
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
cbz x0, LBB10_2
; %bb.1:
mov x19, x0
mov x0, x20
mov x1, x19
bl _strcmp
cmp w0, #0
mov w8, #72
mov w9, #64
csel x21, x9, x8, gt
ldr x0, [x19, x21]
mov x1, x20
bl _insTask
str x0, [x19, x21]
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _checkBalance
LBB10_2:
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
.globl _new_node ; -- Begin function new_node
.p2align 2
_new_node: ; @new_node
.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 w0, #80
bl _malloc
mov x19, x0
Lloh16:
adrp x0, l_.str.8@PAGE
Lloh17:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
Lloh18:
adrp x8, ___stdinp@GOTPAGE
Lloh19:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh20:
ldr x2, [x8]
mov x0, x19
mov w1, #50
bl _fgets
Lloh21:
adrp x1, l_.str.9@PAGE
Lloh22:
add x1, x1, l_.str.9@PAGEOFF
mov x0, x19
bl _strcspn
strb wzr, [x19, x0]
Lloh23:
adrp x0, l_.str.10@PAGE
Lloh24:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
add x8, x19, #52
str x8, [sp]
Lloh25:
adrp x0, l_.str.7@PAGE
Lloh26:
add x0, x0, l_.str.7@PAGEOFF
bl _scanf
bl _getchar
Lloh27:
adrp x0, l_.str.11@PAGE
Lloh28:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
add x8, x19, #56
add x9, x19, #60
stp x8, x9, [sp]
Lloh29:
adrp x0, l_.str.12@PAGE
Lloh30:
add x0, x0, l_.str.12@PAGEOFF
bl _scanf
bl _getchar
stp xzr, xzr, [x19, #64]
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.globl _minValue ; -- Begin function minValue
.p2align 2
_minValue: ; @minValue
.cfi_startproc
; %bb.0:
mov x8, x0
LBB12_1: ; =>This Inner Loop Header: Depth=1
mov x0, x8
cbz x8, LBB12_3
; %bb.2: ; in Loop: Header=BB12_1 Depth=1
ldr x8, [x0, #72]
cbnz x8, LBB12_1
LBB12_3:
ret
.cfi_endproc
; -- End function
.globl _delTask ; -- Begin function delTask
.p2align 2
_delTask: ; @delTask
.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, LBB13_13
; %bb.1:
mov x20, x1
mov x19, x0
mov x0, x1
mov x1, x19
bl _strcmp
tbz w0, #31, LBB13_3
; %bb.2:
ldr x0, [x19, #72]
mov x1, x20
bl _delTask
str x0, [x19, #72]
b LBB13_6
LBB13_3:
cbz w0, LBB13_7
; %bb.4:
ldr x0, [x19, #64]
mov x1, x20
LBB13_5:
bl _delTask
str x0, [x19, #64]
LBB13_6:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _checkBalance
LBB13_7:
mov x21, x19
ldp x20, x8, [x21, #64]!
cbz x8, LBB13_11
; %bb.8:
cbz x20, LBB13_14
LBB13_9: ; =>This Inner Loop Header: Depth=1
mov x21, x20
ldr x20, [x20, #72]
cbnz x20, LBB13_9
; %bb.10:
mov x0, x19
mov x1, x21
mov w2, #50
bl ___strcpy_chk
ldur d0, [x21, #52]
stur d0, [x19, #52]
ldr w8, [x21, #60]
str w8, [x19, #60]
ldr x0, [x19, #64]
mov x1, x21
b LBB13_5
LBB13_11:
cbnz x20, LBB13_15
; %bb.12:
mov x0, x19
bl _free
LBB13_13:
mov x0, #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
LBB13_14:
mov x20, x8
LBB13_15:
mov x0, x19
mov x1, x20
mov w2, #50
bl ___strcpy_chk
ldur d0, [x20, #52]
stur d0, [x19, #52]
ldr w8, [x20, #60]
str w8, [x19, #60]
stp xzr, xzr, [x21]
mov x0, x20
bl _free
b LBB13_6
.cfi_endproc
; -- End function
.globl _listTasks ; -- Begin function listTasks
.p2align 2
_listTasks: ; @listTasks
.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
cbz x0, LBB14_3
; %bb.1:
mov x19, x0
Lloh31:
adrp x20, l_str.45@PAGE
Lloh32:
add x20, x20, l_str.45@PAGEOFF
Lloh33:
adrp x21, l_.str.14@PAGE
Lloh34:
add x21, x21, l_.str.14@PAGEOFF
Lloh35:
adrp x22, l_.str.15@PAGE
Lloh36:
add x22, x22, l_.str.15@PAGEOFF
Lloh37:
adrp x23, l_.str.16@PAGE
Lloh38:
add x23, x23, l_.str.16@PAGEOFF
LBB14_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, #72]
bl _listTasks
mov x0, x20
bl _puts
str x19, [sp]
mov x0, x21
bl _printf
ldr w8, [x19, #52]
str x8, [sp]
mov x0, x22
bl _printf
ldp w8, w9, [x19, #56]
stp x8, x9, [sp]
mov x0, x23
bl _printf
ldr x19, [x19, #64]
cbnz x19, LBB14_2
LBB14_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.cfi_endproc
; -- End function
.globl _sizeTree ; -- Begin function sizeTree
.p2align 2
_sizeTree: ; @sizeTree
.cfi_startproc
; %bb.0:
cbz x0, LBB15_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #72]
bl _sizeTree
mov x20, x0
ldr x0, [x19, #64]
bl _sizeTree
add w8, w20, w0
add w0, w8, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
LBB15_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.globl _queryTask ; -- Begin function queryTask
.p2align 2
_queryTask: ; @queryTask
.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
cbz x0, LBB16_7
; %bb.1:
mov x20, x1
mov x19, x0
mov w22, #0
mov w23, #72
mov w24, #64
; implicit-def: $x21
LBB16_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _strcmp
cbz w0, LBB16_4
; %bb.3: ; in Loop: Header=BB16_2 Depth=1
cmp w0, #0
csel x8, x24, x23, gt
tst w22, #0x1
csel x21, x21, x19, ne
ldr x19, [x19, x8]
mov w22, #1
cbnz x19, LBB16_2
b LBB16_5
LBB16_4:
tbz w22, #0, LBB16_6
LBB16_5:
mov x19, x21
cbz x21, LBB16_7
LBB16_6:
Lloh39:
adrp x0, l_str.45@PAGE
Lloh40:
add x0, x0, l_str.45@PAGEOFF
bl _puts
str x19, [sp]
Lloh41:
adrp x0, l_.str.14@PAGE
Lloh42:
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr w8, [x19, #52]
str x8, [sp]
Lloh43:
adrp x0, l_.str.15@PAGE
Lloh44:
add x0, x0, l_.str.15@PAGEOFF
bl _printf
ldp w8, w9, [x19, #56]
stp x8, x9, [sp]
Lloh45:
adrp x0, l_.str.16@PAGE
Lloh46:
add x0, x0, l_.str.16@PAGEOFF
bl _printf
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
LBB16_7:
Lloh47:
adrp x0, l_str.32@PAGE
Lloh48:
add x0, x0, l_str.32@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
b _puts
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh47, Lloh48
.cfi_endproc
; -- End function
.globl _upTask ; -- Begin function upTask
.p2align 2
_upTask: ; @upTask
.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
cbz x0, LBB17_6
; %bb.1:
mov x20, x1
mov w22, #0
mov w23, #72
mov w24, #64
; implicit-def: $x21
LBB17_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _strcmp
cbz w0, LBB17_4
; %bb.3: ; in Loop: Header=BB17_2 Depth=1
cmp w0, #0
csel x8, x24, x23, gt
tst w22, #0x1
csel x21, x21, x19, ne
ldr x19, [x19, x8]
mov w22, #1
cbnz x19, LBB17_2
b LBB17_5
LBB17_4:
tbz w22, #0, LBB17_6
LBB17_5:
mov x19, x21
LBB17_6:
Lloh49:
adrp x0, l_.str.18@PAGE
Lloh50:
add x0, x0, l_.str.18@PAGEOFF
bl _printf
add x8, x19, #52
str x8, [sp]
Lloh51:
adrp x0, l_.str.7@PAGE
Lloh52:
add x0, x0, l_.str.7@PAGEOFF
bl _scanf
Lloh53:
adrp x0, l_.str.19@PAGE
Lloh54:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
add x8, x19, #56
add x9, x19, #60
stp x8, x9, [sp]
Lloh55:
adrp x0, l_.str.12@PAGE
Lloh56:
add x0, x0, l_.str.12@PAGEOFF
bl _scanf
Lloh57:
adrp x0, l_str.34@PAGE
Lloh58:
add x0, x0, l_str.34@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
b _puts
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.cfi_endproc
; -- End function
.globl _makeBackup ; -- Begin function makeBackup
.p2align 2
_makeBackup: ; @makeBackup
.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
b LBB18_2
LBB18_1: ; in Loop: Header=BB18_2 Depth=1
ldr x21, [x21, #64]
cbz x21, LBB18_5
LBB18_2: ; =>This Inner Loop Header: Depth=1
cbz x21, LBB18_5
; %bb.3: ; in Loop: Header=BB18_2 Depth=1
sxtw x8, w19
add x22, x20, x8, lsl #6
mov x0, x22
mov x1, x21
mov w2, #50
bl ___strcpy_chk
ldur d0, [x21, #52]
stur d0, [x22, #52]
ldr w8, [x21, #60]
str w8, [x22, #60]
add w19, w19, #1
ldr x0, [x21, #72]
cbz x0, LBB18_1
; %bb.4: ; in Loop: Header=BB18_2 Depth=1
mov x1, x20
mov x2, x19
bl _makeBackup
mov x19, x0
b LBB18_1
LBB18_5:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _Update ; -- Begin function Update
.p2align 2
_Update: ; @Update
.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
sub sp, sp, #16
mov x20, x0
Lloh59:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh60:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh61:
ldr x8, [x8]
stur x8, [x29, #-56]
mov w0, #4
bl _malloc
mov x19, x0
mov x0, x20
bl _sizeTree
mov x22, x0
str w0, [x19]
mov w8, w0
lsl x8, x8, #6
mov x9, x8
Lloh62:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh63:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x23, x9, x8
mov sp, x23
mov x0, x20
mov x1, x23
mov w2, #0
bl _makeBackup
Lloh64:
adrp x0, l_.str.21@PAGE
Lloh65:
add x0, x0, l_.str.21@PAGEOFF
Lloh66:
adrp x21, l_.str.22@PAGE
Lloh67:
add x21, x21, l_.str.22@PAGEOFF
mov x1, x21
bl _fopen
mov x20, x0
Lloh68:
adrp x0, l_.str.23@PAGE
Lloh69:
add x0, x0, l_.str.23@PAGEOFF
mov x1, x21
bl _fopen
mov x21, x0
sxtw x22, w22
mov x0, x23
mov w1, #64
mov x2, x22
mov x3, x20
bl _fwrite
cmp x0, x22
b.eq LBB19_2
; %bb.1:
Lloh70:
adrp x0, l_str.36@PAGE
Lloh71:
add x0, x0, l_str.36@PAGEOFF
bl _puts
LBB19_2:
mov x0, x19
mov w1, #4
mov w2, #1
mov x3, x21
bl _fwrite
cmp x0, #1
b.eq LBB19_4
; %bb.3:
Lloh72:
adrp x0, l_str.36@PAGE
Lloh73:
add x0, x0, l_str.36@PAGEOFF
bl _puts
LBB19_4:
mov x0, x19
bl _free
mov x0, x20
bl _fclose
mov x0, x21
bl _fclose
ldur x8, [x29, #-56]
Lloh74:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh75:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh76:
ldr x9, [x9]
cmp x9, x8
b.ne LBB19_6
; %bb.5:
sub sp, x29, #48
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
LBB19_6:
bl ___stack_chk_fail
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.cfi_endproc
; -- End function
.globl _Download ; -- Begin function Download
.p2align 2
_Download: ; @Download
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
sub sp, sp, #16
Lloh77:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh78:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh79:
ldr x8, [x8]
stur x8, [x29, #-72]
cbz x0, LBB20_4
; %bb.1:
mov x19, x1
mov x23, x0
Lloh80:
adrp x0, l_.str.23@PAGE
Lloh81:
add x0, x0, l_.str.23@PAGEOFF
Lloh82:
adrp x1, l_.str.25@PAGE
Lloh83:
add x1, x1, l_.str.25@PAGEOFF
bl _fopen
mov x20, x0
mov w0, #4
bl _malloc
mov x21, x0
mov w1, #4
mov w2, #1
mov x3, x20
bl _fread
mov x25, sp
ldrsw x24, [x21]
and x26, x24, #0xffffffff
lsl x8, x26, #6
mov x9, x8
Lloh84:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh85:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x22, x9, x8
mov sp, x22
mov x0, x22
mov w1, #64
mov x2, x24
mov x3, x23
bl _fread
cmp w24, #1
b.lt LBB20_3
LBB20_2: ; =>This Inner Loop Header: Depth=1
mov w0, #80
bl _malloc
mov x23, x0
mov x1, x22
mov w2, #50
bl ___strcpy_chk
ldur d0, [x22, #52]
stur d0, [x23, #52]
ldr w8, [x22, #60]
str w8, [x23, #60]
stp xzr, xzr, [x23, #64]
mov x0, x19
mov x1, x23
bl _insTask
mov x19, x0
add x22, x22, #64
subs x26, x26, #1
b.ne LBB20_2
LBB20_3:
mov x0, x21
bl _free
mov x0, x20
bl _fclose
mov sp, x25
b LBB20_5
LBB20_4:
mov x19, #0
LBB20_5:
ldur x8, [x29, #-72]
Lloh86:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh87:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh88:
ldr x9, [x9]
cmp x9, x8
b.ne LBB20_7
; %bb.6:
mov x0, x19
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB20_7:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGot Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.cfi_endproc
; -- End function
.globl _free_tree ; -- Begin function free_tree
.p2align 2
_free_tree: ; @free_tree
.cfi_startproc
; %bb.0:
cbz x0, LBB21_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #64]
bl _free_tree
ldr x0, [x19, #72]
bl _free_tree
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
LBB21_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh89:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh90:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh91:
ldr x8, [x8]
str x8, [sp, #72]
Lloh92:
adrp x0, l_.str.21@PAGE
Lloh93:
add x0, x0, l_.str.21@PAGEOFF
Lloh94:
adrp x1, l_.str.25@PAGE
Lloh95:
add x1, x1, l_.str.25@PAGEOFF
bl _fopen
mov x19, x0
mov x1, #0
bl _Download
str x0, [sp, #8] ; 8-byte Folded Spill
mov x0, x19
bl _fclose
Lloh96:
adrp x19, l_str@PAGE
Lloh97:
add x19, x19, l_str@PAGEOFF
Lloh98:
adrp x20, l_str.27@PAGE
Lloh99:
add x20, x20, l_str.27@PAGEOFF
Lloh100:
adrp x22, l_str.28@PAGE
Lloh101:
add x22, x22, l_str.28@PAGEOFF
Lloh102:
adrp x23, l_str.29@PAGE
Lloh103:
add x23, x23, l_str.29@PAGEOFF
Lloh104:
adrp x24, l_str.30@PAGE
Lloh105:
add x24, x24, l_str.30@PAGEOFF
mov w28, #10
Lloh106:
adrp x25, l_.str.5@PAGE
Lloh107:
add x25, x25, l_.str.5@PAGEOFF
Lloh108:
adrp x26, l_.str.6@PAGE
Lloh109:
add x26, x26, l_.str.6@PAGEOFF
Lloh110:
adrp x27, l_.str.7@PAGE
Lloh111:
add x27, x27, l_.str.7@PAGEOFF
add x21, sp, #16
b LBB22_3
LBB22_1: ; in Loop: Header=BB22_3 Depth=1
Lloh112:
adrp x0, l_str.44@PAGE
Lloh113:
add x0, x0, l_str.44@PAGEOFF
bl _puts
LBB22_2: ; in Loop: Header=BB22_3 Depth=1
Lloh114:
adrp x0, l_str.45@PAGE
Lloh115:
add x0, x0, l_str.45@PAGEOFF
bl _puts
LBB22_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
mov x0, x20
bl _puts
mov x0, x22
bl _puts
mov x0, x23
bl _puts
mov x0, x24
bl _puts
str x28, [sp]
mov x0, x25
bl _printf
mov x0, x26
bl _printf
str x21, [sp]
mov x0, x27
bl _scanf
bl _getchar
ldr w8, [sp, #16]
sub w8, w8, #1
cmp w8, #9
b.hi LBB22_3
; %bb.4: ; in Loop: Header=BB22_3 Depth=1
Lloh116:
adrp x11, lJTI22_0@PAGE
Lloh117:
add x11, x11, lJTI22_0@PAGEOFF
adr x9, LBB22_3
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB22_5: ; in Loop: Header=BB22_3 Depth=1
bl _new_node
mov x1, x0
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _insTask
str x0, [sp, #8] ; 8-byte Folded Spill
b LBB22_2
LBB22_6: ; in Loop: Header=BB22_3 Depth=1
Lloh118:
adrp x0, l_.str.8@PAGE
Lloh119:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
Lloh120:
adrp x8, ___stdinp@GOTPAGE
Lloh121:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh122:
ldr x2, [x8]
add x0, sp, #22
mov w1, #50
bl _fgets
add x0, sp, #22
Lloh123:
adrp x1, l_.str.9@PAGE
Lloh124:
add x1, x1, l_.str.9@PAGEOFF
bl _strcspn
add x8, sp, #22
strb wzr, [x8, x0]
ldr x0, [sp, #8] ; 8-byte Folded Reload
cbz x0, LBB22_14
; %bb.7: ; in Loop: Header=BB22_3 Depth=1
add x1, sp, #22
bl _delTask
str x0, [sp, #8] ; 8-byte Folded Spill
b LBB22_2
LBB22_8: ; in Loop: Header=BB22_3 Depth=1
Lloh125:
adrp x0, l_.str.8@PAGE
Lloh126:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
Lloh127:
adrp x8, ___stdinp@GOTPAGE
Lloh128:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh129:
ldr x2, [x8]
add x0, sp, #22
mov w1, #50
bl _fgets
add x0, sp, #22
Lloh130:
adrp x1, l_.str.9@PAGE
Lloh131:
add x1, x1, l_.str.9@PAGEOFF
bl _strcspn
add x8, sp, #22
strb wzr, [x8, x0]
ldr x0, [sp, #8] ; 8-byte Folded Reload
cbz x0, LBB22_1
; %bb.9: ; in Loop: Header=BB22_3 Depth=1
add x1, sp, #22
bl _upTask
b LBB22_2
LBB22_10: ; in Loop: Header=BB22_3 Depth=1
Lloh132:
adrp x0, l_.str.8@PAGE
Lloh133:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
Lloh134:
adrp x8, ___stdinp@GOTPAGE
Lloh135:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh136:
ldr x2, [x8]
add x0, sp, #22
mov w1, #50
bl _fgets
add x0, sp, #22
Lloh137:
adrp x1, l_.str.9@PAGE
Lloh138:
add x1, x1, l_.str.9@PAGEOFF
bl _strcspn
add x8, sp, #22
strb wzr, [x8, x0]
ldr x0, [sp, #8] ; 8-byte Folded Reload
cbz x0, LBB22_1
; %bb.11: ; in Loop: Header=BB22_3 Depth=1
add x1, sp, #22
bl _queryTask
b LBB22_2
LBB22_12: ; in Loop: Header=BB22_3 Depth=1
ldr x0, [sp, #8] ; 8-byte Folded Reload
cbz x0, LBB22_1
; %bb.13: ; in Loop: Header=BB22_3 Depth=1
bl _listTasks
b LBB22_2
LBB22_14: ; in Loop: Header=BB22_3 Depth=1
Lloh139:
adrp x0, l_str.44@PAGE
Lloh140:
add x0, x0, l_str.44@PAGEOFF
bl _puts
str xzr, [sp, #8] ; 8-byte Folded Spill
b LBB22_2
LBB22_15:
ldr x19, [sp, #8] ; 8-byte Folded Reload
mov x0, x19
bl _Update
mov x0, x19
bl _free_tree
ldr x8, [sp, #72]
Lloh141:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh142:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh143:
ldr x9, [x9]
cmp x9, x8
b.ne LBB22_17
; %bb.16:
mov w0, #0
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB22_17:
bl ___stack_chk_fail
.loh AdrpAdd Lloh110, Lloh111
.loh AdrpAdd Lloh108, Lloh109
.loh AdrpAdd Lloh106, Lloh107
.loh AdrpAdd Lloh104, Lloh105
.loh AdrpAdd Lloh102, Lloh103
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpAdd Lloh96, Lloh97
.loh AdrpAdd Lloh94, Lloh95
.loh AdrpAdd Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh116, Lloh117
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpLdrGotLdr Lloh127, Lloh128, Lloh129
.loh AdrpAdd Lloh125, Lloh126
.loh AdrpAdd Lloh137, Lloh138
.loh AdrpLdrGotLdr Lloh134, Lloh135, Lloh136
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh139, Lloh140
.loh AdrpLdrGotLdr Lloh141, Lloh142, Lloh143
.cfi_endproc
.section __TEXT,__const
lJTI22_0:
.byte (LBB22_5-LBB22_3)>>2
.byte (LBB22_6-LBB22_3)>>2
.byte (LBB22_8-LBB22_3)>>2
.byte (LBB22_10-LBB22_3)>>2
.byte (LBB22_12-LBB22_3)>>2
.byte (LBB22_3-LBB22_3)>>2
.byte (LBB22_3-LBB22_3)>>2
.byte (LBB22_3-LBB22_3)>>2
.byte (LBB22_3-LBB22_3)>>2
.byte (LBB22_15-LBB22_3)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.5: ; @.str.5
.asciz "%d - Finaliza"
l_.str.6: ; @.str.6
.asciz "\n: "
l_.str.7: ; @.str.7
.asciz "%d"
l_.str.8: ; @.str.8
.asciz "Nome: "
l_.str.9: ; @.str.9
.asciz "\n"
l_.str.10: ; @.str.10
.asciz "Prioridade: "
l_.str.11: ; @.str.11
.asciz "Data de Entrega: "
l_.str.12: ; @.str.12
.asciz "%d/%d"
l_.str.14: ; @.str.14
.asciz "Nome: %s\n"
l_.str.15: ; @.str.15
.asciz "Prioridade: %i\n"
l_.str.16: ; @.str.16
.asciz "Data de Entrega: %d/%d\n"
l_.str.18: ; @.str.18
.asciz "Nova prioridade: "
l_.str.19: ; @.str.19
.asciz "Nova data de entrega: "
l_.str.21: ; @.str.21
.asciz "database.txt"
l_.str.22: ; @.str.22
.asciz "wb"
l_.str.23: ; @.str.23
.asciz "tamanho.txt"
l_.str.25: ; @.str.25
.asciz "rb"
l_str: ; @str
.asciz "1 - Adiciona;"
l_str.27: ; @str.27
.asciz "2 - Deleta;"
l_str.28: ; @str.28
.asciz "3 - Atualiza tarefa;"
l_str.29: ; @str.29
.asciz "4 - Pesquisar tarefa;"
l_str.30: ; @str.30
.asciz "5 - Mostrar todas;"
l_str.32: ; @str.32
.asciz "Not founded!"
l_str.34: ; @str.34
.asciz "Dados alterados"
l_str.36: ; @str.36
.asciz "Erro na grava\303\247\303\243o"
l_str.44: ; @str.44
.asciz "Registro vazio"
l_str.45: ; @str.45
.asciz "----------------------------------"
.subsections_via_symbols
| the_stack_data/5143.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function viawd_detach
_viawd_detach: ## @viawd_detach
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r14d
callq _device_get_softc
movq %rax, %rbx
movq 16(%rax), %rsi
testq %rsi, %rsi
je LBB0_2
## %bb.1:
movq _watchdog_list@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _EVENTHANDLER_DEREGISTER
LBB0_2:
movq $0, 16(%rbx)
movq _VIAWD_MEM_CTRL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _viawd_read_4
movq _VIAWD_MEM_CTRL_ENABLE@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_4
## %bb.3:
movq _VIAWD_TIMEOUT_SHUTDOWN@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq %rbx, %rdi
callq _viawd_tmr_set
movq %rbx, %rdi
movl $1, %esi
callq _viawd_tmr_state
movl (%r15), %edx
leaq L_.str(%rip), %rsi
movl %r14d, %edi
callq _device_printf
LBB0_4:
movq (%rbx), %rcx
testq %rcx, %rcx
je LBB0_6
## %bb.5:
movl 8(%rbx), %edx
movl 12(%rbx), %edi
movq _SYS_RES_MEMORY@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _bus_release_resource
LBB0_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _watchdog_list,4,2 ## @watchdog_list
.comm _VIAWD_MEM_CTRL,4,2 ## @VIAWD_MEM_CTRL
.comm _VIAWD_MEM_CTRL_ENABLE,4,2 ## @VIAWD_MEM_CTRL_ENABLE
.comm _VIAWD_TIMEOUT_SHUTDOWN,4,2 ## @VIAWD_TIMEOUT_SHUTDOWN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Keeping watchog alive during shutdown for %d seconds\n"
.comm _SYS_RES_MEMORY,4,2 ## @SYS_RES_MEMORY
.no_dead_strip _viawd_detach
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function viawd_detach
_viawd_detach: ; @viawd_detach
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
bl _device_get_softc
mov x19, x0
ldr x1, [x0, #16]
cbz x1, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _watchdog_list@GOTPAGE
Lloh1:
ldr x8, [x8, _watchdog_list@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _EVENTHANDLER_DEREGISTER
LBB0_2:
str xzr, [x19, #16]
Lloh3:
adrp x8, _VIAWD_MEM_CTRL@GOTPAGE
Lloh4:
ldr x8, [x8, _VIAWD_MEM_CTRL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _viawd_read_4
Lloh6:
adrp x8, _VIAWD_MEM_CTRL_ENABLE@GOTPAGE
Lloh7:
ldr x8, [x8, _VIAWD_MEM_CTRL_ENABLE@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_4
; %bb.3:
Lloh9:
adrp x21, _VIAWD_TIMEOUT_SHUTDOWN@GOTPAGE
Lloh10:
ldr x21, [x21, _VIAWD_TIMEOUT_SHUTDOWN@GOTPAGEOFF]
ldr w1, [x21]
mov x0, x19
bl _viawd_tmr_set
mov x0, x19
mov w1, #1
bl _viawd_tmr_state
ldr w2, [x21]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _device_printf
LBB0_4:
ldr x3, [x19]
cbz x3, LBB0_6
; %bb.5:
Lloh13:
adrp x8, _SYS_RES_MEMORY@GOTPAGE
Lloh14:
ldr x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
ldp w2, w0, [x19, #8]
bl _bus_release_resource
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.comm _watchdog_list,4,2 ; @watchdog_list
.comm _VIAWD_MEM_CTRL,4,2 ; @VIAWD_MEM_CTRL
.comm _VIAWD_MEM_CTRL_ENABLE,4,2 ; @VIAWD_MEM_CTRL_ENABLE
.comm _VIAWD_TIMEOUT_SHUTDOWN,4,2 ; @VIAWD_TIMEOUT_SHUTDOWN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Keeping watchog alive during shutdown for %d seconds\n"
.comm _SYS_RES_MEMORY,4,2 ; @SYS_RES_MEMORY
.no_dead_strip _viawd_detach
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/viawd/extr_viawd.c_viawd_detach.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl %edi, %esi
jle LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
LBB0_2:
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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
callq ___VERIFIER_nondet_int
movl %eax, %r14d
callq ___VERIFIER_nondet_int
movl %eax, %ebx
callq ___VERIFIER_nondet_int
cmpl %r14d, %ebx
jle LBB1_2
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
jmp LBB1_1
LBB1_2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
cmp w1, w0
b.le LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
LBB0_2:
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
bl ___VERIFIER_nondet_int
mov x19, x0
bl ___VERIFIER_nondet_int
mov x20, x0
bl ___VERIFIER_nondet_int
cmp w20, w19
b.le LBB1_2
LBB1_1: ; =>This Inner Loop Header: Depth=1
b LBB1_1
LBB1_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/12638507.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _removeDuplicates ## -- Begin function removeDuplicates
.p2align 4, 0x90
_removeDuplicates: ## @removeDuplicates
.cfi_startproc
## %bb.0:
movl %esi, %eax
cmpl $2, %esi
jl LBB0_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %eax, %r8d
xorl %eax, %eax
movl $1, %edx
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
incq %rdx
cmpq %rdx, %r8
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%rdi,%rdx,4), %esi
movslq %eax, %rcx
cmpl (%rdi,%rcx,4), %esi
jle LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incl %eax
cmpq %rax, %rdx
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movslq %eax, %rcx
movl (%rdi,%rcx,4), %r9d
movl %esi, (%rdi,%rcx,4)
movl %r9d, (%rdi,%rdx,4)
jmp LBB0_5
LBB0_6:
incl %eax
popq %rbp
LBB0_7:
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _removeDuplicates ; -- Begin function removeDuplicates
.p2align 2
_removeDuplicates: ; @removeDuplicates
.cfi_startproc
; %bb.0:
cmp w1, #2
b.lt LBB0_7
; %bb.1:
mov w9, #0
mov w8, w1
mov w10, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x10, x10, #1
cmp x8, x10
b.eq LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w11, [x0, x10, lsl #2]
ldr w12, [x0, w9, sxtw #2]
cmp w11, w12
b.le LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
; kill: def $w9 killed $w9 killed $x9 def $x9
sxtw x9, w9
add x9, x9, #1
cmp x10, w9, uxtw
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
lsl x12, x9, #2
ldr w13, [x0, x12]
str w11, [x0, x12]
str w13, [x0, x10, lsl #2]
b LBB0_2
LBB0_6:
add w1, w9, #1
LBB0_7:
mov x0, x1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/159515296.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_threadsafe ## -- Begin function sqlite3_threadsafe
.p2align 4, 0x90
_sqlite3_threadsafe: ## @sqlite3_threadsafe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _SQLITE_THREADSAFE@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_THREADSAFE,4,2 ## @SQLITE_THREADSAFE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sqlite3_threadsafe ; -- Begin function sqlite3_threadsafe
.p2align 2
_sqlite3_threadsafe: ; @sqlite3_threadsafe
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _SQLITE_THREADSAFE@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_THREADSAFE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SQLITE_THREADSAFE,4,2 ; @SQLITE_THREADSAFE
.subsections_via_symbols
| AnghaBench/nodemcu-firmware/app/sqlite3/extr_sqlite3.c_sqlite3_threadsafe.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 0x4415af1d78b58c40 ## double 1.0E+20
LCPI0_1:
.quad 0xc415af1d78b58c40 ## double -1.0E+20
LCPI0_2:
.quad 0x40091eb851eb851f ## double 3.1400000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movsd LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero
xorps %xmm3, %xmm3
movb $4, %al
callq _printf
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "(%lf + (%lf +%lf)) = %lf"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #34079
movk x8, #20971, lsl #16
movk x8, #7864, lsl #32
movk x8, #16393, lsl #48
stp x8, xzr, [sp, #16]
mov x8, #35904
movk x8, #30901, lsl #16
movk x8, #44829, lsl #32
movk x8, #50197, lsl #48
mov x9, #35904
movk x9, #30901, lsl #16
movk x9, #44829, lsl #32
movk x9, #17429, lsl #48
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 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 "(%lf + (%lf +%lf)) = %lf"
.subsections_via_symbols
| the_stack_data/192330278.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_buff_set_pos ## -- Begin function write_buff_set_pos
.p2align 4, 0x90
_write_buff_set_pos: ## @write_buff_set_pos
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _cur_buff_len@GOTPCREL(%rip), %rax
cmpl %edi, (%rax)
jl LBB0_5
## %bb.1:
movq _result_buff_pos@GOTPCREL(%rip), %rcx
movl (%rcx), %eax
cmpl %edi, %eax
jle LBB0_2
## %bb.3:
movl %edi, (%rcx)
movq _buff@GOTPCREL(%rip), %rax
movl (%rax), %edi
jmp LBB0_4
LBB0_2:
subl %eax, %edi
movq _buff@GOTPCREL(%rip), %rax
addl (%rax), %edi
LBB0_4:
movq _wptr@GOTPCREL(%rip), %rax
movl %edi, (%rax)
LBB0_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cur_buff_len,4,2 ## @cur_buff_len
.comm _result_buff_pos,4,2 ## @result_buff_pos
.comm _buff,4,2 ## @buff
.comm _wptr,4,2 ## @wptr
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_buff_set_pos ; -- Begin function write_buff_set_pos
.p2align 2
_write_buff_set_pos: ; @write_buff_set_pos
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _cur_buff_len@GOTPAGE
Lloh1:
ldr x8, [x8, _cur_buff_len@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w0
b.lt LBB0_5
; %bb.1:
Lloh3:
adrp x9, _result_buff_pos@GOTPAGE
Lloh4:
ldr x9, [x9, _result_buff_pos@GOTPAGEOFF]
ldr w8, [x9]
cmp w8, w0
b.le LBB0_3
; %bb.2:
str w0, [x9]
Lloh5:
adrp x8, _buff@GOTPAGE
Lloh6:
ldr x8, [x8, _buff@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
b LBB0_4
LBB0_3:
Lloh8:
adrp x9, _buff@GOTPAGE
Lloh9:
ldr x9, [x9, _buff@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
sub w8, w0, w8
add w8, w8, w9
LBB0_4:
Lloh11:
adrp x9, _wptr@GOTPAGE
Lloh12:
ldr x9, [x9, _wptr@GOTPAGEOFF]
Lloh13:
str w8, [x9]
LBB0_5:
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _cur_buff_len,4,2 ; @cur_buff_len
.comm _result_buff_pos,4,2 ; @result_buff_pos
.comm _buff,4,2 ; @buff
.comm _wptr,4,2 ; @wptr
.subsections_via_symbols
| AnghaBench/kphp-kdb/vkext/extr_vkext.c_write_buff_set_pos.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _of_get_videomode ## -- Begin function of_get_videomode
.p2align 4, 0x90
_of_get_videomode: ## @of_get_videomode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %r12
callq _of_get_display_timings
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %rbx
movq _OF_USE_NATIVE_MODE@GOTPCREL(%rip), %rax
cmpl %r15d, (%rax)
jne LBB0_5
## %bb.4:
movl (%rbx), %r15d
LBB0_5:
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _videomode_from_timings
movl %eax, %r14d
movq %rbx, %rdi
callq _display_timings_release
movl %r14d, %eax
jmp LBB0_2
LBB0_1:
leaq L_.str(%rip), %rdi
movq %r12, %rsi
callq _pr_err
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_2:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%pOF: no timings specified\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _OF_USE_NATIVE_MODE,4,2 ## @OF_USE_NATIVE_MODE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _of_get_videomode ; -- Begin function of_get_videomode
.p2align 2
_of_get_videomode: ; @of_get_videomode
.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 x22, x0
bl _of_get_display_timings
cbz x0, LBB0_4
; %bb.1:
mov x21, x0
Lloh0:
adrp x8, _OF_USE_NATIVE_MODE@GOTPAGE
Lloh1:
ldr x8, [x8, _OF_USE_NATIVE_MODE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w19
b.ne LBB0_3
; %bb.2:
ldr w19, [x21]
LBB0_3:
mov x0, x21
mov x1, x20
mov x2, x19
bl _videomode_from_timings
mov x19, x0
mov x0, x21
bl _display_timings_release
mov x0, x19
b LBB0_5
LBB0_4:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x22
bl _pr_err
Lloh5:
adrp x8, _EINVAL@GOTPAGE
Lloh6:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%pOF: no timings specified\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _OF_USE_NATIVE_MODE,4,2 ; @OF_USE_NATIVE_MODE
.subsections_via_symbols
| AnghaBench/linux/drivers/video/extr_of_videomode.c_of_get_videomode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vmxnet3_quiesce_dev ## -- Begin function vmxnet3_quiesce_dev
.p2align 4, 0x90
_vmxnet3_quiesce_dev: ## @vmxnet3_quiesce_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq _VMXNET3_STATE_BIT_QUIESCED@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 28(%r15), %rsi
callq _test_and_set_bit
testq %rax, %rax
jne LBB0_5
## %bb.1:
leaq 24(%r15), %r14
movq %r14, %rdi
callq _spin_lock_irqsave
movq _VMXNET3_REG_CMD@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _VMXNET3_CMD_QUIESCE_DEV@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _VMXNET3_WRITE_BAR1_REG
movq %r14, %rdi
callq _spin_unlock_irqrestore
movq %r15, %rdi
callq _vmxnet3_disable_all_intrs
cmpl $0, (%r15)
jle LBB0_4
## %bb.2:
xorl %r14d, %r14d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rdi
addq %r14, %rdi
callq _napi_disable
incq %rbx
movslq (%r15), %rax
addq $4, %r14
cmpq %rax, %rbx
jl LBB0_3
LBB0_4:
movl 4(%r15), %edi
callq _netif_tx_disable
movq $0, 8(%r15)
movl 4(%r15), %edi
callq _netif_carrier_off
movq %r15, %rdi
callq _vmxnet3_tq_cleanup_all
movq %r15, %rdi
callq _vmxnet3_rq_cleanup_all
movq %r15, %rdi
callq _vmxnet3_free_irqs
LBB0_5:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VMXNET3_STATE_BIT_QUIESCED,4,2 ## @VMXNET3_STATE_BIT_QUIESCED
.comm _VMXNET3_REG_CMD,4,2 ## @VMXNET3_REG_CMD
.comm _VMXNET3_CMD_QUIESCE_DEV,4,2 ## @VMXNET3_CMD_QUIESCE_DEV
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vmxnet3_quiesce_dev ; -- Begin function vmxnet3_quiesce_dev
.p2align 2
_vmxnet3_quiesce_dev: ; @vmxnet3_quiesce_dev
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _VMXNET3_STATE_BIT_QUIESCED@GOTPAGE
Lloh1:
ldr x8, [x8, _VMXNET3_STATE_BIT_QUIESCED@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x1, x19, #28
bl _test_and_set_bit
cbnz x0, LBB0_5
; %bb.1:
add x20, x19, #24
mov x0, x20
bl _spin_lock_irqsave
Lloh3:
adrp x8, _VMXNET3_REG_CMD@GOTPAGE
Lloh4:
ldr x8, [x8, _VMXNET3_REG_CMD@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x8, _VMXNET3_CMD_QUIESCE_DEV@GOTPAGE
Lloh7:
ldr x8, [x8, _VMXNET3_CMD_QUIESCE_DEV@GOTPAGEOFF]
Lloh8:
ldr w2, [x8]
mov x0, x19
bl _VMXNET3_WRITE_BAR1_REG
mov x0, x20
bl _spin_unlock_irqrestore
mov x0, x19
bl _vmxnet3_disable_all_intrs
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov x20, #0
mov x21, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
add x0, x8, x20
bl _napi_disable
add x21, x21, #1
ldrsw x8, [x19]
add x20, x20, #4
cmp x21, x8
b.lt LBB0_3
LBB0_4:
ldr w0, [x19, #4]
bl _netif_tx_disable
str xzr, [x19, #8]
ldr w0, [x19, #4]
bl _netif_carrier_off
mov x0, x19
bl _vmxnet3_tq_cleanup_all
mov x0, x19
bl _vmxnet3_rq_cleanup_all
mov x0, x19
bl _vmxnet3_free_irqs
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _VMXNET3_STATE_BIT_QUIESCED,4,2 ; @VMXNET3_STATE_BIT_QUIESCED
.comm _VMXNET3_REG_CMD,4,2 ; @VMXNET3_REG_CMD
.comm _VMXNET3_CMD_QUIESCE_DEV,4,2 ; @VMXNET3_CMD_QUIESCE_DEV
.subsections_via_symbols
| AnghaBench/linux/drivers/net/vmxnet3/extr_vmxnet3_drv.c_vmxnet3_quiesce_dev.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kernel_process ## -- Begin function kernel_process
.p2align 4, 0x90
_kernel_process: ## @kernel_process
.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 _get_el
leaq L_.str(%rip), %rdi
movl %eax, %esi
xorl %eax, %eax
callq _printf
movq _user_process@GOTPCREL(%rip), %rdi
callq _move_to_user_mode
testl %eax, %eax
js LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Kernel process started. EL %d\r\n"
.comm _user_process,4,2 ## @user_process
L_.str.1: ## @.str.1
.asciz "Error while moving process to user mode\n\r"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kernel_process ; -- Begin function kernel_process
.p2align 2
_kernel_process: ; @kernel_process
.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
bl _get_el
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh2:
adrp x0, _user_process@GOTPAGE
Lloh3:
ldr x0, [x0, _user_process@GOTPAGEOFF]
bl _move_to_user_mode
tbnz w0, #31, LBB0_2
; %bb.1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
LBB0_2:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
b _printf
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Kernel process started. EL %d\r\n"
.comm _user_process,4,2 ; @user_process
l_.str.1: ; @.str.1
.asciz "Error while moving process to user mode\n\r"
.subsections_via_symbols
| AnghaBench/raspberry-pi-os/exercises/lesson05/1/xdfm1/src/extr_kernel.c_kernel_process.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _if_getlladdr ## -- Begin function if_getlladdr
.p2align 4, 0x90
_if_getlladdr: ## @if_getlladdr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _IF_LLADDR ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _if_getlladdr ; -- Begin function if_getlladdr
.p2align 2
_if_getlladdr: ; @if_getlladdr
.cfi_startproc
; %bb.0:
b _IF_LLADDR
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/net/extr_if.c_if_getlladdr.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function acpi_ns_check_sorted_list
_acpi_ns_check_sorted_list: ## @acpi_ns_check_sorted_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r13d
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, -64(%rbp) ## 8-byte Spill
movq _ns_check_sorted_list@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ACPI_FUNCTION_NAME
movq (%r14), %rsi
movq _ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rcx
movq _AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rdi
cmpq (%rcx), %rsi
jne LBB0_6
## %bb.1:
movq _AE_AML_PACKAGE_LIMIT@GOTPCREL(%rip), %rax
testq %rsi, %rsi
je LBB0_7
## %bb.2:
movq %rsi, %rdx
subq %rbx, %rdx
jle LBB0_7
## %bb.3:
movq _AE_OK@GOTPCREL(%rip), %rax
testq %rdx, %rdx
jle LBB0_7
## %bb.4:
movq 8(%r14), %r10
movq _ACPI_SORT_DESCENDING@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
cmpl %r13d, %r9d
movq %rdx, -56(%rbp) ## 8-byte Spill
jne LBB0_8
## %bb.5:
movq _ACPI_UINT32_MAX@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
jmp LBB0_9
LBB0_8:
xorl %ecx, %ecx
LBB0_9:
leaq (%r10,%rbx,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq _ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rdx
movq (%rdx), %r14
movq _ACPI_SORT_ASCENDING@GOTPCREL(%rip), %rdx
movl (%rdx), %r11d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%r10,%rbx,8), %rdx
movq (%rdx), %r8
cmpq %rsi, %r8
jne LBB0_17
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
cmpq %r12, %rsi
jl LBB0_17
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movq 8(%rdx), %rdx
movq (%rdx,%r15,8), %rdx
cmpq %r14, (%rdx)
jne LBB0_6
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
cmpl %r13d, %r11d
sete %r8b
cmpl %r13d, %r9d
sete %dl
cmpq %rcx, %r14
setl %al
setg %cl
testb %al, %r8b
jne LBB0_20
## %bb.14: ## in Loop: Header=BB0_10 Depth=1
andb %cl, %dl
jne LBB0_20
## %bb.15: ## in Loop: Header=BB0_10 Depth=1
incq %rbx
movq %r14, %rcx
cmpq %rbx, %rsi
jne LBB0_10
## %bb.16:
movq _AE_OK@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_6:
movq %rdi, %rax
LBB0_7:
movl (%rax), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_17:
cmpq %rsi, %r8
je LBB0_21
## %bb.18:
movq _AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_20:
movq -48(%rbp), %rdi ## 8-byte Reload
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
movl %r13d, %ecx
callq _acpi_ns_sort_list
movq _ACPI_OBJECT_REPAIRED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
orl %eax, 4(%rcx)
movq 16(%rbp), %rdi
## kill: def $edi killed $edi killed $rdi
callq _ACPI_DEBUG_PRINT
movq _AE_OK@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_21:
movq _AE_AML_PACKAGE_LIMIT@GOTPCREL(%rip), %rax
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _ns_check_sorted_list,4,2 ## @ns_check_sorted_list
.comm _ACPI_TYPE_PACKAGE,8,3 ## @ACPI_TYPE_PACKAGE
.comm _AE_AML_OPERAND_TYPE,4,2 ## @AE_AML_OPERAND_TYPE
.comm _AE_AML_PACKAGE_LIMIT,4,2 ## @AE_AML_PACKAGE_LIMIT
.comm _ACPI_SORT_DESCENDING,4,2 ## @ACPI_SORT_DESCENDING
.comm _ACPI_UINT32_MAX,8,3 ## @ACPI_UINT32_MAX
.comm _ACPI_TYPE_INTEGER,8,3 ## @ACPI_TYPE_INTEGER
.comm _ACPI_SORT_ASCENDING,4,2 ## @ACPI_SORT_ASCENDING
.comm _ACPI_OBJECT_REPAIRED,4,2 ## @ACPI_OBJECT_REPAIRED
.comm _ACPI_DB_REPAIR,4,2 ## @ACPI_DB_REPAIR
.comm _AE_OK,4,2 ## @AE_OK
.no_dead_strip _acpi_ns_check_sorted_list
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function acpi_ns_check_sorted_list
_acpi_ns_check_sorted_list: ; @acpi_ns_check_sorted_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 x19, x6
mov x21, x5
mov x22, x4
mov x23, x3
mov x24, x2
mov x25, x1
mov x20, x0
Lloh0:
adrp x8, _ns_check_sorted_list@GOTPAGE
Lloh1:
ldr x8, [x8, _ns_check_sorted_list@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ACPI_FUNCTION_NAME
ldr x9, [x25]
Lloh3:
adrp x8, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh4:
ldr x8, [x8, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_10
; %bb.1:
Lloh6:
adrp x8, _AE_AML_PACKAGE_LIMIT@GOTPAGE
Lloh7:
ldr x8, [x8, _AE_AML_PACKAGE_LIMIT@GOTPAGEOFF]
cmp x9, #0
ccmp x9, x24, #4, ne
b.le LBB0_15
; %bb.2:
sub x1, x9, x24
cmp x1, #1
b.lt LBB0_14
; %bb.3:
ldr x10, [x25, #8]
add x0, x10, x24, lsl #3
Lloh8:
adrp x11, _ACPI_SORT_DESCENDING@GOTPAGE
Lloh9:
ldr x11, [x11, _ACPI_SORT_DESCENDING@GOTPAGEOFF]
Lloh10:
ldr w11, [x11]
Lloh11:
adrp x12, _ACPI_UINT32_MAX@GOTPAGE
Lloh12:
ldr x12, [x12, _ACPI_UINT32_MAX@GOTPAGEOFF]
Lloh13:
ldr x12, [x12]
cmp w11, w21
csel x16, x12, xzr, eq
Lloh14:
adrp x12, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh15:
ldr x12, [x12, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh16:
adrp x14, _ACPI_SORT_ASCENDING@GOTPAGE
Lloh17:
ldr x14, [x14, _ACPI_SORT_ASCENDING@GOTPAGEOFF]
Lloh18:
ldr x13, [x12]
Lloh19:
ldr w15, [x14]
Lloh20:
adrp x12, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh21:
ldr x12, [x12, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
Lloh22:
adrp x14, _AE_OK@GOTPAGE
Lloh23:
ldr x14, [x14, _AE_OK@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x17, [x10, x24, lsl #3]
ldr x2, [x17]
cmp x2, x9
ccmp x9, x23, #8, eq
b.lt LBB0_11
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x17, [x17, #8]
ldr x17, [x17, x22, lsl #3]
ldr x17, [x17]
cmp x17, x13
b.ne LBB0_12
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w11, w21
cset w17, eq
cmp x13, x16
cset w16, gt
ccmp w15, w21, #0, lt
b.eq LBB0_13
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
and w16, w17, w16
cbnz w16, LBB0_13
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
add x24, x24, #1
mov x16, x13
cmp x9, x24
b.ne LBB0_4
; %bb.9:
mov x8, x14
b LBB0_15
LBB0_10:
Lloh24:
adrp x8, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh25:
ldr x8, [x8, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
b LBB0_15
LBB0_11:
cmp x2, x9
csel x8, x12, x8, ne
b LBB0_15
LBB0_12:
mov x8, x12
b LBB0_15
LBB0_13:
mov x2, x22
mov x3, x21
bl _acpi_ns_sort_list
Lloh26:
adrp x8, _ACPI_OBJECT_REPAIRED@GOTPAGE
Lloh27:
ldr x8, [x8, _ACPI_OBJECT_REPAIRED@GOTPAGEOFF]
Lloh28:
ldr w8, [x8]
ldr w9, [x20, #4]
orr w8, w9, w8
str w8, [x20, #4]
mov x0, x19
bl _ACPI_DEBUG_PRINT
LBB0_14:
Lloh29:
adrp x8, _AE_OK@GOTPAGE
Lloh30:
ldr x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_15:
ldr w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh18
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _ns_check_sorted_list,4,2 ; @ns_check_sorted_list
.comm _ACPI_TYPE_PACKAGE,8,3 ; @ACPI_TYPE_PACKAGE
.comm _AE_AML_OPERAND_TYPE,4,2 ; @AE_AML_OPERAND_TYPE
.comm _AE_AML_PACKAGE_LIMIT,4,2 ; @AE_AML_PACKAGE_LIMIT
.comm _ACPI_SORT_DESCENDING,4,2 ; @ACPI_SORT_DESCENDING
.comm _ACPI_UINT32_MAX,8,3 ; @ACPI_UINT32_MAX
.comm _ACPI_TYPE_INTEGER,8,3 ; @ACPI_TYPE_INTEGER
.comm _ACPI_SORT_ASCENDING,4,2 ; @ACPI_SORT_ASCENDING
.comm _ACPI_OBJECT_REPAIRED,4,2 ; @ACPI_OBJECT_REPAIRED
.comm _ACPI_DB_REPAIR,4,2 ; @ACPI_DB_REPAIR
.comm _AE_OK,4,2 ; @AE_OK
.no_dead_strip _acpi_ns_check_sorted_list
.subsections_via_symbols
| AnghaBench/linux/drivers/acpi/acpica/extr_nsrepair2.c_acpi_ns_check_sorted_list.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/200143212.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function in6_lltable_hash_dst
_in6_lltable_hash_dst: ## @in6_lltable_hash_dst
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movl 12(%rax), %edi
popq %rbp
jmp _IN6_LLTBL_HASH ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _in6_lltable_hash_dst
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function in6_lltable_hash_dst
_in6_lltable_hash_dst: ; @in6_lltable_hash_dst
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w0, [x8, #12]
b _IN6_LLTBL_HASH
.cfi_endproc
; -- End function
.no_dead_strip _in6_lltable_hash_dst
.subsections_via_symbols
| AnghaBench/freebsd/sys/netinet6/extr_in6.c_in6_lltable_hash_dst.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
cmpl $0, -36(%rbp)
je LBB0_3
## %bb.1:
leaq L_.str.1(%rip), %r14
leaq -44(%rbp), %r15
leaq -40(%rbp), %r12
leaq L_.str.2(%rip), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _scanf
movl -40(%rbp), %eax
imull -44(%rbp), %eax
movl %eax, %esi
shrl $31, %esi
addl %eax, %esi
sarl %esi
movq %rbx, %rdi
xorl %eax, %eax
callq _printf
decl -36(%rbp)
jne LBB0_2
LBB0_3:
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 %d"
L_.str.2: ## @.str.2
.asciz "%d cm2\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp 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
add x8, sp, #28
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
cbz w8, LBB0_3
; %bb.1:
add x21, sp, #20
add x22, sp, #24
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
Lloh4:
adrp x20, l_.str.2@PAGE
Lloh5:
add x20, x20, l_.str.2@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
stp x22, x21, [sp]
mov x0, x19
bl _scanf
ldp w9, w8, [sp, #20]
mul w8, w9, w8
cmp w8, #0
cinc w8, w8, lt
asr w8, w8, #1
str x8, [sp]
mov x0, x20
bl _printf
ldr w8, [sp, #28]
subs w8, w8, #1
str w8, [sp, #28]
b.ne LBB0_2
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "%d cm2\n"
.subsections_via_symbols
| the_stack_data/248581554.c | stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.